lmnr 0.4.30__tar.gz → 0.4.32__tar.gz

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.
Files changed (52) hide show
  1. {lmnr-0.4.30 → lmnr-0.4.32}/PKG-INFO +30 -48
  2. {lmnr-0.4.30 → lmnr-0.4.32}/README.md +0 -18
  3. lmnr-0.4.32/pyproject.toml +80 -0
  4. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/laminar.py +0 -1
  5. lmnr-0.4.30/pyproject.toml +0 -80
  6. {lmnr-0.4.30 → lmnr-0.4.32}/LICENSE +0 -0
  7. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/__init__.py +0 -0
  8. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/cli.py +0 -0
  9. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/__init__.py +0 -0
  10. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/datasets.py +0 -0
  11. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/decorators.py +0 -0
  12. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/evaluations.py +0 -0
  13. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/log.py +0 -0
  14. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/types.py +0 -0
  15. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/sdk/utils.py +0 -0
  16. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/.flake8 +0 -0
  17. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/.python-version +0 -0
  18. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/__init__.py +0 -0
  19. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/config/__init__.py +0 -0
  20. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/decorators/__init__.py +0 -0
  21. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/decorators/base.py +0 -0
  22. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/instruments.py +0 -0
  23. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/__init__.py +0 -0
  24. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_and_external_association_properties.yaml +0 -0
  25. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_association_properties/test_langchain_association_properties.yaml +0 -0
  26. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_manual/test_manual_report.yaml +0 -0
  27. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_manual/test_resource_attributes.yaml +0 -0
  28. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_privacy_no_prompts/test_simple_workflow.yaml +0 -0
  29. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_prompt_management/test_prompt_management.yaml +0 -0
  30. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_sdk_initialization/test_resource_attributes.yaml +0 -0
  31. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_tasks/test_task_io_serialization_with_langchain.yaml +0 -0
  32. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_simple_aworkflow.yaml +0 -0
  33. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_simple_workflow.yaml +0 -0
  34. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/cassettes/test_workflows/test_streaming_workflow.yaml +0 -0
  35. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/conftest.py +0 -0
  36. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_association_properties.py +0 -0
  37. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_manual.py +0 -0
  38. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_nested_tasks.py +0 -0
  39. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_privacy_no_prompts.py +0 -0
  40. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_sdk_initialization.py +0 -0
  41. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_tasks.py +0 -0
  42. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tests/test_workflows.py +0 -0
  43. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tracing/__init__.py +0 -0
  44. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tracing/attributes.py +0 -0
  45. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tracing/content_allow_list.py +0 -0
  46. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tracing/context_manager.py +0 -0
  47. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/tracing/tracing.py +0 -0
  48. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/utils/__init__.py +0 -0
  49. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/utils/in_memory_span_exporter.py +0 -0
  50. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/utils/json_encoder.py +0 -0
  51. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/utils/package_check.py +0 -0
  52. {lmnr-0.4.30 → lmnr-0.4.32}/src/lmnr/traceloop_sdk/version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lmnr
3
- Version: 0.4.30
3
+ Version: 0.4.32
4
4
  Summary: Python SDK for Laminar AI
5
5
  License: Apache-2.0
6
6
  Author: lmnr.ai
@@ -16,39 +16,39 @@ Requires-Dist: argparse (>=1.0,<2.0)
16
16
  Requires-Dist: backoff (>=2.0,<3.0)
17
17
  Requires-Dist: deprecated (>=1.0,<2.0)
18
18
  Requires-Dist: jinja2 (>=3.0,<4.0)
