From 5f77f6810032d6ca7a48aa11bddecb50b68561e1 Mon Sep 17 00:00:00 2001 From: hungtran24 Date: Fri, 25 Sep 2026 09:55:25 +0700 Subject: [PATCH] feat: add Lead Scoring v2 backend and contract --- Dockerfile.backend | 22 + alembic.ini | 47 +- contracts/lead-scoring/v2/contract.json | 1 + .../lead-scoring/v2/fixtures/run-request.json | 51 + .../tenant-key-provision-response.json | 1 + contracts/lead-scoring/v2/openapi.json | 1 + migrations/env.py | 48 + migrations/versions/0001_platform_v2.py | 70 ++ migrations/versions/0002_ai_result_fields.py | 21 + migrations/versions/0003_ai_evidence.py | 15 + pyproject.toml | 62 +- pyrightconfig.json | 7 + scripts/seed_demo.py | 155 +++ src/ai_platform/bootstrap/app.py | 54 + src/ai_platform/cli.py | 69 ++ src/ai_platform/infrastructure/aihub.py | 199 +++ .../infrastructure/config/settings.py | 60 + .../infrastructure/persistence/database.py | 21 + .../infrastructure/persistence/models.py | 76 ++ src/ai_platform/infrastructure/scoring.py | 194 +++ src/ai_platform/infrastructure/security.py | 5 + .../lead_scoring/application/scoring.py | 14 + .../lead_scoring/domain/scoring.py | 202 +++ src/ai_platform/main.py | 3 + .../presentation/http/admin_routes.py | 156 +++ .../presentation/http/dependencies.py | 6 + src/ai_platform/presentation/http/routes.py | 199 +++ .../presentation/http/rule_schemas.py | 128 ++ .../presentation/http/run_responses.py | 96 ++ src/ai_platform/presentation/http/schemas.py | 147 +++ tests/conftest.py | 213 +++- tests/fixtures/mock_omni_run.json | 52 + tests/test_aihub_adapter.py | 118 ++ tests/test_aihub_echo_safety.py | 39 + tests/test_aihub_scoring_integration.py | 193 +++ tests/test_aihub_scoring_success.py | 171 +++ tests/test_aihub_settings.py | 43 + tests/test_aihub_two_pass.py | 119 ++ tests/test_api_surface.py | 132 ++ tests/test_derived_metrics.py | 185 +++ tests/test_domain_scoring.py | 144 +++ tests/test_mock_lead_scoring_flow.py | 197 +++ tests/test_rule_validation.py | 91 ++ tests/test_run_contract.py | 20 + tests/test_security_primitives.py | 16 + tests/test_seed_demo.py | 179 +++ tests/test_seed_demo_persistence.py | 107 ++ tests/test_snapshot_contract.py | 149 +++ uv.lock | 1104 +++++++++-------- 49 files changed, 4750 insertions(+), 652 deletions(-) create mode 100644 Dockerfile.backend create mode 100644 contracts/lead-scoring/v2/contract.json create mode 100644 contracts/lead-scoring/v2/fixtures/run-request.json create mode 100644 contracts/lead-scoring/v2/fixtures/tenant-key-provision-response.json create mode 100644 contracts/lead-scoring/v2/openapi.json create mode 100644 migrations/env.py create mode 100644 migrations/versions/0001_platform_v2.py create mode 100644 migrations/versions/0002_ai_result_fields.py create mode 100644 migrations/versions/0003_ai_evidence.py create mode 100644 pyrightconfig.json create mode 100644 scripts/seed_demo.py create mode 100644 src/ai_platform/bootstrap/app.py create mode 100644 src/ai_platform/cli.py create mode 100644 src/ai_platform/infrastructure/aihub.py create mode 100644 src/ai_platform/infrastructure/config/settings.py create mode 100644 src/ai_platform/infrastructure/persistence/database.py create mode 100644 src/ai_platform/infrastructure/persistence/models.py create mode 100644 src/ai_platform/infrastructure/scoring.py create mode 100644 src/ai_platform/infrastructure/security.py create mode 100644 src/ai_platform/lead_scoring/application/scoring.py create mode 100644 src/ai_platform/lead_scoring/domain/scoring.py create mode 100644 src/ai_platform/main.py create mode 100644 src/ai_platform/presentation/http/admin_routes.py create mode 100644 src/ai_platform/presentation/http/dependencies.py create mode 100644 src/ai_platform/presentation/http/routes.py create mode 100644 src/ai_platform/presentation/http/rule_schemas.py create mode 100644 src/ai_platform/presentation/http/run_responses.py create mode 100644 src/ai_platform/presentation/http/schemas.py create mode 100644 tests/fixtures/mock_omni_run.json create mode 100644 tests/test_aihub_adapter.py create mode 100644 tests/test_aihub_echo_safety.py create mode 100644 tests/test_aihub_scoring_integration.py create mode 100644 tests/test_aihub_scoring_success.py create mode 100644 tests/test_aihub_settings.py create mode 100644 tests/test_aihub_two_pass.py create mode 100644 tests/test_api_surface.py create mode 100644 tests/test_derived_metrics.py create mode 100644 tests/test_domain_scoring.py create mode 100644 tests/test_mock_lead_scoring_flow.py create mode 100644 tests/test_rule_validation.py create mode 100644 tests/test_run_contract.py create mode 100644 tests/test_security_primitives.py create mode 100644 tests/test_seed_demo.py create mode 100644 tests/test_seed_demo_persistence.py create mode 100644 tests/test_snapshot_contract.py diff --git a/Dockerfile.backend b/Dockerfile.backend new file mode 100644 index 0000000..c7f4cce --- /dev/null +++ b/Dockerfile.backend @@ -0,0 +1,22 @@ +# syntax=docker/dockerfile:1 +FROM python:3.13-slim AS runtime + +ENV PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + UV_LINK_MODE=copy \ + PATH="/app/.venv/bin:$PATH" + +WORKDIR /app +COPY --from=ghcr.io/astral-sh/uv:0.12.2 /uv /uvx /bin/ +COPY pyproject.toml uv.lock ./ +COPY src ./src +COPY alembic.ini ./alembic.ini +COPY migrations ./migrations + +RUN uv sync --locked --no-dev \ + && useradd --create-home --uid 10001 appuser \ + && chown -R appuser:appuser /app + +USER appuser +EXPOSE 8000 +CMD ["uvicorn", "ai_platform.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "1"] diff --git a/alembic.ini b/alembic.ini index 39c4734..b67d61c 100644 --- a/alembic.ini +++ b/alembic.ini @@ -1,49 +1,8 @@ -# A generic, single database configuration. - [alembic] -# path to migration scripts -script_location = %(here)s/alembic +script_location = migrations +prepend_sys_path = . +sqlalchemy.url = postgresql://postgres:postgres@localhost/ai_platform -# template used to generate migration file names; The default value is %%(rev)s_%%(slug)s -# file_template = %%(rev)s_%%(slug)s - -# sys.path path, will be prepended to sys.path if present. -prepend_sys_path = %(here)s -path_separator = os - -# timezone to use when rendering the date within the migration file -# as well as the filename. -# string value is passed to dateutil.tz.gettz() -# leave blank for localtime -# timezone = - -# max length of characters to apply to the -# "slug" field -# truncate_slug_length = 40 - -# set to 'true' to run the environment during -# the 'revision' command, regardless of autogenerate -# revision_environment = false - -# set to 'true' to allow .pyc and .pyo files without -# a source .py file to be detected as revisions in the -# versions/ directory -# sourceless = false - -# version location specification; This defaults -# to alembic/versions. When using multiple version -# directories, initial revisions must be specified with --version-path. -# The path separator used here should be the separator specified by "version_path_separator" -# version_locations = %(here)s/bar:%(here)s/bat:alembic/versions - -# version path separator -version_path_separator = os - -# the output encoding used when revision files -# are written from script.py.mako -# output_encoding = utf-8 - -# Logging configuration [loggers] keys = root,sqlalchemy,alembic diff --git a/contracts/lead-scoring/v2/contract.json b/contracts/lead-scoring/v2/contract.json new file mode 100644 index 0000000..a25e243 --- /dev/null +++ b/contracts/lead-scoring/v2/contract.json @@ -0,0 +1 @@ +{"version":"2.0.0","status":"implementation draft; generated OpenAPI not yet available","fixtures":["fixtures/run-request.json","fixtures/tenant-key-provision-response.json"],"idempotency":{"identity":"request_id in body, scoped to authenticated tenant","fingerprint":"SHA-256 of sorted-key compact JSON request body","same_body":"return existing run without scheduling another task","changed_body":"409 Conflict"},"auth":{"tenant":"Authorization: Bearer tenant key","aihub":"X-Tenant-VKey header on POST only; in-memory task input; AIHub integration disabled pending verified protocol","admin_login":{"method":"POST","path":"/v1/admin/login","body":{"email":"admin@example.test","password":"string"},"success":{"email":"admin@example.test","csrf_token":"opaque-token","expires_in":28800},"cookie":"ai_platform_session; HttpOnly; SameSite=Lax; Path=/; Secure in production"}},"scoring_request":{"required":["request_id","subject_ref","snapshot","scoring_config","ai_profile"],"scoring_config":{"required":["version","rules","rule_weight","ai_weight"],"weights_sum_to":1}},"run_status":["pending","running","completed","failed"]} diff --git a/contracts/lead-scoring/v2/fixtures/run-request.json b/contracts/lead-scoring/v2/fixtures/run-request.json new file mode 100644 index 0000000..620152e --- /dev/null +++ b/contracts/lead-scoring/v2/fixtures/run-request.json @@ -0,0 +1,51 @@ +{ + "request_id": "f81c7c4e-a92a-4b19-8d7a-3a5c08eb4e6e", + "subject_ref": "ems-lead-123", + "snapshot": { + "captured_at": "2025-09-25T10:00:00Z", + "lead_profile": { + "ems_lead_id": "ems-lead-123", + "custom_fields": { + "inquiry_type": "course_dates", + "region": "north" + } + }, + "conversations": [ + { + "conversation_id": "conversation-456", + "channel": "webchat", + "assigned_agent_id": "agent-12", + "messages": [ + { + "message_id": "message-789", + "sender_type": "contact", + "content": "I would like to know the available course dates.", + "sent_at": "2025-09-24T09:30:00Z" + } + ] + } + ] + }, + "scoring_config": { + "version": "omni-config-17", + "rules": [ + { + "id": "asked-course-dates", + "field": "custom_fields.inquiry_type", + "operator": "eq", + "value": "course_dates", + "points": 35 + }, + { + "id": "north-region", + "field": "custom_fields.region", + "operator": "eq", + "value": "north", + "points": 15 + } + ], + "rule_weight": 1.0, + "ai_weight": 0.0 + }, + "ai_profile": "light" +} diff --git a/contracts/lead-scoring/v2/fixtures/tenant-key-provision-response.json b/contracts/lead-scoring/v2/fixtures/tenant-key-provision-response.json new file mode 100644 index 0000000..a811fab --- /dev/null +++ b/contracts/lead-scoring/v2/fixtures/tenant-key-provision-response.json @@ -0,0 +1 @@ +{"tenant_id":"acme","tenant_key":"tnt_","note":"Provision response example only; never use a real credential in this fixture."} diff --git a/contracts/lead-scoring/v2/openapi.json b/contracts/lead-scoring/v2/openapi.json new file mode 100644 index 0000000..9b2cf57 --- /dev/null +++ b/contracts/lead-scoring/v2/openapi.json @@ -0,0 +1 @@ +{"openapi":"3.1.0","info":{"title":"AI Platform API","version":"2.0.0"},"paths":{"/health/live":{"get":{"summary":"Live","operationId":"live_health_live_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health/ready":{"get":{"summary":"Ready","operationId":"ready_health_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/platform/tenant-keys":{"post":{"summary":"Provision Key","operationId":"provision_key_v1_platform_tenant_keys_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lead-scoring/runs":{"post":{"summary":"Create Run","operationId":"create_run_v1_lead_scoring_runs_post","parameters":[{"name":"X-Tenant-VKey","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Tenant-Vkey"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunSummary"}}}},"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunSummary"}}},"description":"OK"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/lead-scoring/runs/{run_id}":{"get":{"summary":"Get Run","operationId":"get_run_v1_lead_scoring_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/login":{"post":{"summary":"Login","operationId":"login_v1_admin_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/me":{"get":{"summary":"Me","operationId":"me_v1_admin_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/logout":{"post":{"summary":"Logout","operationId":"logout_v1_admin_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/ai-profiles":{"get":{"summary":"List Profiles","operationId":"list_profiles_v1_admin_ai_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Create Profile","operationId":"create_profile_v1_admin_ai_profiles_put","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIProfileInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/runs":{"get":{"summary":"List Runs","operationId":"list_runs_v1_admin_runs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunList"}}}}}}},"/v1/admin/runs/{run_id}":{"get":{"summary":"Admin Run","operationId":"admin_run_v1_admin_runs__run_id__get","parameters":[{"name":"run_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AIProfileInput":{"properties":{"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"model":{"type":"string","maxLength":128,"minLength":1,"title":"Model"},"system_prompt":{"type":"string","maxLength":8000,"minLength":1,"title":"System Prompt"},"timeout_seconds":{"type":"integer","maximum":120.0,"minimum":1.0,"title":"Timeout Seconds"},"limits":{"additionalProperties":{"type":"integer"},"type":"object","title":"Limits"}},"additionalProperties":false,"type":"object","required":["version","model","system_prompt","timeout_seconds"],"title":"AIProfileInput"},"AdminLoginRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":1024,"minLength":1,"title":"Password"}},"additionalProperties":false,"type":"object","required":["email","password"],"title":"AdminLoginRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LeadScoringSnapshot":{"properties":{"version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Version"},"scope":{"anyOf":[{"type":"string","enum":["trigger_only","linked_contact_history","multi_source_history"]},{"type":"null"}],"title":"Scope"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"lead_profile":{"$ref":"#/components/schemas/SnapshotLeadProfile"},"conversations":{"items":{"$ref":"#/components/schemas/SnapshotConversation"},"type":"array","maxItems":10,"title":"Conversations"},"identity_context":{"anyOf":[{"$ref":"#/components/schemas/SnapshotIdentityContext"},{"type":"null"}]},"trigger_metadata":{"anyOf":[{"$ref":"#/components/schemas/SnapshotTriggerMetadata"},{"type":"null"}]},"truncation":{"anyOf":[{"$ref":"#/components/schemas/SnapshotTruncation"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["captured_at","lead_profile"],"title":"LeadScoringSnapshot","description":"Bounded HTTP representation of Omni's captured lead evidence."},"RuleInput":{"properties":{"id":{"type":"string","maxLength":64,"minLength":1,"title":"Id"},"field":{"type":"string","maxLength":128,"minLength":1,"title":"Field"},"operator":{"type":"string","enum":["eq","ne","gt","gte","lt","lte","contains","exists"],"title":"Operator"},"value":{"title":"Value"},"points":{"type":"integer","maximum":100.0,"minimum":-100.0,"title":"Points"}},"additionalProperties":false,"type":"object","required":["id","field","operator","points"],"title":"RuleInput"},"RunDetail":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"status":{"type":"string","enum":["pending","running","completed","failed"],"title":"Status"},"profile_version":{"type":"string","title":"Profile Version"},"rule_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rule Score"},"ai_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ai Score"},"final_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Final Score"},"degraded":{"type":"boolean","title":"Degraded"},"result_mode":{"anyOf":[{"type":"string","enum":["rules_only","rules_only_fallback","hybrid"]},{"type":"null"}],"title":"Result Mode"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"breakdown":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Breakdown"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"snapshot":{"$ref":"#/components/schemas/LeadScoringSnapshot"},"metrics":{"$ref":"#/components/schemas/RunMetrics"},"ai_confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Ai Confidence"},"ai_reasoning":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Ai Reasoning"},"ai_evidence":{"anyOf":[{"items":{"$ref":"#/components/schemas/RunEvidenceItem"},"type":"array","maxItems":20},{"type":"null"}],"title":"Ai Evidence"}},"additionalProperties":false,"type":"object","required":["run_id","request_id","tenant_id","status","profile_version","rule_score","ai_score","final_score","degraded","result_mode","error_code","breakdown","created_at","completed_at","snapshot","metrics","ai_confidence","ai_reasoning"],"title":"RunDetail","description":"Scoring result, metrics, extracted evidence, and bounded snapshot."},"RunEvidenceItem":{"properties":{"signal":{"type":"string","maxLength":80,"minLength":1,"title":"Signal"},"detail":{"type":"string","maxLength":500,"minLength":1,"title":"Detail"},"source":{"type":"string","maxLength":120,"minLength":1,"title":"Source"}},"additionalProperties":false,"type":"object","required":["signal","detail","source"],"title":"RunEvidenceItem"},"RunList":{"properties":{"runs":{"items":{"$ref":"#/components/schemas/RunSummary"},"type":"array","title":"Runs"}},"additionalProperties":false,"type":"object","required":["runs"],"title":"RunList"},"RunMetrics":{"properties":{"profile_field_count":{"type":"integer","minimum":0.0,"title":"Profile Field Count","description":"Count of non-null name, phone, email, and status fields."},"conversation_count":{"type":"integer","minimum":0.0,"title":"Conversation Count"},"message_count":{"type":"integer","minimum":0.0,"title":"Message Count"},"contact_message_count":{"type":"integer","minimum":0.0,"title":"Contact Message Count"},"customer_message_count":{"type":"integer","minimum":0.0,"title":"Customer Message Count","description":"Compatibility alias for contact_message_count."},"conversation_turn_count":{"type":"integer","minimum":0.0,"title":"Conversation Turn Count","description":"Consecutive sender groups after ordering conversation messages by sent_at."},"contact_started_conversation_count":{"type":"integer","minimum":0.0,"title":"Contact Started Conversation Count","description":"Count of non-empty conversations whose earliest valid sent_at message is from contact; equal message timestamps retain message snapshot order."},"contact_message_recency_days":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Contact Message Recency Days"},"contact_message_recency_hours":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Contact Message Recency Hours","description":"Hours from the newest contact message with a valid sent_at to captured_at, clamped to zero and rounded to two decimal places; null when either timestamp is unavailable."},"customer_initiated_return":{"type":"boolean","title":"Customer Initiated Return","description":"True only when more than one non-empty conversation has a valid message sent_at and at least one conversation after the first starts with a contact message. Conversations are ordered by earliest valid message sent_at, with equal start times retaining original snapshot position. A conversation starts with the sender of its earliest valid message; equal message timestamps retain message snapshot order. Empty conversations are ignored."}},"additionalProperties":false,"type":"object","required":["profile_field_count","conversation_count","message_count","contact_message_count","customer_message_count","conversation_turn_count","contact_started_conversation_count","contact_message_recency_hours","customer_initiated_return"],"title":"RunMetrics"},"RunRequest":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"subject_ref":{"type":"string","maxLength":255,"minLength":1,"title":"Subject Ref"},"snapshot":{"$ref":"#/components/schemas/LeadScoringSnapshot"},"scoring_config":{"$ref":"#/components/schemas/ScoringConfigurationInput"},"ai_profile":{"type":"string","enum":["light","medium","heavy"],"title":"Ai Profile"}},"additionalProperties":false,"type":"object","required":["request_id","subject_ref","snapshot","scoring_config","ai_profile"],"title":"RunRequest"},"RunSummary":{"properties":{"run_id":{"type":"string","format":"uuid","title":"Run Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"tenant_id":{"type":"string","title":"Tenant Id"},"status":{"type":"string","enum":["pending","running","completed","failed"],"title":"Status"},"profile_version":{"type":"string","title":"Profile Version"},"rule_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rule Score"},"ai_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ai Score"},"final_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Final Score"},"degraded":{"type":"boolean","title":"Degraded"},"result_mode":{"anyOf":[{"type":"string","enum":["rules_only","rules_only_fallback","hybrid"]},{"type":"null"}],"title":"Result Mode"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"breakdown":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Breakdown"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"}},"additionalProperties":false,"type":"object","required":["run_id","request_id","tenant_id","status","profile_version","rule_score","ai_score","final_score","degraded","result_mode","error_code","breakdown","created_at","completed_at"],"title":"RunSummary","description":"Scoring outcome fields returned without the stored snapshot."},"ScoringConfigurationInput":{"properties":{"version":{"type":"string","maxLength":64,"minLength":1,"title":"Version"},"rules":{"items":{"$ref":"#/components/schemas/RuleInput"},"type":"array","maxItems":100,"title":"Rules"},"rule_weight":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Rule Weight"},"ai_weight":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Ai Weight"}},"additionalProperties":false,"type":"object","required":["version","rules","rule_weight","ai_weight"],"title":"ScoringConfigurationInput"},"SnapshotConversation":{"properties":{"conversation_id":{"type":"string","maxLength":255,"minLength":1,"title":"Conversation Id"},"channel":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Channel"},"assigned_agent_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Assigned Agent Id"},"messages":{"items":{"$ref":"#/components/schemas/SnapshotMessage"},"type":"array","title":"Messages"}},"additionalProperties":false,"type":"object","required":["conversation_id"],"title":"SnapshotConversation"},"SnapshotIdentityContext":{"properties":{"match_quality":{"anyOf":[{"type":"string","enum":["direct","phone_and_email","phone_and_name","phone_only"]},{"type":"null"}],"title":"Match Quality"},"contact_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Contact Id"},"details":{"additionalProperties":true,"type":"object","title":"Details"}},"additionalProperties":false,"type":"object","title":"SnapshotIdentityContext"},"SnapshotLeadProfile":{"properties":{"ems_lead_id":{"type":"string","maxLength":255,"minLength":1,"title":"Ems Lead Id"},"name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Name"},"phone":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Email"},"status":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Status"},"custom_fields":{"additionalProperties":true,"type":"object","title":"Custom Fields"}},"additionalProperties":false,"type":"object","required":["ems_lead_id"],"title":"SnapshotLeadProfile"},"SnapshotMessage":{"properties":{"message_id":{"type":"string","maxLength":255,"minLength":1,"title":"Message Id"},"sender_type":{"type":"string","enum":["contact","agent","bot"],"title":"Sender Type"},"content":{"type":"string","minLength":1,"title":"Content"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"}},"additionalProperties":false,"type":"object","required":["message_id","sender_type","content","sent_at"],"title":"SnapshotMessage"},"SnapshotTriggerMetadata":{"properties":{"trigger_type":{"anyOf":[{"type":"string","enum":["manual_omni","captain_tool","dev_console"]},{"type":"null"}],"title":"Trigger Type"},"trigger_conversation_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Trigger Conversation Id"},"actor_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Actor Id"}},"additionalProperties":false,"type":"object","title":"SnapshotTriggerMetadata"},"SnapshotTruncation":{"properties":{"truncated":{"type":"boolean","title":"Truncated","default":false},"dropped_conversations_count":{"type":"integer","minimum":0.0,"title":"Dropped Conversations Count","default":0},"dropped_messages_count":{"type":"integer","minimum":0.0,"title":"Dropped Messages Count","default":0},"reason":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","title":"SnapshotTruncation"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}} diff --git a/migrations/env.py b/migrations/env.py new file mode 100644 index 0000000..54a9482 --- /dev/null +++ b/migrations/env.py @@ -0,0 +1,48 @@ +from logging.config import fileConfig + +from alembic import context +from sqlalchemy import pool +from sqlalchemy.ext.asyncio import async_engine_from_config + +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence import models # noqa: F401 +from ai_platform.infrastructure.persistence.database import Base + +config = context.config +if config.config_file_name: + fileConfig(config.config_file_name) +target_metadata = Base.metadata + + +def run_migrations_offline() -> None: + context.configure( + url=Settings.load().database_url, + target_metadata=target_metadata, + literal_binds=True, + dialect_opts={"paramstyle": "named"}, + ) + with context.begin_transaction(): + context.run_migrations() + + +def run_migrations(connection) -> None: + context.configure(connection=connection, target_metadata=target_metadata) + with context.begin_transaction(): + context.run_migrations() + + +async def run_migrations_online() -> None: + section = config.get_section(config.config_ini_section) or {} + section["sqlalchemy.url"] = Settings.load().database_url + engine = async_engine_from_config(section, prefix="sqlalchemy.", poolclass=pool.NullPool) + async with engine.connect() as connection: + await connection.run_sync(run_migrations) + await engine.dispose() + + +if context.is_offline_mode(): + run_migrations_offline() +else: + import asyncio + + asyncio.run(run_migrations_online()) diff --git a/migrations/versions/0001_platform_v2.py b/migrations/versions/0001_platform_v2.py new file mode 100644 index 0000000..ba99a0e --- /dev/null +++ b/migrations/versions/0001_platform_v2.py @@ -0,0 +1,70 @@ +import sqlalchemy as sa +from alembic import op + +revision = "0001_platform_v2" +down_revision = None +branch_labels = None +depends_on = None + + +def upgrade() -> None: + op.create_table( + "tenant_keys", + sa.Column("tenant_id", sa.String(128), primary_key=True), + sa.Column("verifier", sa.String(64), nullable=False), + sa.Column("active", sa.Boolean(), nullable=False, server_default=sa.true()), + sa.Column("created_at", sa.DateTime(timezone=True), server_default=sa.func.now()), + ) + op.create_table( + "admin_users", + sa.Column("email", sa.String(254), primary_key=True), + sa.Column("password_hash", sa.String(512), nullable=False), + ) + op.create_table( + "admin_sessions", + sa.Column("id", sa.String(64), primary_key=True), + sa.Column( + "admin_email", sa.String(254), sa.ForeignKey("admin_users.email"), nullable=False + ), + sa.Column("csrf_hash", sa.String(64), nullable=False), + sa.Column("expires_at", sa.DateTime(timezone=True), nullable=False), + ) + op.create_table( + "ai_profiles", + sa.Column("version", sa.String(64), primary_key=True), + sa.Column("model", sa.String(128), nullable=False), + sa.Column("system_prompt", sa.String(8000), nullable=False), + sa.Column("timeout_seconds", sa.Integer(), nullable=False), + sa.Column("limits", sa.JSON(), nullable=False), + sa.Column("active", sa.Boolean(), nullable=False, server_default=sa.false()), + ) + op.create_table( + "scoring_runs", + sa.Column("id", sa.String(36), primary_key=True), + sa.Column( + "tenant_id", sa.String(128), sa.ForeignKey("tenant_keys.tenant_id"), nullable=False + ), + sa.Column("request_id", sa.String(36), nullable=False), + sa.Column("fingerprint", sa.String(64), nullable=False), + sa.Column("request", sa.JSON(), nullable=False), + sa.Column("profile_version", sa.String(64), nullable=False), + sa.Column("status", sa.String(24), nullable=False), + sa.Column("rule_score", sa.Integer()), + sa.Column("ai_score", sa.Integer()), + sa.Column("final_score", sa.Integer()), + sa.Column("degraded", sa.Boolean(), nullable=False, server_default=sa.false()), + sa.Column("breakdown", sa.JSON()), + sa.Column("created_at", sa.DateTime(timezone=True), server_default=sa.func.now()), + sa.Column("completed_at", sa.DateTime(timezone=True)), + sa.UniqueConstraint("tenant_id", "request_id", name="uq_run_tenant_request"), + ) + for column in ("tenant_id", "status", "created_at"): + op.create_index(f"ix_scoring_runs_{column}", "scoring_runs", [column]) + + +def downgrade() -> None: + op.drop_table("scoring_runs") + op.drop_table("ai_profiles") + op.drop_table("admin_sessions") + op.drop_table("admin_users") + op.drop_table("tenant_keys") diff --git a/migrations/versions/0002_ai_result_fields.py b/migrations/versions/0002_ai_result_fields.py new file mode 100644 index 0000000..647aae0 --- /dev/null +++ b/migrations/versions/0002_ai_result_fields.py @@ -0,0 +1,21 @@ +import sqlalchemy as sa +from alembic import op + +revision = "0002_ai_result_fields" +down_revision = "0001_platform_v2" +branch_labels = None +depends_on = None + + +def upgrade() -> None: + op.add_column("scoring_runs", sa.Column("ai_confidence", sa.Float(), nullable=True)) + op.add_column("scoring_runs", sa.Column("ai_reasoning", sa.String(2000), nullable=True)) + op.add_column("scoring_runs", sa.Column("error_code", sa.String(64), nullable=True)) + op.add_column("scoring_runs", sa.Column("result_mode", sa.String(32), nullable=True)) + + +def downgrade() -> None: + op.drop_column("scoring_runs", "result_mode") + op.drop_column("scoring_runs", "error_code") + op.drop_column("scoring_runs", "ai_reasoning") + op.drop_column("scoring_runs", "ai_confidence") diff --git a/migrations/versions/0003_ai_evidence.py b/migrations/versions/0003_ai_evidence.py new file mode 100644 index 0000000..ea8a6ac --- /dev/null +++ b/migrations/versions/0003_ai_evidence.py @@ -0,0 +1,15 @@ +import sqlalchemy as sa +from alembic import op + +revision = "0003_ai_evidence" +down_revision = "0002_ai_result_fields" +branch_labels = None +depends_on = None + + +def upgrade() -> None: + op.add_column("scoring_runs", sa.Column("ai_evidence", sa.JSON(), nullable=True)) + + +def downgrade() -> None: + op.drop_column("scoring_runs", "ai_evidence") diff --git a/pyproject.toml b/pyproject.toml index cf3de15..05038c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,41 +1,38 @@ [project] -name = "lead-scoring" -version = "0.1.0" -description = "Lead Scoring service for AI Platform" -readme = "README.md" +name = "dotb-ai-platform" +version = "2.0.0" +description = "Tenant-isolated lead scoring platform" requires-python = ">=3.13" dependencies = [ - "fastapi>=0.115.0", - "uvicorn[standard]>=0.30.0", - "pydantic>=2.8.0", - "pydantic-settings>=2.4.0", - "sqlalchemy[asyncio]>=2.0.30", - "asyncpg>=0.29.0", - "alembic>=1.13.0", - "httpx>=0.27.0", + "fastapi>=0.115,<1", + "uvicorn[standard]>=0.30,<1", + "pydantic>=2.8,<3", + "pydantic-settings>=2.4,<3", + "sqlalchemy[asyncio]>=2.0.30,<3", + "asyncpg>=0.30,<1", + "alembic>=1.13,<2", + "pwdlib[argon2]>=0.2,<1", + "httpx>=0.27", ] [project.scripts] -generate-openapi = "lead_scoring.cli.openapi:main" -generate-webhook-contract = "lead_scoring.cli.webhook_contract:main" -generate-polling-contract = "lead_scoring.cli.polling_contract:main" -generate-contract-pack = "lead_scoring.cli.contract_pack:main" +ai-platform = "ai_platform.cli:main" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] -packages = ["src/lead_scoring"] +packages = ["src/ai_platform"] [dependency-groups] dev = [ - "pytest>=8.0.0", - "pytest-asyncio>=0.23.0", - "testcontainers[postgres]>=4.0.0", - "ruff>=0.5.0", - "pyright>=1.1.370", - "ty>=0.0.74", + "pytest>=8", + "pytest-asyncio>=0.23", + "ruff>=0.5", + "pyright>=1.1.414", + "import-linter>=2.15", + "pre-commit==4.3.0", ] [tool.pytest.ini_options] @@ -48,20 +45,5 @@ line-length = 100 target-version = "py313" src = ["src", "tests"] -[tool.ruff.lint] -select = [ - "E", # pycodestyle errors - "W", # pycodestyle warnings - "F", # pyflakes - "I", # isort - "B", # flake8-bugbear - "UP", # pyupgrade -] -ignore = [] - -[tool.pyright] -include = ["src", "tests"] -pythonVersion = "3.13" -typeCheckingMode = "standard" -venvPath = "." -venv = ".venv" +[tool.ruff.lint.per-file-ignores] +"src/ai_platform/presentation/http/*.py" = ["B008"] diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 0000000..6d2aefd --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,7 @@ +{ + "include": ["src", "tests", "migrations"], + "exclude": ["old_repo", "**/__pycache__"], + "pythonVersion": "3.13", + "venvPath": ".", + "venv": ".venv" +} diff --git a/scripts/seed_demo.py b/scripts/seed_demo.py new file mode 100644 index 0000000..5088218 --- /dev/null +++ b/scripts/seed_demo.py @@ -0,0 +1,155 @@ +"""Seed one local rules-only demo run through the public HTTP API.""" + +import json +import os +import time +from pathlib import Path +from typing import Any +from urllib.parse import urlsplit + +import httpx + +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.presentation.http.schemas import RunRequest + +FIXTURE = Path(__file__).resolve().parents[1] / "tests" / "fixtures" / "mock_omni_run.json" +BASE_URL = "http://127.0.0.1:8000" +DEMO_TENANT = "local-demo-seed" +DEMO_TENANT_KEY_ENV = "AI_PLATFORM_DEMO_TENANT_KEY" +POLL_ATTEMPTS = 100 +POLL_INTERVAL_SECONDS = 0.1 + + +def load_payload() -> dict[str, Any]: + return json.loads(FIXTURE.read_text()) + + +def validate_local_target(settings: Settings) -> None: + database_name = urlsplit(settings.database_url).path.rstrip("/").rsplit("/", 1)[-1] + database_host = urlsplit(settings.database_url).hostname + if settings.environment != "development": + raise SystemExit("Refusing demo seed: AI_PLATFORM_ENVIRONMENT must be development") + if database_name != "ai_platform" or database_host not in { + "127.0.0.1", + "localhost", + "::1", + "postgres", + }: + raise SystemExit( + "Refusing demo seed: API target must use the local ai_platform development database" + ) + + +def tenant_headers( + client: httpx.Client, + settings: Settings, + existing_tenant_key: str | None, +) -> dict[str, str]: + if existing_tenant_key: + return {"Authorization": f"Bearer {existing_tenant_key}"} + if settings.tenant_provisioning_secret is None: + raise SystemExit( + "Demo seed blocked: tenant provisioning secret and existing demo tenant key are required" + ) + + response = client.post( + "/v1/platform/tenant-keys", + headers={ + "Authorization": ("Bearer " + settings.tenant_provisioning_secret.get_secret_value()) + }, + json={"tenant_id": DEMO_TENANT}, + ) + if response.status_code == 409: + raise SystemExit( + "Demo seed blocked: the demo tenant already exists and its one-time key is unavailable; " + f"set {DEMO_TENANT_KEY_ENV} to its existing key. No key was rotated or data changed." + ) + if response.status_code != 201: + raise SystemExit( + f"Demo seed blocked: tenant provisioning returned HTTP {response.status_code}" + ) + + tenant_key = response.json().get("tenant_key") + if not isinstance(tenant_key, str) or not tenant_key: + raise SystemExit("Demo seed blocked: tenant provisioning response omitted its key") + return {"Authorization": f"Bearer {tenant_key}"} + + +def read_run(client: httpx.Client, run_id: str, headers: dict[str, str]) -> dict[str, Any]: + for _ in range(POLL_ATTEMPTS): + response = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=headers) + if response.status_code != 200: + raise SystemExit( + f"Demo seed blocked: run readback returned HTTP {response.status_code}" + ) + run = response.json() + if run.get("status") in {"completed", "failed"}: + return run + time.sleep(POLL_INTERVAL_SECONDS) + raise SystemExit("Demo seed blocked: run did not reach a terminal state") + + +def persisted_snapshot(run: dict[str, Any]) -> dict[str, Any] | None: + snapshot = run.get("snapshot") + if isinstance(snapshot, dict): + return snapshot + request = run.get("request") + if isinstance(request, dict) and isinstance(request.get("snapshot"), dict): + return request["snapshot"] + return None + + +def seed_demo( + client: httpx.Client, + settings: Settings, + existing_tenant_key: str | None = None, +) -> tuple[str, dict[str, Any]]: + payload = load_payload() + if payload["scoring_config"]["ai_weight"] != 0: + raise SystemExit("Demo seed requires a rules-only fixture; it must not claim AI success") + + headers = tenant_headers(client, settings, existing_tenant_key) + response = client.post("/v1/lead-scoring/runs", headers=headers, json=payload) + if response.status_code not in {200, 202}: + raise SystemExit(f"Demo seed blocked: run admission returned HTTP {response.status_code}") + run_id = response.json().get("run_id") + if not isinstance(run_id, str) or not run_id: + raise SystemExit("Demo seed blocked: run admission response omitted run_id") + + run = read_run(client, run_id, headers) + if run.get("status") != "completed": + raise SystemExit("Demo seed blocked: the persisted run did not complete") + if run.get("ai_score") is not None or run.get("degraded") is not False: + raise SystemExit("Demo seed blocked: rules-only run returned an unexpected AI result") + expected_snapshot = RunRequest.model_validate(payload).model_dump(mode="json")["snapshot"] + if persisted_snapshot(run) != expected_snapshot: + raise SystemExit( + "Demo seed blocked: run readback did not return the persisted conversation snapshot" + ) + return run_id, run + + +def main() -> None: + settings = Settings.load() + validate_local_target(settings) + existing_tenant_key = os.environ.get(DEMO_TENANT_KEY_ENV) + try: + with httpx.Client(base_url=BASE_URL, timeout=5) as client: + run_id, run = seed_demo(client, settings, existing_tenant_key) + except httpx.HTTPError as exc: + raise SystemExit( + "Demo seed blocked: local backend at 127.0.0.1:8000 is unavailable" + ) from exc + + snapshot = load_payload()["snapshot"] + conversations = len(snapshot["conversations"]) + messages = sum(len(conversation["messages"]) for conversation in snapshot["conversations"]) + print( + f"Seeded or reused local demo run {run_id}: status={run['status']}, " + f"score={run.get('final_score')}, persisted conversations={conversations}, messages={messages}." + ) + print("AI execution was not requested; the run uses deterministic rules only.") + + +if __name__ == "__main__": + main() diff --git a/src/ai_platform/bootstrap/app.py b/src/ai_platform/bootstrap/app.py new file mode 100644 index 0000000..e56fe59 --- /dev/null +++ b/src/ai_platform/bootstrap/app.py @@ -0,0 +1,54 @@ +from contextlib import asynccontextmanager + +import httpx +from fastapi import FastAPI +from sqlalchemy import text + +from ai_platform.infrastructure.aihub import AiHubClient +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.database import make_session_factory +from ai_platform.infrastructure.scoring import recover_interrupted, wait_for_tasks +from ai_platform.presentation.http.admin_routes import router as admin_router +from ai_platform.presentation.http.routes import router + + +def create_app( + settings: Settings | None = None, + *, + aihub_transport: httpx.AsyncBaseTransport | None = None, +) -> FastAPI: + config = settings or Settings.load() + sessions = make_session_factory(config.database_url) + tasks = set() + + @asynccontextmanager + async def lifespan(app: FastAPI): + async with sessions() as db: + revisions = ( + (await db.execute(text("SELECT version_num FROM alembic_version"))).scalars().all() + ) + if revisions != ["0003_ai_evidence"]: + raise RuntimeError( + "Database migrations are missing or not at head; run alembic upgrade head" + ) + await recover_interrupted(sessions) + app.state.sessions = sessions + app.state.settings = config + app.state.tasks = tasks + if config.aihub_base_url is None: + app.state.aihub_client = None + else: + client = httpx.AsyncClient(transport=aihub_transport) + app.state.aihub_client = AiHubClient(config.aihub_base_url, client) + try: + yield + finally: + await wait_for_tasks(tasks) + if app.state.aihub_client is not None: + await app.state.aihub_client.aclose() + await sessions.kw["bind"].dispose() + + app = FastAPI(title="AI Platform API", version="2.0.0", lifespan=lifespan) + app.include_router(router) + app.include_router(admin_router) + return app diff --git a/src/ai_platform/cli.py b/src/ai_platform/cli.py new file mode 100644 index 0000000..397d093 --- /dev/null +++ b/src/ai_platform/cli.py @@ -0,0 +1,69 @@ +from __future__ import annotations + +import argparse +import asyncio +import getpass +import json +import secrets +from pathlib import Path + +from pwdlib import PasswordHash + +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.database import make_session_factory +from ai_platform.infrastructure.persistence.models import AdminUser, TenantKey +from ai_platform.infrastructure.security import digest + + +async def create_admin(email: str, password: str) -> None: + sessions = make_session_factory(Settings.load().database_url) + async with sessions() as db: + email = email.strip().lower() + if await db.get(AdminUser, email): + raise SystemExit("admin already exists") + db.add(AdminUser(email=email, password_hash=PasswordHash.recommended().hash(password))) + await db.commit() + await sessions.kw["bind"].dispose() + + +async def rotate_tenant_key(tenant_id: str) -> str: + sessions = make_session_factory(Settings.load().database_url) + raw = "tnt_" + secrets.token_urlsafe(32) + async with sessions() as db: + row = await db.get(TenantKey, tenant_id, with_for_update=True) + if row is None: + raise SystemExit(f"unknown tenant: {tenant_id}") + row.verifier = digest(raw) + await db.commit() + await sessions.kw["bind"].dispose() + return raw + + +def main() -> None: + parser = argparse.ArgumentParser(prog="ai-platform") + sub = parser.add_subparsers(dest="command", required=True) + sub.add_parser("create-admin") + export = sub.add_parser("export-openapi") + export.add_argument("path", type=Path) + rotate = sub.add_parser("rotate-tenant-key") + rotate.add_argument("tenant_id") + args = parser.parse_args() + if args.command == "create-admin": + email = input("Admin email: ").strip() + password = getpass.getpass("Admin password: ") + if not password or password != getpass.getpass("Confirm password: "): + raise SystemExit("passwords are empty or do not match") + asyncio.run(create_admin(email, password)) + elif args.command == "rotate-tenant-key": + print(asyncio.run(rotate_tenant_key(args.tenant_id))) + elif args.command == "export-openapi": + from ai_platform.bootstrap.app import create_app + + args.path.parent.mkdir(parents=True, exist_ok=True) + args.path.write_text( + json.dumps(create_app().openapi(), ensure_ascii=False, separators=(",", ":")) + "\n" + ) + + +if __name__ == "__main__": + main() diff --git a/src/ai_platform/infrastructure/aihub.py b/src/ai_platform/infrastructure/aihub.py new file mode 100644 index 0000000..6ca2f9c --- /dev/null +++ b/src/ai_platform/infrastructure/aihub.py @@ -0,0 +1,199 @@ +import json +from typing import Any + +import httpx +from pydantic import ( + BaseModel, + ConfigDict, + Field, + StrictFloat, + StrictInt, + StrictStr, + ValidationError, +) + +_MAX_RESPONSE_BYTES = 1_000_000 +_MAX_TIMEOUT_SECONDS = 120.0 + + +class AiHubError(Exception): + """Sanitized AIHub failure; never includes request credentials or response bodies.""" + + def __init__(self, error_code: str, message: str) -> None: + super().__init__(message) + self.error_code = error_code + + +class AiScore(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + + score: StrictInt = Field(ge=0, le=100) + confidence: StrictFloat = Field(ge=0, le=1) + reasoning: StrictStr = Field(min_length=1, max_length=2_000) + + +class EvidenceItem(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + + signal: StrictStr = Field(min_length=1, max_length=80) + detail: StrictStr = Field(min_length=1, max_length=500) + source: StrictStr = Field(min_length=1, max_length=120) + + +class ExtractedEvidence(BaseModel): + model_config = ConfigDict(extra="forbid", strict=True) + + items: list[EvidenceItem] = Field(max_length=20) + + +def _reject_duplicate_keys(pairs: list[tuple[str, Any]]) -> dict[str, Any]: + result: dict[str, Any] = {} + for key, value in pairs: + if key in result: + raise ValueError("duplicate JSON object key") + result[key] = value + return result + + +def _contains_secret(value: Any, secret: str) -> bool: + if isinstance(value, str): + return secret in value + if isinstance(value, dict): + return any( + _contains_secret(key, secret) or _contains_secret(item, secret) + for key, item in value.items() + ) + if isinstance(value, list): + return any(_contains_secret(item, secret) for item in value) + return False + + +def _model_validate[Model: BaseModel](model: type[Model], payload: Any, error_code: str) -> Model: + try: + return model.model_validate(payload) + except ValidationError: + raise AiHubError(error_code, "AIHub returned an invalid JSON response") from None + + +class AiHubClient: + """Small non-streaming adapter for the AIHub chat completions endpoint.""" + + def __init__(self, base_url: str, client: httpx.AsyncClient, timeout: float = 30.0) -> None: + if ( + not base_url.startswith(("http://", "https://")) + or not 0 < timeout <= _MAX_TIMEOUT_SECONDS + ): + raise ValueError("AIHub requires an HTTP(S) base URL and timeout up to 120 seconds") + self._url = f"{base_url.rstrip('/')}/v1/chat/completions" + self._client = client + self._timeout = timeout + + async def aclose(self) -> None: + await self._client.aclose() + + async def extract_evidence( + self, + *, + model: str, + snapshot: dict[str, Any], + vkey: str, + timeout: float | None = None, + ) -> ExtractedEvidence: + system_prompt = ( + "Bạn chỉ trích xuất bằng chứng có thể xác định trực tiếp từ snapshot. " + "Không suy đoán, không đánh giá, không chấm điểm và không tạo quy tắc. " + 'Trả về JSON đúng dạng {"items":[{"signal":string,"detail":string,' + '"source":string}]}; tối đa 20 mục. Mỗi source phải là đường dẫn trường ' + "snapshot hoặc message_id có thật. Viết signal và detail bằng tiếng Việt." + ) + user_prompt = "Trích xuất bằng chứng từ snapshot sau:\n" + json.dumps( + snapshot, ensure_ascii=False, separators=(",", ":") + ) + payload = await self._chat_json( + model=model, + system_prompt=system_prompt, + user_prompt=user_prompt, + vkey=vkey, + timeout=timeout, + ) + return _model_validate(ExtractedEvidence, payload, "aihub_invalid_evidence") + + async def score( + self, + *, + model: str, + system_prompt: str, + user_prompt: str, + vkey: str, + timeout: float | None = None, + ) -> AiScore: + payload = await self._chat_json( + model=model, + system_prompt=system_prompt, + user_prompt=user_prompt, + vkey=vkey, + timeout=timeout, + ) + return _model_validate(AiScore, payload, "aihub_invalid_score") + + async def _chat_json( + self, + *, + model: str, + system_prompt: str, + user_prompt: str, + vkey: str, + timeout: float | None, + ) -> Any: + if not all((model.strip(), system_prompt.strip(), user_prompt.strip(), vkey)): + raise ValueError("AIHub request fields must not be empty") + if len(vkey) > 4_096 or "\r" in vkey or "\n" in vkey: + raise ValueError("AIHub credential is invalid") + request_timeout = self._timeout if timeout is None else timeout + if not 0 < request_timeout <= _MAX_TIMEOUT_SECONDS: + raise ValueError("AIHub request timeout is outside the supported range") + try: + async with self._client.stream( + "POST", + self._url, + headers={"Authorization": f"Bearer {vkey}"}, + json={ + "model": model, + "messages": [ + {"role": "system", "content": system_prompt}, + {"role": "user", "content": user_prompt}, + ], + "stream": False, + "response_format": {"type": "json_object"}, + }, + timeout=request_timeout, + ) as response: + if response.status_code != 200: + raise AiHubError( + "aihub_http_error", f"AIHub returned HTTP {response.status_code}" + ) + chunks: list[bytes] = [] + size = 0 + async for chunk in response.aiter_bytes(): + size += len(chunk) + if size > _MAX_RESPONSE_BYTES: + raise AiHubError("aihub_response_too_large", "AIHub response was too large") + chunks.append(chunk) + except httpx.TimeoutException: + raise AiHubError("aihub_timeout", "AIHub request timed out") from None + except httpx.RequestError: + raise AiHubError("aihub_request_error", "AIHub request failed") from None + + try: + envelope = json.loads(b"".join(chunks), object_pairs_hook=_reject_duplicate_keys) + content = envelope["choices"][0]["message"]["content"] + if not isinstance(content, str): + raise TypeError("completion content must be text") + payload = json.loads(content, object_pairs_hook=_reject_duplicate_keys) + if _contains_secret(payload, vkey): + raise ValueError("response contained request credentials") + return payload + except (KeyError, IndexError, TypeError, ValueError, json.JSONDecodeError): + raise AiHubError( + "aihub_invalid_response", "AIHub returned an invalid JSON response" + ) from None diff --git a/src/ai_platform/infrastructure/config/settings.py b/src/ai_platform/infrastructure/config/settings.py new file mode 100644 index 0000000..8212399 --- /dev/null +++ b/src/ai_platform/infrastructure/config/settings.py @@ -0,0 +1,60 @@ +from urllib.parse import urlsplit + +from pydantic import SecretStr, model_validator +from pydantic_settings import BaseSettings, SettingsConfigDict + + +class Settings(BaseSettings): + model_config = SettingsConfigDict( + env_prefix="AI_PLATFORM_", + env_file=".env", + env_ignore_empty=True, + extra="ignore", + ) + + database_url: str = ( + "postgresql+asyncpg://ai_platform:local-change-this-password@127.0.0.1:55432/ai_platform" + ) + environment: str = "development" + tenant_provisioning_secret: SecretStr | None = None + aihub_base_url: str | None = None + admin_cookie_secure: bool = False + session_ttl_seconds: int = 28800 + + @model_validator(mode="after") + def validate_settings(self): + if self.environment != "development" and self.tenant_provisioning_secret is None: + raise ValueError("AI_PLATFORM_TENANT_PROVISIONING_SECRET must be set") + if not self.database_url.startswith("postgresql+asyncpg://"): + raise ValueError("AI_PLATFORM_DATABASE_URL must use postgresql+asyncpg://") + if self.aihub_base_url is not None: + try: + parsed = urlsplit(self.aihub_base_url) + if parsed.port == 0: + raise ValueError("Port zero is invalid") + except ValueError: + raise ValueError( + "AI_PLATFORM_AIHUB_BASE_URL must be a plain HTTP(S) base URL" + ) from None + if ( + any(char.isspace() for char in self.aihub_base_url) + or parsed.scheme not in {"http", "https"} + or not parsed.hostname + or parsed.username is not None + or parsed.password is not None + or parsed.query + or parsed.fragment + ): + raise ValueError("AI_PLATFORM_AIHUB_BASE_URL must be a plain HTTP(S) base URL") + if parsed.scheme == "http" and ( + self.environment != "development" + or parsed.hostname not in {"localhost", "127.0.0.1", "::1"} + ): + raise ValueError( + "AI_PLATFORM_AIHUB_BASE_URL must use HTTPS outside local development" + ) + return self + + @classmethod + def load(cls) -> "Settings": + return cls() diff --git a/src/ai_platform/infrastructure/persistence/database.py b/src/ai_platform/infrastructure/persistence/database.py new file mode 100644 index 0000000..d0ac959 --- /dev/null +++ b/src/ai_platform/infrastructure/persistence/database.py @@ -0,0 +1,21 @@ +from collections.abc import AsyncIterator + +from sqlalchemy.ext.asyncio import AsyncSession, async_sessionmaker, create_async_engine +from sqlalchemy.orm import DeclarativeBase + + +class Base(DeclarativeBase): + pass + + +def make_session_factory(database_url: str) -> async_sessionmaker[AsyncSession]: + return async_sessionmaker( + create_async_engine(database_url, pool_pre_ping=True), expire_on_commit=False + ) + + +async def session_dependency( + factory: async_sessionmaker[AsyncSession], +) -> AsyncIterator[AsyncSession]: + async with factory() as session: + yield session diff --git a/src/ai_platform/infrastructure/persistence/models.py b/src/ai_platform/infrastructure/persistence/models.py new file mode 100644 index 0000000..f0dfce4 --- /dev/null +++ b/src/ai_platform/infrastructure/persistence/models.py @@ -0,0 +1,76 @@ +from datetime import datetime +from typing import Any +from uuid import uuid4 + +from sqlalchemy import ( + JSON, + Boolean, + DateTime, + Float, + ForeignKey, + Integer, + String, + UniqueConstraint, + func, +) +from sqlalchemy.orm import Mapped, mapped_column + +from ai_platform.infrastructure.persistence.database import Base + + +class TenantKey(Base): + __tablename__ = "tenant_keys" + tenant_id: Mapped[str] = mapped_column(String(128), primary_key=True) + verifier: Mapped[str] = mapped_column(String(64), nullable=False) + active: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False) + created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), server_default=func.now()) + + +class AdminUser(Base): + __tablename__ = "admin_users" + email: Mapped[str] = mapped_column(String(254), primary_key=True) + password_hash: Mapped[str] = mapped_column(String(512), nullable=False) + + +class AdminSession(Base): + __tablename__ = "admin_sessions" + id: Mapped[str] = mapped_column(String(64), primary_key=True) + admin_email: Mapped[str] = mapped_column(ForeignKey("admin_users.email"), nullable=False) + csrf_hash: Mapped[str] = mapped_column(String(64), nullable=False) + expires_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), nullable=False) + + +class AIProfile(Base): + __tablename__ = "ai_profiles" + version: Mapped[str] = mapped_column(String(64), primary_key=True) + model: Mapped[str] = mapped_column(String(128), nullable=False) + system_prompt: Mapped[str] = mapped_column(String(8000), nullable=False) + timeout_seconds: Mapped[int] = mapped_column(Integer, nullable=False) + limits: Mapped[dict[str, Any]] = mapped_column(JSON, nullable=False) + active: Mapped[bool] = mapped_column(Boolean, default=False, nullable=False) + + +class ScoringRun(Base): + __tablename__ = "scoring_runs" + __table_args__ = (UniqueConstraint("tenant_id", "request_id", name="uq_run_tenant_request"),) + id: Mapped[str] = mapped_column(String(36), primary_key=True, default=lambda: str(uuid4())) + tenant_id: Mapped[str] = mapped_column(ForeignKey("tenant_keys.tenant_id"), index=True) + request_id: Mapped[str] = mapped_column(String(36), nullable=False) + fingerprint: Mapped[str] = mapped_column(String(64), nullable=False) + request: Mapped[dict[str, Any]] = mapped_column(JSON, nullable=False) + profile_version: Mapped[str] = mapped_column(String(64), nullable=False) + status: Mapped[str] = mapped_column(String(24), default="pending", index=True) + rule_score: Mapped[int | None] = mapped_column(Integer) + ai_score: Mapped[int | None] = mapped_column(Integer) + ai_confidence: Mapped[float | None] = mapped_column(Float) + ai_reasoning: Mapped[str | None] = mapped_column(String(2_000)) + error_code: Mapped[str | None] = mapped_column(String(64)) + final_score: Mapped[int | None] = mapped_column(Integer) + degraded: Mapped[bool] = mapped_column(Boolean, default=False) + result_mode: Mapped[str | None] = mapped_column(String(32)) + breakdown: Mapped[list[dict[str, Any]] | None] = mapped_column(JSON) + ai_evidence: Mapped[list[dict[str, Any]] | None] = mapped_column(JSON) + created_at: Mapped[datetime] = mapped_column( + DateTime(timezone=True), server_default=func.now(), index=True + ) + completed_at: Mapped[datetime | None] = mapped_column(DateTime(timezone=True)) diff --git a/src/ai_platform/infrastructure/scoring.py b/src/ai_platform/infrastructure/scoring.py new file mode 100644 index 0000000..b0bfc07 --- /dev/null +++ b/src/ai_platform/infrastructure/scoring.py @@ -0,0 +1,194 @@ +import asyncio +import json +from datetime import UTC, datetime +from typing import Any + +from sqlalchemy import select +from sqlalchemy.ext.asyncio import AsyncSession, async_sessionmaker + +from ai_platform.infrastructure.aihub import AiHubClient, AiHubError +from ai_platform.infrastructure.persistence.models import AIProfile, ScoringRun +from ai_platform.lead_scoring.application.scoring import calculate_run + + +def _scoring_system_prompt(profile_prompt: str) -> str: + return ( + profile_prompt.strip() + "\n\nChấm điểm chỉ dựa trên snapshot và bằng chứng được cung cấp. " + "Không sử dụng hoặc suy đoán quy tắc, điểm hay trọng số của khách hàng. " + 'Trả JSON đúng dạng {"score":số nguyên 0-100,"confidence":số 0-1,' + '"reasoning":chuỗi tiếng Việt}; reasoning tối đa 2000 ký tự.' + ) + + +def _scoring_user_prompt(snapshot: dict[str, Any], evidence: dict[str, Any]) -> str: + return ( + "Đánh giá snapshot cùng bằng chứng trích xuất sau đây. " + "Chỉ trả kết quả theo định dạng JSON trong chỉ dẫn hệ thống.\n" + "SNAPSHOT:\n" + + json.dumps(snapshot, ensure_ascii=False, separators=(",", ":")) + + "\nEVIDENCE:\n" + + json.dumps(evidence, ensure_ascii=False, separators=(",", ":")) + ) + + +async def execute_run( + factory: async_sessionmaker[AsyncSession], + run_id: str, + raw_vkey: str | None, + aihub: AiHubClient | None, +) -> None: + # The request-scoped key exists only in this process-local scoring task. + try: + await _execute_run(factory, run_id, raw_vkey, aihub) + except Exception: # noqa: BLE001 + await _mark_failed(factory, run_id) + + +async def _execute_run( + factory: async_sessionmaker[AsyncSession], + run_id: str, + raw_vkey: str | None, + aihub: AiHubClient | None, +) -> None: + async with factory() as db: + row = await db.get(ScoringRun, run_id) + if row is None or row.status != "pending": + return + row.status = "running" + await db.commit() + + rule_score, breakdown = calculate_run(row.request) + row.rule_score = rule_score + row.breakdown = breakdown + row.ai_score = None + row.ai_confidence = None + row.ai_reasoning = None + row.ai_evidence = None + row.error_code = None + ai_weight = row.request["scoring_config"]["ai_weight"] + if ai_weight == 0: + row.final_score = rule_score + row.degraded = False + row.result_mode = "rules_only" + else: + await _score_with_ai(db, row, raw_vkey, aihub) + row.status = "completed" + row.completed_at = datetime.now(UTC) + await db.commit() + + +async def _score_with_ai( + db: AsyncSession, + row: ScoringRun, + raw_vkey: str | None, + aihub: AiHubClient | None, +) -> None: + def fallback(error_code: str) -> None: + row.ai_score = None + row.ai_confidence = None + row.ai_reasoning = None + row.ai_evidence = None + row.final_score = row.rule_score + row.degraded = True + row.error_code = error_code + row.result_mode = "rules_only_fallback" + + if row.request["ai_profile"] != "medium": + fallback("ai_profile_deferred") + return + if raw_vkey is None or not raw_vkey.strip(): + fallback("vkey_missing") + return + if len(raw_vkey) > 4_096 or "\r" in raw_vkey or "\n" in raw_vkey: + fallback("vkey_invalid") + return + profile = await db.get(AIProfile, row.profile_version) + if profile is None: + fallback("ai_profile_missing") + return + if aihub is None: + fallback("aihub_not_configured") + return + + snapshot = row.request["snapshot"] + if raw_vkey in json.dumps(snapshot, ensure_ascii=False) or raw_vkey in profile.system_prompt: + fallback("vkey_prompt_conflict") + return + try: + evidence = await aihub.extract_evidence( + model=profile.model, + snapshot=snapshot, + vkey=raw_vkey, + timeout=profile.timeout_seconds, + ) + score = await aihub.score( + model=profile.model, + system_prompt=_scoring_system_prompt(profile.system_prompt), + user_prompt=_scoring_user_prompt( + snapshot, evidence.model_dump(mode="json", exclude_none=True) + ), + vkey=raw_vkey, + timeout=profile.timeout_seconds, + ) + except AiHubError as exc: + fallback(exc.error_code) + return + + config = row.request["scoring_config"] + final_score = round(row.rule_score * config["rule_weight"] + score.score * config["ai_weight"]) + row.ai_score = score.score + row.ai_confidence = score.confidence + row.ai_reasoning = score.reasoning + row.ai_evidence = [item.model_dump(mode="json", exclude_none=True) for item in evidence.items] + row.final_score = max(0, min(100, final_score)) + row.degraded = False + row.error_code = None + row.result_mode = "hybrid" + + +async def _mark_failed(factory: async_sessionmaker[AsyncSession], run_id: str) -> None: + try: + async with factory() as db: + row = await db.get(ScoringRun, run_id) + if row is None or row.status in {"completed", "failed"}: + return + row.status = "failed" + row.rule_score = None + row.ai_score = None + row.ai_confidence = None + row.ai_reasoning = None + row.ai_evidence = None + row.final_score = None + row.degraded = False + row.breakdown = None + row.error_code = "execution_failed" + row.result_mode = None + row.completed_at = datetime.now(UTC) + await db.commit() + except Exception: # noqa: BLE001 + # A database outage can prevent recording the failure itself. + return + + +async def recover_interrupted(factory: async_sessionmaker[AsyncSession]) -> None: + async with factory() as db: + rows = ( + await db.scalars( + select(ScoringRun) + .where(ScoringRun.status.in_(["pending", "running"])) + .with_for_update() + ) + ).all() + for row in rows: + row.status = "failed" + row.error_code = "worker_interrupted" + row.ai_evidence = None + row.completed_at = datetime.now(UTC) + await db.commit() + + +async def wait_for_tasks(tasks: set[asyncio.Task[Any]]) -> None: + if tasks: + _done, pending = await asyncio.wait(tasks, timeout=3) + for task in pending: + task.cancel() diff --git a/src/ai_platform/infrastructure/security.py b/src/ai_platform/infrastructure/security.py new file mode 100644 index 0000000..9ce9ba9 --- /dev/null +++ b/src/ai_platform/infrastructure/security.py @@ -0,0 +1,5 @@ +import hashlib + + +def digest(value: str) -> str: + return hashlib.sha256(value.encode()).hexdigest() diff --git a/src/ai_platform/lead_scoring/application/scoring.py b/src/ai_platform/lead_scoring/application/scoring.py new file mode 100644 index 0000000..7205ae9 --- /dev/null +++ b/src/ai_platform/lead_scoring/application/scoring.py @@ -0,0 +1,14 @@ +from typing import Any + +from ai_platform.lead_scoring.domain.scoring import Rule, ScoringConfiguration, score_rules + + +def calculate_run(request: dict[str, Any]) -> tuple[int, list[dict[str, Any]]]: + config_data = request["scoring_config"] + config = ScoringConfiguration( + version=config_data["version"], + rules=tuple(Rule(**rule) for rule in config_data["rules"]), + rule_weight=config_data["rule_weight"], + ai_weight=config_data["ai_weight"], + ) + return score_rules(request["snapshot"], config) diff --git a/src/ai_platform/lead_scoring/domain/scoring.py b/src/ai_platform/lead_scoring/domain/scoring.py new file mode 100644 index 0000000..030c312 --- /dev/null +++ b/src/ai_platform/lead_scoring/domain/scoring.py @@ -0,0 +1,202 @@ +import math +from dataclasses import dataclass +from datetime import UTC, datetime +from itertools import pairwise +from typing import Any + + +@dataclass(frozen=True) +class Rule: + id: str + field: str + operator: str + value: Any + points: int + + +@dataclass(frozen=True) +class ScoringConfiguration: + version: str + rules: tuple[Rule, ...] + rule_weight: float + ai_weight: float + + +def derive_metrics(snapshot: dict[str, Any]) -> dict[str, int | float | bool | None]: + """Derive v2 metrics using valid sent_at values for temporal ordering.""" + conversations = snapshot.get("conversations", []) + messages = [ + message for conversation in conversations for message in conversation.get("messages", []) + ] + contact_messages = [message for message in messages if message.get("sender_type") == "contact"] + ordered_conversations = [ + _messages_in_time_order(conversation) for conversation in conversations + ] + turn_count = sum( + 1 + + sum( + current["sender_type"] != previous["sender_type"] + for previous, current in pairwise(conversation) + ) + for conversation in ordered_conversations + if conversation + ) + contact_started_conversation_count = sum( + bool(conversation) and conversation[0].get("sender_type") == "contact" + for conversation in ordered_conversations + ) + nonempty_conversations = [] + for position, conversation in enumerate(ordered_conversations): + if conversation: + started_at = _timestamp(conversation[0].get("sent_at")) + if started_at is not None: + nonempty_conversations.append((started_at, position, conversation)) + nonempty_conversations.sort(key=lambda item: (item[0], item[1])) + customer_initiated_return = len(nonempty_conversations) > 1 and any( + conversation[0].get("sender_type") == "contact" + for _started_at, _position, conversation in nonempty_conversations[1:] + ) + + captured_at = _timestamp(snapshot.get("captured_at")) + recency_days: float | None = None + recency_hours: float | None = None + if contact_messages and captured_at is not None: + timestamps = [ + timestamp + for message in contact_messages + if (timestamp := _timestamp(message.get("sent_at"))) is not None + ] + newest_contact_at = max(timestamps, default=None) + if newest_contact_at is not None: + elapsed_seconds = max(0.0, (captured_at - newest_contact_at).total_seconds()) + recency_days = round(elapsed_seconds / 86400, 2) + recency_hours = round(elapsed_seconds / 3600, 2) + + contact_message_count = len(contact_messages) + profile = snapshot.get("lead_profile", {}) + profile_field_count = sum( + profile.get(field) is not None for field in ("name", "phone", "email", "status") + ) + return { + "profile_field_count": profile_field_count, + "conversation_count": len(conversations), + "message_count": len(messages), + "contact_message_count": contact_message_count, + "customer_message_count": contact_message_count, + "conversation_turn_count": turn_count, + "contact_started_conversation_count": contact_started_conversation_count, + "contact_message_recency_days": recency_days, + "contact_message_recency_hours": recency_hours, + "customer_initiated_return": customer_initiated_return, + } + + +def _messages_in_time_order(conversation: dict[str, Any]) -> list[dict[str, Any]]: + timestamped = [] + for message in conversation.get("messages", []): + timestamp = _timestamp(message.get("sent_at")) + if timestamp is not None: + timestamped.append((timestamp, message)) + return [message for _timestamp_value, message in sorted(timestamped, key=lambda item: item[0])] + + +def _timestamp(value: Any) -> datetime | None: + if isinstance(value, datetime): + parsed = value + elif isinstance(value, str): + try: + parsed = datetime.fromisoformat(value) + except ValueError: + return None + else: + return None + if parsed.tzinfo is None or parsed.utcoffset() is None: + return None + return parsed.astimezone(UTC) + + +def score_rules( + snapshot: dict[str, Any], config: ScoringConfiguration +) -> tuple[int, list[dict[str, Any]]]: + """Evaluate caller-supplied rules against the caller-supplied snapshot.""" + profile = snapshot.get("lead_profile", {}) + root = { + "lead_profile": profile, + "custom_fields": profile.get("custom_fields", {}), + "metrics": derive_metrics(snapshot), + } + total = 0 + breakdown = [] + for rule in config.rules: + current: Any = root + for part in rule.field.split("."): + current = current.get(part) if isinstance(current, dict) else None + try: + matched = _matches(current, rule) + except TypeError: + matched = False + points = rule.points if matched else 0 + total += points + breakdown.append({"rule_id": rule.id, "matched": matched, "points": points}) + return max(0, min(100, total)), breakdown + + +def _equality(actual: Any, expected: Any) -> bool | None: + if isinstance(actual, bool) or isinstance(expected, bool): + return ( + actual == expected if isinstance(actual, bool) and isinstance(expected, bool) else None + ) + if isinstance(actual, (int, float)) or isinstance(expected, (int, float)): + if not isinstance(actual, (int, float)) or not isinstance(expected, (int, float)): + return None + if isinstance(actual, float) and not math.isfinite(actual): + return None + if isinstance(expected, float) and not math.isfinite(expected): + return None + return actual == expected + if isinstance(actual, str) and isinstance(expected, str): + return actual == expected + if isinstance(actual, (list, tuple)) and isinstance(expected, (list, tuple)): + if len(actual) != len(expected): + return False + comparisons = [_equality(left, right) for left, right in zip(actual, expected, strict=True)] + if any(result is None for result in comparisons): + return None + return all(comparisons) + return None + + +def _matches(current: Any, rule: Rule) -> bool: + if rule.operator == "exists": + return current is not None + if rule.operator in {"eq", "ne"}: + equal = _equality(current, rule.value) + if equal is None: + return False + return equal if rule.operator == "eq" else not equal + if rule.operator in {"gt", "gte", "lt", "lte"}: + value = rule.value + if ( + isinstance(current, bool) + or isinstance(value, bool) + or not isinstance(current, (int, float)) + or not isinstance(value, (int, float)) + ): + return False + if isinstance(current, float) and not math.isfinite(current): + return False + if isinstance(value, float) and not math.isfinite(value): + return False + if rule.operator == "gt": + return current > value + if rule.operator == "gte": + return current >= value + if rule.operator == "lt": + return current < value + return current <= value + if rule.operator == "contains": + if isinstance(current, str) and isinstance(rule.value, str): + return rule.value in current + if isinstance(current, (list, tuple)): + return any(_equality(item, rule.value) is True for item in current) + return False diff --git a/src/ai_platform/main.py b/src/ai_platform/main.py new file mode 100644 index 0000000..f07dcd2 --- /dev/null +++ b/src/ai_platform/main.py @@ -0,0 +1,3 @@ +from ai_platform.bootstrap.app import create_app + +app = create_app() diff --git a/src/ai_platform/presentation/http/admin_routes.py b/src/ai_platform/presentation/http/admin_routes.py new file mode 100644 index 0000000..8dad9cc --- /dev/null +++ b/src/ai_platform/presentation/http/admin_routes.py @@ -0,0 +1,156 @@ +import secrets +from datetime import UTC, datetime, timedelta +from uuid import UUID + +from fastapi import APIRouter, Depends, HTTPException, Request, Response +from pwdlib import PasswordHash +from sqlalchemy import select +from sqlalchemy.ext.asyncio import AsyncSession + +from ai_platform.infrastructure.persistence.models import ( + AdminSession, + AdminUser, + AIProfile, + ScoringRun, +) +from ai_platform.infrastructure.security import digest +from ai_platform.presentation.http.dependencies import db_session +from ai_platform.presentation.http.routes import to_detail_json, to_json +from ai_platform.presentation.http.run_responses import RunDetail, RunList +from ai_platform.presentation.http.schemas import AdminLoginRequest, AIProfileInput + +router = APIRouter() +COOKIE = "ai_platform_session" +password_hash = PasswordHash.recommended() + + +async def get_admin_session(request: Request, db: AsyncSession) -> AdminSession: + raw = request.cookies.get(COOKIE) + row = await db.get(AdminSession, digest(raw)) if raw else None + if row is None or row.expires_at <= datetime.now(UTC): + raise HTTPException(401, "Admin session expired") + return row + + +async def require_csrf(request: Request, session: AdminSession) -> None: + candidate = request.headers.get("x-csrf-token", "") + if not candidate or not secrets.compare_digest(digest(candidate), session.csrf_hash): + raise HTTPException(403, "CSRF token required") + + +@router.post("/v1/admin/login") +async def login( + body: AdminLoginRequest, + request: Request, + response: Response, + db: AsyncSession = Depends(db_session), +): + user = await db.get(AdminUser, body.email.strip().lower()) + if user is None or not password_hash.verify(body.password, user.password_hash): + raise HTTPException(401, "Invalid email or password") + raw, csrf_token = secrets.token_urlsafe(32), secrets.token_urlsafe(32) + ttl = request.app.state.settings.session_ttl_seconds + db.add( + AdminSession( + id=digest(raw), + admin_email=user.email, + csrf_hash=digest(csrf_token), + expires_at=datetime.now(UTC) + timedelta(seconds=ttl), + ) + ) + await db.commit() + response.set_cookie( + COOKIE, + raw, + httponly=True, + secure=request.app.state.settings.admin_cookie_secure + or request.app.state.settings.environment == "production", + samesite="lax", + max_age=ttl, + path="/", + ) + return {"email": user.email, "csrf_token": csrf_token, "expires_in": ttl} + + +@router.get("/v1/admin/me") +async def me(request: Request, db: AsyncSession = Depends(db_session)): + session = await get_admin_session(request, db) + return {"email": session.admin_email, "authenticated": True} + + +@router.post("/v1/admin/logout") +async def logout(request: Request, response: Response, db: AsyncSession = Depends(db_session)): + session = await get_admin_session(request, db) + await require_csrf(request, session) + await db.delete(session) + await db.commit() + response.delete_cookie( + COOKIE, + path="/", + httponly=True, + secure=request.app.state.settings.admin_cookie_secure + or request.app.state.settings.environment == "production", + samesite="lax", + ) + return {"logged_out": True} + + +@router.get("/v1/admin/ai-profiles") +async def list_profiles(request: Request, db: AsyncSession = Depends(db_session)): + await get_admin_session(request, db) + rows = (await db.scalars(select(AIProfile).order_by(AIProfile.version))).all() + return {"profiles": [profile_json(row) for row in rows]} + + +@router.put("/v1/admin/ai-profiles") +async def create_profile( + body: AIProfileInput, request: Request, db: AsyncSession = Depends(db_session) +): + session = await get_admin_session(request, db) + await require_csrf(request, session) + existing = await db.get(AIProfile, body.version) + values = body.model_dump(mode="json") + if existing and any( + getattr(existing, key) != values[key] + for key in ("model", "system_prompt", "timeout_seconds", "limits") + ): + raise HTTPException(409, "Profile versions are immutable; use a new version") + rows = (await db.scalars(select(AIProfile).with_for_update())).all() + for row in rows: + row.active = False + if existing is None: + existing = AIProfile(**values, active=True) + db.add(existing) + else: + existing.active = True + await db.commit() + return profile_json(existing) + + +@router.get("/v1/admin/runs", response_model=RunList) +async def list_runs(request: Request, db: AsyncSession = Depends(db_session)): + await get_admin_session(request, db) + rows = ( + await db.scalars(select(ScoringRun).order_by(ScoringRun.created_at.desc()).limit(50)) + ).all() + return {"runs": [to_json(row) for row in rows]} + + +@router.get("/v1/admin/runs/{run_id}", response_model=RunDetail) +async def admin_run(run_id: UUID, request: Request, db: AsyncSession = Depends(db_session)): + await get_admin_session(request, db) + row = await db.get(ScoringRun, str(run_id)) + if row is None: + raise HTTPException(404, "Run not found") + return to_detail_json(row) + + +def profile_json(row: AIProfile) -> dict: + return { + "version": row.version, + "model": row.model, + "system_prompt": row.system_prompt, + "timeout_seconds": row.timeout_seconds, + "limits": row.limits, + "active": row.active, + } diff --git a/src/ai_platform/presentation/http/dependencies.py b/src/ai_platform/presentation/http/dependencies.py new file mode 100644 index 0000000..a002a5e --- /dev/null +++ b/src/ai_platform/presentation/http/dependencies.py @@ -0,0 +1,6 @@ +from fastapi import Request + + +async def db_session(request: Request): + async with request.app.state.sessions() as db: + yield db diff --git a/src/ai_platform/presentation/http/routes.py b/src/ai_platform/presentation/http/routes.py new file mode 100644 index 0000000..f5fa2eb --- /dev/null +++ b/src/ai_platform/presentation/http/routes.py @@ -0,0 +1,199 @@ +import asyncio +import hashlib +import json +import secrets +from datetime import UTC, datetime +from uuid import UUID + +from fastapi import APIRouter, Depends, Header, HTTPException, Request, Response +from sqlalchemy import select +from sqlalchemy.exc import IntegrityError +from sqlalchemy.ext.asyncio import AsyncSession + +from ai_platform.infrastructure.persistence.models import AIProfile, ScoringRun, TenantKey +from ai_platform.infrastructure.scoring import execute_run +from ai_platform.infrastructure.security import digest +from ai_platform.lead_scoring.domain.scoring import derive_metrics +from ai_platform.presentation.http.dependencies import db_session +from ai_platform.presentation.http.run_responses import RunDetail, RunSummary +from ai_platform.presentation.http.schemas import RunRequest + +router = APIRouter() + + +def canonical(value: object) -> bytes: + return json.dumps(value, sort_keys=True, separators=(",", ":"), ensure_ascii=False).encode() + + +def to_json(row: ScoringRun) -> dict: + return { + "run_id": row.id, + "request_id": row.request_id, + "tenant_id": row.tenant_id, + "status": row.status, + "profile_version": row.profile_version, + "rule_score": row.rule_score, + "ai_score": row.ai_score, + "final_score": row.final_score, + "degraded": row.degraded, + "result_mode": row.result_mode, + "error_code": row.error_code, + "breakdown": row.breakdown, + "created_at": row.created_at.isoformat() if row.created_at else None, + "completed_at": row.completed_at.isoformat() if row.completed_at else None, + } + + +def to_detail_json(row: ScoringRun) -> dict: + return { + **to_json(row), + "snapshot": row.request["snapshot"], + "metrics": derive_metrics(row.request["snapshot"]), + "ai_confidence": row.ai_confidence, + "ai_reasoning": row.ai_reasoning, + "ai_evidence": row.ai_evidence, + } + + +async def tenant_id( + authorization: str | None = Header(default=None), db: AsyncSession = Depends(db_session) +) -> str: + if not authorization or not authorization.startswith("Bearer "): + raise HTTPException(401, "Tenant authentication required") + key = authorization[7:] + row = ( + await db.execute( + select(TenantKey).where(TenantKey.verifier == digest(key), TenantKey.active.is_(True)) + ) + ).scalar_one_or_none() + if row is None: + raise HTTPException(401, "Invalid tenant key") + return row.tenant_id + + +@router.get("/health/live") +async def live(): + return {"status": "ok"} + + +@router.get("/health/ready") +async def ready(db: AsyncSession = Depends(db_session)): + try: + await db.execute(select(1)) + except Exception as exc: + raise HTTPException(503, "Database unavailable") from exc + return {"status": "ready"} + + +@router.post("/v1/platform/tenant-keys", status_code=201) +async def provision_key( + request: Request, + body: dict, + authorization: str | None = Header(default=None), + db: AsyncSession = Depends(db_session), +): + secret = request.app.state.settings.tenant_provisioning_secret + if ( + secret is None + or not authorization + or not secrets.compare_digest(authorization, "Bearer " + secret.get_secret_value()) + ): + raise HTTPException(401, "Provisioner authentication required") + tenant = body.get("tenant_id") + if not isinstance(tenant, str) or not tenant.strip() or len(tenant) > 128: + raise HTTPException(422, "tenant_id must be a non-empty string up to 128 characters") + if await db.get(TenantKey, tenant): + raise HTTPException(409, "Tenant key already provisioned") + raw = "tnt_" + secrets.token_urlsafe(32) + db.add(TenantKey(tenant_id=tenant, verifier=digest(raw))) + try: + await db.commit() + except IntegrityError as exc: + await db.rollback() + raise HTTPException(409, "Tenant key already provisioned") from exc + return {"tenant_id": tenant, "tenant_key": raw} + + +@router.post( + "/v1/lead-scoring/runs", + status_code=202, + response_model=RunSummary, + responses={200: {"model": RunSummary}}, +) +async def create_run( + body: RunRequest, + request: Request, + response: Response, + tenant: str = Depends(tenant_id), + raw_vkey: str | None = Header(default=None, alias="X-Tenant-VKey"), + db: AsyncSession = Depends(db_session), +): + payload = body.model_dump(mode="json") + canonical_body = canonical(payload) + if raw_vkey and raw_vkey.encode() in canonical_body: + raise HTTPException(422, "V-Key must not appear in the scoring payload") + fingerprint = hashlib.sha256(canonical_body).hexdigest() + request_key = str(body.request_id) + old = ( + await db.execute( + select(ScoringRun).where( + ScoringRun.tenant_id == tenant, ScoringRun.request_id == request_key + ) + ) + ).scalar_one_or_none() + if old: + if old.fingerprint != fingerprint: + raise HTTPException(409, "Request UUID already used with a different request") + response.status_code = 200 + return to_json(old) + profile = ( + await db.execute(select(AIProfile).where(AIProfile.active.is_(True))) + ).scalar_one_or_none() + row = ScoringRun( + tenant_id=tenant, + request_id=request_key, + fingerprint=fingerprint, + request=payload, + profile_version=profile.version if profile else "unconfigured", + ) + db.add(row) + try: + await db.commit() + except IntegrityError as exc: + await db.rollback() + raise HTTPException(409, "Request UUID conflict") from exc + try: + task = asyncio.create_task( + execute_run( + request.app.state.sessions, + row.id, + raw_vkey, + request.app.state.aihub_client, + ) + ) + except RuntimeError as exc: + row.status, row.completed_at, row.error_code = ( + "failed", + datetime.now(UTC), + "execution_failed", + ) + await db.commit() + raise HTTPException(503, "Run could not be scheduled") from exc + request.app.state.tasks.add(task) + task.add_done_callback(request.app.state.tasks.discard) + response.headers["Location"] = f"/v1/lead-scoring/runs/{row.id}" + return to_json(row) + + +@router.get("/v1/lead-scoring/runs/{run_id}", response_model=RunDetail) +async def get_run( + run_id: UUID, tenant: str = Depends(tenant_id), db: AsyncSession = Depends(db_session) +): + row = ( + await db.execute( + select(ScoringRun).where(ScoringRun.id == str(run_id), ScoringRun.tenant_id == tenant) + ) + ).scalar_one_or_none() + if row is None: + raise HTTPException(404, "Run not found") + return to_detail_json(row) diff --git a/src/ai_platform/presentation/http/rule_schemas.py b/src/ai_platform/presentation/http/rule_schemas.py new file mode 100644 index 0000000..5a4ee59 --- /dev/null +++ b/src/ai_platform/presentation/http/rule_schemas.py @@ -0,0 +1,128 @@ +import math +from typing import Any, Literal + +from pydantic import ( + BaseModel, + ConfigDict, + Field, + StrictFloat, + StrictInt, + field_validator, + model_validator, +) + +RuleOperator = Literal["eq", "ne", "gt", "gte", "lt", "lte", "contains", "exists"] +_NUMERIC_OPERATORS = {"gt", "gte", "lt", "lte"} +_INTEGER_METRICS = { + "profile_field_count", + "conversation_count", + "message_count", + "contact_message_count", + "customer_message_count", + "conversation_turn_count", + "contact_started_conversation_count", +} +_BOOLEAN_METRICS = {"customer_initiated_return"} +_RECENCY_METRICS = {"contact_message_recency_days", "contact_message_recency_hours"} +_METRICS = _INTEGER_METRICS | _BOOLEAN_METRICS | _RECENCY_METRICS +_PROFILE_FIELDS = {"ems_lead_id", "name", "phone", "email", "status"} + + +def _valid_scalar(value: Any) -> bool: + if value is None or isinstance(value, (str, bool, int)): + return not isinstance(value, float) + return isinstance(value, float) and math.isfinite(value) + + +class RuleInput(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + id: str = Field(min_length=1, max_length=64) + field: str = Field(min_length=1, max_length=128) + operator: RuleOperator + value: Any = None + points: StrictInt = Field(ge=-100, le=100) + + @field_validator("field") + @classmethod + def validate_field_path(cls, value: str) -> str: + parts = value.split(".") + if any(not part for part in parts): + raise ValueError("field must be a dotted path without empty segments") + if parts[0] == "custom_fields" and len(parts) >= 2: + return value + if parts[0] == "lead_profile": + if len(parts) == 2 and parts[1] in _PROFILE_FIELDS: + return value + if len(parts) >= 3 and parts[1] == "custom_fields": + return value + if parts[0] == "metrics" and len(parts) == 2 and parts[1] in _METRICS: + return value + raise ValueError("field must address lead_profile, custom_fields, or a supported metric") + + @field_validator("value") + @classmethod + def validate_bounded_value(cls, value: Any) -> Any: + if value is None or _valid_scalar(value): + if isinstance(value, str) and len(value) > 1_000: + raise ValueError("rule string values cannot exceed 1000 characters") + return value + if isinstance(value, list): + if len(value) > 100: + raise ValueError("rule list values cannot exceed 100 items") + if any(not _valid_scalar(item) for item in value): + raise ValueError("rule lists may contain only scalar JSON values") + if any(isinstance(item, str) and len(item) > 1_000 for item in value): + raise ValueError("rule list strings cannot exceed 1000 characters") + return value + raise ValueError("rule values must be scalar JSON values or a flat list") + + @model_validator(mode="after") + def validate_operator_value(self): + if self.field == "metrics.customer_initiated_return": + if self.operator not in {"eq", "ne"}: + raise ValueError("customer_initiated_return supports only eq/ne operators") + if type(self.value) is not bool: + raise ValueError("customer_initiated_return rules require a boolean value") + return self + if self.operator == "exists": + if self.value is not None: + raise ValueError("exists rules require a null value") + return self + if self.value is None: + raise ValueError("only exists rules may use a null value") + if self.field.startswith("metrics."): + metric = self.field.removeprefix("metrics.") + if self.operator == "contains": + raise ValueError("contains is not supported for numeric metrics") + if metric in _INTEGER_METRICS and type(self.value) is not int: + raise ValueError("count metrics require an integer rule value") + if metric in _RECENCY_METRICS and ( + isinstance(self.value, bool) or not isinstance(self.value, (int, float)) + ): + raise ValueError("recency rules require a numeric value") + if self.operator in _NUMERIC_OPERATORS and ( + isinstance(self.value, bool) or not isinstance(self.value, (int, float)) + ): + raise ValueError("numeric comparison rules require a numeric value") + if self.operator == "contains" and isinstance(self.value, list): + raise ValueError("contains rules require a scalar value") + return self + + +class ScoringConfigurationInput(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + version: str = Field(min_length=1, max_length=64) + rules: list[RuleInput] = Field(max_length=100) + rule_weight: StrictFloat = Field(ge=0, le=1, allow_inf_nan=False) + ai_weight: StrictFloat = Field(ge=0, le=1, allow_inf_nan=False) + + @model_validator(mode="after") + def valid_weights_and_rules(self): + if abs(self.rule_weight + self.ai_weight - 1) > 1e-9: + raise ValueError("rule_weight and ai_weight must sum to 1") + ids = [rule.id for rule in self.rules] + if len(ids) != len(set(ids)): + raise ValueError("rule IDs must be unique") + return self diff --git a/src/ai_platform/presentation/http/run_responses.py b/src/ai_platform/presentation/http/run_responses.py new file mode 100644 index 0000000..83fb438 --- /dev/null +++ b/src/ai_platform/presentation/http/run_responses.py @@ -0,0 +1,96 @@ +from datetime import datetime +from typing import Any, Literal +from uuid import UUID + +from pydantic import BaseModel, ConfigDict, Field, StrictBool + +from ai_platform.presentation.http.schemas import LeadScoringSnapshot + + +class RunSummary(BaseModel): + """Scoring outcome fields returned without the stored snapshot.""" + + model_config = ConfigDict(extra="forbid", frozen=True) + + run_id: UUID + request_id: UUID + tenant_id: str + status: Literal["pending", "running", "completed", "failed"] + profile_version: str + rule_score: int | None + ai_score: int | None + final_score: int | None + degraded: bool + result_mode: Literal["rules_only", "rules_only_fallback", "hybrid"] | None + error_code: str | None + breakdown: list[dict[str, Any]] | None + created_at: datetime | None + completed_at: datetime | None + + +class RunEvidenceItem(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True, strict=True) + + signal: str = Field(min_length=1, max_length=80) + detail: str = Field(min_length=1, max_length=500) + source: str = Field(min_length=1, max_length=120) + + +class RunMetrics(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True, strict=True) + + profile_field_count: int = Field( + ge=0, description="Count of non-null name, phone, email, and status fields." + ) + conversation_count: int = Field(ge=0) + message_count: int = Field(ge=0) + contact_message_count: int = Field(ge=0) + customer_message_count: int = Field( + ge=0, description="Compatibility alias for contact_message_count." + ) + conversation_turn_count: int = Field( + ge=0, + description="Consecutive sender groups after ordering conversation messages by sent_at.", + ) + contact_started_conversation_count: int = Field( + ge=0, + description=( + "Count of non-empty conversations whose earliest valid sent_at message is from " + "contact; equal message timestamps retain message snapshot order." + ), + ) + contact_message_recency_days: float | None = Field(default=None, ge=0) + contact_message_recency_hours: float | None = Field( + ge=0, + description=( + "Hours from the newest contact message with a valid sent_at to captured_at, " + "clamped to zero and rounded to two decimal places; null when either timestamp " + "is unavailable." + ), + ) + customer_initiated_return: StrictBool = Field( + description=( + "True only when more than one non-empty conversation has a valid message sent_at " + "and at least one conversation after the first starts with a contact message. " + "Conversations are ordered by earliest valid message sent_at, with equal start " + "times retaining original snapshot position. A conversation starts with the sender " + "of its earliest valid message; equal message timestamps retain message snapshot " + "order. Empty conversations are ignored." + ), + ) + + +class RunDetail(RunSummary): + """Scoring result, metrics, extracted evidence, and bounded snapshot.""" + + snapshot: LeadScoringSnapshot + metrics: RunMetrics + ai_confidence: float | None = Field(ge=0, le=1) + ai_reasoning: str | None = Field(max_length=2_000) + ai_evidence: list[RunEvidenceItem] | None = Field(default=None, max_length=20) + + +class RunList(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + runs: list[RunSummary] diff --git a/src/ai_platform/presentation/http/schemas.py b/src/ai_platform/presentation/http/schemas.py new file mode 100644 index 0000000..804aa99 --- /dev/null +++ b/src/ai_platform/presentation/http/schemas.py @@ -0,0 +1,147 @@ +from datetime import UTC, datetime, timedelta +from typing import Any, Literal +from uuid import UUID + +from pydantic import BaseModel, ConfigDict, Field, field_validator, model_validator + +from ai_platform.presentation.http.rule_schemas import ScoringConfigurationInput + + +def require_aware_utc(value: datetime) -> datetime: + if value.tzinfo is None or value.utcoffset() is None: + raise ValueError("timestamp must be timezone-aware") + return value.astimezone(UTC) + + +class SnapshotLeadProfile(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + ems_lead_id: str = Field(min_length=1, max_length=255) + name: str | None = Field(default=None, max_length=255) + phone: str | None = Field(default=None, max_length=64) + email: str | None = Field(default=None, max_length=255) + status: str | None = Field(default=None, max_length=64) + custom_fields: dict[str, Any] = Field(default_factory=dict) + + +class SnapshotMessage(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + message_id: str = Field(min_length=1, max_length=255) + sender_type: Literal["contact", "agent", "bot"] + content: str = Field(min_length=1) + sent_at: datetime + + @field_validator("sent_at") + @classmethod + def sent_at_is_aware_utc(cls, value: datetime) -> datetime: + return require_aware_utc(value) + + +class SnapshotConversation(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + conversation_id: str = Field(min_length=1, max_length=255) + channel: str | None = Field(default=None, max_length=64) + assigned_agent_id: str | None = Field(default=None, max_length=255) + messages: list[SnapshotMessage] = Field(default_factory=list) + + +class SnapshotIdentityContext(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + match_quality: Literal["direct", "phone_and_email", "phone_and_name", "phone_only"] | None = ( + None + ) + contact_id: str | None = Field(default=None, max_length=255) + details: dict[str, Any] = Field(default_factory=dict) + + +class SnapshotTriggerMetadata(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + trigger_type: Literal["manual_omni", "captain_tool", "dev_console"] | None = None + trigger_conversation_id: str | None = Field(default=None, max_length=255) + actor_id: str | None = Field(default=None, max_length=255) + + +class SnapshotTruncation(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + + truncated: bool = False + dropped_conversations_count: int = Field(default=0, ge=0) + dropped_messages_count: int = Field(default=0, ge=0) + reason: str | None = Field(default=None, max_length=255) + + +class LeadScoringSnapshot(BaseModel): + """Bounded HTTP representation of Omni's captured lead evidence.""" + + model_config = ConfigDict(extra="forbid", frozen=True) + + version: str | None = Field(default=None, max_length=64) + scope: Literal["trigger_only", "linked_contact_history", "multi_source_history"] | None = None + captured_at: datetime + lead_profile: SnapshotLeadProfile + conversations: list[SnapshotConversation] = Field(default_factory=list, max_length=10) + identity_context: SnapshotIdentityContext | None = None + trigger_metadata: SnapshotTriggerMetadata | None = None + truncation: SnapshotTruncation | None = None + + @field_validator("captured_at") + @classmethod + def captured_at_is_aware_utc(cls, value: datetime) -> datetime: + return require_aware_utc(value) + + @model_validator(mode="after") + def validate_evidence(self): + messages = [ + message for conversation in self.conversations for message in conversation.messages + ] + if len(messages) > 50: + raise ValueError("total messages exceed maximum cap of 50") + if sum(len(message.content) for message in messages) > 20_000: + raise ValueError("total message content exceeds maximum cap of 20000 characters") + + oldest_allowed = self.captured_at - timedelta(days=90) + for message in messages: + if message.sent_at > self.captured_at: + raise ValueError("message sent_at cannot be after captured_at") + if message.sent_at < oldest_allowed: + raise ValueError("message sent_at exceeds 90-day evidence window") + return self + + +class RunRequest(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + request_id: UUID + subject_ref: str = Field(min_length=1, max_length=255) + snapshot: LeadScoringSnapshot + scoring_config: ScoringConfigurationInput + ai_profile: Literal["light", "medium", "heavy"] + + @model_validator(mode="after") + def snapshot_size(self): + import json + + if ( + len(json.dumps(self.snapshot.model_dump(mode="json"), ensure_ascii=False).encode()) + > 100_000 + ): + raise ValueError("snapshot exceeds 100KB") + return self + + +class AIProfileInput(BaseModel): + model_config = ConfigDict(extra="forbid", frozen=True) + version: str = Field(min_length=1, max_length=64) + model: str = Field(min_length=1, max_length=128) + system_prompt: str = Field(min_length=1, max_length=8000) + timeout_seconds: int = Field(ge=1, le=120) + limits: dict[str, int] = Field(default_factory=dict) + + +class AdminLoginRequest(BaseModel): + model_config = ConfigDict(extra="forbid") + email: str = Field(min_length=3, max_length=254) + password: str = Field(min_length=1, max_length=1024) diff --git a/tests/conftest.py b/tests/conftest.py index 5867eac..01a08ca 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,57 +1,168 @@ -from collections.abc import Generator +import asyncio +import time +from collections.abc import Callable, Iterator +from typing import Any +from urllib.parse import urlsplit +from uuid import uuid4 +import httpx import pytest +from fastapi import FastAPI +from fastapi.testclient import TestClient +from sqlalchemy import delete, select -# Attempt import of testcontainers -postgres_container_cls = None -try: - try: - from testcontainers.community.postgres import PostgresContainer as _PostgresContainer - - postgres_container_cls = _PostgresContainer - except ImportError: - from testcontainers.postgres import PostgresContainer as _PostgresContainer - - postgres_container_cls = _PostgresContainer -except ImportError: - postgres_container_cls = None - - -@pytest.fixture(scope="session") -def postgres_container_url() -> Generator[str]: - """Provides a disposable PostgreSQL 16 container URL strictly via Docker testcontainers. - - Scoped to session to avoid duplicating container startup across tests. - No ambient admin or SQLite fallbacks. - """ - if postgres_container_cls is None: - raise RuntimeError( - "testcontainers package is required for PostgreSQL integration tests. " - "SQLite/localhost fallbacks are strictly prohibited." - ) - - try: - container = postgres_container_cls("postgres:16-alpine") - container.start() - host = container.get_container_host_ip() - port = container.get_exposed_port(5432) - user = container.username - password = container.password - dbname = container.dbname - url = f"postgresql+asyncpg://{user}:{password}@{host}:{port}/{dbname}" - try: - yield url - finally: - container.stop() - except Exception as exc: - raise RuntimeError( - f"Failed to start PostgreSQL testcontainer: {exc}. " - "Docker daemon must be running and accessible for integration tests. " - "SQLite/localhost fallbacks are prohibited." - ) from exc +from ai_platform.bootstrap.app import create_app +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.database import make_session_factory +from ai_platform.infrastructure.persistence.models import AIProfile, ScoringRun, TenantKey +from ai_platform.infrastructure.security import digest @pytest.fixture -def temp_postgres_db(postgres_container_url: str) -> str: - """Yields disposable PostgreSQL container database URL.""" - return postgres_container_url +def valid_run_payload(): + return { + "request_id": "f81c7c4e-a92a-4b19-8d7a-3a5c08eb4e6e", + "subject_ref": "lead-1", + "snapshot": { + "version": "1.0.0", + "scope": "linked_contact_history", + "captured_at": "2026-01-01T12:00:00Z", + "lead_profile": { + "ems_lead_id": "lead-1", + "name": "A. Example", + "custom_fields": {"region": "north"}, + }, + "conversations": [ + { + "conversation_id": "conversation-2", + "channel": "webchat", + "assigned_agent_id": "agent-1", + "messages": [ + { + "message_id": "message-2", + "sender_type": "agent", + "content": "Thanks for contacting us.", + "sent_at": "2025-12-31T11:00:00+00:00", + }, + { + "message_id": "message-1", + "sender_type": "contact", + "content": "I am interested.", + "sent_at": "2025-12-31T10:00:00+00:00", + }, + ], + } + ], + "identity_context": { + "match_quality": "phone_only", + "contact_id": "contact-1", + "details": {"source": "phone"}, + }, + "trigger_metadata": { + "trigger_type": "manual_omni", + "trigger_conversation_id": "conversation-2", + "actor_id": "user-1", + }, + }, + "scoring_config": { + "version": "omni-v1", + "rules": [ + { + "id": "region", + "field": "custom_fields.region", + "operator": "eq", + "value": "north", + "points": 25, + } + ], + "rule_weight": 1, + "ai_weight": 0, + }, + "ai_profile": "light", + } + + +@pytest.fixture +def aihub_test_environment() -> Iterator[dict[str, Any]]: + loaded = Settings.load() + database_name = urlsplit(loaded.database_url).path.rstrip("/").rsplit("/", 1)[-1] + if database_name != "ai_platform_test": + raise RuntimeError("AIHub scoring integration tests require /ai_platform_test") + settings = Settings( + database_url=loaded.database_url, + environment="development", + tenant_provisioning_secret=loaded.tenant_provisioning_secret, + aihub_base_url="http://localhost:8080", + ) + factory = make_session_factory(settings.database_url) + suffix = uuid4().hex + tenant_id = f"aihub-test-{suffix}" + profile_version = f"aihub-test-{suffix}" + tenant_key = "test-only-tenant-key" + vkey = "test-only-vkey-do-not-leak" + original_active: set[str] = set() + + async def setup() -> None: + nonlocal original_active + async with factory() as db: + profiles = (await db.scalars(select(AIProfile))).all() + original_active = {profile.version for profile in profiles if profile.active} + for profile in profiles: + profile.active = False + db.add( + AIProfile( + version=profile_version, + model="openai/gpt-4o-mini", + system_prompt="Dùng tiếng Việt. Chỉ phân tích dữ liệu được cung cấp.", + timeout_seconds=4, + limits={}, + active=True, + ) + ) + db.add(TenantKey(tenant_id=tenant_id, verifier=digest(tenant_key))) + await db.commit() + await factory.kw["bind"].dispose() + + async def cleanup() -> None: + async with factory() as db: + await db.execute(delete(ScoringRun).where(ScoringRun.tenant_id == tenant_id)) + await db.execute(delete(TenantKey).where(TenantKey.tenant_id == tenant_id)) + await db.execute(delete(AIProfile).where(AIProfile.version == profile_version)) + profiles = (await db.scalars(select(AIProfile))).all() + for profile in profiles: + profile.active = profile.version in original_active + await db.commit() + await factory.kw["bind"].dispose() + + asyncio.run(setup()) + + def app_for(handler: Callable[[httpx.Request], httpx.Response]) -> FastAPI: + return create_app(settings, aihub_transport=httpx.MockTransport(handler)) + + try: + yield { + "app_for": app_for, + "factory": factory, + "profile_version": profile_version, + "tenant_id": tenant_id, + "tenant_key": tenant_key, + "vkey": vkey, + } + finally: + asyncio.run(cleanup()) + + +def _wait_for_terminal(client: TestClient, run_id: str, headers: dict[str, str]) -> dict: + for _ in range(100): + response = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=headers) + assert response.status_code == 200 + result = response.json() + if result["status"] in {"completed", "failed"}: + return result + time.sleep(0.02) + pytest.fail("Scoring run did not reach a terminal state") + + +@pytest.fixture +def wait_for_terminal(): + return _wait_for_terminal diff --git a/tests/fixtures/mock_omni_run.json b/tests/fixtures/mock_omni_run.json new file mode 100644 index 0000000..d414ac0 --- /dev/null +++ b/tests/fixtures/mock_omni_run.json @@ -0,0 +1,52 @@ +{ + "request_id": "f81c7c4e-a92a-4b19-8d7a-3a5c08eb4e6e", + "subject_ref": "mock-lead-001", + "snapshot": { + "version": "1.0.0", + "scope": "linked_contact_history", + "captured_at": "2026-01-01T12:00:00Z", + "lead_profile": { + "ems_lead_id": "mock-lead-001", + "name": "Nguyen Minh An", + "phone": "+84000000001", + "email": "an@example.invalid", + "status": "new", + "custom_fields": {"region": "north", "program_interest": "data science"} + }, + "conversations": [ + { + "conversation_id": "mock-conversation-001", + "channel": "webchat", + "assigned_agent_id": "mock-agent-01", + "messages": [ + {"message_id": "mock-message-001", "sender_type": "contact", "content": "I am interested in the data science program.", "sent_at": "2025-12-31T10:00:00Z"}, + {"message_id": "mock-message-002", "sender_type": "agent", "content": "The next cohort starts in March.", "sent_at": "2025-12-31T10:05:00Z"}, + {"message_id": "mock-message-003", "sender_type": "contact", "content": "Please send me the application requirements.", "sent_at": "2025-12-31T10:10:00Z"} + ] + }, + { + "conversation_id": "mock-conversation-002", + "channel": "email", + "assigned_agent_id": "mock-agent-02", + "messages": [ + {"message_id": "mock-message-004", "sender_type": "agent", "content": "I have sent the program brochure.", "sent_at": "2025-12-31T11:00:00Z"}, + {"message_id": "mock-message-005", "sender_type": "contact", "content": "Thank you, I will review it today.", "sent_at": "2025-12-31T11:15:00Z"} + ] + } + ], + "identity_context": {"match_quality": "phone_and_email", "contact_id": "mock-contact-001", "details": {"source": "local_mock_fixture"}}, + "trigger_metadata": {"trigger_type": "manual_omni", "trigger_conversation_id": "mock-conversation-002", "actor_id": "mock-user-01"} + }, + "scoring_config": { + "version": "mock-omni-v1", + "rules": [ + {"id": "region-north", "field": "custom_fields.region", "operator": "eq", "value": "north", "points": 25}, + {"id": "program-interest", "field": "custom_fields.program_interest", "operator": "contains", "value": "data", "points": 35}, + {"id": "conversation-count", "field": "metrics.conversation_count", "operator": "eq", "value": 2, "points": 10}, + {"id": "contact-message-count", "field": "metrics.contact_message_count", "operator": "eq", "value": 3, "points": 10} + ], + "rule_weight": 1, + "ai_weight": 0 + }, + "ai_profile": "medium" +} diff --git a/tests/test_aihub_adapter.py b/tests/test_aihub_adapter.py new file mode 100644 index 0000000..3148a8a --- /dev/null +++ b/tests/test_aihub_adapter.py @@ -0,0 +1,118 @@ +import json + +import httpx +import pytest + +from ai_platform.infrastructure.aihub import AiHubClient, AiHubError + +VKEY = "request-only-vkey-test" + + +def client_for(handler, *, timeout: float = 0.2) -> tuple[AiHubClient, httpx.AsyncClient]: + transport = httpx.MockTransport(handler) + http_client = httpx.AsyncClient(transport=transport) + return AiHubClient("https://aihub.test", http_client, timeout), http_client + + +@pytest.mark.asyncio +async def test_sends_scoring_request_and_parses_scored_json(): + def handler(request: httpx.Request) -> httpx.Response: + assert request.method == "POST" + assert request.url.path == "/v1/chat/completions" + assert request.headers["authorization"] == f"Bearer {VKEY}" + assert "x-tenant-vkey" not in request.headers + body = json.loads(request.content) + assert body["stream"] is False + assert body["response_format"] == {"type": "json_object"} + return httpx.Response( + 200, + json={ + "choices": [ + { + "message": { + "content": '{"score": 82, "confidence": 0.93, "reasoning": "Strong fit"}' + } + } + ] + }, + ) + + adapter, http_client = client_for(handler) + try: + result = await adapter.score( + model="catalog-model", system_prompt="System", user_prompt="Snapshot", vkey=VKEY + ) + assert result.score == 82 + assert result.confidence == 0.93 + assert result.reasoning == "Strong fit" + finally: + await http_client.aclose() + + +@pytest.mark.parametrize("status", [401, 402, 429, 500, 503]) +@pytest.mark.asyncio +async def test_http_errors_are_sanitized(status: int): + adapter, http_client = client_for(lambda _request: httpx.Response(status, text=VKEY)) + try: + with pytest.raises(AiHubError, match=f"HTTP {status}") as error: + await adapter.score(model="m", system_prompt="s", user_prompt="u", vkey=VKEY) + assert VKEY not in str(error.value) + assert error.value.error_code == "aihub_http_error" + finally: + await http_client.aclose() + + +@pytest.mark.parametrize( + "body", + [ + b"not-json", + b'{"choices": []}', + b'{"choices": [{"message": {"content": "not-json"}}]}', + b'{"choices": [{"message": {"content": "{\\"score\\": 5}"}}]}', + b'{"choices": [{"message": {"content": "{\\"score\\": 5, \\"score\\": 6, \\"confidence\\": 0.5, \\"reasoning\\": \\"duplicate\\"}"}}]}', + ], +) +@pytest.mark.asyncio +async def test_malformed_scoring_responses_are_rejected(body: bytes): + adapter, http_client = client_for(lambda _request: httpx.Response(200, content=body)) + try: + with pytest.raises(AiHubError, match="invalid JSON response"): + await adapter.score(model="m", system_prompt="s", user_prompt="u", vkey=VKEY) + finally: + await http_client.aclose() + + +@pytest.mark.asyncio +async def test_timeout_is_sanitized(): + def handler(_request: httpx.Request) -> httpx.Response: + raise httpx.ReadTimeout("upstream error includes " + VKEY) + + adapter, http_client = client_for(handler) + try: + with pytest.raises(AiHubError, match="timed out") as error: + await adapter.score(model="m", system_prompt="s", user_prompt="u", vkey=VKEY) + assert VKEY not in str(error.value) + assert error.value.error_code == "aihub_timeout" + finally: + await http_client.aclose() + + +@pytest.mark.asyncio +async def test_response_echoing_vkey_is_rejected_without_exposing_it(): + response = { + "choices": [ + { + "message": { + "content": json.dumps({"score": 70, "confidence": 0.8, "reasoning": VKEY}) + } + } + ] + } + adapter, http_client = client_for(lambda _request: httpx.Response(200, json=response)) + try: + with pytest.raises(AiHubError) as error: + await adapter.score(model="m", system_prompt="s", user_prompt="u", vkey=VKEY) + assert VKEY not in str(error.value) + assert error.value.error_code == "aihub_invalid_response" + finally: + await http_client.aclose() diff --git a/tests/test_aihub_echo_safety.py b/tests/test_aihub_echo_safety.py new file mode 100644 index 0000000..9befd19 --- /dev/null +++ b/tests/test_aihub_echo_safety.py @@ -0,0 +1,39 @@ +import json + +import httpx +import pytest + +from ai_platform.infrastructure.aihub import AiHubClient, AiHubError + + +@pytest.mark.asyncio +async def test_rejects_vkey_echo_after_json_unescaping(): + vkey = 'mock-key-with-"-and-\\' + response = { + "choices": [ + { + "message": { + "content": json.dumps({"score": 70, "confidence": 0.8, "reasoning": vkey}) + } + } + ] + } + client = AiHubClient( + "https://aihub.test", + httpx.AsyncClient( + transport=httpx.MockTransport(lambda _request: httpx.Response(200, json=response)) + ), + ) + try: + with pytest.raises(AiHubError) as error: + await client.score( + model="openai/gpt-4o-mini", + system_prompt="prompt", + user_prompt="snapshot", + vkey=vkey, + ) + finally: + await client.aclose() + + assert error.value.error_code == "aihub_invalid_response" + assert vkey not in str(error.value) diff --git a/tests/test_aihub_scoring_integration.py b/tests/test_aihub_scoring_integration.py new file mode 100644 index 0000000..4ba0192 --- /dev/null +++ b/tests/test_aihub_scoring_integration.py @@ -0,0 +1,193 @@ +import json +from pathlib import Path +from urllib.parse import urlsplit +from uuid import uuid4 + +import httpx +import pytest +from sqlalchemy import delete + +from ai_platform.infrastructure.aihub import AiHubClient +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.database import make_session_factory +from ai_platform.infrastructure.persistence.models import AIProfile, ScoringRun, TenantKey +from ai_platform.infrastructure.scoring import execute_run +from ai_platform.infrastructure.security import digest +from ai_platform.presentation.http.routes import to_detail_json +from ai_platform.presentation.http.run_responses import RunDetail + +FIXTURE = Path(__file__).parent / "fixtures" / "mock_omni_run.json" +VKEY = "mock-vkey-for-aihub-integration-only" + + +def _test_database_settings() -> Settings: + settings = Settings.load() + parsed = urlsplit(settings.database_url) + database_name = parsed.path.rstrip("/").rsplit("/", 1)[-1] + if database_name != "ai_platform_test" or parsed.hostname not in { + "127.0.0.1", + "localhost", + "::1", + "postgres", + }: + pytest.skip("requires the isolated ai_platform_test database") + return settings + + +def _response(content: str) -> httpx.Response: + return httpx.Response( + 200, + json={"choices": [{"message": {"content": content}}]}, + ) + + +@pytest.mark.parametrize( + ("case", "status", "error_code", "expected_calls"), + [ + ("rules_only", "completed", None, 0), + ("missing_key", "completed", "vkey_missing", 0), + ("missing_profile", "completed", "ai_profile_missing", 0), + ("deferred_light", "completed", "ai_profile_deferred", 0), + ("deferred_heavy", "completed", "ai_profile_deferred", 0), + ("missing_client", "completed", "aihub_not_configured", 0), + ("http_error", "completed", "aihub_http_error", 1), + ("timeout", "completed", "aihub_timeout", 1), + ("malformed_evidence", "completed", "aihub_invalid_evidence", 1), + ("malformed_score", "completed", "aihub_invalid_score", 2), + ("unexpected_provider_error", "failed", "execution_failed", 1), + ("invalid_stored_request", "failed", "execution_failed", 0), + ], +) +@pytest.mark.asyncio +async def test_scoring_execution_persists_hybrid_fallback_and_failed_results( + case: str, status: str, error_code: str | None, expected_calls: int +): + settings = _test_database_settings() + factory = make_session_factory(settings.database_url) + suffix = uuid4().hex + tenant_id = f"two-pass-{suffix}" + run_id = str(uuid4()) + request_id = str(uuid4()) + profile_version = f"test-medium-{suffix}" + payload = json.loads(FIXTURE.read_text()) + payload["request_id"] = request_id + payload["ai_profile"] = "medium" + payload["scoring_config"].update( + rules=[ + { + "id": "private-customer-rule-id", + "field": "custom_fields.region", + "operator": "eq", + "value": "north", + "points": 25, + } + ], + rule_weight=0.6, + ai_weight=0.4, + ) + if case == "rules_only": + payload["scoring_config"].update(rule_weight=1, ai_weight=0) + if case == "deferred_light": + payload["ai_profile"] = "light" + if case == "deferred_heavy": + payload["ai_profile"] = "heavy" + if case == "invalid_stored_request": + payload["scoring_config"] = {"ai_weight": 0.4} + + async with factory() as db: + db.add(TenantKey(tenant_id=tenant_id, verifier=digest("tenant-key-" + suffix))) + if case not in {"missing_profile", "invalid_stored_request"}: + db.add( + AIProfile( + version=profile_version, + model="openai/gpt-4o-mini", + system_prompt="Đánh giá mức độ phù hợp dựa trên hồ sơ và bằng chứng.", + timeout_seconds=7, + limits={}, + active=True, + ) + ) + await db.flush() + db.add( + ScoringRun( + id=run_id, + tenant_id=tenant_id, + request_id=request_id, + fingerprint="a" * 64, + request=payload, + profile_version=( + "unconfigured" + if case in {"missing_profile", "invalid_stored_request"} + else profile_version + ), + status="pending", + ) + ) + await db.commit() + + calls: list[httpx.Request] = [] + + def handler(request: httpx.Request) -> httpx.Response: + calls.append(request) + if case == "http_error": + return httpx.Response(429, text=f"private provider response {VKEY}") + if case == "timeout": + raise httpx.ReadTimeout(f"private provider error {VKEY}") + if case == "unexpected_provider_error": + raise RuntimeError(f"provider programming failure {VKEY}") + if case == "malformed_evidence": + return _response('{"items":[{"signal":"interest"}]}') + if len(calls) == 1: + return _response( + '{"items":[{"signal":"ý định","detail":"Hỏi yêu cầu đăng ký",' + '"source":"mock-message-001"}]}' + ) + if case == "malformed_score": + return _response('{"score":"81","confidence":0.91,"reasoning":"Không hợp lệ"}') + return _response('{"score":81,"confidence":0.91,"reasoning":"Quan tâm rõ ràng"}') + + http_client = httpx.AsyncClient(transport=httpx.MockTransport(handler)) + aihub = AiHubClient("https://aihub.test", http_client) + try: + await execute_run( + factory, + run_id, + None if case == "missing_key" else VKEY, + None if case == "missing_client" else aihub, + ) + async with factory() as db: + row = await db.get(ScoringRun, run_id) + assert row is not None + detail = RunDetail.model_validate(to_detail_json(row)) + serialized = detail.model_dump_json() + assert VKEY not in serialized + assert len(calls) == expected_calls + assert row.status == status + assert row.error_code == error_code + assert row.ai_evidence is None + assert detail.ai_evidence is None + if case == "rules_only" or status == "completed": + assert row.ai_score is None + assert row.ai_confidence is None + assert row.ai_reasoning is None + assert row.final_score == row.rule_score == 25 + assert ( + row.result_mode == "rules_only" + if case == "rules_only" + else row.result_mode == "rules_only_fallback" + ) + assert row.degraded is (case != "rules_only") + else: + assert row.ai_score is None + assert row.ai_confidence is None + assert row.ai_reasoning is None + assert row.final_score is None + assert row.result_mode is None + finally: + await aihub.aclose() + async with factory() as db: + await db.execute(delete(ScoringRun).where(ScoringRun.id == run_id)) + await db.execute(delete(AIProfile).where(AIProfile.version == profile_version)) + await db.execute(delete(TenantKey).where(TenantKey.tenant_id == tenant_id)) + await db.commit() + await factory.kw["bind"].dispose() diff --git a/tests/test_aihub_scoring_success.py b/tests/test_aihub_scoring_success.py new file mode 100644 index 0000000..e56ae2f --- /dev/null +++ b/tests/test_aihub_scoring_success.py @@ -0,0 +1,171 @@ +import asyncio +import json +from pathlib import Path +from uuid import uuid4 + +import httpx +import pytest +from fastapi.testclient import TestClient +from sqlalchemy.ext.asyncio import AsyncSession, async_sessionmaker + +from ai_platform.infrastructure.persistence.models import ScoringRun +from ai_platform.presentation.http.schemas import RunRequest + +FIXTURE = Path(__file__).parent / "fixtures" / "mock_omni_run.json" + + +def _completion(content: dict) -> httpx.Response: + return httpx.Response( + 200, + json={"choices": [{"message": {"content": json.dumps(content, ensure_ascii=False)}}]}, + ) + + +def test_medium_two_pass_scoring_persists_weighted_result( + aihub_test_environment: dict, + wait_for_terminal, + caplog: pytest.LogCaptureFixture, +): + vkey = aihub_test_environment["vkey"] + requests: list[httpx.Request] = [] + + def handler(request: httpx.Request) -> httpx.Response: + requests.append(request) + body = json.loads(request.content) + if "Trích xuất bằng chứng" in body["messages"][1]["content"]: + return _completion( + { + "items": [ + { + "signal": "ý định đăng ký", + "detail": "Đã hỏi về hồ sơ đăng ký.", + "source": "mock-message-003", + } + ] + } + ) + return _completion( + {"score": 80, "confidence": 0.91, "reasoning": "Thể hiện nhu cầu rõ ràng."} + ) + + app = aihub_test_environment["app_for"](handler) + headers = {"Authorization": f"Bearer {aihub_test_environment['tenant_key']}"} + payload = json.loads(FIXTURE.read_text()) + payload["request_id"] = str(uuid4()) + payload["scoring_config"] = { + "version": "test-rules-v1", + "rules": [ + { + "id": "customer-rule-secret", + "field": "custom_fields.region", + "operator": "eq", + "value": "north", + "points": 40, + } + ], + "rule_weight": 0.25, + "ai_weight": 0.75, + } + payload["ai_profile"] = "medium" + + with TestClient(app) as client: + created = client.post( + "/v1/lead-scoring/runs", + headers={**headers, "X-Tenant-VKey": vkey}, + json=payload, + ) + assert created.status_code == 202 + summary = wait_for_terminal(client, created.json()["run_id"], headers) + assert summary["status"] == "completed" + assert summary["rule_score"] == 40 + assert summary["ai_score"] == 80 + assert summary["final_score"] == 70 + assert summary["error_code"] is None + assert "snapshot" not in created.json() + assert "ai_confidence" not in created.json() + assert "ai_reasoning" not in created.json() + assert "metrics" not in created.json() + + detail = client.get(f"/v1/lead-scoring/runs/{summary['run_id']}", headers=headers) + expected_snapshot = RunRequest.model_validate(payload).model_dump(mode="json")["snapshot"] + assert detail.status_code == 200 + assert detail.json()["snapshot"] == expected_snapshot + assert detail.json()["ai_confidence"] == 0.91 + assert detail.json()["ai_reasoning"] == "Thể hiện nhu cầu rõ ràng." + assert detail.json()["ai_evidence"] == [ + { + "signal": "ý định đăng ký", + "detail": "Đã hỏi về hồ sơ đăng ký.", + "source": "mock-message-003", + } + ] + assert detail.json()["metrics"] == { + "profile_field_count": 4, + "conversation_count": 2, + "message_count": 5, + "contact_message_count": 3, + "customer_message_count": 3, + "conversation_turn_count": 5, + "contact_started_conversation_count": 1, + "contact_message_recency_days": 1.03, + "contact_message_recency_hours": 24.75, + "customer_initiated_return": False, + } + + fallback_payload = json.loads(FIXTURE.read_text()) + fallback_payload["request_id"] = str(uuid4()) + fallback_payload["scoring_config"].update(rule_weight=0.25, ai_weight=0.75) + fallback = client.post("/v1/lead-scoring/runs", headers=headers, json=fallback_payload) + assert fallback.status_code == 202 + fallback_summary = wait_for_terminal(client, fallback.json()["run_id"], headers) + assert fallback_summary["error_code"] == "vkey_missing" + fallback_detail = client.get( + f"/v1/lead-scoring/runs/{fallback_summary['run_id']}", headers=headers + ) + assert fallback_detail.status_code == 200 + assert fallback_detail.json()["ai_evidence"] is None + assert fallback_detail.json()["ai_reasoning"] is None + assert fallback_detail.json()["metrics"] == detail.json()["metrics"] + assert vkey not in fallback_detail.text + assert len(requests) == 2 + bodies = [json.loads(request.content) for request in requests] + assert all(body["model"] == "openai/gpt-4o-mini" for body in bodies) + assert bodies[0]["messages"][0]["content"].startswith("Bạn chỉ trích xuất") + assert bodies[1]["messages"][0]["content"].startswith("Dùng tiếng Việt") + for request, body in zip(requests, bodies, strict=True): + prompt = json.dumps(body["messages"], ensure_ascii=False) + assert request.headers["authorization"] == f"Bearer {vkey}" + assert "x-tenant-vkey" not in request.headers + assert request.extensions["timeout"]["read"] == 4 + assert "customer-rule-secret" not in prompt + assert '"points"' not in prompt + assert "scoring_config" not in prompt + assert vkey not in prompt + assert "lead_profile" in bodies[0]["messages"][1]["content"] + assert "SNAPSHOT:" in bodies[1]["messages"][1]["content"] + assert "EVIDENCE:" in bodies[1]["messages"][1]["content"] + + async def verify_persisted_run( + factory: async_sessionmaker[AsyncSession], + ) -> None: + async with factory() as db: + row = await db.get(ScoringRun, summary["run_id"]) + assert row is not None + assert row.profile_version == aihub_test_environment["profile_version"] + assert row.request["snapshot"] == expected_snapshot + assert row.ai_score == 80 + assert row.ai_confidence == 0.91 + assert row.ai_reasoning == "Thể hiện nhu cầu rõ ràng." + assert row.ai_evidence == detail.json()["ai_evidence"] + assert vkey not in json.dumps( + {"request": row.request, "ai_evidence": row.ai_evidence} + ) + assert vkey not in json.dumps(row.request) + fallback_row = await db.get(ScoringRun, fallback_summary["run_id"]) + assert fallback_row is not None + assert fallback_row.ai_evidence is None + await factory.kw["bind"].dispose() + + asyncio.run(verify_persisted_run(aihub_test_environment["factory"])) + assert vkey not in detail.text + assert vkey not in caplog.text diff --git a/tests/test_aihub_settings.py b/tests/test_aihub_settings.py new file mode 100644 index 0000000..ae7dd13 --- /dev/null +++ b/tests/test_aihub_settings.py @@ -0,0 +1,43 @@ +import pytest +from pydantic import SecretStr, ValidationError + +from ai_platform.infrastructure.config.settings import Settings + +_TEST_DATABASE_URL = "postgresql+asyncpg://test:test@localhost/ai_platform_test" + + +def test_aihub_base_url_accepts_local_http(): + settings = Settings( + database_url=_TEST_DATABASE_URL, + environment="development", + aihub_base_url="http://localhost:8080", + ) + assert settings.aihub_base_url == "http://localhost:8080" + + +@pytest.mark.parametrize( + "base_url", + [ + "ftp://localhost:8080", + "http://user:password@localhost:8080", + "http://localhost:8080?token=secret", + "http://aihub:8080", + ], +) +def test_aihub_base_url_rejects_invalid_or_nonlocal_http(base_url: str): + with pytest.raises(ValidationError): + Settings( + database_url=_TEST_DATABASE_URL, + environment="development", + aihub_base_url=base_url, + ) + + +def test_aihub_base_url_requires_https_outside_development(): + with pytest.raises(ValidationError): + Settings( + database_url=_TEST_DATABASE_URL, + environment="production", + tenant_provisioning_secret=SecretStr("a-provisioner-secret"), + aihub_base_url="http://localhost:8080", + ) diff --git a/tests/test_aihub_two_pass.py b/tests/test_aihub_two_pass.py new file mode 100644 index 0000000..c092231 --- /dev/null +++ b/tests/test_aihub_two_pass.py @@ -0,0 +1,119 @@ +import json + +import httpx +import pytest + +from ai_platform.infrastructure.aihub import AiHubClient, AiHubError +from ai_platform.infrastructure.scoring import _scoring_system_prompt, _scoring_user_prompt + +VKEY = "request-only-vkey-test-secret" + + +def completion(content: str) -> httpx.Response: + return httpx.Response( + 200, + json={"choices": [{"message": {"content": content}}]}, + ) + + +@pytest.mark.asyncio +async def test_two_pass_adapter_uses_same_model_timeout_and_vkey_without_putting_key_in_prompts(): + requests: list[httpx.Request] = [] + + def handler(request: httpx.Request) -> httpx.Response: + requests.append(request) + body = json.loads(request.content) + assert body["model"] == "openai/gpt-4o-mini" + assert body["stream"] is False + assert body["response_format"] == {"type": "json_object"} + assert request.headers["authorization"] == f"Bearer {VKEY}" + assert request.extensions["timeout"]["read"] == 7 + return completion( + '{"items":[{"signal":"ý định","detail":"Hỏi điều kiện đăng ký","source":"message-1"}]}' + if len(requests) == 1 + else '{"score":81,"confidence":0.91,"reasoning":"Quan tâm rõ ràng"}' + ) + + http_client = httpx.AsyncClient(transport=httpx.MockTransport(handler)) + client = AiHubClient("https://aihub.test", http_client) + snapshot = { + "lead_profile": {"name": "Example", "custom_fields": {"region": "north"}}, + "conversations": [ + { + "messages": [ + { + "message_id": "message-1", + "sender_type": "contact", + "content": "Please send me requirements.", + } + ] + } + ], + } + try: + evidence = await client.extract_evidence( + model="openai/gpt-4o-mini", snapshot=snapshot, vkey=VKEY, timeout=7 + ) + score = await client.score( + model="openai/gpt-4o-mini", + system_prompt=_scoring_system_prompt("Đánh giá theo hồ sơ AI đã cấu hình."), + user_prompt=_scoring_user_prompt(snapshot, evidence.model_dump(mode="json")), + vkey=VKEY, + timeout=7, + ) + finally: + await client.aclose() + + assert score.score == 81 + assert score.confidence == 0.91 + assert len(requests) == 2 + for request in requests: + body = json.loads(request.content) + prompt = " ".join(message["content"] for message in body["messages"]) + assert VKEY not in prompt + assert '"points"' not in prompt + assert '"rule_weight"' not in prompt + assert '"ai_weight"' not in prompt + assert "message-1" in json.loads(requests[0].content)["messages"][1]["content"] + assert "EVIDENCE" in json.loads(requests[1].content)["messages"][1]["content"] + + +@pytest.mark.asyncio +async def test_aihub_errors_have_stable_codes_and_do_not_expose_response_or_request_secret(): + def handler(_request: httpx.Request) -> httpx.Response: + return httpx.Response(429, text=f"private response mentions {VKEY}") + + client = AiHubClient( + "https://aihub.test", httpx.AsyncClient(transport=httpx.MockTransport(handler)) + ) + try: + with pytest.raises(AiHubError) as error: + await client.extract_evidence(model="openai/gpt-4o-mini", snapshot={}, vkey=VKEY) + finally: + await client.aclose() + + assert error.value.error_code == "aihub_http_error" + assert VKEY not in str(error.value) + assert "private response" not in str(error.value) + + +@pytest.mark.asyncio +async def test_aihub_rejects_response_that_echoes_request_vkey(): + client = AiHubClient( + "https://aihub.test", + httpx.AsyncClient( + transport=httpx.MockTransport( + lambda _request: completion( + json.dumps({"items": [{"signal": "s", "detail": VKEY, "source": "m"}]}) + ) + ) + ), + ) + try: + with pytest.raises(AiHubError) as error: + await client.extract_evidence(model="openai/gpt-4o-mini", snapshot={}, vkey=VKEY) + finally: + await client.aclose() + + assert error.value.error_code == "aihub_invalid_response" + assert VKEY not in str(error.value) diff --git a/tests/test_api_surface.py b/tests/test_api_surface.py new file mode 100644 index 0000000..7b792d2 --- /dev/null +++ b/tests/test_api_surface.py @@ -0,0 +1,132 @@ +from types import SimpleNamespace +from typing import cast +from uuid import uuid4 + +import pytest +from pydantic import ValidationError + +from ai_platform.bootstrap.app import create_app +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.models import ScoringRun +from ai_platform.presentation.http.routes import to_detail_json +from ai_platform.presentation.http.run_responses import RunDetail, RunMetrics + + +def test_run_detail_and_summary_responses_are_documented(): + openapi = create_app(Settings()).openapi() + paths = openapi["paths"] + schemas = openapi["components"]["schemas"] + + assert paths["/v1/lead-scoring/runs"]["post"]["responses"]["202"]["content"][ + "application/json" + ]["schema"] == {"$ref": "#/components/schemas/RunSummary"} + assert paths["/v1/lead-scoring/runs"]["post"]["responses"]["200"]["content"][ + "application/json" + ]["schema"] == {"$ref": "#/components/schemas/RunSummary"} + assert paths["/v1/lead-scoring/runs/{run_id}"]["get"]["responses"]["200"]["content"][ + "application/json" + ]["schema"] == {"$ref": "#/components/schemas/RunDetail"} + assert paths["/v1/admin/runs"]["get"]["responses"]["200"]["content"]["application/json"][ + "schema" + ] == {"$ref": "#/components/schemas/RunList"} + assert paths["/v1/admin/runs/{run_id}"]["get"]["responses"]["200"]["content"][ + "application/json" + ]["schema"] == {"$ref": "#/components/schemas/RunDetail"} + + assert "snapshot" not in schemas["RunSummary"]["properties"] + assert "metrics" not in schemas["RunSummary"]["properties"] + assert "snapshot" in schemas["RunDetail"]["properties"] + assert "metrics" in schemas["RunDetail"]["properties"] + assert "ai_evidence" in schemas["RunDetail"]["properties"] + assert "profile_field_count" in schemas["RunMetrics"]["properties"] + assert "conversation_turn_count" in schemas["RunMetrics"]["properties"] + assert "contact_started_conversation_count" in schemas["RunMetrics"]["properties"] + assert "contact_message_recency_hours" in schemas["RunMetrics"]["properties"] + assert "contact_message_recency_hours" in schemas["RunMetrics"]["required"] + assert schemas["RunMetrics"]["properties"]["customer_initiated_return"]["type"] == "boolean" + assert ( + "original snapshot position" + in schemas["RunMetrics"]["properties"]["customer_initiated_return"]["description"] + ) + assert schemas["RunDetail"]["properties"]["ai_evidence"]["anyOf"][0]["maxItems"] == 20 + assert schemas["RunList"]["properties"]["runs"]["items"] == { + "$ref": "#/components/schemas/RunSummary" + } + + +def test_run_detail_serializes_new_metrics_and_requires_boolean_values(): + snapshot = { + "captured_at": "2025-09-25T10:00:00Z", + "lead_profile": {"ems_lead_id": "lead-1"}, + "conversations": [ + {"conversation_id": "empty", "messages": []}, + { + "conversation_id": "first", + "messages": [ + { + "message_id": "m1", + "sender_type": "agent", + "content": "Hello", + "sent_at": "2025-09-25T08:00:00Z", + } + ], + }, + { + "conversation_id": "second", + "messages": [ + { + "message_id": "m2", + "sender_type": "contact", + "content": "Thanks", + "sent_at": "2025-09-25T09:00:00Z", + } + ], + }, + ], + } + row = SimpleNamespace( + id=str(uuid4()), + request_id=str(uuid4()), + tenant_id="tenant-1", + status="completed", + profile_version="profile-v1", + rule_score=80, + ai_score=None, + final_score=80, + degraded=False, + result_mode="rules_only", + error_code=None, + breakdown=[], + created_at=None, + completed_at=None, + request={"snapshot": snapshot}, + ai_confidence=None, + ai_reasoning=None, + ai_evidence=None, + ) + + detail = RunDetail.model_validate(to_detail_json(cast(ScoringRun, row))) + + assert detail.metrics.conversation_count == 3 + assert detail.metrics.contact_message_recency_days == 0.04 + assert detail.metrics.contact_message_recency_hours == 1.0 + assert detail.metrics.contact_started_conversation_count == 1 + assert detail.metrics.customer_initiated_return is True + with pytest.raises(ValidationError): + RunMetrics.model_validate({**detail.metrics.model_dump(), "customer_initiated_return": 1}) + + +def test_required_routes_are_registered(): + app = create_app(Settings()) + paths = set(app.openapi()["paths"]) + assert { + "/v1/admin/login", + "/v1/admin/logout", + "/v1/admin/me", + "/v1/admin/ai-profiles", + "/v1/admin/runs", + "/v1/admin/runs/{run_id}", + "/v1/lead-scoring/runs", + "/v1/lead-scoring/runs/{run_id}", + "/v1/platform/tenant-keys", + } <= paths diff --git a/tests/test_derived_metrics.py b/tests/test_derived_metrics.py new file mode 100644 index 0000000..5e100da --- /dev/null +++ b/tests/test_derived_metrics.py @@ -0,0 +1,185 @@ +from copy import deepcopy + +from ai_platform.lead_scoring.domain.scoring import ( + Rule, + ScoringConfiguration, + derive_metrics, + score_rules, +) + + +def test_profile_and_conversation_metrics_are_available_to_caller_rules(): + snapshot = { + "captured_at": "2025-09-25T10:00:00Z", + "lead_profile": { + "name": "Example", + "email": "example@example.invalid", + "custom_fields": {"region": "north"}, + }, + "conversations": [ + { + "messages": [ + {"sender_type": "contact", "sent_at": "2025-09-24T10:00:00Z"}, + {"sender_type": "agent", "sent_at": "2025-09-25T09:00:00Z"}, + ] + }, + {"messages": [{"sender_type": "bot", "sent_at": "2025-09-25T09:30:00Z"}]}, + ], + } + before = deepcopy(snapshot) + policy = ScoringConfiguration( + version="omni-8", + rules=( + Rule("region", "custom_fields.region", "eq", "north", 10), + Rule("profile-fields", "metrics.profile_field_count", "eq", 2, 1), + Rule("conversations", "metrics.conversation_count", "eq", 2, 20), + Rule("messages", "metrics.message_count", "eq", 3, 20), + Rule("contacts", "metrics.contact_message_count", "eq", 1, 20), + Rule("legacy-customer-messages", "metrics.customer_message_count", "eq", 1, 1), + Rule("turns", "metrics.conversation_turn_count", "eq", 3, 1), + Rule("contact-started", "metrics.contact_started_conversation_count", "eq", 1, 1), + Rule("recency", "metrics.contact_message_recency_days", "eq", 1.0, 20), + ), + rule_weight=1.0, + ai_weight=0.0, + ) + + score, breakdown = score_rules(snapshot, policy) + + assert score == 94 + assert all(item["matched"] for item in breakdown) + assert snapshot == before + assert derive_metrics(snapshot)["customer_initiated_return"] is False + + +def test_turn_and_contact_start_metrics_use_message_timestamps_not_array_order(): + conversations = [ + { + "messages": [ + {"sender_type": "agent", "sent_at": "2025-09-25T11:00:00Z"}, + {"sender_type": "contact", "sent_at": "2025-09-25T09:00:00Z"}, + {"sender_type": "agent", "sent_at": "2025-09-25T10:00:00Z"}, + ] + }, + { + "messages": [ + {"sender_type": "contact", "sent_at": "2025-09-25T11:00:00Z"}, + {"sender_type": "agent", "sent_at": "2025-09-25T10:00:00Z"}, + ] + }, + ] + snapshot = {"conversations": conversations} + + metrics = derive_metrics(snapshot) + for conversation in conversations: + conversation["messages"].reverse() + + assert metrics["conversation_turn_count"] == 4 + assert metrics["contact_started_conversation_count"] == 1 + assert metrics["customer_message_count"] == metrics["contact_message_count"] == 2 + assert derive_metrics(snapshot) == metrics + + +def test_contact_recency_hours_uses_newest_valid_message_and_rounds_to_two_decimals(): + metrics = derive_metrics( + { + "captured_at": "2025-09-25T10:00:00Z", + "conversations": [ + { + "messages": [ + {"sender_type": "contact", "sent_at": "not-a-timestamp"}, + {"sender_type": "contact", "sent_at": "2025-09-25T08:46:00Z"}, + ] + } + ], + } + ) + + assert metrics["contact_message_recency_hours"] == 1.23 + assert metrics["contact_message_recency_days"] == 0.05 + assert metrics["contact_message_count"] == 2 + + +def test_contact_recency_hours_clamps_future_contact_timestamp_to_zero(): + metrics = derive_metrics( + { + "captured_at": "2025-09-25T10:00:00Z", + "conversations": [ + {"messages": [{"sender_type": "contact", "sent_at": "2025-09-25T11:00:00Z"}]} + ], + } + ) + + assert metrics["contact_message_recency_hours"] == 0.0 + assert metrics["contact_message_recency_days"] == 0.0 + + +def test_empty_conversations_and_no_contact_messages_have_no_recency_or_return(): + metrics = derive_metrics( + { + "captured_at": "2025-09-25T10:00:00Z", + "conversations": [ + {"messages": []}, + {"messages": [{"sender_type": "agent", "sent_at": "2025-09-25T09:00:00Z"}]}, + ], + } + ) + + assert metrics["conversation_count"] == 2 + assert metrics["contact_started_conversation_count"] == 0 + assert metrics["contact_message_count"] == 0 + assert metrics["contact_message_recency_hours"] is None + assert metrics["contact_message_recency_days"] is None + assert metrics["customer_initiated_return"] is False + + +def test_customer_initiated_return_uses_chronology_not_array_order_and_skips_empty_conversations(): + agent_start = {"messages": [{"sender_type": "agent", "sent_at": "2025-09-25T08:00:00Z"}]} + contact_middle = {"messages": [{"sender_type": "contact", "sent_at": "2025-09-25T09:00:00Z"}]} + contact_latest = {"messages": [{"sender_type": "contact", "sent_at": "2025-09-25T10:00:00Z"}]} + empty = {"messages": []} + + first = derive_metrics({"conversations": [contact_latest, empty, agent_start, contact_middle]}) + shuffled = derive_metrics( + {"conversations": [contact_middle, contact_latest, agent_start, empty]} + ) + + assert first["customer_initiated_return"] is True + assert shuffled["customer_initiated_return"] is True + assert first["contact_started_conversation_count"] == 2 + assert shuffled["contact_started_conversation_count"] == 2 + + +def test_customer_initiated_return_breaks_equal_start_times_by_snapshot_position(): + agent_start = {"messages": [{"sender_type": "agent", "sent_at": "2025-09-25T08:00:00Z"}]} + contact_start = {"messages": [{"sender_type": "contact", "sent_at": "2025-09-25T08:00:00Z"}]} + + assert ( + derive_metrics({"conversations": [agent_start, contact_start]})["customer_initiated_return"] + is True + ) + assert ( + derive_metrics({"conversations": [contact_start, agent_start]})["customer_initiated_return"] + is False + ) + + +def test_boolean_metric_does_not_match_integer_rule_value(): + config = ScoringConfiguration( + version="omni-15", + rules=(Rule("boolean-as-number", "metrics.customer_initiated_return", "eq", 1, 10),), + rule_weight=1.0, + ai_weight=0.0, + ) + snapshot = { + "conversations": [ + {"messages": [{"sender_type": "agent", "sent_at": "2025-09-25T08:00:00Z"}]}, + {"messages": [{"sender_type": "contact", "sent_at": "2025-09-25T09:00:00Z"}]}, + ] + } + + score, breakdown = score_rules(snapshot, config) + + assert derive_metrics(snapshot)["customer_initiated_return"] is True + assert score == 0 + assert breakdown[0]["matched"] is False diff --git a/tests/test_domain_scoring.py b/tests/test_domain_scoring.py new file mode 100644 index 0000000..c35ded2 --- /dev/null +++ b/tests/test_domain_scoring.py @@ -0,0 +1,144 @@ +from ai_platform.lead_scoring.domain.scoring import Rule, ScoringConfiguration, score_rules + + +def test_caller_supplied_rules_are_deterministic_and_bounded(): + snapshot = {"lead_profile": {"custom_fields": {"region": "north", "age": 22}}} + policy = ScoringConfiguration( + version="omni-7", + rules=( + Rule("region", "custom_fields.region", "eq", "north", 65), + Rule("age", "custom_fields.age", "gte", 18, 20), + Rule("miss", "custom_fields.age", "gt", 30, 40), + ), + rule_weight=1.0, + ai_weight=0.0, + ) + first = score_rules(snapshot, policy) + assert first == score_rules(snapshot, policy) + assert first[0] == 85 + assert [item["rule_id"] for item in first[1]] == ["region", "age", "miss"] + + +def test_contact_recency_uses_latest_instant_across_timezones_and_message_order(): + base = { + "captured_at": "2025-09-25T10:00:00Z", + "lead_profile": {"custom_fields": {}}, + "conversations": [ + { + "messages": [ + {"sender_type": "contact", "sent_at": "2025-09-25T08:00:00+02:00"}, + {"sender_type": "contact", "sent_at": "2025-09-24T09:00:00Z"}, + {"sender_type": "agent", "sent_at": "2025-09-25T09:59:00Z"}, + ] + } + ], + } + policy = ScoringConfiguration( + version="omni-9", + rules=(Rule("recency", "metrics.contact_message_recency_days", "eq", 0.17, 1),), + rule_weight=1.0, + ai_weight=0.0, + ) + + assert score_rules(base, policy)[1][0]["matched"] + base["conversations"][0]["messages"].reverse() + assert score_rules(base, policy)[1][0]["matched"] + + +def test_contact_recency_is_none_without_contact_messages(): + snapshot = { + "captured_at": "2025-09-25T10:00:00Z", + "lead_profile": {"custom_fields": {}}, + "conversations": [ + {"messages": [{"sender_type": "agent", "sent_at": "2025-09-25T09:00:00Z"}]} + ], + } + policy = ScoringConfiguration( + version="omni-10", + rules=(Rule("missing", "metrics.contact_message_recency_days", "exists", None, 1),), + rule_weight=1.0, + ai_weight=0.0, + ) + + assert score_rules(snapshot, policy)[1][0]["matched"] is False + + +def test_missing_customer_fields_do_not_match_neq_or_null_and_unknown_operators_fail(): + snapshot = {"lead_profile": {"custom_fields": {}}} + policy = ScoringConfiguration( + version="omni-11", + rules=( + Rule("neq-missing", "custom_fields.region", "ne", "north", 10), + Rule("null-missing", "custom_fields.region", "eq", None, 10), + Rule("unknown", "custom_fields.region", "unsupported", "north", 10), + ), + rule_weight=1.0, + ai_weight=0.0, + ) + + score, breakdown = score_rules(snapshot, policy) + + assert score == 0 + assert all(not item["matched"] and item["points"] == 0 for item in breakdown) + + +def test_rule_comparisons_do_not_coerce_boolean_or_string_numbers(): + snapshot = { + "lead_profile": { + "custom_fields": { + "flag": True, + "age_text": "18", + "tags": [True], + "nested": {"region": "north"}, + } + } + } + policy = ScoringConfiguration( + version="omni-12", + rules=( + Rule("bool-eq-int", "custom_fields.flag", "eq", 1, 20), + Rule("bool-ne-int", "custom_fields.flag", "ne", 1, 20), + Rule("bool-gte", "custom_fields.flag", "gte", 1, 20), + Rule("string-gte-number", "custom_fields.age_text", "gte", 18, 20), + Rule("contains-int-in-bool-list", "custom_fields.tags", "contains", 1, 20), + Rule("nested-field", "custom_fields.nested.region", "eq", "north", 20), + Rule("int-eq-float", "metrics.conversation_count", "eq", 0.0, 20), + ), + rule_weight=1.0, + ai_weight=0.0, + ) + + score, breakdown = score_rules(snapshot, policy) + + assert score == 40 + assert [item["matched"] for item in breakdown] == [ + False, + False, + False, + False, + False, + True, + True, + ] + + +def test_rule_points_are_bounded_after_all_customer_rules(): + snapshot = {"lead_profile": {"custom_fields": {"match": True}}} + positive = ScoringConfiguration( + version="omni-13", + rules=( + Rule("a", "custom_fields.match", "eq", True, 100), + Rule("b", "custom_fields.match", "eq", True, 100), + ), + rule_weight=1.0, + ai_weight=0.0, + ) + negative = ScoringConfiguration( + version="omni-14", + rules=(Rule("a", "custom_fields.match", "eq", True, -100),), + rule_weight=1.0, + ai_weight=0.0, + ) + + assert score_rules(snapshot, positive)[0] == 100 + assert score_rules(snapshot, negative)[0] == 0 diff --git a/tests/test_mock_lead_scoring_flow.py b/tests/test_mock_lead_scoring_flow.py new file mode 100644 index 0000000..0324aca --- /dev/null +++ b/tests/test_mock_lead_scoring_flow.py @@ -0,0 +1,197 @@ +import asyncio +import json +from copy import deepcopy +from pathlib import Path +from urllib.parse import urlsplit +from uuid import uuid4 + +import pytest +from fastapi.testclient import TestClient +from pwdlib import PasswordHash +from sqlalchemy import delete + +from ai_platform.bootstrap.app import create_app +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.database import make_session_factory +from ai_platform.infrastructure.persistence.models import ( + AdminSession, + AdminUser, + ScoringRun, + TenantKey, +) +from ai_platform.presentation.http.schemas import RunRequest + +FIXTURE = Path(__file__).parent / "fixtures" / "mock_omni_run.json" + + +def require_test_database(settings: Settings) -> None: + database_name = urlsplit(settings.database_url).path.rstrip("/").rsplit("/", 1)[-1] + if database_name != "ai_platform_test": + raise RuntimeError("HTTP integration tests require a database ending in /ai_platform_test") + + +def wait_for_terminal(client: TestClient, run_id: str, headers: dict[str, str]) -> dict: + for _ in range(100): + response = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=headers) + assert response.status_code == 200 + result = response.json() + if result["status"] in {"completed", "failed"}: + return result + import time + + time.sleep(0.02) + pytest.fail("Scoring run did not reach a terminal state") + + +def test_postgres_http_mock_lead_scoring_flow(): + settings = Settings.load() + require_test_database(settings) + assert settings.tenant_provisioning_secret is not None, ( + "HTTP integration tests require AI_PLATFORM_TENANT_PROVISIONING_SECRET" + ) + payload = json.loads(FIXTURE.read_text()) + suffix = uuid4().hex + tenant_a, tenant_b = f"mock-flow-a-{suffix}", f"mock-flow-b-{suffix}" + admin_email = f"mock-flow-{suffix}@example.invalid" + admin_password = "mock-admin-password" + app = create_app(settings) + session_factory = make_session_factory(settings.database_url) + + async def create_test_admin() -> None: + async with session_factory() as session: + session.add( + AdminUser( + email=admin_email, + password_hash=PasswordHash.recommended().hash(admin_password), + ) + ) + await session.commit() + await session_factory.kw["bind"].dispose() + + asyncio.run(create_test_admin()) + + try: + with TestClient(app) as client: + provision_headers = { + "Authorization": f"Bearer {settings.tenant_provisioning_secret.get_secret_value()}" + } + tenant_keys: dict[str, str] = {} + for tenant in (tenant_a, tenant_b): + provisioned = client.post( + "/v1/platform/tenant-keys", + headers=provision_headers, + json={"tenant_id": tenant}, + ) + assert provisioned.status_code == 201 + tenant_keys[tenant] = provisioned.json()["tenant_key"] + + auth_a = {"Authorization": f"Bearer {tenant_keys[tenant_a]}"} + auth_b = {"Authorization": f"Bearer {tenant_keys[tenant_b]}"} + created = client.post("/v1/lead-scoring/runs", headers=auth_a, json=payload) + assert created.status_code == 202 + assert "snapshot" not in created.json() + run_id = created.json()["run_id"] + rules_only = wait_for_terminal(client, run_id, auth_a) + assert rules_only["status"] == "completed" + assert rules_only["degraded"] is False + assert rules_only["ai_score"] is None + assert rules_only["rule_score"] is not None + assert rules_only["final_score"] == rules_only["rule_score"] + + persisted = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=auth_a) + assert persisted.status_code == 200 + assert persisted.json() == rules_only + expected_snapshot = RunRequest.model_validate(payload).model_dump(mode="json")[ + "snapshot" + ] + assert persisted.json()["snapshot"] == expected_snapshot + assert [ + conversation["conversation_id"] + for conversation in persisted.json()["snapshot"]["conversations"] + ] == ["mock-conversation-001", "mock-conversation-002"] + assert [ + message["message_id"] + for message in persisted.json()["snapshot"]["conversations"][0]["messages"] + ] == ["mock-message-001", "mock-message-002", "mock-message-003"] + assert client.get(f"/v1/lead-scoring/runs/{run_id}").status_code == 401 + assert client.get(f"/v1/admin/runs/{run_id}").status_code == 401 + + admin_login = client.post( + "/v1/admin/login", json={"email": admin_email, "password": admin_password} + ) + assert admin_login.status_code == 200 + admin_list = client.get("/v1/admin/runs") + assert admin_list.status_code == 200 + admin_summaries = admin_list.json()["runs"] + assert all("snapshot" not in summary for summary in admin_summaries) + admin_detail = client.get(f"/v1/admin/runs/{run_id}") + assert admin_detail.status_code == 200 + assert admin_detail.json()["snapshot"] == expected_snapshot + assert admin_detail.json()["metrics"] == persisted.json()["metrics"] + assert persisted.json()["metrics"]["contact_message_recency_hours"] == 24.75 + assert persisted.json()["metrics"]["customer_initiated_return"] is False + + replay = client.post("/v1/lead-scoring/runs", headers=auth_a, json=payload) + assert replay.status_code == 200 + assert replay.json()["run_id"] == run_id + assert "snapshot" not in replay.json() + + changed = deepcopy(payload) + changed["scoring_config"]["rules"][0]["points"] = 24 + conflict = client.post("/v1/lead-scoring/runs", headers=auth_a, json=changed) + assert conflict.status_code == 409 + + isolated = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=auth_b) + assert isolated.status_code == 404 + + invalid = deepcopy(payload) + invalid["request_id"] = str(uuid4()) + invalid["snapshot"]["conversations"][0]["messages"][0]["sent_at"] = ( + "2025-12-31T10:00:00" + ) + rejected = client.post("/v1/lead-scoring/runs", headers=auth_a, json=invalid) + assert rejected.status_code == 422 + + ai_requested = deepcopy(payload) + ai_requested["request_id"] = str(uuid4()) + ai_requested["scoring_config"]["rule_weight"] = 0.6 + ai_requested["scoring_config"]["ai_weight"] = 0.4 + fallback_response = client.post( + "/v1/lead-scoring/runs", + headers={**auth_a, "X-Tenant-VKey": "mock-vkey-not-a-credential"}, + json=ai_requested, + ) + assert fallback_response.status_code == 202 + fallback = wait_for_terminal(client, fallback_response.json()["run_id"], auth_a) + assert fallback["status"] == "completed" + assert fallback["degraded"] is True + assert fallback["ai_score"] is None + assert fallback["rule_score"] is not None + assert fallback["final_score"] == fallback["rule_score"] + assert fallback["snapshot"] == expected_snapshot + assert "mock-vkey-not-a-credential" not in json.dumps(fallback) + + fallback_admin_detail = client.get( + f"/v1/admin/runs/{fallback_response.json()['run_id']}" + ) + assert fallback_admin_detail.status_code == 200 + assert fallback_admin_detail.json()["snapshot"] == expected_snapshot + assert "mock-vkey-not-a-credential" not in fallback_admin_detail.text + finally: + + async def cleanup() -> None: + async with session_factory() as session: + await session.execute( + delete(ScoringRun).where(ScoringRun.tenant_id.in_([tenant_a, tenant_b])) + ) + await session.execute( + delete(AdminSession).where(AdminSession.admin_email == admin_email) + ) + await session.execute(delete(AdminUser).where(AdminUser.email == admin_email)) + await session.execute( + delete(TenantKey).where(TenantKey.tenant_id.in_([tenant_a, tenant_b])) + ) + await session.commit() + await session_factory.kw["bind"].dispose() + + asyncio.run(cleanup()) diff --git a/tests/test_rule_validation.py b/tests/test_rule_validation.py new file mode 100644 index 0000000..38a2544 --- /dev/null +++ b/tests/test_rule_validation.py @@ -0,0 +1,91 @@ +from copy import deepcopy + +import pytest +from pydantic import ValidationError + +from ai_platform.presentation.http.schemas import RunRequest + + +@pytest.mark.parametrize( + ("field", "operator", "value"), + [ + ("custom_fields.interest.region", "eq", "north"), + ("lead_profile.email", "exists", None), + ("lead_profile.custom_fields.course", "contains", "IELTS"), + ("metrics.profile_field_count", "gte", 1), + ("metrics.conversation_count", "gte", 1), + ("metrics.conversation_turn_count", "gte", 3), + ("metrics.contact_started_conversation_count", "eq", 1), + ("metrics.contact_message_recency_hours", "gte", 1.5), + ("metrics.customer_initiated_return", "eq", True), + ("metrics.customer_initiated_return", "ne", False), + ("metrics.customer_message_count", "exists", None), + ], +) +def test_rules_accept_supported_customer_field_paths(valid_run_payload, field, operator, value): + data = deepcopy(valid_run_payload) + data["scoring_config"]["rules"][0].update(field=field, operator=operator, value=value) + + request = RunRequest.model_validate(data) + + assert request.scoring_config.rules[0].field == field + + +@pytest.mark.parametrize( + ("field", "operator", "value", "points"), + [ + ("snapshot.conversations", "exists", None, 1), + ("custom_fields..region", "eq", "north", 1), + ("metrics.unknown_metric", "eq", 1, 1), + ("metrics.conversation_turn_count", "eq", 1.0, 1), + ("metrics.contact_started_conversation_count", "contains", 1, 1), + ("metrics.customer_message_count", "gt", True, 1), + ("metrics.contact_message_recency_days", "contains", 1, 1), + ("metrics.contact_message_recency_hours", "contains", 1, 1), + ("metrics.customer_initiated_return", "eq", 1, 1), + ("metrics.customer_initiated_return", "ne", 0, 1), + ("metrics.customer_initiated_return", "gt", True, 1), + ("metrics.customer_initiated_return", "contains", True, 1), + ("metrics.customer_initiated_return", "exists", None, 1), + ("custom_fields.age", "gte", "18", 1), + ("custom_fields.age", "gt", True, 1), + ("custom_fields.age", "eq", None, 1), + ("custom_fields.age", "exists", "not-null", 1), + ("custom_fields.region", "eq", {"value": "north"}, 1), + ("custom_fields.tags", "contains", ["nested"], 1), + ("custom_fields.age", "eq", 18, True), + ("custom_fields.age", "eq", 18, 1.5), + ], +) +def test_rules_reject_invalid_paths_values_and_points( + valid_run_payload, field, operator, value, points +): + data = deepcopy(valid_run_payload) + data["scoring_config"]["rules"][0].update( + field=field, operator=operator, value=value, points=points + ) + + with pytest.raises(ValidationError): + RunRequest.model_validate(data) + + +def test_rule_values_enforce_size_limits(valid_run_payload): + data = deepcopy(valid_run_payload) + data["scoring_config"]["rules"][0]["value"] = "x" * 1_001 + + with pytest.raises(ValidationError, match="1000 characters"): + RunRequest.model_validate(data) + + data["scoring_config"]["rules"][0].update(operator="contains", value=["x"] * 101) + with pytest.raises(ValidationError, match="100 items"): + RunRequest.model_validate(data) + + +def test_scoring_weights_reject_boolean_and_string_types(valid_run_payload): + for rule_weight, ai_weight in ((True, 0), (0.5, "0.5")): + data = deepcopy(valid_run_payload) + data["scoring_config"]["rule_weight"] = rule_weight + data["scoring_config"]["ai_weight"] = ai_weight + + with pytest.raises(ValidationError): + RunRequest.model_validate(data) diff --git a/tests/test_run_contract.py b/tests/test_run_contract.py new file mode 100644 index 0000000..fe9d769 --- /dev/null +++ b/tests/test_run_contract.py @@ -0,0 +1,20 @@ +from copy import deepcopy + +import pytest +from pydantic import ValidationError + +from ai_platform.presentation.http.schemas import RunRequest + + +def test_run_request_contains_caller_rules_and_weights(valid_run_payload): + request = RunRequest.model_validate(valid_run_payload) + assert request.scoring_config.rules[0].points == 25 + assert request.scoring_config.ai_weight == 0 + + +def test_run_request_requires_weights_to_sum_to_one(valid_run_payload): + data = deepcopy(valid_run_payload) + data["scoring_config"].update(rule_weight=0.5, ai_weight=0.4) + + with pytest.raises(ValidationError): + RunRequest.model_validate(data) diff --git a/tests/test_security_primitives.py b/tests/test_security_primitives.py new file mode 100644 index 0000000..39fb053 --- /dev/null +++ b/tests/test_security_primitives.py @@ -0,0 +1,16 @@ +import hashlib + +from ai_platform.infrastructure.security import digest +from ai_platform.presentation.http.routes import canonical + + +def test_canonical_body_fingerprint_ignores_mapping_key_order(): + left = hashlib.sha256(canonical({"a": 1, "b": 2})).digest() + right = hashlib.sha256(canonical({"b": 2, "a": 1})).digest() + assert left == right + + +def test_secret_digest_is_one_way_verifier(): + raw = "tnt_example" + assert digest(raw) != raw + assert digest(raw) == digest(raw) diff --git a/tests/test_seed_demo.py b/tests/test_seed_demo.py new file mode 100644 index 0000000..c64a6b1 --- /dev/null +++ b/tests/test_seed_demo.py @@ -0,0 +1,179 @@ +from importlib.util import module_from_spec, spec_from_file_location +from pathlib import Path +from typing import Any + +import pytest +from pydantic import SecretStr + +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.presentation.http.schemas import RunRequest + +SEED_SCRIPT = Path(__file__).resolve().parents[1] / "scripts" / "seed_demo.py" +SEED_SPEC = spec_from_file_location("seed_demo_script", SEED_SCRIPT) +assert SEED_SPEC is not None and SEED_SPEC.loader is not None +seed_demo = module_from_spec(SEED_SPEC) +SEED_SPEC.loader.exec_module(seed_demo) + + +class FakeResponse: + def __init__(self, status_code: int, body: dict[str, Any]): + self.status_code = status_code + self._body = body + + def json(self) -> dict[str, Any]: + return self._body + + +class FakeClient: + def __init__(self, responses: list[FakeResponse]): + self.responses = responses + self.calls: list[tuple[str, str, dict[str, Any]]] = [] + + def post(self, path: str, **kwargs: Any) -> FakeResponse: + self.calls.append(("POST", path, kwargs)) + return self.responses.pop(0) + + def get(self, path: str, **kwargs: Any) -> FakeResponse: + self.calls.append(("GET", path, kwargs)) + return self.responses.pop(0) + + +def settings() -> Settings: + return Settings( + environment="development", + database_url="postgresql+asyncpg://local@127.0.0.1:55432/ai_platform", + tenant_provisioning_secret=SecretStr("provision-secret"), + ) + + +def complete_run_response(run_id: str, payload: dict[str, Any]) -> FakeResponse: + request = RunRequest.model_validate(payload).model_dump(mode="json") + return FakeResponse( + 200, + { + "run_id": run_id, + "status": "completed", + "rule_score": 80, + "ai_score": None, + "final_score": 80, + "degraded": False, + "request": {"snapshot": request["snapshot"]}, + }, + ) + + +def test_fixture_has_realistic_conversations_and_metrics_rules(): + payload = seed_demo.load_payload() + + assert len(payload["snapshot"]["conversations"]) == 2 + assert sum(len(c["messages"]) for c in payload["snapshot"]["conversations"]) == 5 + rules = payload["scoring_config"]["rules"] + assert {rule["field"] for rule in rules} >= { + "metrics.conversation_count", + "metrics.contact_message_count", + } + assert sum(rule["points"] for rule in rules) == 80 + assert payload["scoring_config"]["ai_weight"] == 0 + + +def test_seed_creates_one_run_and_reads_persisted_conversation_snapshot(): + payload = seed_demo.load_payload() + run_id = "123e4567-e89b-12d3-a456-426614174000" + client = FakeClient( + [ + FakeResponse(201, {"tenant_key": "tenant-secret"}), + FakeResponse(202, {"run_id": run_id}), + complete_run_response(run_id, payload), + ] + ) + + actual_id, result = seed_demo.seed_demo(client, settings()) + + assert actual_id == run_id + assert result["status"] == "completed" + assert result["ai_score"] is None + assert [call[1] for call in client.calls] == [ + "/v1/platform/tenant-keys", + "/v1/lead-scoring/runs", + f"/v1/lead-scoring/runs/{run_id}", + ] + assert client.calls[1][2]["json"] == payload + assert client.calls[2][2]["headers"]["Authorization"] == "Bearer tenant-secret" + + +def test_existing_tenant_without_key_stops_without_submitting_a_run(): + client = FakeClient([FakeResponse(409, {"detail": "Tenant key already provisioned"})]) + + with pytest.raises(SystemExit, match="one-time key is unavailable"): + seed_demo.seed_demo(client, settings()) + + assert [call[1] for call in client.calls] == ["/v1/platform/tenant-keys"] + + +def test_existing_tenant_key_skips_provisioning_and_accepts_idempotent_replay(): + payload = seed_demo.load_payload() + run_id = "123e4567-e89b-12d3-a456-426614174000" + client = FakeClient( + [ + FakeResponse(200, {"run_id": run_id}), + complete_run_response(run_id, payload), + ] + ) + + actual_id, _result = seed_demo.seed_demo(client, settings(), "existing-tenant-secret") + + assert actual_id == run_id + assert [call[1] for call in client.calls] == [ + "/v1/lead-scoring/runs", + f"/v1/lead-scoring/runs/{run_id}", + ] + assert client.calls[0][2]["headers"]["Authorization"] == "Bearer existing-tenant-secret" + + +def test_seed_rejects_readback_without_persisted_snapshot(): + run_id = "123e4567-e89b-12d3-a456-426614174000" + client = FakeClient( + [ + FakeResponse(202, {"run_id": run_id}), + FakeResponse( + 200, + { + "run_id": run_id, + "status": "completed", + "ai_score": None, + "degraded": False, + }, + ), + ] + ) + + with pytest.raises(SystemExit, match="did not return the persisted conversation snapshot"): + seed_demo.seed_demo(client, settings(), "existing-tenant-secret") + + +def test_seed_refuses_non_development_or_nonlocal_database_names(): + with pytest.raises(SystemExit, match="must be development"): + seed_demo.validate_local_target( + Settings(environment="production", tenant_provisioning_secret=SecretStr("secret")) + ) + with pytest.raises(SystemExit, match="API target must use the local"): + seed_demo.validate_local_target( + Settings( + environment="development", + database_url="postgresql+asyncpg://local@127.0.0.1:55432/ai_platform_test", + ) + ) + with pytest.raises(SystemExit, match="API target must use the local"): + seed_demo.validate_local_target( + Settings( + environment="development", + database_url="postgresql+asyncpg://local@remote.example:5432/ai_platform", + ) + ) + with pytest.raises(SystemExit, match="API target must use the local"): + seed_demo.validate_local_target( + Settings( + environment="development", + database_url="postgresql+asyncpg://local@db:5432/customer_data", + ) + ) diff --git a/tests/test_seed_demo_persistence.py b/tests/test_seed_demo_persistence.py new file mode 100644 index 0000000..d2a830d --- /dev/null +++ b/tests/test_seed_demo_persistence.py @@ -0,0 +1,107 @@ +import asyncio +import json +import time +from pathlib import Path +from urllib.parse import urlsplit +from uuid import uuid4 + +import pytest +from fastapi.testclient import TestClient +from sqlalchemy import delete, select + +from ai_platform.bootstrap.app import create_app +from ai_platform.infrastructure.config.settings import Settings +from ai_platform.infrastructure.persistence.database import make_session_factory +from ai_platform.infrastructure.persistence.models import ScoringRun, TenantKey +from ai_platform.presentation.http.schemas import RunRequest + +FIXTURE = Path(__file__).parent / "fixtures" / "mock_omni_run.json" + + +def isolated_test_settings() -> Settings: + settings = Settings.load() + parsed = urlsplit(settings.database_url) + database_name = parsed.path.rstrip("/").rsplit("/", 1)[-1] + if database_name != "ai_platform_test" or parsed.hostname not in { + "127.0.0.1", + "localhost", + "::1", + "postgres", + }: + pytest.skip("requires the dedicated local ai_platform_test database") + if settings.tenant_provisioning_secret is None: + pytest.skip("requires the local tenant provisioning secret") + return settings + + +def terminal_run(client: TestClient, run_id: str, headers: dict[str, str]) -> dict: + for _ in range(100): + response = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=headers) + assert response.status_code == 200 + result = response.json() + if result["status"] in {"completed", "failed"}: + return result + time.sleep(0.02) + pytest.fail("Scoring run did not reach a terminal state") + + +def test_api_seed_persists_and_reads_back_conversation_snapshot(): + settings = isolated_test_settings() + provisioning_secret = settings.tenant_provisioning_secret + assert provisioning_secret is not None + payload = json.loads(FIXTURE.read_text()) + expected_payload = RunRequest.model_validate(payload).model_dump(mode="json") + tenant_id = f"seed-persistence-{uuid4().hex}" + app = create_app(settings) + session_factory = make_session_factory(settings.database_url) + run_id: str | None = None + + try: + with TestClient(app) as client: + provisioned = client.post( + "/v1/platform/tenant-keys", + headers={"Authorization": ("Bearer " + provisioning_secret.get_secret_value())}, + json={"tenant_id": tenant_id}, + ) + assert provisioned.status_code == 201 + tenant_headers = {"Authorization": f"Bearer {provisioned.json()['tenant_key']}"} + + admitted = client.post("/v1/lead-scoring/runs", headers=tenant_headers, json=payload) + assert admitted.status_code == 202 + run_id = admitted.json()["run_id"] + assert isinstance(run_id, str) + completed = terminal_run(client, run_id, tenant_headers) + assert completed["status"] == "completed" + assert completed["ai_score"] is None + assert completed["degraded"] is False + assert completed["rule_score"] == 80 + assert completed["final_score"] == 80 + + readback = client.get(f"/v1/lead-scoring/runs/{run_id}", headers=tenant_headers) + assert readback.status_code == 200 + assert readback.json() == completed + api_snapshot = readback.json().get("snapshot") + if api_snapshot is None: + api_snapshot = readback.json().get("request", {}).get("snapshot") + assert api_snapshot == expected_payload["snapshot"] + finally: + + async def verify_and_cleanup_created_rows() -> None: + try: + async with session_factory() as session: + if run_id is not None: + row = await session.scalar( + select(ScoringRun).where( + ScoringRun.id == run_id, + ScoringRun.tenant_id == tenant_id, + ) + ) + assert row is not None + assert row.request["snapshot"] == expected_payload["snapshot"] + await session.execute(delete(ScoringRun).where(ScoringRun.id == run_id)) + await session.execute(delete(TenantKey).where(TenantKey.tenant_id == tenant_id)) + await session.commit() + finally: + await session_factory.kw["bind"].dispose() + + asyncio.run(verify_and_cleanup_created_rows()) diff --git a/tests/test_snapshot_contract.py b/tests/test_snapshot_contract.py new file mode 100644 index 0000000..c18eff8 --- /dev/null +++ b/tests/test_snapshot_contract.py @@ -0,0 +1,149 @@ +import json +from copy import deepcopy + +import pytest +from pydantic import ValidationError + +from ai_platform.presentation.http.schemas import RunRequest + + +def test_snapshot_preserves_known_omni_metadata_and_array_order(valid_run_payload): + request = RunRequest.model_validate(valid_run_payload) + snapshot = request.snapshot + + assert snapshot.version == "1.0.0" + assert snapshot.scope == "linked_contact_history" + assert snapshot.identity_context is not None + assert ( + snapshot.identity_context.model_dump() == valid_run_payload["snapshot"]["identity_context"] + ) + assert snapshot.trigger_metadata is not None + assert ( + snapshot.trigger_metadata.model_dump() == valid_run_payload["snapshot"]["trigger_metadata"] + ) + assert snapshot.conversations[0].channel == "webchat" + assert [message.message_id for message in snapshot.conversations[0].messages] == [ + "message-2", + "message-1", + ] + + +def test_message_order_remains_significant_to_canonical_fingerprint(valid_run_payload): + original = RunRequest.model_validate(valid_run_payload).model_dump(mode="json") + reordered_payload = deepcopy(valid_run_payload) + reordered_payload["snapshot"]["conversations"][0]["messages"].reverse() + reordered = RunRequest.model_validate(reordered_payload).model_dump(mode="json") + + assert json.dumps(original, sort_keys=True, separators=(",", ":")) != json.dumps( + reordered, sort_keys=True, separators=(",", ":") + ) + + +def test_conversation_order_is_preserved(valid_run_payload): + conversations = valid_run_payload["snapshot"]["conversations"] + conversations.append( + { + "conversation_id": "conversation-1", + "messages": [ + { + "message_id": "older-message", + "sender_type": "contact", + "content": "Earlier in time, later in the array.", + "sent_at": "2025-12-30T10:00:00Z", + } + ], + } + ) + + snapshot = RunRequest.model_validate(valid_run_payload).snapshot + + assert [conversation.conversation_id for conversation in snapshot.conversations] == [ + "conversation-2", + "conversation-1", + ] + + +@pytest.mark.parametrize( + ("change_snapshot", "error"), + [ + ( + lambda snapshot: snapshot.update( + conversations=[ + {"conversation_id": f"conversation-{index}", "messages": []} + for index in range(11) + ] + ), + "10", + ), + ( + lambda snapshot: snapshot["conversations"][0].update( + messages=[ + { + "message_id": f"message-{index}", + "sender_type": "contact", + "content": "x", + "sent_at": "2025-12-31T10:00:00Z", + } + for index in range(51) + ] + ), + "50", + ), + ( + lambda snapshot: snapshot["conversations"][0]["messages"][0].update( + content="x" * 20_001 + ), + "20000", + ), + ( + lambda snapshot: snapshot["conversations"][0]["messages"][0].update( + sent_at="2025-12-31T10:00:00" + ), + "timezone-aware", + ), + ( + lambda snapshot: snapshot["conversations"][0]["messages"][0].update( + sent_at="2025-09-30T12:00:00Z" + ), + "90-day", + ), + ], +) +def test_snapshot_rejects_invalid_evidence(valid_run_payload, change_snapshot, error): + data = deepcopy(valid_run_payload) + change_snapshot(data["snapshot"]) + + with pytest.raises(ValidationError, match=error): + RunRequest.model_validate(data) + + +@pytest.mark.parametrize( + ("target", "extra"), + [ + ("snapshot", "unsupported_snapshot_field"), + ("lead_profile", "unsupported_profile_field"), + ("conversation", "unsupported_conversation_field"), + ("message", "unsupported_message_field"), + ], +) +def test_snapshot_rejects_unmodeled_fields(valid_run_payload, target, extra): + snapshot = deepcopy(valid_run_payload)["snapshot"] + if target == "snapshot": + snapshot[extra] = "not silently discarded" + elif target == "lead_profile": + snapshot["lead_profile"][extra] = "not silently discarded" + elif target == "conversation": + snapshot["conversations"][0][extra] = "not silently discarded" + else: + snapshot["conversations"][0]["messages"][0][extra] = "not silently discarded" + + with pytest.raises(ValidationError, match="Extra inputs are not permitted"): + RunRequest.model_validate({**valid_run_payload, "snapshot": snapshot}) + + +def test_snapshot_rejects_naive_capture_timestamp(valid_run_payload): + data = deepcopy(valid_run_payload) + data["snapshot"]["captured_at"] = "2026-01-01T12:00:00" + + with pytest.raises(ValidationError, match="timezone-aware"): + RunRequest.model_validate(data) diff --git a/uv.lock b/uv.lock index 2ee5c66..c970025 100644 --- a/uv.lock +++ b/uv.lock @@ -1,19 +1,23 @@ version = 1 revision = 3 requires-python = ">=3.13" +resolution-markers = [ + "python_full_version >= '3.14'", + "python_full_version < '3.14'", +] [[package]] name = "alembic" -version = "1.19.1" +version = "1.20.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "mako" }, { name = "sqlalchemy" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/16/2b/e4153978368de59918115c9e01d3ebf58a558a7285efa7e960c383c4b59a/alembic-1.19.1.tar.gz", hash = "sha256:e0fca0518118c78acc493e31bcb5402f190057aaf6df8b5b95ce94c4789cf648", size = 2070816, upload-time = "2026-08-08T16:32:01.565Z" } +sdist = { url = "https://files.pythonhosted.org/packages/ed/aa/02910bdb8e2f1444f6654d5b296cd827d126f82209050ee7b1000f92ac4b/alembic-1.20.0.tar.gz", hash = "sha256:db505480647bc60386c5369402f4a57a506b7539c9e9ef5e270d45cbbe4939bf", size = 2093272, upload-time = "2026-09-11T19:09:11.126Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/20/89/e62cc37b69ad357cc8ecd6e7367f5245f523d3cbb338a66197212bdf6749/alembic-1.19.1-py3-none-any.whl", hash = "sha256:b39018cb3d9413a19cbd54cf3c02ad33998641f0538eb77413a488a21c3e14be", size = 265946, upload-time = "2026-08-08T16:32:03.153Z" }, + { url = "https://files.pythonhosted.org/packages/3f/27/78a89b55b0904d222183164e079b4ca56208e94eff1d35ad1f1ad5be9b06/alembic-1.20.0-py3-none-any.whl", hash = "sha256:77eb101048d95f982c0353e9233404889dcd7a6fc244c107836c0e2fc9cf7d9d", size = 268719, upload-time = "2026-09-11T19:09:12.88Z" }, ] [[package]] @@ -36,14 +40,70 @@ wheels = [ [[package]] name = "anyio" -version = "4.14.2" +version = "4.15.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, + { name = "typing-extensions", marker = "python_full_version < '3.15'" }, ] -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" } +sdist = { url = "https://files.pythonhosted.org/packages/a9/d2/f4d173e22df740bc37b1db102b386ba719b66e95b0f0d751f556b387e6d2/anyio-4.15.1.tar.gz", hash = "sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94", size = 276966, upload-time = "2026-09-05T10:42:39.44Z" } wheels = [ - { 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" }, + { url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" }, +] + +[[package]] +name = "argon2-cffi" +version = "25.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "argon2-cffi-bindings" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0e/89/ce5af8a7d472a67cc819d5d998aa8c82c5d860608c4db9f46f1162d7dab9/argon2_cffi-25.1.0.tar.gz", hash = "sha256:694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1", size = 45706, upload-time = "2025-06-03T06:55:32.073Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4f/d3/a8b22fa575b297cd6e3e3b0155c7e25db170edf1c74783d6a31a2490b8d9/argon2_cffi-25.1.0-py3-none-any.whl", hash = "sha256:fdc8b074db390fccb6eb4a3604ae7231f219aa669a2652e0f20e16ba513d5741", size = 14657, upload-time = "2025-06-03T06:55:30.804Z" }, +] + +[[package]] +name = "argon2-cffi-bindings" +version = "26.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0b/43/bb8b6e8708d49a5ab36781333af092d9f483b198a2710d01281204640055/argon2_cffi_bindings-26.1.0.tar.gz", hash = "sha256:63505c71542a44b68b1e38060450fb006404170da375feb31af153e7f9c6205d", size = 1790807, upload-time = "2026-08-20T07:44:22.492Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/d2/0ae991f1b2181e5be49007c574710a800ad36c2978683addb3e67c474e55/argon2_cffi_bindings-26.1.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:21ca0396fe5ec995dd54431c32698189666f9224810acfa752e50d2bd94d9df2", size = 25521, upload-time = "2026-08-20T07:32:43.019Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e4/ad91d8297638aa2258aad4501c306aca99480dfe76ccd638173fa3702db9/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78de2d65e0b9ea7ce9d1b1c3e87297b2d7305a02c266ee2a2d6910daddd7ee69", size = 27177, upload-time = "2026-08-20T07:32:44.158Z" }, + { url = "https://files.pythonhosted.org/packages/6f/86/5363df11b86d02cf3662208e7406496327649cc90eb365bf6f4e8a54a41f/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:27f1821903e2ceadcb88ec2b45ef190897b7682449c772f4d9b53e42c520cf29", size = 26597, upload-time = "2026-08-20T07:32:45.172Z" }, + { url = "https://files.pythonhosted.org/packages/f4/b5/a14dcc592652347dad23ee93b278a4da5d2a25c9ed3ebd10d68eea823a4f/argon2_cffi_bindings-26.1.0-cp310-abi3-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d88e5f7e60f28ae0b0cc6b2f16c43e87cd642a196a86f85e0d8bb6fe016fc16d", size = 27403, upload-time = "2026-08-20T07:32:46.13Z" }, + { url = "https://files.pythonhosted.org/packages/b3/81/b4a20d4902af7f796390bf9245ff83c5217dfa7367efa1d14986956c482b/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:34b7d9c24a4165a2c61cc8ae11d44d48c9ce2830fb536cb7914e11fdd9962728", size = 27132, upload-time = "2026-08-20T07:32:47.13Z" }, + { url = "https://files.pythonhosted.org/packages/7e/1b/c8de358af07b1c490e0fcb863ef98e46ddb486e45567aca5a60bd68d9daa/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:224865cbbcb7a2bd1356741dff12b0134df726b6d44bb7b500df8e303cbd9e81", size = 27588, upload-time = "2026-08-20T07:32:48.087Z" }, + { url = "https://files.pythonhosted.org/packages/48/2f/7ee62a6e79f9309f9d9982d301b22a00010adb580c05c8109b94d7b33de0/argon2_cffi_bindings-26.1.0-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ffff613aaa9ce6236766e2fc6dc560bb5abde7a2e2416e3db1f9ae395a2b4dd4", size = 26785, upload-time = "2026-08-20T07:32:48.977Z" }, + { url = "https://files.pythonhosted.org/packages/e9/10/960d0ee93d4897741bcaf4799c697dae2d81499f66fd1ed042a7dd54c1f4/argon2_cffi_bindings-26.1.0-cp310-abi3-win32.whl", hash = "sha256:a86c069c91a747a2c4e5c51473590aeb48172fff9b2130d23729a42d98665ecb", size = 23898, upload-time = "2026-08-20T07:32:50.114Z" }, + { url = "https://files.pythonhosted.org/packages/6d/3a/0cc14a05810e6add9bce5e87693334baa2222de5f647fa31781885b6573f/argon2_cffi_bindings-26.1.0-cp310-abi3-win_amd64.whl", hash = "sha256:2c36ff87b5dfaa477d0bd51e9d7f6abdae7c8955d2983c97419085d842154b3e", size = 25730, upload-time = "2026-08-20T07:32:51.091Z" }, + { url = "https://files.pythonhosted.org/packages/4e/db/d83cf2af140547f0b9cdaece05b2dc2dcbf991be4667331d073eff771435/argon2_cffi_bindings-26.1.0-cp310-abi3-win_arm64.whl", hash = "sha256:f9c4420a7a864fe1b86ce35befc95b8e39fb852493b81cf798671ddc265de638", size = 24478, upload-time = "2026-08-20T07:32:52.111Z" }, + { url = "https://files.pythonhosted.org/packages/bb/5f/f652055e18d2627e2eed94c7f31a792127cfe38df786635395d742321674/argon2_cffi_bindings-26.1.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:af11ac37a7c53dc16cb7950a6190851b0870fe218b6c60c0bb7ac355234e3083", size = 15434, upload-time = "2026-08-20T07:32:53.143Z" }, + { url = "https://files.pythonhosted.org/packages/76/38/de696045960f5b846d428c0fb6c130ed3da87aac2af209b05c193815404c/argon2_cffi_bindings-26.1.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:db0fcd827ca61622a01b220aadfbece01939acf53888f2cb98cd93e9b1e2c97e", size = 15449, upload-time = "2026-08-20T07:32:54.075Z" }, + { url = "https://files.pythonhosted.org/packages/91/0a/c25af768f6b75a5a71e31207f87c540656b2808c015260444a22763221ad/argon2_cffi_bindings-26.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:28524438cd3e723f25412f63d4fd516ff5bae9ae5aa56acbe2a1404398a0cf31", size = 25683, upload-time = "2026-08-20T07:32:55.05Z" }, + { url = "https://files.pythonhosted.org/packages/a8/7e/be212c751ab0bcea7f646615f933bf262e8e50b3f7bef32f861d0a2d066b/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ac82fc756a446b6ccd7139ce70efa9d8bbe541e7ad579a12dcb52764b7175c5f", size = 27311, upload-time = "2026-08-20T07:32:56.166Z" }, + { url = "https://files.pythonhosted.org/packages/a6/ee/f84b28e4afd13d3cac36c1d8fa8c239d2dc2c51cd978d02ee5d5ad98d9bb/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6a4e68eed961a8de6928d1c17ff3dc2a547e0e923c17f8f1cd79fb7bc9502f98", size = 26771, upload-time = "2026-08-20T07:32:57.206Z" }, + { url = "https://files.pythonhosted.org/packages/21/c3/95c07a023691ecd529da9cb6a8f0779e13ebc1bdfaa86d145fdc1c6e7e79/argon2_cffi_bindings-26.1.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:151dfaad9de753f4af2a7854e707e4784f2acc434340ade64239c5b104b2d605", size = 27568, upload-time = "2026-08-20T07:32:58.361Z" }, + { url = "https://files.pythonhosted.org/packages/e6/31/3a18e31406d8694b4d6a31573c3e572fff6bed318bb744453eb653766d22/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:061a6919145bbf282ebf1f9c59d3135d4833c25313c8595c0d68cf7712ddfce2", size = 27280, upload-time = "2026-08-20T07:32:59.343Z" }, + { url = "https://files.pythonhosted.org/packages/0b/39/d4be4577e178b2397aa5b5575c8a309bf0da2afe05fe0c72c8f398662d63/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:62ff20cd130c956c7c9144d5fe35228f98b51c579b2439e988b27ef93e16c02a", size = 27776, upload-time = "2026-08-20T07:33:00.325Z" }, + { url = "https://files.pythonhosted.org/packages/71/47/78f4dd96f7411339f723b96fe24039c1bd5835102b8a5ba71ac4ec712ac7/argon2_cffi_bindings-26.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:19423e5d7ac1cc354baab59eaabf18db2ec04ef6593b5abe5a34f323c4a8f87a", size = 26932, upload-time = "2026-08-20T07:33:01.272Z" }, + { url = "https://files.pythonhosted.org/packages/3b/cd/96bfd37434cc0a848a9066c291d84b28846c4c9ea289ed9866b1164d622b/argon2_cffi_bindings-26.1.0-cp314-cp314t-win32.whl", hash = "sha256:4f84cdd868978d7b7350a566c254042d44216d9e37f241f3a6d3b1dfebeede35", size = 24878, upload-time = "2026-08-20T07:33:02.189Z" }, + { url = "https://files.pythonhosted.org/packages/f1/42/d8b6810abd9b1bd2f47ebbccf460da59c9f32e94888bea4f7b137d998797/argon2_cffi_bindings-26.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2b741888c93147444fdfc851abd81cc207f37f7f7da42062a00deb3888e57da8", size = 26656, upload-time = "2026-08-20T07:33:03.222Z" }, + { url = "https://files.pythonhosted.org/packages/a9/d1/095d95eaf2ed1d9f77268cf3291bde148c6cd56121f8db2c74c1ba618a0e/argon2_cffi_bindings-26.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:6ab674f668d5962a3a4136ae0812519b0f1586874263723a32181d60d64137e1", size = 25378, upload-time = "2026-08-20T07:33:04.332Z" }, + { url = "https://files.pythonhosted.org/packages/66/cb/214092c39c4dbcb72cf98b12234ddac2221f8fe2c0acf29c6a70fa83be53/argon2_cffi_bindings-26.1.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:1d98e33bd8bd67d7206c124e200bf2229c4cfa8c9c19f7b44a897f0fc71837eb", size = 25683, upload-time = "2026-08-20T07:33:05.337Z" }, + { url = "https://files.pythonhosted.org/packages/83/e5/02015b83e9b05ccb85ff2ced424cf6e83a12d3810bc7f66d679a92b69ffb/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ccaf0a46cbb380f1fd102a874e32aa629fd3cb0c0e94f4943fa1f6d5edc5dac6", size = 27310, upload-time = "2026-08-20T07:33:06.344Z" }, + { url = "https://files.pythonhosted.org/packages/c3/4a/85e612787d0796878b3b4f6bd53dcd5484b6fe7b64cc6fc7b6e6a04cf835/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f0c3103fcff20183e593459cfea6e012281c0e76ae3ed8b5565ad1b92eac3990", size = 26771, upload-time = "2026-08-20T07:33:07.429Z" }, + { url = "https://files.pythonhosted.org/packages/f6/84/ccb003b6f9969820e87656398f4d49c857def71a85ca1588a0e809afd7ce/argon2_cffi_bindings-26.1.0-cp315-cp315t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c49e853a3bef9dd10329f31f702e7fa9b5c58229ff9c2ff6d069efaf09177c08", size = 27569, upload-time = "2026-08-20T07:33:08.598Z" }, + { url = "https://files.pythonhosted.org/packages/88/07/c26b76debf0998ee08fbe947ab2058ac5de37d4b9d46b06c17abaa6c4ce9/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:6376d4b3aca039375ca8bf92f770da0ec424a1ce3a37077a8d3c557411aa56ca", size = 27279, upload-time = "2026-08-20T07:33:09.518Z" }, + { url = "https://files.pythonhosted.org/packages/ee/0d/ead6ddc029f91bc9b9390686dad3c808ab08100d348f6266b5f93f8970ee/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:9bacedc04b0402837586a17f0919e3dfdd95291f441f1f56bd80ec274c2840a1", size = 27774, upload-time = "2026-08-20T07:33:10.728Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/c108530d9eb86036b78d3af4de28b83b4a2d9a70512bd10ff8e59966aab4/argon2_cffi_bindings-26.1.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:76ae29acace5d33355344612844d588e19deaaba4639d8bb01601e4b1418ef36", size = 26933, upload-time = "2026-08-20T07:33:11.661Z" }, + { url = "https://files.pythonhosted.org/packages/a9/02/0bfc59e781c89acf64c31c388aade9d9d1c1ea38aa1ba1292fe07f607fe9/argon2_cffi_bindings-26.1.0-cp315-cp315t-win32.whl", hash = "sha256:df612391feca41c44d20118f3b88d1b86419465cd1f5496859f715ca60ec2210", size = 24875, upload-time = "2026-08-20T07:33:12.616Z" }, + { url = "https://files.pythonhosted.org/packages/61/c7/c3e46068cddffccecb8ad94d71135e9bf62bbc789589e7dfadc7c6f59214/argon2_cffi_bindings-26.1.0-cp315-cp315t-win_amd64.whl", hash = "sha256:1a0a29ed86960e44eaace7e081bdfab4f08b012fd96ec8edba71e2ad020939e4", size = 26655, upload-time = "2026-08-20T07:33:13.521Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ca/18b9c8c45fecf34b9100ec6d7946057f14a158f2eaa20ea123a3e82351cb/argon2_cffi_bindings-26.1.0-cp315-cp315t-win_arm64.whl", hash = "sha256:d157ddfab1e8b21f2f1dedda9c09645d98b5ed0b667b0626be600a345d426440", size = 25376, upload-time = "2026-08-20T07:33:14.491Z" }, ] [[package]] @@ -88,118 +148,85 @@ wheels = [ ] [[package]] -name = "charset-normalizer" -version = "3.5.1" +name = "cffi" +version = "2.1.1" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/e5/3f/143b048436775b0f76ac3eec145c019e8173ccc2885c8f20319b996d5e83/charset_normalizer-3.5.1.tar.gz", hash = "sha256:6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3", size = 171764, upload-time = "2026-08-15T08:20:44.807Z" } +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/ef/008a1939e372c06329a3fce4279c02f328488f3526744906eeec3da7ad5f/cffi-2.1.1.tar.gz", hash = "sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be", size = 530807, upload-time = "2026-08-03T21:21:18.939Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/bc/61/2cb6ad133dbbb449fa2d37ccae973232f4827e799af258d15e589a3d1e9e/charset_normalizer-3.5.1-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:4f298bdadb8f0b9e5672877f647d1be9373ef5320c9e2f049795e26cad28b6a9", size = 211584, upload-time = "2026-08-15T08:17:33.597Z" }, - { url = "https://files.pythonhosted.org/packages/18/57/a305c968be1ca13f3dd1b32f445877e97addf55d80b65c7cb35fac82b777/charset_normalizer-3.5.1-cp313-cp313-android_24_x86_64.whl", hash = "sha256:88ca277405c2d3b71c4e1c2ee0e7966e807bcba86a69d11e19ba199d18ae4491", size = 223359, upload-time = "2026-08-15T08:17:35.022Z" }, - { url = "https://files.pythonhosted.org/packages/09/0a/d3646670292ce8d8f8cc11ac067d44885e697a5591f57a9221128da5e7b3/charset_normalizer-3.5.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9362dd90aa7dab48c0054a21187791ccf05473f7dba5d92b8033ae62164675e7", size = 194464, upload-time = "2026-08-15T08:17:36.452Z" }, - { url = "https://files.pythonhosted.org/packages/de/93/d51ec556e01042fed6f993ea859311bc7917b466684182fbbceb6ca24762/charset_normalizer-3.5.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:977cdbd483a9cff38179bea4fd754289a6f2195c7abd414aba85410b3e66cc5e", size = 197676, upload-time = "2026-08-15T08:17:37.819Z" }, - { url = "https://files.pythonhosted.org/packages/a4/a0/562247944386f7d4ef94467e84876600cc1e0f1b93239aaa9213d2bc3cbd/charset_normalizer-3.5.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:e90251c0c7bdd54a100a0dce3c07b7e637278c93af29dbf78ebb89a58c4bac7d", size = 340473, upload-time = "2026-08-15T08:17:39.303Z" }, - { url = "https://files.pythonhosted.org/packages/31/e7/1d994be1b93d41e9502b8b0460eaa88a1dd8df335df415db87d6c3e91ab2/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:94d78ecec2605a8d0398b0f365d5f12a63248438516f5dac536a5eff7337df4a", size = 240156, upload-time = "2026-08-15T08:17:40.66Z" }, - { url = "https://files.pythonhosted.org/packages/09/53/27923ce5cc6cbccb832037b27dca98882d9c53e9b69e866bbbef4aae7fc8/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d59b75732e9b6f27388e10c14b0259cc5f2e48c78627d185e6a177b58ad3cffe", size = 228246, upload-time = "2026-08-15T08:17:42.003Z" }, - { url = "https://files.pythonhosted.org/packages/ce/48/5a97e84d63af1d55c07439cb80e56d99a8efb4295700eb4e18c0d1615d2c/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0d929fc574b4d6fd9e7c0f5c2ede8716a41911923aa7fa5fce38e0818aa4a1ac", size = 263660, upload-time = "2026-08-15T08:17:43.627Z" }, - { url = "https://files.pythonhosted.org/packages/7a/c2/071575791dcc88316c0a9a65ce38897a82e4cfe4a325f0f7fe1b1ac47bcf/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:394fea06235c8543390050ed5f529187074b029fb027213f6c46ac11ab5d950e", size = 260354, upload-time = "2026-08-15T08:17:45.094Z" }, - { url = "https://files.pythonhosted.org/packages/fb/af/63240b0c0248c075c2535a1f1bd992821d8251b9f173abc13329661d09e4/charset_normalizer-3.5.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62b55f6722735a6c472f88361cde6640608773d9443cebdbb51abf436a1fcdd3", size = 250638, upload-time = "2026-08-15T08:17:46.496Z" }, - { url = "https://files.pythonhosted.org/packages/4d/66/70dfad64f15be09c15ccfee81330a7e515895dbe296dd23114e9a231268a/charset_normalizer-3.5.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fa48b1b63d639f9483e0633e092f5851e2348c352f1f9bb6c8182f87884ef876", size = 244583, upload-time = "2026-08-15T08:17:47.963Z" }, - { url = "https://files.pythonhosted.org/packages/c0/24/ef36367d38b9ddd4bccbf72888c342e8de1f5ae506fa0b2dcf970e2732a1/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c71fb0d56c920c269cd3e2e3fe7c610e3f1fdb21a6ce60efa6430ff63676cea6", size = 242038, upload-time = "2026-08-15T08:17:49.481Z" }, - { url = "https://files.pythonhosted.org/packages/db/ab/55e683ba0fff2e43adafc10daa3001eac90fdaa419a97227d5a7067eedde/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:485a0d363cafefcd2538a73c7c838daa2035f09b2c9f9b5e3133f80c6aeb84c2", size = 233677, upload-time = "2026-08-15T08:17:50.845Z" }, - { url = "https://files.pythonhosted.org/packages/bd/67/0f40eaf8d1b6e7cf15e82382a2965efaca787fc1c2794b7021d37aaf5036/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c0ea61a470e070686aa30892fed79e297d2c8d0ab46b8bcdf027d38c51da591", size = 264491, upload-time = "2026-08-15T08:17:52.61Z" }, - { url = "https://files.pythonhosted.org/packages/5c/64/12b4c2a11ee8df4fcc518c78b0d93e3a92bd3d5253d1617ce74ff0e8c7ef/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:90b7481fb62fbe172c558bc6fd1c4c98d82004a54a7551f20e11ac9bf0b8708c", size = 245196, upload-time = "2026-08-15T08:17:54.023Z" }, - { url = "https://files.pythonhosted.org/packages/37/2e/651d910af6d0fba325eee1cda37ec5443462ed25360e666c144166eb6091/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:35fe081843b35aad20ffeccec3eeffbe637b15d14f3fb22cc1b59cd8ec17e93c", size = 261660, upload-time = "2026-08-15T08:17:55.491Z" }, - { url = "https://files.pythonhosted.org/packages/90/c6/b09e05e6db7f64338e0dc067c79577b1138da86c1e38369096851d96be88/charset_normalizer-3.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fd0350afdc3aabd5576f60ea109228bd5538139713c7b094c5cd27c73a98bc6f", size = 252618, upload-time = "2026-08-15T08:17:57.025Z" }, - { url = "https://files.pythonhosted.org/packages/76/4e/362d4f9fdcdf5556fb2aa3ce7d4a58ebce03ed1ff03aa1d9aca8d02f13f3/charset_normalizer-3.5.1-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:9d9a0dc7cbe9bec24c3f767c9122c41fe5a1bc43f47cd099d00d393e09769de4", size = 140362, upload-time = "2026-08-15T08:17:58.425Z" }, - { url = "https://files.pythonhosted.org/packages/b4/d4/703be739b26acce318bd29eb3b25b7209e1b1f527f9eae3d1f1f01fdde2b/charset_normalizer-3.5.1-cp313-cp313-win32.whl", hash = "sha256:d63600d620ad0064c3a748b950ac5ea38a80190e5498532efefa4b7b3f1da1f3", size = 177755, upload-time = "2026-08-15T08:18:00.037Z" }, - { url = "https://files.pythonhosted.org/packages/8a/33/56d97ade41c8db611e727168c52ae46c9224c362ec28d4b65d7e9869e8da/charset_normalizer-3.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:aea996a6aba25260827c9ea511d1addfde2da9eb686ac961838509086188b7e6", size = 199295, upload-time = "2026-08-15T08:18:01.506Z" }, - { url = "https://files.pythonhosted.org/packages/5b/75/5b20dd1e6573a01a08158fe104104fa2c8abf941745596954185726cd46c/charset_normalizer-3.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:fd0a274c0e5f9a21565cd9d3dd749b61f96b7aa1e20a93aa1ba4029518f2e5c0", size = 179856, upload-time = "2026-08-15T08:18:02.929Z" }, - { url = "https://files.pythonhosted.org/packages/29/cd/2b812ce5e888f1ce69a5350281e58aab07ae64a958ecae8912f30865718e/charset_normalizer-3.5.1-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:774d157f112367ff4abd29019f38f023c24e00e56edc7829c20e358a5a913ad8", size = 212318, upload-time = "2026-08-15T08:18:04.403Z" }, - { url = "https://files.pythonhosted.org/packages/9e/4a/a6ee107430768a5334e6d63f31f148a04a1a491ef161a1ac9415a73f2fa8/charset_normalizer-3.5.1-cp314-cp314-android_24_x86_64.whl", hash = "sha256:26422d45fd13551cf564c58932f7d72b4f58b93b0fcf18c35ba6be12b46bb102", size = 224897, upload-time = "2026-08-15T08:18:05.997Z" }, - { url = "https://files.pythonhosted.org/packages/c3/d9/35ae3f64f29d0179c35c3baefe575904df2913dde519129c7f75995a2b1d/charset_normalizer-3.5.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:09a7bba9f739468c8e78c36a75c33768e53cb1959fc638f510454c14683f00d5", size = 194848, upload-time = "2026-08-15T08:18:07.397Z" }, - { url = "https://files.pythonhosted.org/packages/74/76/f2fc7380f056cc273a53af37f50d08ad54b2c59f61078f31432edcf1c2bd/charset_normalizer-3.5.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4c9548dc78002099910abaebc0a72ac58b7d30931869e0351c09b507dff4ece3", size = 198163, upload-time = "2026-08-15T08:18:08.989Z" }, - { url = "https://files.pythonhosted.org/packages/e9/40/095ce62fa078483cccc1fa2b36e6bc9580b85422a20ee9f925341c50e44f/charset_normalizer-3.5.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c428c6c31eb5f4277d7f8eccaf767fbd548ddd5ce3c8b4f4cbbfab3d96b5904c", size = 341823, upload-time = "2026-08-15T08:18:10.458Z" }, - { url = "https://files.pythonhosted.org/packages/f1/5a/0e58b1c04a1596e0256f407274a92d5fb2ee21324409d1fab1da48a65b5b/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2f06b7eae9dbe77fe1d644ca244dad508de8d302870a43f3c559b521270938a0", size = 242458, upload-time = "2026-08-15T08:18:11.989Z" }, - { url = "https://files.pythonhosted.org/packages/22/95/b4618ce912e6db0b1aae89ba788e38e8a7eba0f3025cc66e8c0699f977b2/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6b7430cf5728e68f6c462254009a6ef4086e1bea43cf2f57aa9c55fb4f50ff96", size = 226717, upload-time = "2026-08-15T08:18:13.401Z" }, - { url = "https://files.pythonhosted.org/packages/8a/76/c681192bbda3d55356db5dadd64381d5202b37c6b598fcda5282e88b5d3d/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ab743e9bc90c1f73552ec33e10e3331315acd2c397b36065b591b0181de533cc", size = 266111, upload-time = "2026-08-15T08:18:14.961Z" }, - { url = "https://files.pythonhosted.org/packages/88/be/55127bfca72c0cff6c022488d140d7c5b04c771e3b72e9bdb4836d54979d/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f6f7deae3feb4edfa2efaf7c574fe88cbf055038a6abdb40188e4fff66d5699f", size = 263128, upload-time = "2026-08-15T08:18:16.515Z" }, - { url = "https://files.pythonhosted.org/packages/e0/91/39c3af510b0aa32bbda03374259200f28430febfd1bf5e511fe765282ce5/charset_normalizer-3.5.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15f024313246a4ed976c60f440bb8d257815513a681d212ff74fd46f7d715a90", size = 251240, upload-time = "2026-08-15T08:18:18.127Z" }, - { url = "https://files.pythonhosted.org/packages/1c/a5/cbe418bbc6ecdfc3e05a0116002897c4b403a5e838d697e64c78e9f0190d/charset_normalizer-3.5.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:823f82903d189af463d7df250ef1f7f696f3cee08cc8d91deb565e8d425f6506", size = 245282, upload-time = "2026-08-15T08:18:19.625Z" }, - { url = "https://files.pythonhosted.org/packages/cc/a4/689bb42e8e7cd492f3cb64907c6bc00ad247ec9a3628cd3f8eed126e8ae1/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:01e93745f7f219b703b60ba7afead36cfc4242782be5af484673fc500df12da5", size = 244597, upload-time = "2026-08-15T08:18:21.121Z" }, - { url = "https://files.pythonhosted.org/packages/c1/ce/9962938e179cf9f699d3f1e7b3114b5d7642dee6a893745229f9dd04f274/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:329fc3ccb63ad22d867d84c2adea759a64079a37ba4a343433b02c7a2816871e", size = 231376, upload-time = "2026-08-15T08:18:22.57Z" }, - { url = "https://files.pythonhosted.org/packages/85/54/46000450ada53bd9eac5429a2c8c54cd2d9b39c0c255f229aea9af0948a5/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:bb57753e36e4855b8ca375069482250a6246372331a3e4f3407eaebb007443f5", size = 266715, upload-time = "2026-08-15T08:18:24.235Z" }, - { url = "https://files.pythonhosted.org/packages/3d/bb/618749d70f792b44252a777bf89bfb86823b9bbc1ea13fe8ce759b07f38a/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fce8cbd4997efeb450bd298b54f755dcdff18d496f7a5ddbb4867c6d7c88fdc3", size = 245848, upload-time = "2026-08-15T08:18:25.726Z" }, - { url = "https://files.pythonhosted.org/packages/7e/3f/ffb64458527c7668031d5eb095d978de561958dc9f5b53f8e488a533e603/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:6c9cdde8becb25a7fde49924511aa2644d6f8081cc8df8e9452724303348d8e3", size = 264521, upload-time = "2026-08-15T08:18:27.193Z" }, - { url = "https://files.pythonhosted.org/packages/4f/ab/74a55fd803916a35ac461daf002708191aac19b546b80dc8cabfedc63d98/charset_normalizer-3.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9ac4444d8d4fd4c4bd08bf451ed3167aa9e7ec6cdb41b648794f1d1103652e36", size = 253054, upload-time = "2026-08-15T08:18:28.568Z" }, - { url = "https://files.pythonhosted.org/packages/a0/2a/6a9034b7d3c60b17499afb482df5878bf9fa20b50cc3887d5ef017a833db/charset_normalizer-3.5.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:f03ac127268b43ef4fe9e6ab6794a6794b49485a0cc0c1db79876d2f33f75bc7", size = 140580, upload-time = "2026-08-15T08:18:30.214Z" }, - { url = "https://files.pythonhosted.org/packages/f3/46/1d362e1a00d035d66b9869e1281eee115907f7e390a16a07824ab5737360/charset_normalizer-3.5.1-cp314-cp314-win32.whl", hash = "sha256:1f5883d77fd409a261abb5dc8ccbe335720d798b1de4abb3b1d47ccbbc76b53b", size = 180325, upload-time = "2026-08-15T08:18:31.877Z" }, - { url = "https://files.pythonhosted.org/packages/7a/7c/4938c329b6a9d446f6a59aa2092ff7118f274209b5ed0e26893d1d30a63c/charset_normalizer-3.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:c658c50ac0c98cd755a2dd50b7977d3bca7df401dcc47fbdfa87db53ef7d4e8b", size = 204175, upload-time = "2026-08-15T08:18:33.466Z" }, - { url = "https://files.pythonhosted.org/packages/ac/33/eeb384dbd8dec570661354592f4f2e1b2fcc92585624d146a000caf53841/charset_normalizer-3.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:4bea7f8ebe90bbd7f0e4a2de42ca6924ba23e3e76418c408ff82f1d46fabd687", size = 184123, upload-time = "2026-08-15T08:18:34.913Z" }, - { url = "https://files.pythonhosted.org/packages/1c/6c/c73fa9d5a85f6ab05395de61c5f6984e0a9ff40bb5ff888d46dff02526c6/charset_normalizer-3.5.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:fbc597639158fd7c14d55e808718848319540f51b0e6746e3eefa59723a4a348", size = 381682, upload-time = "2026-08-15T08:18:36.349Z" }, - { url = "https://files.pythonhosted.org/packages/30/c7/63565f860921457feba93bae6c86fb7746deb4cffeed2f375cb845318146/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e71c909f353863b2b89c83de2ebed71ea6d0df8a6ef65a128193c5e650766bef", size = 240826, upload-time = "2026-08-15T08:18:37.887Z" }, - { url = "https://files.pythonhosted.org/packages/06/ae/7ae8807410dfa33f8e6f1715740adeaafa8a816cc4cb33508f54b1f7c896/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7ac76cf9afd34929d76eb7fcb63be476a4853d8a96f0dcf2d0db68a0cbdf9885", size = 227861, upload-time = "2026-08-15T08:18:39.315Z" }, - { url = "https://files.pythonhosted.org/packages/e9/a3/887c1642f0da26000b0e0652d91071113c0e72cea33952e225cf589f49a9/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a3a370082ce34d0612f421e15fe011c53bb1feff21a26d06ad4fb244dab5a375", size = 260758, upload-time = "2026-08-15T08:18:40.88Z" }, - { url = "https://files.pythonhosted.org/packages/3e/11/e6f5b9a3d0e55b0ef7505cd3765cdd48f22db89994c947b316f52f801fd8/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:256dd4d85d9e4dc595e2bc983c980e73f62ddeb3165c58b4c3dfe78c5c8548c1", size = 259950, upload-time = "2026-08-15T08:18:42.351Z" }, - { url = "https://files.pythonhosted.org/packages/1b/ee/e4e10a94d51cd1ee638aa7e00b65399e6b2a4e8376ab6d2eac9f95586671/charset_normalizer-3.5.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:58d4aa13a59c969dbfdf9e6a9560e242cbfd9e8a8f50c2747714df1a423adf65", size = 249329, upload-time = "2026-08-15T08:18:43.914Z" }, - { url = "https://files.pythonhosted.org/packages/c4/25/d5f4198819e6059735a84e8d0bfb72dc33976da67b97adcd3fb5a5e07ec6/charset_normalizer-3.5.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0c6dfb5ca6723eeed15aa8e564a014d69fcb8812f94eef11fe3631e0508199f5", size = 243137, upload-time = "2026-08-15T08:18:45.368Z" }, - { url = "https://files.pythonhosted.org/packages/a5/e9/e925ca7569cf9fb9701fd82503fee73eea5268fdb856bdd64947092d3daa/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c010f5581d9c612804cc59fcf7b524b707fbcb72828551237ab545bb5c7034af", size = 242820, upload-time = "2026-08-15T08:18:46.842Z" }, - { url = "https://files.pythonhosted.org/packages/34/17/672c251a888ed2aebcdd2fe830ad0104e25ff83c43f5c4f9c15e9fc6853c/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:52ec005752a56ae79547a05c0139ca2501a0c866390b6115008456b9f0e7cde1", size = 230504, upload-time = "2026-08-15T08:18:48.353Z" }, - { url = "https://files.pythonhosted.org/packages/3f/fc/f6a85abebd42ce4da2f1db0aa56cc6a0df1995e318b3875d14401b8381d1/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:2bced4061f000f7187254a02ad3433ae17eaf991747ceea2f478422590a5bba9", size = 263087, upload-time = "2026-08-15T08:18:49.859Z" }, - { url = "https://files.pythonhosted.org/packages/98/66/7c42677e739ba66746b297e2046918d793078094dc239e1e72768cffccc6/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:9eea3ab2597a5e65fe65296e2d6a84570845a6b55532d90333d740d48bbc850a", size = 243269, upload-time = "2026-08-15T08:18:51.601Z" }, - { url = "https://files.pythonhosted.org/packages/de/d8/a50b79237f417af10f8c2a501ce8d1ca87829a22e69117891ca4ba20a69e/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:496846868fea80e479324862fa877f02411f2fd0f83b79ccee2607aa68b2a032", size = 258766, upload-time = "2026-08-15T08:18:53.23Z" }, - { url = "https://files.pythonhosted.org/packages/2e/1d/0fc91aeaeb3c83b748f532399ce67cf84604b48297405d740000f7a9e786/charset_normalizer-3.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:85d5855daafc240cc045c026d7a15fd198a09b0fc8ff6f5ecbb5297b509cb11e", size = 250814, upload-time = "2026-08-15T08:18:54.768Z" }, - { url = "https://files.pythonhosted.org/packages/ae/10/3d8c777cf9024615295aa1b808324ad5b4a77855869c00824bad74ffaf8a/charset_normalizer-3.5.1-cp314-cp314t-win32.whl", hash = "sha256:58d3e12c88e0950bca850ae1f7c256055c097639c2edb9eb123af9807d8b15e4", size = 191074, upload-time = "2026-08-15T08:18:56.305Z" }, - { url = "https://files.pythonhosted.org/packages/4d/81/ae557d3c44d1a1d688696d60563413a0866a91b7ebc50f20df838be3d8c8/charset_normalizer-3.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:acaf604462bf330b0d07e7a07c1d6e4adac79e5fb13e9c5140590542cafacc00", size = 216476, upload-time = "2026-08-15T08:18:57.889Z" }, - { url = "https://files.pythonhosted.org/packages/27/e9/61c01fb8b804692569c036b3fc50495814502dcf13a60649c6055390b02c/charset_normalizer-3.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:fdb8a068947befafba9952162645dc2fecaeb400e64584829ed5e9b2fbe21a7f", size = 194115, upload-time = "2026-08-15T08:18:59.418Z" }, - { url = "https://files.pythonhosted.org/packages/4a/4e/8544831ef59d8f27ce92c80871380fdacc8076a8a56ed62f82e54f991333/charset_normalizer-3.5.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:9085f87b0e38a2b92b8923059b4e8789fe40d9279712d15dcc670048d77079af", size = 342048, upload-time = "2026-08-15T08:19:01.054Z" }, - { url = "https://files.pythonhosted.org/packages/7f/a6/e3b46852424246065355644f4fb6dbccc0239a42a2eee27ecfc8957f0bcd/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2679de311c7946dde5d3b6f44941844133ff5c7cb86099c0061ab1e8901c20a8", size = 242997, upload-time = "2026-08-15T08:19:02.492Z" }, - { url = "https://files.pythonhosted.org/packages/03/3b/0cc9a26777334ab2f2e3089b948bbf4e4fe72ea70b897715ef6415043ec8/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:baf3775a2635e5a11fbd5e4e64ee69c7e86875d224a5c72aca4c141064589a90", size = 237014, upload-time = "2026-08-15T08:19:03.943Z" }, - { url = "https://files.pythonhosted.org/packages/8c/c2/027335f0aa337a2a2e121bac1ad88c4f02ba6053ea0926802784f3db11af/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8ac8c94b6539074e0f40899301273ac8402b9b3e01c7b7ba269ff30340aaaf20", size = 266174, upload-time = "2026-08-15T08:19:05.598Z" }, - { url = "https://files.pythonhosted.org/packages/86/d3/e367787febe4e74769dec0f406f2c3c8d1b955fce5aee1fd0f94e8367a45/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8fe532b3c966d1fb794e0698e4589d0444017ae77fc0b31edea13c0e35bcc449", size = 263361, upload-time = "2026-08-15T08:19:07.251Z" }, - { url = "https://files.pythonhosted.org/packages/af/3d/391b193eb9f3e84b02f9314088c386debdc0debee843535aaea2e2c6715d/charset_normalizer-3.5.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5c84bec0ab5ae0c64bfe73a7d2adcb5ce73b467523fc27fd6a28ab2aa6cbe35a", size = 252143, upload-time = "2026-08-15T08:19:08.816Z" }, - { url = "https://files.pythonhosted.org/packages/2e/57/de221f1745a90d418199761967e2776bfe2c275a1194220985e8c1d37833/charset_normalizer-3.5.1-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:854066be00447fa8de2ccbbe893e2ffc4b123ef16d897af794c1e18bd4a714b0", size = 252086, upload-time = "2026-08-15T08:19:10.255Z" }, - { url = "https://files.pythonhosted.org/packages/c8/e3/d119f86a01f9331e8186175f24873b1d74a7ee9e2e4b4d68f9947dae5afd/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:21b82d8082f6f5e7f456ef0bd16323d08de1266efbfeb476e64b2a91d1471a4e", size = 245231, upload-time = "2026-08-15T08:19:11.807Z" }, - { url = "https://files.pythonhosted.org/packages/26/de/d8e48c135ae480879539cdb179c8d3b50c7879497d75dd899b5763b69cee/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:838648accb3a7fd9803fd45c87bce8509648eb0c11bc34e216141300977244f2", size = 241546, upload-time = "2026-08-15T08:19:13.416Z" }, - { url = "https://files.pythonhosted.org/packages/67/c4/217755fd1abc50d326c252922cd642002758095a81ff45010337b8b3ef65/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:195ce897c6153c0700078142cf8efe3e6454ca4cf4357499e4078dfd83396626", size = 267033, upload-time = "2026-08-15T08:19:14.981Z" }, - { url = "https://files.pythonhosted.org/packages/b8/d7/34d8e404e358d2adcc5a228c2134643af00104c8fb0bf525f3688d756f05/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:978eab16f55b4ab2c2a745be9a0a840bf8f09a7f227d9c76eb30214d078865a5", size = 252045, upload-time = "2026-08-15T08:19:16.618Z" }, - { url = "https://files.pythonhosted.org/packages/5e/fa/40414471acf0aa0692ca77305aa00e434fcd8288f0941c93c30e9a5f8f2f/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:cc0329df4caaceb950d2f580b5ac716a377f7059624a0bafaeaf8a218c6ed774", size = 264866, upload-time = "2026-08-15T08:19:18.101Z" }, - { url = "https://files.pythonhosted.org/packages/32/90/fcc850bae791abd2e0c041847f13e270aa08692a79f3e00de6d2dce1cb50/charset_normalizer-3.5.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:687c9ca3035544b113bea2055e180af96fb63c0c476e22a9180f51925186e7b7", size = 253932, upload-time = "2026-08-15T08:19:19.734Z" }, - { url = "https://files.pythonhosted.org/packages/af/af/53afe99068b3c10b4cbae592a52ef72a7c92c0188440e83ee3a078fd8f75/charset_normalizer-3.5.1-cp315-cp315-win32.whl", hash = "sha256:706bfd38730a5ac7a365793269a00f4e988178cec121391f4248d84ad8c972e9", size = 180320, upload-time = "2026-08-15T08:19:21.37Z" }, - { url = "https://files.pythonhosted.org/packages/c9/bc/f46a132041b29e4a8779ed712d3df1bf112e94ca8de58b66d7ec2c0cf8b9/charset_normalizer-3.5.1-cp315-cp315-win_amd64.whl", hash = "sha256:92caef967d287a407085d61176fce4012b1dd62daed4eb6d5ceb26d3d2538712", size = 204174, upload-time = "2026-08-15T08:19:23.088Z" }, - { url = "https://files.pythonhosted.org/packages/a1/5d/9ed554480eda8e447b673648628fdc29574d23dbad01fe11837adedd1cae/charset_normalizer-3.5.1-cp315-cp315-win_arm64.whl", hash = "sha256:5fc45d653ea8c9a20479167e11d4a0f8cb2fa3470737ab6f9c827532313187b7", size = 184126, upload-time = "2026-08-15T08:19:24.471Z" }, - { url = "https://files.pythonhosted.org/packages/3b/32/9b8929bf384061ee1fe5d9c27c6f9776d3d824039ad4e14c88ec00c7808e/charset_normalizer-3.5.1-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:59171c6e45bf07d0d5cab3b0bf81d945035530f6873398b3b531c31184d46663", size = 381441, upload-time = "2026-08-15T08:19:26.038Z" }, - { url = "https://files.pythonhosted.org/packages/96/10/e9aa7923d3ddac652c99a1c5f7be494e737e151566a44abe018daf757f2c/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9dbdd9205662134957cf0c324f639bdc5031c0ca056e2369e238db75187c0f11", size = 241742, upload-time = "2026-08-15T08:19:27.532Z" }, - { url = "https://files.pythonhosted.org/packages/28/53/a2d249ebddf47b889a100c0bdcb61a2f9dbb8bc24ef325cc062e4f476877/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e4b018dc5a0eee4676e38fe84a47a427816c590b93b55d9025274ec4d6ffc2dc", size = 235298, upload-time = "2026-08-15T08:19:29.274Z" }, - { url = "https://files.pythonhosted.org/packages/7d/07/469f78af590f7d5cd48e20d8dbfa3d66deeff9ba37768c04d886b5afd45c/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ced3fdd71aaa83ce593746c2edb42b7a59cb4c19c8b5c407781c72e493aae55a", size = 262500, upload-time = "2026-08-15T08:19:30.955Z" }, - { url = "https://files.pythonhosted.org/packages/55/66/3bb56a47f7dcba014055b1a1d33c6f08bbe9c1e74dba154cfa25f90ae885/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:19a3dd5aa73cef1c99687c4fc57db016a9c17104ae1185da88ba566a5d3bebe4", size = 258888, upload-time = "2026-08-15T08:19:32.458Z" }, - { url = "https://files.pythonhosted.org/packages/ff/c1/2adc2800903fb013210349313b710a5376856578d9e33e6b9a1d8b36714a/charset_normalizer-3.5.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cc5d36d96478aa9c60654bd932525bf32964c62a7281eafdf16d85003a8d6004", size = 250243, upload-time = "2026-08-15T08:19:33.94Z" }, - { url = "https://files.pythonhosted.org/packages/95/b5/a18d0dd1157ab655cc2cb14a545f4a4784bbad70ab3502412e36097502d9/charset_normalizer-3.5.1-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:04368edf83514385ffc3e1cfd4546e595f4f1272dd23ba437a93a9cc3741d47b", size = 249871, upload-time = "2026-08-15T08:19:35.413Z" }, - { url = "https://files.pythonhosted.org/packages/ad/c3/525f508cd1e58d0450ac55ed40ac75bc3a97482c59def5278456a5fbf03c/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:9b5db6052055d34d41230fb78d7c439c23dc536a9896f6cb039e8dd92cfc1263", size = 243580, upload-time = "2026-08-15T08:19:36.886Z" }, - { url = "https://files.pythonhosted.org/packages/7c/c1/49a91fe7e97c8140094ca5c64161ab623a70d9f636bf834eace14048acb5/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:252d099029bcbea642f2a06c4ed5046bdf8b5a8150b64afa5e027e88b106e5ee", size = 239807, upload-time = "2026-08-15T08:19:38.392Z" }, - { url = "https://files.pythonhosted.org/packages/d3/58/56a48c296601274c4689b864a8e2dfb209b81dfcb39472753ce95eea662b/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:6199d5606e2bbf2b096cf64d03f8b6790c91081d5ac866b8e7bb6422738cc60c", size = 264083, upload-time = "2026-08-15T08:19:39.856Z" }, - { url = "https://files.pythonhosted.org/packages/10/4c/dc48409274a1817ff349711d26c62aa0c597df865d4d69ef79160c859193/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:77efcff2b23071c349402ac1066667a3d011f62398d81408c9b88ad991747c9e", size = 250317, upload-time = "2026-08-15T08:19:41.53Z" }, - { url = "https://files.pythonhosted.org/packages/81/58/d325912115caec62d6bdd77bbab5e0b7da5d234a9f20affdffcbcb530d0b/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:a5cbd90ecf0fc62e64726917ad083b73001f0563657a87ec3c0b504e277dc90d", size = 258173, upload-time = "2026-08-15T08:19:43.07Z" }, - { url = "https://files.pythonhosted.org/packages/34/f7/b13b1ccae2c8ec63980d13be1890eb73f8aeabbfce02a24aabc0908788f5/charset_normalizer-3.5.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:4d26f14f041e83dd8edfd61f4cd4fa7285d31798b5bf1f28e70c367ba6c41d61", size = 251960, upload-time = "2026-08-15T08:19:44.587Z" }, - { url = "https://files.pythonhosted.org/packages/1e/25/ed3f9919c5aef8cc818be1f972f565f7610d7b2076b8ebb98839516ffc3c/charset_normalizer-3.5.1-cp315-cp315t-win32.whl", hash = "sha256:ac13b004224fb341e1e25a1ed5e19d32f57cdb2a403e01f003b46f051a550f6f", size = 191186, upload-time = "2026-08-15T08:19:46.293Z" }, - { url = "https://files.pythonhosted.org/packages/69/d5/43c2b3e9d8267092b913eb8b0603f0f71993c395632886bd37a7223f96cf/charset_normalizer-3.5.1-cp315-cp315t-win_amd64.whl", hash = "sha256:35aea775dc2bd5f54cd84a1cd2696cc3207c479cb9cf0bd346f0d343e4300ddb", size = 215947, upload-time = "2026-08-15T08:19:47.853Z" }, - { url = "https://files.pythonhosted.org/packages/a8/76/9aad3e9c8865e5e0efa9a7f6f81c37a67635a985145ecd44528a81e088ee/charset_normalizer-3.5.1-cp315-cp315t-win_arm64.whl", hash = "sha256:fb78f6e7fcd8ad785d28cd577168bc1aaee827b25bb8755638f694794ea98f0a", size = 193909, upload-time = "2026-08-15T08:19:49.383Z" }, - { url = "https://files.pythonhosted.org/packages/5b/97/fb4e82231aba271ffd775a1b4993b0defc4e3059f286ae41d9433409fe85/charset_normalizer-3.5.1-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:41876ee62a3dddf48ff1121ad8f0798032aa03f2fd35f21f34a4cab14f18d8d2", size = 331467, upload-time = "2026-08-15T08:19:50.959Z" }, - { url = "https://files.pythonhosted.org/packages/9f/2f/fe3f187327aac18e2d54e9d2b08e15d27bf9b642d9e51c219f130fc34d1a/charset_normalizer-3.5.1-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a6dac12ff6b846103483683f60c5f8fee205121adc58ffd87e90a90a3af69e99", size = 253057, upload-time = "2026-08-15T08:19:52.654Z" }, - { url = "https://files.pythonhosted.org/packages/d7/c7/9e48cee5c161fe24da823b61bf381921d77cb994a0a4de148e95018c1984/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cee5dd7c6fb5dd52a0fe2a740f9bc6e3593f5f8b1788bde49de02086f30182b2", size = 240930, upload-time = "2026-08-15T08:19:54.163Z" }, - { url = "https://files.pythonhosted.org/packages/49/e0/716601f3cc69be7b198951150c75ead1ece33c3c8036ff6ffa46029659a0/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:343fb4f2821043bd87095f7b08a1a181febc8e36ac64212143bbfd0a0e1bc235", size = 230822, upload-time = "2026-08-15T08:19:55.807Z" }, - { url = "https://files.pythonhosted.org/packages/d3/05/71bfc5caa0abcc45aea1f6a4d50ac68e59605ddc7666fe8494f4cd229665/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ae4a097991662cd4fff0ddc74e0fe7874f82e00042fa0ea00855645ed0c79598", size = 260037, upload-time = "2026-08-15T08:19:57.312Z" }, - { url = "https://files.pythonhosted.org/packages/c3/92/de7e32ed05341e7a9c4c877c318418197b7f2d66a3b68d561bf2ac57ca3e/charset_normalizer-3.5.1-cp37-abi3-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4b599739b93b2cbeded49645ae3c8d1405c29ddfbceac1545c87a3f9580a9e96", size = 255097, upload-time = "2026-08-15T08:19:59.056Z" }, - { url = "https://files.pythonhosted.org/packages/f5/7b/ade0a122600319dfa0b1000ab0f9731c94a817904cf3c5de408c73a4ede7/charset_normalizer-3.5.1-cp37-abi3-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b39b69b347e5e47a3b5b8cfc005c68c1ba347474e3960236c4944a8ecd174962", size = 250166, upload-time = "2026-08-15T08:20:00.612Z" }, - { url = "https://files.pythonhosted.org/packages/75/9c/019fbb9f4834491a160951349b1a3714439376f66e5f7cf18b4f18f0c7aa/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:a2028475ba855475b8b4d3cfeb4994269c967aea8b9892dfba907f4263a863a3", size = 241821, upload-time = "2026-08-15T08:20:02.321Z" }, - { url = "https://files.pythonhosted.org/packages/2b/b8/11d4840bfc99330cc7fbcc2681ee5a044553a6e77655508d8f9b2bff7b34/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:36047af20e17097c3bb9476c2b7655f2f7aa51322c0ba58c07695bedf755a950", size = 232529, upload-time = "2026-08-15T08:20:04.008Z" }, - { url = "https://files.pythonhosted.org/packages/18/96/2b3a21492d9f65171ac75d872f5018260013d00bfa0ff70ec9f179148cbd/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:4c4fb141a727957c93edfe5c32a26ceb6b5f6461d67146e2d39f51e16170bea8", size = 260348, upload-time = "2026-08-15T08:20:05.877Z" }, - { url = "https://files.pythonhosted.org/packages/d6/aa/a69a2028e8bd052476c245460ab19d7de595de084dd968f2d75cd50c3e25/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:2f293479cce755c75f1697e87c409b7ae4c555c7dfecb6e988ad13abba943031", size = 247234, upload-time = "2026-08-15T08:20:07.487Z" }, - { url = "https://files.pythonhosted.org/packages/35/8a/3d130aeabcaf3d2466af76b7b141c08d9e89c9016ab4b7cdd0f7dc2d1c62/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_s390x.whl", hash = "sha256:3588e376b3ea2eea84976f67273d679f229e24c66dce7b82ae45aef04ff6e072", size = 256917, upload-time = "2026-08-15T08:20:09.142Z" }, - { url = "https://files.pythonhosted.org/packages/80/c2/a7379b840292d0c1ab9fbd17d1f3967aa81794dc95bc74be8999d7fedcf7/charset_normalizer-3.5.1-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e199fb99720074809a7720f1c0b4d919eea8b87e88713e0f8f602f7bef543d9d", size = 254846, upload-time = "2026-08-15T08:20:10.727Z" }, - { url = "https://files.pythonhosted.org/packages/01/65/d43b714731bb2f40d4053dfa00ecfc1c5a301f8e3316c5db3a09af59fe94/charset_normalizer-3.5.1-cp37-abi3-win32.whl", hash = "sha256:dd732602a7009217f658d5863d12d79d373a4de0eebc111094bcdd3bb8e0a6cc", size = 174216, upload-time = "2026-08-15T08:20:12.334Z" }, - { url = "https://files.pythonhosted.org/packages/35/4f/b911ed898b26a09789eba9c9200c999aff6c61b4bafaf4838e56d1a1e1a3/charset_normalizer-3.5.1-cp37-abi3-win_amd64.whl", hash = "sha256:70055ff39b97c99e7ae40ea3e393fb62aa2e44dbd9b29f8d14f42fb0025c3959", size = 199764, upload-time = "2026-08-15T08:20:13.908Z" }, - { url = "https://files.pythonhosted.org/packages/f0/a7/920baf467bfd9bf689f3b318340f37aee4572a71f162bd8db51da55ba4fa/charset_normalizer-3.5.1-cp37-abi3-win_arm64.whl", hash = "sha256:87e4f41d375c0b9be2fb5251aee4b8a689169e134535aed81bf085c3b647451e", size = 287318, upload-time = "2026-08-15T08:20:15.551Z" }, - { url = "https://files.pythonhosted.org/packages/cc/61/d01fc49b8dea277640b55a9e15960dbca9fdc8c9fde18e572d39c59f4019/charset_normalizer-3.5.1-py3-none-any.whl", hash = "sha256:6df0ec430f9a831772c23ca5a224cba36517a58a84bb32c32bb59a9fa67c47f6", size = 68658, upload-time = "2026-08-15T08:20:43.306Z" }, + { url = "https://files.pythonhosted.org/packages/9d/f4/035513d4117049066b4779dc3b7c0c0fdad175fa13731c9f4003f1cd1478/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e", size = 194248, upload-time = "2026-08-03T21:19:59.399Z" }, + { url = "https://files.pythonhosted.org/packages/76/af/2aeb4dbb5fc41a04161ae9ff1518de7cec08e164f44a8ce6a4cf7fd2cd1d/cffi-2.1.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c", size = 196908, upload-time = "2026-08-03T21:20:00.746Z" }, + { url = "https://files.pythonhosted.org/packages/a7/46/2e5fdde8555706dd98139a910ca11be02809f3f605ce956f655d0214e100/cffi-2.1.1-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6", size = 184805, upload-time = "2026-08-03T21:20:02.02Z" }, + { url = "https://files.pythonhosted.org/packages/55/41/4c7042f317b9217502988f0873af87e16ad606dc20f84e546e3e6ce9764c/cffi-2.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971", size = 184764, upload-time = "2026-08-03T21:20:03.141Z" }, + { url = "https://files.pythonhosted.org/packages/43/1f/1c3d90d91811c8f86ced9ed637956c54bfe5b79ca98fe976d7f8c8979f6b/cffi-2.1.1-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c", size = 214722, upload-time = "2026-08-03T21:20:04.377Z" }, + { url = "https://files.pythonhosted.org/packages/37/6f/3b5ce4c3b2192d250f04908f2bfd91ef34552ec8f7716a5d4abdb8d67bb2/cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125", size = 222369, upload-time = "2026-08-03T21:20:05.544Z" }, + { url = "https://files.pythonhosted.org/packages/02/10/4b3c75dde3d9663c9e02ba05c2668b954f671d4bbe346413ca8c696b295a/cffi-2.1.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264", size = 210175, upload-time = "2026-08-03T21:20:06.75Z" }, + { url = "https://files.pythonhosted.org/packages/df/62/14f74b9543e605d17701dc797b815958b8bb70b7624ce1b832ddad48ed6c/cffi-2.1.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3", size = 208670, upload-time = "2026-08-03T21:20:08.04Z" }, + { url = "https://files.pythonhosted.org/packages/95/95/86342356ff5953b3fb06f7ef7c5bee212d45e770abc7218d451b9148313c/cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2", size = 221824, upload-time = "2026-08-03T21:20:09.274Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ff/7b3429ff53aafe931ed8a5fc69f481bbef7ba6de87ddcbb63d08f483f613/cffi-2.1.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b", size = 225148, upload-time = "2026-08-03T21:20:10.7Z" }, + { url = "https://files.pythonhosted.org/packages/34/34/a95870b9221e09cf4f2ce3178b1a210abdfe63a1bd357da940418d7b8d15/cffi-2.1.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7", size = 223564, upload-time = "2026-08-03T21:20:12.165Z" }, + { url = "https://files.pythonhosted.org/packages/70/ea/839b50531021a647fb5e929f72cf97bc1ff702b5472166164b5b6e76b851/cffi-2.1.1-cp313-cp313-win32.whl", hash = "sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac", size = 175263, upload-time = "2026-08-03T21:20:13.559Z" }, + { url = "https://files.pythonhosted.org/packages/60/a6/8b149b2c3f2e11aaa1618ef64500b45f50f22c57a977a4dff1aff1f91042/cffi-2.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d", size = 185688, upload-time = "2026-08-03T21:20:14.69Z" }, + { url = "https://files.pythonhosted.org/packages/01/9a/11f687cb39d6a3504060d5242f04f48c735afb4d3d533958a20594890cb2/cffi-2.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973", size = 180078, upload-time = "2026-08-03T21:20:15.917Z" }, + { url = "https://files.pythonhosted.org/packages/d3/7b/d6bbf82b8b96e7391438898c42f5bd96dd02030fd5b64937d248220003e2/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c", size = 194064, upload-time = "2026-08-03T21:20:17.148Z" }, + { url = "https://files.pythonhosted.org/packages/94/e6/bcc91b283be94735e268487a054004f0aa19947b6348fa367db53230abc8/cffi-2.1.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb", size = 196720, upload-time = "2026-08-03T21:20:18.268Z" }, + { url = "https://files.pythonhosted.org/packages/d9/99/c4b0c17cacdc9c3b8f280026286a9826d6a208c0f047591a3c3ce99b91fd/cffi-2.1.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54", size = 184964, upload-time = "2026-08-03T21:20:19.708Z" }, + { url = "https://files.pythonhosted.org/packages/b3/a9/9db617d05d7367c1ad0ab00b3aa6e6f9281edd689b4ee9ea0e5a84e89c97/cffi-2.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72", size = 184962, upload-time = "2026-08-03T21:20:20.833Z" }, + { url = "https://files.pythonhosted.org/packages/67/b8/b42132ca113dc567d37684437b46ca1dafc885902b02a110a02d5b511857/cffi-2.1.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1", size = 222328, upload-time = "2026-08-03T21:20:22.118Z" }, + { url = "https://files.pythonhosted.org/packages/80/10/c5c0cbf0a657aecf59ef511409734230bf556f05a0d6c9eed7aa5c0a0166/cffi-2.1.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062", size = 209985, upload-time = "2026-08-03T21:20:23.401Z" }, + { url = "https://files.pythonhosted.org/packages/d5/6c/bfa0b87b03b9238148beca990292843c9396ba069b54496596594173de7b/cffi-2.1.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03", size = 208530, upload-time = "2026-08-03T21:20:24.628Z" }, + { url = "https://files.pythonhosted.org/packages/e9/02/4e7d553a7ac4b4238b38b3c1b80d486e9d4436f8d2acbf87a0997fe3f402/cffi-2.1.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96", size = 221525, upload-time = "2026-08-03T21:20:25.758Z" }, + { url = "https://files.pythonhosted.org/packages/82/1d/a4aaf9babd75acb4d5f223bff71533bee748dd770a382619a798960ee9ba/cffi-2.1.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527", size = 225053, upload-time = "2026-08-03T21:20:26.985Z" }, + { url = "https://files.pythonhosted.org/packages/81/10/5dc0e7bdd18e22107054288283380fc97a06ae3f1656a106908d666a3c88/cffi-2.1.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13", size = 223213, upload-time = "2026-08-03T21:20:28.277Z" }, + { url = "https://files.pythonhosted.org/packages/0b/e9/d0061c364cde06ee43168a0d076ac1da512cbc380d44767b844ba34fe2b6/cffi-2.1.1-cp314-cp314-win32.whl", hash = "sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c", size = 177682, upload-time = "2026-08-03T21:20:44.288Z" }, + { url = "https://files.pythonhosted.org/packages/a7/06/1c3e01e3ba14c39f6d10bfbac52753b7e22259e38088e5cfe1d704918690/cffi-2.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48", size = 187949, upload-time = "2026-08-03T21:20:45.623Z" }, + { url = "https://files.pythonhosted.org/packages/87/5b/da4e39efe18eeb89cf580ea9cfc66b6a7c3eadb808fc0cc1d3a295cb5a5d/cffi-2.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836", size = 182947, upload-time = "2026-08-03T21:20:46.955Z" }, + { url = "https://files.pythonhosted.org/packages/23/59/40338bf421c5accea1d45158170c87006ef1cd371b05c077e76476949728/cffi-2.1.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3", size = 188504, upload-time = "2026-08-03T21:20:29.495Z" }, + { url = "https://files.pythonhosted.org/packages/7d/47/5ecf1023850036e674c77ec4de86182d309ae344e39e7cba984b7df5d647/cffi-2.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2", size = 188259, upload-time = "2026-08-03T21:20:31.291Z" }, + { url = "https://files.pythonhosted.org/packages/2a/9c/92934c3bea9f785b23eba304538c0b4d37a2a96d2431eb3a1bc87a11aa19/cffi-2.1.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94", size = 223864, upload-time = "2026-08-03T21:20:32.571Z" }, + { url = "https://files.pythonhosted.org/packages/4d/45/ba4c93527bc38616a8bd36488acb69a2212d60486794f0c1f318949bbb76/cffi-2.1.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc", size = 211538, upload-time = "2026-08-03T21:20:33.808Z" }, + { url = "https://files.pythonhosted.org/packages/80/e9/b6ef565e452acb932fb0cb5443f44a78efbd1233e566f02b5a83855e9115/cffi-2.1.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29", size = 210688, upload-time = "2026-08-03T21:20:34.974Z" }, + { url = "https://files.pythonhosted.org/packages/9a/95/eff5f0cee78d2eabc7eebffec40d3fc1876b5f3c95582e018bb4b99601f2/cffi-2.1.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676", size = 223803, upload-time = "2026-08-03T21:20:36.564Z" }, + { url = "https://files.pythonhosted.org/packages/fa/01/579d39fb8bef00a335a23d83757b44feb24cd6345a2c451b64cb67b9c362/cffi-2.1.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e", size = 226763, upload-time = "2026-08-03T21:20:37.816Z" }, + { url = "https://files.pythonhosted.org/packages/8d/b0/0b44f47c60b01b57b6e2bbd92343f13a85a1d93bc46ccf6e47e244acd99c/cffi-2.1.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f", size = 225688, upload-time = "2026-08-03T21:20:38.959Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d2/3b7176cb570a1d3e27faf67b72f591af508036e0d8b2be2ef9af9e8c84bb/cffi-2.1.1-cp314-cp314t-win32.whl", hash = "sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4", size = 182868, upload-time = "2026-08-03T21:20:40.388Z" }, + { url = "https://files.pythonhosted.org/packages/56/78/31f00c1bcd97c9bbf55f1bfdf5bc809a5de8887473e90bb9960dca825e80/cffi-2.1.1-cp314-cp314t-win_amd64.whl", hash = "sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e", size = 194104, upload-time = "2026-08-03T21:20:41.725Z" }, + { url = "https://files.pythonhosted.org/packages/7b/1b/58496f2ed0a35de575250c02a43ab3cc2c04d494a88fed31c1cabc0fd176/cffi-2.1.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5", size = 186402, upload-time = "2026-08-03T21:20:43.042Z" }, + { url = "https://files.pythonhosted.org/packages/c1/8f/9ebe220eab48a093d1a5a5e339ab0dc7316eef3bb04d63c42f0251b61f50/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d", size = 194043, upload-time = "2026-08-03T21:20:48.179Z" }, + { url = "https://files.pythonhosted.org/packages/ff/69/844bad3ece306c4782c2ecb93597035b6690d48704b803914c199da1e8b3/cffi-2.1.1-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b", size = 196737, upload-time = "2026-08-03T21:20:49.457Z" }, + { url = "https://files.pythonhosted.org/packages/1b/8a/af668013284634733f02d683458a0728739c7d6ddb5e14cb0c20832266fe/cffi-2.1.1-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4", size = 184933, upload-time = "2026-08-03T21:20:50.639Z" }, + { url = "https://files.pythonhosted.org/packages/0c/75/2f5207ff6d1a613133b23a5203cc0c2a628313b5eb3974d7956ae3c57950/cffi-2.1.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8", size = 185002, upload-time = "2026-08-03T21:20:52.173Z" }, + { url = "https://files.pythonhosted.org/packages/e2/31/9e1313b0a6e30e91b3b3d3fff51ae99c857c07738e3afcce1f7334e1b7ab/cffi-2.1.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6", size = 222271, upload-time = "2026-08-03T21:20:53.462Z" }, + { url = "https://files.pythonhosted.org/packages/50/e3/f6234a833e6e08c7007003074723c406559eecf9b48dfc97471e5a8eb7a0/cffi-2.1.1-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80", size = 209919, upload-time = "2026-08-03T21:20:54.783Z" }, + { url = "https://files.pythonhosted.org/packages/0d/fc/5f74e293fced6edb51af3a46c4ccf6c23c9943774ecb375ddbd522c76add/cffi-2.1.1-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779", size = 208529, upload-time = "2026-08-03T21:20:56.066Z" }, + { url = "https://files.pythonhosted.org/packages/44/16/29e6d01b388bef055ecd6ca8244b3f4d336bd09e92d5d892187b9601084e/cffi-2.1.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399", size = 221630, upload-time = "2026-08-03T21:20:57.336Z" }, + { url = "https://files.pythonhosted.org/packages/a4/18/fa7f1f6857d5eb88a4ca99ffcbfb7c387a287ccc154c64a73e86314745d7/cffi-2.1.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688", size = 225134, upload-time = "2026-08-03T21:20:58.675Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9f/e8e3dfa04a1b4c241f8c91faacad872b4d4efd051d49764ad4e2fd4b9fea/cffi-2.1.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7", size = 223197, upload-time = "2026-08-03T21:20:59.968Z" }, + { url = "https://files.pythonhosted.org/packages/f8/7e/8debeb04f1ab9fe2a6963964cd6f1aaf7192627b83926586a6a4e089c9fa/cffi-2.1.1-cp315-cp315-win32.whl", hash = "sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac", size = 177683, upload-time = "2026-08-03T21:21:14.901Z" }, + { url = "https://files.pythonhosted.org/packages/e0/31/5158704cc474ab65c1647932e88be78dc0873f47130e253be38bcaf13d01/cffi-2.1.1-cp315-cp315-win_amd64.whl", hash = "sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960", size = 187897, upload-time = "2026-08-03T21:21:16.108Z" }, + { url = "https://files.pythonhosted.org/packages/cc/4b/b3a2da8570c704ffc0f9762cdc3ec0f02c8573798e0b5cf7f11c82bbb70f/cffi-2.1.1-cp315-cp315-win_arm64.whl", hash = "sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1", size = 182935, upload-time = "2026-08-03T21:21:17.271Z" }, + { url = "https://files.pythonhosted.org/packages/d0/ef/5443574510a1207e6f6bc38ba6e1f1de36cb48fef07b2728bb896a21f430/cffi-2.1.1-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc", size = 188464, upload-time = "2026-08-03T21:21:01.163Z" }, + { url = "https://files.pythonhosted.org/packages/7e/ae/a56fa8c4686ad50e148fcbc8d3ae0d03915ff5c30d795058988c24118cef/cffi-2.1.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab", size = 188262, upload-time = "2026-08-03T21:21:02.382Z" }, + { url = "https://files.pythonhosted.org/packages/53/b2/6187f46f2912276a3ae284076109cc5c8680482f11f766ccf26db4a86427/cffi-2.1.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e", size = 223779, upload-time = "2026-08-03T21:21:03.553Z" }, + { url = "https://files.pythonhosted.org/packages/8a/f6/c3ad28bd19f77047a03084424fbd4cbe997303267c14423737324be0385d/cffi-2.1.1-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358", size = 211520, upload-time = "2026-08-03T21:21:04.863Z" }, + { url = "https://files.pythonhosted.org/packages/a0/cd/ccac9013a5bd9fd764de118674ab9c805b5ca10c19270d90ee273f8b2240/cffi-2.1.1-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231", size = 210673, upload-time = "2026-08-03T21:21:06.223Z" }, + { url = "https://files.pythonhosted.org/packages/52/86/2976131c639aead931c5bee5aba67e4b09fbeb8018b6f282f70803f923a7/cffi-2.1.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6", size = 223835, upload-time = "2026-08-03T21:21:07.539Z" }, + { url = "https://files.pythonhosted.org/packages/ac/0c/33a7aeab2f9c76918c52e084beb39c570db3588133412929e8ec06fab90b/cffi-2.1.1-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94", size = 226705, upload-time = "2026-08-03T21:21:08.774Z" }, + { url = "https://files.pythonhosted.org/packages/e3/26/2cde30fdde421130bfc18f70395731a6e6b2053c6a1978a5258ff04e72fa/cffi-2.1.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5", size = 225539, upload-time = "2026-08-03T21:21:09.911Z" }, + { url = "https://files.pythonhosted.org/packages/6d/cd/a361394c94b2129d604bb846f624a8e88255a3ee33129c434a00d715e64f/cffi-2.1.1-cp315-cp315t-win32.whl", hash = "sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66", size = 182707, upload-time = "2026-08-03T21:21:11.226Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b5/ba2b299993c26577d529b6ae29841f9e15b9fcf004d65f423f4fcf94ade9/cffi-2.1.1-cp315-cp315t-win_amd64.whl", hash = "sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3", size = 193772, upload-time = "2026-08-03T21:21:12.39Z" }, + { url = "https://files.pythonhosted.org/packages/aa/29/35e016098c814cd93de9cd320c66b5bfba14dc6ecedd3cb518fa7c408c69/cffi-2.1.1-cp315-cp315t-win_arm64.whl", hash = "sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692", size = 186360, upload-time = "2026-08-03T21:21:13.636Z" }, +] + +[[package]] +name = "cfgv" +version = "3.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/4e/b5/721b8799b04bf9afe054a3899c6cf4e880fcf8563cc71c15610242490a0c/cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132", size = 7334, upload-time = "2025-11-19T20:55:51.612Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0", size = 7445, upload-time = "2025-11-19T20:55:50.744Z" }, ] [[package]] @@ -221,17 +248,61 @@ wheels = [ ] [[package]] -name = "docker" -version = "7.2.0" +name = "distlib" +version = "0.4.3" source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "pywin32", marker = "sys_platform == 'win32'" }, - { name = "requests" }, - { name = "urllib3" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/88/7f/731ff914b0255d3d065f45fd4e626d4b8c95dbcbaada049f337a6ac16410/docker-7.2.0.tar.gz", hash = "sha256:cebb93773d334f778e023a7ee352a8d6e13ab1bd3b863a4d4a59dec897df43ac", size = 118731, upload-time = "2026-07-09T14:53:46.39Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c9/02/bd72be9134d25ed783ecbbc38a539ffaefbf90c78418c7fb7229600dbac7/distlib-0.4.3.tar.gz", hash = "sha256:f152097224a0ae24be5a0f6bae1b9359af82133bce63f98a95f86cae1aede9ed", size = 615141, upload-time = "2026-06-12T08:04:52.847Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/75/23/529140fe1aab80fc6992f93a706deec709140a6397439139a054e1515c45/docker-7.2.0-py3-none-any.whl", hash = "sha256:a3f45fdeb9165e2d25d9a1d02ddf3bc70fb572cf5ebbf9b58558c22caf29b71f", size = 148775, upload-time = "2026-07-09T14:53:45.224Z" }, + { url = "https://files.pythonhosted.org/packages/02/08/9c41fb51ab5b43eb21674aff13df270e8ba6c4b29c8624e328dc7a9482af/distlib-0.4.3-py2.py3-none-any.whl", hash = "sha256:4b0ce306c966eb73bc3a7b6abad017c556dadd92c44701562cd528ac7fde4d5b", size = 470628, upload-time = "2026-06-12T08:04:50.506Z" }, +] + +[[package]] +name = "dotb-ai-platform" +version = "2.0.0" +source = { editable = "." } +dependencies = [ + { name = "alembic" }, + { name = "asyncpg" }, + { name = "fastapi" }, + { name = "httpx" }, + { name = "pwdlib", extra = ["argon2"] }, + { name = "pydantic" }, + { name = "pydantic-settings" }, + { name = "sqlalchemy", extra = ["asyncio"] }, + { name = "uvicorn", extra = ["standard"] }, +] + +[package.dev-dependencies] +dev = [ + { name = "import-linter" }, + { name = "pre-commit" }, + { name = "pyright" }, + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "ruff" }, +] + +[package.metadata] +requires-dist = [ + { name = "alembic", specifier = ">=1.13,<2" }, + { name = "asyncpg", specifier = ">=0.30,<1" }, + { name = "fastapi", specifier = ">=0.115,<1" }, + { name = "httpx", specifier = ">=0.27" }, + { name = "pwdlib", extras = ["argon2"], specifier = ">=0.2,<1" }, + { name = "pydantic", specifier = ">=2.8,<3" }, + { name = "pydantic-settings", specifier = ">=2.4,<3" }, + { name = "sqlalchemy", extras = ["asyncio"], specifier = ">=2.0.30,<3" }, + { name = "uvicorn", extras = ["standard"], specifier = ">=0.30,<1" }, +] + +[package.metadata.requires-dev] +dev = [ + { name = "import-linter", specifier = ">=2.15" }, + { name = "pre-commit", specifier = "==4.3.0" }, + { name = "pyright", specifier = ">=1.1.414" }, + { name = "pytest", specifier = ">=8" }, + { name = "pytest-asyncio", specifier = ">=0.23" }, + { name = "ruff", specifier = ">=0.5" }, ] [[package]] @@ -251,60 +322,134 @@ wheels = [ ] [[package]] -name = "greenlet" -version = "3.5.5" +name = "filelock" +version = "4.0.3" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/0b/d8/7cc97c142388aef03f622e001c572c4f84e9252a439549d483f555771970/greenlet-3.5.5.tar.gz", hash = "sha256:adb4bae02e91a8e863e48b177e4014bdcac8a6b5e047ea1df687a61534b85e6c", size = 207585, upload-time = "2026-08-10T15:09:36.136Z" } +sdist = { url = "https://files.pythonhosted.org/packages/4f/b8/9ba8f569df649beb7058db5eb392a5f779bdbc3b82cf3942f0be439fb99e/filelock-4.0.3.tar.gz", hash = "sha256:87296d60478e14204fd9406e79831400fef76693bae2895deec236c98e87a8aa", size = 244309, upload-time = "2026-09-23T23:40:22.569Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/fb/3d/8cef5f724ec0d4add2af8961d504535ec60c3cca9e464f6d03bdba29d85b/greenlet-3.5.5-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:b79fd2a5bc099b5e744f34c4c9a58954a5f4cb7529fb4b6e8446057d61b6edaa", size = 294730, upload-time = "2026-08-10T13:27:51.206Z" }, - { url = "https://files.pythonhosted.org/packages/88/4b/8e7aa3f514273aecff30a16ab1bac09ff54cfc7e6860fdd8058c37ff2499/greenlet-3.5.5-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:634cf15a233a949136879dd388e25d3296e16f3f1e217d2456797b8579ebc6ed", size = 614536, upload-time = "2026-08-10T14:14:36.589Z" }, - { url = "https://files.pythonhosted.org/packages/85/48/4e95e9dd5a8a397dc6a6345dd7f1935113d0fca4f85e89d3976da9cd988d/greenlet-3.5.5-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:499adea519f748407fc6806d20eedabac2884fd73b9f38d81236e190ba20dfef", size = 626924, upload-time = "2026-08-10T14:27:27.048Z" }, - { url = "https://files.pythonhosted.org/packages/0e/84/eaa476d6bf3816828d0d70e80dcc36bf30a058233bd889e707e693f6e860/greenlet-3.5.5-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f7278591501941bb2456af102bb9cd59aab48c6cfd6e2dd68fa1290bb0c49a42", size = 632726, upload-time = "2026-08-10T14:30:09.874Z" }, - { url = "https://files.pythonhosted.org/packages/89/5d/398a1c71fa7a277deeb376c999979de6786f08fc2d5747a0b9d6e11738dd/greenlet-3.5.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2eabb980975cba5b93a95f6f69287d05fc05ac955bfd6a320a7c083eeb52c0b0", size = 623906, upload-time = "2026-08-10T13:40:50.501Z" }, - { url = "https://files.pythonhosted.org/packages/d0/f2/0cc2849ede68579291e9c59b3ab6ec1958f98681cca5b14d8fc75bf674a4/greenlet-3.5.5-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:4dfc7c4470354e7b09184d1a3a985761053a2fd694ddb5b5c80242afc2c8c90b", size = 434966, upload-time = "2026-08-10T14:30:03.729Z" }, - { url = "https://files.pythonhosted.org/packages/04/1b/745450fc5ea9e0cb17d840d248f284db3363de736d362c7d2d883e3eadba/greenlet-3.5.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:03115c2e0a371999bf8ae616aa8d653f96641d4705c457aebaa187276e9f7537", size = 1581430, upload-time = "2026-08-10T14:15:06.853Z" }, - { url = "https://files.pythonhosted.org/packages/d4/29/d51b296e3191bb15d3d81ec375af1909e4466c0f395d744ed475801798a9/greenlet-3.5.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4441153ffba21b90d3ca89fe3d31f5c093ae6c0bf0cfdfc98f54cde22f95b62e", size = 1645684, upload-time = "2026-08-10T13:40:32.133Z" }, - { url = "https://files.pythonhosted.org/packages/12/63/369f1a1625e64e9e31df3963c6044056e3fdfa3fa3fdba3c54ffefa6e987/greenlet-3.5.5-cp313-cp313-win_amd64.whl", hash = "sha256:95c5b1f4b3a193f8a0c2de4bfdcb48d119f7f1063941f1de1f2168051b3e52dd", size = 324075, upload-time = "2026-08-10T13:26:58.974Z" }, - { url = "https://files.pythonhosted.org/packages/45/78/649cb5c09d4d81f6dd1444e75474a7206784743283a21d24171562ac4899/greenlet-3.5.5-cp313-cp313-win_arm64.whl", hash = "sha256:1af90aa4bc129883b340cdd6957a3bc74f60528a4993bbd1f53aaebe1d9981cc", size = 308260, upload-time = "2026-08-10T13:27:50.795Z" }, - { url = "https://files.pythonhosted.org/packages/7f/8c/080e881fa2be95ff1ddbd6994b2bab3b1a78df3b3fcab39306011764fcc7/greenlet-3.5.5-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:d4a389a852e392a6366058651a20fa5ba40d979865aa81bea2ccbdc44805070d", size = 295309, upload-time = "2026-08-10T13:26:03.032Z" }, - { url = "https://files.pythonhosted.org/packages/25/cc/0ac614e6586c0e42d4cc281a5819150f4f43685744a4c5ff77139286409d/greenlet-3.5.5-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:70b157cd319873e8b544ddc2de158f55bbd0a9b0218c8ce9332039801518e328", size = 661185, upload-time = "2026-08-10T14:14:37.867Z" }, - { url = "https://files.pythonhosted.org/packages/5e/b9/6808725354be8ad305dfe5172377664fc9642d4fc043be246b3314cf4482/greenlet-3.5.5-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8bdfd1424abcf26832961e766570cae79efdb9599d709088c9cb6ef82b194926", size = 673419, upload-time = "2026-08-10T14:27:28.652Z" }, - { url = "https://files.pythonhosted.org/packages/eb/52/f005d579acde46c3d1cc3cab1c9f3d5708c8a3006a4120e8cf5da801afe9/greenlet-3.5.5-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d98ef6f92e67c6dbf299dbfd8facc1b0d2d9cedf91e325e73b3d0373fe4309d8", size = 677863, upload-time = "2026-08-10T14:30:11.663Z" }, - { url = "https://files.pythonhosted.org/packages/42/2e/40c509967da7f254680826a2fa0dd22138ec79946c70b97542d74cde8b43/greenlet-3.5.5-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:182de51c6b572a705f2fafaab2e783bcf7d2760940229dfe73086cbae037af3e", size = 670822, upload-time = "2026-08-10T13:40:51.833Z" }, - { url = "https://files.pythonhosted.org/packages/c4/8a/a75f8a2bdcef3c358a3147cdc9db3aa83755f0a038f766ab0bedb66f512c/greenlet-3.5.5-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:159df1942d88e8f784cbb38d6f18bdb365cd11319cfbb3e89623de2b97892d53", size = 480554, upload-time = "2026-08-10T14:30:05.171Z" }, - { url = "https://files.pythonhosted.org/packages/2d/22/c3c2eee4a8fe191d6d1d183086c56133d646024e3d70bfd414829f64560b/greenlet-3.5.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8fec3f165dfe332e490c3247c0f6c23b0bfc45f06496ad7f00ddb00e3d35e4dc", size = 1628469, upload-time = "2026-08-10T14:15:08.11Z" }, - { url = "https://files.pythonhosted.org/packages/f7/87/25babd09b94cb1f03e71db815fde463f0262e40cfbd953d58a8d77311351/greenlet-3.5.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c6ce25fee6cabc8bf22cb8b52e642cbb821be5b9aec8094d07ff03378141b8e9", size = 1691952, upload-time = "2026-08-10T13:40:33.502Z" }, - { url = "https://files.pythonhosted.org/packages/2e/3d/5cc9701117ea4dc0eb7bf1f4f9b7888a6e2e5277ddfae095805ace50f2b6/greenlet-3.5.5-cp314-cp314-win_amd64.whl", hash = "sha256:7dffc5c859fe6059974df1e37d7923d654a83e2ae18fdd616994270e001115e1", size = 327458, upload-time = "2026-08-10T13:27:02.868Z" }, - { url = "https://files.pythonhosted.org/packages/a7/6b/594fa2de7fae7629168a404a4305d7d7e31a5742c50a801b1839543cb93d/greenlet-3.5.5-cp314-cp314-win_arm64.whl", hash = "sha256:5e2afcfc4d4305dd715809b03da5cbe437c8984f61d8917751eb5fe4aefa3e07", size = 311146, upload-time = "2026-08-10T13:27:25.046Z" }, - { url = "https://files.pythonhosted.org/packages/24/e0/50cd600b469e5734c72709b6b1838b6bc63f307b573c772c3132d6ecfe92/greenlet-3.5.5-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:0e5a7de979d764aea1f5b6e95cf92b5b37741b9823702041f34b126e7f690277", size = 305471, upload-time = "2026-08-10T13:26:20.568Z" }, - { url = "https://files.pythonhosted.org/packages/75/a3/77acd66dfc6387b5219b2080806c0cabb73c10eb1bb44b413c40a62015ba/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fef01bd457f11fc158b130ca0027a3c365693280e8e231b65bdaf57999f39f5b", size = 672470, upload-time = "2026-08-10T14:14:39.058Z" }, - { url = "https://files.pythonhosted.org/packages/b9/71/0d178142dca3ec19f46fb2212ae73d30ad53b9d548dc64804086033a7089/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5173a72310725a74afc82c164f0e52cb8ad0de62f2bb623f24f6c0cc07d80272", size = 679973, upload-time = "2026-08-10T14:27:30.072Z" }, - { url = "https://files.pythonhosted.org/packages/aa/ac/0d7887aa4bbfc9eba075cc428244dfc96f623478454d5ec81180d0d6bd5a/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5e9ec2e7c98e895fcea0c5cc57b2606cf86ece6d0a56578f3eb225e2af4f0387", size = 681587, upload-time = "2026-08-10T14:30:13.519Z" }, - { url = "https://files.pythonhosted.org/packages/6e/31/46eb8567302eaf787abf88d09df014e14ae3baf460af1b8b0efdbd3efcd5/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:44f08341873200ba8a60a8bc14ace3d91f1754f7fa7bc66157714a8cd420a476", size = 676634, upload-time = "2026-08-10T13:40:53.004Z" }, - { url = "https://files.pythonhosted.org/packages/4f/18/8d58ba1c429b0383e3219a3d0e0bba241d0444d8ed05b73349953c7d7c7b/greenlet-3.5.5-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:102817506f6090b5176c746a82603341a549b40e5c3d5b72a4c672228a918c41", size = 510175, upload-time = "2026-08-10T14:30:07.047Z" }, - { url = "https://files.pythonhosted.org/packages/a3/e9/b88bbf5b29970cb84172dc2c32aa3e5e579ceb94c808e81c826454138850/greenlet-3.5.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d246c0db9a2513cd45f019ba178ea4d4d4705bd210ee465e2c15d76a1ab13874", size = 1637320, upload-time = "2026-08-10T14:15:09.317Z" }, - { url = "https://files.pythonhosted.org/packages/6d/8c/7631ed29cc6f0392f11830076e172ce4885e70b0bc2c1bce1731176d4b4e/greenlet-3.5.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:72507285b5caa1d17904a3f7c322ca780823a54170a0e04ec3f37bcc60d4db71", size = 1697412, upload-time = "2026-08-10T13:40:34.924Z" }, - { url = "https://files.pythonhosted.org/packages/da/0f/f7dd935f9c4cb1be49098770587f54d8a78518e55c89bce86c4fb4109057/greenlet-3.5.5-cp314-cp314t-win_amd64.whl", hash = "sha256:7805655781fb8f28a55d05fe57ed61f5f10f1892fb587673e3bb5264f28041f0", size = 331514, upload-time = "2026-08-10T13:29:20.611Z" }, - { url = "https://files.pythonhosted.org/packages/b7/e5/681b01f8fbc1b55232822f99e8f8afeb78a55a7c76a7bf9dbdc7ccb03a6d/greenlet-3.5.5-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:c0db80fcd5b8aece93f66c64f78a786bbb6b96c5fe63ef5a5a4581ecf8bab206", size = 295975, upload-time = "2026-08-10T13:28:45.985Z" }, - { url = "https://files.pythonhosted.org/packages/11/f2/69b488cd9e7267bf4b0fe8cdebf25d8d6df680d21bdf41150d23e23d6652/greenlet-3.5.5-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b241c32f912ada659808d68e308c568baf577eebf757d15471472de0c18cfad", size = 666823, upload-time = "2026-08-10T14:14:40.222Z" }, - { url = "https://files.pythonhosted.org/packages/84/d4/d5bc2fdebbdda0c94555925ba79948b8395d75a7f6a36cc85dce5bab9f11/greenlet-3.5.5-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ef6a08349401d8eaf3cb12688ac8557de95788556b8631ef17555a4a173022c0", size = 677613, upload-time = "2026-08-10T14:27:31.543Z" }, - { url = "https://files.pythonhosted.org/packages/65/53/4e13642efc4d7ad6554ecb2242a5be42666b2e1a067323e88dfc0124a04b/greenlet-3.5.5-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:37faa97daccb6d9f4c2141ce3118d023c3c5506864a7d8bdf726f665018c1f76", size = 681436, upload-time = "2026-08-10T14:30:14.839Z" }, - { url = "https://files.pythonhosted.org/packages/bd/93/542d8a3a90f3b35c6ad8bf7e56a03010287f2cafa289a5b7985b5207db39/greenlet-3.5.5-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f2e3d061b8e13aec2f0441689b3c71b244a20e5d274a52cb0f7e31bd1d139552", size = 675930, upload-time = "2026-08-10T13:40:54.205Z" }, - { url = "https://files.pythonhosted.org/packages/cd/32/188447c9a468d6977d2989397226b0c6b65ab6f4cf943f931643328512fc/greenlet-3.5.5-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:b18007dc2473a7942fd157366b55f01da6fed7ce85318591005b419e0a439474", size = 487404, upload-time = "2026-08-10T14:30:08.903Z" }, - { url = "https://files.pythonhosted.org/packages/52/b5/89c9f2e8460d71101037d47a1feed11928615a5edd42370be290e0657eeb/greenlet-3.5.5-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:9ab5f5b93655e77fe0d6c2dfd22b5eac751bb1f876d8ec21761b7c1fb9266007", size = 1633878, upload-time = "2026-08-10T14:15:10.693Z" }, - { url = "https://files.pythonhosted.org/packages/b8/60/297de93f3b02ac78a5e04d32bb8bbe3080f4a73d8ed95016561463b70618/greenlet-3.5.5-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f0e5a21bd4452a88cf032fc43c4a5b307ab1380eacb63b5988f9c0317885e773", size = 1696597, upload-time = "2026-08-10T13:40:36.252Z" }, - { url = "https://files.pythonhosted.org/packages/18/25/54c6eaff4f337fb670215e89eb2d00d9499487b658e709d4b477be4a342e/greenlet-3.5.5-cp315-cp315-win_amd64.whl", hash = "sha256:469dbb0a78625642f4a626cfd0c6e8bccc0385b5e49189b6308bbe849ec88a8e", size = 327700, upload-time = "2026-08-10T13:28:06.752Z" }, - { url = "https://files.pythonhosted.org/packages/67/67/857e88a36301caa0e029870132c2478bd55d896630321432afab03a3115f/greenlet-3.5.5-cp315-cp315-win_arm64.whl", hash = "sha256:2d57406c3efd32d7a81e17a674314e8bd00792cdab49ea3228a49aa1bfb2e769", size = 311750, upload-time = "2026-08-10T13:34:08.815Z" }, - { url = "https://files.pythonhosted.org/packages/10/e2/3144c0a116067ac1e30457b0139a94d60d1d36a86e015de68e9ac87cb3bc/greenlet-3.5.5-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:68184dfcf50ccaa8e864770fe0633a7e27250ea9329f8192ef47ee9ecfd78e1c", size = 306387, upload-time = "2026-08-10T13:27:00.897Z" }, - { url = "https://files.pythonhosted.org/packages/5c/a1/cb4223a7e9b9f43b8807e8eb212358bfe2dfaa174a9ea2889eb1714dcba2/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9ec0dc0e59dc9c61af5c47348365ccbbd7addfafe0a93b00336ff3da2907bdc6", size = 676472, upload-time = "2026-08-10T14:14:41.417Z" }, - { url = "https://files.pythonhosted.org/packages/9e/cd/a154b4498e5d8f12ada291cfb3b8d596eadde2177f5bf09a9be699d2a446/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e604f58e35833fc46ef20302bcb314dddbfd3fcf33a4f936216d51dd678d63ae", size = 684238, upload-time = "2026-08-10T14:27:32.946Z" }, - { url = "https://files.pythonhosted.org/packages/ce/f4/e450a68a152f819491d8c7df6a8254e761d87e6a78759268961f8c5bd4dd/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2888a3a38bc5ee5bb6c438372197152e815837e4fab7ed7a1f86ef18ffd58ad1", size = 686022, upload-time = "2026-08-10T14:30:15.96Z" }, - { url = "https://files.pythonhosted.org/packages/bf/bb/b0031d260c2968a3c87deebc51d80c64e499377f993aafe06ee3b7488cc2/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:40239b5384f96da3963585cc6d7eaa9b56f8ae67e8d92cc82dd9e202fc847de3", size = 681246, upload-time = "2026-08-10T13:40:55.402Z" }, - { url = "https://files.pythonhosted.org/packages/18/23/17e63d6bf3b9c9b9dbea981b7f643a71f79603bdfb4f1c3a9cf353e22aed/greenlet-3.5.5-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:1e8d9391fe77f15649589a907cef972dbbd6352ef7ff7dc0492f658c0c26495f", size = 516951, upload-time = "2026-08-10T14:30:10.907Z" }, - { url = "https://files.pythonhosted.org/packages/9a/07/da554b71ab88e649da146e1065d86a48a5c5d92e50ab74ef41b504aa7f56/greenlet-3.5.5-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:a1eaccf5c3a1d3e46dead602c72e6836731e8e245c9de6a27764567b6b62d4c0", size = 1642735, upload-time = "2026-08-10T14:15:11.92Z" }, - { url = "https://files.pythonhosted.org/packages/78/76/26a3782a051677668af9d92beaa47cd87ba9dd5072f762961144a03dd4c6/greenlet-3.5.5-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:19e4e026fe20691f333b8eb1a3bc9625eceba8c3f9d62ec5a6f8581afbc6b5a5", size = 1700925, upload-time = "2026-08-10T13:40:37.656Z" }, - { url = "https://files.pythonhosted.org/packages/28/d9/fe7baf4190c2ae71f267efb9de21b3172bb35bc0ed1ef53dd6027d658e33/greenlet-3.5.5-cp315-cp315t-win_amd64.whl", hash = "sha256:712aee154f648bde84634654bb38bb78c69ac640c37a45c9effed800735049d8", size = 331829, upload-time = "2026-08-10T13:26:48.851Z" }, - { url = "https://files.pythonhosted.org/packages/df/af/419a4e383bd600858a9b67e9b280a60fdc383ee3f2fe5b6c0c1ef04e74d1/greenlet-3.5.5-cp315-cp315t-win_arm64.whl", hash = "sha256:7f049911ee81a16a03c33d5450d8d5867d27f596ca5fb201b86f4524e874468b", size = 315093, upload-time = "2026-08-10T13:29:34.949Z" }, + { url = "https://files.pythonhosted.org/packages/7a/6d/db8b86e168fef0cf904737e275bccb683558088ef971e92d3b41ce980699/filelock-4.0.3-py3-none-any.whl", hash = "sha256:30cd166e2aee2c7534ce2c33c6367c4cd051b8368e20e2c4eb0c34f699bacfab", size = 108444, upload-time = "2026-09-23T23:40:20.819Z" }, +] + +[[package]] +name = "greenlet" +version = "3.5.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/3e/6e/0091f175ccd02b02bc8811bbcbcc6ac2e980be116e3b2f7a736ca322bf84/greenlet-3.5.6.tar.gz", hash = "sha256:8e67c43bdfc88d5fee6db0d3e40175b362fc95fb85f0412d233b9b203c53a575", size = 207653, upload-time = "2026-09-14T15:42:51.806Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/a1/e720a38852366c589e1a46cf570b886507ad2cf591050c203365638baab0/greenlet-3.5.6-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:f96f0e30b5a95c7631b12bfe214cbc90ec8fe8cfa36920596c10514a65743519", size = 294627, upload-time = "2026-09-14T14:24:40.102Z" }, + { url = "https://files.pythonhosted.org/packages/eb/c3/58187858df41354a11e6a55b421e7af9059798abdab3a384cc51b8567c38/greenlet-3.5.6-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c75116c9de79949de23006e2d9b35ee82874c594fcf5c0311b439acaa14b8441", size = 614356, upload-time = "2026-09-14T15:12:03.399Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b9/3a7e67d5f05c9760b1ad411fa52264bd69cc08e22a2ebfb4018b90628ced/greenlet-3.5.6-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cad5782f93f7f738b62c6527b6f32a60694d924029f299a8b524758cfa53d815", size = 626756, upload-time = "2026-09-14T15:20:44.269Z" }, + { url = "https://files.pythonhosted.org/packages/c6/7c/40400455f5b5a65bb83e94fde66d1be9e5ec518638113f8083ace746c309/greenlet-3.5.6-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a93ee7c6e8fd0f8a83525a51bd777be57ee17787e91d805bd8d6faf9dcada18e", size = 632632, upload-time = "2026-09-14T15:25:07.813Z" }, + { url = "https://files.pythonhosted.org/packages/85/cb/ab0c123c514ed4e94c0dc9ee2e86362633e6b998cfc05de7fc9ac2eb9690/greenlet-3.5.6-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f98e8215e172f567ce80eeaed9107fb4d32b6c44f26983d9b8334658136a205a", size = 623779, upload-time = "2026-09-14T14:36:01.104Z" }, + { url = "https://files.pythonhosted.org/packages/f9/67/1f35cff30a6c51c3f23b63d4afcc7313ab4f97490ba3676fa78178984b27/greenlet-3.5.6-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:7f731ebac68ea06d628658295cb2d217b10186329fcf9a3b6a149045059bf92e", size = 434933, upload-time = "2026-09-14T15:28:38.858Z" }, + { url = "https://files.pythonhosted.org/packages/a5/26/fda8a5a06e7073333ccb038133c5893b9e0c4fe29d5992a17e83c241bc6e/greenlet-3.5.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:df19e2d0b1620039af5102563fbd96e8938c7f5c3f5828528d641d9fc585525e", size = 1584930, upload-time = "2026-09-14T15:10:08.234Z" }, + { url = "https://files.pythonhosted.org/packages/2f/37/50f8813163148d6234e08b23dcad6a9e37f01d148c8ec976e4c44ea2d918/greenlet-3.5.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:06c0e933290fba8ffe53ead4ae1b8044b0e9754b75cebf381aa2bc3e50d82fac", size = 1647590, upload-time = "2026-09-14T14:35:51.173Z" }, + { url = "https://files.pythonhosted.org/packages/86/da/b7669b09586365654083a62bd0724cf06cb74bd5085a15cdd161271f992f/greenlet-3.5.6-cp313-cp313-win_amd64.whl", hash = "sha256:5b602b4201b965a8354d74e232364a66ff243dd142e350d035f46169bb36e13d", size = 324086, upload-time = "2026-09-14T14:23:48.428Z" }, + { url = "https://files.pythonhosted.org/packages/e5/5d/c9663cfe84a2a9e0aa96f066f5b0594c227ea4c647511e087e2e11d4ac0a/greenlet-3.5.6-cp313-cp313-win_arm64.whl", hash = "sha256:876077e7ebb8c84ed068e2b23d4c62ebb010d60df84b9591af1be2f39010ffb2", size = 308211, upload-time = "2026-09-14T14:28:01.634Z" }, + { url = "https://files.pythonhosted.org/packages/66/c0/d254544ae2b8bdd311aef000fafc02828c2771b17d994b3075620ea7cc6e/greenlet-3.5.6-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:8cddea1b8339451c2fb3388e138347b6126744f33b611bdb55b7357361cfef46", size = 295221, upload-time = "2026-09-14T14:25:11.583Z" }, + { url = "https://files.pythonhosted.org/packages/18/18/eb54be16b9cc3971e09ca5b73334e1b8c804a4630d9addaaf218a4fe300f/greenlet-3.5.6-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c59acfa8eb73a1e0d484392dc002bdf001fd4ce73394e0132df3d1ab6093d7cb", size = 660992, upload-time = "2026-09-14T15:12:04.876Z" }, + { url = "https://files.pythonhosted.org/packages/8f/b4/e193efe65671dcf294bc51fcc59efb52d154adf8612c4ea016da0d2c486c/greenlet-3.5.6-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a3b4a01c6da07ef9f80d4fe8933b994bc99747bcea3eab0330a9c34d3c12655b", size = 673428, upload-time = "2026-09-14T15:20:45.756Z" }, + { url = "https://files.pythonhosted.org/packages/fd/21/631bb45fafde1dca782152377c0676d182ec924820064047f533a3627b28/greenlet-3.5.6-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:dd0b83bed3405b586a3133629f1d1a5bc7bfd64822a3b7ab342bdc68e6dbc61b", size = 677688, upload-time = "2026-09-14T15:25:09.279Z" }, + { url = "https://files.pythonhosted.org/packages/45/ac/28fa7a9e50f2859466214c4ac584d776db52c1604ad4dd158960a5af2a1f/greenlet-3.5.6-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9a09d59bef1db94f384b5bcc2d523694d338f3df6b757aeeaf7baca5d0c0be88", size = 670773, upload-time = "2026-09-14T14:36:02.577Z" }, + { url = "https://files.pythonhosted.org/packages/40/30/2b0a73e68e1e18e30b601d0d183cfdfc2beca4de5a6843c630f0fc9fb90c/greenlet-3.5.6-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:fdacf26402389bdd89857ad3c045a26fe8f3314f9a8b28226f82f88463a65b77", size = 480475, upload-time = "2026-09-14T15:28:40.741Z" }, + { url = "https://files.pythonhosted.org/packages/c3/cd/fb7d6cdd86ff3427c1494854f0e35437eba05142be91f530f6da75e09e19/greenlet-3.5.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8b7c73d1cef3d9ae963e9ff03f6222df43efbb9054ffd2f1969c935b7fc84c02", size = 1631900, upload-time = "2026-09-14T15:10:09.745Z" }, + { url = "https://files.pythonhosted.org/packages/f6/40/143bdbb20a516628cb15074ae52ed17d850b450292609c7a6fccac6dbece/greenlet-3.5.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8b27df301f56e3b3d2298095c8f7d6b68f2521f6b1693e901fa039bdbae34424", size = 1693740, upload-time = "2026-09-14T14:35:52.959Z" }, + { url = "https://files.pythonhosted.org/packages/c9/9e/019642432e6ae283301df1361227d47610709d2dc69a38f95edef266d713/greenlet-3.5.6-cp314-cp314-win_amd64.whl", hash = "sha256:f8f0bd690e1a41294ac87905e8121c81a3761ec2583c768f13467428606c8c7a", size = 327473, upload-time = "2026-09-14T14:28:12.948Z" }, + { url = "https://files.pythonhosted.org/packages/e9/7f/8aafc7bf70c948786dba7221d0dc0838e5329bebc6d434ef2208b4f0e760/greenlet-3.5.6-cp314-cp314-win_arm64.whl", hash = "sha256:8cda13494d86a4f12429641117cb6ac4bbbc9c30a33f711f7d3a2e5fbe4b0b7e", size = 311095, upload-time = "2026-09-14T14:28:00.7Z" }, + { url = "https://files.pythonhosted.org/packages/14/7e/7a205688a5b3074933b18a906608d46d106e9a79d776bdab5a4abf4b4feb/greenlet-3.5.6-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:97c5a53e8c1754df58e73f047a99e287d4da1bdfe64b0072fb25c87000897951", size = 305352, upload-time = "2026-09-14T14:21:31.962Z" }, + { url = "https://files.pythonhosted.org/packages/78/cb/9c4a57a9d9dd0256e20b8f7f4f06554c2c92badebf0ab73ce344321b78b9/greenlet-3.5.6-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fea4427d1ffdb3b523d7daa6712038428a4c16c450b9777bdd1221cfee0eab49", size = 672671, upload-time = "2026-09-14T15:12:06.347Z" }, + { url = "https://files.pythonhosted.org/packages/97/52/c6729681ebbd298f4decd28746815acc8a0b0a0fde21d2df33776fd4d042/greenlet-3.5.6-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:73a29b5ba642e35433166a03a3e02935e7238c4b3467fbd77523b99edea23e5b", size = 679489, upload-time = "2026-09-14T15:20:47.291Z" }, + { url = "https://files.pythonhosted.org/packages/71/76/3c11c21e0716b1f1dc7c1a4b3d690abb1d3b448c69a9d32049fecb64010a/greenlet-3.5.6-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:61a61b4a95a4f97922c3a6f5606d3e360851584bd47e500a5161373c53810e3d", size = 681303, upload-time = "2026-09-14T15:25:11.088Z" }, + { url = "https://files.pythonhosted.org/packages/58/c5/2b6c721ba8b8963da42d5a0f57f25b8aaeb1fe9bdd156875e57f3be648a2/greenlet-3.5.6-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:460e70b033aba8ed47e2ac9b5d0d2157b05a34fbfa30a241400aef4118902cdc", size = 676608, upload-time = "2026-09-14T14:36:03.959Z" }, + { url = "https://files.pythonhosted.org/packages/3f/26/3ae402202452cd5941bbbd483e5a74297e2397e7aa3182c2a5e3ab7d5666/greenlet-3.5.6-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:fe3170a69fe039b18ad18171e66faa9a75f6fe9d78f968fd9b54e09fbd714d81", size = 510112, upload-time = "2026-09-14T15:28:42.112Z" }, + { url = "https://files.pythonhosted.org/packages/b2/04/0d018e0d05bcdde19a0fcb907834155f1fc853a9bedd3f3f5e6acadcae19/greenlet-3.5.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ca80a49b53ed1d22f7282da7255f7bb2fd1935fd0f623d8613fda38745f18961", size = 1641479, upload-time = "2026-09-14T15:10:11.216Z" }, + { url = "https://files.pythonhosted.org/packages/59/bb/f02ef9073919158f6403fe3701d4ed4403d646720e7201dfc6e9d264bac3/greenlet-3.5.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:916f92f2a8db10508f739d0b5e00b83defe5d1115a997c54532a6d7cf8c95404", size = 1698758, upload-time = "2026-09-14T14:35:54.336Z" }, + { url = "https://files.pythonhosted.org/packages/08/a5/1f48fe647473a2dcccfd1839b2ff2c78eb57009be776b4da071e901c9bff/greenlet-3.5.6-cp314-cp314t-win_amd64.whl", hash = "sha256:886bcf1870af74c32bc310fd00a6b803445e17e51b7d5a107c7b35c0f362cc16", size = 331574, upload-time = "2026-09-14T14:27:18.451Z" }, + { url = "https://files.pythonhosted.org/packages/cd/72/3882855a75838faeb54a58aeef4fd77d20b2a86d4bad570c70d41b565dcf/greenlet-3.5.6-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:3ac3494c381dab876cad7d0b22f3a722f3e0c8deb3a65b9e7f35ad7f58b8fcb3", size = 295926, upload-time = "2026-09-14T14:27:21.16Z" }, + { url = "https://files.pythonhosted.org/packages/10/1f/be4d957d8a9b90bcbe8db206548a42134d96222d43e5ed3fc4708fb6e24b/greenlet-3.5.6-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:602024dae6d77e161f4b89491b62ca1d4f19949d79d47b2db057e476d21179d6", size = 666910, upload-time = "2026-09-14T15:12:07.901Z" }, + { url = "https://files.pythonhosted.org/packages/a1/af/60d62571a7d6de961e4ce7625d6c2faf359345659fc782d2cdf517c34577/greenlet-3.5.6-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f8e63209c3e1e828ee6a457529b4a6d8b05d050fe0ae03a7ae49e967c5d312e0", size = 677415, upload-time = "2026-09-14T15:20:48.817Z" }, + { url = "https://files.pythonhosted.org/packages/f5/41/b3114c97c10e796010f00a30f51c81470072bca4b53e396ccca87484fcf7/greenlet-3.5.6-cp315-cp315-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9133d68624b1f2e89ec2f554d56aea8a5b0d7168cd9320200ba58d4d794845a4", size = 681337, upload-time = "2026-09-14T15:25:12.812Z" }, + { url = "https://files.pythonhosted.org/packages/fb/16/ac9e547b611539aaed1870eb1d6ddc57abdd5924b3a99bb9b5f0b44176b8/greenlet-3.5.6-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccadce0130fd813ec86ebfe969a6c58b42acc1d0fe55a47525375b740e07b605", size = 675927, upload-time = "2026-09-14T14:36:05.34Z" }, + { url = "https://files.pythonhosted.org/packages/48/1b/d41861c2fa00968e39e467a495ca8db9ce9b6310a5d9b57561b3d0dc48fa/greenlet-3.5.6-cp315-cp315-manylinux_2_39_riscv64.whl", hash = "sha256:5adcbbfe78bdc242c71740a02e0991cc1b2f34d33c8bb15ca45eee8fd1140942", size = 487339, upload-time = "2026-09-14T15:28:43.497Z" }, + { url = "https://files.pythonhosted.org/packages/c4/b1/b7ba08d6431121741f1d30be0d5d292e76873325179a63586cd9217b62f6/greenlet-3.5.6-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:9297fb9c39b9a2c039dbcd306c410bd6906b95244dec3bba4318d36c718c164c", size = 1637236, upload-time = "2026-09-14T15:10:12.442Z" }, + { url = "https://files.pythonhosted.org/packages/af/c5/3b1cbc68f0c082022fc8717f7fe4b8b13b8d583c52352be37f4e9f55bcd2/greenlet-3.5.6-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:b374e79ffa7511afc11773aef40a4ccea6191fba1c856ea2f9c56738dca69d7a", size = 1698526, upload-time = "2026-09-14T14:35:56.039Z" }, + { url = "https://files.pythonhosted.org/packages/de/56/12941ed2711400451c89d544e10f831800a2770f19dd55eac8f0f7f2003b/greenlet-3.5.6-cp315-cp315-win_amd64.whl", hash = "sha256:7969bffa322c097bd46ae595ada6a931cefda613f18ba64587e9cff4cb320756", size = 327739, upload-time = "2026-09-14T14:23:55.768Z" }, + { url = "https://files.pythonhosted.org/packages/c5/3b/576b9ed5ac929252e340cf60b4bcb6a8515350dc20797064b1922dc4ea75/greenlet-3.5.6-cp315-cp315-win_arm64.whl", hash = "sha256:8dba0129b93e7091dfefaf4cf7000172741bff7f47bf6326fcf17f32fbb54d6b", size = 311715, upload-time = "2026-09-14T14:28:25.154Z" }, + { url = "https://files.pythonhosted.org/packages/16/c2/86cfc5555a98e12b86966ddbd24fd39af32f71f2f785c6595b7feb2db156/greenlet-3.5.6-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:de3de000d459402cda015068fd135aa50c0bf6f2477a80d4da1e646f123b4e78", size = 306244, upload-time = "2026-09-14T14:27:57.565Z" }, + { url = "https://files.pythonhosted.org/packages/14/6d/83ffc9d05a75a80ab3a7595dbb1d9604e5d4fc2996d73a8ae2dbd1284900/greenlet-3.5.6-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45663c01a4de48b9a64a2ee1509d92d1dfd3afb02b2ccfc9333029d11aef996a", size = 676578, upload-time = "2026-09-14T15:12:09.468Z" }, + { url = "https://files.pythonhosted.org/packages/5d/d6/c2cf684810e5caded075970aaadea654ecb58b8382b9aecf1d231b936894/greenlet-3.5.6-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3deccbb57a481e3a408fe61cdfd5c13e0678fc0a30fdd09597917ca87b4be877", size = 684203, upload-time = "2026-09-14T15:20:50.261Z" }, + { url = "https://files.pythonhosted.org/packages/f2/d1/039c353d5593a97a89699e989324c9bc86af499e6c6152fe0180f5742204/greenlet-3.5.6-cp315-cp315t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:63aff70fe5aac59c72215f42ec39fcb59ff46774fa966e717f8ecb6ee2273577", size = 686023, upload-time = "2026-09-14T15:25:14.528Z" }, + { url = "https://files.pythonhosted.org/packages/62/19/00e1bee5d2af890dc8f400b54d0b0f9b489965f92bc12b407ff72cc6f469/greenlet-3.5.6-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:311018b46472fb26ee85870847fb89eb64cc8aaddb617400789d87076f7cfeec", size = 681253, upload-time = "2026-09-14T14:36:06.742Z" }, + { url = "https://files.pythonhosted.org/packages/8a/62/97ceb8e0b2ea96046cdf8e95b042715020ebb12d83ea0690db80a8f03d23/greenlet-3.5.6-cp315-cp315t-manylinux_2_39_riscv64.whl", hash = "sha256:520648db8fb92eef7b3e6013f5a6f901cdf0d6685f639c2f7a245879f865bef7", size = 517058, upload-time = "2026-09-14T15:28:44.924Z" }, + { url = "https://files.pythonhosted.org/packages/89/58/c9275fd0ca195d1d3402931bcce8cfcc74726ff76efb1883d229e6e1a3d7/greenlet-3.5.6-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:7f924a5a9d5890649566f2f6682e0d8ad8ca23028bacffbbac36dbd7fd680176", size = 1645988, upload-time = "2026-09-14T15:10:13.758Z" }, + { url = "https://files.pythonhosted.org/packages/e0/36/b35747582fa4f1a5453f8f3002405dbac788e450cec7674dc2d204b6ccb5/greenlet-3.5.6-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:de9923832f2d8c1a5ecd8d7260465a6ca5a86888a0d129e3bd5cf0406d2fc5bf", size = 1702383, upload-time = "2026-09-14T14:35:58.143Z" }, + { url = "https://files.pythonhosted.org/packages/ed/69/6ec22ac9351e474d2a134d0ff9400dc80362d1c20f0721088ffffdfc205b/greenlet-3.5.6-cp315-cp315t-win_amd64.whl", hash = "sha256:2ab5f42ac6c238eb71770715e6e909ad9a1a92b6c681ccb64cd5a0f07edb953f", size = 331845, upload-time = "2026-09-14T14:27:41.723Z" }, + { url = "https://files.pythonhosted.org/packages/30/cf/697c051fd534e223461fb8b523890e21a24eeca229cd50624cff6f02fabd/greenlet-3.5.6-cp315-cp315t-win_arm64.whl", hash = "sha256:f9fe868463ec7e1363733af77e38a5fda3e9b63940337048c945d69e0c80ff24", size = 315070, upload-time = "2026-09-14T14:22:21.476Z" }, +] + +[[package]] +name = "grimp" +version = "3.17" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ad/2e/95736b7c984705ff5ee376f07c6e71bb80fcbb22c8fa3b8c1cfbfa919d5c/grimp-3.17.tar.gz", hash = "sha256:5161e03c6f518fe4da43b06c97ff49a1e224ecb0e4b9fd6ef48235373d1b7b33", size = 832923, upload-time = "2026-09-04T11:28:54.609Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/10/7a/b1c76982a239347bfccd2ae95b9f79d3390cd14170f62e7eb822a17d786d/grimp-3.17-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:eb8f09da4302f05fc92fe7564f27731c0b43789d8893ae5e6be5df2b01668923", size = 2145452, upload-time = "2026-09-04T11:28:12.121Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ab/2a1a9574b391c0ee62cb33a633c0d377dce1b7d19d04a7ac5d5e6872d395/grimp-3.17-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0f11566bcf388db4c79f1c7f1051f6ef150f778306350bb7d86d0c9aab32d297", size = 2091654, upload-time = "2026-09-04T11:28:04.635Z" }, + { url = "https://files.pythonhosted.org/packages/e6/12/7dc086132ac10a2409f158f0b0d7cc528a2ebe0a4e95bca895afe7452fa6/grimp-3.17-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bfda3e2ebb4e51beec4a3cb09bb771440f3192163107d9320e6d9ce8fe064e64", size = 2277300, upload-time = "2026-09-04T11:27:01.844Z" }, + { url = "https://files.pythonhosted.org/packages/5b/62/2e16a54580fa76fb7e64e8e8e2ebb899c709a764cb29149a88eb03f2eea7/grimp-3.17-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b0ab1ab71d807fc6f56d82f1ab24acf2f2e0e5000e37b5540af9449e28c6830c", size = 2220417, upload-time = "2026-09-04T11:27:11.418Z" }, + { url = "https://files.pythonhosted.org/packages/73/c0/e1b0ad0d0b3d9dff996bad306542f3cf000cb86c368bfe3ac6a8bb1e2e2f/grimp-3.17-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:187b092664e882d10b9f2c3da99251d0aeb99186d407ed5d20f52005832045f6", size = 2370754, upload-time = "2026-09-04T11:27:39.995Z" }, + { url = "https://files.pythonhosted.org/packages/36/0f/015e48ad8029f788eaa3df71b66859b2b5dc63abb8d7a2014a2b5a581040/grimp-3.17-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:75da770aeee97d26b202d7251fe7f6562e7f2793e348501b0a64ca5c50e881b5", size = 2628257, upload-time = "2026-09-04T11:27:20.491Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d3/66da78504a1731237ed8befd9c66fb91037a7b82816443ca772107acf8fe/grimp-3.17-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f5cc64f891f71f538d3d032d6e7193f69c3a2e0ceac72c55114faee5aa161f9f", size = 2347569, upload-time = "2026-09-04T11:27:30.282Z" }, + { url = "https://files.pythonhosted.org/packages/cb/a2/6474d008fa49cc650d626798cb3b6e3fa7b0daaad24884fd6bb4288f6154/grimp-3.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dbf2d93b0ba7f6c1efba9f5b3e07a3da0a157392c650316a5c1478b0ef7e503", size = 2284227, upload-time = "2026-09-04T11:27:52.462Z" }, + { url = "https://files.pythonhosted.org/packages/c5/b5/91cd378c08494fd0130e5cc2e54d60d12f53b21850e0dbccf668b6e73d91/grimp-3.17-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7a22b5dcbf55f1c348885e09cbe91e63baedf6ce0f89c60bb01a0475c7d0a90b", size = 2454655, upload-time = "2026-09-04T11:28:19.837Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d0/b582238247ce51857c7ac770c3be10203c992696f3dc9153f1a979c011dc/grimp-3.17-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:73aa9459a604554b1dc1618148312036679f3974bf8b0285588220307147060b", size = 2495852, upload-time = "2026-09-04T11:28:29.606Z" }, + { url = "https://files.pythonhosted.org/packages/8f/99/e0690b02be70f346aadfe2aa8bd7e496c773298ac58c0d0fa6376c1298b2/grimp-3.17-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:c31660d30e79569faac05033637c1eef4595542f44ec2323af54e900030164a6", size = 2527887, upload-time = "2026-09-04T11:28:38.828Z" }, + { url = "https://files.pythonhosted.org/packages/69/7a/33e41d9b08e63cf398d8194a9208b21788c76916b5ac6d90146e8e2ebf95/grimp-3.17-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8f395c5ab2cf554504f46680b9269b769939ab5d7ea58f93e5c341e55b1affbd", size = 2539000, upload-time = "2026-09-04T11:28:49.037Z" }, + { url = "https://files.pythonhosted.org/packages/69/f5/7af1dd74b9608a85274414fc423a7162844492b198ece3fe31f4e1f88237/grimp-3.17-cp313-cp313-win32.whl", hash = "sha256:34369739ed293accbb674494ae932351516b316e8e85d1d333d4c51796af846a", size = 1874244, upload-time = "2026-09-04T11:29:21.693Z" }, + { url = "https://files.pythonhosted.org/packages/8b/d4/af497adddfcf11f9bd4ab273625a49022bf5ba4f5fc389589f4e6edc67b9/grimp-3.17-cp313-cp313-win_amd64.whl", hash = "sha256:d21b859c50418bdb48b403a84450650fa7aab3102f3212d00d3c21c76a982167", size = 1998225, upload-time = "2026-09-04T11:29:10.5Z" }, + { url = "https://files.pythonhosted.org/packages/e2/2a/07fd537997281049af2390fc8641de5ae063ae4972cb6fcec85873674595/grimp-3.17-cp313-cp313-win_arm64.whl", hash = "sha256:206cd9f7c757b97934f48ba2b8ec6d649725fd6314d6b182dd327b19b4f35707", size = 1922071, upload-time = "2026-09-04T11:28:58.34Z" }, + { url = "https://files.pythonhosted.org/packages/39/e0/e11ea5aeb62534c9706e17952d142aa844ce5659e2d66b4b8ba9377407d6/grimp-3.17-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:0100ff6f08067c8eb8a77dd1433af5e173aea8dbf6a6b76f5372a3b49f2e0a43", size = 2161696, upload-time = "2026-09-11T10:36:49.104Z" }, + { url = "https://files.pythonhosted.org/packages/4b/d6/ddf82f4428d8bdc54ced0db244cbf5d8e5638490c3ed6a8b9f5db55dfa51/grimp-3.17-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:67ada40a5c1cf4321183c0b0cd0393658ccd04b845caed002ac81dc2fdef828e", size = 2107301, upload-time = "2026-09-11T10:36:46.459Z" }, + { url = "https://files.pythonhosted.org/packages/86/1a/1dd0d9d2751e8078547e1cb7131e13d9624a2ea60700d926b3d624c15825/grimp-3.17-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:baa385915a4c17948bfb25f77509cbbfb33795f321d1c5ca7cc602e34ed58e99", size = 2278433, upload-time = "2026-09-04T11:27:03.075Z" }, + { url = "https://files.pythonhosted.org/packages/58/71/3768fd253e7455a83d668193055691c82d3a4d434047116c572a27d2bd39/grimp-3.17-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8322a435b5ee97ff3db823df36cbefea569faec505cc0ca66223c27b4b44cca6", size = 2221152, upload-time = "2026-09-04T11:27:12.642Z" }, + { url = "https://files.pythonhosted.org/packages/b4/4f/907a130e87554d57be14c2a7cedeb818d0ef519064877297d19636735f6b/grimp-3.17-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cb953c21beb6ac85a59b5b54128be7fdddd89396d34b3c5705cf59829a85b431", size = 2371546, upload-time = "2026-09-04T11:27:41.195Z" }, + { url = "https://files.pythonhosted.org/packages/7e/4f/a3bf534aa7c582a47d8cfefab5fccb50e6f4dcd327ed6a8552d344a04ffe/grimp-3.17-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c34b904c25359f98e3f20771256d62329ed17f1e26a254a4f5c74bacc1f3bd21", size = 2628467, upload-time = "2026-09-04T11:27:21.818Z" }, + { url = "https://files.pythonhosted.org/packages/32/d3/2b2ab7b3a4e2c17bb1e10ec37e7ee8eecce7f72b1bf6c8019dd439943884/grimp-3.17-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f69ce8be301299f15ca99843e89991c240a231836cf45a11c6bfc54fb9fbeaa9", size = 2347520, upload-time = "2026-09-04T11:27:31.73Z" }, + { url = "https://files.pythonhosted.org/packages/72/da/6bc1f783a739afa51ffa2e235791487b5d09202501b25843ecae9833a3ff/grimp-3.17-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:566411d1ac97e1f3a3f00a13ae33aebb9abda9787d3d9914f62f73b589d84fe2", size = 2284007, upload-time = "2026-09-04T11:27:53.889Z" }, + { url = "https://files.pythonhosted.org/packages/63/06/a08f1b16aec11f32bbc86f60e24986659ab4cfab79388c8d4b79f6a6723e/grimp-3.17-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5f89948029f3c7339a20bab007977194d3dbdddb27edae5c74b948d8f13191c7", size = 2455301, upload-time = "2026-09-04T11:28:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/ff/c1/d55e9686f3797d1a2c6403d2ffec3020c67591c004304a414fe8d7a9755c/grimp-3.17-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5a895bc27105ada9b0e76a80bf9cc898409e5cc3689e73e64ca1cbd71dc87dce", size = 2497158, upload-time = "2026-09-04T11:28:30.984Z" }, + { url = "https://files.pythonhosted.org/packages/7f/85/a2d2e70c4f272752c395cc35b3732d82ff92c55e229d7bbd6777fd9868ff/grimp-3.17-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:e80b57a7d03f53e96eb0a5b0844340f99f17eede184042fb73e3ef010176ab35", size = 2528862, upload-time = "2026-09-04T11:28:40.251Z" }, + { url = "https://files.pythonhosted.org/packages/cb/03/fc3a58d9b22b011c1c3377c1ecee127a5f642de9b20de32d3ad7213ab71a/grimp-3.17-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c0cac76283679fe9c1fd761e63deb9bbc7ba46b32988113ecef4b13742f31b9", size = 2538240, upload-time = "2026-09-04T11:28:50.248Z" }, + { url = "https://files.pythonhosted.org/packages/58/13/d7666cf03c79c275020bad40ea1df8597af7877083ef5a84b5d8b566029a/grimp-3.17-cp314-cp314-win32.whl", hash = "sha256:c8982f4fa1276e059665947156740a55a4e8e6b5a4d7f40730a7511afb608762", size = 1874930, upload-time = "2026-09-04T11:29:23.152Z" }, + { url = "https://files.pythonhosted.org/packages/59/ce/abb9ccb50972351461065ca72cd0f528837a2f398621147dfaf1013698f0/grimp-3.17-cp314-cp314-win_amd64.whl", hash = "sha256:0b97dc29bdca523932bbbcb425fc3df3547cf970396b293bfa960b910f3932d1", size = 1999405, upload-time = "2026-09-04T11:29:11.832Z" }, + { url = "https://files.pythonhosted.org/packages/9f/1d/93c12ff4ce9ede9f91aa03df66128d223a4c824a13de6ab702c973fcae0d/grimp-3.17-cp314-cp314-win_arm64.whl", hash = "sha256:80b5b25b8d8ed6cc68dc39ae9e4c2fb64acd1a3e66434d9cf4d68c72e46d505d", size = 1923324, upload-time = "2026-09-04T11:29:00.004Z" }, + { url = "https://files.pythonhosted.org/packages/d2/59/f94dd90757a2195415736f0e2be667ac4cd375fe86d875d4298661751fce/grimp-3.17-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:e15340ee11e34bfaaee496cff53f8287dc9f417a94e5bdf3d6b4204305d004cc", size = 2145199, upload-time = "2026-09-04T11:28:13.287Z" }, + { url = "https://files.pythonhosted.org/packages/ce/83/9d7cb22fc136ad6a61bff3b74cf0b31b13fdf94e224d46ff1edd9b5b8c86/grimp-3.17-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cbccf2a6cd3f89bfdfd683d9b000bd61f6936e16b6d4d6619da592c54f79f272", size = 2090761, upload-time = "2026-09-04T11:28:05.984Z" }, + { url = "https://files.pythonhosted.org/packages/e2/6b/b70add79e9e315d111bb1643b44e1b9e1ded82888856e1ad68bc484cd635/grimp-3.17-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5332893955688759a9f7868c3c9e56b19bc1694ee251852d3daf54876b35c115", size = 2279005, upload-time = "2026-09-04T11:27:04.543Z" }, + { url = "https://files.pythonhosted.org/packages/d3/4c/f5f001e592f8e8820086604db98373ca129e2831facad81ec0d1820a749f/grimp-3.17-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:848a92d8a63a38d79c89ab1e68fb5429d90079f39c07533ffd45ce756e7f210f", size = 2220430, upload-time = "2026-09-04T11:27:13.814Z" }, + { url = "https://files.pythonhosted.org/packages/83/13/cc57724307c22060e193a1dc9bc99fa14d46584c534a3936319ec579c599/grimp-3.17-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c89cfe49f822a2cc9c42cc7b0f3975ecb1281970735ea31610bfa06a7e04c460", size = 2370318, upload-time = "2026-09-04T11:27:42.535Z" }, + { url = "https://files.pythonhosted.org/packages/50/1b/05d9964d4b47ffe0ef826bfe04b3f4b713fd623c90e424ff002cb0d8a917/grimp-3.17-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:541c9a2b7f1ad5d4f5d1597740e51058fba8ca0c1a225d6ccc6d11a8364fa563", size = 2629127, upload-time = "2026-09-04T11:27:23.18Z" }, + { url = "https://files.pythonhosted.org/packages/ce/ea/186a3087623f1556eb8b9d02baa00300003bb84b7b35677e3fcec34691b6/grimp-3.17-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:66b4a13edb3fe63be6f7dbbc2576786f501af9d386a5a1f60b2938f270aef97c", size = 2348453, upload-time = "2026-09-04T11:27:32.964Z" }, + { url = "https://files.pythonhosted.org/packages/e8/6c/a718328adc50529135510b515c5ff1d9f94ab26ab8df9057bb1ef5ab8993/grimp-3.17-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:160abad142e168545be8d4cc91b2a95b4565f7571fc56f7fced69ce3589e5111", size = 2287338, upload-time = "2026-09-04T11:27:55.16Z" }, + { url = "https://files.pythonhosted.org/packages/ea/ed/bf67bc6749abee0a1e97f8f14ee2cb19ccc435b306e22bcaac6118d402a4/grimp-3.17-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:cd76fb13a534209c1777c807092f51b1570854eb49948d65cd5e1d94d80e981d", size = 2455299, upload-time = "2026-09-04T11:28:22.505Z" }, + { url = "https://files.pythonhosted.org/packages/83/8a/6c954092306e21c93c744432c3d47491c3264d3cc4b465941de5164a1cb3/grimp-3.17-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:1688e2dbe382b6644ecc3f55053e319de70034d9dfe0809d21d441a590c320e6", size = 2496813, upload-time = "2026-09-04T11:28:32.303Z" }, + { url = "https://files.pythonhosted.org/packages/ea/a8/cf0aa245ace55dd2f6bdd3bb646ec50c294bdfe623fd51327bd27efaa585/grimp-3.17-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:0433d177f327c31410f21845322282c832d887f1a42cbdfa176133d8422d84b2", size = 2527052, upload-time = "2026-09-04T11:28:41.869Z" }, + { url = "https://files.pythonhosted.org/packages/75/b8/90cd11e346f12fb5269ff050ae825083410d3bdb54d82a3b8e955e4f9d26/grimp-3.17-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:790d68157e034e7848257ef46b37550040c9e4692cea17372d3d9f87cef1d84b", size = 2541238, upload-time = "2026-09-04T11:28:51.786Z" }, + { url = "https://files.pythonhosted.org/packages/48/92/10cc37db6149030c8cfc80fa5287f739c1e9620c8a05d1ba8dfdfc0a6c4f/grimp-3.17-cp314-cp314t-win32.whl", hash = "sha256:37e6333ca54d4d80b5c4f2eae324774b223dbdc65994dc9bccda2985a9261dd8", size = 1872673, upload-time = "2026-09-04T11:29:24.514Z" }, + { url = "https://files.pythonhosted.org/packages/ac/cc/b257d8da079a87e65d0f1b0e004fd50f31ba25e7136a3b36f896e0e338f8/grimp-3.17-cp314-cp314t-win_amd64.whl", hash = "sha256:91e4bbbed4d934369b83071380e1ad5f37b7f5c80b80ffa924627db8d66fea11", size = 2000197, upload-time = "2026-09-04T11:29:13.138Z" }, + { url = "https://files.pythonhosted.org/packages/29/d0/feebddf766448932f2f1e40324fe75cf50ce6d3a21bdf87fc0eae263218a/grimp-3.17-cp314-cp314t-win_arm64.whl", hash = "sha256:28ae2ff57a9ef535c2e7054dcb18baf0cdc2dee3982367512bff34eaecb85cf0", size = 1920856, upload-time = "2026-09-04T11:29:01.498Z" }, + { url = "https://files.pythonhosted.org/packages/83/39/bb07084f0b97da66b0aa38077bd656c4f831b4aa3f167b1c060f6a65ea5e/grimp-3.17-cp315-cp315-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe3e2285a2bd4e62ddb8825de37152d2dc842394d419786d3d5a803b07bb84eb", size = 2372594, upload-time = "2026-09-04T11:27:43.884Z" }, + { url = "https://files.pythonhosted.org/packages/e6/a9/905a484659749f40ed797963147202cb74c3b68d8e90a7a600af55de47ee/grimp-3.17-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a377d5935ae9a62ccbb59e492e16624cec97cc7244c4a964b0c6f83940440626", size = 2284577, upload-time = "2026-09-04T11:27:56.428Z" }, + { url = "https://files.pythonhosted.org/packages/30/6a/40fb12b111c95b94db4930f35661a629532d9d12fb484db5b5ef1a6c3da3/grimp-3.17-cp315-cp315-win32.whl", hash = "sha256:65a1dc2741bef8a96ff3ff71252db8e99eac2a32e09d5e2b63597474706186ca", size = 1876437, upload-time = "2026-09-04T11:29:25.725Z" }, + { url = "https://files.pythonhosted.org/packages/71/98/79af8d51961611e13b3dabc7a3b356b27aa696e5549bb439f1d6002be31a/grimp-3.17-cp315-cp315-win_amd64.whl", hash = "sha256:d20fbe5aab8b013b351313f8eaa3a46f4ac57677e357cb1c3d1012c606b565b4", size = 1999947, upload-time = "2026-09-04T11:29:14.623Z" }, + { url = "https://files.pythonhosted.org/packages/96/d6/e1922c4c7e001210f98e0cf89bd76fea8564f590be3e9ccfe99435cfcd59/grimp-3.17-cp315-cp315-win_arm64.whl", hash = "sha256:a0288dc0e8947dead5c02a246e16f3f5e5cb486348171bdf1289885a13de36c1", size = 1923774, upload-time = "2026-09-04T11:29:02.897Z" }, + { url = "https://files.pythonhosted.org/packages/85/f6/f4f84e44a9237350c41e7c77343498cb1ad843491c18f29d6811021c617d/grimp-3.17-cp315-cp315t-macosx_10_12_x86_64.whl", hash = "sha256:1bf67cb05a80796be99d1bf87e12d4421de101950c5246a8220b6c839cbf27c2", size = 2145245, upload-time = "2026-09-04T11:28:14.537Z" }, + { url = "https://files.pythonhosted.org/packages/71/98/822287270c41360f66c4b5638e040afc6bbf11e9f04cf5005bbd5f3e4830/grimp-3.17-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:d058fdb980475eb9e0143792d63757ddff86c5776e792866e8208cfe5e8413f9", size = 2090367, upload-time = "2026-09-04T11:28:07.277Z" }, + { url = "https://files.pythonhosted.org/packages/ac/76/32d303603157a0d98cb8bde8757e6ae8fa02d41f1d62cdf843fb2e7fe727/grimp-3.17-cp315-cp315t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:92f1989ce9f9ce26b7d45381df164c62aff783add84cd7a4216a6ebba0f9f03a", size = 2371543, upload-time = "2026-09-04T11:27:45.108Z" }, + { url = "https://files.pythonhosted.org/packages/7b/68/4551e23ab9422e2ead806c1fec9f4b3acd21a267e43bfe8e8cd7f4640dce/grimp-3.17-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e275cee07826cf36db1914427e68afac87588f759e1dec676870234d4a250ae", size = 2288003, upload-time = "2026-09-04T11:27:57.605Z" }, + { url = "https://files.pythonhosted.org/packages/20/64/79161f05c900f7f7f1b0acd22a730b1be9f96680dd44efeef90aa45e6998/grimp-3.17-cp315-cp315t-win32.whl", hash = "sha256:a7235ccffb0350647ae2b01969f552a9859fea7027032f6cfed110801269a439", size = 1873249, upload-time = "2026-09-04T11:29:27.094Z" }, + { url = "https://files.pythonhosted.org/packages/94/b7/6f9cdeba2c1263fb91b791ddd5e924d6c91c2485f4f16b56698802fdd540/grimp-3.17-cp315-cp315t-win_amd64.whl", hash = "sha256:473d0e0c016ca429b9ec17f34d276db454ba4d467e3c915a46279d86ab004716", size = 2000579, upload-time = "2026-09-04T11:29:15.961Z" }, + { url = "https://files.pythonhosted.org/packages/ac/16/8ae9028f046bf8f48cc13f6de2de40adbcbf38fa79a3a5f265753b248da0/grimp-3.17-cp315-cp315t-win_arm64.whl", hash = "sha256:478aa0b696e5dd79373943e75b998fbb4ef3d146f24fe3569fa9d106ce84991b", size = 1921829, upload-time = "2026-09-04T11:29:04.403Z" }, ] [[package]] @@ -374,12 +519,36 @@ wheels = [ ] [[package]] -name = "idna" -version = "3.19" +name = "identify" +version = "2.6.19" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/5f/f7/abb373e5757eaec4b922b92f97ec8d6d7e057cf06778247604fbc4e7c3f3/idna-3.19.tar.gz", hash = "sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15", size = 215237, upload-time = "2026-08-18T05:14:24.27Z" } +sdist = { url = "https://files.pythonhosted.org/packages/52/63/51723b5f116cc04b061cb6f5a561790abf249d25931d515cd375e063e0f4/identify-2.6.19.tar.gz", hash = "sha256:6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842", size = 99567, upload-time = "2026-04-17T18:39:50.265Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/57/b0/0e52c878c53f245edd3a11020f20979b3f490f245af532c7cae3027754b5/idna-3.19-py3-none-any.whl", hash = "sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4", size = 68550, upload-time = "2026-08-18T05:14:22.343Z" }, + { url = "https://files.pythonhosted.org/packages/94/84/d9273cd09688070a6523c4aee4663a8538721b2b755c4962aafae0011e72/identify-2.6.19-py2.py3-none-any.whl", hash = "sha256:20e6a87f786f768c092a721ad107fc9df0eb89347be9396cadf3f4abbd1fb78a", size = 99397, upload-time = "2026-04-17T18:39:49.221Z" }, +] + +[[package]] +name = "idna" +version = "3.20" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f5/08/8eea9d4b8302028f3abb2c0813953f7aec26d33b7a8960ed760e65ff29fa/idna-3.20.tar.gz", hash = "sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44", size = 216463, upload-time = "2026-09-17T14:11:04.752Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/58/a2/bb081bab032533a855d44de1d56f8e8426114ff1ba5d1f07a438a0a654f8/idna-3.20-py3-none-any.whl", hash = "sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c", size = 69583, upload-time = "2026-09-17T14:11:03.168Z" }, +] + +[[package]] +name = "import-linter" +version = "2.15" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "grimp" }, + { name = "rich" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3c/81/1bb414f8c8bcd024499e91f112d317c36a86bc264da1fd43f9797fc2b7b0/import_linter-2.15.tar.gz", hash = "sha256:1da912bea5e172a82a3ce617b5543f75cf64dc0d8f4d9b46c5578b68ccb81590", size = 1405973, upload-time = "2026-09-04T14:47:56.097Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/08/31/4571c20652a4002ed9e500046386f3731a77e23d95a608ae8a87f1fbb2da/import_linter-2.15-py3-none-any.whl", hash = "sha256:9aaf16a88ac1e99d5a464cd7f66b6a05f7060bfa761162e0ed441773a267ed3b", size = 640512, upload-time = "2026-09-04T14:47:54.878Z" }, ] [[package]] @@ -391,63 +560,28 @@ 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 = "lead-scoring" -version = "0.1.0" -source = { editable = "." } -dependencies = [ - { name = "alembic" }, - { name = "asyncpg" }, - { name = "fastapi" }, - { name = "httpx" }, - { name = "pydantic" }, - { name = "pydantic-settings" }, - { name = "sqlalchemy", extra = ["asyncio"] }, - { name = "uvicorn", extra = ["standard"] }, -] - -[package.dev-dependencies] -dev = [ - { name = "pyright" }, - { name = "pytest" }, - { name = "pytest-asyncio" }, - { name = "ruff" }, - { name = "testcontainers" }, - { name = "ty" }, -] - -[package.metadata] -requires-dist = [ - { name = "alembic", specifier = ">=1.13.0" }, - { name = "asyncpg", specifier = ">=0.29.0" }, - { name = "fastapi", specifier = ">=0.115.0" }, - { name = "httpx", specifier = ">=0.27.0" }, - { name = "pydantic", specifier = ">=2.8.0" }, - { name = "pydantic-settings", specifier = ">=2.4.0" }, - { name = "sqlalchemy", extras = ["asyncio"], specifier = ">=2.0.30" }, - { name = "uvicorn", extras = ["standard"], specifier = ">=0.30.0" }, -] - -[package.metadata.requires-dev] -dev = [ - { name = "pyright", specifier = ">=1.1.370" }, - { name = "pytest", specifier = ">=8.0.0" }, - { name = "pytest-asyncio", specifier = ">=0.23.0" }, - { name = "ruff", specifier = ">=0.5.0" }, - { name = "testcontainers", extras = ["postgres"], specifier = ">=4.0.0" }, - { name = "ty", specifier = ">=0.0.74" }, -] - [[package]] name = "mako" -version = "1.4.1" +version = "1.4.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/2a/12/b5fa2353e2754cd67fb9f83793fa48ff42c213a5da7e719869d2301f6ab8/mako-1.4.1.tar.gz", hash = "sha256:d7904710b662996425a21627710c4777c45053146942cf8a7aebf757c92b8c27", size = 410165, upload-time = "2026-08-05T06:10:56.611Z" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/09/e07c4b5579a79f4b16f8d4f29f6c54514ac787c4ad506b8c4f28a0e6b0bf/mako-1.4.3.tar.gz", hash = "sha256:cd6537fe88d5fec315c55c2f8529bc4ce7a9a352ad7db3eeaa6a66e2dd4ec37a", size = 412799, upload-time = "2026-09-22T20:54:31.509Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a5/54/12ed58d458474aaab5c3d180173e745a4fe131bb330370596876d19ff60f/mako-1.4.1-py3-none-any.whl", hash = "sha256:a359d9a94a541213958742b2698d0a7757bb83551767bc468a74b9905aba9617", size = 80010, upload-time = "2026-08-05T06:10:58.248Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a0/053d6af3e8f871e0073b4a36732d9e65be77a72e5434c31b94f6af78a6bb/mako-1.4.3-py3-none-any.whl", hash = "sha256:723296007c870bfd6b3f0c3230dba7198096e5269297ebf5e4eff9e7ffa39d4f", size = 80164, upload-time = "2026-09-22T20:54:33.128Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" }, ] [[package]] @@ -502,6 +636,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" }, ] +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + [[package]] name = "nodeenv" version = "1.10.0" @@ -520,6 +663,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" }, ] +[[package]] +name = "platformdirs" +version = "4.11.12" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ea/dd/65804b0c2925a1c821a05502ea57517b69a073ff400d25ab9faa3a2cf012/platformdirs-4.11.12.tar.gz", hash = "sha256:e8dc1cb58f1153fd7f61db1374317770baababec2480b37b8f01c6cc25b45267", size = 40016, upload-time = "2026-09-22T01:02:36.973Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/2b/69de6317fbf48865bb12aa56c9cfcfff46b3add0cd45250725d96146dce0/platformdirs-4.11.12-py3-none-any.whl", hash = "sha256:b1ba966ac76153d9985a0787ffab951e7c18416189873d4e4ddb2c8a04a0a254", size = 24976, upload-time = "2026-09-22T01:02:35.742Z" }, +] + [[package]] name = "pluggy" version = "1.6.0" @@ -529,9 +681,48 @@ wheels = [ { 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" }, ] +[[package]] +name = "pre-commit" +version = "4.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cfgv" }, + { name = "identify" }, + { name = "nodeenv" }, + { name = "pyyaml" }, + { name = "virtualenv" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ff/29/7cf5bbc236333876e4b41f56e06857a87937ce4bf91e117a6991a2dbb02a/pre_commit-4.3.0.tar.gz", hash = "sha256:499fe450cc9d42e9d58e606262795ecb64dd05438943c62b66f6a8673da30b16", size = 193792, upload-time = "2025-08-09T18:56:14.651Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5b/a5/987a405322d78a73b66e39e4a90e4ef156fd7141bf71df987e50717c321b/pre_commit-4.3.0-py2.py3-none-any.whl", hash = "sha256:2b0747ad7e6e967169136edffee14c16e148a778a54e4f967921aa1ebf2308d8", size = 220965, upload-time = "2025-08-09T18:56:13.192Z" }, +] + +[[package]] +name = "pwdlib" +version = "0.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/78/a6/644f28a21cb68920d06b264e72b864ac9bff2377f4757dd4648b5110b3ad/pwdlib-0.3.1.tar.gz", hash = "sha256:2ffd1955c92190d5bfbdc5071bf7d422568b83f943453ebd3d43d031ccba37b1", size = 216951, upload-time = "2026-08-12T08:38:38.383Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6b/2e/51979293b2337f508597d13ee20db1ac1d43e48086b2ed7de6da213ed46b/pwdlib-0.3.1-py3-none-any.whl", hash = "sha256:944fa439198bed8ac3ea63dac76ea4ae43e2a35f4f21e9e725e82d3c2b97d6a5", size = 9272, upload-time = "2026-08-12T08:38:37.483Z" }, +] + +[package.optional-dependencies] +argon2 = [ + { name = "argon2-cffi" }, +] + +[[package]] +name = "pycparser" +version = "3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" }, +] + [[package]] name = "pydantic" -version = "2.13.4" +version = "2.13.5" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "annotated-types" }, @@ -539,65 +730,65 @@ dependencies = [ { name = "typing-extensions" }, { name = "typing-inspection" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" } +sdist = { url = "https://files.pythonhosted.org/packages/53/ef/fc4f868f4e2cee79f863883abffceff107875f569b848507319842d2a681/pydantic-2.13.5.tar.gz", hash = "sha256:51a9c5f7b2f8e636f04c6cada605d9b6a3bf1348fdf945a3d8869b19bba0ee08", size = 845750, upload-time = "2026-08-28T14:04:00.916Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" }, + { url = "https://files.pythonhosted.org/packages/eb/47/c95ffc2009878c7aac0c5e08528022dcb885933252a88b5f170058014464/pydantic-2.13.5-py3-none-any.whl", hash = "sha256:346a034f080da3755d8e9cb5e00e8b07de1d39e4f6e2c87d8ab7cafa0b269a73", size = 472589, upload-time = "2026-08-28T14:03:59.136Z" }, ] [[package]] name = "pydantic-core" -version = "2.46.4" +version = "2.46.5" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" } +sdist = { url = "https://files.pythonhosted.org/packages/af/f9/8a06bea35ef8daf588f707784c973a7046e0034c8d8cfb08828eeffb8b75/pydantic_core-2.46.5.tar.gz", hash = "sha256:10416c15b8839ecc4ef4d0885da76da6fd0f67333a0eb8aff6d93c4b8f2910fc", size = 472262, upload-time = "2026-08-28T10:01:31.677Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" }, - { url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" }, - { url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" }, - { url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" }, - { url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" }, - { url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" }, - { url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" }, - { url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" }, - { url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" }, - { url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" }, - { url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" }, - { url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" }, - { url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" }, - { url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" }, - { url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" }, - { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" }, - { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" }, - { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" }, - { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" }, - { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" }, - { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" }, - { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" }, - { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" }, - { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" }, - { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" }, - { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" }, - { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" }, - { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" }, - { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" }, - { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" }, - { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" }, - { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" }, - { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" }, - { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" }, - { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" }, - { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" }, - { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" }, - { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" }, - { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" }, - { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" }, - { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" }, - { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" }, - { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" }, - { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" }, - { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" }, + { url = "https://files.pythonhosted.org/packages/f5/37/5abe39a8372a61d3dc3c1338fc504281c01b32fdb3169cd7187153b56d3e/pydantic_core-2.46.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:b7ca9034437b6022f941f4857459562ee00a560b97e7cce8a0ec5a74fc6766e0", size = 2075885, upload-time = "2026-08-28T09:58:47.856Z" }, + { url = "https://files.pythonhosted.org/packages/21/43/6323b1f8b217780454c61304bcd2b38ae4762f50754414124603ccc90bb2/pydantic_core-2.46.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f332f0e72a5a0400141f830744e141bf9f97917878dbe968669e8a7fefea78ff", size = 1922768, upload-time = "2026-08-28T09:58:49.58Z" }, + { url = "https://files.pythonhosted.org/packages/0f/a3/c05ca796e1197618a774b01e596aeedfefc2f7d8c01ae3054e910b120e8a/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:193375f3548919d3f0b60936ca113ada3e38f264f91b9b8e0508efaad57be931", size = 1951241, upload-time = "2026-08-28T09:58:51.511Z" }, + { url = "https://files.pythonhosted.org/packages/68/32/33bc39ac705c52cffc908e8389f9754fdb208aea5c69cceddf4eb3ce99af/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:79bdfa52f843137045b2d081cc05c120ba6665d29b7559c2c47690906f39279f", size = 2031975, upload-time = "2026-08-28T09:58:53.166Z" }, + { url = "https://files.pythonhosted.org/packages/b0/70/2333e885c0f6a67bc105c5916965dac9b57f2718ee20d81d1a06a4ebdc13/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:24922243639cbdac66c75fcb6fd6495a9cb52b213d62f9a0d16f0310b1ff8038", size = 2208542, upload-time = "2026-08-28T09:58:55.017Z" }, + { url = "https://files.pythonhosted.org/packages/f7/ea/296debfb4264207bbda5936133892e027c0a58875ad53ebd512fba8ec3a2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c76fe65e607be28c7fd4d56fc3c42b1583aa058ce3408b7ad0fd540171d31f9f", size = 2264692, upload-time = "2026-08-28T09:58:56.767Z" }, + { url = "https://files.pythonhosted.org/packages/d3/f2/9e4de77a6271e07a76d2d58b11c091a979c191ed2939bf80067568b369d2/pydantic_core-2.46.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f7b393a8b3da82f5c1fc0751e6d01ac6c55b93c18226a60bdfba4a724efafd1", size = 2066633, upload-time = "2026-08-28T09:58:58.531Z" }, + { url = "https://files.pythonhosted.org/packages/8d/db/f9e9d0c97445987b2084823d5c240de88087338f04fc2cfaa2df186b8049/pydantic_core-2.46.5-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:7ac031912d54f3d83ef3b3eb98dfabc1608802e2202263d25957eeed40b94761", size = 2105235, upload-time = "2026-08-28T09:59:00.421Z" }, + { url = "https://files.pythonhosted.org/packages/07/c5/79169b047b3b2c3e99e04bc76372af9637e0bf6db638274fa927df96369e/pydantic_core-2.46.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:837b396ca3d7b74091ca623f6cbd8351bd42d670a79c2683e79fb089f06a2de5", size = 2157367, upload-time = "2026-08-28T09:59:02.442Z" }, + { url = "https://files.pythonhosted.org/packages/26/b5/ba6057afb7c291bd449f51b867f95aef2072941c4ce4e5c31d6ffd132d3b/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:5ee239d575f80b08eca11f6e20f90c4c695de7825c67eefe6091fbf20dda648e", size = 2158420, upload-time = "2026-08-28T09:59:04.2Z" }, + { url = "https://files.pythonhosted.org/packages/6e/28/2057abecaafdc22912afa819603a51f0a62d40643b7c4871c51721fea9be/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:e80675d75ae2cd14372cb65cad5400d9347a3d3f6c13000183f22dfd027283ed", size = 2309588, upload-time = "2026-08-28T09:59:06.048Z" }, + { url = "https://files.pythonhosted.org/packages/71/9d/881156dc404e27479c4246128d73538464cab4a239bec61995e227644c30/pydantic_core-2.46.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:9c4b71f10dd532fb7a5cbc8f58707779e64f03a258c2bf8bfbaecfcd9970b519", size = 2341866, upload-time = "2026-08-28T09:59:08.539Z" }, + { url = "https://files.pythonhosted.org/packages/5a/38/d66f443a259f84d13babdceae568e572b0ed26da17ca5d0a649ebb110a67/pydantic_core-2.46.5-cp313-cp313-win32.whl", hash = "sha256:97bf8de4d541598c94a59344eeb988a94c08ff76b5723c41f6567ec18c7892ea", size = 1938580, upload-time = "2026-08-28T09:59:10.402Z" }, + { url = "https://files.pythonhosted.org/packages/2c/1e/1d5371213f4cc9a7ed70c0bfcc7911de22311ee99a662a56077d7292d2ac/pydantic_core-2.46.5-cp313-cp313-win_amd64.whl", hash = "sha256:15f4a94963c95accac15b7b657bb177d3ad82bb90b0d0526d9a9b85079925db5", size = 2041980, upload-time = "2026-08-28T09:59:12.396Z" }, + { url = "https://files.pythonhosted.org/packages/5a/48/4222d90b1c67568bace4dec6dca6271449c66de3595d72b6d098f5fde597/pydantic_core-2.46.5-cp313-cp313-win_arm64.whl", hash = "sha256:d22a945598fb91236b4dd793a6e42e4f3dd7740bb5aace5ebd7d4c08d13bb575", size = 1997213, upload-time = "2026-08-28T09:59:14.245Z" }, + { url = "https://files.pythonhosted.org/packages/8e/8a/14596f2a8367da50cf7cbac48169ee5d9c8e11d486a3b527082384630c72/pydantic_core-2.46.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c1c43ad4339643d70ebb8124e1305a7dab423001eff58bb41a0f731adbc98355", size = 2074081, upload-time = "2026-08-28T09:59:16.141Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d5/d8a4eb6d6c7f66b91dd37c576d76e9e60fba900caf5372c17bcf949febc2/pydantic_core-2.46.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1a353f84de772f423b5ffb11d7ae352fbbef0f446f3c0b0af0f8236d7233606e", size = 1920497, upload-time = "2026-08-28T09:59:18.065Z" }, + { url = "https://files.pythonhosted.org/packages/8e/26/092079428f86e927e030b2c0ced87df69dbb1c875cdeaa67bf42ea2be746/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5086029a57366b8cf81b130a43908738095c270c21a8d7f0e8bdfdb89718e2f3", size = 1952130, upload-time = "2026-08-28T09:59:20.476Z" }, + { url = "https://files.pythonhosted.org/packages/08/c3/8ec0e290a9ebaebd64047bf5fda94be835c6b1551b02437e4b76778fbcd7/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:46c25dda9d092a06c08db76ffe0a197107904d0dfac653f7d5306bbcd6d6119c", size = 2026371, upload-time = "2026-08-28T09:59:22.227Z" }, + { url = "https://files.pythonhosted.org/packages/01/72/4fd20ad520fb8da0157f95b27a7eb05a72790ef08138e7701ac972c342ea/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:37ea7b83c935e5b0d68c9449b82651accf78a10828b2c02b2f2d9e9496446c21", size = 2202822, upload-time = "2026-08-28T09:59:24.277Z" }, + { url = "https://files.pythonhosted.org/packages/31/b0/d16e0771206b29314f0d52198b720be21e8a99ab2bf11e3bc0d7c9cebdff/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e64e88d5585bea9ce95861079de72006c7fa6d3df4e3a3b65ba31eb979c15c9f", size = 2262756, upload-time = "2026-08-28T09:59:26.608Z" }, + { url = "https://files.pythonhosted.org/packages/2c/9b/59634b7ac631c63b2a37760eb6943af3e29573d6b59a4abc5e7f019d4cee/pydantic_core-2.46.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54d510bac3ee52247af28ed4bb18a1e799f040ac60fd2bf5ccd4c92f1fbe786f", size = 2068352, upload-time = "2026-08-28T09:59:29.044Z" }, + { url = "https://files.pythonhosted.org/packages/08/7c/570abb1ad2155348dc754ea91be22e5aaa18eb6d69a6068f7c6f2679a6ed/pydantic_core-2.46.5-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:a2a5e1d0ff29adddc9f6d6821a66302e4493f8ca898b715b6b1182c2c201ea0a", size = 2104777, upload-time = "2026-08-28T09:59:30.95Z" }, + { url = "https://files.pythonhosted.org/packages/8e/25/5bf74adc65a1ac5b7be3f6cb0bcb5433615c1598a801c19d830d84c98ded/pydantic_core-2.46.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:03b9666e41e35d8909852ba191a0607520f81b74eaf12ccf8737005dbb313821", size = 2156312, upload-time = "2026-08-28T09:59:32.604Z" }, + { url = "https://files.pythonhosted.org/packages/90/6a/2ef38830675e050121040618135564ed56b860b45433b02d9b4ebece46f3/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:a91c17edf6eea2402cb5457b4c89e99bc5ed1004aa34c4adf1d4258c1a5c22c2", size = 2150067, upload-time = "2026-08-28T09:59:34.453Z" }, + { url = "https://files.pythonhosted.org/packages/90/ef/a7dbb03a14a64c2a4621f989c615ed9a892535a6cad938fc27079f919d80/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b49924c73a235e969511bf2aabdff3beebf9820931f646c80274d5d780010c47", size = 2304516, upload-time = "2026-08-28T09:59:36.194Z" }, + { url = "https://files.pythonhosted.org/packages/68/f8/6bb4c4b80e8a6fde1904c64a51c62a1d04fcdfa3ea521a66b2ddefa1d885/pydantic_core-2.46.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:2cbd9a5eff05e51c447c34dfa4632145b26b09120cf04bd0c871e44c1a5e1c9a", size = 2335223, upload-time = "2026-08-28T09:59:37.931Z" }, + { url = "https://files.pythonhosted.org/packages/2a/80/f46b8c681195190b2c1f1c7c0a81abce60663e987613e09ef64d433dd96b/pydantic_core-2.46.5-cp314-cp314-win32.whl", hash = "sha256:2d5d76654becf5efd62c9e51c3756c67b49498b0c9a40884934c40807adbd074", size = 1934827, upload-time = "2026-08-28T09:59:39.836Z" }, + { url = "https://files.pythonhosted.org/packages/f7/3c/60674207246bc0a4009d2391b7c7251c7159f279c8d2ab8aae8ef46f3dee/pydantic_core-2.46.5-cp314-cp314-win_amd64.whl", hash = "sha256:fa10ef4112775900e7a0661068635eb67b2ab824fbde764de6e0e21982a93db0", size = 2042648, upload-time = "2026-08-28T09:59:41.792Z" }, + { url = "https://files.pythonhosted.org/packages/69/0c/117c562c7c1babdf44576b72a5e496906506c93690387ecfbca7c729ae2e/pydantic_core-2.46.5-cp314-cp314-win_arm64.whl", hash = "sha256:045ab3b6d308439e32b81cc173bba5b9018bc6ed896afd0c65b3b009b1699af5", size = 1989652, upload-time = "2026-08-28T09:59:43.702Z" }, + { url = "https://files.pythonhosted.org/packages/e8/66/9336ae58f9eb68c41d121894e52c4c89eccb07eb8f602a04ee9c3f37736a/pydantic_core-2.46.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8816f3d218beb4b787de5c9759c259b8fa61f9dec42dc7811f320a33771778b7", size = 2065829, upload-time = "2026-08-28T09:59:45.364Z" }, + { url = "https://files.pythonhosted.org/packages/c5/02/bc19b47a96c2d3109760711acf22369e56bd7e405ca52f7ade164d2ead57/pydantic_core-2.46.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bce57638e08ac148e5778cce7feb968307a727d66f8e2274a543d0cf0c9ad6a3", size = 1905716, upload-time = "2026-08-28T09:59:47.18Z" }, + { url = "https://files.pythonhosted.org/packages/52/a4/70b47c0509923dd98ccfed04fb3e32ea3849c82a0ff2205bb41009b43c00/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:976e1128455aa595ea04c79ccfedff1aaeab96ee013fcc916bed120c4f0ad94f", size = 1934216, upload-time = "2026-08-28T09:59:49.241Z" }, + { url = "https://files.pythonhosted.org/packages/52/ab/aa03b65f7bb198585edf806b906c3223ecf1795543e39e23aec4cce27ad2/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b891faeedeafba41b2983e5001a81b6a915b69544c7e7570d1989ce1c36ac7", size = 2010635, upload-time = "2026-08-28T09:59:51.692Z" }, + { url = "https://files.pythonhosted.org/packages/3c/8b/0da06343f30b84ec549aafd309c6456223d5dc8bd36af504c573faad561d/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5f194189415698233dd1114a093a9b56e61e2c57e11b469be3b0506f46f0771c", size = 2209369, upload-time = "2026-08-28T09:59:53.582Z" }, + { url = "https://files.pythonhosted.org/packages/d6/5b/844c4defaa34a3df66eb9257087d121d70c201298b96abdf9f492fc2f1bf/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:82a36973cf8a2ef5406f4fe2edbf8ed0c99629535d959e0b100c76a32535a111", size = 2253238, upload-time = "2026-08-28T09:59:55.484Z" }, + { url = "https://files.pythonhosted.org/packages/f4/64/a4e536cb16d7f61a7fd3120b46c577fc7fa7325992f69c4f52bc786d77d8/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdbb78909f52b981d3b2d56b97328d71eb0b974c36bd77c920123a7ebb192829", size = 2065740, upload-time = "2026-08-28T09:59:58.038Z" }, + { url = "https://files.pythonhosted.org/packages/5f/75/aaa38c6bc2d085f6605b34eabdc6a8a4e0b2e61fc9c8e6e52b28e97b3125/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:52e24eacdb536cade636aa90fb851835222becff8484b7001fdc78cb0290f2aa", size = 2087425, upload-time = "2026-08-28T09:59:59.898Z" }, + { url = "https://files.pythonhosted.org/packages/55/ae/fcab4cfc39aba3689e1d20c8b5250ad280957022c09af2ed9cd585602a5e/pydantic_core-2.46.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:37ae34309d7bd8c0d61ab839668058f2a7962ea1fc51d105d2db228fe0618034", size = 2139306, upload-time = "2026-08-28T10:00:03.057Z" }, + { url = "https://files.pythonhosted.org/packages/2d/f4/f1d03a4bc9d9acbc62f4d742b8a319af52f71885079868b2ff8e48a651ee/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:0cdbada856a1c69a7624a64d3d9aefe79300bd6ef827b43a4f265010b9b55184", size = 2144589, upload-time = "2026-08-28T10:00:05.645Z" }, + { url = "https://files.pythonhosted.org/packages/83/f3/7a53bb1356de514a4cd295f25b6ac39237895620c0462d2592b76c16e114/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:545f26c504b27c3758439a5e6d9349931f0a04f855668d5fe323c89e82300a38", size = 2288882, upload-time = "2026-08-28T10:00:07.931Z" }, + { url = "https://files.pythonhosted.org/packages/cd/94/5a81583660c175c59d49ffb09f4b3a44debeaf86a19fca664ae1cdd9ee32/pydantic_core-2.46.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:ff218293c9c806138dca139765e3b067621be52bcd93cdc14c7711be7ddc90a9", size = 2335210, upload-time = "2026-08-28T10:00:10.177Z" }, + { url = "https://files.pythonhosted.org/packages/5a/9f/5d685c2693b972d1a59c998586e8823712b66603aeff47ee60a4bdaafd37/pydantic_core-2.46.5-cp314-cp314t-win32.whl", hash = "sha256:97cf3eb53a8cccacf9d46686a0926186c9bfb5574f2ed66d3639d5fe117cd3a9", size = 1921180, upload-time = "2026-08-28T10:00:12.35Z" }, + { url = "https://files.pythonhosted.org/packages/70/12/5c94ee16d65a37a15f9e869f5e6256df111154491173801a4c5e800ab548/pydantic_core-2.46.5-cp314-cp314t-win_amd64.whl", hash = "sha256:d2f9fc07a8042a8f95925b35c4f04f469707c981fc33245b6ca187cf5d2dd290", size = 2020515, upload-time = "2026-08-28T10:00:14.774Z" }, + { url = "https://files.pythonhosted.org/packages/63/19/67830dda664e6bdf9285ee2e40f355d0d7d6b92aa0c42e8d217bb8d33d36/pydantic_core-2.46.5-cp314-cp314t-win_arm64.whl", hash = "sha256:acf8a67ba51f4ca9ddbd0e6b3000a65ac51ab734661778b3e7ba64d99a710f2f", size = 1989276, upload-time = "2026-08-28T10:00:16.984Z" }, ] [[package]] @@ -625,15 +816,15 @@ wheels = [ [[package]] name = "pyright" -version = "1.1.411" +version = "1.1.414" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "nodeenv" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/7e/ab/265f7dc69d28113ebba19092e57b075f41543b2ed048429c5f56e2b88eac/pyright-1.1.411.tar.gz", hash = "sha256:d885a0551f2e763b089a02702174e7f4ba77548cddabc972ab86d1f7f1b0f998", size = 4112861, upload-time = "2026-06-25T02:14:06.37Z" } +sdist = { url = "https://files.pythonhosted.org/packages/e1/1b/244c7b710031ada80f27e579ec20d28a2285dfc318fed0339866b1047f12/pyright-1.1.414.tar.gz", hash = "sha256:523c0a97c60da6333234955c277730c9cf4f5bd6d5399e7b7d2b0fc5d3599524", size = 4154638, upload-time = "2026-09-10T12:26:53.181Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0a/49/385be530a6a5b78d1cbcd5c2e38debc8959a2fc6bdb716f4e581002979fc/pyright-1.1.411-py3-none-any.whl", hash = "sha256:dc7c72a8e2700c55baa127554040e067041ea53ccfd50bf96308cc4291c7d5d9", size = 6181526, upload-time = "2026-06-25T02:14:04.691Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ba/18b6e682ead424ad24bcc134339ae5d1b931cd9ae260540592a058a91279/pyright-1.1.414-py3-none-any.whl", hash = "sha256:2a6b4b3298c9eec174c5ed83bd338de6eee82df2992f3e1930e6199d381be36f", size = 6225049, upload-time = "2026-09-10T12:26:51.427Z" }, ] [[package]] @@ -664,6 +855,18 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/03/e2/08a497ef684b88559c9cc5f4ad53a37e7b99e727094a86d6ea32536d5d3c/pytest_asyncio-1.4.0-py3-none-any.whl", hash = "sha256:933ca923a23075a87fb7070c0ec272a6848489824d887c85c812670932835aa1", size = 16930, upload-time = "2026-05-26T09:56:02.576Z" }, ] +[[package]] +name = "python-discovery" +version = "1.6.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filelock" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0c/57/250bd238b966cece44328235eb85290045d059265fdaf7527a3a958123db/python_discovery-1.6.1.tar.gz", hash = "sha256:cf87d3627dfb4412437fdd5b13eae402607722998d21567993aedbc59b23c15e", size = 84338, upload-time = "2026-09-18T01:31:53.971Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/16/7d/e9ffbadfbf89c93848412d04594135c4ae8c1d37d9e053b9c3ed718fabc4/python_discovery-1.6.1-py3-none-any.whl", hash = "sha256:d43fcdef879fe795352bd13ccf8d185ba5a9f86f36cfcd00529f596e737442b3", size = 38664, upload-time = "2026-09-18T01:31:52.448Z" }, +] + [[package]] name = "python-dotenv" version = "1.2.3" @@ -673,22 +876,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/0d/17/c5c6b53ddc18f297992099b3d9ec16c855c0ccc83263a21fe4d1c625ec6c/python_dotenv-1.2.3-py3-none-any.whl", hash = "sha256:904552145e8bfed22162c09dab1c2b9b54fefa7b23ba780f4f26ca0316b0f0d9", size = 22780, upload-time = "2026-08-16T16:54:52.473Z" }, ] -[[package]] -name = "pywin32" -version = "312" -source = { registry = "https://pypi.org/simple" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2d/41/12fbfd7f36ed2146d8bc9de96c2741296bf0d490b98508496cff322e274c/pywin32-312-cp313-cp313-win32.whl", hash = "sha256:7a27df850933d16a8eabfbaeb73d52b273e2da667f80d70b01a89d1f6828d02c", size = 6370184, upload-time = "2026-06-04T07:49:36.253Z" }, - { url = "https://files.pythonhosted.org/packages/ba/db/36a78e3403099d31d9746d13fdcde5accc43c1155f375a34d15983a479a7/pywin32-312-cp313-cp313-win_amd64.whl", hash = "sha256:c53e878d15a1c44788082bfe712a905433473aa38f86375b7cf8b45e3acbaaf9", size = 6914298, upload-time = "2026-06-04T07:49:38.876Z" }, - { url = "https://files.pythonhosted.org/packages/84/37/c1697194092b76de9ed47ca124323f02c57ffc8a45c06f88a3d5acaf01eb/pywin32-312-cp313-cp313-win_arm64.whl", hash = "sha256:59aba5d5940842075343a5ddc6b11f1cdf0d1567fe745290359dfbcc7c2eb831", size = 6727640, upload-time = "2026-06-04T07:49:41.083Z" }, - { url = "https://files.pythonhosted.org/packages/fc/2b/1f3cded5822fd49c02f40544cbb5f58c7cfd6b1694869fd476cb6170ee97/pywin32-312-cp314-cp314-win32.whl", hash = "sha256:a77a90fbb6881238d2ca9c6fd797b25817f3768fe78d214a90137ff055a75f5b", size = 6468928, upload-time = "2026-06-04T07:49:43.188Z" }, - { url = "https://files.pythonhosted.org/packages/21/82/3bf86d2e2808902013132e1ce905a7da0da53790f3836c64bf44d55e24f3/pywin32-312-cp314-cp314-win_amd64.whl", hash = "sha256:a4dd3a848290ef724347b19f301045831d8e802fa4464f491b98b1e0a081432e", size = 7024157, upload-time = "2026-06-04T07:49:45.34Z" }, - { url = "https://files.pythonhosted.org/packages/a4/0e/73f6d6800b4f27655abd9e9f6aaeaefcddb2b946e4674efa2bab184a7f7b/pywin32-312-cp314-cp314-win_arm64.whl", hash = "sha256:9fce94568364e0155e6dfb781ac5d95903be8baf28670632beab1b523f300daa", size = 6839598, upload-time = "2026-06-04T07:49:47.613Z" }, - { url = "https://files.pythonhosted.org/packages/eb/61/caa39686032d2ebdd04ff0ab5cbe163126c0066d98e00c9018646e42393b/pywin32-312-cp315-cp315-win32.whl", hash = "sha256:5c1fbe4a937a73ae9297384a3da38518cbc694c68ad8a809b2e19acd350f03ed", size = 6471159, upload-time = "2026-06-04T07:49:50.035Z" }, - { url = "https://files.pythonhosted.org/packages/0f/cd/7e1de64a4a6f69c04214169657ccab0d93a670ea50e35eb8f489d7378249/pywin32-312-cp315-cp315-win_amd64.whl", hash = "sha256:c2f03a0f73f804a13c2735b99392b0cd426bb4f2c4d0178e5ac966a0f21618d5", size = 7025293, upload-time = "2026-06-04T07:49:54.857Z" }, - { url = "https://files.pythonhosted.org/packages/23/ed/4532e9388e65fa16b46776ef47ad631a64eda1631884488af707666350ed/pywin32-312-cp315-cp315-win_arm64.whl", hash = "sha256:a8597d28f267b39074aef51fa593530082b39cbe5a074226096857b1fed2dfb9", size = 6840337, upload-time = "2026-06-04T07:49:57.531Z" }, -] - [[package]] name = "pyyaml" version = "6.0.3" @@ -726,71 +913,75 @@ wheels = [ ] [[package]] -name = "requests" -version = "2.34.2" +name = "rich" +version = "15.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "certifi" }, - { name = "charset-normalizer" }, - { name = "idna" }, - { name = "urllib3" }, + { name = "markdown-it-py" }, + { name = "pygments" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" }, + { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" }, ] [[package]] name = "ruff" -version = "0.16.4" +version = "0.16.8" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/00/8f/d8074b1f25e003164087a8bfe79a0f1a3945135764dbb6aaab04103dcaf9/ruff-0.16.4.tar.gz", hash = "sha256:13171aa9d9af2240ee3504e639de73122c67e74036de5ba2e1d01422cd17e3dc", size = 4899731, upload-time = "2026-08-20T17:43:59.196Z" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/78/449cb84790bd5cc3823b2652ee405a4558856e5c4195aee3a16bf7b3eb5d/ruff-0.16.8.tar.gz", hash = "sha256:9247bf92b5f04d825c8639a4fe423ec2e4222acd9222e58412b0dab7e442798b", size = 4938814, upload-time = "2026-09-16T15:54:46.688Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/ff/80/779895ef584e089d22f2c6df0d0e99a65ec2df0805f1fffd439415b8c1f0/ruff-0.16.4-py3-none-linux_armv6l.whl", hash = "sha256:df4075f71ddac40b9934af60c3ec8a53047dd5a5fdc43224e6e4e8e9a27cb6f7", size = 10006909, upload-time = "2026-08-20T17:43:16.888Z" }, - { url = "https://files.pythonhosted.org/packages/a9/e6/f553199b5e8927a05cb5c422d921fd0656b29ab976e91c44802107c6b0da/ruff-0.16.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:0c95538517af68004306b0fb3214ff2f2af67a65092aee77cd9eb86db6656604", size = 10240201, upload-time = "2026-08-20T17:43:19.337Z" }, - { url = "https://files.pythonhosted.org/packages/1c/70/4a6dc4bb34da4dee35e30f09bbd1bfbdd26f33b62fb9b8df31f08a199cd2/ruff-0.16.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:963f83df8e69e575b64d67dd447ebbc917db41a14bf38d4593a4183e7aaa8255", size = 9835122, upload-time = "2026-08-20T17:43:21.708Z" }, - { url = "https://files.pythonhosted.org/packages/24/12/c6e22d686372c15bcb7af99831f1a1be96df696491babf4f24e4f942c527/ruff-0.16.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32a5057c7ff3f6e6480a48fccfb3a412a690f48a3d03ac5cf08177d6c2da3ade", size = 9977162, upload-time = "2026-08-20T17:43:24.236Z" }, - { url = "https://files.pythonhosted.org/packages/46/49/72b10ec912f5ab5854992eaf7aa7cd36729b6937d9dc4e0fb41b3bf428ec/ruff-0.16.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b3dce8d9b0c57c265b91885a66a567d8ea1372e8eb4e250fa8e5e3f579e99cff", size = 9829789, upload-time = "2026-08-20T17:43:26.966Z" }, - { url = "https://files.pythonhosted.org/packages/fa/80/0f30e32e7f6ee26edc39075502db9d368d788a44a79b55f763eb4ab03796/ruff-0.16.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7dc651db49283c69f8e72c834eec4fe5573e4c646856aebece0ce385dceb2a80", size = 10527949, upload-time = "2026-08-20T17:43:29.384Z" }, - { url = "https://files.pythonhosted.org/packages/52/3d/86e8ad3542169e56cac3859a343afdb9df2ad54d35a59ce1e67baee83421/ruff-0.16.4-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3817b87dbcabc92f13b05019257c5b89b5b4d51b5fb20f56fb5235ceb723cd07", size = 11333695, upload-time = "2026-08-20T17:43:31.872Z" }, - { url = "https://files.pythonhosted.org/packages/d0/16/481c29b380c20a0054a8261066665e1b3488e23636c49d0a43e75975b9bb/ruff-0.16.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e9fce1499134b2c8c68e5166f95705a5812062bb93aacc5f9873bb1a27084bc7", size = 10727741, upload-time = "2026-08-20T17:43:34.596Z" }, - { url = "https://files.pythonhosted.org/packages/5e/b6/56bc0b8cf45b54b28b3a5e6381c8945d51b5b18adf659454c32295209a31/ruff-0.16.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2d812e482f5a7e02eee26cd73d2a37ebbdf47d795ea63ba1b89110ae93e9fb3", size = 10286522, upload-time = "2026-08-20T17:43:37.288Z" }, - { url = "https://files.pythonhosted.org/packages/e8/8b/b345b4fb110f2fbe2bd31eabd271e5e8b3b7e4ee6c0e02f2dc6be78db000/ruff-0.16.4-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:6baaf984aa7976edf93d3b627fe2d1d22ee94bbca05fa6f90fc76d73924e3454", size = 10584182, upload-time = "2026-08-20T17:43:39.984Z" }, - { url = "https://files.pythonhosted.org/packages/29/e5/827b34041c35f58774a9681a4213994c164fc987800f4dddabcf451da0bf/ruff-0.16.4-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:bdfcf0b28662eb890372d50f92c283bb94e67e7635ed93c7fd533970acff7b2b", size = 10134195, upload-time = "2026-08-20T17:43:42.351Z" }, - { url = "https://files.pythonhosted.org/packages/0f/10/d0bffcdd6729b87afc82ba0ef377173356a7dc8e972f5179968cf2fdf98c/ruff-0.16.4-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:b66b02cb9b04f537643cadf5768e5f98dc461890d530cb67113d71c8c76e605d", size = 9825821, upload-time = "2026-08-20T17:43:44.532Z" }, - { url = "https://files.pythonhosted.org/packages/f5/32/0db2a863b796ca62d83e92a07a3ccf00921b14db02059347576a2fda3d4b/ruff-0.16.4-py3-none-musllinux_1_2_i686.whl", hash = "sha256:8528bf9a4b291a60bf02ea453511e8ce6215bd2b982ee80405b66b008b6c30a0", size = 10267658, upload-time = "2026-08-20T17:43:46.989Z" }, - { url = "https://files.pythonhosted.org/packages/b2/a0/fbdeb59e48c6261f523e56c8f12e9c08fbe693786595cc7e3959207a9232/ruff-0.16.4-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:fbd85d2875fdd67e833213a651f613bbf25303abf6aa822a5121f4531195678d", size = 10697071, upload-time = "2026-08-20T17:43:49.891Z" }, - { url = "https://files.pythonhosted.org/packages/aa/28/0c6dd865859c6d17bc8ccc34cb72b0e02d6c7eb25e8a1e22b5bea681e2c0/ruff-0.16.4-py3-none-win32.whl", hash = "sha256:312769988007aaeb8e189b443ccdd03c0e6374489e053467be6d96518ebff76e", size = 10021687, upload-time = "2026-08-20T17:43:52.281Z" }, - { url = "https://files.pythonhosted.org/packages/a3/03/e724450f621698117f9aa6dd241c94d0274ae96781378dc86745ae29f0e7/ruff-0.16.4-py3-none-win_amd64.whl", hash = "sha256:05d9d27a18c4bcbefada602480ec9e01e0bc949d432e0ced5df77edac195919c", size = 10567657, upload-time = "2026-08-20T17:43:54.78Z" }, - { url = "https://files.pythonhosted.org/packages/0e/fe/da8b9e1347696bb22120b77280ec5ce25d500ca5cb39d5ad6e5c18de19c1/ruff-0.16.4-py3-none-win_arm64.whl", hash = "sha256:a3a61621c9b6f6a89573e938a080e648f1695baa3f58570a3a707bc51ff65a21", size = 10451579, upload-time = "2026-08-20T17:43:57.135Z" }, + { url = "https://files.pythonhosted.org/packages/ac/25/6071aabc530e9be7e2c195e8fe3f7aea2735405b6cf447212832d7811831/ruff-0.16.8-py3-none-linux_armv6l.whl", hash = "sha256:6ffbd6d87383c1edf5f6fa890f10200950240d7c1a16052a19a09d3a2307dd38", size = 10048966, upload-time = "2026-09-16T15:53:57.605Z" }, + { url = "https://files.pythonhosted.org/packages/54/98/07f90ecbc74dd5fb5764f11f2bc774d6a7cffef92d2ff5f5b4e9e23c754e/ruff-0.16.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:42ed6b878ed61e3acca92f2730a17acff39286944ea82398544696366a6f925e", size = 10165498, upload-time = "2026-09-16T15:54:01.14Z" }, + { url = "https://files.pythonhosted.org/packages/fe/1f/e6a712e3b47cad4a40600134105ed193cb773f618a42eb7ba323cb812cc0/ruff-0.16.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:7ea781c7f2afba8c6a505ea0fb3f994020249e0c450635f5381286fea6b46170", size = 9830004, upload-time = "2026-09-16T15:54:03.998Z" }, + { url = "https://files.pythonhosted.org/packages/23/f2/311a08776d75d81c7676e20b6b020ae63cbe881fcdc7a8dd64e6e18bdd93/ruff-0.16.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8efeae3bbe414a5efefda11a792dfb51ef90ac48d50c4830de2f644caf3e8659", size = 9986558, upload-time = "2026-09-16T15:54:06.804Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ed/37b6cb3d3ba8c73e68ae3eb1d502383beb5aa05a582bb7bb3a922f929f54/ruff-0.16.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a79b795469fef7fc6e908b218eed2eb17332afd85031db6480dc864560e69b2", size = 9877332, upload-time = "2026-09-16T15:54:09.552Z" }, + { url = "https://files.pythonhosted.org/packages/22/cc/40873a8f36ad084cc540d55fcca7077264d5b13b24659e9180c176fb2b08/ruff-0.16.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3fdc5563cdc50555e6fba39322850860e9267c1b3d12c26a74729d8604c3c812", size = 10507125, upload-time = "2026-09-16T15:54:12.152Z" }, + { url = "https://files.pythonhosted.org/packages/c3/e4/fc91a642b78ccbab6b9477720f3644ae7a10a9bcce69a934679cd64f62bc/ruff-0.16.8-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:34508983c70665578dab88f5223d8e6228307e1135398ca8bfc8b7e9501e282b", size = 11336694, upload-time = "2026-09-16T15:54:15.489Z" }, + { url = "https://files.pythonhosted.org/packages/c2/3d/bbd2a9a600a4e73dc3e7548a249c8d1671273464b55822c6fae50f602dff/ruff-0.16.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:644bb578569e0ffc575741232bd385dacdd6fbe123f1a729e7a225f54aa3957f", size = 10774448, upload-time = "2026-09-16T15:54:18.16Z" }, + { url = "https://files.pythonhosted.org/packages/1a/41/d83af9879a7b6e8bf5fe16b1da0b134049d2f5d3afac12defb0897cb84bd/ruff-0.16.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15e7d226246961db9235098333caa13063906d3851136b84c2900b82f5daa1df", size = 10323796, upload-time = "2026-09-16T15:54:20.743Z" }, + { url = "https://files.pythonhosted.org/packages/f5/2c/cefd07bfe914b84943ea769ade8d607bd22750b965d3228eefd7cebd15d0/ruff-0.16.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:a2bf6bc3e9ebdd4449abc6f06cf64b98051a2c61cf94d2fe9596518c881f1a1e", size = 10514115, upload-time = "2026-09-16T15:54:23.497Z" }, + { url = "https://files.pythonhosted.org/packages/f3/9d/76a2e26c79a23be6e6e3664c57bec9e9fc8de155cfb9e4b67ea91b64f9d7/ruff-0.16.8-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6ca111ba0849539165e9e59d2b442542f3c1e8060ebbdea82494f1ffbccb1e1f", size = 10072582, upload-time = "2026-09-16T15:54:26.185Z" }, + { url = "https://files.pythonhosted.org/packages/2e/d4/f42edddb39668af1a559ceafa3823aedd65633a48dc9768e775485faa2c1/ruff-0.16.8-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:359a1e5b495448ee1e91018064382ebc86f90e8aac2fed222c7d0e4e8df85fd2", size = 9879644, upload-time = "2026-09-16T15:54:29.278Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d4/913e3195d95e0378786c6656945c865f534a3560e29139da4882aff630d1/ruff-0.16.8-py3-none-musllinux_1_2_i686.whl", hash = "sha256:59e8f5681349474110b24d62e93cfda6593f5fa3473446ca3705200cac1a08b9", size = 10231569, upload-time = "2026-09-16T15:54:32.036Z" }, + { url = "https://files.pythonhosted.org/packages/2b/c4/8aa6ea0bdcedbd1bf87397e2fc4ed8406448ea5842f8660bc6e5f163039d/ruff-0.16.8-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:efa3e7a16d1baaa79957888dfdf8be9ef2e44db81cb032af06d76632ab59e773", size = 10663666, upload-time = "2026-09-16T15:54:34.838Z" }, + { url = "https://files.pythonhosted.org/packages/3d/02/7f10ef4700bc223c30a3fdd10631a29830c45524b810a3c7ed947af64591/ruff-0.16.8-py3-none-win32.whl", hash = "sha256:55793ba85c69921e89be061426d91a78652d6e50317c962240922747a4eb713f", size = 10093472, upload-time = "2026-09-16T15:54:37.47Z" }, + { url = "https://files.pythonhosted.org/packages/1e/5d/a509c07d714b6da88f2c518b4637cf6f1d46b074be8f0f1e5fb9ff5126fe/ruff-0.16.8-py3-none-win_amd64.whl", hash = "sha256:a6b85621fd3c81e31fc5f5add09c9c078b430db3595ca632efafdec9e64ebfaa", size = 10586899, upload-time = "2026-09-16T15:54:40.488Z" }, + { url = "https://files.pythonhosted.org/packages/fe/a0/50787329e4f20bf9dc9f6230015d46ec69c51a97ace5bc202dae4755365d/ruff-0.16.8-py3-none-win_arm64.whl", hash = "sha256:d075e820af612102ce217f07cc93e69f9490b10ec13ea85fa87bd03d996cef8a", size = 10386316, upload-time = "2026-09-16T15:54:43.332Z" }, ] [[package]] name = "sqlalchemy" -version = "2.0.52" +version = "2.0.54" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/3b/21/77b4c147963073040dc3c3a5cb7a8c3001a1893c0209432cb77f9df836aa/sqlalchemy-2.0.52.tar.gz", hash = "sha256:5e2d46356ac2ccb7d268ab6c2319ac6a2b42f1b8d5fd8bd3d46855cd82abee97", size = 9945637, upload-time = "2026-08-11T19:07:09.829Z" } +sdist = { url = "https://files.pythonhosted.org/packages/29/9c/271aa905cf2964f841371a97f3e63ab692bf51b4423d0491e67bc7f64037/sqlalchemy-2.0.54.tar.gz", hash = "sha256:baa8521e8ee9f24e75dfc7aaabc08020e551ef0d48d7c3e3536f5cddf277586b", size = 9969559, upload-time = "2026-09-15T21:06:57.337Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/7f/18/e30c6fe1eca1bf34a39fbdd6066121cc9974c850faf6f349eac563697a26/sqlalchemy-2.0.52-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2eb3c6a64b1bfe6704777cfd504e7b8ad093a5f3e03ce67663a5e6742f294e43", size = 2167724, upload-time = "2026-08-11T20:58:12.679Z" }, - { url = "https://files.pythonhosted.org/packages/d0/56/2e17d161a4f7ecc1c2ffb93e607b4e1898bb551b451b283235acb8f6ce47/sqlalchemy-2.0.52-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:923bb183c1dc64fdf7b717965e3d59938ec4f8b8710b419a21ce403e5da9a9e1", size = 3321189, upload-time = "2026-08-11T21:02:41.932Z" }, - { url = "https://files.pythonhosted.org/packages/cf/b8/8490916e893f3f8d74dc9cc54c078619364999dee37047a188e73abbc852/sqlalchemy-2.0.52-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:651d6d8782e80679e6151707c7b490834d46ada526328895abf567f25e63d29c", size = 3338185, upload-time = "2026-08-11T21:17:02.597Z" }, - { url = "https://files.pythonhosted.org/packages/8b/f7/752cc8ee453da222829b3f5c4613614bf750d97429363b70414fa10478e4/sqlalchemy-2.0.52-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b08cddb8989775e3c88799d86704bdfc3ee6e9846118201aa5997f16f27e3a15", size = 3271698, upload-time = "2026-08-11T21:02:43.963Z" }, - { url = "https://files.pythonhosted.org/packages/51/e6/074ade0c07b9e4c8e8bca46820320ed94df9702afdb6f2af06623068d2e6/sqlalchemy-2.0.52-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ab66fa9618269390d4dfa222f2f2f88f7bc4bf5da13905131b818217db7e8057", size = 3308936, upload-time = "2026-08-11T21:17:04.172Z" }, - { url = "https://files.pythonhosted.org/packages/66/07/557c0d04716705599227945ac14e0a17ad0338e899f37d8c2ddff4dcc663/sqlalchemy-2.0.52-cp313-cp313-win32.whl", hash = "sha256:c63bda077685c85ca513286547a531ba57e7a68cf0a7ed3bafcc2bbd18896f4d", size = 2127308, upload-time = "2026-08-11T21:14:53.879Z" }, - { url = "https://files.pythonhosted.org/packages/96/4e/226eda27654318ce525d043025221f689abef883da2c7126f9065121618c/sqlalchemy-2.0.52-cp313-cp313-win_amd64.whl", hash = "sha256:9876b09b9f1ce7398b0ffece585c0a911244c53191187341f6bcae640e133751", size = 2153876, upload-time = "2026-08-11T21:14:55.527Z" }, - { url = "https://files.pythonhosted.org/packages/d5/f5/71cb30af58c9b80a4e1fac0b73bb48f86d497a774a6a2eb6d2f1e657bb73/sqlalchemy-2.0.52-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:410d52be41d17f1a236d19520fbe776257dc16516ed06bd16d433311842aefd9", size = 2169537, upload-time = "2026-08-11T20:58:13.855Z" }, - { url = "https://files.pythonhosted.org/packages/4c/93/d07ebd645d1b07b6b5ed63450a70f063a346a7e0f2c8810daf2e532400cb/sqlalchemy-2.0.52-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dfe9ce533dbe4d0a2ae1486546619bd30b76bcd670539a44d910361376175f5e", size = 3319606, upload-time = "2026-08-11T21:02:45.829Z" }, - { url = "https://files.pythonhosted.org/packages/ae/5c/290c84c7c2566ecd3b65baaae0fddec9bc33b033b398a06123bb86fbfc6e/sqlalchemy-2.0.52-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:812bae5138bfc0aa46fb0686da0fc7f581f68e2bbb05bc24c3713bebaedd1437", size = 3323642, upload-time = "2026-08-11T21:17:05.675Z" }, - { url = "https://files.pythonhosted.org/packages/13/f5/2cc160590ca49173359557880b92a0572293ccb899e8f6cedf150c5a3ddf/sqlalchemy-2.0.52-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:50bff43b632a56fbf5ed9afdd76307e1512b62051bcd5afb341ae67205bbb6c8", size = 3268125, upload-time = "2026-08-11T21:02:47.649Z" }, - { url = "https://files.pythonhosted.org/packages/35/f3/ea8933fc9f7d1353e9c2ff9965eae687c4cef181120574591ed2fa0633e1/sqlalchemy-2.0.52-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:49565daf5af554f538e23aef1fc81a95a4e49658f152285e45c02f5fc44f04cd", size = 3289516, upload-time = "2026-08-11T21:17:07.267Z" }, - { url = "https://files.pythonhosted.org/packages/45/67/05cf86541c1e1716fca1e4a996954a439cd74501707cda607fb7cb02ef50/sqlalchemy-2.0.52-cp314-cp314-win32.whl", hash = "sha256:ab9da41e61b9979b910499d633b241df20c51ee5037e5405b11c2faac3cbe1a2", size = 2130249, upload-time = "2026-08-11T21:14:57.273Z" }, - { url = "https://files.pythonhosted.org/packages/96/d7/8ac6ffa1e36169e762ef65bd835046abb2251b1bc17f8f6708e14ed8d31f/sqlalchemy-2.0.52-cp314-cp314-win_amd64.whl", hash = "sha256:a593db51b3bae75db17a5738ad5f992244b3a03863f83c28117ee482c6a3f76d", size = 2156718, upload-time = "2026-08-11T21:14:58.667Z" }, - { url = "https://files.pythonhosted.org/packages/dc/4b/e01a737eef378e734cc6394a82248a6ce13b167dfa36c731075ce9fc9c64/sqlalchemy-2.0.52-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1e61d08bdf4ee2f41024569e3400de7d6734ba498144766b11260936ccfa582", size = 2190344, upload-time = "2026-08-11T19:53:21.393Z" }, - { url = "https://files.pythonhosted.org/packages/b3/3f/3582293d1e185e71d19d7c731c3e2ee20ba21981c4a1115c0806c1f62120/sqlalchemy-2.0.52-py3-none-any.whl", hash = "sha256:3b81b8363a919ce53453591cdb93702e6bd54ade6c4fa2f468fc053baee5ed89", size = 1950700, upload-time = "2026-08-11T20:47:21.603Z" }, + { url = "https://files.pythonhosted.org/packages/aa/1c/021ccd7a838425f52e67c02edc541e8d53be8a27a103e684e14b18aac17b/sqlalchemy-2.0.54-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b374e3bc91e246a942592a98ba6a23be76fff21358b00546ac8c0ebc0fd0e00b", size = 2184259, upload-time = "2026-09-15T22:28:59.153Z" }, + { url = "https://files.pythonhosted.org/packages/74/8f/f95de908a4af7ac3a6925cdcb837a93274f608925a0fbc786df38811bccf/sqlalchemy-2.0.54-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:31d5458672a6f72db2c087f4a5098b3c8503ea0254186ff29205d63afa9401a4", size = 3398792, upload-time = "2026-09-15T22:29:35.218Z" }, + { url = "https://files.pythonhosted.org/packages/84/26/bd327a1a6be223e438c98ac8faf299307d83797225a81f3b209607a9fd98/sqlalchemy-2.0.54-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cad78d04254967bdbcccbed5e631d88fe4868530946ab0929aa45e9032849518", size = 3417562, upload-time = "2026-09-15T22:40:32.637Z" }, + { url = "https://files.pythonhosted.org/packages/4b/b1/f13a8fe8e8e167d8e65484b91b827897b8a5ca1efd7ba6e87a5f63412fed/sqlalchemy-2.0.54-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:48611087a75d26d798003645c688c7d3cfc26b89dbe4a2c568d6b378d330deae", size = 3349138, upload-time = "2026-09-15T22:29:36.729Z" }, + { url = "https://files.pythonhosted.org/packages/b1/b7/5fd58f03281a74c57f02f509433e1be58a79d9f5b0e14020e665e0dcb614/sqlalchemy-2.0.54-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d6adf80277372a89910a0f3ccfe960b846d279dc55b366dd5c5ec07f41c84758", size = 3382943, upload-time = "2026-09-15T22:40:34.587Z" }, + { url = "https://files.pythonhosted.org/packages/4b/73/e29fa88dfc809857a55e6523911d345d00cab4adf87032c21ade8874223c/sqlalchemy-2.0.54-cp313-cp313-win32.whl", hash = "sha256:264460333ed0b177cbb1956355d0ee4e0cab83fb415c934ce12a25db2e7be39c", size = 2138931, upload-time = "2026-09-15T22:42:51.801Z" }, + { url = "https://files.pythonhosted.org/packages/89/9d/885e7491836f3dad368c74f0d5b93551d37b0ec66c9e8753240ee988308f/sqlalchemy-2.0.54-cp313-cp313-win_amd64.whl", hash = "sha256:cf89e92bf0d4204a6afcc17af27b9271ed9c7e34e17d6f80c085d431ea4a1747", size = 2166496, upload-time = "2026-09-15T22:42:53.603Z" }, + { url = "https://files.pythonhosted.org/packages/ab/c0/4a6503c9d22d6d00a5631082ab1484222ecf7d573db791e0f53161bf7745/sqlalchemy-2.0.54-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:abd6b21bc58e91c1932eb5d6d7f1bd44a551dfec7b6a7f517c3638ccd67233a0", size = 2185899, upload-time = "2026-09-15T22:29:00.581Z" }, + { url = "https://files.pythonhosted.org/packages/12/28/f4424f618bd1f373761a32a821d53ce2c257350e9894bae9b968cb03d8fd/sqlalchemy-2.0.54-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5417322b3c025dd82918725d3bf09ec105fac95efc195722b8b06e1d9c381139", size = 3394763, upload-time = "2026-09-15T22:29:38.131Z" }, + { url = "https://files.pythonhosted.org/packages/59/d2/7f0c77f8e042cb5f28275fea29c3080b4ac6fd4b3fdd7f59ff1ef3e28c11/sqlalchemy-2.0.54-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f84099e4b04a5c2d44500a2a8302eee5af4bc6fee63e8c6e9cf6786e747280e", size = 3402800, upload-time = "2026-09-15T22:40:36.509Z" }, + { url = "https://files.pythonhosted.org/packages/af/32/3eaa930bcf71d17a72587081d2706a5fb97ab3f11a7e0fb838f581f7cff1/sqlalchemy-2.0.54-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a0956dc754d3884da7fe60097110ec7a8a105d26afa2f0844468f4b1598c6912", size = 3341469, upload-time = "2026-09-15T22:29:39.682Z" }, + { url = "https://files.pythonhosted.org/packages/eb/cc/cddb6cbd4408e5c55b3bf722be26b9d3b54d42509f901b7ecc15debd3d1f/sqlalchemy-2.0.54-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:87ba8834318b0d8dc94fc6f405d071b5c08be32a6c3fd68107fd6952ee949615", size = 3373232, upload-time = "2026-09-15T22:40:39.181Z" }, + { url = "https://files.pythonhosted.org/packages/34/2f/9c2aa5efc642b7f3b985d13565cd1a5e78856e079ef3022796fea5180498/sqlalchemy-2.0.54-cp314-cp314-win32.whl", hash = "sha256:842540e4382472f23c79589995752648d14696a8200d0807ed8c5c59c92ade44", size = 2142018, upload-time = "2026-09-15T22:42:55.118Z" }, + { url = "https://files.pythonhosted.org/packages/e2/0b/3594f1f51769feb3022d686135dc5d8682a12345ed15ae61d0c0ca42cbee/sqlalchemy-2.0.54-cp314-cp314-win_amd64.whl", hash = "sha256:f4e8f955d13af83fb4e35c3472e5377ee22d3445eada1e5e48199588edb69835", size = 2169220, upload-time = "2026-09-15T22:42:56.727Z" }, + { url = "https://files.pythonhosted.org/packages/c3/a5/c211a9a7af83222509519407e16a4db760c6df3d03be69ebc5414d465321/sqlalchemy-2.0.54-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ca05f4e7852cf48083b0cf157e4f9504b7068780422a50fa82f45353b8c5e14a", size = 2208458, upload-time = "2026-09-15T22:30:05.718Z" }, + { url = "https://files.pythonhosted.org/packages/cb/2e/490ad7b3731116cb48ba170f7722eaa99a89707193e54389ca84b7ad55af/sqlalchemy-2.0.54-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:18a8b6417cbb7b735cf91c2b59453c2a554cefa0a8d7bd15aa35740739410d77", size = 3660585, upload-time = "2026-09-15T22:36:06.649Z" }, + { url = "https://files.pythonhosted.org/packages/eb/25/15dfe6814847eeda773bd58ab6cf42a94b0176e5cf25a578fc1165777160/sqlalchemy-2.0.54-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4e55a0b96a1577a1e108c91ccdeeb9cd92768f28ce206597311c3bf6d6423abd", size = 3624442, upload-time = "2026-09-15T22:36:38.377Z" }, + { url = "https://files.pythonhosted.org/packages/aa/19/724d0a6a2fb2a86ff2d6008e581c258f722d9b7d8e52adc7b79085febdd4/sqlalchemy-2.0.54-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:69cab115c40fd02c5a22c68e4ee630fa6ef9a1650f1de944419aab1f7096fc4f", size = 3562972, upload-time = "2026-09-15T22:36:08.581Z" }, + { url = "https://files.pythonhosted.org/packages/49/bb/9df1bd81c2f2d000cf5e7a1b1a9b331468a3aab939ad983355e701fa42b2/sqlalchemy-2.0.54-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e08397c6c42f53b2488acde9108b8bfefd52d7afd1bf2f03d2ffcab7a204aceb", size = 3576479, upload-time = "2026-09-15T22:36:40.272Z" }, + { url = "https://files.pythonhosted.org/packages/df/c0/b5775465d3b89061d7c46057c31c56ff8fb6c509550b2b0c6570ffc248b3/sqlalchemy-2.0.54-cp314-cp314t-win32.whl", hash = "sha256:b9086b8ad48280ef6a7ba68262d5e44f7db1c4cb1973e8cdae8a9f467ae66f51", size = 2174794, upload-time = "2026-09-15T22:31:45.925Z" }, + { url = "https://files.pythonhosted.org/packages/77/f8/296c2e46b4ccd3f29b00b954ef2f195dde32f98e352ed21de1d292cedc0d/sqlalchemy-2.0.54-cp314-cp314t-win_amd64.whl", hash = "sha256:b67c1744e453af833667fc1b84de07adb4a64f3536ef52a8ec5ac2b941d43970", size = 2211942, upload-time = "2026-09-15T22:31:47.368Z" }, + { url = "https://files.pythonhosted.org/packages/24/a1/bd5e3e99bc9c8863b51ac5b9b03008a7f2da8c6b59695992f5c654e1265b/sqlalchemy-2.0.54-py3-none-any.whl", hash = "sha256:7e33a631ab1474f8fe6b910bd1a07b7b8009c4c78cdd3fb18001b03e3bc2e1d2", size = 1958015, upload-time = "2026-09-15T22:24:22.95Z" }, ] [package.optional-dependencies] @@ -800,55 +991,14 @@ asyncio = [ [[package]] name = "starlette" -version = "1.6.0" +version = "1.7.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/b5/b4/205b0d5241d934e8add0c38aa924c4f9fb7330834ff11e5444db964ec3f9/starlette-1.6.0.tar.gz", hash = "sha256:d4e3ac5e546444960c710297a3c9fc3f7ebae1b7e963f3d36173b49da535be9b", size = 2716969, upload-time = "2026-08-08T18:27:57.512Z" } +sdist = { url = "https://files.pythonhosted.org/packages/7b/2b/3850dc6bf7ef71b088962eba31dafc6cffd2f96e577ebb0bb316df96da3e/starlette-1.7.0.tar.gz", hash = "sha256:c79f74ea63cff761804fbbfb182f1e0b440c2d07b164d24700c5a1bab5d6ff5d", size = 2736246, upload-time = "2026-09-23T07:30:26.35Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c8/cb/6a6a47d5b464bd08695d254f3da6e7986cc70c9fa5d778eda57538edfe56/starlette-1.6.0-py3-none-any.whl", hash = "sha256:a86dd39d14bb45f85a3d18525215a9ef0cfd1f192ac793220e72598c90335f0c", size = 75969, upload-time = "2026-08-08T18:27:56.196Z" }, -] - -[[package]] -name = "testcontainers" -version = "4.15.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "docker" }, - { name = "python-dotenv" }, - { name = "typing-extensions" }, - { name = "urllib3" }, - { name = "wrapt" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/4b/13/2cc466bddf26d0085f30a2b2bd56b7f8708b54a54db833eec97c5c69129b/testcontainers-4.15.0.tar.gz", hash = "sha256:085cde086337632e19002719460b7b80bbab2bdd51bb3ea04f77d0de96504706", size = 95340, upload-time = "2026-07-24T23:08:01.731Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/00/7e/424aac8b355597835deb333e757a0e94b5ccf38ad00f07fe6ed1f4e17c88/testcontainers-4.15.0-py3-none-any.whl", hash = "sha256:8796c14e76604031ad39cf0ed3b8e9806283a1fbf5270965c2b1c594caa31b74", size = 160771, upload-time = "2026-07-24T23:08:00.13Z" }, -] - -[[package]] -name = "ty" -version = "0.0.74" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/88/0f/c767853e88567a2ec7e996dd95e3105b1bc62c95d103689311ef0f4a603c/ty-0.0.74.tar.gz", hash = "sha256:da14344fc8625fc9ff359bafb856ad575636ea86d9bb6a629b146bff27b380e6", size = 6786318, upload-time = "2026-08-22T15:05:54.054Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/2c/95/6ded58bc97885c6d88fa1f9cd815031489200738f961cbf0466663213f80/ty-0.0.74-py3-none-linux_armv6l.whl", hash = "sha256:8969ef4e508debf00cf58f9ea85a539f799b1732c59cdfcecd037630b9755b30", size = 12790043, upload-time = "2026-08-22T15:05:05.015Z" }, - { url = "https://files.pythonhosted.org/packages/d9/8a/5e323603b6ab8731144421877ee8a0f8ac5a5511e67857127caa09f6730e/ty-0.0.74-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:51fb6cf5b98e1e1140825b2430943f78d744876a735231656eafbb4c3f7eca3c", size = 12371748, upload-time = "2026-08-22T15:05:08.609Z" }, - { url = "https://files.pythonhosted.org/packages/d0/44/ee72e08cb705281e8d8c42917dd577aa598a8a098008495fda5176ee3f6e/ty-0.0.74-py3-none-macosx_11_0_arm64.whl", hash = "sha256:8ebe60b1f0a948c793d6c77fc9e9ddda599e4f023c04ab16e8e03bcb428c3fa0", size = 12282403, upload-time = "2026-08-22T15:05:11.448Z" }, - { url = "https://files.pythonhosted.org/packages/da/b3/fd935b694ff68bc278af50f7ad04770b36ce6306399baef7e1847b553a9d/ty-0.0.74-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa97f407a695c890a53615966a663c7d2167e2cabe88db7ca1a24d62635cdfc8", size = 12345164, upload-time = "2026-08-22T15:05:14.19Z" }, - { url = "https://files.pythonhosted.org/packages/54/5c/5b5825268e029ebb164c909780103dbbae367f069801410068bf1cef29b3/ty-0.0.74-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:673ddb733d4a0db31385ba1ed9ff1f6bd9dc5565413ce57b1ca5ac4c7803da5d", size = 12556646, upload-time = "2026-08-22T15:05:16.994Z" }, - { url = "https://files.pythonhosted.org/packages/56/e7/515914e571d62ce0101744fed3f881936eeb1b30dc37beb72b4f7ca1e289/ty-0.0.74-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1028e7c6b4f6145e9704552f43a5fffdcd51b42263ffdcd9c9677762bc395a4a", size = 13311653, upload-time = "2026-08-22T15:05:20.254Z" }, - { url = "https://files.pythonhosted.org/packages/b0/07/d1452babb6f9266c2122cabc095180b70ed306fb770b2996753814d2237d/ty-0.0.74-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:79841a8890493021fb308772474983316eb91f7b56cb227a6a05a06b262a36f0", size = 13768284, upload-time = "2026-08-22T15:05:23.197Z" }, - { url = "https://files.pythonhosted.org/packages/b1/60/8d4a2fc7842a47210a1cb0a16a187d9de39ad5d509a00fb74c1c073afcde/ty-0.0.74-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:94859d321f3c6a6c8f7bfc3f40e8319cda7e6e012e613440f3dfd145d5010e2e", size = 13422306, upload-time = "2026-08-22T15:05:26.248Z" }, - { url = "https://files.pythonhosted.org/packages/de/76/ebbc269a8c4efcc4d44624993bd188145f20d60ebda9680b15aaec42cc50/ty-0.0.74-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:970a8b2c09ff3be04c8a1c6767332d861be4fce85efe7bb205e4ade7c8655274", size = 12970637, upload-time = "2026-08-22T15:05:29.15Z" }, - { url = "https://files.pythonhosted.org/packages/9e/dd/b99f7236acbf856780ca1779a48143d2d9f2c24d7f531a0ce15a022b8a87/ty-0.0.74-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:795f763b3ded85574c2c2846a6fb8acf2aa76e9e83d761143e92b1f0c7ffa2cd", size = 13344891, upload-time = "2026-08-22T15:05:32.033Z" }, - { url = "https://files.pythonhosted.org/packages/0b/d7/9ff7449a4c7e6428f2c6f298e74cf24b70668f29d45c249507a723ff3782/ty-0.0.74-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:dc086db5367d912c31c0cc872deb7387290e779a4b9b54fcb944673a7cd52c7b", size = 12395272, upload-time = "2026-08-22T15:05:34.702Z" }, - { url = "https://files.pythonhosted.org/packages/b1/dd/b23a5b6b35d37df89dc8dc5daa09efd9245a668b50c4c81c25de21567dc1/ty-0.0.74-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:0314d7b391cf684e47c2fa093d2ce4c597cfc9b01d9a315fe204aed6359b271b", size = 12573079, upload-time = "2026-08-22T15:05:37.683Z" }, - { url = "https://files.pythonhosted.org/packages/23/c5/ccba16239d6129533c8b3603458d0f4dd2ba69478e47059073968e74261d/ty-0.0.74-py3-none-musllinux_1_2_i686.whl", hash = "sha256:c4a45dd2e991e8bdae82ba78c8cd051b253f60bc71a6536598fa3ef580b4fc9b", size = 12832506, upload-time = "2026-08-22T15:05:40.505Z" }, - { url = "https://files.pythonhosted.org/packages/6d/1c/2390912634dff4f341f97b397f2aee341ff062be0a66cda37d59375454f2/ty-0.0.74-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:210e2eac6b018fb934e2b8dac3956a0ba076a3fb1fa6f135058c825e5b759b81", size = 13154752, upload-time = "2026-08-22T15:05:43.355Z" }, - { url = "https://files.pythonhosted.org/packages/c4/33/a8c12188227e6f74f91853a7374e01ed81d6ad21c16c8b70e92dbebfe46a/ty-0.0.74-py3-none-win32.whl", hash = "sha256:db0bb6a8f098ef9bd1be861f73b4f7c0320d40d4c05c7ae0a8677d4e7aa4f6e5", size = 12130002, upload-time = "2026-08-22T15:05:46.058Z" }, - { url = "https://files.pythonhosted.org/packages/21/5c/064f28ccb9c234cfce5a2f7aa69a256663d5ae5bb0290b3a9706cc4d1e4c/ty-0.0.74-py3-none-win_amd64.whl", hash = "sha256:bebff181515255b3c78bd2e7693ae66fab6064ad4feea2065c68bc01022aa678", size = 12771435, upload-time = "2026-08-22T15:05:48.811Z" }, - { url = "https://files.pythonhosted.org/packages/fe/06/d6becdaca0315346c26b6df97cb0eafa81de4f870945d6989e88704374ed/ty-0.0.74-py3-none-win_arm64.whl", hash = "sha256:1a3469eaaf8c85b1c0a15bede25d36daea4b09fce1d913e965b24e24b3f1d6c6", size = 12558299, upload-time = "2026-08-22T15:05:51.543Z" }, + { url = "https://files.pythonhosted.org/packages/4e/d6/1ec1b290f9e0fb067899b61e1d37a30c923068bad260b216dbe37a7d2967/starlette-1.7.0-py3-none-any.whl", hash = "sha256:67f8e99895493dd2911a03f11314af6ceebeae4e704bb9f43dfc6a9db151c93e", size = 78980, upload-time = "2026-09-23T07:30:24.567Z" }, ] [[package]] @@ -872,26 +1022,17 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/67/81/4add07e5172b7ac40d8ed5ff580409a7801a4fe26d529bdd915401dabfbe/typing_inspection-0.4.4-py3-none-any.whl", hash = "sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147", size = 14750, upload-time = "2026-08-12T12:37:24.648Z" }, ] -[[package]] -name = "urllib3" -version = "2.7.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, -] - [[package]] name = "uvicorn" -version = "0.52.4" +version = "0.53.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "click" }, { name = "h11" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/f2/0f/3f86e61397dd33bf2ccf28188c40db6a740658aeebbbf6e7dbc101a1f487/uvicorn-0.52.4.tar.gz", hash = "sha256:73acfee47a0b133c5de13d219492d62d8a31e935f4fe6e41a232451a15379f86", size = 100627, upload-time = "2026-08-19T06:27:41.821Z" } +sdist = { url = "https://files.pythonhosted.org/packages/5d/ad/04bbb797c84fc1f26cb171f7394716f4865ffb8d8c5e1eef42565c2dfa6b/uvicorn-0.53.0.tar.gz", hash = "sha256:a9356f0cb89b3b8621529c5d5eebd69bfe154f4c3f68b4cf2de47e45fa855c2e", size = 110881, upload-time = "2026-09-14T07:44:23.815Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/f1/79/4a20b54ab0491485ccd8c077db2d39187c7f12b3e15485d38a7be37c81b4/uvicorn-0.52.4-py3-none-any.whl", hash = "sha256:f86e41a149d7d05a9969337e3946a9c171c06a5d42680896daaba624aeac8da1", size = 79871, upload-time = "2026-08-19T06:27:40.36Z" }, + { url = "https://files.pythonhosted.org/packages/76/18/0eea75741ee812e9f598b687619ce2454f6c3a1c5cd21ea990ec6bd26f45/uvicorn-0.53.0-py3-none-any.whl", hash = "sha256:e8dca71ec86dce5f04e333f0d56cdedf942446e6643b9cea1af0d6d3a02cb03e", size = 87081, upload-time = "2026-09-14T07:44:22.179Z" }, ] [package.optional-dependencies] @@ -930,76 +1071,58 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e4/16/c1fd27e9549f3c4baf1dc9c20c456cd2f822dbf8de9f463824b0c0357e06/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6cde23eeda1a25c75b2e07d39970f3374105d5eafbaab2a4482be82f272d5a5e", size = 4296730, upload-time = "2025-10-16T22:17:00.744Z" }, ] +[[package]] +name = "virtualenv" +version = "21.12.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "distlib" }, + { name = "filelock" }, + { name = "platformdirs" }, + { name = "python-discovery" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/81/a3/4d9dede34649537601a64700558e350f43dd552a12db166e0ff1bc81087d/virtualenv-21.12.0.tar.gz", hash = "sha256:bc5923d9f3e25f4114d6335e99c265978386d3ce8a6a0ec061b18d9b1635b016", size = 5396320, upload-time = "2026-09-24T01:27:44.502Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/99/1f/f05fdfddce78d80a9269db1d4b63a4666f102f4e5302b54a7e3a8d4ac75b/virtualenv-21.12.0-py3-none-any.whl", hash = "sha256:7c48862b3f355c3f5f08d0e21af8a9ea601e0c56385f8e189c7117809ef0b4db", size = 5485590, upload-time = "2026-09-24T01:27:41.85Z" }, +] + [[package]] name = "watchfiles" -version = "1.2.0" +version = "1.3.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/cd/41/5e1a4bb12aac5f1493fa1bdc11154eca3b258ca4eba65d39c473fe19d8e9/watchfiles-1.2.0.tar.gz", hash = "sha256:c995fba777f1ea992f090f9236e9284cf7a5d1a0130dd5a3d82c598cacd76838", size = 108252, upload-time = "2026-05-18T04:32:04.251Z" } +sdist = { url = "https://files.pythonhosted.org/packages/b3/68/e6aa0b77d217b31f8f486ec0cdfe5e00e6e38dc0be657e7d85819b9faf0a/watchfiles-1.3.0.tar.gz", hash = "sha256:99aee4a07847c06820765fd7b1b49ceac4f3f711ccb7d104655a33231de1c207", size = 108119, upload-time = "2026-09-21T09:08:55.664Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/4d/70a7feced9f87e2ff26dba42667290f41694fc64646c67261fbb8cab5d5c/watchfiles-1.2.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:01ea8d66f0693b9b60a6541c8d10263091ca9a9060d242f3c1f3143f9aad2c98", size = 399730, upload-time = "2026-05-18T04:31:38.162Z" }, - { url = "https://files.pythonhosted.org/packages/31/3a/0da302f2307aee316922806ebd5726c542cbd787c938271cf14a074c7daf/watchfiles-1.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7ba0480b9a74af058f43b337e937a451e109295c420916d68ad24e3dc02f5e44", size = 392842, upload-time = "2026-05-18T04:30:27.051Z" }, - { url = "https://files.pythonhosted.org/packages/db/ef/d5bdb705c224dbc256aa0c1ec47bf4e61ec52558f2afb44a71a1fe4d7015/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f34e26a19f91f710c08e0183429f0d1d15df734e6bc78c31e77b9ea9c433658", size = 452989, upload-time = "2026-05-18T04:31:11.945Z" }, - { url = "https://files.pythonhosted.org/packages/71/29/5495f2c1661949ef7a35e4d71111d129cfe7606414a26887a919d0a55406/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b4e77f6a55f858504069abd35d336a637555c09bca453dde1ee1e5ada8a6a1fb", size = 458978, upload-time = "2026-05-18T04:30:52.606Z" }, - { url = "https://files.pythonhosted.org/packages/d5/8c/7f9c07c433811c2fffd93e13fdfb7135de9aab5f2ae41be08960fa0047dc/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0cb4d80e212f116474a545c21c912b445f16bb0cef9e6a73a498164223e14e2f", size = 490248, upload-time = "2026-05-18T04:31:36.003Z" }, - { url = "https://files.pythonhosted.org/packages/3c/11/d93632febc52fbc21be90231bb7c17fd5387f46c9076fd40a5f9c2ae6910/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b974946a10af379d425e2eef5b62f5c6ebeaccf91d45eaad6f5b27ecd4f91aa0", size = 571847, upload-time = "2026-05-18T04:31:10.862Z" }, - { url = "https://files.pythonhosted.org/packages/55/b4/383173e73aabb07ad1d9c7aa859d95437ac46a6d6a1e11005facda0c9d19/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86bc13c25a8d1fcd70b51d0ce7c9b65e90de5666fcbfd3e34957cc73ee19aeb5", size = 465974, upload-time = "2026-05-18T04:30:17.006Z" }, - { url = "https://files.pythonhosted.org/packages/a7/6c/89b1a230a78f57c52dd8893adb1f92f94411721b6ec12596c56d98c74356/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca148d73dea36c9763aaa351e4d7a51780ec1584217c45276f4fe8239c768b71", size = 454782, upload-time = "2026-05-18T04:30:35.656Z" }, - { url = "https://files.pythonhosted.org/packages/24/62/1732118367cfff0a9fce3bf62ff4bfded09ef5df21d9d446b858b3f70a96/watchfiles-1.2.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:c525543d91961c6955b2636b308569e84a1d1c5f5f2932041ab9ef46422f43e3", size = 465182, upload-time = "2026-05-18T04:30:20.846Z" }, - { url = "https://files.pythonhosted.org/packages/28/96/716f7e5f51339bf22963f3345f9f27d7f3b30e2eadc597e257c881dd3c53/watchfiles-1.2.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:a204794696ffb8f9b10fba6f7cb5216d42f3b2b71860ccac6b6e42f5f10973b0", size = 629841, upload-time = "2026-05-18T04:31:05.397Z" }, - { url = "https://files.pythonhosted.org/packages/4c/fe/c40783950fd771ccf66ab3ec2722d188a9af1c7f96c6e811f36e40c6e03f/watchfiles-1.2.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:10d86db20695afe7997ac9e1717637d6714a8d0220458c33f3d2061f54cec427", size = 658028, upload-time = "2026-05-18T04:31:48.22Z" }, - { url = "https://files.pythonhosted.org/packages/71/72/4508db1856d1d87fcbb3b63f4839bab1b5682cb0e8d224d122263c09654a/watchfiles-1.2.0-cp313-cp313-win32.whl", hash = "sha256:eb283ee99e21ad6443c8cdb06ac5b34b1308c329cbdf03fa02b445363714c799", size = 275183, upload-time = "2026-05-18T04:30:59.57Z" }, - { url = "https://files.pythonhosted.org/packages/f9/36/14b76ca57652e5cc5fd1c11f32a261292c08a0d19a00351013c2549cbfb2/watchfiles-1.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:a0f27f01bee51861392bb6b7c4fdb290b27d1eb194e9e28788d68102a0e898d9", size = 288059, upload-time = "2026-05-18T04:32:07.937Z" }, - { url = "https://files.pythonhosted.org/packages/1b/8d/0a85e395398d8d20fadfe5c5d32c726eee17a519e78fb356f2cf7531bffe/watchfiles-1.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:3651aa7058595e9cfb75d35dd5ada2bf9f48a5b8a0f3562821d3e210c507e077", size = 280186, upload-time = "2026-05-18T04:31:54.484Z" }, - { url = "https://files.pythonhosted.org/packages/37/68/36db056f1fdcc5f07302f56e631774d6835bcd6fa3ace402304621d5f9e5/watchfiles-1.2.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:faea288b6f0ab1902ef08f4ca6de005dccf856c4e0c4f21b8c5fce02d90a1b08", size = 399031, upload-time = "2026-05-18T04:30:44.576Z" }, - { url = "https://files.pythonhosted.org/packages/c1/64/01a9d6f66a82a5c101ce939274106cc72759d62427e153f01edd2b9f87c2/watchfiles-1.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:01859b11fd9fbca670f4d5da00fbac282cfea9bd67a2125d8b2833a3b5617ea9", size = 391205, upload-time = "2026-05-18T04:30:25.413Z" }, - { url = "https://files.pythonhosted.org/packages/84/2c/0a44fe058cb4bb7b8ede6b6670698bbb7c0400740e378d00022189b7b31d/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fff610d7bb2256a317bb1e96f0d7862c7aa8076733ee5df0fd41bbe76a24a4f4", size = 451892, upload-time = "2026-05-18T04:32:14.005Z" }, - { url = "https://files.pythonhosted.org/packages/67/a1/351e0d56cd35e6488b5c8b4fb11a809a5bc923e8fe8fed9faf8920be0c89/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b141a4891c995a039cd89e9a49e62df1dc8a559a5d1a6e4c7106d16c12777a55", size = 458867, upload-time = "2026-05-18T04:31:22.279Z" }, - { url = "https://files.pythonhosted.org/packages/d5/7d/9d09605187f1b838998624049fcf8bf47b73c1a3b76901fcac1782f62277/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f22943b7770483f6ea0721c6b11d022947a98eb0acae14694de034f4d0d38925", size = 490217, upload-time = "2026-05-18T04:31:43.657Z" }, - { url = "https://files.pythonhosted.org/packages/60/5d/a17a16eccb182f04188cd308ec24b1a71a9b5c4e7098269cf35d9fa56d02/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1bc6195825b7dcd217968bb1f801a60fd4c16e8eeab5bedc7fe917d7d5995ab4", size = 571458, upload-time = "2026-05-18T04:32:11.875Z" }, - { url = "https://files.pythonhosted.org/packages/d3/3d/4dd457062083ab1938e5dfd45032eb425cee2ac817287ca8ff4356183e5d/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4a4b147f5dca2a5d325a06a832fb43f345751adfbc63204aec30e0d9ca965a2", size = 464707, upload-time = "2026-05-18T04:30:43.492Z" }, - { url = "https://files.pythonhosted.org/packages/c6/71/ea8c57b128f5383de74d0c7d2d9c57ad7c9a65a930c451bd25d524b295b7/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4543579a9bdb0c9560039b4ffddbdb39545707659fbc430ce4c10f3f68d557f9", size = 454663, upload-time = "2026-05-18T04:30:16.061Z" }, - { url = "https://files.pythonhosted.org/packages/53/fd/2e812bf938406d7db351f0703ddd3fc6c061cf30d96153a77bc79a943a44/watchfiles-1.2.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:20aa0e708b920bde876a4aa82dc7dd6ebea228a63a67cda6632c2fc87b787efa", size = 463537, upload-time = "2026-05-18T04:31:44.9Z" }, - { url = "https://files.pythonhosted.org/packages/86/56/d17a7f1dd1bc3035f1072694a551301272f1739c2d8e319c927cb9e29b38/watchfiles-1.2.0-cp313-cp313t-musllinux_1_1_aarch64.whl", hash = "sha256:d413349d565dab74297f2a63e84a097936be69bf8f3b3801f27f380e32040f44", size = 629194, upload-time = "2026-05-18T04:31:14.141Z" }, - { url = "https://files.pythonhosted.org/packages/be/06/f1ff66bf5cae50aa4062779a0ecd0bbaf15e466195719074078947d9a17d/watchfiles-1.2.0-cp313-cp313t-musllinux_1_1_x86_64.whl", hash = "sha256:f28b2725eb8cce327b9b3ab02415c853011dc55c95832fe90de6bc56f5315f72", size = 656194, upload-time = "2026-05-18T04:31:47.14Z" }, - { url = "https://files.pythonhosted.org/packages/e7/54/a9c7ea9a82a4ac65e7004c0a03920b5cdd2f9c3b678757d9cd425aa51d53/watchfiles-1.2.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:b8c8358484d5fa12ef34f05b7f4168eaf1932f408725ff6d023c33ec17bd79d4", size = 400205, upload-time = "2026-05-18T04:32:05.153Z" }, - { url = "https://files.pythonhosted.org/packages/aa/5d/c9ab3534374a4a67450696905d6ef16a04405448b8dc52bd752ae50423d4/watchfiles-1.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f04b092229ad2c50126dd3c922c8822e51e605993764a33058d4a791ab42281", size = 392508, upload-time = "2026-05-18T04:30:54.849Z" }, - { url = "https://files.pythonhosted.org/packages/26/ca/1ad30103535cf0cecd7b993e8d50edc5351b1820e38f2d22e3df58962feb/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a7ce236284f002a156f70add88efe5c70879cccbb658be0822c54b1306fc09d", size = 452448, upload-time = "2026-05-18T04:30:53.727Z" }, - { url = "https://files.pythonhosted.org/packages/37/a1/ceee2cdf2afbd715fa07758d39c9859513eae411b23196f7fd039e5feedd/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b9909cc2b48468b575eefa944919e1fe8a36c5849d5c7c168f80a8c1db69398e", size = 459605, upload-time = "2026-05-18T04:30:23.312Z" }, - { url = "https://files.pythonhosted.org/packages/e8/f6/421e30fd1cb3907a84ed92ab3f1983e37ba2dca015e9a894a048418417a2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a37faaed405c67e28e6be45a1fa4f206ef5a2860f27c237db9fa30704c38242", size = 490757, upload-time = "2026-05-18T04:30:47.358Z" }, - { url = "https://files.pythonhosted.org/packages/41/b0/55ed1b97ed08be7bba6f9a541cac15f2a858e1d74d2b07b6da70a82aab00/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9649193aa27bd9ff2e80ff29bfaa93085496c7a3a377592823cc58b77ee88add", size = 568672, upload-time = "2026-05-18T04:30:38.915Z" }, - { url = "https://files.pythonhosted.org/packages/d1/cf/d8ae8a80dd7bafab395ea7681c10237311bbf34d37704a8c744e7cf31fc7/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e4ff8e37f99cf1da89e255e07c9c4b37c214038c4283707bdec308cb1b0ea1f", size = 464197, upload-time = "2026-05-18T04:30:09.914Z" }, - { url = "https://files.pythonhosted.org/packages/7c/8a/3076c496ca8dafe0e8cd03fcebdfc47be4b1174b4e5b24ff6e396e6b3af2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:054dc20fd2e3132b4c3883b4a00d72fd6e1f56fdaf89fccd12e8057d74cd74d7", size = 453181, upload-time = "2026-05-18T04:30:14.829Z" }, - { url = "https://files.pythonhosted.org/packages/e5/10/9745e17c98e7b8a86454df0a3c7b5686bd650383f1e9f26e4ebcbd6cc0c0/watchfiles-1.2.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:e140ed30ebde76796b686e67c182cff10ea2fbab186fafd1560f74bb5a473a6e", size = 465109, upload-time = "2026-05-18T04:30:28.123Z" }, - { url = "https://files.pythonhosted.org/packages/8f/95/8ef4a95481d3e0cb52d62a06fa6e972e81424be2d9698b91a2fecca9904c/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:bb7e52ecf68ba46d22df23467b87cffeb2146908aa523ebfe803019618cfda06", size = 630653, upload-time = "2026-05-18T04:31:49.304Z" }, - { url = "https://files.pythonhosted.org/packages/fd/e4/3b3bf36b0f829b50c6ebcb8d031583863c59f923d6a6af3d485e470d0fac/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:23282a321c8baf9b3a3c4afff673f9fe65eb7fdc2338d765ccad9d3d1916a5ba", size = 657838, upload-time = "2026-05-18T04:31:06.497Z" }, - { url = "https://files.pythonhosted.org/packages/21/b1/6cbbb50c1f3002ab568777d44aa21206dfb8807a840990c4037523b51812/watchfiles-1.2.0-cp314-cp314-win32.whl", hash = "sha256:c0db965c5f79aa49fe672d297cf1febc5ad149b658594944f49a54a2b96270a7", size = 275108, upload-time = "2026-05-18T04:30:06.891Z" }, - { url = "https://files.pythonhosted.org/packages/92/45/190ce6db8dcb4536682cf75d3889ff1a27182a58cb519d343cb6d9ea63d8/watchfiles-1.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:71283b39fd17e5408eb123bd37aeecfd9d54c81fc184421943208aadb879d103", size = 288441, upload-time = "2026-05-18T04:32:12.901Z" }, - { url = "https://files.pythonhosted.org/packages/74/0d/3eae1c2313ab08378431d907c3f8095ecca00f3eda33111cf4f0f2591799/watchfiles-1.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:c5c19526f4e54a00f2666a6c0e9e40d582c09e865055ea7378bf0009aab857b3", size = 280684, upload-time = "2026-05-18T04:31:26.902Z" }, - { url = "https://files.pythonhosted.org/packages/b1/75/fb64e6c25d6b5ca636d03df34ffb1c6e9873303e76d27967e045f8df088f/watchfiles-1.2.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:d73a585accffa5ae39c17264c36ec3166d2fad7000c780f5ef83b2722afb9dd2", size = 398857, upload-time = "2026-05-18T04:32:17.108Z" }, - { url = "https://files.pythonhosted.org/packages/73/4e/9f7adf01754cbf81843722ccfec169d8f26c69778281a302855cecd2ee08/watchfiles-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ae99b14c5f21e026e0e9d96f40e07d8570ebee6cafd9d8fc318354606daa7a28", size = 392413, upload-time = "2026-05-18T04:31:07.911Z" }, - { url = "https://files.pythonhosted.org/packages/47/c8/bec626bcc2d69f44b9acb24ce7d60ed7b16b73628eea747fcbd169d8edda/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4429f3b105524a10b72c3a819b091c495d2811d419c1e1e8df773a5a5974f831", size = 452409, upload-time = "2026-05-18T04:31:20.142Z" }, - { url = "https://files.pythonhosted.org/packages/00/b7/b6362068e81e7c556d155a34c35d40ac3ef42d747b06d7f6e5bf58e359c2/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43d818978d06062d9b22c4fab2ebe44cf5213d42dc8e62bda8c2760cfa2eeb33", size = 458827, upload-time = "2026-05-18T04:32:06.219Z" }, - { url = "https://files.pythonhosted.org/packages/67/f8/9a813fa42afb1e0b4625e75f0479826644d3ee8dc287e093799bc01f390c/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b9f732dc58b2dbe69e464ccf8fff7a03b0dd0be439da4c0720d3558527d3d6b4", size = 490104, upload-time = "2026-05-18T04:31:56.034Z" }, - { url = "https://files.pythonhosted.org/packages/2f/bf/27dfb6094ca4c9aad21298b5525b6c53cb36121ee454331d05161e58d130/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f200104103feb097de4cab8fe4f5dd18a2026934c7dea98c55a2f5fd6d5a33b", size = 571360, upload-time = "2026-05-18T04:31:57.133Z" }, - { url = "https://files.pythonhosted.org/packages/fb/39/44a096d67270ea93df91d33877dbe91fbda3aa4f8ec2edf799d93eda8736/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:63ac26eefbf4af1741247d6fb68b11c49a25b2f7413fbd318a83a12aaa9cf666", size = 464644, upload-time = "2026-05-18T04:30:57.33Z" }, - { url = "https://files.pythonhosted.org/packages/0e/80/c7472203bad6268e3ef1ad260739704847898938ad7ea8b63a5131f46b50/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c4997d4e4a55f0d02b6cde327322daf3a0400e5df6c6b15948994bf72497925", size = 454771, upload-time = "2026-05-18T04:30:48.736Z" }, - { url = "https://files.pythonhosted.org/packages/51/cf/3b10b268b4b7f0fc26e9debb5eef1998b515887840f444cd3ec80c688755/watchfiles-1.2.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:4c887eba18b7945ac73067a8b4a66f21cd46c2539b2bc68588f7be6c7eb6d26b", size = 463494, upload-time = "2026-05-18T04:31:33.826Z" }, - { url = "https://files.pythonhosted.org/packages/3d/3e/a4302545cd589262a0dc7d140e86f7688eba3f9c72776c27f7e23b8864c4/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:3416ff151bb6b5a8d8d11664974fbef4d9305b9b2957839ab5a270468fd8df30", size = 629383, upload-time = "2026-05-18T04:31:15.596Z" }, - { url = "https://files.pythonhosted.org/packages/db/99/d5649df0a9a410d45b7c882304d0b790903ac9b6e8f2cfd12114e0c6b9f2/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:0e831a271c035d89789cffc386b6aa1375f39f1cd25eb7ca0997e4970d152fc5", size = 656093, upload-time = "2026-05-18T04:31:58.707Z" }, - { url = "https://files.pythonhosted.org/packages/92/b9/362702539275019a54dd2e94511b31a9b89c5f9e6a21966de7eb692549fc/watchfiles-1.2.0-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:37a6721cdf3f65dbb13aa9503510ccb4451603ac837e44d265d7992a597e1374", size = 400109, upload-time = "2026-05-18T04:31:16.879Z" }, - { url = "https://files.pythonhosted.org/packages/8f/75/71d5ba62db781e5587bded1d944c675374bc4aa37ff33d5018d98e8b6538/watchfiles-1.2.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2b37d10b5a63bd4d87e18472d80fa525bd670586fae62e5dd580452764879b65", size = 392167, upload-time = "2026-05-18T04:31:28.058Z" }, - { url = "https://files.pythonhosted.org/packages/3c/01/c66dd95d0423fe30d31820e2d1d5bda773764131bbb6ac0cb1cf303ac328/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a105bc2283f67e8fbec74253ec2d94925de92ed72c0393f1206bf326b7b7b69", size = 452372, upload-time = "2026-05-18T04:31:00.836Z" }, - { url = "https://files.pythonhosted.org/packages/91/15/2fe99557e72f85627c6a8eed50d889e8d101623e060a22ad75b875cb932d/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5327989a465505f05cfe06f04fa9d0c2fd5432bb243e10e6f012b1bdca3c8579", size = 459596, upload-time = "2026-05-18T04:31:34.96Z" }, - { url = "https://files.pythonhosted.org/packages/ed/23/d4acfa0023367428ed48351b3b9b267893037b6cadae55620c61c24bcfd4/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ecb47f183a8025b2aa18b546725c3657e542112ae9c0613a2af79b4fa8d04ad7", size = 490869, upload-time = "2026-05-18T04:31:59.923Z" }, - { url = "https://files.pythonhosted.org/packages/a4/5f/3164cbdce06c9fb95c4f7b9e2f9760b5e2797af43a9ecc317ef42a23a278/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8520a4ab0e37f770afc34459c4f8f7019e153f9124dc101c15538365875d1ab2", size = 571641, upload-time = "2026-05-18T04:32:00.948Z" }, - { url = "https://files.pythonhosted.org/packages/41/e6/85d3731c55e65cd7690f3f803d24c139588aaf863e4bf2148fe7a7fa1a19/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:71cd71740ed2c15211ebb237ced4e39a1cdf6f80566e5fe95428da1626f4fde6", size = 464444, upload-time = "2026-05-18T04:30:34.298Z" }, - { url = "https://files.pythonhosted.org/packages/f4/7d/562641012b8b09872742c3b8adf9629ec479fd78f8d68ae4a0c13da8add6/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f88af53d6ddaf72179ef613ddc905e6f4785f712b49b80b3bef9f3525e6194b4", size = 453593, upload-time = "2026-05-18T04:31:23.464Z" }, - { url = "https://files.pythonhosted.org/packages/56/fe/cb8ef3d6f929d14158fdaaad9925985b7310abc9384dcd4d82dd0016fb59/watchfiles-1.2.0-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:cee9d5efd929efdac5f7e58f72b3376f676b64050a91c5b99a7094c5b2317488", size = 465096, upload-time = "2026-05-18T04:31:30.384Z" }, - { url = "https://files.pythonhosted.org/packages/25/91/80908e835e100527a9267147b08c0eee1fa6ab0ffec15edc04d1d44885f7/watchfiles-1.2.0-cp315-cp315-musllinux_1_1_aarch64.whl", hash = "sha256:b718bf356bbc15e559bd8ef41782b573b8ae0e3f177ab244b440568d7ea02cfb", size = 630638, upload-time = "2026-05-18T04:30:49.89Z" }, - { url = "https://files.pythonhosted.org/packages/46/4b/95ab2f256bb4af3cb2eb23b9317bda984ee6e0f11733a5c004a6c95b06e3/watchfiles-1.2.0-cp315-cp315-musllinux_1_1_x86_64.whl", hash = "sha256:922c0e019fe68b3ae392965a766b02a71ba1168c932cebc3733cd52c5fe5b377", size = 657684, upload-time = "2026-05-18T04:31:32.027Z" }, + { url = "https://files.pythonhosted.org/packages/68/fa/c0b840d5d8bafe640925408ce11095948c8945bb61be1e67d0ab629b872a/watchfiles-1.3.0-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:000b9688fc8133037a8b075c8ebf98f32844ff8964dda61e85c1db547dafc441", size = 399703, upload-time = "2026-09-21T09:08:13.518Z" }, + { url = "https://files.pythonhosted.org/packages/c7/8a/894799b485fe9473ad10422a0d9668e53fb78e3a2b5cc6061159572844ad/watchfiles-1.3.0-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:bbc1198edfdc90fda0600f825aa94150f428dfcbf8138746f55998e0e660d64c", size = 397647, upload-time = "2026-09-21T09:08:15.16Z" }, + { url = "https://files.pythonhosted.org/packages/5a/61/f277cd5ead05f5d37b98b41fbdd0c943ee0c04d49738f62e902cb291cf43/watchfiles-1.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4af9c464d410e8c44b58ddf1cbec7c3a02c1cb2c6c80df9c74659ba2fbda0ab5", size = 454994, upload-time = "2026-09-21T09:08:16.587Z" }, + { url = "https://files.pythonhosted.org/packages/46/66/ea4c01382975e53b1ac1b0a0ea1b353416b8127fb6e04f5c1c313119aab6/watchfiles-1.3.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:eb94e40b9a0db19636b5e3fed0a9803452ecc7381df13b385272abb779ee83ca", size = 460105, upload-time = "2026-09-21T09:08:17.961Z" }, + { url = "https://files.pythonhosted.org/packages/31/c3/1a501b597817096c9831c255f6270c124ce0e2faeb74124be24dcc93b86d/watchfiles-1.3.0-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7398930a2b76b9dc67a4e6b8bfc7baf30946892a86f417a3920c07bdd6febc30", size = 493761, upload-time = "2026-09-21T09:08:19.327Z" }, + { url = "https://files.pythonhosted.org/packages/5a/16/77352d05e152c7786a016e9f1decdb4507e8aa5bcf3343c72142a0413d14/watchfiles-1.3.0-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:025b108f2d5cc2799cb941f79380df3e8b22bfb589c218e801767fe78d598c95", size = 577500, upload-time = "2026-09-21T09:08:20.723Z" }, + { url = "https://files.pythonhosted.org/packages/95/fe/81001c55b24466fe9911135e50269fd3a29f43e446627a92adfab54553b6/watchfiles-1.3.0-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:be9ef3cd403d756a304a0a08a112163c63da7ec72c8c9d083c98818291ff8f29", size = 469209, upload-time = "2026-09-21T09:08:22.346Z" }, + { url = "https://files.pythonhosted.org/packages/8a/cf/e3ad894ed5909a7c44b0707e89bc25d19a3d78b3a7aec846119443b6ae56/watchfiles-1.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b5768b49e426fd5b550b012c866db347cdf15c398ef98dc557b6e6b72fa74cd1", size = 458353, upload-time = "2026-09-21T09:08:23.7Z" }, + { url = "https://files.pythonhosted.org/packages/7f/f5/2f106829e6e2bc91ad74614730f6df484202b9a4d20d927dbf2f08d37d44/watchfiles-1.3.0-cp310-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:d36c72fcdc08f143d87316a4c4c3b064e340da2c7383d39803950740ed418935", size = 468707, upload-time = "2026-09-21T09:08:25.167Z" }, + { url = "https://files.pythonhosted.org/packages/15/37/2741ab776b978669c1f3bba1e573f1a184f727ab8b4d3a6d9c61090800ed/watchfiles-1.3.0-cp310-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:f0c9865240e065a2247f4b5248528ae3d01e0e8ae071462c250c884dc16e3ee3", size = 632510, upload-time = "2026-09-21T09:08:26.532Z" }, + { url = "https://files.pythonhosted.org/packages/48/64/db4a4684275fe9b696ee5118c194705c1423b3d42181c3f8ee70194d5c73/watchfiles-1.3.0-cp310-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:380f513d26cc2e598266b88d66456e07d67ef4be8f0f435a1154d9c44b43d509", size = 661723, upload-time = "2026-09-21T09:08:28.004Z" }, + { url = "https://files.pythonhosted.org/packages/52/80/95ddb24f6a2f595c031c24432ab7b8aa7d6d1ada0c6d63a552166e06e8d1/watchfiles-1.3.0-cp310-abi3-win32.whl", hash = "sha256:509d9f74d2bec5c1f4cd868ddcfe0c9601f7ea53066dfcb19d8ede742c4de661", size = 277761, upload-time = "2026-09-21T09:08:29.335Z" }, + { url = "https://files.pythonhosted.org/packages/48/a1/1c4a1b3c8030cd03206232612be8a6e8799093490c220b0fcb935d02b75a/watchfiles-1.3.0-cp310-abi3-win_amd64.whl", hash = "sha256:1acabde19b67e673274e89a04d613b7fb1f122e2c4b8ec9a581e59c149264b61", size = 290643, upload-time = "2026-09-21T09:08:30.45Z" }, + { url = "https://files.pythonhosted.org/packages/82/e0/d2db577c632d26d08078c4390dd870b8555c4e558df25d22270f0166c71f/watchfiles-1.3.0-cp310-abi3-win_arm64.whl", hash = "sha256:d978cc1dd7ba44f5590d7de74f7a9c8be7262d9e469c2c0efb8bbfc2574321dc", size = 285510, upload-time = "2026-09-21T09:08:31.561Z" }, + { url = "https://files.pythonhosted.org/packages/4f/55/a122743607939429ab6a7272672f49303aa02bbd34c3f06676765a3861de/watchfiles-1.3.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:e0204f90677b7fb8d3a824279a71a01166bea9f6e53923b8056592d87b33b0b6", size = 395978, upload-time = "2026-09-21T09:08:32.747Z" }, + { url = "https://files.pythonhosted.org/packages/3e/9d/0ee1b0ea42acfe72afa2484f0222e2386dd09992e9034a81e63cc3cdab0a/watchfiles-1.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7c1125e99f84934a92996ae343501285617373acd66f16b59fd5654b27ad8d80", size = 387997, upload-time = "2026-09-21T09:08:33.953Z" }, + { url = "https://files.pythonhosted.org/packages/b7/f2/4319c6b683e8bd28465dfc53c750617a2a07f072eb2e3ab0182ccf812229/watchfiles-1.3.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a85e243c87109d9f48a2e0d10d6abdee8768cc114848b32281ec83d7f81d86ef", size = 448067, upload-time = "2026-09-21T09:08:35.104Z" }, + { url = "https://files.pythonhosted.org/packages/b7/71/9f37ac192a51a24de3a2d7fe9aac1e99b2b2668300674ff7a9f85d95beb1/watchfiles-1.3.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:dd538c71766c59c732e2c5cedc39323c99c11897b99f93eac773438e54af206a", size = 452881, upload-time = "2026-09-21T09:08:36.238Z" }, + { url = "https://files.pythonhosted.org/packages/34/07/1224667c32a4a96876ddd642da69733cbfe6a15897db0865aec5a882cebc/watchfiles-1.3.0-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:da213822ec9082b62cadf3008e07a8c690ec7a3c89f6dc5e55a8cf07b56a1b26", size = 484802, upload-time = "2026-09-21T09:08:37.717Z" }, + { url = "https://files.pythonhosted.org/packages/bd/4d/7f29cd87e1f826df86fc0418d0b8f370ca0311c29c618406dc492aad9951/watchfiles-1.3.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d4593392e87669836670f87d62fc754059eaeb0e6157af44060a46558cebe5a3", size = 567522, upload-time = "2026-09-21T09:08:38.94Z" }, + { url = "https://files.pythonhosted.org/packages/e3/ac/3aa1f84abd4dbbfbae99a817dd931f77b439261c911189cad4c30fdfd470/watchfiles-1.3.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:26b81bc515a0f03f66a69a6fea86eea54c8eca4173c46dd7222569f79dd2f977", size = 461997, upload-time = "2026-09-21T09:08:40.142Z" }, + { url = "https://files.pythonhosted.org/packages/82/1c/27c66764d5b0dbb70a36770a32eca217eba739c28b24e8583a035087a3d7/watchfiles-1.3.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca39661934749df580d89f3dde266f2af7c6968f4c21c72ce2dc387d299e6aa7", size = 451856, upload-time = "2026-09-21T09:08:41.305Z" }, + { url = "https://files.pythonhosted.org/packages/1e/b3/a45827084d953c1d0dd3d75abf85dcac26a0f5d115ad2fe0b7e9e931573b/watchfiles-1.3.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:04c5500faa725d69a99b0f63750e80795e455bb951849e9c98a811b4324997c4", size = 459889, upload-time = "2026-09-21T09:08:42.58Z" }, + { url = "https://files.pythonhosted.org/packages/7a/3d/07740d23ce2bb23419bb24055c435a9abe5fe03efdaea1ba0720b831aab6/watchfiles-1.3.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:ec3cd4bb181a7b6329134204c2277c7144ab5f62cce9c5335d6f901ee7ce8d6a", size = 624482, upload-time = "2026-09-21T09:08:44.064Z" }, + { url = "https://files.pythonhosted.org/packages/91/46/9540f8123eaec86df989f26d7704cad0448d9fb7271763a4f8f9fe23617d/watchfiles-1.3.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:e5871d4a7f788a9f64fb06f5793389d29d171e5c32d37c3ebfd520b017cc7694", size = 653724, upload-time = "2026-09-21T09:08:45.257Z" }, + { url = "https://files.pythonhosted.org/packages/25/9d/b9deb52f1e4528ffe44338c5ebab95c32ed79203082da661de50288e130a/watchfiles-1.3.0-cp314-cp314t-win32.whl", hash = "sha256:81c989d7267bfb7b676cd32c83bec97914e396870983cbf493e29415037bff5e", size = 270863, upload-time = "2026-09-21T09:08:46.518Z" }, + { url = "https://files.pythonhosted.org/packages/59/59/8b1881afccbafda06248be4185e28034dd73c80c85e4da24f2cb0c1321eb/watchfiles-1.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d754e049006e81a9be49dc78ba7802081cee426e968cbc63ee19e164fa2d0e39", size = 286879, upload-time = "2026-09-21T09:08:47.874Z" }, + { url = "https://files.pythonhosted.org/packages/46/dd/41c12ae9745d5d72f709333287679d71cbba68ad7678fed872207bba94f4/watchfiles-1.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:a5b631db08fd3032db57ec6a92d1777cd60f88803287e4e941a4858c53aab1e0", size = 276924, upload-time = "2026-09-21T09:08:48.976Z" }, ] [[package]] @@ -1110,56 +1233,3 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/ce/3c/8b9a225b523f06a9389be81f1b0ab07c49bec6014742e6aa359c1f920f1f/websockets-17.1-cp315-cp315t-win_arm64.whl", hash = "sha256:e552e0037230ac16e5f568de7012041344d1b18c9feed30ec2891b8eba55af81", size = 217372, upload-time = "2026-08-26T14:58:22.807Z" }, { url = "https://files.pythonhosted.org/packages/41/63/23572870e01836a98346075b9e17a8bc24a6ddd9800a3204ceee58677f3c/websockets-17.1-py3-none-any.whl", hash = "sha256:f221081107b8c48184d99f7019604486376e7ef826037e70aad6b02540732c23", size = 211134, upload-time = "2026-08-26T17:25:31.397Z" }, ] - -[[package]] -name = "wrapt" -version = "2.3.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/2b/b0/c1f5a970721f06b85c0cd5142e0ff8fe067708abd779b0c4f4be7d61d09f/wrapt-2.3.0.tar.gz", hash = "sha256:681a2d0eefd721998f90642762b8e75c2159ec531b20ad5e437245ea7b06a107", size = 131509, upload-time = "2026-07-28T06:06:14.895Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/8e/6e/0f88a072483e76b881e3fdcd6b6ffb4a5791002514fe541e72b1b73c859a/wrapt-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0d3fb71e65b001adfc42684522eeccd9c21d8ba679945abc993439567b66e59f", size = 81960, upload-time = "2026-07-28T06:04:49.622Z" }, - { url = "https://files.pythonhosted.org/packages/d7/ff/b7e2776e7c294075eb712cc9ef573d1b818f393006d09787262b8fc871c4/wrapt-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:51a7a4181c1295774812271fbcd7c909df372bc25579d4ed9eb875caaf0ae86f", size = 82435, upload-time = "2026-07-28T06:04:50.9Z" }, - { url = "https://files.pythonhosted.org/packages/d8/90/343bb5d0f1f9669bc252a6073f085b4abf862511bd5c9c9eaec754341f1d/wrapt-2.3.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9045917809c63fdf7abe3a2ceaed3d670b8ee4500ddd9291192d30aeb34467c5", size = 170350, upload-time = "2026-07-28T06:04:52.187Z" }, - { url = "https://files.pythonhosted.org/packages/59/f8/13b79a392930bd0dd6b86cbfbfe1c40944110456e1dc6d809e5c46ece904/wrapt-2.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:54ca1d5573f69b5fe1d74f1f65799c68015e82f685efec9fd8cfa40a094c44d0", size = 170022, upload-time = "2026-07-28T06:04:53.599Z" }, - { url = "https://files.pythonhosted.org/packages/b2/fc/4f1b6918f5290db959d6e0c07f77385d87cede29c39c9cf8f145e9c82954/wrapt-2.3.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:242b60c21e30866e6a2fa606c612b47c553fa60c0eaeeeb7797fb842ac0ce609", size = 161043, upload-time = "2026-07-28T06:04:54.936Z" }, - { url = "https://files.pythonhosted.org/packages/01/e1/45d3cf74414780bdff6d0380467e003f6eb0f028b6c9403db868dbc7209c/wrapt-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3f3d7ec0a51fbfe00d3aef047641ff2c58b25565b4717fc1f90e050be01cba8", size = 168576, upload-time = "2026-07-28T06:04:56.261Z" }, - { url = "https://files.pythonhosted.org/packages/f3/73/2fa58dd97f191c997755e2c6d569a68f0c433db4e4b36099bdd7227b6cac/wrapt-2.3.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:261f53870cd4fb2bf38f9f972c56c728fd224cb7c65721307de59d9e7e6741ae", size = 159140, upload-time = "2026-07-28T06:04:57.754Z" }, - { url = "https://files.pythonhosted.org/packages/29/a8/08a56e2000a8816d449dcbad8c8b081697acbbd490821ceca0f9d8e8d20c/wrapt-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8159ec0b0cb7608175eb150de94c19e34f4d47ac655f5ca9baf45df6b688ffd3", size = 169263, upload-time = "2026-07-28T06:04:59.161Z" }, - { url = "https://files.pythonhosted.org/packages/9e/d4/354e1725e35a73b2af4fa70a3e024c7a5d1bf1802dfb862dcb668aae0253/wrapt-2.3.0-cp313-cp313-win32.whl", hash = "sha256:10461884b3014fbfc8eb7d09a93c5f246363e6711d9d881f95eb8c27fdef049f", size = 78241, upload-time = "2026-07-28T06:05:00.507Z" }, - { url = "https://files.pythonhosted.org/packages/6c/7e/34c87fa2174848dfee820322aaa318bab08913998ccecc8d2f57b4ad4639/wrapt-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:ac870cc97b73bb00ac353329e9559a4bebc47c4c86792ed9b23b58c15b6ad838", size = 81113, upload-time = "2026-07-28T06:05:01.839Z" }, - { url = "https://files.pythonhosted.org/packages/11/86/fcc9a530579e008c9478bb565a6cdfbfd33536660f069c8b91a6607c5050/wrapt-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:a65e8db2b4e90c2e7ade931086351c98ef420bf7a94ee08c95ac8a3cbbc43579", size = 80182, upload-time = "2026-07-28T06:05:03.152Z" }, - { url = "https://files.pythonhosted.org/packages/96/50/3864848b95b28ef73e17551fc8dccbff2628a834f52cf26a57f9c419fb83/wrapt-2.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:fd1f2f557dd3491fe75905e578f4db967393d40d1a8f468edc4d40ac7f2d5944", size = 83921, upload-time = "2026-07-28T06:05:04.476Z" }, - { url = "https://files.pythonhosted.org/packages/3b/4c/3d1921a60c3e8c71c540ff136e6a47a1fbccf7f671e818394889f7871d9c/wrapt-2.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:9f5d2aec29dfc76c37e23897dee92766a3fd4f3bff3ae7fc9c6b4bf37d8c1360", size = 84412, upload-time = "2026-07-28T06:05:05.921Z" }, - { url = "https://files.pythonhosted.org/packages/fa/1a/4a796ff7adb26ada6d4b758c94d47a38320b085e7099afc088efbbcdb006/wrapt-2.3.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:646d20d413ffcd1b0a2f700076e2d0252d872dcb7754860a73e45a59ea883614", size = 207168, upload-time = "2026-07-28T06:05:07.256Z" }, - { url = "https://files.pythonhosted.org/packages/1d/3e/d7777776806c579b761bac2f91721dda9f04c7a1b380213c5935cc750ae6/wrapt-2.3.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:379f670f45b7bb8993edd9f6fc36c6cc65edb81cffa0b504be34acb0303fff0a", size = 214351, upload-time = "2026-07-28T06:05:08.945Z" }, - { url = "https://files.pythonhosted.org/packages/63/27/2d64d394df7bf181955b3bb562bf33c4492fb4be113f53071106d43ad8b5/wrapt-2.3.0-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6208f302f110295d64b22a7ac96500c791bf492dce4366e622e4912b077c9687", size = 199020, upload-time = "2026-07-28T06:05:10.418Z" }, - { url = "https://files.pythonhosted.org/packages/3e/3d/fb31d3db7d9834d265fb1a27a2adf0ddf51557c67458c97b22439ad6ae3d/wrapt-2.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:ed635a9ca4f3a5a2b900c10c69e823373bc00ebc114b459383596d3487da3570", size = 209969, upload-time = "2026-07-28T06:05:11.983Z" }, - { url = "https://files.pythonhosted.org/packages/1f/d1/8724b5da582e62070dc9bf4d8bf1972f317297eefd7ba1f2b5c6393ccf6c/wrapt-2.3.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:e3b9eaa742ae7a0aaaaad4ca4b69469d757af2d6e6663ef1dadc47adec0aeb41", size = 196324, upload-time = "2026-07-28T06:05:13.557Z" }, - { url = "https://files.pythonhosted.org/packages/0d/5c/3d9ef411149543016ee6bcf3af707f787cebd946527452b94bf122e9b7b4/wrapt-2.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:d0f7284f88f4833705132d06d3b425a43095c2cbd07c58166aac3ab646ba12a4", size = 202610, upload-time = "2026-07-28T06:05:15.048Z" }, - { url = "https://files.pythonhosted.org/packages/13/9b/4fc042ceb757866dd4a5fc057b3b736f2b360d3703ce9f830d83dc9226e0/wrapt-2.3.0-cp313-cp313t-win32.whl", hash = "sha256:7ebb274aba688b043429eb1500ff8a76ce0cb8ac0812ca3e301f06247b8722b3", size = 79178, upload-time = "2026-07-28T06:05:16.469Z" }, - { url = "https://files.pythonhosted.org/packages/6b/ff/b94878f8eed809ca042685276bcea9f24e8c2ca7c9653bb80bbb920a68a5/wrapt-2.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:c4bded758ad6f03b965830944a2f0bc5b2eb3767fe5a7310134315d1a6610e98", size = 82634, upload-time = "2026-07-28T06:05:18.026Z" }, - { url = "https://files.pythonhosted.org/packages/80/fb/663e1de5332a71685a729754312d327d4cada767c36e1c5a2db4c8de49e6/wrapt-2.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:d2cc64539da63e39ffb9c7ede849b6e8ddaaf7b3876b5cfb04efd85a5f3f4eb6", size = 81387, upload-time = "2026-07-28T06:05:19.417Z" }, - { url = "https://files.pythonhosted.org/packages/58/10/b073beaea89bc0d3670a75ff51139430a54b6af7ba7796507730634536dd/wrapt-2.3.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ea52a0d0f08c584943d5764be0e84efa912c8da23c23e1e285ff2f5641c18fcc", size = 81978, upload-time = "2026-07-28T06:05:21.133Z" }, - { url = "https://files.pythonhosted.org/packages/b3/31/0916d9cebf848ed3f1a0c1888faee421747df77331e4db2bc527a9a85988/wrapt-2.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fd85b0aa88efdb189d6ae2f35f4526943a8f091c38599c9c31478241c819e6a1", size = 82518, upload-time = "2026-07-28T06:05:22.562Z" }, - { url = "https://files.pythonhosted.org/packages/f5/73/31c1bf0f3384062751c2094dadb314916d70aa9b6bfd26d994b4a7b393fa/wrapt-2.3.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:141ed6211286a9660d8d6702de598b43f0934b4f0eda16393f100a80f501d945", size = 170187, upload-time = "2026-07-28T06:05:23.904Z" }, - { url = "https://files.pythonhosted.org/packages/ed/25/fce087d54b79b8905f3c3c9dd5f454bbd8d8acb80b960c4a6aee5b4659b3/wrapt-2.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2e49885a62ec4ee854d1b9e6371fda6afd219917225752abf729a3f36d4df9a5", size = 169288, upload-time = "2026-07-28T06:05:25.378Z" }, - { url = "https://files.pythonhosted.org/packages/c7/30/0d09e6dddc6b7a7230ac77f50254b5980ab4fcd22976f72f8cc8a0404458/wrapt-2.3.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1d6159c9b2fefec02314e1332dbbbfaf960e369dfd26bcf7f8b258b5732065b3", size = 160932, upload-time = "2026-07-28T06:05:27.022Z" }, - { url = "https://files.pythonhosted.org/packages/2c/ca/0913af0d2ec0c43865d32d615f518fea66c13c5c930e489e9b0de248e9a8/wrapt-2.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:24da48596326ef8e448cfa837b454f638713d3531262375f00e5a9681682fc07", size = 169017, upload-time = "2026-07-28T06:05:28.501Z" }, - { url = "https://files.pythonhosted.org/packages/c3/f2/3d1e47ea81b822210f5df1bf942fd90780a75c055243d569b664529dea88/wrapt-2.3.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:cd3a2edf0427013736b8127955cec62608c56e53ea47e82812ea32059cda407f", size = 159065, upload-time = "2026-07-28T06:05:30.01Z" }, - { url = "https://files.pythonhosted.org/packages/43/a5/ef2066ced8e5fca204e2b361e9708e36555b40949c583d997ea3b590817d/wrapt-2.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4fa0df3bff4e7ce45759f33fd39335fe2f60477bb9ecf7b8aa41e7d07ee36a23", size = 168821, upload-time = "2026-07-28T06:05:31.649Z" }, - { url = "https://files.pythonhosted.org/packages/d5/e1/016104650d4e572fa91506eb396b3dd8efbccc9284fdc1c9479c3d21db28/wrapt-2.3.0-cp314-cp314-win32.whl", hash = "sha256:2935d5454b3f179a29b12cf390ee47246740ba2c3a7545b1b46ba31a5f2a4a0b", size = 78700, upload-time = "2026-07-28T06:05:33.391Z" }, - { url = "https://files.pythonhosted.org/packages/3d/97/6fdc20a9f2ca304748b3f0819cbf377d55260562777bf0b615431bc3c181/wrapt-2.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:cc2cea812e5cb179a796b766747e7d3b21088760d8deb95676d482b8c8e6fa7d", size = 81422, upload-time = "2026-07-28T06:05:34.774Z" }, - { url = "https://files.pythonhosted.org/packages/5e/a4/9cbd53bf05746bea2c392af39cb052427a8ec95cbd494d930733d8f44681/wrapt-2.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:22cc5c0a717bd4da87018ae0bffd4c19c6fb679d3ff357216ba566ab26c76cab", size = 80639, upload-time = "2026-07-28T06:05:36.228Z" }, - { url = "https://files.pythonhosted.org/packages/43/bb/6c5e4a0f66ea0d2b2dd267e8dd05a0014eea56840b3c8595d40b0a5d1f91/wrapt-2.3.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:a6b5984cd65dd639546f0eb4b8eacf1c31cb2fe9fb5c27bffe240987cdb2cf84", size = 84030, upload-time = "2026-07-28T06:05:37.714Z" }, - { url = "https://files.pythonhosted.org/packages/6a/eb/a1aedf03283bc9cbf8a1783995ddc54e3c5a86878f19002d2c428494f4c5/wrapt-2.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c88abcf53daef80e01a75c7530e727fa6e2c1888fe83e3dcdba4c96216a1f5c7", size = 84419, upload-time = "2026-07-28T06:05:39.131Z" }, - { url = "https://files.pythonhosted.org/packages/63/61/50d511c0dc5105563849e86daa3e16ac7feef699f79fb05af45ea70107d5/wrapt-2.3.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:85de890ff968196e92dd1ae73a9fb8970495e7650a457b1c9ef0ac3dd550bce2", size = 207171, upload-time = "2026-07-28T06:05:40.69Z" }, - { url = "https://files.pythonhosted.org/packages/3f/59/9b538cf7795217e810699d16bc88b96a830d9b5c403eb2ec2db6b5f2ae81/wrapt-2.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:50f416b74d092bb9f41b424e90dd457f365f7ba4b11de62a23679769a21bd85c", size = 214329, upload-time = "2026-07-28T06:05:42.287Z" }, - { url = "https://files.pythonhosted.org/packages/b3/28/9935d62b1499e5c8b3d191e99ba4eb31ca237a0b699142011a837e9dc7ea/wrapt-2.3.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:39febbee6d77301d31da6996b152ce52452da7c7ef72aba10c2fa976dff9c295", size = 199079, upload-time = "2026-07-28T06:05:43.958Z" }, - { url = "https://files.pythonhosted.org/packages/2b/01/4446b80fa2ffa47a3449b250d004ba1c1937f07f64a179608fec735df866/wrapt-2.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:93513bec052c6cd987f9f580c3df068c8bc4ebae6543736be3ca7ec5959cafcd", size = 209992, upload-time = "2026-07-28T06:05:45.677Z" }, - { url = "https://files.pythonhosted.org/packages/d4/07/56f26c9f9979586a021e8148747004aba4498f49458c90b0502969b904e1/wrapt-2.3.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:729126e667da34d251b8ebf8a45ef0c5ddadc21542b3d6e1abf4259ece6508df", size = 196334, upload-time = "2026-07-28T06:05:47.608Z" }, - { url = "https://files.pythonhosted.org/packages/8b/41/6d7bcc895b0f28b2250e10908f060687b9165429dcd7f22ddb3d4c031b74/wrapt-2.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:626b69db2021aa01671ec7bbc9740e558522bd44c18cf2ce69bf3d666a014109", size = 202644, upload-time = "2026-07-28T06:05:49.183Z" }, - { url = "https://files.pythonhosted.org/packages/cd/25/7860927edba06b758b8852a6f02e832be715563c67a6795d94350bc81099/wrapt-2.3.0-cp314-cp314t-win32.whl", hash = "sha256:629d73378082c00a8173031f9fb30a3ac6abbc894a5bfdfae71fabc60642d501", size = 79685, upload-time = "2026-07-28T06:05:50.976Z" }, - { url = "https://files.pythonhosted.org/packages/c4/0f/270bafe92fde3b069a39bc01e39ee79340895b335640df861d43d2a51885/wrapt-2.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:42869085687f0aefd57c0f636c3f9354f8ffb321a8ba9cb52d19beb796e561c5", size = 83104, upload-time = "2026-07-28T06:05:52.405Z" }, - { url = "https://files.pythonhosted.org/packages/55/b3/af176d79a8515a8a720eccdad9a96f6e31a30abf2865430c8c42adf2fd13/wrapt-2.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:b1e5aa486e269b00ed35e64771c7d0ab8096cfd2643405ca8cd60ebedc099a51", size = 81774, upload-time = "2026-07-28T06:05:53.902Z" }, - { url = "https://files.pythonhosted.org/packages/00/39/3daf9f47be208606586de4568ba6713db53ebc8fd7a575aea1fe57983b69/wrapt-2.3.0-py3-none-any.whl", hash = "sha256:d8c7ed08477429752b8c44991f40ad7838b18332a160698740a6bfbc10d998a2", size = 61866, upload-time = "2026-07-28T06:06:12.9Z" }, -]