From 4ff3f8c405094767adccdb4e571c88b5b36ebbeb Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:25:55 +0200 Subject: [PATCH 01/11] fix: remove phantom WebhookHeader.EVENT member The event type lives in the request body (WebhookPayload.event), not in an HTTP header. Removes the never-sent EVENT enum member and its HEADER_EVENT alias. --- src/tic/constants.py | 10 ++++++---- src/tic/webhooks.py | 1 - tests/test_constants.py | 13 +++++++++++-- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/tic/constants.py b/src/tic/constants.py index 914025e..289e623 100644 --- a/src/tic/constants.py +++ b/src/tic/constants.py @@ -189,7 +189,12 @@ class WebhookEvent(StrEnum): class WebhookHeader(StrEnum): - """HTTP header names included in TIC Identity webhook requests.""" + """HTTP header names included in TIC Identity webhook requests. + + The event type is **not** in a header — it lives in the request + body's ``event`` field. Read it from :attr:`WebhookPayload.event` + after :func:`verify_signature`. + """ SIGNATURE = "X-Ormeo-Signature" """HMAC-SHA256 signature of the request body.""" @@ -197,9 +202,6 @@ class WebhookHeader(StrEnum): TIMESTAMP = "X-Ormeo-Timestamp" """Unix timestamp when the webhook was sent.""" - EVENT = "X-Ormeo-Event" - """The webhook event type (e.g. ``enrichment.completed``).""" - SESSION_ID = "X-Ormeo-Session-Id" """The session ID associated with the webhook.""" diff --git a/src/tic/webhooks.py b/src/tic/webhooks.py index 765cccb..bd7adbe 100644 --- a/src/tic/webhooks.py +++ b/src/tic/webhooks.py @@ -18,7 +18,6 @@ HEADER_SIGNATURE = WebhookHeader.SIGNATURE HEADER_TIMESTAMP = WebhookHeader.TIMESTAMP -HEADER_EVENT = WebhookHeader.EVENT HEADER_SESSION_ID = WebhookHeader.SESSION_ID diff --git a/tests/test_constants.py b/tests/test_constants.py index 3d71176..4499710 100644 --- a/tests/test_constants.py +++ b/tests/test_constants.py @@ -169,11 +169,20 @@ class TestWebhookHeader: def test_values(self): assert WebhookHeader.SIGNATURE == "X-Ormeo-Signature" assert WebhookHeader.TIMESTAMP == "X-Ormeo-Timestamp" - assert WebhookHeader.EVENT == "X-Ormeo-Event" assert WebhookHeader.SESSION_ID == "X-Ormeo-Session-Id" def test_member_count(self): - assert len(WebhookHeader) == 4 + # Only three headers sent on the wire; the event type lives in + # the request body, not a header. + assert len(WebhookHeader) == 3 + + def test_no_event_header(self): + """The event type is in the body, not a header. + + Read it from :attr:`WebhookPayload.event` after + :func:`verify_signature`. + """ + assert not hasattr(WebhookHeader, "EVENT") def test_usable_as_dict_key(self): headers = { From e25a103be1dec09f26003aa1e02360f00ce099c8 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:25:58 +0200 Subject: [PATCH 02/11] fix: freeze all pydantic models for immutability --- src/tic/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tic/models.py b/src/tic/models.py index aa31900..922f654 100644 --- a/src/tic/models.py +++ b/src/tic/models.py @@ -8,7 +8,7 @@ class CamelModel(BaseModel): - model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True) + model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True, frozen=True) def to_api(self) -> dict[str, Any]: return self.model_dump(by_alias=True, exclude_none=True) @@ -181,6 +181,8 @@ class AuthStatusResponse(CamelModel): class WebhookPayload(BaseModel): + model_config = ConfigDict(frozen=True) + event: str timestamp: datetime data: dict[str, Any] From 0aac6fe5195f14f7cd69c7522760acf2f472271b Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:26:03 +0200 Subject: [PATCH 03/11] fix: align enrichment models with .NET wire format Add _csharp_camel alias generator matching System.Text.Json's CamelCase policy. Fix PersonDetaljer_* aliases (server sends lowercase d). Add missing IpData and IpOverallRisk fields. --- src/tic/enrichment.py | 94 ++++++++++++++++++++++--- tests/test_enrichment.py | 147 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 224 insertions(+), 17 deletions(-) diff --git a/src/tic/enrichment.py b/src/tic/enrichment.py index 21c3019..d5b97af 100644 --- a/src/tic/enrichment.py +++ b/src/tic/enrichment.py @@ -4,12 +4,55 @@ from enum import StrEnum from typing import Annotated -from pydantic import BaseModel, BeforeValidator +from pydantic import BaseModel, BeforeValidator, ConfigDict, Field from .data import SigningAuthorityAnalysis from .models import CamelModel +def _csharp_camel(field_name: str) -> str: + """Match .NET's ``JsonNamingPolicy.CamelCase`` exactly. + + The TIC API server is .NET. System.Text.Json serialises property + names by lowercasing the leading run of uppercase letters, but + keeps the last uppercase before a lowercase letter as-is (the + standard Pascal-to-camel acronym rule). Examples observed on the + wire: + + * ``Person_IdNummer`` → ``person_IdNummer`` (single upper, then lower) + * ``Folkbokforingsadress_SvenskAdress_CareOf`` → ``folkbokforingsadress_SvenskAdress_CareOf`` + * ``AR_DEKL`` → ``ar_DEKL`` (all-upper run followed by underscore) + * ``INK_NRV_AKT_TOT`` → ``ink_NRV_AKT_TOT`` + * ``XMLDocument`` → ``xmlDocument`` (acronym rule kicks in at ``D``) + + Used for SPAR / Income field aliases — those models keep field + names matching SPAR / Skatteverket column conventions and don't + fit pure snake_case ↔ camelCase translation. + """ + if not field_name or not field_name[0].isupper(): + return field_name + + chars = list(field_name) + chars[0] = chars[0].lower() + + n = len(chars) + # If the next char isn't uppercase, we're done (e.g. "Person..."). + if n < 2 or not chars[1].isupper(): + return "".join(chars) + + # Consecutive uppercase letters at the start: lowercase them, but + # if the next-next char is a lowercase letter, stop one early + # (acronym rule: XMLDocument → xmlDocument, not xmldocument). + i = 1 + while i < n and chars[i].isupper(): + if i + 1 < n and chars[i + 1].isalpha() and not chars[i + 1].isupper(): + break + chars[i] = chars[i].lower() + i += 1 + + return "".join(chars) + + # --------------------------------------------------------------------------- # Enums # --------------------------------------------------------------------------- @@ -72,7 +115,11 @@ class EnrichmentTypesResponse(CamelModel): class SparData(BaseModel): - model_config = {"populate_by_name": True} + model_config = ConfigDict( + populate_by_name=True, + alias_generator=_csharp_camel, + frozen=True, + ) Person_IdNummer: str | None = None Person_PersonIdTyp: str | None = None @@ -80,7 +127,15 @@ class SparData(BaseModel): Skydd_Sekretessmarkering: bool | None = None Skydd_SkyddadFolkbokforing: bool | None = None - PersonDetaljer_Sekretessmarkering: bool | None = None + # The seven `PersonDetaljer_*` fields need explicit aliases — TIC's + # server-side C# property name is `Persondetaljer_*` (lowercase + # `d`), even though the public docs show `PersonDetaljer_*`. + # JsonNamingPolicy.CamelCase therefore emits `persondetaljer_*` on + # the wire, which doesn't match what `_csharp_camel("PersonDetaljer_*")` + # would produce (`personDetaljer_*`). + PersonDetaljer_Sekretessmarkering: bool | None = Field( + None, alias="persondetaljer_Sekretessmarkering", + ) Namn_Fornamn: str | None = None Namn_Mellannamn: str | None = None @@ -88,12 +143,22 @@ class SparData(BaseModel): Namn_Aviseringsnamn: str | None = None Namn_Tilltalsnamn: str | None = None - PersonDetaljer_Kon: str | None = None - PersonDetaljer_Fodelsedatum: str | None = None - PersonDetaljer_Avlidendatum: str | None = None - PersonDetaljer_Avregistreringsdatum: str | None = None - PersonDetaljer_AvregistreringsorsakKod: str | None = None - PersonDetaljer_AvregistreringsorsakBeskrivning: str | None = None + PersonDetaljer_Kon: str | None = Field(None, alias="persondetaljer_Kon") + PersonDetaljer_Fodelsedatum: str | None = Field( + None, alias="persondetaljer_Fodelsedatum", + ) + PersonDetaljer_Avlidendatum: str | None = Field( + None, alias="persondetaljer_Avlidendatum", + ) + PersonDetaljer_Avregistreringsdatum: str | None = Field( + None, alias="persondetaljer_Avregistreringsdatum", + ) + PersonDetaljer_AvregistreringsorsakKod: str | None = Field( + None, alias="persondetaljer_AvregistreringsorsakKod", + ) + PersonDetaljer_AvregistreringsorsakBeskrivning: str | None = Field( + None, alias="persondetaljer_AvregistreringsorsakBeskrivning", + ) Folkbokforing_FolkbokfordLanKod: str | None = None Folkbokforing_FolkbokfordKommunKod: str | None = None @@ -145,7 +210,11 @@ class PropertyOwnershipData(CamelModel): class IncomeData(BaseModel): - model_config = {"populate_by_name": True} + model_config = ConfigDict( + populate_by_name=True, + alias_generator=_csharp_camel, + frozen=True, + ) AR_DEKL: int | None = None INK_TJ: int | None = None @@ -171,16 +240,21 @@ class IpData(CamelModel): country_code: str | None = None country_name: str | None = None isp: str | None = None + domain: str | None = None usage_type: str | None = None confidence_score: int | None = None is_tor: bool = False is_likely_vpn: bool = False + is_whitelisted: bool = False + total_reports: int | None = None + distinct_reporters: int | None = None class IpOverallRisk(CamelModel): level: str score: int indicators: list[str] = [] + requires_review: bool = False class IpIntelligenceData(CamelModel): diff --git a/tests/test_enrichment.py b/tests/test_enrichment.py index b70da90..d269381 100644 --- a/tests/test_enrichment.py +++ b/tests/test_enrichment.py @@ -9,6 +9,7 @@ EnrichmentResponse, EnrichmentStatus, EnrichmentType, + IncomeData, SparData, ) @@ -123,18 +124,19 @@ def test_to_api_round_trip(self): class TestEnrichmentData: def test_from_api_with_spar(self): + # Wire format: .NET CamelCase lowercases first char only. data = { "personalNumber": "199001011234", "name": "Anna Svensson", "enrichedAtUtc": "2026-06-15T12:00:00Z", "spar": { - "Person_IdNummer": "199001011234", - "Person_PersonIdTyp": "PersonNummer", - "Namn_Fornamn": "Anna", - "Namn_Efternamn": "Svensson", - "Skydd_Sekretessmarkering": False, - "Folkbokforingsadress_SvenskAdress_PostNr": "11122", - "Folkbokforingsadress_SvenskAdress_Postort": "Stockholm", + "person_IdNummer": "199001011234", + "person_PersonIdTyp": "PersonNummer", + "namn_Fornamn": "Anna", + "namn_Efternamn": "Svensson", + "skydd_Sekretessmarkering": False, + "folkbokforingsadress_SvenskAdress_PostNr": "11122", + "folkbokforingsadress_SvenskAdress_Postort": "Stockholm", }, } enrichment = EnrichmentData.from_api(data) @@ -248,6 +250,54 @@ def test_from_api_with_ip_intelligence(self): assert ip.overall_risk.level == "low" assert ip.overall_risk.score == 10 + def test_from_api_with_full_wire_ip_intelligence(self): + """Wire response shape with full IpData / IpOverallRisk fields. + + Covers fields the public docs omit but the wire returns: + ``domain``, ``isWhitelisted``, ``totalReports``, + ``distinctReporters`` on IpData and ``requiresReview`` on + IpOverallRisk. Uses RFC 5737 TEST-NET-3 addresses and + documentation-only domains so no real values leak. + """ + data = { + "personalNumber": "199001011234", + "ipIntelligence": { + "deviceIp": { + "ipAddress": "203.0.113.42", + "countryCode": "SE", + "isp": "Example ISP", + "domain": "example.net", + "usageType": "Fixed Line ISP", + "confidenceScore": 0, + "isTor": False, + "isWhitelisted": False, + "totalReports": 0, + "distinctReporters": 0, + "isLikelyVpn": False, + }, + "overallRisk": { + "level": "low", + "score": 0, + "indicators": [], + "requiresReview": False, + }, + "enrichedAtUtc": "2026-06-15T12:00:00Z", + }, + } + enrichment = EnrichmentData.from_api(data) + assert enrichment.ip_intelligence is not None + device = enrichment.ip_intelligence.device_ip + assert device is not None + assert device.ip_address == "203.0.113.42" + assert device.domain == "example.net" + assert device.is_whitelisted is False + assert device.total_reports == 0 + assert device.distinct_reporters == 0 + assert device.usage_type == "Fixed Line ISP" + risk = enrichment.ip_intelligence.overall_risk + assert risk is not None + assert risk.requires_review is False + # --------------------------------------------------------------------------- # SparData @@ -273,3 +323,86 @@ def test_all_fields_default_to_none(self): assert spar.Namn_Fornamn is None assert spar.Namn_Efternamn is None assert spar.Folkbokforingsadress_SvenskAdress_PostNr is None + + def test_from_wire_format_camelcase_first(self): + """TIC's .NET server lowercases the first char only. + + Real responses look like ``person_IdNummer`` / + ``folkbokforingsadress_SvenskAdress_Postort`` — not the + PascalCase form shown in the public docs. + """ + wire_data = { + "person_IdNummer": "199001011234", + "person_PersonIdTyp": "PERSONNUMMER", + "skydd_Sekretessmarkering": False, + "skydd_SkyddadFolkbokforing": False, + # ``persondetaljer_*`` is lowercase-d on the wire because + # TIC's C# property is named ``Persondetaljer_*``. The seven + # PersonDetaljer fields need explicit aliases — without them + # they silently parse as None. + "persondetaljer_Sekretessmarkering": False, + "persondetaljer_Kon": "K", + "persondetaljer_Fodelsedatum": "1990-01-01T00:00:00", + "namn_Fornamn": "Anna", + "namn_Efternamn": "Andersson", + "namn_Tilltalsnamn": "Anna", + "folkbokforing_FolkbokfordLanKod": "01", + "folkbokforing_FolkbokfordKommunKod": "0180", + "folkbokforingsadress_SvenskAdress_Utdelningsadress1": "Storgatan 1", + "folkbokforingsadress_SvenskAdress_PostNr": "11122", + "folkbokforingsadress_SvenskAdress_Postort": "Stockholm", + } + spar = SparData.model_validate(wire_data) + assert spar.Person_IdNummer == "199001011234" + assert spar.Namn_Fornamn == "Anna" + assert spar.Namn_Efternamn == "Andersson" + assert spar.Skydd_Sekretessmarkering is False + assert spar.PersonDetaljer_Sekretessmarkering is False + assert spar.PersonDetaljer_Kon == "K" + assert spar.PersonDetaljer_Fodelsedatum == "1990-01-01T00:00:00" + assert spar.Folkbokforing_FolkbokfordLanKod == "01" + assert spar.Folkbokforingsadress_SvenskAdress_Utdelningsadress1 == "Storgatan 1" + assert spar.Folkbokforingsadress_SvenskAdress_PostNr == "11122" + assert spar.Folkbokforingsadress_SvenskAdress_Postort == "Stockholm" + + +# --------------------------------------------------------------------------- +# IncomeData +# --------------------------------------------------------------------------- + + +class TestIncomeData: + def test_from_wire_format_camelcase_first(self): + """Skatteverket field names lowercase only the first segment. + + Wire returns ``ar_DEKL`` / ``ink_TJ`` / ``oskott_KAP`` — not + the all-caps form shown in the docs. + """ + wire_data = { + "ar_DEKL": 2025, + "ink_TJ": 546401, + "ink_NRV_AKT_TOT": 33966, + "ink_NRV_PASS_TOT": 79109, + "usk_NRV_AKT_TOT": 0, + "usk_NRV_PASS_TOT": 0, + "avdr_SALLM": 14000, + "ink_TAX_FORV": 532401, + "ink_BESK_FORV": 464440, + "oskott_KAP": 6069, + "uskott_KAP": 0, + "sk_SLUT": 163920, + } + income = IncomeData.model_validate(wire_data) + assert income.AR_DEKL == 2025 + assert income.INK_TJ == 546401 + assert income.INK_NRV_AKT_TOT == 33966 + assert income.AVDR_SALLM == 14000 + assert income.INK_TAX_FORV == 532401 + assert income.OSKOTT_KAP == 6069 + assert income.SK_SLUT == 163920 + + def test_all_fields_default_to_none(self): + income = IncomeData.model_validate({}) + assert income.AR_DEKL is None + assert income.INK_TJ is None + assert income.SK_SLUT is None From 8e9f14ab62762cad091155979410ac759cc8efc7 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:26:07 +0200 Subject: [PATCH 04/11] test: pin webhook signature scheme Add TestSignatureScheme verifying the Stripe-style sha256= prefix and that bare hex digests are rejected. --- tests/test_webhooks.py | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/tests/test_webhooks.py b/tests/test_webhooks.py index 7323b07..885dad6 100644 --- a/tests/test_webhooks.py +++ b/tests/test_webhooks.py @@ -31,12 +31,16 @@ def _make_signature(payload: str, timestamp: str, secret: str = SECRET) -> str: - sign_payload = f"{timestamp}.{payload}" + """Build a TIC webhook signature. + + HMAC-SHA256 over ``f"{timestamp}.{payload}"``, hex digest, prefixed + with ``sha256=``. Stripe-style. + """ return ( "sha256=" + hmac.new( secret.encode("utf-8"), - sign_payload.encode("utf-8"), + f"{timestamp}.{payload}".encode("utf-8"), hashlib.sha256, ).hexdigest() ) @@ -47,6 +51,38 @@ def _make_signature(payload: str, timestamp: str, secret: str = SECRET) -> str: # --------------------------------------------------------------------------- +class TestSignatureScheme: + """Pins the TIC webhook signature scheme. + + Stripe-style: the ``X-Ormeo-Signature`` header is ``sha256=`` + where ```` is HMAC-SHA256 over ``f"{timestamp}.{body}"`` — + not the raw body alone. The public C# / JS samples only show the + HMAC computation step and don't make this composition clear. + """ + + def test_signature_is_stripe_style_with_timestamp_prefix(self): + body = b'{"event":"auth.completed","timestamp":"2026-06-15T12:00:00Z","data":{"sessionId":"x"}}' + secret = "whsec_x" + ts = str(int(time.time())) + + # The actual scheme: sha256= + HMAC(secret, f"{ts}.{body}") + msg = f"{ts}.{body.decode()}".encode() + digest = hmac.new(secret.encode(), msg, hashlib.sha256).hexdigest() + sig = f"sha256={digest}" + + result = verify_signature(body, ts, sig, secret) + assert isinstance(result, WebhookPayload) + + def test_plain_hex_without_prefix_rejected(self): + """A bare hex digest without ``sha256=`` is NOT TIC's format.""" + ts = str(int(time.time())) + # Compute the right HMAC but omit the prefix. + msg = f"{ts}.{SAMPLE_PAYLOAD}".encode() + bare_hex = hmac.new(SECRET.encode(), msg, hashlib.sha256).hexdigest() + with pytest.raises(TicWebhookError, match="Invalid signature"): + verify_signature(SAMPLE_PAYLOAD, ts, bare_hex, SECRET) + + class TestValidSignature: def test_valid_signature(self): ts = str(int(time.time())) @@ -99,6 +135,7 @@ def test_tampered_payload(self): verify_signature(tampered, ts, sig, SECRET) def test_tampered_timestamp(self): + """Timestamp is part of the HMAC input, so tampering breaks it.""" ts = str(int(time.time())) sig = _make_signature(SAMPLE_PAYLOAD, ts) wrong_ts = str(int(ts) + 1) From 0219479239dec10a0715478e99b836d8c04526d3 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:26:10 +0200 Subject: [PATCH 05/11] chore: export new enrichment and data models --- src/tic/__init__.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/tic/__init__.py b/src/tic/__init__.py index 4e3a036..2e2f57e 100644 --- a/src/tic/__init__.py +++ b/src/tic/__init__.py @@ -13,20 +13,36 @@ WebhookHeader, ) from .data import ( + Address, + BeneficialOwner, CompanyCreditData, CompanyCreditResponse, CompanyLookupData, CompanyLookupResponse, + EligiblePerson, + LastStatus, + RegisteredOffice, + Representative, + ResponseMetadata, SigningAuthorityAnalysis, + SigningAuthorityData, SigningAuthorityResponse, + SigningRule, + SniCode, ) from .enrichment import ( + CompanyRolesData, EnrichmentData, EnrichmentResponse, EnrichmentStatus, EnrichmentType, EnrichmentTypeInfo, EnrichmentTypesResponse, + IncomeData, + IpData, + IpIntelligenceData, + IpOverallRisk, + PropertyOwnershipData, SparData, ) from .exceptions import TicAPIError, TicError, TicHubError, TicWebhookError @@ -126,18 +142,34 @@ "hosted_login_url", "parse_callback", # Enrichment + "CompanyRolesData", "EnrichmentData", "EnrichmentResponse", "EnrichmentStatus", "EnrichmentType", "EnrichmentTypeInfo", "EnrichmentTypesResponse", + "IncomeData", + "IpData", + "IpIntelligenceData", + "IpOverallRisk", + "PropertyOwnershipData", "SparData", # Data Verification + "Address", + "BeneficialOwner", "CompanyCreditData", "CompanyCreditResponse", "CompanyLookupData", "CompanyLookupResponse", + "EligiblePerson", + "LastStatus", + "RegisteredOffice", + "Representative", + "ResponseMetadata", "SigningAuthorityAnalysis", + "SigningAuthorityData", "SigningAuthorityResponse", + "SigningRule", + "SniCode", ] From ad480624e2c4157ebab1f13c0bf48651a7b13eb9 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:35:02 +0200 Subject: [PATCH 06/11] chore: add mypy to dev dependencies --- pyproject.toml | 1 + uv.lock | 147 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 66faf9b..070c6c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,7 @@ dev = [ "pytest-asyncio>=0.24", "respx>=0.22", "ruff>=0.15", + "mypy>=1.15", ] [project.urls] diff --git a/uv.lock b/uv.lock index c948969..c3f95f9 100644 --- a/uv.lock +++ b/uv.lock @@ -1,6 +1,10 @@ version = 1 revision = 3 requires-python = ">=3.11" +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version < '3.15'", +] [[package]] name = "annotated-types" @@ -97,6 +101,138 @@ wheels = [ { 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" }, ] +[[package]] +name = "librt" +version = "0.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/eb/6b/3d5c13fb3e3c4f43206c8f9dfed13778c2ed4f000bacaa0b7ce3c402a265/librt-0.9.0.tar.gz", hash = "sha256:a0951822531e7aee6e0dfb556b30d5ee36bbe234faf60c20a16c01be3530869d", size = 184368, upload-time = "2026-04-09T16:06:26.173Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e2/1e/2ec7afcebcf3efea593d13aee18bbcfdd3a243043d848ebf385055e9f636/librt-0.9.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:90904fac73c478f4b83f4ed96c99c8208b75e6f9a8a1910548f69a00f1eaa671", size = 67155, upload-time = "2026-04-09T16:04:42.933Z" }, + { url = "https://files.pythonhosted.org/packages/18/77/72b85afd4435268338ad4ec6231b3da8c77363f212a0227c1ff3b45e4d35/librt-0.9.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:789fff71757facc0738e8d89e3b84e4f0251c1c975e85e81b152cdaca927cc2d", size = 69916, upload-time = "2026-04-09T16:04:44.042Z" }, + { url = "https://files.pythonhosted.org/packages/27/fb/948ea0204fbe2e78add6d46b48330e58d39897e425560674aee302dca81c/librt-0.9.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1bf465d1e5b0a27713862441f6467b5ab76385f4ecf8f1f3a44f8aa3c695b4b6", size = 199635, upload-time = "2026-04-09T16:04:45.5Z" }, + { url = "https://files.pythonhosted.org/packages/ac/cd/894a29e251b296a27957856804cfd21e93c194aa131de8bb8032021be07e/librt-0.9.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f819e0c6413e259a17a7c0d49f97f405abadd3c2a316a3b46c6440b7dbbedbb1", size = 211051, upload-time = "2026-04-09T16:04:47.016Z" }, + { url = "https://files.pythonhosted.org/packages/18/8f/dcaed0bc084a35f3721ff2d081158db569d2c57ea07d35623ddaca5cfc8e/librt-0.9.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e0785c2fb4a81e1aece366aa3e2e039f4a4d7d21aaaded5227d7f3c703427882", size = 224031, upload-time = "2026-04-09T16:04:48.207Z" }, + { url = "https://files.pythonhosted.org/packages/03/44/88f6c1ed1132cd418601cc041fbd92fed28b3a09f39de81978e0822d13ff/librt-0.9.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:80b25c7b570a86c03b5da69e665809deb39265476e8e21d96a9328f9762f9990", size = 218069, upload-time = "2026-04-09T16:04:50.025Z" }, + { url = "https://files.pythonhosted.org/packages/a3/90/7d02e981c2db12188d82b4410ff3e35bfdb844b26aecd02233626f46af2b/librt-0.9.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d4d16b608a1c43d7e33142099a75cd93af482dadce0bf82421e91cad077157f4", size = 224857, upload-time = "2026-04-09T16:04:51.684Z" }, + { url = "https://files.pythonhosted.org/packages/ef/c3/c77e706b7215ca32e928d47535cf13dbc3d25f096f84ddf8fbc06693e229/librt-0.9.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:194fc1a32e1e21fe809d38b5faea66cc65eaa00217c8901fbdb99866938adbdb", size = 219865, upload-time = "2026-04-09T16:04:52.949Z" }, + { url = "https://files.pythonhosted.org/packages/52/d1/32b0c1a0eb8461c70c11656c46a29f760b7c7edf3c36d6f102470c17170f/librt-0.9.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:8c6bc1384d9738781cfd41d09ad7f6e8af13cfea2c75ece6bd6d2566cdea2076", size = 218451, upload-time = "2026-04-09T16:04:54.174Z" }, + { url = "https://files.pythonhosted.org/packages/74/d1/adfd0f9c44761b1d49b1bec66173389834c33ee2bd3c7fd2e2367f1942d4/librt-0.9.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:15cb151e52a044f06e54ac7f7b47adbfc89b5c8e2b63e1175a9d587c43e8942a", size = 241300, upload-time = "2026-04-09T16:04:55.452Z" }, + { url = "https://files.pythonhosted.org/packages/09/b0/9074b64407712f0003c27f5b1d7655d1438979155f049720e8a1abd9b1a1/librt-0.9.0-cp311-cp311-win32.whl", hash = "sha256:f100bfe2acf8a3689af9d0cc660d89f17286c9c795f9f18f7b62dd1a6b247ae6", size = 55668, upload-time = "2026-04-09T16:04:56.689Z" }, + { url = "https://files.pythonhosted.org/packages/24/19/40b77b77ce80b9389fb03971431b09b6b913911c38d412059e0b3e2a9ef2/librt-0.9.0-cp311-cp311-win_amd64.whl", hash = "sha256:0b73e4266307e51c95e09c0750b7ec383c561d2e97d58e473f6f6a209952fbb8", size = 62976, upload-time = "2026-04-09T16:04:57.733Z" }, + { url = "https://files.pythonhosted.org/packages/70/9d/9fa7a64041e29035cb8c575af5f0e3840be1b97b4c4d9061e0713f171849/librt-0.9.0-cp311-cp311-win_arm64.whl", hash = "sha256:bc5518873822d2faa8ebdd2c1a4d7c8ef47b01a058495ab7924cb65bdbf5fc9a", size = 53502, upload-time = "2026-04-09T16:04:58.806Z" }, + { url = "https://files.pythonhosted.org/packages/bf/90/89ddba8e1c20b0922783cd93ed8e64f34dc05ab59c38a9c7e313632e20ff/librt-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9b3e3bc363f71bda1639a4ee593cb78f7fbfeacc73411ec0d4c92f00730010a4", size = 68332, upload-time = "2026-04-09T16:05:00.09Z" }, + { url = "https://files.pythonhosted.org/packages/a8/40/7aa4da1fb08bdeeb540cb07bfc8207cb32c5c41642f2594dbd0098a0662d/librt-0.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0a09c2f5869649101738653a9b7ab70cf045a1105ac66cbb8f4055e61df78f2d", size = 70581, upload-time = "2026-04-09T16:05:01.213Z" }, + { url = "https://files.pythonhosted.org/packages/48/ac/73a2187e1031041e93b7e3a25aae37aa6f13b838c550f7e0f06f66766212/librt-0.9.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5ca8e133d799c948db2ab1afc081c333a825b5540475164726dcbf73537e5c2f", size = 203984, upload-time = "2026-04-09T16:05:02.542Z" }, + { url = "https://files.pythonhosted.org/packages/5e/3d/23460d571e9cbddb405b017681df04c142fb1b04cbfce77c54b08e28b108/librt-0.9.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:603138ee838ee1583f1b960b62d5d0007845c5c423feb68e44648b1359014e27", size = 215762, upload-time = "2026-04-09T16:05:04.127Z" }, + { url = "https://files.pythonhosted.org/packages/de/1e/42dc7f8ab63e65b20640d058e63e97fd3e482c1edbda3570d813b4d0b927/librt-0.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f4003f70c56a5addd6aa0897f200dd59afd3bf7bcd5b3cce46dd21f925743bc2", size = 230288, upload-time = "2026-04-09T16:05:05.883Z" }, + { url = "https://files.pythonhosted.org/packages/dc/08/ca812b6d8259ad9ece703397f8ad5c03af5b5fedfce64279693d3ce4087c/librt-0.9.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:78042f6facfd98ecb25e9829c7e37cce23363d9d7c83bc5f72702c5059eb082b", size = 224103, upload-time = "2026-04-09T16:05:07.148Z" }, + { url = "https://files.pythonhosted.org/packages/b6/3f/620490fb2fa66ffd44e7f900254bc110ebec8dac6c1b7514d64662570e6f/librt-0.9.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a361c9434a64d70a7dbb771d1de302c0cc9f13c0bffe1cf7e642152814b35265", size = 232122, upload-time = "2026-04-09T16:05:08.386Z" }, + { url = "https://files.pythonhosted.org/packages/e9/83/12864700a1b6a8be458cf5d05db209b0d8e94ae281e7ec261dbe616597b4/librt-0.9.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:dd2c7e082b0b92e1baa4da28163a808672485617bc855cc22a2fd06978fa9084", size = 225045, upload-time = "2026-04-09T16:05:09.707Z" }, + { url = "https://files.pythonhosted.org/packages/fd/1b/845d339c29dc7dbc87a2e992a1ba8d28d25d0e0372f9a0a2ecebde298186/librt-0.9.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:7e6274fd33fc5b2a14d41c9119629d3ff395849d8bcbc80cf637d9e8d2034da8", size = 227372, upload-time = "2026-04-09T16:05:10.942Z" }, + { url = "https://files.pythonhosted.org/packages/8d/fe/277985610269d926a64c606f761d58d3db67b956dbbf40024921e95e7fcb/librt-0.9.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5093043afb226ecfa1400120d1ebd4442b4f99977783e4f4f7248879009b227f", size = 248224, upload-time = "2026-04-09T16:05:12.254Z" }, + { url = "https://files.pythonhosted.org/packages/92/1b/ee486d244b8de6b8b5dbaefabe6bfdd4a72e08f6353edf7d16d27114da8d/librt-0.9.0-cp312-cp312-win32.whl", hash = "sha256:9edcc35d1cae9fd5320171b1a838c7da8a5c968af31e82ecc3dff30b4be0957f", size = 55986, upload-time = "2026-04-09T16:05:13.529Z" }, + { url = "https://files.pythonhosted.org/packages/89/7a/ba1737012308c17dc6d5516143b5dce9a2c7ba3474afd54e11f44a4d1ef3/librt-0.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:3cc2917258e131ae5f958a4d872e07555b51cb7466a43433218061c74ef33745", size = 63260, upload-time = "2026-04-09T16:05:14.68Z" }, + { url = "https://files.pythonhosted.org/packages/36/e4/01752c113da15127f18f7bf11142f5640038f062407a611c059d0036c6aa/librt-0.9.0-cp312-cp312-win_arm64.whl", hash = "sha256:90e6d5420fc8a300518d4d2288154ff45005e920425c22cbbfe8330f3f754bd9", size = 53694, upload-time = "2026-04-09T16:05:16.095Z" }, + { url = "https://files.pythonhosted.org/packages/5f/d7/1b3e26fffde1452d82f5666164858a81c26ebe808e7ae8c9c88628981540/librt-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f29b68cd9714531672db62cc54f6e8ff981900f824d13fa0e00749189e13778e", size = 68367, upload-time = "2026-04-09T16:05:17.243Z" }, + { url = "https://files.pythonhosted.org/packages/a5/5b/c61b043ad2e091fbe1f2d35d14795e545d0b56b03edaa390fa1dcee3d160/librt-0.9.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7d5c8a5929ac325729f6119802070b561f4db793dffc45e9ac750992a4ed4d22", size = 70595, upload-time = "2026-04-09T16:05:18.471Z" }, + { url = "https://files.pythonhosted.org/packages/a3/22/2448471196d8a73370aa2f23445455dc42712c21404081fcd7a03b9e0749/librt-0.9.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:756775d25ec8345b837ab52effee3ad2f3b2dfd6bbee3e3f029c517bd5d8f05a", size = 204354, upload-time = "2026-04-09T16:05:19.593Z" }, + { url = "https://files.pythonhosted.org/packages/ac/5e/39fc4b153c78cfd2c8a2dcb32700f2d41d2312aa1050513183be4540930d/librt-0.9.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2b8f5d00b49818f4e2b1667db994488b045835e0ac16fe2f924f3871bd2b8ac5", size = 216238, upload-time = "2026-04-09T16:05:20.868Z" }, + { url = "https://files.pythonhosted.org/packages/d7/42/bc2d02d0fa7badfa63aa8d6dcd8793a9f7ef5a94396801684a51ed8d8287/librt-0.9.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c81aef782380f0f13ead670aae01825eb653b44b046aa0e5ebbb79f76ed4aa11", size = 230589, upload-time = "2026-04-09T16:05:22.305Z" }, + { url = "https://files.pythonhosted.org/packages/c8/7b/e2d95cc513866373692aa5edf98080d5602dd07cabfb9e5d2f70df2f25f7/librt-0.9.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:66b58fed90a545328e80d575467244de3741e088c1af928f0b489ebec3ef3858", size = 224610, upload-time = "2026-04-09T16:05:23.647Z" }, + { url = "https://files.pythonhosted.org/packages/31/d5/6cec4607e998eaba57564d06a1295c21b0a0c8de76e4e74d699e627bd98c/librt-0.9.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e78fb7419e07d98c2af4b8567b72b3eaf8cb05caad642e9963465569c8b2d87e", size = 232558, upload-time = "2026-04-09T16:05:25.025Z" }, + { url = "https://files.pythonhosted.org/packages/95/8c/27f1d8d3aaf079d3eb26439bf0b32f1482340c3552e324f7db9dca858671/librt-0.9.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:2c3786f0f4490a5cd87f1ed6cefae833ad6b1060d52044ce0434a2e85893afd0", size = 225521, upload-time = "2026-04-09T16:05:26.311Z" }, + { url = "https://files.pythonhosted.org/packages/6b/d8/1e0d43b1c329b416017619469b3c3801a25a6a4ef4a1c68332aeaa6f72ca/librt-0.9.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:8494cfc61e03542f2d381e71804990b3931175a29b9278fdb4a5459948778dc2", size = 227789, upload-time = "2026-04-09T16:05:27.624Z" }, + { url = "https://files.pythonhosted.org/packages/2c/b4/d3d842e88610fcd4c8eec7067b0c23ef2d7d3bff31496eded6a83b0f99be/librt-0.9.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:07cf11f769831186eeac424376e6189f20ace4f7263e2134bdb9757340d84d4d", size = 248616, upload-time = "2026-04-09T16:05:29.181Z" }, + { url = "https://files.pythonhosted.org/packages/ec/28/527df8ad0d1eb6c8bdfa82fc190f1f7c4cca5a1b6d7b36aeabf95b52d74d/librt-0.9.0-cp313-cp313-win32.whl", hash = "sha256:850d6d03177e52700af605fd60db7f37dcb89782049a149674d1a9649c2138fd", size = 56039, upload-time = "2026-04-09T16:05:30.709Z" }, + { url = "https://files.pythonhosted.org/packages/f3/a7/413652ad0d92273ee5e30c000fc494b361171177c83e57c060ecd3c21538/librt-0.9.0-cp313-cp313-win_amd64.whl", hash = "sha256:a5af136bfba820d592f86c67affcef9b3ff4d4360ac3255e341e964489b48519", size = 63264, upload-time = "2026-04-09T16:05:31.881Z" }, + { url = "https://files.pythonhosted.org/packages/a4/0a/92c244309b774e290ddb15e93363846ae7aa753d9586b8aad511c5e6145b/librt-0.9.0-cp313-cp313-win_arm64.whl", hash = "sha256:4c4d0440a3a8e31d962340c3e1cc3fc9ee7febd34c8d8f770d06adb947779ea5", size = 53728, upload-time = "2026-04-09T16:05:33.31Z" }, + { url = "https://files.pythonhosted.org/packages/cd/c1/184e539543f06ea2912f4b92a5ffaede4f9b392689e3f00acbf8134bee92/librt-0.9.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:3f05d145df35dca5056a8bc3838e940efebd893a54b3e19b2dda39ceaa299bcb", size = 67830, upload-time = "2026-04-09T16:05:34.517Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ad/23399bdcb7afca819acacdef31b37ee59de261bd66b503a7995c03c4b0dc/librt-0.9.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1c587494461ebd42229d0f1739f3aa34237dd9980623ecf1be8d3bcba79f4499", size = 70280, upload-time = "2026-04-09T16:05:35.649Z" }, + { url = "https://files.pythonhosted.org/packages/9f/0b/4542dc5a2b8772dbf92cafb9194701230157e73c14b017b6961a23598b03/librt-0.9.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b0a2040f801406b93657a70b72fa12311063a319fee72ce98e1524da7200171f", size = 201925, upload-time = "2026-04-09T16:05:36.739Z" }, + { url = "https://files.pythonhosted.org/packages/31/d4/8ee7358b08fd0cfce051ef96695380f09b3c2c11b77c9bfbc367c921cce5/librt-0.9.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f38bc489037eca88d6ebefc9c4d41a4e07c8e8b4de5188a9e6d290273ad7ebb1", size = 212381, upload-time = "2026-04-09T16:05:38.043Z" }, + { url = "https://files.pythonhosted.org/packages/f2/94/a2025fe442abedf8b038038dab3dba942009ad42b38ea064a1a9e6094241/librt-0.9.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3fd278f5e6bf7c75ccd6d12344eb686cc020712683363b66f46ac79d37c799f", size = 227065, upload-time = "2026-04-09T16:05:39.394Z" }, + { url = "https://files.pythonhosted.org/packages/7c/e9/b9fcf6afa909f957cfbbf918802f9dada1bd5d3c1da43d722fd6a310dc3f/librt-0.9.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fcbdf2a9ca24e87bbebb47f1fe34e531ef06f104f98c9ccfc953a3f3344c567a", size = 221333, upload-time = "2026-04-09T16:05:40.999Z" }, + { url = "https://files.pythonhosted.org/packages/ac/7c/ba54cd6aa6a3c8cd12757a6870e0c79a64b1e6327f5248dcff98423f4d43/librt-0.9.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e306d956cfa027fe041585f02a1602c32bfa6bb8ebea4899d373383295a6c62f", size = 229051, upload-time = "2026-04-09T16:05:42.605Z" }, + { url = "https://files.pythonhosted.org/packages/4b/4b/8cfdbad314c8677a0148bf0b70591d6d18587f9884d930276098a235461b/librt-0.9.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:465814ab157986acb9dfa5ccd7df944be5eefc0d08d31ec6e8d88bc71251d845", size = 222492, upload-time = "2026-04-09T16:05:43.842Z" }, + { url = "https://files.pythonhosted.org/packages/1f/d1/2eda69563a1a88706808decdce035e4b32755dbfbb0d05e1a65db9547ed1/librt-0.9.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:703f4ae36d6240bfe24f542bac784c7e4194ec49c3ba5a994d02891649e2d85b", size = 223849, upload-time = "2026-04-09T16:05:45.054Z" }, + { url = "https://files.pythonhosted.org/packages/04/44/b2ed37df6be5b3d42cfe36318e0598e80843d5c6308dd63d0bf4e0ce5028/librt-0.9.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3be322a15ee5e70b93b7a59cfd074614f22cc8c9ff18bd27f474e79137ea8d3b", size = 245001, upload-time = "2026-04-09T16:05:46.34Z" }, + { url = "https://files.pythonhosted.org/packages/47/e7/617e412426df89169dd2a9ed0cc8752d5763336252c65dbf945199915119/librt-0.9.0-cp314-cp314-win32.whl", hash = "sha256:b8da9f8035bb417770b1e1610526d87ad4fc58a2804dc4d79c53f6d2cf5a6eb9", size = 51799, upload-time = "2026-04-09T16:05:47.738Z" }, + { url = "https://files.pythonhosted.org/packages/24/ed/c22ca4db0ca3cbc285e4d9206108746beda561a9792289c3c31281d7e9df/librt-0.9.0-cp314-cp314-win_amd64.whl", hash = "sha256:b8bd70d5d816566a580d193326912f4a76ec2d28a97dc4cd4cc831c0af8e330e", size = 59165, upload-time = "2026-04-09T16:05:49.198Z" }, + { url = "https://files.pythonhosted.org/packages/24/56/875398fafa4cbc8f15b89366fc3287304ddd3314d861f182a4b87595ace0/librt-0.9.0-cp314-cp314-win_arm64.whl", hash = "sha256:fc5758e2b7a56532dc33e3c544d78cbaa9ecf0a0f2a2da2df882c1d6b99a317f", size = 49292, upload-time = "2026-04-09T16:05:50.362Z" }, + { url = "https://files.pythonhosted.org/packages/4c/61/bc448ecbf9b2d69c5cff88fe41496b19ab2a1cbda0065e47d4d0d51c0867/librt-0.9.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:f24b90b0e0c8cc9491fb1693ae91fe17cb7963153a1946395acdbdd5818429a4", size = 70175, upload-time = "2026-04-09T16:05:51.564Z" }, + { url = "https://files.pythonhosted.org/packages/60/f2/c47bb71069a73e2f04e70acbd196c1e5cc411578ac99039a224b98920fd4/librt-0.9.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3fe56e80badb66fdcde06bef81bbaa5bfcf6fbd7aefb86222d9e369c38c6b228", size = 72951, upload-time = "2026-04-09T16:05:52.699Z" }, + { url = "https://files.pythonhosted.org/packages/29/19/0549df59060631732df758e8886d92088da5fdbedb35b80e4643664e8412/librt-0.9.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:527b5b820b47a09e09829051452bb0d1dd2122261254e2a6f674d12f1d793d54", size = 225864, upload-time = "2026-04-09T16:05:53.895Z" }, + { url = "https://files.pythonhosted.org/packages/9d/f8/3b144396d302ac08e50f89e64452c38db84bc7b23f6c60479c5d3abd303c/librt-0.9.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7d429bdd4ac0ab17c8e4a8af0ed2a7440b16eba474909ab357131018fe8c7e71", size = 241155, upload-time = "2026-04-09T16:05:55.191Z" }, + { url = "https://files.pythonhosted.org/packages/7a/ce/ee67ec14581de4043e61d05786d2aed6c9b5338816b7859bcf07455c6a9f/librt-0.9.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7202bdcac47d3a708271c4304a474a8605a4a9a4a709e954bf2d3241140aa938", size = 252235, upload-time = "2026-04-09T16:05:56.549Z" }, + { url = "https://files.pythonhosted.org/packages/8a/fa/0ead15daa2b293a54101550b08d4bafe387b7d4a9fc6d2b985602bae69b6/librt-0.9.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c0d620e74897f8c2613b3c4e2e9c1e422eb46d2ddd07df540784d44117836af3", size = 244963, upload-time = "2026-04-09T16:05:57.858Z" }, + { url = "https://files.pythonhosted.org/packages/29/68/9fbf9a9aa704ba87689e40017e720aced8d9a4d2b46b82451d8142f91ec9/librt-0.9.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d69fc39e627908f4c03297d5a88d9284b73f4d90b424461e32e8c2485e21c283", size = 257364, upload-time = "2026-04-09T16:05:59.686Z" }, + { url = "https://files.pythonhosted.org/packages/1a/8d/9d60869f1b6716c762e45f66ed945b1e5dd649f7377684c3b176ae424648/librt-0.9.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:c2640e23d2b7c98796f123ffd95cf2022c7777aa8a4a3b98b36c570d37e85eee", size = 247661, upload-time = "2026-04-09T16:06:00.938Z" }, + { url = "https://files.pythonhosted.org/packages/70/ff/a5c365093962310bfdb4f6af256f191085078ffb529b3f0cbebb5b33ebe2/librt-0.9.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:451daa98463b7695b0a30aa56bf637831ea559e7b8101ac2ef6382e8eb15e29c", size = 248238, upload-time = "2026-04-09T16:06:02.537Z" }, + { url = "https://files.pythonhosted.org/packages/a0/3c/2d34365177f412c9e19c0a29f969d70f5343f27634b76b765a54d8b27705/librt-0.9.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:928bd06eca2c2bbf4349e5b817f837509b0604342e65a502de1d50a7570afd15", size = 269457, upload-time = "2026-04-09T16:06:03.833Z" }, + { url = "https://files.pythonhosted.org/packages/bc/cd/de45b239ea3bdf626f982a00c14bfcf2e12d261c510ba7db62c5969a27cd/librt-0.9.0-cp314-cp314t-win32.whl", hash = "sha256:a9c63e04d003bc0fb6a03b348018b9a3002f98268200e22cc80f146beac5dc40", size = 52453, upload-time = "2026-04-09T16:06:05.229Z" }, + { url = "https://files.pythonhosted.org/packages/7f/f9/bfb32ae428aa75c0c533915622176f0a17d6da7b72b5a3c6363685914f70/librt-0.9.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f162af66a2ed3f7d1d161a82ca584efd15acd9c1cff190a373458c32f7d42118", size = 60044, upload-time = "2026-04-09T16:06:06.398Z" }, + { url = "https://files.pythonhosted.org/packages/aa/47/7d70414bcdbb3bc1f458a8d10558f00bbfdb24e5a11740fc8197e12c3255/librt-0.9.0-cp314-cp314t-win_arm64.whl", hash = "sha256:a4b25c6c25cac5d0d9d6d6da855195b254e0021e513e0249f0e3b444dc6e0e61", size = 50009, upload-time = "2026-04-09T16:06:07.995Z" }, +] + +[[package]] +name = "mypy" +version = "1.20.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "librt", marker = "platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions" }, + { name = "pathspec" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/04/af/e3d4b3e9ec91a0ff9aabfdb38692952acf49bbb899c2e4c29acb3a6da3ae/mypy-1.20.2.tar.gz", hash = "sha256:e8222c26daaafd9e8626dec58ae36029f82585890589576f769a650dd20fd665", size = 3817349, upload-time = "2026-04-21T17:12:28.473Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1f/4d/9ebeae211caccbdaddde7ed5e31dfcf57faac66be9b11deb1dc6526c8078/mypy-1.20.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4077797a273e56e8843d001e9dfe4ba10e33323d6ade647ff260e5cd97d9758c", size = 14371307, upload-time = "2026-04-21T17:08:56.442Z" }, + { url = "https://files.pythonhosted.org/packages/95/d7/93473d34b61f04fac1aecc01368485c89c5c4af7a4b9a0cab5d77d04b63f/mypy-1.20.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:cdecf62abcc4292500d7858aeae87a1f8f1150f4c4dd08fb0b336ee79b2a6df3", size = 13258917, upload-time = "2026-04-21T17:05:50.978Z" }, + { url = "https://files.pythonhosted.org/packages/e2/30/3dd903e8bafb7b5f7bf87fcd58f8382086dea2aa19f0a7b357f21f63071b/mypy-1.20.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c566c3a88b6ece59b3d70f65bedef17304f48eb52ff040a6a18214e1917b3254", size = 13700516, upload-time = "2026-04-21T17:11:33.161Z" }, + { url = "https://files.pythonhosted.org/packages/07/05/c61a140aba4c729ac7bc99ae26fc627c78a6e08f5b9dd319244ea71a3d7e/mypy-1.20.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0deb80d062b2479f2c87ae568f89845afc71d11bc41b04179e58165fd9f31e98", size = 14562889, upload-time = "2026-04-21T17:05:27.674Z" }, + { url = "https://files.pythonhosted.org/packages/fd/87/da78243742ffa8a36d98c3010f0d829f93d5da4e6786f1a1a6f2ad616502/mypy-1.20.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bba9ad231e92a3e424b3e56b65aa17704993425bba97e302c832f9466bb85bac", size = 14803844, upload-time = "2026-04-21T17:10:06.2Z" }, + { url = "https://files.pythonhosted.org/packages/37/52/10a1ddf91b40f843943a3c6db51e2df59c9e237f29d355e95eaab427461f/mypy-1.20.2-cp311-cp311-win_amd64.whl", hash = "sha256:baf593f2765fa3a6b1ef95807dbaa3d25b594f6a52adcc506a6b9cb115e1be67", size = 10846300, upload-time = "2026-04-21T17:12:23.886Z" }, + { url = "https://files.pythonhosted.org/packages/20/02/f9a4415b664c53bd34d6709be59da303abcae986dc4ac847b402edb6fa1e/mypy-1.20.2-cp311-cp311-win_arm64.whl", hash = "sha256:20175a1c0f49863946ec20b7f63255768058ac4f07d2b9ded6a6b46cfb5a9100", size = 9779498, upload-time = "2026-04-21T17:09:23.695Z" }, + { url = "https://files.pythonhosted.org/packages/71/4e/7560e4528db9e9b147e4c0f22660466bf30a0a1fe3d63d1b9d3b0fd354ee/mypy-1.20.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4dbfcf869f6b0517f70cf0030ba6ea1d6645e132337a7d5204a18d8d5636c02b", size = 14539393, upload-time = "2026-04-21T17:07:12.52Z" }, + { url = "https://files.pythonhosted.org/packages/32/d9/34a5efed8124f5a9234f55ac6a4ced4201e2c5b81e1109c49ad23190ec8c/mypy-1.20.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4b6481b228d072315b053210b01ac320e1be243dc17f9e5887ef167f23f5fae4", size = 13361642, upload-time = "2026-04-21T17:06:53.742Z" }, + { url = "https://files.pythonhosted.org/packages/d1/14/eb377acf78c03c92d566a1510cda8137348215b5335085ef662ab82ecd3a/mypy-1.20.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:34397cdced6b90b836e38182076049fdb41424322e0b0728c946b0939ebdf9f6", size = 13740347, upload-time = "2026-04-21T17:12:04.73Z" }, + { url = "https://files.pythonhosted.org/packages/b9/94/7e4634a32b641aa1c112422eed1bbece61ee16205f674190e8b536f884de/mypy-1.20.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a5da6976f20cae27059ea8d0c86e7cef3de720e04c4bb9ee18e3690fdb792066", size = 14734042, upload-time = "2026-04-21T17:07:43.16Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f3/f7e62395cb7f434541b4491a01149a4439e28ace4c0c632bbf5431e92d1f/mypy-1.20.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:56908d7e08318d39f85b1f0c6cfd47b0cac1a130da677630dac0de3e0623e102", size = 14964958, upload-time = "2026-04-21T17:11:00.665Z" }, + { url = "https://files.pythonhosted.org/packages/3e/0d/47e3c3a0ec2a876e35aeac365df3cac7776c36bbd4ed18cc521e1b9d255b/mypy-1.20.2-cp312-cp312-win_amd64.whl", hash = "sha256:d52ad8d78522da1d308789df651ee5379088e77c76cb1994858d40a426b343b9", size = 10911340, upload-time = "2026-04-21T17:10:49.179Z" }, + { url = "https://files.pythonhosted.org/packages/d6/b2/6c852d72e0ea8b01f49da817fb52539993cde327e7d010e0103dc12d0dac/mypy-1.20.2-cp312-cp312-win_arm64.whl", hash = "sha256:785b08db19c9f214dc37d65f7c165d19a30fcecb48abfa30f31b01b5acaabb58", size = 9833947, upload-time = "2026-04-21T17:09:05.267Z" }, + { url = "https://files.pythonhosted.org/packages/5b/c4/b93812d3a192c9bcf5df405bd2f30277cd0e48106a14d1023c7f6ed6e39b/mypy-1.20.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:edfbfca868cdd6bd8d974a60f8a3682f5565d3f5c99b327640cedd24c4264026", size = 14524670, upload-time = "2026-04-21T17:10:30.737Z" }, + { url = "https://files.pythonhosted.org/packages/f3/47/42c122501bff18eaf1e8f457f5c017933452d8acdc52918a9f59f6812955/mypy-1.20.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e2877a02380adfcdbc69071a0f74d6e9dbbf593c0dc9d174e1f223ffd5281943", size = 13336218, upload-time = "2026-04-21T17:08:44.069Z" }, + { url = "https://files.pythonhosted.org/packages/92/8f/75bbc92f41725fbd585fb17b440b1119b576105df1013622983e18640a93/mypy-1.20.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7488448de6007cd5177c6cea0517ac33b4c0f5ee9b5e9f2be51ce75511a85517", size = 13724906, upload-time = "2026-04-21T17:08:01.02Z" }, + { url = "https://files.pythonhosted.org/packages/a1/32/4c49da27a606167391ff0c39aa955707a00edc500572e562f7c36c08a71f/mypy-1.20.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bb9c2fa06887e21d6a3a868762acb82aec34e2c6fd0174064f27c93ede68ad15", size = 14726046, upload-time = "2026-04-21T17:11:22.354Z" }, + { url = "https://files.pythonhosted.org/packages/7f/fc/4e354a1bd70216359deb0c9c54847ee6b32ef78dfb09f5131ff99b494078/mypy-1.20.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9d56a78b646f2e3daa865bc70cd5ec5a46c50045801ca8ff17a0c43abc97e3ee", size = 14955587, upload-time = "2026-04-21T17:12:16.033Z" }, + { url = "https://files.pythonhosted.org/packages/62/b2/c0f2056e9eb8f08c62cafd9715e4584b89132bdc832fcf85d27d07b5f3e5/mypy-1.20.2-cp313-cp313-win_amd64.whl", hash = "sha256:2a4102b03bb7481d9a91a6da8d174740c9c8c4401024684b9ca3b7cc5e49852f", size = 10922681, upload-time = "2026-04-21T17:06:35.842Z" }, + { url = "https://files.pythonhosted.org/packages/e5/14/065e333721f05de8ef683d0aa804c23026bcc287446b61cac657b902ccac/mypy-1.20.2-cp313-cp313-win_arm64.whl", hash = "sha256:a95a9248b0c6fd933a442c03c3b113c3b61320086b88e2c444676d3fd1ca3330", size = 9830560, upload-time = "2026-04-21T17:07:51.023Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d1/b4ec96b0ecc620a4443570c6e95c867903428cfcde4206518eafdd5880c3/mypy-1.20.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:419413398fe250aae057fd2fe50166b61077083c9b82754c341cf4fd73038f30", size = 14524561, upload-time = "2026-04-21T17:06:27.325Z" }, + { url = "https://files.pythonhosted.org/packages/3a/63/d2c2ff4fa66bc49477d32dfa26e8a167ba803ea6a69c5efb416036909d30/mypy-1.20.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e73c07f23009962885c197ccb9b41356a30cc0e5a1d0c2ea8fd8fb1362d7f924", size = 13363883, upload-time = "2026-04-21T17:11:11.239Z" }, + { url = "https://files.pythonhosted.org/packages/2a/56/983916806bf4eddeaaa2c9230903c3669c6718552a921154e1c5182c701f/mypy-1.20.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0c64e5973df366b747646fc98da921f9d6eba9716d57d1db94a83c026a08e0fb", size = 13742945, upload-time = "2026-04-21T17:08:34.181Z" }, + { url = "https://files.pythonhosted.org/packages/19/65/0cd9285ab010ee8214c83d67c6b49417c40d86ce46f1aa109457b5a9b8d7/mypy-1.20.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a65aa591af023864fd08a97da9974e919452cfe19cb146c8a5dc692626445dc", size = 14706163, upload-time = "2026-04-21T17:05:15.51Z" }, + { url = "https://files.pythonhosted.org/packages/94/97/48ff3b297cafcc94d185243a9190836fb1b01c1b0918fff64e941e973cc9/mypy-1.20.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4fef51b01e638974a6e69885687e9bd40c8d1e09a6cd291cca0619625cf1f558", size = 14938677, upload-time = "2026-04-21T17:05:39.562Z" }, + { url = "https://files.pythonhosted.org/packages/fd/a1/1b4233d255bdd0b38a1f284feeb1c143ca508c19184964e22f8d837ec851/mypy-1.20.2-cp314-cp314-win_amd64.whl", hash = "sha256:913485a03f1bcf5d279409a9d2b9ed565c151f61c09f29991e5faa14033da4c8", size = 11089322, upload-time = "2026-04-21T17:06:44.29Z" }, + { url = "https://files.pythonhosted.org/packages/78/c2/ce7ee2ba36aeb954ba50f18fa25d9c1188578654b97d02a66a15b6f09531/mypy-1.20.2-cp314-cp314-win_arm64.whl", hash = "sha256:c3bae4f855d965b5453784300c12ffc63a548304ac7f99e55d4dc7c898673aa3", size = 10017775, upload-time = "2026-04-21T17:07:20.732Z" }, + { url = "https://files.pythonhosted.org/packages/4e/a1/9d93a7d0b5859af0ead82b4888b46df6c8797e1bc5e1e262a08518c6d48e/mypy-1.20.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:2de3dcea53babc1c3237a19002bc3d228ce1833278f093b8d619e06e7cc79609", size = 15549002, upload-time = "2026-04-21T17:08:23.107Z" }, + { url = "https://files.pythonhosted.org/packages/00/d2/09a6a10ee1bf0008f6c144d9676f2ca6a12512151b4e0ad0ff6c4fac5337/mypy-1.20.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:52b176444e2e5054dfcbcb8c75b0b719865c96247b37407184bbfca5c353f2c2", size = 14401942, upload-time = "2026-04-21T17:07:31.837Z" }, + { url = "https://files.pythonhosted.org/packages/57/da/9594b75c3c019e805250bed3583bdf4443ff9e6ef08f97e39ae308cb06f2/mypy-1.20.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:688c3312e5dadb573a2c69c82af3a298d43ecf9e6d264e0f95df960b5f6ac19c", size = 15041649, upload-time = "2026-04-21T17:09:34.653Z" }, + { url = "https://files.pythonhosted.org/packages/97/77/f75a65c278e6e8eba2071f7f5a90481891053ecc39878cc444634d892abe/mypy-1.20.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29752dbbf8cc53f89f6ac096d363314333045c257c9c75cbd189ca2de0455744", size = 15864588, upload-time = "2026-04-21T17:11:44.936Z" }, + { url = "https://files.pythonhosted.org/packages/d7/46/1a4e1c66e96c1a3246ddf5403d122ac9b0a8d2b7e65730b9d6533ba7a6d3/mypy-1.20.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:803203d2b6ea644982c644895c2f78b28d0e208bba7b27d9b921e0ec5eb207c6", size = 16093956, upload-time = "2026-04-21T17:10:17.683Z" }, + { url = "https://files.pythonhosted.org/packages/5a/2c/78a8851264dec38cd736ca5b8bc9380674df0dd0be7792f538916157716c/mypy-1.20.2-cp314-cp314t-win_amd64.whl", hash = "sha256:9bcb8aa397ff0093c824182fd76a935a9ba7ad097fcbef80ae89bf6c1731d8ec", size = 12568661, upload-time = "2026-04-21T17:11:54.473Z" }, + { url = "https://files.pythonhosted.org/packages/83/01/cd7318aa03493322ce275a0e14f4f52b8896335e4e79d4fb8153a7ad2b77/mypy-1.20.2-cp314-cp314t-win_arm64.whl", hash = "sha256:e061b58443f1736f8a37c48978d7ab581636d6ab03e3d4f99e3fa90463bb9382", size = 10389240, upload-time = "2026-04-21T17:09:42.719Z" }, + { url = "https://files.pythonhosted.org/packages/28/9a/f23c163e25b11074188251b0b5a0342625fc1cdb6af604757174fa9acc9b/mypy-1.20.2-py3-none-any.whl", hash = "sha256:a94c5a76ab46c5e6257c7972b6c8cff0574201ca7dc05647e33e795d78680563", size = 2637314, upload-time = "2026-04-21T17:05:54.5Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, +] + [[package]] name = "packaging" version = "26.1" @@ -106,6 +242,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/7a/c2/920ef838e2f0028c8262f16101ec09ebd5969864e5a64c4c05fad0617c56/packaging-26.1-py3-none-any.whl", hash = "sha256:5d9c0669c6285e491e0ced2eee587eaf67b670d94a19e94e3984a481aba6802f", size = 95831, upload-time = "2026-04-14T21:12:47.56Z" }, ] +[[package]] +name = "pathspec" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2e/17/9c3094b822982b9f1ea666d8580ce59000f61f87c1663556fb72031ad9ec/pathspec-1.1.0.tar.gz", hash = "sha256:f5d7c555da02fd8dde3e4a2354b6aba817a89112fa8f333f7917a2a4834dd080", size = 133918, upload-time = "2026-04-23T01:46:22.298Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/c9/8eed0486f074e9f1ca7f8ce5ad663e65f12fdab344028d658fa1b03d35e0/pathspec-1.1.0-py3-none-any.whl", hash = "sha256:574b128f7456bd899045ccd142dd446af7e6cfd0072d63ad73fbc55fbb4aaa42", size = 56264, upload-time = "2026-04-23T01:46:20.606Z" }, +] + [[package]] name = "pluggy" version = "1.6.0" @@ -319,6 +464,7 @@ dependencies = [ [package.optional-dependencies] dev = [ + { name = "mypy" }, { name = "pytest" }, { name = "pytest-asyncio" }, { name = "respx" }, @@ -328,6 +474,7 @@ dev = [ [package.metadata] requires-dist = [ { name = "httpx", specifier = ">=0.27" }, + { name = "mypy", marker = "extra == 'dev'", specifier = ">=1.15" }, { name = "pydantic", specifier = ">=2.0" }, { name = "pytest", marker = "extra == 'dev'", specifier = ">=8.0" }, { name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.24" }, From 6962cbbf7148c7653e092d084ba4f76a24dfa650 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:35:06 +0200 Subject: [PATCH 07/11] ci: add type checking, build verification, and PyPI publish workflow --- .github/workflows/ci.yml | 19 +++++++++++++++++++ .github/workflows/publish.yml | 18 ++++++++++++++++++ .gitignore | 1 + 3 files changed, 38 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9968497..2c90641 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,14 @@ jobs: - run: uv run ruff check src/ tests/ - run: uv run ruff format --check src/ tests/ + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v6 + - run: uv sync --extra dev + - run: uv run mypy src/ + test: runs-on: ubuntu-latest strategy: @@ -28,3 +36,14 @@ jobs: python-version: ${{ matrix.python-version }} - run: uv sync --extra dev - run: uv run pytest tests/ -q + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v6 + - run: uv build + - uses: actions/upload-artifact@v4 + with: + name: dist + path: dist/ diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..6bc8b39 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,18 @@ +name: Publish to PyPI + +on: + release: + types: [published] + +permissions: + id-token: write + +jobs: + publish: + runs-on: ubuntu-latest + environment: pypi + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v6 + - run: uv build + - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.gitignore b/.gitignore index 11d7130..3ddc09f 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ build/ .mypy_cache/ .ruff_cache/ .claude/ +.coverage From 5ce3cc7ca5f9fe63b59a59b5f24f9fe7d04d1909 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:45:24 +0200 Subject: [PATCH 08/11] chore: trim verbose comments in enrichment and webhook tests --- src/tic/enrichment.py | 7 +------ tests/test_webhooks.py | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/tic/enrichment.py b/src/tic/enrichment.py index d5b97af..62c1952 100644 --- a/src/tic/enrichment.py +++ b/src/tic/enrichment.py @@ -127,12 +127,7 @@ class SparData(BaseModel): Skydd_Sekretessmarkering: bool | None = None Skydd_SkyddadFolkbokforing: bool | None = None - # The seven `PersonDetaljer_*` fields need explicit aliases — TIC's - # server-side C# property name is `Persondetaljer_*` (lowercase - # `d`), even though the public docs show `PersonDetaljer_*`. - # JsonNamingPolicy.CamelCase therefore emits `persondetaljer_*` on - # the wire, which doesn't match what `_csharp_camel("PersonDetaljer_*")` - # would produce (`personDetaljer_*`). + # Wire sends lowercase `persondetaljer_*`, not `personDetaljer_*` PersonDetaljer_Sekretessmarkering: bool | None = Field( None, alias="persondetaljer_Sekretessmarkering", ) diff --git a/tests/test_webhooks.py b/tests/test_webhooks.py index 885dad6..21f9c67 100644 --- a/tests/test_webhooks.py +++ b/tests/test_webhooks.py @@ -65,7 +65,6 @@ def test_signature_is_stripe_style_with_timestamp_prefix(self): secret = "whsec_x" ts = str(int(time.time())) - # The actual scheme: sha256= + HMAC(secret, f"{ts}.{body}") msg = f"{ts}.{body.decode()}".encode() digest = hmac.new(secret.encode(), msg, hashlib.sha256).hexdigest() sig = f"sha256={digest}" From cb7e7a4a725934a489affb75c4a21d5e38dee2be Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:45:28 +0200 Subject: [PATCH 09/11] refactor: use EnrichmentType union in start_enrichment signature --- src/tic/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tic/client.py b/src/tic/client.py index ad76ea0..8f33278 100644 --- a/src/tic/client.py +++ b/src/tic/client.py @@ -14,6 +14,7 @@ from .enrichment import ( EnrichmentData, EnrichmentResponse, + EnrichmentType, EnrichmentTypesResponse, ) from .exceptions import TicAPIError @@ -233,7 +234,7 @@ async def get_messages(self, language: str = "sv") -> MessagesResponse: async def start_enrichment( self, session_id: str, - types: list[str], + types: list[EnrichmentType | str], *, webhook_url: str | None = None, state: str | None = None, From edc93592dd83f8414ea0fee4e95bee4d3a16b871 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:47:14 +0200 Subject: [PATCH 10/11] chore: bump version to 0.2.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 070c6c4..4afb351 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "tic-identity-python" -version = "0.2.0" +version = "0.2.1" description = "Unofficial Python client for TIC Identity (id.tic.io) — BankID authentication and digital signing" readme = "README.md" requires-python = ">=3.11" From 4d740b67a17bc7e67e0ef8ccbdddc04153f19742 Mon Sep 17 00:00:00 2001 From: Liam Lenholm Date: Sun, 26 Apr 2026 14:48:34 +0200 Subject: [PATCH 11/11] style: apply ruff formatting to enrichment and models --- src/tic/enrichment.py | 18 ++++++++++++------ src/tic/models.py | 4 +++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/tic/enrichment.py b/src/tic/enrichment.py index 62c1952..92308ac 100644 --- a/src/tic/enrichment.py +++ b/src/tic/enrichment.py @@ -129,7 +129,8 @@ class SparData(BaseModel): Skydd_SkyddadFolkbokforing: bool | None = None # Wire sends lowercase `persondetaljer_*`, not `personDetaljer_*` PersonDetaljer_Sekretessmarkering: bool | None = Field( - None, alias="persondetaljer_Sekretessmarkering", + None, + alias="persondetaljer_Sekretessmarkering", ) Namn_Fornamn: str | None = None @@ -140,19 +141,24 @@ class SparData(BaseModel): PersonDetaljer_Kon: str | None = Field(None, alias="persondetaljer_Kon") PersonDetaljer_Fodelsedatum: str | None = Field( - None, alias="persondetaljer_Fodelsedatum", + None, + alias="persondetaljer_Fodelsedatum", ) PersonDetaljer_Avlidendatum: str | None = Field( - None, alias="persondetaljer_Avlidendatum", + None, + alias="persondetaljer_Avlidendatum", ) PersonDetaljer_Avregistreringsdatum: str | None = Field( - None, alias="persondetaljer_Avregistreringsdatum", + None, + alias="persondetaljer_Avregistreringsdatum", ) PersonDetaljer_AvregistreringsorsakKod: str | None = Field( - None, alias="persondetaljer_AvregistreringsorsakKod", + None, + alias="persondetaljer_AvregistreringsorsakKod", ) PersonDetaljer_AvregistreringsorsakBeskrivning: str | None = Field( - None, alias="persondetaljer_AvregistreringsorsakBeskrivning", + None, + alias="persondetaljer_AvregistreringsorsakBeskrivning", ) Folkbokforing_FolkbokfordLanKod: str | None = None diff --git a/src/tic/models.py b/src/tic/models.py index 922f654..258633b 100644 --- a/src/tic/models.py +++ b/src/tic/models.py @@ -8,7 +8,9 @@ class CamelModel(BaseModel): - model_config = ConfigDict(alias_generator=to_camel, populate_by_name=True, frozen=True) + model_config = ConfigDict( + alias_generator=to_camel, populate_by_name=True, frozen=True + ) def to_api(self) -> dict[str, Any]: return self.model_dump(by_alias=True, exclude_none=True)