carrier-python 0.1.31__tar.gz → 0.1.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.
- {carrier_python-0.1.31 → carrier_python-0.1.32}/PKG-INFO +2 -2
- {carrier_python-0.1.31 → carrier_python-0.1.32}/README.md +1 -1
- {carrier_python-0.1.31 → carrier_python-0.1.32}/pyproject.toml +1 -1
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/mcp.py +1 -1
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/version.py +1 -1
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier_python.egg-info/PKG-INFO +2 -2
- {carrier_python-0.1.31 → carrier_python-0.1.32}/tests/test_surface.py +1 -1
- {carrier_python-0.1.31 → carrier_python-0.1.32}/setup.cfg +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/__init__.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/adapters.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/catalog.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/cli.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/client.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/data/cli.json +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/data/operations.json +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/errors.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/http.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/idempotency.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/models.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/operation_ids.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/operations.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/py.typed +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/records.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/resources.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier/signature.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier_python.egg-info/SOURCES.txt +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier_python.egg-info/dependency_links.txt +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier_python.egg-info/top_level.txt +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/tests/test_client.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/tests/test_issuance.py +0 -0
- {carrier_python-0.1.31 → carrier_python-0.1.32}/tests/test_signature.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: carrier-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.32
|
|
4
4
|
Summary: Python client for the Carrier API, MCP server, and CLI.
|
|
5
5
|
Author: Lifecycle Innovations Limited
|
|
6
6
|
License: MIT
|
|
@@ -73,7 +73,7 @@ issued = carrier.call(
|
|
|
73
73
|
```python
|
|
74
74
|
from carrier import Mcp, Cli, rest_tools
|
|
75
75
|
|
|
76
|
-
session = Mcp(os.environ["
|
|
76
|
+
session = Mcp(os.environ["CARRIER_OCS_API_TOKEN"]) # ?TOKEN= on https://mcp.carrier.llc/mcp
|
|
77
77
|
tools = session.list_tools()
|
|
78
78
|
session.call_tool("list_subscribers", {"limit": 5})
|
|
79
79
|
|
|
@@ -58,7 +58,7 @@ issued = carrier.call(
|
|
|
58
58
|
```python
|
|
59
59
|
from carrier import Mcp, Cli, rest_tools
|
|
60
60
|
|
|
61
|
-
session = Mcp(os.environ["
|
|
61
|
+
session = Mcp(os.environ["CARRIER_OCS_API_TOKEN"]) # ?TOKEN= on https://mcp.carrier.llc/mcp
|
|
62
62
|
tools = session.list_tools()
|
|
63
63
|
session.call_tool("list_subscribers", {"limit": 5})
|
|
64
64
|
|
|
@@ -34,7 +34,7 @@ McpTransport = Callable[[McpRequest], tuple[int, Mapping[str, str], bytes]]
|
|
|
34
34
|
class Mcp:
|
|
35
35
|
"""Client for `https://mcp.carrier.llc/mcp`.
|
|
36
36
|
|
|
37
|
-
`auth="token"` sends the
|
|
37
|
+
`auth="token"` sends the OCS reseller token as `?TOKEN=`.
|
|
38
38
|
`auth="bearer"` sends an OAuth access token or a Clerk organization API key.
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: carrier-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.32
|
|
4
4
|
Summary: Python client for the Carrier API, MCP server, and CLI.
|
|
5
5
|
Author: Lifecycle Innovations Limited
|
|
6
6
|
License: MIT
|
|
@@ -73,7 +73,7 @@ issued = carrier.call(
|
|
|
73
73
|
```python
|
|
74
74
|
from carrier import Mcp, Cli, rest_tools
|
|
75
75
|
|
|
76
|
-
session = Mcp(os.environ["
|
|
76
|
+
session = Mcp(os.environ["CARRIER_OCS_API_TOKEN"]) # ?TOKEN= on https://mcp.carrier.llc/mcp
|
|
77
77
|
tools = session.list_tools()
|
|
78
78
|
session.call_tool("list_subscribers", {"limit": 5})
|
|
79
79
|
|
|
@@ -201,7 +201,7 @@ class SurfaceTest(unittest.TestCase):
|
|
|
201
201
|
package = Path(__file__).resolve().parents[1]
|
|
202
202
|
with (package / "pyproject.toml").open("rb") as handle:
|
|
203
203
|
version = tomllib.load(handle)["project"]["version"]
|
|
204
|
-
self.assertEqual(version, "0.1.
|
|
204
|
+
self.assertEqual(version, "0.1.32")
|
|
205
205
|
self.assertEqual(version, __version__)
|
|
206
206
|
with (package / "uv.lock").open("rb") as handle:
|
|
207
207
|
lock = tomllib.load(handle)
|
|
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
|
|
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
|
{carrier_python-0.1.31 → carrier_python-0.1.32}/src/carrier_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|