osmosis-ai 0.1.5__tar.gz → 0.1.6__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.

Potentially problematic release.


This version of osmosis-ai might be problematic. Click here for more details.

Files changed (24) hide show
  1. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/PKG-INFO +9 -9
  2. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/README.md +6 -6
  3. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/adapters/__init__.py +1 -1
  4. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/adapters/anthropic.py +1 -1
  5. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/adapters/langchain.py +1 -1
  6. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/adapters/langchain_anthropic.py +1 -1
  7. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/adapters/langchain_openai.py +1 -1
  8. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/adapters/openai.py +1 -1
  9. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/consts.py +1 -1
  10. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/logger.py +1 -1
  11. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/utils.py +3 -3
  12. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/pyproject.toml +3 -3
  13. osmosis_ai-0.1.6/requirements.txt +11 -0
  14. osmosis_ai-0.1.5/requirements.txt +0 -16
  15. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/.env.sample +0 -0
  16. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/LICENSE +0 -0
  17. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/MANIFEST.in +0 -0
  18. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai/__init__.py +0 -0
  19. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/osmosis_ai.egg-info/SOURCES.txt +0 -0
  20. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/pytest.ini +0 -0
  21. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/setup.cfg +0 -0
  22. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/setup.py +0 -0
  23. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/setup_env.bat +0 -0
  24. {osmosis_ai-0.1.5 → osmosis_ai-0.1.6}/setup_env.sh +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: osmosis-ai
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: Monkey patches LLM client libraries to print all prompts and responses
5
5
  Author-email: Gulp AI <jake@gulp.ai>
6
6
  License: MIT License
@@ -24,8 +24,8 @@ License: MIT License
24
24
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
25
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
26
  SOFTWARE.
27
- Project-URL: Homepage, https://github.com/Gulp-AI/osmosis-ai
28
- Project-URL: Issues, https://github.com/Gulp-AI/osmosis-ai/issues
27
+ Project-URL: Homepage, https://github.com/Gulp-AI/osmosis-sdk-python
28
+ Project-URL: Issues, https://github.com/Gulp-AI/osmosis-sdk-python/issues
29
29
  Classifier: Programming Language :: Python :: 3
30
30
  Classifier: License :: OSI Approved :: MIT License
31
31
  Classifier: Operating System :: OS Independent
@@ -57,11 +57,11 @@ Requires-Dist: langchain-openai>=0.0.200; extra == "all"
57
57
  Requires-Dist: langchain-anthropic>=0.0.200; extra == "all"
58
58
  Dynamic: license-file
59
59
 
