allowly 0.3.0__tar.gz → 0.3.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.
- {allowly-0.3.0 → allowly-0.3.1}/PKG-INFO +4 -4
- {allowly-0.3.0 → allowly-0.3.1}/README.md +1 -1
- {allowly-0.3.0 → allowly-0.3.1}/allowly/verify.py +1 -1
- {allowly-0.3.0 → allowly-0.3.1}/pyproject.toml +3 -3
- {allowly-0.3.0 → allowly-0.3.1}/uv.lock +6 -6
- {allowly-0.3.0 → allowly-0.3.1}/.github/workflows/publish.yml +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/.github/workflows/verify.yml +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/.gitignore +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/LICENSE +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/allowly/__init__.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/allowly/client.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/allowly/error.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/allowly/identifiers.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/allowly/mcp.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/allowly/types.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/tests/test_client.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/tests/test_identifiers.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/tests/test_mcp.py +0 -0
- {allowly-0.3.0 → allowly-0.3.1}/tests/test_verify.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: allowly
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Python SDK for the Allowly API
|
|
5
5
|
Project-URL: Repository, https://github.com/Allowly-AI/allowly-sdk-python
|
|
6
6
|
License: MIT
|
|
@@ -8,7 +8,7 @@ License-File: LICENSE
|
|
|
8
8
|
Requires-Python: >=3.10
|
|
9
9
|
Requires-Dist: httpx>=0.27.0
|
|
10
10
|
Provides-Extra: dev
|
|
11
|
-
Requires-Dist: allowly-receipt-format<5.0.0,>=4.0.
|
|
11
|
+
Requires-Dist: allowly-receipt-format<5.0.0,>=4.0.1; extra == 'dev'
|
|
12
12
|
Requires-Dist: cryptography>=42; extra == 'dev'
|
|
13
13
|
Requires-Dist: fastmcp<3,>=2.9; extra == 'dev'
|
|
14
14
|
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
|
|
@@ -17,7 +17,7 @@ Requires-Dist: respx>=0.21; extra == 'dev'
|
|
|
17
17
|
Provides-Extra: fastmcp
|
|
18
18
|
Requires-Dist: fastmcp<3,>=2.9; extra == 'fastmcp'
|
|
19
19
|
Provides-Extra: verifier
|
|
20
|
-
Requires-Dist: allowly-receipt-format<5.0.0,>=4.0.
|
|
20
|
+
Requires-Dist: allowly-receipt-format<5.0.0,>=4.0.1; extra == 'verifier'
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
|
|
23
23
|
# Allowly Python SDK
|
|
@@ -112,7 +112,7 @@ integration examples honest and makes SDK gaps visible early.
|
|
|
112
112
|
## Offline receipt verification
|
|
113
113
|
|
|
114
114
|
Install `allowly[verifier]` to verify signed receipts locally. The extra uses
|
|
115
|
-
`allowly-receipt-format>=4.0.
|
|
115
|
+
`allowly-receipt-format>=4.0.1,<5.0.0`, which verifies receipt wire format 4 (the package major equals the wire format). `alg` and
|
|
116
116
|
`key_id` are signed top-level fields, and `signature` is the base64url string.
|
|
117
117
|
|
|
118
118
|
Wire format 4 also supports daily `receipt.checkpoint` commitments. For an
|
|
@@ -90,7 +90,7 @@ integration examples honest and makes SDK gaps visible early.
|
|
|
90
90
|
## Offline receipt verification
|
|
91
91
|
|
|
92
92
|
Install `allowly[verifier]` to verify signed receipts locally. The extra uses
|
|
93
|
-
`allowly-receipt-format>=4.0.
|
|
93
|
+
`allowly-receipt-format>=4.0.1,<5.0.0`, which verifies receipt wire format 4 (the package major equals the wire format). `alg` and
|
|
94
94
|
`key_id` are signed top-level fields, and `signature` is the base64url string.
|
|
95
95
|
|
|
96
96
|
Wire format 4 also supports daily `receipt.checkpoint` commitments. For an
|
|
@@ -35,7 +35,7 @@ def _import_verifier():
|
|
|
35
35
|
return verify_receipt, load_keys_from_json, VerificationError, PublicKey
|
|
36
36
|
except ImportError as exc:
|
|
37
37
|
raise ImportError(
|
|
38
|
-
"Receipt verification requires allowly-receipt-format>=4.0.
|
|
38
|
+
"Receipt verification requires allowly-receipt-format>=4.0.1. "
|
|
39
39
|
"Install the verifier extra: pip install 'allowly[verifier]'"
|
|
40
40
|
) from exc
|
|
41
41
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "allowly"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.1"
|
|
8
8
|
description = "Python SDK for the Allowly API"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -21,10 +21,10 @@ fastmcp = [
|
|
|
21
21
|
"fastmcp>=2.9,<3",
|
|
22
22
|
]
|
|
23
23
|
verifier = [
|
|
24
|
-
"allowly-receipt-format>=4.0.
|
|
24
|
+
"allowly-receipt-format>=4.0.1,<5.0.0",
|
|
25
25
|
]
|
|
26
26
|
dev = [
|
|
27
|
-
"allowly-receipt-format>=4.0.
|
|
27
|
+
"allowly-receipt-format>=4.0.1,<5.0.0",
|
|
28
28
|
"cryptography>=42",
|
|
29
29
|
"fastmcp>=2.9,<3",
|
|
30
30
|
"pytest>=8.0",
|
|
@@ -4,7 +4,7 @@ requires-python = ">=3.10"
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "allowly"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.1"
|
|
8
8
|
source = { editable = "." }
|
|
9
9
|
dependencies = [
|
|
10
10
|
{ name = "httpx" },
|
|
@@ -28,8 +28,8 @@ verifier = [
|
|
|
28
28
|
|
|
29
29
|
[package.metadata]
|
|
30
30
|
requires-dist = [
|
|
31
|
-
{ name = "allowly-receipt-format", marker = "extra == 'dev'", specifier = ">=4.0.
|
|
32
|
-
{ name = "allowly-receipt-format", marker = "extra == 'verifier'", specifier = ">=4.0.
|
|
31
|
+
{ name = "allowly-receipt-format", marker = "extra == 'dev'", specifier = ">=4.0.1,<5.0.0" },
|
|
32
|
+
{ name = "allowly-receipt-format", marker = "extra == 'verifier'", specifier = ">=4.0.1,<5.0.0" },
|
|
33
33
|
{ name = "cryptography", marker = "extra == 'dev'", specifier = ">=42" },
|
|
34
34
|
{ name = "fastmcp", marker = "extra == 'dev'", specifier = ">=2.9,<3" },
|
|
35
35
|
{ name = "fastmcp", marker = "extra == 'fastmcp'", specifier = ">=2.9,<3" },
|
|
@@ -42,14 +42,14 @@ provides-extras = ["fastmcp", "verifier", "dev"]
|
|
|
42
42
|
|
|
43
43
|
[[package]]
|
|
44
44
|
name = "allowly-receipt-format"
|
|
45
|
-
version = "4.0.
|
|
45
|
+
version = "4.0.1"
|
|
46
46
|
source = { registry = "https://pypi.org/simple" }
|
|
47
47
|
dependencies = [
|
|
48
48
|
{ name = "cryptography" },
|
|
49
49
|
]
|
|
50
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
50
|
+
sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/e3e98e0aeaa288b730047219ec3a92b60b725e1972ecdfe0ed7eac216d1f/allowly_receipt_format-4.0.1.tar.gz", hash = "sha256:952d6570bfc4b9d367157f72db4653add3284930a76fac322c0adbac46dc46ff", size = 18063, upload-time = "2026-08-04T21:55:08.179Z" }
|
|
51
51
|
wheels = [
|
|
52
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
52
|
+
{ url = "https://files.pythonhosted.org/packages/6c/41/fc6bcf26f3735dc1e985abed0ffdf42d5a8bd7cec87565c026ac03364d38/allowly_receipt_format-4.0.1-py3-none-any.whl", hash = "sha256:557cb4c9e2ceffb705626815716227fa66cc792aa33b9a289c4e9a73e53469c5", size = 16633, upload-time = "2026-08-04T21:55:07.146Z" },
|
|
53
53
|
]
|
|
54
54
|
|
|
55
55
|
[[package]]
|
|
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
|