langtrace-python-sdk 1.1.11__py3-none-any.whl → 1.1.12__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.
@@ -0,0 +1,221 @@
1
+ Metadata-Version: 2.1
2
+ Name: langtrace-python-sdk
3
+ Version: 1.1.12
4
+ Summary: Python SDK for LangTrace
5
+ Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
6
+ Author: Scale3 Labs
7
+ Author-email: engineering@scale3labs.com
8
+ Maintainer: ['Ali Waleed', 'Darshit Suratwala', 'Dylan Zuber', 'Karthik Kalyanaraman', 'Obinna Okafor', 'Rohit Kadhe', 'Yemi Adejumobi']
9
+ License: AGPL-3.0-or-later
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.6
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: aiohttp ==3.9.3
17
+ Requires-Dist: aiosignal ==1.3.1
18
+ Requires-Dist: annotated-types ==0.6.0
19
+ Requires-Dist: anthropic ==0.19.1
20
+ Requires-Dist: anyio ==4.3.0
21
+ Requires-Dist: asgiref ==3.7.2
22
+ Requires-Dist: async-timeout ==4.0.3
23
+ Requires-Dist: attrs ==23.2.0
24
+ Requires-Dist: backoff ==2.2.1
25
+ Requires-Dist: bcrypt ==4.1.2
26
+ Requires-Dist: beautifulsoup4 ==4.12.3
27
+ Requires-Dist: bs4 ==0.0.2
28
+ Requires-Dist: build ==1.0.3
29
+ Requires-Dist: cachetools ==5.3.3
30
+ Requires-Dist: certifi ==2024.2.2
31
+ Requires-Dist: charset-normalizer ==3.3.2
32
+ Requires-Dist: chroma-hnswlib ==0.7.3
33
+ Requires-Dist: chromadb ==0.4.23
34
+ Requires-Dist: click ==8.1.7
35
+ Requires-Dist: coloredlogs ==15.0.1
36
+ Requires-Dist: dataclasses-json ==0.6.4
37
+ Requires-Dist: Deprecated ==1.2.14
38
+ Requires-Dist: dirtyjson ==1.0.8
39
+ Requires-Dist: distro ==1.9.0
40
+ Requires-Dist: docarray ==0.40.0
41
+ Requires-Dist: exceptiongroup ==1.2.0
42
+ Requires-Dist: faiss-cpu ==1.7.4
43
+ Requires-Dist: fastapi ==0.110.0
44
+ Requires-Dist: filelock ==3.13.1
45
+ Requires-Dist: flatbuffers ==23.5.26
46
+ Requires-Dist: frozenlist ==1.4.1
47
+ Requires-Dist: fsspec ==2024.2.0
48
+ Requires-Dist: google-auth ==2.28.1
49
+ Requires-Dist: googleapis-common-protos ==1.62.0
50
+ Requires-Dist: greenlet ==3.0.3
51
+ Requires-Dist: grpcio ==1.62.0
52
+ Requires-Dist: h11 ==0.14.0
53
+ Requires-Dist: httpcore ==1.0.4
54
+ Requires-Dist: httptools ==0.6.1
55
+ Requires-Dist: httpx ==0.27.0
56
+ Requires-Dist: huggingface-hub ==0.20.3
57
+ Requires-Dist: humanfriendly ==10.0
58
+ Requires-Dist: idna ==3.6
59
+ Requires-Dist: importlib-metadata ==6.11.0
60
+ Requires-Dist: importlib-resources ==6.1.2
61
+ Requires-Dist: joblib ==1.3.2
62
+ Requires-Dist: jsonpatch ==1.33
63
+ Requires-Dist: jsonpointer ==2.4
64
+ Requires-Dist: kubernetes ==29.0.0
65
+ Requires-Dist: langchain ==0.1.9
66
+ Requires-Dist: langchain-community ==0.0.24
67
+ Requires-Dist: langchain-core ==0.1.27
68
+ Requires-Dist: langchain-openai ==0.0.7
69
+ Requires-Dist: langchainhub ==0.1.14
70
+ Requires-Dist: langsmith ==0.1.9
71
+ Requires-Dist: langtrace-python-sdk ==1.1.3
72
+ Requires-Dist: llama-index ==0.10.13.post1
73
+ Requires-Dist: llama-index-agent-openai ==0.1.5
74
+ Requires-Dist: llama-index-cli ==0.1.5
75
+ Requires-Dist: llama-index-core ==0.10.13
76
+ Requires-Dist: llama-index-embeddings-openai ==0.1.6
77
+ Requires-Dist: llama-index-indices-managed-llama-cloud ==0.1.3
78
+ Requires-Dist: llama-index-legacy ==0.9.48
79
+ Requires-Dist: llama-index-llms-openai ==0.1.6
80
+ Requires-Dist: llama-index-multi-modal-llms-openai ==0.1.4
81
+ Requires-Dist: llama-index-program-openai ==0.1.4
82
+ Requires-Dist: llama-index-question-gen-openai ==0.1.3
83
+ Requires-Dist: llama-index-readers-file ==0.1.6
84
+ Requires-Dist: llama-index-readers-llama-parse ==0.1.3
85
+ Requires-Dist: llama-index-vector-stores-chroma ==0.1.4
86
+ Requires-Dist: llama-parse ==0.3.4
87
+ Requires-Dist: llamaindex-py-client ==0.1.13
88
+ Requires-Dist: markdown-it-py ==3.0.0
89
+ Requires-Dist: marshmallow ==3.21.0
90
+ Requires-Dist: mdurl ==0.1.2
91
+ Requires-Dist: mmh3 ==4.1.0
92
+ Requires-Dist: monotonic ==1.6
93
+ Requires-Dist: mpmath ==1.3.0
94
+ Requires-Dist: multidict ==6.0.5
95
+ Requires-Dist: mypy-extensions ==1.0.0
96
+ Requires-Dist: nest-asyncio ==1.6.0
97
+ Requires-Dist: networkx ==3.2.1
98
+ Requires-Dist: nltk ==3.8.1
99
+ Requires-Dist: numexpr ==2.9.0
100
+ Requires-Dist: numpy ==1.26.4
101
+ Requires-Dist: oauthlib ==3.2.2
102
+ Requires-Dist: onnxruntime ==1.17.1
103
+ Requires-Dist: openai ==1.12.0
104
+ Requires-Dist: opentelemetry-api ==1.23.0
105
+ Requires-Dist: opentelemetry-distro ==0.44b0
106
+ Requires-Dist: opentelemetry-exporter-otlp ==1.23.0
107
+ Requires-Dist: opentelemetry-exporter-otlp-proto-common ==1.23.0
108
+ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc ==1.23.0
109
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http ==1.23.0
110
+ Requires-Dist: opentelemetry-instrumentation ==0.44b0
111
+ Requires-Dist: opentelemetry-instrumentation-asgi ==0.44b0
112
+ Requires-Dist: opentelemetry-instrumentation-fastapi ==0.44b0
113
+ Requires-Dist: opentelemetry-proto ==1.23.0
114
+ Requires-Dist: opentelemetry-sdk ==1.23.0
115
+ Requires-Dist: opentelemetry-semantic-conventions ==0.44b0
116
+ Requires-Dist: opentelemetry-util-http ==0.44b0
117
+ Requires-Dist: orjson ==3.9.15
118
+ Requires-Dist: overrides ==7.7.0
119
+ Requires-Dist: packaging ==23.2
120
+ Requires-Dist: pandas ==2.2.1
121
+ Requires-Dist: pillow ==10.2.0
122
+ Requires-Dist: pinecone-client ==3.1.0
123
+ Requires-Dist: posthog ==3.4.2
124
+ Requires-Dist: protobuf ==4.25.3
125
+ Requires-Dist: pulsar-client ==3.4.0
126
+ Requires-Dist: pyasn1 ==0.5.1
127
+ Requires-Dist: pyasn1-modules ==0.3.0
128
+ Requires-Dist: pydantic ==2.6.2
129
+ Requires-Dist: pydantic-core ==2.16.3
130
+ Requires-Dist: Pygments ==2.17.2
131
+ Requires-Dist: PyMuPDF ==1.23.25
132
+ Requires-Dist: PyMuPDFb ==1.23.22
133
+ Requires-Dist: pypdf ==4.0.2
134
+ Requires-Dist: PyPika ==0.48.9
135
+ Requires-Dist: pyproject-hooks ==1.0.0
136
+ Requires-Dist: python-dateutil ==2.8.2
137
+ Requires-Dist: python-dotenv ==1.0.1
138
+ Requires-Dist: pytz ==2024.1
139
+ Requires-Dist: PyYAML ==6.0.1
140
+ Requires-Dist: regex ==2023.12.25
141
+ Requires-Dist: requests ==2.31.0
142
+ Requires-Dist: requests-oauthlib ==1.3.1
143
+ Requires-Dist: rich ==13.7.0
144
+ Requires-Dist: rsa ==4.9
145
+ Requires-Dist: six ==1.16.0
146
+ Requires-Dist: sniffio ==1.3.0
147
+ Requires-Dist: soupsieve ==2.5
148
+ Requires-Dist: SQLAlchemy ==2.0.27
149
+ Requires-Dist: starlette ==0.36.3
150
+ Requires-Dist: sympy ==1.12
151
+ Requires-Dist: tenacity ==8.2.3
152
+ Requires-Dist: tiktoken ==0.6.0
153
+ Requires-Dist: tokenizers ==0.15.2
154
+ Requires-Dist: tomli ==2.0.1
155
+ Requires-Dist: tqdm ==4.66.2
156
+ Requires-Dist: trace-attributes ==1.0.24
157
+ Requires-Dist: typer ==0.9.0
158
+ Requires-Dist: types-requests ==2.31.0.20240218
159
+ Requires-Dist: typing ==3.7.4.3
160
+ Requires-Dist: typing-inspect ==0.9.0
161
+ Requires-Dist: typing-extensions ==4.9.0
162
+ Requires-Dist: tzdata ==2024.1
163
+ Requires-Dist: urllib3 ==2.2.1
164
+ Requires-Dist: uvicorn ==0.27.1
165
+ Requires-Dist: uvloop ==0.19.0
166
+ Requires-Dist: watchfiles ==0.21.0
167
+ Requires-Dist: websocket-client ==1.7.0
168
+ Requires-Dist: websockets ==12.0
169
+ Requires-Dist: wrapt ==1.16.0
170
+ Requires-Dist: yarl ==1.9.4
171
+ Requires-Dist: zipp ==3.17.0
172
+
173
+ # What is Langtrace?
174
+
175
+ Langtrace stands as a developer-centric, open-source solution, fully compatible with OpenTelemetry. It enables developers to effortlessly trace, monitor, and debug their LLM applications, offering robust support for automatic instrumentation.
176
+
177
+ ## Supported LLM Modules
178
+
179
+ Langtrace supports a comprehensive range of LLMs, VectorDBs, and frameworks, ensuring wide coverage for your development needs:
180
+
181
+ ### LLMs
182
+
183
+ 1. OpenAI
184
+ 2. Anthropic
185
+ 3. Azure OpenAI
186
+
187
+ ### VectorDBs
188
+
189
+ 1. Pinecone
190
+ 2. Chromadb
191
+
192
+ ### Frameworks
193
+
194
+ 1. LangChain
195
+ 2. LlamaIndex
196
+ 3. Haystack
197
+
198
+ We are actively working to extend our support to additional libraries!
199
+
200
+ ## Getting Started
201
+
202
+ To begin utilizing Langtrace, follow these straightforward steps:
203
+
204
+ 1. Install the package using `pip install langtrace-python-sdk`.
205
+ 2. Incorporate Langtrace into your project with `from langtrace_python_sdk import langtrace`.
206
+ - This import should precede any other LLM module imports (such as OpenAI, LlamaIndex, etc.) to ensure proper functionality.
207
+ 3. Initialize Langtrace by adding `langtrace.init({ write_to_remote_url: false})` to your code.
208
+ 4. Congratulations, you've completed the basic setup! You will now begin to see traces from your LLM modules logged directly to the console.
209
+
210
+ ## Exporting Traces to Langtrace
211
+
212
+ To configure trace exporting, you have two options:
213
+
214
+ You'll need both a Langtrace `api_key` and a `remote_url`, which can be acquired by logging into your Langtrace account.
215
+
216
+ 1. Direct Initialization: Utilize `langtrace.init(batch=True, api_key=<YOUR_API_KEY>, remote_url=<YOUR_REMOTE_URL>)`.
217
+ 2. Environment Variables: Set `API_KEY` and `URL`, then add `LangTrace.init(batch=True)` at the beginning of your file.
218
+
219
+ ## Langtrace Cloud
220
+
221
+ Currently under development 🚧
@@ -54,8 +54,8 @@ langtrace_python_sdk/instrumentation/pinecone/patch.py,sha256=uDKUBjyOVCDL44YxXV
54
54
  langtrace_python_sdk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  langtrace_python_sdk/utils/llm.py,sha256=4z2e-md_ELXCEuOIRVWracR6qH2pmsOxCqpkuF9_3Nw,1589
56
56
  langtrace_python_sdk/utils/with_root_span.py,sha256=LgFVwHq7KZ6sj2d783NZXr2fFWqI1rqVWSjJR68Ad1E,1044
57
- langtrace_python_sdk-1.1.11.dist-info/LICENSE,sha256=VD-pauwiiia-Xi2zgKvalKRIFSJJjqRCQw6aIpK2T9U,33892
58
- langtrace_python_sdk-1.1.11.dist-info/METADATA,sha256=CVHiR7Ltu0GkSs9PT04lY3MM7pfxKM7MjlcK14SNGqo,2582
59
- langtrace_python_sdk-1.1.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
- langtrace_python_sdk-1.1.11.dist-info/top_level.txt,sha256=rwET8cHATJvDBti7Dm6pwWIrNAT8DvqCXgRPWdu7_Hs,30
61
- langtrace_python_sdk-1.1.11.dist-info/RECORD,,
57
+ langtrace_python_sdk-1.1.12.dist-info/LICENSE,sha256=VD-pauwiiia-Xi2zgKvalKRIFSJJjqRCQw6aIpK2T9U,33892
58
+ langtrace_python_sdk-1.1.12.dist-info/METADATA,sha256=6w1AThBOcRkCXSRM-LTF8bXAWm4ieJ66zVvKgQ2LwD8,8175
59
+ langtrace_python_sdk-1.1.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
60
+ langtrace_python_sdk-1.1.12.dist-info/top_level.txt,sha256=rwET8cHATJvDBti7Dm6pwWIrNAT8DvqCXgRPWdu7_Hs,30
61
+ langtrace_python_sdk-1.1.12.dist-info/RECORD,,
@@ -1,70 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: langtrace-python-sdk
3
- Version: 1.1.11
4
- Summary: Python SDK for LangTrace
5
- Home-page: https://github.com/Scale3-Labs/langtrace-python-sdk
6
- Author: Scale3 Labs
7
- Author-email: engineering@scale3labs.com
8
- Maintainer: ['Ali Waleed', 'Darshit Suratwala', 'Dylan Zuber', 'Karthik Kalyanaraman', 'Obinna Okafor', 'Rohit Kadhe', 'Yemi Adejumobi']
9
- License: AGPL-3.0-or-later
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
12
- Classifier: Operating System :: OS Independent
13
- Requires-Python: >=3.6
14
- Description-Content-Type: text/markdown
15
- License-File: LICENSE
16
- Requires-Dist: trace-attributes
17
- Requires-Dist: opentelemetry-api
18
- Requires-Dist: opentelemetry-instrumentation
19
- Requires-Dist: opentelemetry-sdk
20
- Requires-Dist: tiktoken
21
-
22
- # What is Langtrace?
23
-
24
- Langtrace stands as a developer-centric, open-source solution, fully compatible with OpenTelemetry. It enables developers to effortlessly trace, monitor, and debug their LLM applications, offering robust support for automatic instrumentation.
25
-
26
- ## Supported LLM Modules
27
-
28
- Langtrace supports a comprehensive range of LLMs, VectorDBs, and frameworks, ensuring wide coverage for your development needs:
29
-
30
- ### LLMs
31
-
32
- 1. OpenAI
33
- 2. Anthropic
34
- 3. Azure OpenAI
35
-
36
- ### VectorDBs
37
-
38
- 1. Pinecone
39
- 2. Chromadb
40
-
41
- ### Frameworks
42
-
43
- 1. LangChain
44
- 2. LlamaIndex
45
- 3. Haystack
46
-
47
- We are actively working to extend our support to additional libraries!
48
-
49
- ## Getting Started
50
-
51
- To begin utilizing Langtrace, follow these straightforward steps:
52
-
53
- 1. Install the package using `pip install langtrace-python-sdk`.
54
- 2. Incorporate Langtrace into your project with `from langtrace_python_sdk import langtrace`.
55
- - This import should precede any other LLM module imports (such as OpenAI, LlamaIndex, etc.) to ensure proper functionality.
56
- 3. Initialize Langtrace by adding `langtrace.init({ write_to_remote_url: false})` to your code.
57
- 4. Congratulations, you've completed the basic setup! You will now begin to see traces from your LLM modules logged directly to the console.
58
-
59
- ## Exporting Traces to Langtrace
60
-
61
- To configure trace exporting, you have two options:
62
-
63
- You'll need both a Langtrace `api_key` and a `remote_url`, which can be acquired by logging into your Langtrace account.
64
-
65
- 1. Direct Initialization: Utilize `langtrace.init(batch=True, api_key=<YOUR_API_KEY>, remote_url=<YOUR_REMOTE_URL>)`.
66
- 2. Environment Variables: Set `API_KEY` and `URL`, then add `LangTrace.init(batch=True)` at the beginning of your file.
67
-
68
- ## Langtrace Cloud
69
-
70
- Currently under development 🚧