60
- [![Run Tests](https://github.com/Gulp-AI/osmosis-ai/actions/workflows/test.yml/badge.svg)](https://github.com/Gulp-AI/osmosis-ai/actions/workflows/test.yml)
60
+ [![Run Tests](https://github.com/Gulp-AI/osmosis-sdk-python/actions/workflows/test.yml/badge.svg)](https://github.com/Gulp-AI/osmosis-sdk-python/actions/workflows/test.yml)
61
61
 
62
- # Osmosis Wrap
62
+ # Osmosis
63
63
 
64
- A Python library that monkey patches LLM client libraries to send all prompts and responses to the OSMOSIS API for logging and monitoring.
64
+ A Python library that monkey patches LLM client libraries to send all prompts and responses to the Osmosis API for logging and monitoring.
65
65
 
66
66
  ## Supported Libraries
67
67
 
@@ -93,7 +93,7 @@ pip install "osmosis-ai[all]"
93
93
  Or install from source:
94
94
 
95
95
  ```bash
96
- git clone https://github.com/your-username/osmosis-ai.git
96
+ git clone https://github.com/your-username/osmosis-sdk-python.git
97
97
  cd osmosis-ai
98
98
  pip install -e .
99
99
  ```
@@ -106,7 +106,7 @@ pip install -r requirements.txt
106
106
 
107
107
  ## Environment Setup
108
108
 
109
- Osmosis Wrap requires a OSMOSIS API key to log LLM usage. Create a `.env` file in your project directory:
109
+ osmosisrequires a OSMOSIS API key to log LLM usage. Create a `.env` file in your project directory:
110
110
 
111
111
  ```bash
112
112
  # Copy the sample .env file
@@ -128,7 +128,7 @@ OPENAI_API_KEY=your_openai_key_here
128
128
 
129
129
  ## Usage
130
130
 
131
- First, import and initialize Osmosis Wrap with your OSMOSIS API key:
131
+ First, import and initialize osmosiswith your OSMOSIS API key:
132
132
 
133
133
  ```python
134
134
  import os
@@ -1,8 +1,8 @@
1
- [![Run Tests](https://github.com/Gulp-AI/osmosis-ai/actions/workflows/test.yml/badge.svg)](https://github.com/Gulp-AI/osmosis-ai/actions/workflows/test.yml)
1
+ [![Run Tests](https://github.com/Gulp-AI/osmosis-sdk-python/actions/workflows/test.yml/badge.svg)](https://github.com/Gulp-AI/osmosis-sdk-python/actions/workflows/test.yml)
2
2
 
3
- # Osmosis Wrap
3
+ # Osmosis
4
4
 
5
- A Python library that monkey patches LLM client libraries to send all prompts and responses to the OSMOSIS API for logging and monitoring.
5
+ A Python library that monkey patches LLM client libraries to send all prompts and responses to the Osmosis API for logging and monitoring.
6
6
 
7
7
  ## Supported Libraries
8
8
 
@@ -34,7 +34,7 @@ pip install "osmosis-ai[all]"
34
34
  Or install from source:
35
35
 
36
36
  ```bash
37
- git clone https://github.com/your-username/osmosis-ai.git
37
+ git clone https://github.com/your-username/osmosis-sdk-python.git
38
38
  cd osmosis-ai
39
39
  pip install -e .
40
40
  ```
@@ -47,7 +47,7 @@ pip install -r requirements.txt
47
47
 
48
48
  ## Environment Setup
49
49
 
50
- Osmosis Wrap requires a OSMOSIS API key to log LLM usage. Create a `.env` file in your project directory:
50
+ osmosisrequires a OSMOSIS API key to log LLM usage. Create a `.env` file in your project directory:
51
51
 
52
52
  ```bash
53
53
  # Copy the sample .env file
@@ -69,7 +69,7 @@ OPENAI_API_KEY=your_openai_key_here
69
69
 
70
70
  ## Usage
71
71
 
72
- First, import and initialize Osmosis Wrap with your OSMOSIS API key:
72
+ First, import and initialize osmosiswith your OSMOSIS API key:
73
73
 
74
74
  ```python
75
75
  import os
@@ -1,5 +1,5 @@
1
1
  """
2
- Adapters package for Osmosis Wrap
2
+ Adapters package for Osmosis
3
3
 
4
4
  This package contains various adapters for different LLM providers.
5
5
  Each adapter is conditionally imported based on installed dependencies.
@@ -1,5 +1,5 @@
1
1
  """
2
- Anthropic adapter for Osmosis Wrap
2
+ Anthropic adapter for Osmosis
3
3
 
4
4
  This module provides monkey patching for the Anthropic Python client.
5
5
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Langchain adapter for Osmosis Wrap
2
+ Langchain adapter for Osmosis
3
3
 
4
4
  This module provides monkey patching for the LangChain Python library.
5
5
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Langchain-Anthropic adapter for Osmosis Wrap
2
+ Langchain-Anthropic adapter for Osmosis
3
3
 
4
4
  This module provides monkey patching for the langchain-anthropic package.
5
5
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Langchain-OpenAI adapter for Osmosis Wrap
2
+ Langchain-OpenAI adapter for Osmosis
3
3
 
4
4
  This module provides monkey patching for the langchain-openai package.
5
5
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- OpenAI adapter for Osmosis Wrap
2
+ OpenAI adapter for Osmosis
3
3
 
4
4
  This module provides monkey patching for the OpenAI Python client.
5
5
  """
@@ -2,7 +2,7 @@ from enum import Enum
2
2
 
3
3
  # Extract package metadata
4
4
  package_name = "osmosis-ai"
5
- package_version = "0.1.5"
5
+ package_version = "0.1.6"
6
6
 
7
7
  indent = 2 # Number of spaces to use for indentation in pretty print
8
8
  osmosis_api_url = "https://ftgrv77m9f.execute-api.us-west-2.amazonaws.com/prod"
@@ -1,5 +1,5 @@
1
1
  """
2
- Logging utilities for Osmosis Wrap
2
+ Logging utilities for Osmosis
3
3
  """
4
4
 
5
5
  import sys
@@ -1,5 +1,5 @@
1
1
  """
2
- Utility functions for Osmosis Wrap adapters
2
+ Utility functions for osmosisadapters
3
3
  """
4
4
 
5
5
  import json
@@ -18,7 +18,7 @@ _initialized = False
18
18
 
19
19
  def init(api_key: str) -> None:
20
20
  """
21
- Initialize Osmosis Wrap with the OSMOSIS API key.
21
+ Initialize osmosiswith the OSMOSIS API key.
22
22
 
23
23
  Args:
24
24
  api_key: The OSMOSIS API key for logging LLM usage
@@ -48,7 +48,7 @@ def send_to_osmosis(query: Dict[str, Any], response: Dict[str, Any], status: int
48
48
  return
49
49
 
50
50
  if not _initialized:
51
- logger.warning("Osmosis Wrap not initialized. Call osmosis_ai.init(api_key) first.")
51
+ logger.warning("osmosisnot initialized. Call osmosis_ai.init(api_key) first.")
52
52
  return
53
53
 
54
54
  try:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "osmosis-ai"
7
- version = "0.1.5"
7
+ version = "0.1.6"
8
8
  description = "Monkey patches LLM client libraries to print all prompts and responses"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -24,8 +24,8 @@ dependencies = [
24
24
  ]
25
25
 
26
26
  [project.urls]
27
- Homepage = "https://github.com/Gulp-AI/osmosis-ai"
28
- Issues = "https://github.com/Gulp-AI/osmosis-ai/issues"
27
+ Homepage = "https://github.com/Gulp-AI/osmosis-sdk-python"
28
+ Issues = "https://github.com/Gulp-AI/osmosis-sdk-python/issues"
29
29
 
30
30
  [project.optional-dependencies]
31
31
  anthropic = ["anthropic>=0.5.0"]
@@ -0,0 +1,11 @@
1
+ # Core requirements
2
+ python-dotenv>=0.1.0,<2.0.0
3
+ requests>=2.0.0,<3.0.0
4
+ xxhash>=3.0.0,<4.0.0
5
+
6
+ # LLM provider clients - install the ones you need
7
+ anthropic>=0.2.2,<0.50.0 # For Claude API
8
+ openai>=1.0.0,<2.0.0 # For OpenAI API
9
+ langchain>=0.3.0,<0.4.0 # For LangChain integration
10
+ langchain-openai>=0.3.0,<0.4.0 # For LangChain OpenAI integration
11
+ langchain-anthropic>=0.3.0,<0.4.0 # For LangChain Anthropic integration
@@ -1,16 +0,0 @@
1
- # Core requirements
2
- python-dotenv>=1.0.1
3
- requests>=2.32.3
4
- xxhash>=3.4.1
5
-
6
- # LLM provider clients - install the ones you need
7
- anthropic>=0.49.0 # For Claude API
8
- openai>=1.27.0 # For OpenAI API
9
- langchain>=0.3.21 # For LangChain integration
10
- langchain-openai>=0.3.9 # For LangChain OpenAI integration
11
- langchain-anthropic>=0.3.10 # For LangChain Anthropic integration
12
-
13
- # Development requirements
14
- pytest>=8.3.5 # For running tests
15
- black>=25.1.0 # For code formatting
16
- isort>=6.0.1 # For import sorting
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes