langtrace-python-sdk 1.0.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- instrumentation/__init__.py +0 -0
- instrumentation/chroma/__init__.py +0 -0
- instrumentation/chroma/instrumentation.py +33 -0
- instrumentation/chroma/lib/__init__.py +0 -0
- instrumentation/chroma/lib/apis.py +40 -0
- instrumentation/chroma/patch.py +46 -0
- instrumentation/constants.py +18 -0
- instrumentation/langchain/__init__.py +0 -0
- instrumentation/langchain/instrumentation.py +74 -0
- instrumentation/langchain/patch.py +84 -0
- instrumentation/langchain_community/__init__.py +0 -0
- instrumentation/langchain_community/instrumentation.py +99 -0
- instrumentation/langchain_community/patch.py +78 -0
- instrumentation/langchain_core/__init__.py +0 -0
- instrumentation/langchain_core/instrumentation.py +101 -0
- instrumentation/langchain_core/patch.py +168 -0
- instrumentation/llamaindex/__init__.py +0 -0
- instrumentation/llamaindex/instrumentation.py +73 -0
- instrumentation/llamaindex/patch.py +40 -0
- instrumentation/openai/__init__.py +0 -0
- instrumentation/openai/instrumentation.py +41 -0
- instrumentation/openai/lib/__init__.py +0 -0
- instrumentation/openai/lib/apis.py +16 -0
- instrumentation/openai/lib/constants.py +30 -0
- instrumentation/openai/patch.py +209 -0
- instrumentation/pinecone/__init__.py +0 -0
- instrumentation/pinecone/instrumentation.py +43 -0
- instrumentation/pinecone/lib/__init__.py +0 -0
- instrumentation/pinecone/lib/apis.py +19 -0
- instrumentation/pinecone/patch.py +45 -0
- instrumentation/setup.py +50 -0
- instrumentation/utils.py +27 -0
- instrumentation/with_root_span.py +28 -0
- langtrace_python_sdk-1.0.9.dist-info/LICENSE +674 -0
- langtrace_python_sdk-1.0.9.dist-info/METADATA +169 -0
- langtrace_python_sdk-1.0.9.dist-info/RECORD +38 -0
- langtrace_python_sdk-1.0.9.dist-info/WHEEL +5 -0
- langtrace_python_sdk-1.0.9.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: langtrace-python-sdk
|
|
3
|
+
Version: 1.0.9
|
|
4
|
+
Summary: LangTrace - Python SDK
|
|
5
|
+
Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
|
|
6
|
+
Author: Ali Waleed
|
|
7
|
+
Author-email: ali@scale3labs.com
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: aiohttp ==3.9.3
|
|
15
|
+
Requires-Dist: aiosignal ==1.3.1
|
|
16
|
+
Requires-Dist: annotated-types ==0.6.0
|
|
17
|
+
Requires-Dist: anyio ==4.3.0
|
|
18
|
+
Requires-Dist: asgiref ==3.7.2
|
|
19
|
+
Requires-Dist: async-timeout ==4.0.3
|
|
20
|
+
Requires-Dist: attrs ==23.2.0
|
|
21
|
+
Requires-Dist: backoff ==2.2.1
|
|
22
|
+
Requires-Dist: bcrypt ==4.1.2
|
|
23
|
+
Requires-Dist: beautifulsoup4 ==4.12.3
|
|
24
|
+
Requires-Dist: bs4 ==0.0.2
|
|
25
|
+
Requires-Dist: build ==1.0.3
|
|
26
|
+
Requires-Dist: cachetools ==5.3.3
|
|
27
|
+
Requires-Dist: certifi ==2024.2.2
|
|
28
|
+
Requires-Dist: charset-normalizer ==3.3.2
|
|
29
|
+
Requires-Dist: chroma-hnswlib ==0.7.3
|
|
30
|
+
Requires-Dist: chromadb ==0.4.23
|
|
31
|
+
Requires-Dist: click ==8.1.7
|
|
32
|
+
Requires-Dist: coloredlogs ==15.0.1
|
|
33
|
+
Requires-Dist: dataclasses-json ==0.6.4
|
|
34
|
+
Requires-Dist: Deprecated ==1.2.14
|
|
35
|
+
Requires-Dist: dirtyjson ==1.0.8
|
|
36
|
+
Requires-Dist: distro ==1.9.0
|
|
37
|
+
Requires-Dist: docarray ==0.40.0
|
|
38
|
+
Requires-Dist: exceptiongroup ==1.2.0
|
|
39
|
+
Requires-Dist: faiss-cpu ==1.7.4
|
|
40
|
+
Requires-Dist: fastapi ==0.110.0
|
|
41
|
+
Requires-Dist: filelock ==3.13.1
|
|
42
|
+
Requires-Dist: flatbuffers ==23.5.26
|
|
43
|
+
Requires-Dist: frozenlist ==1.4.1
|
|
44
|
+
Requires-Dist: fsspec ==2024.2.0
|
|
45
|
+
Requires-Dist: google-auth ==2.28.1
|
|
46
|
+
Requires-Dist: googleapis-common-protos ==1.62.0
|
|
47
|
+
Requires-Dist: greenlet ==3.0.3
|
|
48
|
+
Requires-Dist: grpcio ==1.62.0
|
|
49
|
+
Requires-Dist: h11 ==0.14.0
|
|
50
|
+
Requires-Dist: httpcore ==1.0.4
|
|
51
|
+
Requires-Dist: httptools ==0.6.1
|
|
52
|
+
Requires-Dist: httpx ==0.27.0
|
|
53
|
+
Requires-Dist: huggingface-hub ==0.20.3
|
|
54
|
+
Requires-Dist: humanfriendly ==10.0
|
|
55
|
+
Requires-Dist: idna ==3.6
|
|
56
|
+
Requires-Dist: importlib-metadata ==6.11.0
|
|
57
|
+
Requires-Dist: importlib-resources ==6.1.2
|
|
58
|
+
Requires-Dist: joblib ==1.3.2
|
|
59
|
+
Requires-Dist: jsonpatch ==1.33
|
|
60
|
+
Requires-Dist: jsonpointer ==2.4
|
|
61
|
+
Requires-Dist: kubernetes ==29.0.0
|
|
62
|
+
Requires-Dist: langchain ==0.1.9
|
|
63
|
+
Requires-Dist: langchain-community ==0.0.24
|
|
64
|
+
Requires-Dist: langchain-core ==0.1.27
|
|
65
|
+
Requires-Dist: langchain-openai ==0.0.7
|
|
66
|
+
Requires-Dist: langchainhub ==0.1.14
|
|
67
|
+
Requires-Dist: langsmith ==0.1.9
|
|
68
|
+
Requires-Dist: llama-index ==0.10.13.post1
|
|
69
|
+
Requires-Dist: llama-index-agent-openai ==0.1.5
|
|
70
|
+
Requires-Dist: llama-index-cli ==0.1.5
|
|
71
|
+
Requires-Dist: llama-index-core ==0.10.13
|
|
72
|
+
Requires-Dist: llama-index-embeddings-openai ==0.1.6
|
|
73
|
+
Requires-Dist: llama-index-indices-managed-llama-cloud ==0.1.3
|
|
74
|
+
Requires-Dist: llama-index-legacy ==0.9.48
|
|
75
|
+
Requires-Dist: llama-index-llms-openai ==0.1.6
|
|
76
|
+
Requires-Dist: llama-index-multi-modal-llms-openai ==0.1.4
|
|
77
|
+
Requires-Dist: llama-index-program-openai ==0.1.4
|
|
78
|
+
Requires-Dist: llama-index-question-gen-openai ==0.1.3
|
|
79
|
+
Requires-Dist: llama-index-readers-file ==0.1.6
|
|
80
|
+
Requires-Dist: llama-index-readers-llama-parse ==0.1.3
|
|
81
|
+
Requires-Dist: llama-index-vector-stores-chroma ==0.1.4
|
|
82
|
+
Requires-Dist: llama-parse ==0.3.4
|
|
83
|
+
Requires-Dist: llamaindex-py-client ==0.1.13
|
|
84
|
+
Requires-Dist: markdown-it-py ==3.0.0
|
|
85
|
+
Requires-Dist: marshmallow ==3.21.0
|
|
86
|
+
Requires-Dist: mdurl ==0.1.2
|
|
87
|
+
Requires-Dist: mmh3 ==4.1.0
|
|
88
|
+
Requires-Dist: monotonic ==1.6
|
|
89
|
+
Requires-Dist: mpmath ==1.3.0
|
|
90
|
+
Requires-Dist: multidict ==6.0.5
|
|
91
|
+
Requires-Dist: mypy-extensions ==1.0.0
|
|
92
|
+
Requires-Dist: nest-asyncio ==1.6.0
|
|
93
|
+
Requires-Dist: networkx ==3.2.1
|
|
94
|
+
Requires-Dist: nltk ==3.8.1
|
|
95
|
+
Requires-Dist: numexpr ==2.9.0
|
|
96
|
+
Requires-Dist: numpy ==1.26.4
|
|
97
|
+
Requires-Dist: oauthlib ==3.2.2
|
|
98
|
+
Requires-Dist: onnxruntime ==1.17.1
|
|
99
|
+
Requires-Dist: openai ==1.12.0
|
|
100
|
+
Requires-Dist: opentelemetry-api ==1.23.0
|
|
101
|
+
Requires-Dist: opentelemetry-distro ==0.44b0
|
|
102
|
+
Requires-Dist: opentelemetry-exporter-otlp ==1.23.0
|
|
103
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-common ==1.23.0
|
|
104
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc ==1.23.0
|
|
105
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http ==1.23.0
|
|
106
|
+
Requires-Dist: opentelemetry-instrumentation ==0.44b0
|
|
107
|
+
Requires-Dist: opentelemetry-instrumentation-asgi ==0.44b0
|
|
108
|
+
Requires-Dist: opentelemetry-instrumentation-fastapi ==0.44b0
|
|
109
|
+
Requires-Dist: opentelemetry-proto ==1.23.0
|
|
110
|
+
Requires-Dist: opentelemetry-sdk ==1.23.0
|
|
111
|
+
Requires-Dist: opentelemetry-semantic-conventions ==0.44b0
|
|
112
|
+
Requires-Dist: opentelemetry-util-http ==0.44b0
|
|
113
|
+
Requires-Dist: orjson ==3.9.15
|
|
114
|
+
Requires-Dist: overrides ==7.7.0
|
|
115
|
+
Requires-Dist: packaging ==23.2
|
|
116
|
+
Requires-Dist: pandas ==2.2.1
|
|
117
|
+
Requires-Dist: pillow ==10.2.0
|
|
118
|
+
Requires-Dist: pinecone-client ==3.1.0
|
|
119
|
+
Requires-Dist: posthog ==3.4.2
|
|
120
|
+
Requires-Dist: protobuf ==4.25.3
|
|
121
|
+
Requires-Dist: pulsar-client ==3.4.0
|
|
122
|
+
Requires-Dist: pyasn1 ==0.5.1
|
|
123
|
+
Requires-Dist: pyasn1-modules ==0.3.0
|
|
124
|
+
Requires-Dist: pydantic ==2.6.2
|
|
125
|
+
Requires-Dist: pydantic-core ==2.16.3
|
|
126
|
+
Requires-Dist: Pygments ==2.17.2
|
|
127
|
+
Requires-Dist: PyMuPDF ==1.23.25
|
|
128
|
+
Requires-Dist: PyMuPDFb ==1.23.22
|
|
129
|
+
Requires-Dist: pypdf ==4.0.2
|
|
130
|
+
Requires-Dist: PyPika ==0.48.9
|
|
131
|
+
Requires-Dist: pyproject-hooks ==1.0.0
|
|
132
|
+
Requires-Dist: python-dateutil ==2.8.2
|
|
133
|
+
Requires-Dist: python-dotenv ==1.0.1
|
|
134
|
+
Requires-Dist: pytz ==2024.1
|
|
135
|
+
Requires-Dist: PyYAML ==6.0.1
|
|
136
|
+
Requires-Dist: regex ==2023.12.25
|
|
137
|
+
Requires-Dist: requests ==2.31.0
|
|
138
|
+
Requires-Dist: requests-oauthlib ==1.3.1
|
|
139
|
+
Requires-Dist: rich ==13.7.0
|
|
140
|
+
Requires-Dist: rsa ==4.9
|
|
141
|
+
Requires-Dist: six ==1.16.0
|
|
142
|
+
Requires-Dist: sniffio ==1.3.0
|
|
143
|
+
Requires-Dist: soupsieve ==2.5
|
|
144
|
+
Requires-Dist: SQLAlchemy ==2.0.27
|
|
145
|
+
Requires-Dist: starlette ==0.36.3
|
|
146
|
+
Requires-Dist: sympy ==1.12
|
|
147
|
+
Requires-Dist: tenacity ==8.2.3
|
|
148
|
+
Requires-Dist: tiktoken ==0.6.0
|
|
149
|
+
Requires-Dist: tokenizers ==0.15.2
|
|
150
|
+
Requires-Dist: tomli ==2.0.1
|
|
151
|
+
Requires-Dist: tqdm ==4.66.2
|
|
152
|
+
Requires-Dist: trace-attributes ==1.0.22
|
|
153
|
+
Requires-Dist: typer ==0.9.0
|
|
154
|
+
Requires-Dist: types-requests ==2.31.0.20240218
|
|
155
|
+
Requires-Dist: typing ==3.7.4.3
|
|
156
|
+
Requires-Dist: typing-inspect ==0.9.0
|
|
157
|
+
Requires-Dist: typing-extensions ==4.9.0
|
|
158
|
+
Requires-Dist: tzdata ==2024.1
|
|
159
|
+
Requires-Dist: urllib3 ==2.2.1
|
|
160
|
+
Requires-Dist: uvicorn ==0.27.1
|
|
161
|
+
Requires-Dist: uvloop ==0.19.0
|
|
162
|
+
Requires-Dist: watchfiles ==0.21.0
|
|
163
|
+
Requires-Dist: websocket-client ==1.7.0
|
|
164
|
+
Requires-Dist: websockets ==12.0
|
|
165
|
+
Requires-Dist: wrapt ==1.16.0
|
|
166
|
+
Requires-Dist: yarl ==1.9.4
|
|
167
|
+
Requires-Dist: zipp ==3.17.0
|
|
168
|
+
|
|
169
|
+
LangTrace - Python SDK
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
instrumentation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
instrumentation/constants.py,sha256=1wth9_em4_h4UgmcADcPmDHvKCJLqOqBbTw7jmcga6A,467
|
|
3
|
+
instrumentation/setup.py,sha256=07Sy36lUuNuPU5QPAs2BEMm-YKSosruzKJPl0QKc_rc,2105
|
|
4
|
+
instrumentation/utils.py,sha256=2kQHQgeuk8kSGoQSBQByQYEXGLkSMDkw7riYVag_cv8,1059
|
|
5
|
+
instrumentation/with_root_span.py,sha256=CRie2ljHhnHN8bUGDwBM-F18-c6xyoI_238KP8BEO-U,969
|
|
6
|
+
instrumentation/chroma/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
instrumentation/chroma/instrumentation.py,sha256=Gc0nNAMoBR-WPRbgPw5AYZBDSQUY56i_rAEbhX8h4A4,1078
|
|
8
|
+
instrumentation/chroma/patch.py,sha256=smzSItC53-tuaMuGbiMhgB2luNJOHz3ttyL7uOqyYII,1811
|
|
9
|
+
instrumentation/chroma/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
+
instrumentation/chroma/lib/apis.py,sha256=hiPGYdHS0Yj4Kh3eaYBbuCAl_swqIygu80yFqkOgdak,955
|
|
11
|
+
instrumentation/langchain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
instrumentation/langchain/instrumentation.py,sha256=LXtx5edfHPLRZ9yP0yKbDHlvE7LOJumJMGTqQX5RhhM,2850
|
|
13
|
+
instrumentation/langchain/patch.py,sha256=f-lq0wdk7doop-Dak2VcGueDsESA_5RKyuGtJQIm4DQ,2979
|
|
14
|
+
instrumentation/langchain_community/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
instrumentation/langchain_community/instrumentation.py,sha256=XWzaHl4FPPlZEhnUlxRB0iO5kPkNVI9siRXZgxF_Yb4,4316
|
|
16
|
+
instrumentation/langchain_community/patch.py,sha256=w6R_lHTDg2GzWRH8BZNocQowedeaNUE-pLfCoRETnTk,2872
|
|
17
|
+
instrumentation/langchain_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
+
instrumentation/langchain_core/instrumentation.py,sha256=uq9F0R0AVM-mlqcrtl2cKxFjHjMTqTZb8741AVhzjAA,4360
|
|
19
|
+
instrumentation/langchain_core/patch.py,sha256=PRAi64V02TSY3uX3403dmQ0CDPHSf9ZF9fvw4Tfaf3Y,6702
|
|
20
|
+
instrumentation/llamaindex/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
+
instrumentation/llamaindex/instrumentation.py,sha256=igUTU0lXOVGXOF_4fvFrRa0Y8dmwdGpk6AqWmrQhDaE,2635
|
|
22
|
+
instrumentation/llamaindex/patch.py,sha256=-vsnJBXBBUwNJckHfmH8BRuVM0_dHGOqH6d22NBY4_E,1562
|
|
23
|
+
instrumentation/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
|
+
instrumentation/openai/instrumentation.py,sha256=Mkk6fwvQ8kS9ykFFc8OffIGbNMYVi6rrBVjVVhjuTjo,1408
|
|
25
|
+
instrumentation/openai/patch.py,sha256=hA71WogWtbP3gIGAE9cVMF3UyBOQPV-KyLrg50ctfoM,9467
|
|
26
|
+
instrumentation/openai/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
|
+
instrumentation/openai/lib/apis.py,sha256=9rVa-9nKkKWuIFKGmyrFK_fHe7XVe07SlfRfB3Bxl8Q,453
|
|
28
|
+
instrumentation/openai/lib/constants.py,sha256=jbxBAXlyauJQFQhM5I01005y0qLr_IRRWjKDkzsltDA,594
|
|
29
|
+
instrumentation/pinecone/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
+
instrumentation/pinecone/instrumentation.py,sha256=asVu7d7slGOwv0ZTv9W_oIOe9gSDI7dFgxLhh-JMUt0,1598
|
|
31
|
+
instrumentation/pinecone/patch.py,sha256=KCiNToy2hAq0eQHyR-Jw5aEyyn1XoQubGrzew-_sK04,1725
|
|
32
|
+
instrumentation/pinecone/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
|
+
instrumentation/pinecone/lib/apis.py,sha256=XpKNUfyzEE3HkBN10Qv1w_t1PT-J39pHlotrdU-wvec,477
|
|
34
|
+
langtrace_python_sdk-1.0.9.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
35
|
+
langtrace_python_sdk-1.0.9.dist-info/METADATA,sha256=ZDDY0OWZ-TMVH3SF8198BOOuTAZfdaN7qLQD9iYNAbU,6148
|
|
36
|
+
langtrace_python_sdk-1.0.9.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
37
|
+
langtrace_python_sdk-1.0.9.dist-info/top_level.txt,sha256=mdFAULSZuqUiDveRElCIPMvwAkRAYXP4bm_dEI4A96Q,16
|
|
38
|
+
langtrace_python_sdk-1.0.9.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
instrumentation
|