19
- Requires-Dist: opentelemetry-api (>=1.27.0,<2.0.0)
20
- Requires-Dist: opentelemetry-exporter-otlp-proto-grpc (>=1.27.0,<2.0.0)
21
- Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.27.0,<2.0.0)
22
- Requires-Dist: opentelemetry-instrumentation-alephalpha (>=0.33.5)
23
- Requires-Dist: opentelemetry-instrumentation-anthropic (>=0.33.5)
24
- Requires-Dist: opentelemetry-instrumentation-bedrock (>=0.33.5)
25
- Requires-Dist: opentelemetry-instrumentation-chromadb (>=0.33.5)
26
- Requires-Dist: opentelemetry-instrumentation-cohere (>=0.33.5)
27
- Requires-Dist: opentelemetry-instrumentation-google-generativeai (>=0.33.5)
28
- Requires-Dist: opentelemetry-instrumentation-groq (>=0.33.5)
29
- Requires-Dist: opentelemetry-instrumentation-haystack (>=0.33.5)
30
- Requires-Dist: opentelemetry-instrumentation-lancedb (>=0.33.5)
31
- Requires-Dist: opentelemetry-instrumentation-langchain (>=0.33.5)
32
- Requires-Dist: opentelemetry-instrumentation-llamaindex (>=0.33.5)
33
- Requires-Dist: opentelemetry-instrumentation-marqo (>=0.33.5)
34
- Requires-Dist: opentelemetry-instrumentation-milvus (>=0.33.5)
35
- Requires-Dist: opentelemetry-instrumentation-mistralai (>=0.33.5)
36
- Requires-Dist: opentelemetry-instrumentation-ollama (>=0.33.5)
37
- Requires-Dist: opentelemetry-instrumentation-openai (>=0.33.5)
38
- Requires-Dist: opentelemetry-instrumentation-pinecone (>=0.33.5)
39
- Requires-Dist: opentelemetry-instrumentation-qdrant (>=0.33.5)
40
- Requires-Dist: opentelemetry-instrumentation-replicate (>=0.33.5)
19
+ Requires-Dist: opentelemetry-api (>=1.27.0)
20
+ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc (>=1.27.0)
21
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.27.0)
22
+ Requires-Dist: opentelemetry-instrumentation-alephalpha (>=0.33.9)
23
+ Requires-Dist: opentelemetry-instrumentation-anthropic (>=0.33.9)
24
+ Requires-Dist: opentelemetry-instrumentation-bedrock (>=0.33.9)
25
+ Requires-Dist: opentelemetry-instrumentation-chromadb (>=0.33.9)
26
+ Requires-Dist: opentelemetry-instrumentation-cohere (>=0.33.9)
27
+ Requires-Dist: opentelemetry-instrumentation-google-generativeai (>=0.33.9)
28
+ Requires-Dist: opentelemetry-instrumentation-groq (>=0.33.9)
29
+ Requires-Dist: opentelemetry-instrumentation-haystack (>=0.33.9)
30
+ Requires-Dist: opentelemetry-instrumentation-lancedb (>=0.33.9)
31
+ Requires-Dist: opentelemetry-instrumentation-langchain (>=0.33.9)
32
+ Requires-Dist: opentelemetry-instrumentation-llamaindex (>=0.33.9)
33
+ Requires-Dist: opentelemetry-instrumentation-marqo (>=0.33.9)
34
+ Requires-Dist: opentelemetry-instrumentation-milvus (>=0.33.9)
35
+ Requires-Dist: opentelemetry-instrumentation-mistralai (>=0.33.9)
36
+ Requires-Dist: opentelemetry-instrumentation-ollama (>=0.33.9)
37
+ Requires-Dist: opentelemetry-instrumentation-openai (>=0.33.9)
38
+ Requires-Dist: opentelemetry-instrumentation-pinecone (>=0.33.9)
39
+ Requires-Dist: opentelemetry-instrumentation-qdrant (>=0.33.9)
40
+ Requires-Dist: opentelemetry-instrumentation-replicate (>=0.33.9)
41
41
  Requires-Dist: opentelemetry-instrumentation-requests (>=0.48b0,<0.49)
42
- Requires-Dist: opentelemetry-instrumentation-sagemaker (>=0.33.5)
42
+ Requires-Dist: opentelemetry-instrumentation-sagemaker (>=0.33.9)
43
43
  Requires-Dist: opentelemetry-instrumentation-sqlalchemy (>=0.48b0,<0.49)
44
44
  Requires-Dist: opentelemetry-instrumentation-threading (>=0.48b0,<0.49)
