oneshot-python 0.12.0__tar.gz → 0.12.1__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 (20) hide show
  1. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/PKG-INFO +1 -1
  2. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/README.md +1 -1
  3. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/oneshot/client.py +8 -1
  4. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/pyproject.toml +1 -1
  5. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/.gitignore +0 -0
  6. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/oneshot/__init__.py +0 -0
  7. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/oneshot/_errors.py +0 -0
  8. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/oneshot/_types.py +0 -0
  9. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/oneshot/x402.py +0 -0
  10. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/__init__.py +0 -0
  11. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_balance.py +0 -0
  12. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_compute.py +0 -0
  13. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_email_payload.py +0 -0
  14. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_emergency_error.py +0 -0
  15. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_max_cost_header.py +0 -0
  16. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_phones_pending.py +0 -0
  17. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_request_id.py +0 -0
  18. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_tag_receipt_value.py +0 -0
  19. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/tests/test_x402.py +0 -0
  20. {oneshot_python-0.12.0 → oneshot_python-0.12.1}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oneshot-python
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Summary: Core Python SDK for the OneShot API — HTTP client with x402 payment handling
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.10
@@ -127,7 +127,7 @@ Every method has an `a*` async mirror (`acompute`, `aget_compute_goal`, …).
127
127
  ## Links
128
128
 
129
129
  - [Documentation](https://docs.oneshotagent.com/sdk/installation#install-via-pip-python)
130
- - [LangChain integration](https://pypi.org/project/langchain-oneshot/) — 26 tools as LangChain BaseTool
130
+ - [LangChain integration](https://pypi.org/project/langchain-oneshot/) — 31 tools as LangChain BaseTool
131
131
  - [GAME plugin](https://pypi.org/project/game-plugin-oneshot/) — Virtuals Protocol integration
132
132
  - [TypeScript SDK](https://www.npmjs.com/package/@oneshot-agent/sdk)
133
133
  - [MCP Server](https://www.npmjs.com/package/@oneshot-agent/mcp-server)
@@ -31,7 +31,14 @@ from oneshot.x402 import (
31
31
  sign_payment_authorization,
32
32
  )
33
33
 
34
- SDK_VERSION = "0.11.0"
34
+ # Derived from the installed package metadata so it never drifts from
35
+ # pyproject.toml. Falls back to a literal for editable/uninstalled runs.
36
+ try:
37
+ from importlib.metadata import version as _pkg_version
38
+
39
+ SDK_VERSION = _pkg_version("oneshot-python")
40
+ except Exception: # pragma: no cover - editable/source runs without dist metadata
41
+ SDK_VERSION = "0.12.1"
35
42
 
36
43
  # ---------------------------------------------------------------------------
37
44
  # Environment configuration
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "oneshot-python"
3
- version = "0.12.0"
3
+ version = "0.12.1"
4
4
  description = "Core Python SDK for the OneShot API — HTTP client with x402 payment handling"
5
5
  readme = {text = "Core Python SDK for the OneShot API", content-type = "text/plain"}
6
6
  license = "MIT"
File without changes