-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
142 lines (131 loc) · 5.34 KB
/
pyproject.toml
File metadata and controls
142 lines (131 loc) · 5.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "netra-sdk"
version = "0.1.81"
description = "A Python SDK for AI application observability that provides OpenTelemetry-based monitoring, tracing, and PII protection for LLM and vector database applications. Enables easy instrumentation, session tracking, and privacy-focused data collection for AI systems in production environments."
authors = [
{name = "Sooraj Thomas",email = "sooraj@keyvalue.systems"}
]
readme = "README.md"
requires-python = ">=3.10,<3.14"
license = "Apache-2.0"
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: OpenTelemetry",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
keywords = ["netra", "tracing", "observability", "sdk", "ai", "llm", "vector", "database"]
dependencies = [
"opentelemetry-api>=1.34.1,<1.40.0",
"opentelemetry-sdk>=1.34.1,<1.40.0",
"opentelemetry-exporter-otlp-proto-http>=0.55b1,<1.40.0",
"opentelemetry-instrumentation-fastapi>=0.55b1,<=0.60b1",
"traceloop-sdk>=0.45.6,<0.49.2",
"opentelemetry-instrumentation-httpx>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-aiohttp-client>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-aio-pika>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-aiokafka>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-aiopg>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-asyncclick>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-asyncio>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-asyncpg>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-aws-lambda>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-boto3sqs>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-botocore>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-cassandra>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-celery>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-click>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-confluent-kafka>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-django>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-elasticsearch>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-falcon>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-flask>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-grpc>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-jinja2>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-kafka-python>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-logging>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-mysql>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-mysqlclient>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-pika>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-psycopg>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-psycopg2>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-pymemcache>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-pymongo>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-pymssql>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-redis>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-remoulade>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-requests>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-sqlalchemy>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-sqlite3>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-starlette>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-system-metrics>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-threading>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-tornado>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-tortoiseorm>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-urllib>=0.55b1,<=0.60b1",
"opentelemetry-instrumentation-urllib3>=0.55b1,<=0.60b1",
"json-repair==0.44.1",
]
[project.urls]
"Homepage" = "https://getnetra.ai/"
"Documentation" = "https://docs.getnetra.ai/introduction"
"Repository" = "https://github.com/KeyValueSoftwareSystems/netra-sdk-py"
"Changelog" = "https://github.com/KeyValueSoftwareSystems/netra-sdk-py/blob/main/CHANGELOG.md"
[[tool.poetry.packages]]
include = "netra"
[project.optional-dependencies]
presidio = [
"presidio-analyzer==2.2.358",
"presidio-anonymizer==2.2.358",
"transformers==4.51.3",
"stanza>=1.10.1,<2.0.0"
]
[tool.poetry.group.dev.dependencies]
flake8 = "^7.2.0"
autopep8 = "^2.3.2"
pytest = "^8.4.0"
commitizen = "^4.8.2"
pre-commit = "^4.2.0"
autoflake = "^2.3.1"
isort = "^6.0.1"
black = "^25.1.0"
mypy = "^1.16.0"
# ---------------------------
# Formatting: black
# ---------------------------
[tool.black]
line-length = 120
target-version = ['py310']
skip-string-normalization = false
# ---------------------------
# Import Sorting: isort
# ---------------------------
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
# ---------------------------
# Type Checking: mypy
# ---------------------------
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
strict = true
check_untyped_defs = true
disallow_untyped_defs = true
exclude = [
"tests/",
"test_.*\\.py$"
]