45
- Requires-Dist: opentelemetry-instrumentation-together (>=0.33.5)
46
- Requires-Dist: opentelemetry-instrumentation-transformers (>=0.33.5)
45
+ Requires-Dist: opentelemetry-instrumentation-together (>=0.33.9)
46
+ Requires-Dist: opentelemetry-instrumentation-transformers (>=0.33.9)
47
47
  Requires-Dist: opentelemetry-instrumentation-urllib3 (>=0.48b0,<0.49)
48
- Requires-Dist: opentelemetry-instrumentation-vertexai (>=0.33.5)
49
- Requires-Dist: opentelemetry-instrumentation-watsonx (>=0.33.5)
50
- Requires-Dist: opentelemetry-instrumentation-weaviate (>=0.33.5)
51
- Requires-Dist: opentelemetry-sdk (>=1.27.0,<2.0.0)
48
+ Requires-Dist: opentelemetry-instrumentation-vertexai (>=0.33.9)
49
+ Requires-Dist: opentelemetry-instrumentation-watsonx (>=0.33.9)
50
+ Requires-Dist: opentelemetry-instrumentation-weaviate (>=0.33.9)
51
+ Requires-Dist: opentelemetry-sdk (>=1.27.0)
52
52
  Requires-Dist: opentelemetry-semantic-conventions-ai (==0.4.2)
53
53
  Requires-Dist: pydantic (>=2.7,<3.0)
54
54
  Requires-Dist: python-dotenv (>=1.0,<2.0)
@@ -172,24 +172,6 @@ If you want to fully disable any kind of autoinstrumentation, pass an empty set
172
172
 
173
173
  Autoinstrumentations are provided by Traceloop's [OpenLLMetry](https://github.com/traceloop/openllmetry).
174
174
 
175
- ## Sending events
176
-
177
- You can send laminar events using `L.event(name, value)`.
178
-
179
- Read our [docs](https://docs.lmnr.ai) to learn more about events and examples.
180
-
181
- ### Example
182
-
183
- ```python
184
- from lmnr import Laminar as L
185
- # ...
186
- poem = response.choices[0].message.content
187
-
188
- # this will register True or False value with Laminar
189
- L.event("topic alignment", topic in poem)
190
-
191
- ```
192
-
193
175
  ## Evaluations
194
176
 
195
177
  ### Quickstart
@@ -113,24 +113,6 @@ If you want to fully disable any kind of autoinstrumentation, pass an empty set
113
113
 
114
114
  Autoinstrumentations are provided by Traceloop's [OpenLLMetry](https://github.com/traceloop/openllmetry).
115
115
 
116
- ## Sending events
117
-
118
- You can send laminar events using `L.event(name, value)`.
119
-
120
- Read our [docs](https://docs.lmnr.ai) to learn more about events and examples.
121
-
122
- ### Example
123
-
124
- ```python
125
- from lmnr import Laminar as L
126
- # ...
127
- poem = response.choices[0].message.content
128
-
129
- # this will register True or False value with Laminar
130
- L.event("topic alignment", topic in poem)
131
-
132
- ```
133
-
134
116
  ## Evaluations
135
117
 
136
118
  ### Quickstart
@@ -0,0 +1,80 @@
1
+ [project]
2
+ name = "lmnr"
3
+ version = "0.4.32"
4
+ description = "Python SDK for Laminar AI"
5
+ authors = [
6
+ { name = "lmnr.ai", email = "founders@lmnr.ai" }
7
+ ]
8
+ readme = "README.md"
9
+ requires-python = "^3.9"
10
+ license = "Apache-2.0"
11
+
12
+ [tool.poetry]
13
+ name = "lmnr"
14
+ version = "0.4.32"
15
+ description = "Python SDK for Laminar AI"
16
+ authors = ["lmnr.ai"]
17
+ readme = "README.md"
18
+ license = "Apache-2.0"
19
+
20
+ [tool.poetry.dependencies]
21
+ python = ">=3.9,<4"
22
+ pydantic = "~=2.7"
23
+ requests = "~=2.0"
24
+ python-dotenv = "~=1.0"
25
+ backoff = "~=2.0"
26
+ opentelemetry-api = ">=1.27.0"
27
+ opentelemetry-sdk = ">=1.27.0"
28
+ opentelemetry-exporter-otlp-proto-http = ">=1.27.0"
29
+ opentelemetry-exporter-otlp-proto-grpc = ">=1.27.0"
30
+ opentelemetry-instrumentation-requests = "^0.48b0"
31
+ opentelemetry-instrumentation-sqlalchemy = "^0.48b0"
32
+ opentelemetry-instrumentation-urllib3 = "^0.48b0"
33
+ opentelemetry-instrumentation-threading = "^0.48b0"
34
+ opentelemetry-semantic-conventions-ai = "0.4.2"
35
+ tenacity = ">=8.0"
36
+ jinja2 = "~=3.0"
37
+ deprecated = "~=1.0"
38
+ opentelemetry-instrumentation-alephalpha = ">=0.33.9"
39
+ opentelemetry-instrumentation-anthropic = ">=0.33.9"
40
+ opentelemetry-instrumentation-bedrock = ">=0.33.9"
41
+ opentelemetry-instrumentation-chromadb = ">=0.33.9"
42
+ opentelemetry-instrumentation-cohere = ">=0.33.9"
43
+ opentelemetry-instrumentation-google-generativeai = ">=0.33.9"
44
+ opentelemetry-instrumentation-groq = ">=0.33.9"
45
+ opentelemetry-instrumentation-haystack = ">=0.33.9"
46
+ opentelemetry-instrumentation-lancedb = ">=0.33.9"
47
+ opentelemetry-instrumentation-langchain = ">=0.33.9"
48
+ opentelemetry-instrumentation-llamaindex = ">=0.33.9"
49
+ opentelemetry-instrumentation-marqo = ">=0.33.9"
50
+ opentelemetry-instrumentation-milvus = ">=0.33.9"
51
+ opentelemetry-instrumentation-mistralai = ">=0.33.9"
52
+ opentelemetry-instrumentation-ollama = ">=0.33.9"
53
+ opentelemetry-instrumentation-openai = ">=0.33.9"
54
+ opentelemetry-instrumentation-pinecone = ">=0.33.9"
55
+ opentelemetry-instrumentation-qdrant = ">=0.33.9"
56
+ opentelemetry-instrumentation-replicate = ">=0.33.9"
57
+ opentelemetry-instrumentation-sagemaker = ">=0.33.9"
58
+ opentelemetry-instrumentation-together = ">=0.33.9"
59
+ opentelemetry-instrumentation-transformers = ">=0.33.9"
60
+ opentelemetry-instrumentation-vertexai = ">=0.33.9"
61
+ opentelemetry-instrumentation-watsonx = ">=0.33.9"
62
+ opentelemetry-instrumentation-weaviate = ">=0.33.9"
63
+ tqdm = "~=4.0"
64
+ argparse = "~=1.0"
65
+
66
+ [tool.poetry.group.dev.dependencies]
67
+ autopep8 = "^2.2.0"
68
+ flake8 = "7.0.0"
69
+ pytest = "^8.2.2"
70
+ pytest-sugar = "1.0.0"
71
+
72
+ [build-system]
73
+ requires = ["poetry-core"]
74
+ build-backend = "poetry.core.masonry.api"
75
+
76
+ [tool.poetry.scripts]
77
+ lmnr = "lmnr.cli:cli"
78
+
79
+ [project.optional-dependencies]
80
+ test = ["pytest"]
@@ -17,7 +17,6 @@ from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExport
17
17
  from pydantic.alias_generators import to_snake
18
18
  from typing import Any, Literal, Optional, Set, Union
19
19
 
20
- import aiohttp
21
20
  import copy
22
21
  import datetime
23
22
  import dotenv
@@ -1,80 +0,0 @@
1
- [project]
2
- name = "lmnr"
3
- version = "0.4.30"
4
- description = "Python SDK for Laminar AI"
5
- authors = [
6
- { name = "lmnr.ai", email = "founders@lmnr.ai" }
7
- ]
8
- readme = "README.md"
9
- requires-python = "^3.9"
10
- license = "Apache-2.0"
11
-
12
- [tool.poetry]
13
- name = "lmnr"
14
- version = "0.4.30"
15
- description = "Python SDK for Laminar AI"
16
- authors = ["lmnr.ai"]
17
- readme = "README.md"
18
- license = "Apache-2.0"
19
-
20
- [tool.poetry.dependencies]
21
- python = ">=3.9,<4"
22
- pydantic = "~=2.7"
23
- requests = "~=2.0"
24
- python-dotenv = "~=1.0"
25
- backoff = "~=2.0"
26
- opentelemetry-api = "^1.27.0"
27
- opentelemetry-sdk = "^1.27.0"
28
- opentelemetry-exporter-otlp-proto-http = "^1.27.0"
29
- opentelemetry-exporter-otlp-proto-grpc = "^1.27.0"
30
- opentelemetry-instrumentation-requests = "^0.48b0"
31
- opentelemetry-instrumentation-sqlalchemy = "^0.48b0"
32
- opentelemetry-instrumentation-urllib3 = "^0.48b0"
33
- opentelemetry-instrumentation-threading = "^0.48b0"
34
- opentelemetry-semantic-conventions-ai = "0.4.2"
35
- tenacity = ">=8.0"
36
- jinja2 = "~=3.0"
37
- deprecated = "~=1.0"
38
- opentelemetry-instrumentation-alephalpha = ">=0.33.5"
39
- opentelemetry-instrumentation-anthropic = ">=0.33.5"
40
- opentelemetry-instrumentation-bedrock = ">=0.33.5"
41
- opentelemetry-instrumentation-chromadb = ">=0.33.5"
42
- opentelemetry-instrumentation-cohere = ">=0.33.5"
43
- opentelemetry-instrumentation-google-generativeai = ">=0.33.5"
44
- opentelemetry-instrumentation-groq = ">=0.33.5"
45
- opentelemetry-instrumentation-haystack = ">=0.33.5"
46
- opentelemetry-instrumentation-lancedb = ">=0.33.5"
47
- opentelemetry-instrumentation-langchain = ">=0.33.5"
48
- opentelemetry-instrumentation-llamaindex = ">=0.33.5"
49
- opentelemetry-instrumentation-marqo = ">=0.33.5"
50
- opentelemetry-instrumentation-milvus = ">=0.33.5"
51
- opentelemetry-instrumentation-mistralai = ">=0.33.5"
52
- opentelemetry-instrumentation-ollama = ">=0.33.5"
53
- opentelemetry-instrumentation-openai = ">=0.33.5"
54
- opentelemetry-instrumentation-pinecone = ">=0.33.5"
55
- opentelemetry-instrumentation-qdrant = ">=0.33.5"
56
- opentelemetry-instrumentation-replicate = ">=0.33.5"
57
- opentelemetry-instrumentation-sagemaker = ">=0.33.5"
58
- opentelemetry-instrumentation-together = ">=0.33.5"
59
- opentelemetry-instrumentation-transformers = ">=0.33.5"
60
- opentelemetry-instrumentation-vertexai = ">=0.33.5"
61
- opentelemetry-instrumentation-watsonx = ">=0.33.5"
62
- opentelemetry-instrumentation-weaviate = ">=0.33.5"
63
- tqdm = "~=4.0"
64
- argparse = "~=1.0"
65
-
66
- [tool.poetry.group.dev.dependencies]
67
- autopep8 = "^2.2.0"
68
- flake8 = "7.0.0"
69
- pytest = "^8.2.2"
70
- pytest-sugar = "1.0.0"
71
-
72
- [build-system]
73
- requires = ["poetry-core"]
74
- build-backend = "poetry.core.masonry.api"
75
-
76
- [tool.poetry.scripts]
77
- lmnr = "lmnr.cli:cli"
78
-
79
- [project.optional-dependencies]
80
- test = ["pytest"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes