thresh-sdk 0.2.0__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.
- thresh_sdk-0.2.0/.gitignore +24 -0
- thresh_sdk-0.2.0/PKG-INFO +40 -0
- thresh_sdk-0.2.0/README.md +32 -0
- thresh_sdk-0.2.0/pyproject.toml +23 -0
- thresh_sdk-0.2.0/src/thresh/__init__.py +217 -0
- thresh_sdk-0.2.0/tests/test_sdk.py +129 -0
- thresh_sdk-0.2.0/uv.lock +323 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# OS
|
|
2
|
+
.DS_Store
|
|
3
|
+
Thumbs.db
|
|
4
|
+
|
|
5
|
+
# Editors
|
|
6
|
+
.vscode/
|
|
7
|
+
.idea/
|
|
8
|
+
|
|
9
|
+
# Dependencies / build output
|
|
10
|
+
node_modules/
|
|
11
|
+
dist/
|
|
12
|
+
build/
|
|
13
|
+
target/
|
|
14
|
+
__pycache__/
|
|
15
|
+
*.pyc
|
|
16
|
+
.venv/
|
|
17
|
+
|
|
18
|
+
# Env & secrets
|
|
19
|
+
.env
|
|
20
|
+
.env.*
|
|
21
|
+
|
|
22
|
+
# Claude Code local state
|
|
23
|
+
.claude/settings.local.json
|
|
24
|
+
.claude/.code-reviewed
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: thresh-sdk
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Official Python client for the Thresh document extraction API
|
|
5
|
+
Requires-Python: >=3.9
|
|
6
|
+
Requires-Dist: httpx>=0.27
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
|
|
9
|
+
# thresh-sdk
|
|
10
|
+
|
|
11
|
+
Official Python client for the [Thresh](https://github.com/Fillnull/thresh)
|
|
12
|
+
document extraction API — documents in, schema-conformant JSON out.
|
|
13
|
+
|
|
14
|
+
```python
|
|
15
|
+
from thresh import Thresh
|
|
16
|
+
|
|
17
|
+
client = Thresh(api_key="th_live_...")
|
|
18
|
+
doc = client.upload(
|
|
19
|
+
"contract.pdf",
|
|
20
|
+
fields=["purchase_price", "closing_date", "buyer_name"],
|
|
21
|
+
tables=[{"name": "monthly_charges", "columns": ["item", "qty", "mrc"]}],
|
|
22
|
+
questions=["Is the contract contingent upon financing?"],
|
|
23
|
+
)
|
|
24
|
+
result = client.wait(doc.id)
|
|
25
|
+
|
|
26
|
+
result.fields["purchase_price"] # "399900"
|
|
27
|
+
result.tables["monthly_charges"] # [{"item": ..., "qty": ..., "mrc": ...}, ...]
|
|
28
|
+
result.answer("Is the contract contingent upon financing?") # "Yes"
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- `upload(...)` accepts a path or a binary file object; pass `idempotency_key=`
|
|
32
|
+
to make retries safe.
|
|
33
|
+
- `wait(id, timeout=300)` polls until `completed` or `failed` (failed results
|
|
34
|
+
return with `.error` set — no exception).
|
|
35
|
+
- `verify_webhook_signature(secret, header, body)` validates
|
|
36
|
+
`Thresh-Signature` headers on webhook deliveries.
|
|
37
|
+
- Errors raise `ThreshError` with `.status`, `.error_type`, and `.request_id`.
|
|
38
|
+
|
|
39
|
+
Missing values come back as the string `"null"`; checkbox states as
|
|
40
|
+
`"true"`/`"false"`.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# thresh-sdk
|
|
2
|
+
|
|
3
|
+
Official Python client for the [Thresh](https://github.com/Fillnull/thresh)
|
|
4
|
+
document extraction API — documents in, schema-conformant JSON out.
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from thresh import Thresh
|
|
8
|
+
|
|
9
|
+
client = Thresh(api_key="th_live_...")
|
|
10
|
+
doc = client.upload(
|
|
11
|
+
"contract.pdf",
|
|
12
|
+
fields=["purchase_price", "closing_date", "buyer_name"],
|
|
13
|
+
tables=[{"name": "monthly_charges", "columns": ["item", "qty", "mrc"]}],
|
|
14
|
+
questions=["Is the contract contingent upon financing?"],
|
|
15
|
+
)
|
|
16
|
+
result = client.wait(doc.id)
|
|
17
|
+
|
|
18
|
+
result.fields["purchase_price"] # "399900"
|
|
19
|
+
result.tables["monthly_charges"] # [{"item": ..., "qty": ..., "mrc": ...}, ...]
|
|
20
|
+
result.answer("Is the contract contingent upon financing?") # "Yes"
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- `upload(...)` accepts a path or a binary file object; pass `idempotency_key=`
|
|
24
|
+
to make retries safe.
|
|
25
|
+
- `wait(id, timeout=300)` polls until `completed` or `failed` (failed results
|
|
26
|
+
return with `.error` set — no exception).
|
|
27
|
+
- `verify_webhook_signature(secret, header, body)` validates
|
|
28
|
+
`Thresh-Signature` headers on webhook deliveries.
|
|
29
|
+
- Errors raise `ThreshError` with `.status`, `.error_type`, and `.request_id`.
|
|
30
|
+
|
|
31
|
+
Missing values come back as the string `"null"`; checkbox states as
|
|
32
|
+
`"true"`/`"false"`.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "thresh-sdk"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "Official Python client for the Thresh document extraction API"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.9"
|
|
7
|
+
dependencies = ["httpx>=0.27"]
|
|
8
|
+
|
|
9
|
+
[dependency-groups]
|
|
10
|
+
dev = ["pytest>=8.0", "ruff>=0.6"]
|
|
11
|
+
|
|
12
|
+
[build-system]
|
|
13
|
+
requires = ["hatchling"]
|
|
14
|
+
build-backend = "hatchling.build"
|
|
15
|
+
|
|
16
|
+
[tool.hatch.build.targets.wheel]
|
|
17
|
+
packages = ["src/thresh"]
|
|
18
|
+
|
|
19
|
+
[tool.ruff]
|
|
20
|
+
line-length = 100
|
|
21
|
+
|
|
22
|
+
[tool.pytest.ini_options]
|
|
23
|
+
testpaths = ["tests"]
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
"""Thresh — documents in, schema-conformant JSON out.
|
|
2
|
+
|
|
3
|
+
from thresh import Thresh
|
|
4
|
+
|
|
5
|
+
client = Thresh(api_key="th_live_...")
|
|
6
|
+
doc = client.upload("contract.pdf", fields=["purchase_price", "closing_date"],
|
|
7
|
+
questions=["Is the contract contingent upon financing?"])
|
|
8
|
+
result = client.wait(doc.id)
|
|
9
|
+
print(result.fields["purchase_price"])
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
from __future__ import annotations
|
|
13
|
+
|
|
14
|
+
import hashlib
|
|
15
|
+
import hmac
|
|
16
|
+
import json
|
|
17
|
+
import time
|
|
18
|
+
from dataclasses import dataclass, field
|
|
19
|
+
from pathlib import Path
|
|
20
|
+
from typing import IO, Any, Optional, Union
|
|
21
|
+
|
|
22
|
+
import httpx
|
|
23
|
+
|
|
24
|
+
__all__ = ["Thresh", "Document", "Result", "ThreshError", "verify_webhook_signature"]
|
|
25
|
+
|
|
26
|
+
# KEEP IN SYNC with the deployed domain (#50 changes this; bump the SDK version)
|
|
27
|
+
DEFAULT_BASE_URL = "https://usethresh.com"
|
|
28
|
+
DEFAULT_TIMEOUT_S = 30.0
|
|
29
|
+
DEFAULT_POLL_INTERVAL_S = 4.0
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class ThreshError(Exception):
|
|
33
|
+
"""API error with the envelope's type, message, and request id."""
|
|
34
|
+
|
|
35
|
+
def __init__(self, status: int, error_type: str, message: str, request_id: Optional[str]):
|
|
36
|
+
super().__init__(f"{error_type}: {message} (status {status}, request {request_id})")
|
|
37
|
+
self.status = status
|
|
38
|
+
self.error_type = error_type
|
|
39
|
+
self.request_id = request_id
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class ExtractionTimeout(ThreshError):
|
|
43
|
+
def __init__(self, document_id: str, waited_s: float):
|
|
44
|
+
Exception.__init__( # bypass ThreshError.__init__: no HTTP envelope here
|
|
45
|
+
self, f"document {document_id} still processing after {waited_s:.0f}s"
|
|
46
|
+
)
|
|
47
|
+
self.status = 0
|
|
48
|
+
self.error_type = "timeout"
|
|
49
|
+
self.request_id = None
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@dataclass(frozen=True)
|
|
53
|
+
class Document:
|
|
54
|
+
id: str
|
|
55
|
+
filename: str
|
|
56
|
+
status: str
|
|
57
|
+
created_at: Optional[str] = None
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
@dataclass(frozen=True)
|
|
61
|
+
class Result:
|
|
62
|
+
id: str
|
|
63
|
+
status: str
|
|
64
|
+
fields: dict = field(default_factory=dict)
|
|
65
|
+
tables: dict = field(default_factory=dict)
|
|
66
|
+
answers: list = field(default_factory=list)
|
|
67
|
+
error: Optional[str] = None
|
|
68
|
+
cost_usd: Optional[float] = None
|
|
69
|
+
latency_s: Optional[float] = None
|
|
70
|
+
|
|
71
|
+
def answer(self, question: str) -> Optional[str]:
|
|
72
|
+
"""The answer for an exact question string, if present."""
|
|
73
|
+
for pair in self.answers:
|
|
74
|
+
if pair.get("question") == question:
|
|
75
|
+
return pair.get("answer")
|
|
76
|
+
return None
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def _raise_for(res: httpx.Response) -> None:
|
|
80
|
+
if res.is_success:
|
|
81
|
+
return
|
|
82
|
+
try:
|
|
83
|
+
err = res.json().get("error", {})
|
|
84
|
+
except ValueError:
|
|
85
|
+
err = {}
|
|
86
|
+
raise ThreshError(
|
|
87
|
+
res.status_code,
|
|
88
|
+
err.get("type", "api_error"),
|
|
89
|
+
err.get("message", res.text[:200] or res.reason_phrase),
|
|
90
|
+
err.get("request_id"),
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class Thresh:
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
api_key: str,
|
|
98
|
+
base_url: str = DEFAULT_BASE_URL,
|
|
99
|
+
timeout: float = DEFAULT_TIMEOUT_S,
|
|
100
|
+
transport: Optional[httpx.BaseTransport] = None,
|
|
101
|
+
):
|
|
102
|
+
if not api_key.startswith("th_"):
|
|
103
|
+
raise ValueError("api_key should look like th_live_...")
|
|
104
|
+
self._http = httpx.Client(
|
|
105
|
+
base_url=base_url.rstrip("/"),
|
|
106
|
+
timeout=timeout,
|
|
107
|
+
headers={"Authorization": f"Bearer {api_key}"},
|
|
108
|
+
transport=transport,
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
def close(self) -> None:
|
|
112
|
+
self._http.close()
|
|
113
|
+
|
|
114
|
+
def __enter__(self) -> "Thresh":
|
|
115
|
+
return self
|
|
116
|
+
|
|
117
|
+
def __exit__(self, *exc: object) -> None:
|
|
118
|
+
self.close()
|
|
119
|
+
|
|
120
|
+
# -- documents -----------------------------------------------------------
|
|
121
|
+
|
|
122
|
+
def upload(
|
|
123
|
+
self,
|
|
124
|
+
file: Union[str, Path, IO[bytes]],
|
|
125
|
+
*,
|
|
126
|
+
fields: Optional[list] = None,
|
|
127
|
+
tables: Optional[list] = None,
|
|
128
|
+
questions: Optional[list] = None,
|
|
129
|
+
idempotency_key: Optional[str] = None,
|
|
130
|
+
) -> Document:
|
|
131
|
+
"""Upload a PDF with an extraction spec. Returns the queued document.
|
|
132
|
+
|
|
133
|
+
tables entries are {"name": ..., "columns": [...]}.
|
|
134
|
+
"""
|
|
135
|
+
spec: dict[str, Any] = {
|
|
136
|
+
"fields": fields or [],
|
|
137
|
+
"tables": tables or [],
|
|
138
|
+
"questions": questions or [],
|
|
139
|
+
}
|
|
140
|
+
if not (spec["fields"] or spec["tables"] or spec["questions"]):
|
|
141
|
+
raise ValueError("request at least one field, table, or question")
|
|
142
|
+
|
|
143
|
+
headers = {"Idempotency-Key": idempotency_key} if idempotency_key else {}
|
|
144
|
+
if isinstance(file, (str, Path)):
|
|
145
|
+
path = Path(file)
|
|
146
|
+
with path.open("rb") as fh:
|
|
147
|
+
res = self._http.post(
|
|
148
|
+
"/v1/documents",
|
|
149
|
+
files={"file": (path.name, fh, "application/pdf")},
|
|
150
|
+
data={"spec": json.dumps(spec)},
|
|
151
|
+
headers=headers,
|
|
152
|
+
)
|
|
153
|
+
else:
|
|
154
|
+
res = self._http.post(
|
|
155
|
+
"/v1/documents",
|
|
156
|
+
files={"file": ("document.pdf", file, "application/pdf")},
|
|
157
|
+
data={"spec": json.dumps(spec)},
|
|
158
|
+
headers=headers,
|
|
159
|
+
)
|
|
160
|
+
_raise_for(res)
|
|
161
|
+
body = res.json()
|
|
162
|
+
return Document(
|
|
163
|
+
id=body["id"],
|
|
164
|
+
filename=body["filename"],
|
|
165
|
+
status=body["status"],
|
|
166
|
+
created_at=body.get("created_at"),
|
|
167
|
+
)
|
|
168
|
+
|
|
169
|
+
def result(self, document_id: str) -> Result:
|
|
170
|
+
"""Current result snapshot; status tells you if it's done."""
|
|
171
|
+
res = self._http.get(f"/v1/documents/{document_id}/result")
|
|
172
|
+
if res.status_code not in (200, 202):
|
|
173
|
+
_raise_for(res)
|
|
174
|
+
body = res.json()
|
|
175
|
+
extracted = body.get("result") or {}
|
|
176
|
+
return Result(
|
|
177
|
+
id=body["id"],
|
|
178
|
+
status=body["status"],
|
|
179
|
+
fields=extracted.get("fields", {}),
|
|
180
|
+
tables=extracted.get("tables", {}),
|
|
181
|
+
answers=extracted.get("answers", []),
|
|
182
|
+
error=body.get("error"),
|
|
183
|
+
cost_usd=body.get("cost_usd"),
|
|
184
|
+
latency_s=body.get("latency_s"),
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
def wait(
|
|
188
|
+
self,
|
|
189
|
+
document_id: str,
|
|
190
|
+
timeout: float = 300.0,
|
|
191
|
+
poll_interval: float = DEFAULT_POLL_INTERVAL_S,
|
|
192
|
+
) -> Result:
|
|
193
|
+
"""Poll until the document completes or fails."""
|
|
194
|
+
deadline = time.monotonic() + timeout
|
|
195
|
+
while True:
|
|
196
|
+
snapshot = self.result(document_id)
|
|
197
|
+
if snapshot.status in ("completed", "failed"):
|
|
198
|
+
return snapshot
|
|
199
|
+
if time.monotonic() >= deadline:
|
|
200
|
+
raise ExtractionTimeout(document_id, timeout)
|
|
201
|
+
time.sleep(poll_interval)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
def verify_webhook_signature(
|
|
205
|
+
secret: str, header: str, body: bytes, tolerance_s: int = 300
|
|
206
|
+
) -> bool:
|
|
207
|
+
"""Verify a Thresh-Signature header: t=<unix>,v1=<hmac-sha256(secret, t.body)>."""
|
|
208
|
+
try:
|
|
209
|
+
parts = dict(kv.split("=", 1) for kv in header.split(","))
|
|
210
|
+
t = int(parts["t"])
|
|
211
|
+
expected = parts["v1"]
|
|
212
|
+
except (KeyError, ValueError):
|
|
213
|
+
return False
|
|
214
|
+
if abs(time.time() - t) > tolerance_s:
|
|
215
|
+
return False
|
|
216
|
+
mac = hmac.new(secret.encode(), f"{t}.".encode() + body, hashlib.sha256).hexdigest()
|
|
217
|
+
return hmac.compare_digest(mac, expected)
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import io
|
|
2
|
+
import time
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
import pytest
|
|
6
|
+
|
|
7
|
+
from thresh import Document, Result, Thresh, ThreshError, verify_webhook_signature
|
|
8
|
+
from thresh import ExtractionTimeout
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def make_client(handler):
|
|
12
|
+
return Thresh(api_key="th_live_test", transport=httpx.MockTransport(handler))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def test_rejects_bad_key_shape():
|
|
16
|
+
with pytest.raises(ValueError):
|
|
17
|
+
Thresh(api_key="sk-wrong")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def test_upload_sends_spec_and_parses(tmp_path):
|
|
21
|
+
pdf = tmp_path / "c.pdf"
|
|
22
|
+
pdf.write_bytes(b"%PDF-1.4 x")
|
|
23
|
+
seen = {}
|
|
24
|
+
|
|
25
|
+
def handler(request: httpx.Request) -> httpx.Response:
|
|
26
|
+
seen["auth"] = request.headers["authorization"]
|
|
27
|
+
seen["idem"] = request.headers.get("idempotency-key")
|
|
28
|
+
body = request.read()
|
|
29
|
+
seen["has_spec"] = b'"purchase_price"' in body and b'"columns"' in body
|
|
30
|
+
return httpx.Response(
|
|
31
|
+
202,
|
|
32
|
+
json={"id": "d1", "filename": "c.pdf", "status": "queued", "created_at": "t"},
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
doc = make_client(handler).upload(
|
|
36
|
+
pdf,
|
|
37
|
+
fields=["purchase_price"],
|
|
38
|
+
tables=[{"name": "charges", "columns": ["item"]}],
|
|
39
|
+
idempotency_key="abc",
|
|
40
|
+
)
|
|
41
|
+
assert isinstance(doc, Document) and doc.id == "d1" and doc.status == "queued"
|
|
42
|
+
assert seen == {"auth": "Bearer th_live_test", "idem": "abc", "has_spec": True}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def test_upload_requires_nonempty_spec(tmp_path):
|
|
46
|
+
pdf = tmp_path / "c.pdf"
|
|
47
|
+
pdf.write_bytes(b"%PDF")
|
|
48
|
+
with pytest.raises(ValueError):
|
|
49
|
+
make_client(lambda r: httpx.Response(500)).upload(pdf)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def test_upload_accepts_file_object():
|
|
53
|
+
def handler(request):
|
|
54
|
+
return httpx.Response(202, json={"id": "d2", "filename": "document.pdf", "status": "queued"})
|
|
55
|
+
|
|
56
|
+
doc = make_client(handler).upload(io.BytesIO(b"%PDF x"), fields=["a"])
|
|
57
|
+
assert doc.id == "d2"
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def test_error_envelope_raises_thresh_error(tmp_path):
|
|
61
|
+
pdf = tmp_path / "c.pdf"
|
|
62
|
+
pdf.write_bytes(b"%PDF")
|
|
63
|
+
|
|
64
|
+
def handler(request):
|
|
65
|
+
return httpx.Response(
|
|
66
|
+
401,
|
|
67
|
+
json={"error": {"type": "authentication_error", "message": "bad key", "request_id": "req_1"}},
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
with pytest.raises(ThreshError) as e:
|
|
71
|
+
make_client(handler).upload(pdf, fields=["a"])
|
|
72
|
+
assert e.value.status == 401
|
|
73
|
+
assert e.value.error_type == "authentication_error"
|
|
74
|
+
assert e.value.request_id == "req_1"
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def test_wait_polls_until_completed():
|
|
78
|
+
calls = {"n": 0}
|
|
79
|
+
|
|
80
|
+
def handler(request):
|
|
81
|
+
calls["n"] += 1
|
|
82
|
+
if calls["n"] < 3:
|
|
83
|
+
return httpx.Response(202, json={"id": "d1", "filename": "c", "status": "processing"})
|
|
84
|
+
return httpx.Response(
|
|
85
|
+
200,
|
|
86
|
+
json={
|
|
87
|
+
"id": "d1", "filename": "c", "status": "completed",
|
|
88
|
+
"result": {"fields": {"x": "1"}, "tables": {}, "answers": [
|
|
89
|
+
{"question": "q?", "answer": "yes"}]},
|
|
90
|
+
"cost_usd": 0.01, "latency_s": 2.0,
|
|
91
|
+
},
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
r = make_client(handler).wait("d1", timeout=10, poll_interval=0.01)
|
|
95
|
+
assert isinstance(r, Result)
|
|
96
|
+
assert r.fields == {"x": "1"} and r.answer("q?") == "yes" and r.cost_usd == 0.01
|
|
97
|
+
assert calls["n"] == 3
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def test_wait_times_out():
|
|
101
|
+
def handler(request):
|
|
102
|
+
return httpx.Response(202, json={"id": "d1", "filename": "c", "status": "queued"})
|
|
103
|
+
|
|
104
|
+
with pytest.raises(ExtractionTimeout):
|
|
105
|
+
make_client(handler).wait("d1", timeout=0.05, poll_interval=0.01)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def test_failed_document_returned_not_raised():
|
|
109
|
+
def handler(request):
|
|
110
|
+
return httpx.Response(
|
|
111
|
+
200, json={"id": "d1", "filename": "c", "status": "failed", "error": "boom"}
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
r = make_client(handler).result("d1")
|
|
115
|
+
assert r.status == "failed" and r.error == "boom"
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def test_webhook_signature_roundtrip():
|
|
119
|
+
import hashlib
|
|
120
|
+
import hmac
|
|
121
|
+
|
|
122
|
+
body = b'{"a":1}'
|
|
123
|
+
t = int(time.time())
|
|
124
|
+
mac = hmac.new(b"whsec_s", f"{t}.".encode() + body, hashlib.sha256).hexdigest()
|
|
125
|
+
header = f"t={t},v1={mac}"
|
|
126
|
+
assert verify_webhook_signature("whsec_s", header, body)
|
|
127
|
+
assert not verify_webhook_signature("whsec_s", header, b'{"a":2}')
|
|
128
|
+
assert not verify_webhook_signature("whsec_other", header, body)
|
|
129
|
+
assert not verify_webhook_signature("whsec_s", "junk", body)
|
thresh_sdk-0.2.0/uv.lock
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
version = 1
|
|
2
|
+
revision = 3
|
|
3
|
+
requires-python = ">=3.9"
|
|
4
|
+
resolution-markers = [
|
|
5
|
+
"python_full_version >= '3.10'",
|
|
6
|
+
"python_full_version < '3.10'",
|
|
7
|
+
]
|
|
8
|
+
|
|
9
|
+
[[package]]
|
|
10
|
+
name = "anyio"
|
|
11
|
+
version = "4.12.1"
|
|
12
|
+
source = { registry = "https://pypi.org/simple" }
|
|
13
|
+
resolution-markers = [
|
|
14
|
+
"python_full_version < '3.10'",
|
|
15
|
+
]
|
|
16
|
+
dependencies = [
|
|
17
|
+
{ name = "exceptiongroup", marker = "python_full_version < '3.10'" },
|
|
18
|
+
{ name = "idna", marker = "python_full_version < '3.10'" },
|
|
19
|
+
{ name = "typing-extensions", marker = "python_full_version < '3.10'" },
|
|
20
|
+
]
|
|
21
|
+
sdist = { url = "https://files.pythonhosted.org/packages/96/f0/5eb65b2bb0d09ac6776f2eb54adee6abe8228ea05b20a5ad0e4945de8aac/anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703", size = 228685, upload-time = "2026-01-06T11:45:21.246Z" }
|
|
22
|
+
wheels = [
|
|
23
|
+
{ url = "https://files.pythonhosted.org/packages/38/0e/27be9fdef66e72d64c0cdc3cc2823101b80585f8119b5c112c2e8f5f7dab/anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c", size = 113592, upload-time = "2026-01-06T11:45:19.497Z" },
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "anyio"
|
|
28
|
+
version = "4.14.2"
|
|
29
|
+
source = { registry = "https://pypi.org/simple" }
|
|
30
|
+
resolution-markers = [
|
|
31
|
+
"python_full_version >= '3.10'",
|
|
32
|
+
]
|
|
33
|
+
dependencies = [
|
|
34
|
+
{ name = "exceptiongroup", marker = "python_full_version == '3.10.*'" },
|
|
35
|
+
{ name = "idna", marker = "python_full_version >= '3.10'" },
|
|
36
|
+
{ name = "typing-extensions", marker = "python_full_version >= '3.10' and python_full_version < '3.13'" },
|
|
37
|
+
]
|
|
38
|
+
sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" }
|
|
39
|
+
wheels = [
|
|
40
|
+
{ url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" },
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[[package]]
|
|
44
|
+
name = "certifi"
|
|
45
|
+
version = "2026.6.17"
|
|
46
|
+
source = { registry = "https://pypi.org/simple" }
|
|
47
|
+
sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" }
|
|
48
|
+
wheels = [
|
|
49
|
+
{ url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" },
|
|
50
|
+
]
|
|
51
|
+
|
|
52
|
+
[[package]]
|
|
53
|
+
name = "colorama"
|
|
54
|
+
version = "0.4.6"
|
|
55
|
+
source = { registry = "https://pypi.org/simple" }
|
|
56
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
|
|
57
|
+
wheels = [
|
|
58
|
+
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
|
|
59
|
+
]
|
|
60
|
+
|
|
61
|
+
[[package]]
|
|
62
|
+
name = "exceptiongroup"
|
|
63
|
+
version = "1.3.1"
|
|
64
|
+
source = { registry = "https://pypi.org/simple" }
|
|
65
|
+
dependencies = [
|
|
66
|
+
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
|
|
67
|
+
]
|
|
68
|
+
sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }
|
|
69
|
+
wheels = [
|
|
70
|
+
{ url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" },
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
[[package]]
|
|
74
|
+
name = "h11"
|
|
75
|
+
version = "0.16.0"
|
|
76
|
+
source = { registry = "https://pypi.org/simple" }
|
|
77
|
+
sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
|
|
78
|
+
wheels = [
|
|
79
|
+
{ url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
[[package]]
|
|
83
|
+
name = "httpcore"
|
|
84
|
+
version = "1.0.9"
|
|
85
|
+
source = { registry = "https://pypi.org/simple" }
|
|
86
|
+
dependencies = [
|
|
87
|
+
{ name = "certifi" },
|
|
88
|
+
{ name = "h11" },
|
|
89
|
+
]
|
|
90
|
+
sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }
|
|
91
|
+
wheels = [
|
|
92
|
+
{ url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
|
|
93
|
+
]
|
|
94
|
+
|
|
95
|
+
[[package]]
|
|
96
|
+
name = "httpx"
|
|
97
|
+
version = "0.28.1"
|
|
98
|
+
source = { registry = "https://pypi.org/simple" }
|
|
99
|
+
dependencies = [
|
|
100
|
+
{ name = "anyio", version = "4.12.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
|
|
101
|
+
{ name = "anyio", version = "4.14.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
|
|
102
|
+
{ name = "certifi" },
|
|
103
|
+
{ name = "httpcore" },
|
|
104
|
+
{ name = "idna" },
|
|
105
|
+
]
|
|
106
|
+
sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }
|
|
107
|
+
wheels = [
|
|
108
|
+
{ url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
[[package]]
|
|
112
|
+
name = "idna"
|
|
113
|
+
version = "3.18"
|
|
114
|
+
source = { registry = "https://pypi.org/simple" }
|
|
115
|
+
sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" }
|
|
116
|
+
wheels = [
|
|
117
|
+
{ url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" },
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "iniconfig"
|
|
122
|
+
version = "2.1.0"
|
|
123
|
+
source = { registry = "https://pypi.org/simple" }
|
|
124
|
+
resolution-markers = [
|
|
125
|
+
"python_full_version < '3.10'",
|
|
126
|
+
]
|
|
127
|
+
sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793, upload-time = "2025-03-19T20:09:59.721Z" }
|
|
128
|
+
wheels = [
|
|
129
|
+
{ url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" },
|
|
130
|
+
]
|
|
131
|
+
|
|
132
|
+
[[package]]
|
|
133
|
+
name = "iniconfig"
|
|
134
|
+
version = "2.3.0"
|
|
135
|
+
source = { registry = "https://pypi.org/simple" }
|
|
136
|
+
resolution-markers = [
|
|
137
|
+
"python_full_version >= '3.10'",
|
|
138
|
+
]
|
|
139
|
+
sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }
|
|
140
|
+
wheels = [
|
|
141
|
+
{ url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
|
|
142
|
+
]
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "packaging"
|
|
146
|
+
version = "26.2"
|
|
147
|
+
source = { registry = "https://pypi.org/simple" }
|
|
148
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" }
|
|
149
|
+
wheels = [
|
|
150
|
+
{ url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" },
|
|
151
|
+
]
|
|
152
|
+
|
|
153
|
+
[[package]]
|
|
154
|
+
name = "pluggy"
|
|
155
|
+
version = "1.6.0"
|
|
156
|
+
source = { registry = "https://pypi.org/simple" }
|
|
157
|
+
sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
|
|
158
|
+
wheels = [
|
|
159
|
+
{ url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },
|
|
160
|
+
]
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "pygments"
|
|
164
|
+
version = "2.20.0"
|
|
165
|
+
source = { registry = "https://pypi.org/simple" }
|
|
166
|
+
sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" }
|
|
167
|
+
wheels = [
|
|
168
|
+
{ url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" },
|
|
169
|
+
]
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "pytest"
|
|
173
|
+
version = "8.4.2"
|
|
174
|
+
source = { registry = "https://pypi.org/simple" }
|
|
175
|
+
resolution-markers = [
|
|
176
|
+
"python_full_version < '3.10'",
|
|
177
|
+
]
|
|
178
|
+
dependencies = [
|
|
179
|
+
{ name = "colorama", marker = "python_full_version < '3.10' and sys_platform == 'win32'" },
|
|
180
|
+
{ name = "exceptiongroup", marker = "python_full_version < '3.10'" },
|
|
181
|
+
{ name = "iniconfig", version = "2.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
|
|
182
|
+
{ name = "packaging", marker = "python_full_version < '3.10'" },
|
|
183
|
+
{ name = "pluggy", marker = "python_full_version < '3.10'" },
|
|
184
|
+
{ name = "pygments", marker = "python_full_version < '3.10'" },
|
|
185
|
+
{ name = "tomli", marker = "python_full_version < '3.10'" },
|
|
186
|
+
]
|
|
187
|
+
sdist = { url = "https://files.pythonhosted.org/packages/a3/5c/00a0e072241553e1a7496d638deababa67c5058571567b92a7eaa258397c/pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01", size = 1519618, upload-time = "2025-09-04T14:34:22.711Z" }
|
|
188
|
+
wheels = [
|
|
189
|
+
{ url = "https://files.pythonhosted.org/packages/a8/a4/20da314d277121d6534b3a980b29035dcd51e6744bd79075a6ce8fa4eb8d/pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79", size = 365750, upload-time = "2025-09-04T14:34:20.226Z" },
|
|
190
|
+
]
|
|
191
|
+
|
|
192
|
+
[[package]]
|
|
193
|
+
name = "pytest"
|
|
194
|
+
version = "9.1.1"
|
|
195
|
+
source = { registry = "https://pypi.org/simple" }
|
|
196
|
+
resolution-markers = [
|
|
197
|
+
"python_full_version >= '3.10'",
|
|
198
|
+
]
|
|
199
|
+
dependencies = [
|
|
200
|
+
{ name = "colorama", marker = "python_full_version >= '3.10' and sys_platform == 'win32'" },
|
|
201
|
+
{ name = "exceptiongroup", marker = "python_full_version == '3.10.*'" },
|
|
202
|
+
{ name = "iniconfig", version = "2.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
|
|
203
|
+
{ name = "packaging", marker = "python_full_version >= '3.10'" },
|
|
204
|
+
{ name = "pluggy", marker = "python_full_version >= '3.10'" },
|
|
205
|
+
{ name = "pygments", marker = "python_full_version >= '3.10'" },
|
|
206
|
+
{ name = "tomli", marker = "python_full_version == '3.10.*'" },
|
|
207
|
+
]
|
|
208
|
+
sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" }
|
|
209
|
+
wheels = [
|
|
210
|
+
{ url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" },
|
|
211
|
+
]
|
|
212
|
+
|
|
213
|
+
[[package]]
|
|
214
|
+
name = "ruff"
|
|
215
|
+
version = "0.15.22"
|
|
216
|
+
source = { registry = "https://pypi.org/simple" }
|
|
217
|
+
sdist = { url = "https://files.pythonhosted.org/packages/3a/06/ae069393fc66e8ff33036d4b368003833bf6e88ccf182e17e7a2f1c754fd/ruff-0.15.22.tar.gz", hash = "sha256:3f15175b1fb580126f58285a5dae6b2ea89000136d980c64499211f116b54809", size = 4785063, upload-time = "2026-07-16T15:14:13.244Z" }
|
|
218
|
+
wheels = [
|
|
219
|
+
{ url = "https://files.pythonhosted.org/packages/23/18/ee54b7ae1e121be7a28ea6da4b67564ebb0530e183a54415ab7e3bcd2c4e/ruff-0.15.22-py3-none-linux_armv6l.whl", hash = "sha256:44423e73493737f5e7c5b41d475483898ff37afcdae38bc3da5085e29af1c2d8", size = 10781258, upload-time = "2026-07-16T15:13:19.452Z" },
|
|
220
|
+
{ url = "https://files.pythonhosted.org/packages/2f/d2/2520cb14761ddbeaf57642a76942fc36adcbdbe53b4532241995f6fc485c/ruff-0.15.22-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b82c6482946e9eda7ff2e091d25b8bad3f718684e1916d41bd56873cee05b697", size = 10999477, upload-time = "2026-07-16T15:13:23.318Z" },
|
|
221
|
+
{ url = "https://files.pythonhosted.org/packages/c9/10/74e53572aa758dfaa678c2a2646b5c5515d884b7ca56be4d2ce03ca4b560/ruff-0.15.22-py3-none-macosx_11_0_arm64.whl", hash = "sha256:11c1c715af53a09f714e011106bffc419751ec8232fcb5da42173284ea3fec6f", size = 10466716, upload-time = "2026-07-16T15:13:26.162Z" },
|
|
222
|
+
{ url = "https://files.pythonhosted.org/packages/1e/cc/44eaaf0844e028182f2d0a8f2190d0f359159aed0a9e5ab861d892f1ae2a/ruff-0.15.22-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:742a29cf29bddb7c8327895d6a10e0e6c5b38a96dd407af9b5d0857f809c0576", size = 10892644, upload-time = "2026-07-16T15:13:29.229Z" },
|
|
223
|
+
{ url = "https://files.pythonhosted.org/packages/9f/21/8edf559014d2b0f82beea19cfb713993ad802ccda16868769979c6090a84/ruff-0.15.22-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72af58b951b0ae395935ae79763dc349bc0eb706319d28f7a33ad2cfb3cfc178", size = 10576719, upload-time = "2026-07-16T15:13:32.35Z" },
|
|
224
|
+
{ url = "https://files.pythonhosted.org/packages/bf/1e/3a13abd392a3b50b62e5938a831f9ab6e588358cacad5c18545b716d2182/ruff-0.15.22-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62d425005c1835eb24e2ee4161cb90e8db263415f4a71c8c72c33abaa6c0c224", size = 11376494, upload-time = "2026-07-16T15:13:35.958Z" },
|
|
225
|
+
{ url = "https://files.pythonhosted.org/packages/bf/3e/422d3d95bcf04dd78e1aeac22184d4f9a8fb2c01865d39d44618484a0317/ruff-0.15.22-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e8b9b3f8779a4f08c969defc3c8c35abffaa757e601ed5ae66d6d1db6519969a", size = 12208370, upload-time = "2026-07-16T15:13:39.185Z" },
|
|
226
|
+
{ url = "https://files.pythonhosted.org/packages/1e/91/5d065a0e0a02bf4813f5119ad278462eed081d2b832eb7c021ade0ec9e65/ruff-0.15.22-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1e0dd1b2e4d3d585f897a0d137cbf4eaf6223bef4e8ce34d6bb12556c5f9249e", size = 11581098, upload-time = "2026-07-16T15:13:42.132Z" },
|
|
227
|
+
{ url = "https://files.pythonhosted.org/packages/f6/f9/a0d4871d12fae702eb1f41b686caf05f1f8b124dc6db6f784f53d74918fa/ruff-0.15.22-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:365523eb91d9224e1bcb03b022fbf0facb8f9e23792a2c53d9d4b3924bdbdebb", size = 11399422, upload-time = "2026-07-16T15:13:45.2Z" },
|
|
228
|
+
{ url = "https://files.pythonhosted.org/packages/18/80/c843a5176cddbceb0b7e8dd41cf9993490796c1c469348d384f5a5c13c56/ruff-0.15.22-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:fabfd168afdf29fee5be98b831efa9683c94d7c5a3b58b9ce5a2e38444589a74", size = 11381683, upload-time = "2026-07-16T15:13:48.46Z" },
|
|
229
|
+
{ url = "https://files.pythonhosted.org/packages/d4/00/8485de0ae92239438a36cfc51350db9b9e85c9ebdfaea91b18e422706662/ruff-0.15.22-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:225dbf095a87f1d9f90f5fd7924d2613ee452a75a4308c63a8f50f761787aa7c", size = 10850295, upload-time = "2026-07-16T15:13:51.655Z" },
|
|
230
|
+
{ url = "https://files.pythonhosted.org/packages/fa/91/24977ec2ec72eaf15e4394ace2959fdff2dd1e14f03e005e838023407169/ruff-0.15.22-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:1877d63b9d24ed278744f1523fd11b85540566d54641f97c566d7d9dc5ca5296", size = 10579640, upload-time = "2026-07-16T15:13:54.79Z" },
|
|
231
|
+
{ url = "https://files.pythonhosted.org/packages/9c/47/9b51216951974df1f263ac19da550d34252e0ed7218c25f10c5ef9ed7517/ruff-0.15.22-py3-none-musllinux_1_2_i686.whl", hash = "sha256:a1606c510bd7215680d32efab38965f7cdec3ef69f5170a3f4791404ffdd5262", size = 11105077, upload-time = "2026-07-16T15:13:57.915Z" },
|
|
232
|
+
{ url = "https://files.pythonhosted.org/packages/c2/47/20e9d4a3b8016778acea5fc32bb50d35d207500a17ddb529ffa6996feef8/ruff-0.15.22-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:630479b18625f5ffc373f77603a22a9f8ac0acd7ff0501178b5db28ec71e9c64", size = 11490980, upload-time = "2026-07-16T15:14:01.032Z" },
|
|
233
|
+
{ url = "https://files.pythonhosted.org/packages/4d/76/3f72d8fc38c1cb77b38c56a70da9d0c17700cc1cc50f9649c9d3c8f5ba71/ruff-0.15.22-py3-none-win32.whl", hash = "sha256:e5ba0e4a13fd14abbed2a77b517a3911290c6c6c59ef67784328d1668fab76cf", size = 10789165, upload-time = "2026-07-16T15:14:04.16Z" },
|
|
234
|
+
{ url = "https://files.pythonhosted.org/packages/cb/46/4965251734c2b6fcdca1b1b187d20bcac3af0ee5b083b89c910bb961ce3a/ruff-0.15.22-py3-none-win_amd64.whl", hash = "sha256:9be63ba1eb936acd2d1342fb8337c356353706fce233b2a15a09a97037e6acde", size = 11938297, upload-time = "2026-07-16T15:14:07.316Z" },
|
|
235
|
+
{ url = "https://files.pythonhosted.org/packages/57/c9/e69b1ff4c8b69093ef08b8919ab767af0569666865b39c30a8795d88d3c6/ruff-0.15.22-py3-none-win_arm64.whl", hash = "sha256:e1168075b72158510839f250027659cdd78476f40507dd517892304c41318661", size = 11298172, upload-time = "2026-07-16T15:14:10.51Z" },
|
|
236
|
+
]
|
|
237
|
+
|
|
238
|
+
[[package]]
|
|
239
|
+
name = "thresh-sdk"
|
|
240
|
+
version = "0.1.0"
|
|
241
|
+
source = { editable = "." }
|
|
242
|
+
dependencies = [
|
|
243
|
+
{ name = "httpx" },
|
|
244
|
+
]
|
|
245
|
+
|
|
246
|
+
[package.dev-dependencies]
|
|
247
|
+
dev = [
|
|
248
|
+
{ name = "pytest", version = "8.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" },
|
|
249
|
+
{ name = "pytest", version = "9.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" },
|
|
250
|
+
{ name = "ruff" },
|
|
251
|
+
]
|
|
252
|
+
|
|
253
|
+
[package.metadata]
|
|
254
|
+
requires-dist = [{ name = "httpx", specifier = ">=0.27" }]
|
|
255
|
+
|
|
256
|
+
[package.metadata.requires-dev]
|
|
257
|
+
dev = [
|
|
258
|
+
{ name = "pytest", specifier = ">=8.0" },
|
|
259
|
+
{ name = "ruff", specifier = ">=0.6" },
|
|
260
|
+
]
|
|
261
|
+
|
|
262
|
+
[[package]]
|
|
263
|
+
name = "tomli"
|
|
264
|
+
version = "2.4.1"
|
|
265
|
+
source = { registry = "https://pypi.org/simple" }
|
|
266
|
+
sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" }
|
|
267
|
+
wheels = [
|
|
268
|
+
{ url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" },
|
|
269
|
+
{ url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" },
|
|
270
|
+
{ url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" },
|
|
271
|
+
{ url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" },
|
|
272
|
+
{ url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" },
|
|
273
|
+
{ url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" },
|
|
274
|
+
{ url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" },
|
|
275
|
+
{ url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" },
|
|
276
|
+
{ url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" },
|
|
277
|
+
{ url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" },
|
|
278
|
+
{ url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" },
|
|
279
|
+
{ url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" },
|
|
280
|
+
{ url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" },
|
|
281
|
+
{ url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" },
|
|
282
|
+
{ url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" },
|
|
283
|
+
{ url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" },
|
|
284
|
+
{ url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" },
|
|
285
|
+
{ url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" },
|
|
286
|
+
{ url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" },
|
|
287
|
+
{ url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" },
|
|
288
|
+
{ url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" },
|
|
289
|
+
{ url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" },
|
|
290
|
+
{ url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" },
|
|
291
|
+
{ url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" },
|
|
292
|
+
{ url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" },
|
|
293
|
+
{ url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" },
|
|
294
|
+
{ url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" },
|
|
295
|
+
{ url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" },
|
|
296
|
+
{ url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" },
|
|
297
|
+
{ url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" },
|
|
298
|
+
{ url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" },
|
|
299
|
+
{ url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" },
|
|
300
|
+
{ url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" },
|
|
301
|
+
{ url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" },
|
|
302
|
+
{ url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" },
|
|
303
|
+
{ url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" },
|
|
304
|
+
{ url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" },
|
|
305
|
+
{ url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" },
|
|
306
|
+
{ url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" },
|
|
307
|
+
{ url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" },
|
|
308
|
+
{ url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" },
|
|
309
|
+
{ url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" },
|
|
310
|
+
{ url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" },
|
|
311
|
+
{ url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" },
|
|
312
|
+
{ url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" },
|
|
313
|
+
{ url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" },
|
|
314
|
+
]
|
|
315
|
+
|
|
316
|
+
[[package]]
|
|
317
|
+
name = "typing-extensions"
|
|
318
|
+
version = "4.16.0"
|
|
319
|
+
source = { registry = "https://pypi.org/simple" }
|
|
320
|
+
sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
|
|
321
|
+
wheels = [
|
|
322
|
+
{ url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
|
|
323
|
+
]
|