Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

release: v0.1.10

github-actions[bot]bd4824fe1ae0
diff --git a/.gitignore b/.gitignore
index 6841755e4..263e6a1dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -245,6 +245,9 @@ Thumbs.db
# VIM
*.swp
+# kilocode
+.kilo/
+
# Worktree metadata
.base-branch
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2cac76931..927ecfd2d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,63 @@
# Changelog
+## v0.1.10
+
+- chore(main): release 0.1.10
+- feat: add async, chunking, and streaming to Weaviate document enricher
+- perf(lancedb): decouple scanner and SIE batch sizes in enrich_table
+- fix(helm): use generic updater for both Chart.yaml version fields
+- fix: handle BytesIO images in LlamaIndex and validate Weaviate classify config
+- perf(lancedb): stream enrich_table batch-by-batch instead of full materialization
+- perf(lancedb): use Lance scanner for column projection in enrich_table
+- fix(observability): queue routing dashboard PromQL for NATS wait
+- feat(observability): queue routing dashboard, NATS prom exporter, router image tag
+- fix: update adapter tests and address code review feedback
+- fix(integrations): address CodeRabbit review findings for LanceDB PR
+- fix(helm): use generic release-please updater for appVersion
+- test(router): add queue-mode score response key regression tests
+- fix(router): use "scores" key in queue-mode score responses
+- fix(helm): restore Chart.yaml deps from main, keep appVersion v-prefix
+- feat(terraform): add evaluation cluster setup for AWS with multi-GPU support and updated configurations
+- make sure extraction uses not just the entity response type but the other response types also, including integrations
+- remove the code that made it seem as if we were passing topk param to server from typescript - this optimization doesn't make that much sense as the request is anyway much larger than response
+- PY<>TS parity in terms of integration depth for langchain and llamaindex
+- multivector support update in integrations
+- deduplicate integration logic into ts/py sdk package that the integrations already depend on
+- feat(sdk): add get_model() and configure LanceDB release workflows
+- feat(integrations): add LanceDB integration (Python + TypeScript)
+- haystack and llamaindex get multi-modal integration
+- weaviate integration improvements
+- test(queue): add NATS server fixture and improve integration test reliability
+- feat(dlq,pull-loop): improve DLQ routing and score response handling
+- fix(config,queue,nats): correct cluster routing condition, stream max_age units, and reconnect state ordering
+- fix(queue-routing): score response format and DLQ fallback routing key
+- fix(queue-routing): configurable NATS fetch budget, Helm-wired queue params
+- perf(router): bypass FastAPI for hot proxy paths via raw ASGI middleware
+- perf(sdk+router): lazy msgpack_numpy.patch and pure ASGI middleware
+- perf(router): remove msgpack_numpy global patch and BaseHTTPMiddleware
+- perf(router): replace stdlib json with orjson for 3-10x faster serialization
+- perf(router): reduce thread pool pressure by inlining small deserialization
+- refactor(router): remove lock-free synchronization and batch work item serialization
+- fix(helm): add recreate strategy for router deployment when nats config restore is enabled
+- test(cluster): fix kind cluster tests for config API and port-forward restart support
+- fix(queue-routing): resolve 5 bugs blocking NATS pull-based worker routing
+- feat(worker): improve batch cost bounds and fix template logic
+- fix: address review findings — error handling, validation, public APIs, tests
+- fix(server): update tests to use max_seq_length instead of max_length
+- test(adaptive-batching): replace time.sleep with mocked monotonic for deterministic integral accumulation test
+- feat(adaptive-batching): add auto-calibration and PI controller with per-model profile overrides
+- refactor(batcher): implement proportional coalesce scaling and adaptive batch wait precision
+- feat: add pull-based worker queue routing and adaptive batching
+- feat(config-api): implement idempotency and auth separation with profile conflict detection
+- docs(config): clarify write auth token precedence and filter updates
+- fix(server): align cross-encoder max_seq_length parameter with loader
+- chore: review items
+- chore: review items
+- chore: review items
+- chore: fix review items
+- chore: remove git sync
+- feat: implement Config Management API with NATS-based distribution and review fixes Add runtime model config additions via REST API (POST /v1/configs/models), with NATS pub/sub distribution to workers and S3/GCS/local persistence using epoch-based CAS. Workers track config convergence via SHA-256 bundle_config_hash reported through WebSocket status. Key components: - config_api.py: REST endpoints (list/get/add models, resolve, bundles) - config_store.py: Epoch CAS persistence (local/S3/GCS backends) - nats_manager.py: Router-side NATS publish + cross-router sync - nats_subscriber.py: Worker-side NATS subscribe + config apply - Helm/Terraform: NATS sub-chart, config store env vars, restore flow Also addresses 25 code review findings: M2/M12 medium fixes, L1-L16 low-severity fixes, T3-T10 test coverage gaps, D1-D7 doc/feature discrepancies, and H13 S3 conditional writes documentation.
+
## v0.1.9
- chore(main): release 0.1.9
diff --git a/README.md b/README.md
index 7c092c22d..0645ca452 100644
--- a/README.md
+++ b/README.md
@@ -105,7 +105,7 @@ TypeScript: `pnpm add @sie/sdk` — [TypeScript docs ->](https://sie.dev/docs/re
The same code works against a production cluster. SIE ships a load-balancing router, KEDA autoscaling (scale to zero), Grafana dashboards, and Terraform modules for GKE and EKS. Not just the server, the whole stack. All Apache 2.0.
```bash
-helm upgrade --install sie-cluster deploy/helm/sie-cluster \
+helm upgrade --install sie-cluster oci://ghcr.io/superlinked/charts/sie-cluster \
--namespace sie --create-namespace \
--set hfToken.create=true \
--set hfToken.value=<TOKEN> \
diff --git a/deploy/helm/sie-cluster/Chart.lock b/deploy/helm/sie-cluster/Chart.lock
index 1073d5f81..8d072085e 100644
--- a/deploy/helm/sie-cluster/Chart.lock
+++ b/deploy/helm/sie-cluster/Chart.lock
@@ -17,5 +17,8 @@ dependencies:
- name: kubernetes-event-exporter
repository: oci://registry-1.docker.io/bitnamicharts
version: 3.6.3
-digest: sha256:a1bd008e46d20abacb2a91b48186ec34c5ebe346f5df9f3ecd40a3dac3cffbb3
-generated: "2026-03-23T19:20:04.028801547+01:00"
+- name: nats
+ repository: https://nats-io.github.io/k8s/helm/charts/
+ version: 2.12.6
+digest: sha256:016565ae575dd3a760ad55bdfe55995f1d5876db8096f7576c103eff8cb51643
+generated: "2026-03-30T17:25:20.651043+02:00"
diff --git a/deploy/helm/sie-cluster/Chart.yaml b/deploy/helm/sie-cluster/Chart.yaml
index f7f599404..e6529eee1 100644
--- a/deploy/helm/sie-cluster/Chart.yaml
+++ b/deploy/helm/sie-cluster/Chart.yaml
@@ -4,8 +4,8 @@ description: >-
SIE (Search Inference Engine) Kubernetes deployment with router, GPU workers,
and observability
type: application
-version: 0.1.9
-appVersion: 0.1.9
+version: 0.1.10 # x-release-please-version
+appVersion: v0.1.10 # x-release-please-version
keywords:
- inference
- embedding
@@ -46,3 +46,9 @@ dependencies:
version: 3.6.3
repository: oci://registry-1.docker.io/bitnamicharts
condition: kubernetes-event-exporter.install
+
+ # Config distribution
+ - name: nats
+ version: "2.x"
+ repository: "https://nats-io.github.io/k8s/helm/charts/"
+ condition: nats.install
diff --git a/deploy/helm/sie-cluster/files/dashboards/queue-routing.json b/deploy/helm/sie-cluster/files/dashboards/queue-routing.json
new file mode 100644
index 000000000..13205e1c1
--- /dev/null
+++ b/deploy/helm/sie-cluster/files/dashboards/queue-routing.json
@@ -0,0 +1,547 @@
+{
+ "annotations": {
+ "list": []
+ },
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 1,
+ "id": null,
+ "links": [],
+ "panels": [
+ {
+ "collapsed": false,
+ "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
+ "id": 100,
+ "title": "Latency Breakdown by Phase",
+ "type": "row"
+ },
+ {
+ "gridPos": { "h": 4, "w": 6, "x": 0, "y": 1 },
+ "id": 1,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
+ "textMode": "auto"
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.50, sum(rate(sie_router_request_latency_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p50",
+ "refId": "A"
+ }
+ ],
+ "title": "Router E2E p50 (ms)",
+ "type": "stat",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "thresholds": { "mode": "absolute", "steps": [{"color": "green", "value": null}, {"color": "yellow", "value": 100}, {"color": "red", "value": 500}] } }
+ }
+ },
+ {
+ "gridPos": { "h": 4, "w": 6, "x": 6, "y": 1 },
+ "id": 2,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
+ "textMode": "auto"
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_router_request_latency_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p99",
+ "refId": "A"
+ }
+ ],
+ "title": "Router E2E p99 (ms)",
+ "type": "stat",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "thresholds": { "mode": "absolute", "steps": [{"color": "green", "value": null}, {"color": "yellow", "value": 200}, {"color": "red", "value": 1000}] } }
+ }
+ },
+ {
+ "gridPos": { "h": 4, "w": 6, "x": 12, "y": 1 },
+ "id": 3,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
+ "textMode": "auto"
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "sum(rate(sie_router_requests_total{namespace=\"$namespace\"}[5m]))",
+ "legendFormat": "Requests/s",
+ "refId": "A"
+ }
+ ],
+ "title": "Throughput (req/s)",
+ "type": "stat",
+ "fieldConfig": {
+ "defaults": { "unit": "reqps", "thresholds": { "mode": "absolute", "steps": [{"color": "green", "value": null}] } }
+ }
+ },
+ {
+ "gridPos": { "h": 4, "w": 6, "x": 18, "y": 1 },
+ "id": 4,
+ "options": {
+ "colorMode": "value",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "auto",
+ "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
+ "textMode": "auto"
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "sum(rate(sie_router_requests_total{namespace=\"$namespace\", status!=\"200\"}[5m])) / sum(rate(sie_router_requests_total{namespace=\"$namespace\"}[5m])) * 100",
+ "legendFormat": "Error %",
+ "refId": "A"
+ }
+ ],
+ "title": "Error Rate",
+ "type": "stat",
+ "fieldConfig": {
+ "defaults": { "unit": "percent", "thresholds": { "mode": "absolute", "steps": [{"color": "green", "value": null}, {"color": "yellow", "value": 1}, {"color": "red", "value": 5}] } }
+ }
+ },
+ {
+ "gridPos": { "h": 10, "w": 24, "x": 0, "y": 5 },
+ "id": 5,
+ "title": "Latency Breakdown Over Time (p99, stacked)",
+ "description": "Stacked p99 latency by phase. Shows where request time is spent across the full path: router overhead, NATS publish, queue transit (time in NATS before worker pull), tokenization, and GPU inference.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": {
+ "custom": { "stacking": { "mode": "normal", "group": "A" }, "fillOpacity": 30, "lineWidth": 1 },
+ "unit": "ms"
+ },
+ "overrides": [
+ { "matcher": { "id": "byName", "options": "Router overhead" }, "properties": [{ "id": "color", "value": { "fixedColor": "#B877D9", "mode": "fixed" } }] },
+ { "matcher": { "id": "byName", "options": "NATS publish" }, "properties": [{ "id": "color", "value": { "fixedColor": "#73BF69", "mode": "fixed" } }] },
+ { "matcher": { "id": "byName", "options": "Queue transit" }, "properties": [{ "id": "color", "value": { "fixedColor": "#FF9830", "mode": "fixed" } }] },
+ { "matcher": { "id": "byName", "options": "Tokenization" }, "properties": [{ "id": "color", "value": { "fixedColor": "#F2CC0C", "mode": "fixed" } }] },
+ { "matcher": { "id": "byName", "options": "GPU inference" }, "properties": [{ "id": "color", "value": { "fixedColor": "#F2495C", "mode": "fixed" } }] }
+ ]
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "right", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "clamp_min((\n histogram_quantile(0.99, sum(rate(sie_router_request_latency_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le))\n - histogram_quantile(0.99, sum(rate(sie_router_queue_result_wait_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le))\n - histogram_quantile(0.99, sum(rate(sie_router_queue_publish_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le))\n) * 1000, 0)",
+ "legendFormat": "Router overhead",
+ "refId": "A"
+ },
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_router_queue_publish_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "NATS publish",
+ "refId": "B"
+ },
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_pull_loop_queue_wait_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "Queue transit",
+ "refId": "C"
+ },
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_request_duration_seconds_bucket{namespace=\"$namespace\", phase=\"tokenize\"}[5m])) by (le)) * 1000",
+ "legendFormat": "Tokenization",
+ "refId": "D"
+ },
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_request_duration_seconds_bucket{namespace=\"$namespace\", phase=\"inference\"}[5m])) by (le)) * 1000",
+ "legendFormat": "GPU inference",
+ "refId": "E"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 12, "x": 0, "y": 15 },
+ "id": 6,
+ "title": "E2E Latency Percentiles Over Time (Router)",
+ "description": "Router-measured end-to-end latency: sie_router_request_latency_seconds.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "custom": { "lineWidth": 2 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.50, sum(rate(sie_router_request_latency_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p50",
+ "refId": "A"
+ },
+ {
+ "expr": "histogram_quantile(0.95, sum(rate(sie_router_request_latency_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p95",
+ "refId": "B"
+ },
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_router_request_latency_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p99",
+ "refId": "C"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 12, "x": 12, "y": 15 },
+ "id": 7,
+ "title": "Worker-Side Total Latency Percentiles",
+ "description": "Worker-measured total request duration: sie_request_duration_seconds{phase=\"total\"}.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "custom": { "lineWidth": 2 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.50, sum(rate(sie_request_duration_seconds_bucket{namespace=\"$namespace\", phase=\"total\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p50",
+ "refId": "A"
+ },
+ {
+ "expr": "histogram_quantile(0.95, sum(rate(sie_request_duration_seconds_bucket{namespace=\"$namespace\", phase=\"total\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p95",
+ "refId": "B"
+ },
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_request_duration_seconds_bucket{namespace=\"$namespace\", phase=\"total\"}[5m])) by (le)) * 1000",
+ "legendFormat": "p99",
+ "refId": "C"
+ }
+ ]
+ },
+ {
+ "collapsed": false,
+ "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 },
+ "id": 101,
+ "title": "NATS Queue Health (requires nats.promExporter.enabled=true)",
+ "type": "row"
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 0, "y": 24 },
+ "id": 8,
+ "title": "Consumer Pending Messages",
+ "description": "Messages waiting in the queue for workers to pull. Sustained growth means workers can't keep up.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "custom": { "fillOpacity": 15 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "nats_consumer_num_pending{namespace=\"$namespace\", stream_name=~\"WORK_POOL.*\"}",
+ "legendFormat": "{{stream_name}} / {{consumer_name}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 8, "y": 24 },
+ "id": 9,
+ "title": "Consumer Ack Pending (In-Flight)",
+ "description": "Messages pulled by workers but not yet acknowledged. Shows in-flight work.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "custom": { "fillOpacity": 15 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "nats_consumer_num_ack_pending{namespace=\"$namespace\", stream_name=~\"WORK_POOL.*\"}",
+ "legendFormat": "{{stream_name}} / {{consumer_name}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 16, "y": 24 },
+ "id": 10,
+ "title": "JetStream Memory Usage",
+ "description": "NATS JetStream memory store usage. Alert if approaching the 512MB limit (configurable via nats.config.jetstream.memoryStore.maxSize).",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "bytes", "custom": { "fillOpacity": 15 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "nats_account_memory_used{namespace=\"$namespace\"}",
+ "legendFormat": "memory used",
+ "refId": "A"
+ },
+ {
+ "expr": "nats_server_max_memory{namespace=\"$namespace\"}",
+ "legendFormat": "max memory",
+ "refId": "B"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 12, "x": 0, "y": 32 },
+ "id": 11,
+ "title": "Stream Messages",
+ "description": "Total messages in each work queue stream.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "custom": { "fillOpacity": 15 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "nats_stream_total_messages{namespace=\"$namespace\", stream_name=~\"WORK_POOL.*\"}",
+ "legendFormat": "{{stream_name}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 12, "x": 12, "y": 32 },
+ "id": 12,
+ "title": "DLQ Events",
+ "description": "Messages that exhausted max delivery attempts. Source: sie_router_dlq_events_total{stream, consumer}.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "custom": { "fillOpacity": 15 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "rate(sie_router_dlq_events_total{namespace=\"$namespace\"}[5m])",
+ "legendFormat": "{{stream}} / {{consumer}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "collapsed": false,
+ "gridPos": { "h": 1, "w": 24, "x": 0, "y": 40 },
+ "id": 102,
+ "title": "Router Queue Publisher",
+ "type": "row"
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 0, "y": 41 },
+ "id": 13,
+ "title": "NATS Publish Time (p99)",
+ "description": "Time for the router to publish all work items to NATS JetStream. Source: sie_router_queue_publish_seconds{operation}.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "custom": { "fillOpacity": 10 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_router_queue_publish_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le, operation)) * 1000",
+ "legendFormat": "{{operation}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 8, "y": 41 },
+ "id": 14,
+ "title": "Queue Result Wait Time (p99)",
+ "description": "Total time the router waits for worker replies after publishing. Source: sie_router_queue_result_wait_seconds{operation}.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "custom": { "fillOpacity": 10 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_router_queue_result_wait_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le, operation)) * 1000",
+ "legendFormat": "{{operation}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 16, "y": 41 },
+ "id": 15,
+ "title": "Items Published / sec",
+ "description": "Rate of work items published to NATS by operation type. Source: sie_router_queue_items_published (histogram, using _count for requests/sec).",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ops", "custom": { "fillOpacity": 10 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "sum(rate(sie_router_queue_items_published_count{namespace=\"$namespace\"}[5m])) by (operation)",
+ "legendFormat": "{{operation}} reqs/s",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(rate(sie_router_queue_items_published_sum{namespace=\"$namespace\"}[5m])) by (operation)",
+ "legendFormat": "{{operation}} items/s",
+ "refId": "B"
+ }
+ ]
+ },
+ {
+ "collapsed": false,
+ "gridPos": { "h": 1, "w": 24, "x": 0, "y": 49 },
+ "id": 103,
+ "title": "Worker Pull Loop",
+ "type": "row"
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 0, "y": 50 },
+ "id": 16,
+ "title": "Worker Queue Wait (p99)",
+ "description": "Time messages sit in NATS before a worker pulls them. High values = workers overloaded. Source: sie_pull_loop_queue_wait_seconds{model}.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "custom": { "fillOpacity": 10 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_pull_loop_queue_wait_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "queue wait p99",
+ "refId": "A"
+ },
+ {
+ "expr": "histogram_quantile(0.50, sum(rate(sie_pull_loop_queue_wait_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le)) * 1000",
+ "legendFormat": "queue wait p50",
+ "refId": "B"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 8, "y": 50 },
+ "id": 17,
+ "title": "Worker Batch Process Time (p99)",
+ "description": "Time for the worker to process a batch after pulling from NATS. Source: sie_pull_loop_batch_process_seconds{model, operation}.",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ms", "custom": { "fillOpacity": 10 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "histogram_quantile(0.99, sum(rate(sie_pull_loop_batch_process_seconds_bucket{namespace=\"$namespace\"}[5m])) by (le, operation)) * 1000",
+ "legendFormat": "{{operation}}",
+ "refId": "A"
+ }
+ ]
+ },
+ {
+ "gridPos": { "h": 8, "w": 8, "x": 16, "y": 50 },
+ "id": 18,
+ "title": "Worker Pull Rate",
+ "description": "Rate of items pulled from NATS by workers. Source: sie_pull_loop_items_fetched (histogram — _count = pull cycles/sec, _sum = items/sec).",
+ "type": "timeseries",
+ "fieldConfig": {
+ "defaults": { "unit": "ops", "custom": { "fillOpacity": 10 } }
+ },
+ "options": {
+ "legend": { "calcs": ["mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true },
+ "tooltip": { "mode": "multi", "sort": "desc" }
+ },
+ "pluginVersion": "10.0.0",
+ "targets": [
+ {
+ "expr": "sum(rate(sie_pull_loop_items_fetched_sum{namespace=\"$namespace\"}[5m]))",
+ "legendFormat": "items/sec",
+ "refId": "A"
+ },
+ {
+ "expr": "sum(rate(sie_pull_loop_items_fetched_count{namespace=\"$namespace\"}[5m]))",
+ "legendFormat": "pull cycles/sec",
+ "refId": "B"
+ }
+ ]
+ }
+ ],
+ "refresh": "10s",
+ "schemaVersion": 38,
+ "tags": ["sie", "queue-routing", "nats"],
+ "templating": {
+ "list": [
+ {
+ "current": { "selected": false, "text": "sie", "value": "sie" },
+ "hide": 0,
+ "includeAll": false,
+ "label": "Namespace",
+ "multi": false,
+ "name": "namespace",
+ "options": [],
+ "query": "label_values(sie_router_requests_total, namespace)",
+ "refresh": 2,
+ "regex": "",
+ "skipUrlSync": false,
+ "sort": 0,
+ "type": "query"
+ }
+ ]
+ },
+ "time": { "from": "now-1h", "to": "now" },
+ "timepicker": {},
+ "timezone": "",
+ "title": "SIE Queue Routing",
+ "uid": "sie-queue-routing",
+ "version": 1,
+ "weekStart": ""
+}
diff --git a/deploy/helm/sie-cluster/templates/NOTES.txt b/deploy/helm/sie-cluster/templates/NOTES.txt
index a80ceee96..35a8c0690 100644
--- a/deploy/helm/sie-cluster/templates/NOTES.txt
+++ b/deploy/helm/sie-cluster/templates/NOTES.txt
@@ -1,3 +1,4 @@
+{{- include "sie-cluster.validateNats" . -}}
SIE Cluster {{ .Chart.Version }} deployed to namespace {{ include "sie-cluster.namespace" . }}.
Router: http://{{ include "sie-cluster.router.serviceName" . }}.{{ include "sie-cluster.namespace" . }}.svc:{{ .Values.router.service.port }}
diff --git a/deploy/helm/sie-cluster/templates/_helpers.tpl b/deploy/helm/sie-cluster/templates/_helpers.tpl
index ea45b0df6..fa14de4f6 100644
--- a/deploy/helm/sie-cluster/templates/_helpers.tpl
+++ b/deploy/helm/sie-cluster/templates/_helpers.tpl
@@ -172,6 +172,19 @@ Health gate hook: Router readiness SA name
{{- printf "%s-health-router" (include "sie-cluster.fullname" . | trunc 49 | trimSuffix "-") }}
{{- end }}
+{{/*
+Validation: NATS install/enabled consistency.
+Fails if nats.install=true but nats.enabled=false (NATS deploys but nothing connects).
+*/}}
+{{- define "sie-cluster.validateNats" -}}
+{{- if and .Values.nats.install (not .Values.nats.enabled) }}
+{{- fail "Invalid configuration: nats.install=true but nats.enabled=false. NATS will be deployed but nothing will connect to it. Set nats.enabled=true or nats.install=false." }}
+{{- end }}
+{{- if and (not .Values.nats.install) .Values.nats.enabled (not .Values.nats.url) }}
+{{- fail "Invalid configuration: nats.enabled=true but nats.install=false and nats.url is empty. Either set nats.install=true for in-cluster NATS, or provide nats.url for an external NATS server." }}
+{{- end }}
+{{- end }}
+
{{/*
KEDA apply hook: ServiceAccount name
*/}}
diff --git a/deploy/helm/sie-cluster/templates/dashboard-configmaps.yaml b/deploy/helm/sie-cluster/templates/dashboard-configmaps.yaml
index c3be8ab76..19f4a39b9 100644
--- a/deploy/helm/sie-cluster/templates/dashboard-configmaps.yaml
+++ b/deploy/helm/sie-cluster/templates/dashboard-configmaps.yaml
@@ -1,7 +1,4 @@
{{- if or (index .Values "kube-prometheus-stack" "install") .Values.dashboards.enabled }}
-# Grafana dashboards as ConfigMaps for sidecar discovery.
-# The Grafana sidecar watches for ConfigMaps labelled
-# app.kubernetes.io/component=dashboard and auto-provisions them.
---
apiVersion: v1
@@ -12,8 +9,9 @@ metadata:
labels:
{{- include "sie-cluster.labels" . | nindent 4 }}
app.kubernetes.io/component: dashboard
+ grafana_dashboard: "1"
annotations:
- dashboard.grafana.com/folder: SIE
+ grafana_folder: SIE
data:
sie-cluster-overview.json: |-
{{ .Files.Get "files/dashboards/cluster-overview.json" | indent 4 }}
@@ -27,8 +25,9 @@ metadata:
labels:
{{- include "sie-cluster.labels" . | nindent 4 }}
app.kubernetes.io/component: dashboard
+ grafana_dashboard: "1"
annotations:
- dashboard.grafana.com/folder: SIE
+ grafana_folder: SIE
data:
sie-model-performance.json: |-
{{ .Files.Get "files/dashboards/model-performance.json" | indent 4 }}
@@ -42,9 +41,26 @@ metadata:
labels:
{{- include "sie-cluster.labels" . | nindent 4 }}
app.kubernetes.io/component: dashboard
+ grafana_dashboard: "1"
annotations:
- dashboard.grafana.com/folder: SIE
+ grafana_folder: SIE
data:
sie-worker-health.json: |-
{{ .Files.Get "files/dashboards/worker-health.json" | indent 4 }}
+
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ include "sie-cluster.fullname" . }}-dashboard-queue
+ namespace: {{ include "sie-cluster.namespace" . }}
+ labels:
+ {{- include "sie-cluster.labels" . | nindent 4 }}
+ app.kubernetes.io/component: dashboard
+ grafana_dashboard: "1"
+ annotations:
+ grafana_folder: SIE
+data:
+ sie-queue-routing.json: |-
+{{ .Files.Get "files/dashboards/queue-routing.json" | indent 4 }}
{{- end }}
diff --git a/deploy/helm/sie-cluster/templates/router-config-store-pvc.yaml b/deploy/helm/sie-cluster/templates/router-config-store-pvc.yaml
new file mode 100644
index 000000000..c062b76db
--- /dev/null
+++ b/deploy/helm/sie-cluster/templates/router-config-store-pvc.yaml
@@ -0,0 +1,15 @@
+{{- if and .Values.nats.enabled .Values.nats.configRestore }}
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+ name: {{ include "sie-cluster.fullname" . }}-config-store
+ namespace: {{ include "sie-cluster.namespace" . }}
+ labels:
+ {{- include "sie-cluster.router.labels" . | nindent 4 }}
+spec:
+ accessModes:
+ - ReadWriteOnce
+ resources:
+ requests:
+ storage: 64Mi
+{{- end }}
diff --git a/deploy/helm/sie-cluster/templates/router-configmaps.yaml b/deploy/helm/sie-cluster/templates/router-configmaps.yaml
index f29576632..7a2ac98c3 100644
--- a/deploy/helm/sie-cluster/templates/router-configmaps.yaml
+++ b/deploy/helm/sie-cluster/templates/router-configmaps.yaml
@@ -1,7 +1,7 @@
{{- if .Values.router.embeddedConfigs.enabled }}
# Auto-generated ConfigMaps from files/bundles and files/models
# These provide the ModelRegistry with bundle and model configs
-# Alternative to gitSync for testing, CI, and ephemeral clusters
+# Useful for testing, CI, and ephemeral clusters
---
apiVersion: v1
diff --git a/deploy/helm/sie-cluster/templates/router-deployment.yaml b/deploy/helm/sie-cluster/templates/router-deployment.yaml
index fadd8bd05..16222b906 100644
--- a/deploy/helm/sie-cluster/templates/router-deployment.yaml
+++ b/deploy/helm/sie-cluster/templates/router-deployment.yaml
@@ -1,10 +1,23 @@
{{- /* Validate: at most one config delivery mode may be active (zero = embedded-in-image, also valid) */}}
{{- $modesEnabled := list }}
-{{- if .Values.router.gitSync.enabled }}{{- $modesEnabled = append $modesEnabled "gitSync" }}{{- end }}
{{- if .Values.router.embeddedConfigs.enabled }}{{- $modesEnabled = append $modesEnabled "embeddedConfigs" }}{{- end }}
{{- if .Values.router.configMap.enabled }}{{- $modesEnabled = append $modesEnabled "configMap" }}{{- end }}
{{- if gt (len $modesEnabled) 1 }}
- {{- fail (printf "router: multiple config delivery modes enabled (%v). Enable only one of: gitSync, embeddedConfigs, configMap." $modesEnabled) }}
+ {{- fail (printf "router: multiple config delivery modes enabled (%v). Enable only one of: embeddedConfigs, configMap." $modesEnabled) }}
+{{- end }}
+{{- /* Validate: clusterRouting=queue requires NATS and JetStream; payloadStore is recommended for large payloads */}}
+{{- if eq (default "direct" .Values.clusterRouting) "queue" }}
+ {{- if not .Values.nats.enabled }}
+ {{- fail "clusterRouting=queue requires nats.enabled=true" }}
+ {{- end }}
+ {{- if not .Values.nats.config.jetstream.enabled }}
+ {{- fail "clusterRouting=queue requires nats.config.jetstream.enabled=true" }}
+ {{- end }}
+ {{- if .Values.payloadStore.enabled }}
+ {{- if not (or (hasPrefix "s3://" (default "" .Values.payloadStore.url)) (hasPrefix "gs://" (default "" .Values.payloadStore.url))) }}
+ {{- fail "payloadStore.url must be an object-store URL (s3://bucket/prefix or gs://bucket/prefix), not a local path" }}
+ {{- end }}
+ {{- end }}
{{- end }}
apiVersion: apps/v1
kind: Deployment
@@ -15,6 +28,10 @@ metadata:
{{- include "sie-cluster.router.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.router.replicas }}
+ {{- if and .Values.nats.enabled .Values.nats.configRestore }}
+ strategy:
+ type: Recreate
+ {{- end }}
selector:
matchLabels:
{{- include "sie-cluster.router.selectorLabels" . | nindent 6 }}
@@ -76,16 +93,25 @@ spec:
name: {{ .Values.router.auth.tokenSecretName }}
key: {{ .Values.router.auth.tokenSecretKey }}
{{- end }}
- {{- if .Values.router.gitSync.enabled }}
- # Config paths for git-sync (hot reload)
- # git-sync creates /git/current symlink to latest revision
- - name: SIE_BUNDLES_DIR
- value: /git/current/{{ .Values.router.gitSync.bundlesPath }}
- - name: SIE_MODELS_DIR
- value: /git/current/{{ .Values.router.gitSync.modelsPath }}
- - name: SIE_ROUTER_HOT_RELOAD
- value: "true"
- {{- else if .Values.router.embeddedConfigs.enabled }}
+ {{- if .Values.nats.enabled }}
+ - name: SIE_NATS_URL
+ value: {{ .Values.nats.url | default (printf "nats://%s-nats:4222" .Release.Name) | quote }}
+ - name: SIE_CONFIG_STORE_DIR
+ value: {{ .Values.nats.configStoreDir | quote }}
+ - name: SIE_CONFIG_RESTORE
+ value: {{ .Values.nats.configRestore | quote }}
+ {{- end }}
+ {{- if and .Values.clusterRouting (ne .Values.clusterRouting "direct") }}
+ - name: SIE_CLUSTER_ROUTING
+ value: {{ .Values.clusterRouting | quote }}
+ {{- end }}
+ {{- if .Values.payloadStore.enabled }}
+ - name: SIE_PAYLOAD_STORE_URL
+ value: {{ .Values.payloadStore.url | quote }}
+ - name: SIE_PAYLOAD_STORE_TTL
+ value: {{ .Values.payloadStore.ttlSeconds | quote }}
+ {{- end }}
+ {{- if .Values.router.embeddedConfigs.enabled }}
# Config paths for embedded configs (auto-generated ConfigMaps from chart files/)
- name: SIE_BUNDLES_DIR
value: /configs/bundles
@@ -104,11 +130,17 @@ spec:
- name: SIE_ROUTER_POLLING_WATCHER
value: "true"
{{- end }}
- livenessProbe:
+ startupProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
+ periodSeconds: 5
+ failureThreshold: 12
+ livenessProbe:
+ httpGet:
+ path: /healthz
+ port: http
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
@@ -116,19 +148,14 @@ spec:
httpGet:
path: /readyz
port: http
- initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
resources:
{{- toYaml .Values.router.resources | nindent 12 }}
- {{- if or .Values.router.gitSync.enabled .Values.router.embeddedConfigs.enabled .Values.router.configMap.enabled }}
+ {{- if or .Values.router.embeddedConfigs.enabled .Values.router.configMap.enabled (and .Values.nats.enabled .Values.nats.configRestore) }}
volumeMounts:
- {{- if .Values.router.gitSync.enabled }}
- - name: config-repo
- mountPath: /git
- readOnly: true
- {{- else if .Values.router.embeddedConfigs.enabled }}
+ {{- if .Values.router.embeddedConfigs.enabled }}
- name: bundles-config
mountPath: /configs/bundles
readOnly: true
@@ -140,44 +167,15 @@ spec:
mountPath: /configs
readOnly: true
{{- end }}
- {{- end }}
- {{- if .Values.router.gitSync.enabled }}
- # Git-sync sidecar for config hot reload
- - name: git-sync
- image: {{ .Values.router.gitSync.image.repository }}:{{ .Values.router.gitSync.image.tag }}
- imagePullPolicy: {{ .Values.router.gitSync.image.pullPolicy }}
- args:
- - --repo={{ .Values.router.gitSync.repo }}
- - --ref={{ .Values.router.gitSync.branch }}
- - --root=/git
- - --link=current
- - --period={{ .Values.router.gitSync.period }}
- - --max-failures=3
- {{- if .Values.router.gitSync.sshSecret }}
- - --ssh
- - --ssh-key-file=/etc/git-secret/ssh
- - --ssh-known-hosts=false
+ {{- if and .Values.nats.enabled .Values.nats.configRestore }}
+ - name: config-store
+ mountPath: {{ .Values.nats.configStoreDir }}
{{- end }}
- volumeMounts:
- - name: config-repo
- mountPath: /git
- {{- if .Values.router.gitSync.sshSecret }}
- - name: git-ssh
- mountPath: /etc/git-secret
- readOnly: true
- {{- end }}
- resources:
- {{- toYaml .Values.router.gitSync.resources | nindent 12 }}
- securityContext:
- runAsUser: 65534 # nobody
- runAsGroup: 65534
- {{- end }}
- {{- if or .Values.router.gitSync.enabled .Values.router.embeddedConfigs.enabled .Values.router.configMap.enabled }}
+ {{- end }}
+
+ {{- if or .Values.router.embeddedConfigs.enabled .Values.router.configMap.enabled (and .Values.nats.enabled .Values.nats.configRestore) }}
volumes:
- {{- if .Values.router.gitSync.enabled }}
- - name: config-repo
- emptyDir: {}
- {{- else if .Values.router.embeddedConfigs.enabled }}
+ {{- if .Values.router.embeddedConfigs.enabled }}
# Auto-generated ConfigMaps from chart files/bundles and files/models
- name: bundles-config
configMap:
@@ -212,12 +210,12 @@ spec:
path: models/{{ .key }}.yaml
{{- end }}
{{- end }}
- {{- if and .Values.router.gitSync.enabled .Values.router.gitSync.sshSecret }}
- - name: git-ssh
- secret:
- secretName: {{ .Values.router.gitSync.sshSecret }}
- defaultMode: 0400
+ {{- if and .Values.nats.enabled .Values.nats.configRestore }}
+ - name: config-store
+ persistentVolumeClaim:
+ claimName: {{ include "sie-cluster.fullname" . }}-config-store
{{- end }}
+
{{- end }}
{{- with .Values.router.nodeSelector }}
nodeSelector:
diff --git a/deploy/helm/sie-cluster/templates/worker-statefulset.yaml b/deploy/helm/sie-cluster/templates/worker-statefulset.yaml
index 44df9a262..0f602a605 100644
--- a/deploy/helm/sie-cluster/templates/worker-statefulset.yaml
+++ b/deploy/helm/sie-cluster/templates/worker-statefulset.yaml
@@ -103,6 +103,33 @@ spec:
- name: SIE_CLUSTER_CACHE
value: {{ $root.Values.workers.common.clusterCache.url | quote }}
{{- end }}
+ {{- if $root.Values.nats.enabled }}
+ - name: SIE_NATS_URL
+ value: {{ $root.Values.nats.url | default (printf "nats://%s:4222" ($root.Values.nats.serviceName | default (printf "%s-nats" $root.Release.Name))) | quote }}
+ {{- end }}
+ {{- if and $root.Values.clusterRouting (eq $root.Values.clusterRouting "queue") }}
+ - name: SIE_CLUSTER_ROUTING
+ value: {{ $root.Values.clusterRouting | quote }}
+ - name: SIE_POOL
+ value: {{ $poolName | quote }}
+ {{- with $root.Values.queueRouting }}
+ - name: SIE_NAK_DELAY_S
+ value: {{ .nakDelaySec | default 5 | quote }}
+ - name: SIE_MAX_DELIVER
+ value: {{ .maxDeliver | default 20 | quote }}
+ - name: SIE_STREAM_MAX_AGE_S
+ value: {{ .streamMaxAgeSec | default 120 | quote }}
+ - name: SIE_NATS_FETCH_BUDGET
+ value: {{ .natsFetchBudget | default 64 | quote }}
+ {{- end }}
+ {{- end }}
+ {{- if $root.Values.payloadStore.enabled }}
+ - name: SIE_PAYLOAD_STORE_URL
+ value: {{ $root.Values.payloadStore.url | quote }}
+ {{- end }}
+ {{- with $root.Values.workers.common.extraEnv }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
lifecycle:
preStop:
exec:
diff --git a/deploy/helm/sie-cluster/values.yaml b/deploy/helm/sie-cluster/values.yaml
index 16d619773..15e3f5a11 100644
--- a/deploy/helm/sie-cluster/values.yaml
+++ b/deploy/helm/sie-cluster/values.yaml
@@ -57,14 +57,14 @@ router:
# Disabled by default: the router Docker image embeds model and bundle configs
# at build time (/app/bundles and /app/models). Enable this only if you need to
# override image configs via ConfigMaps (e.g., for testing with modified configs).
- # For production with hot-reload, use gitSync instead.
+ # For production with hot-reload, use NATS-based config distribution (see nats section below).
embeddedConfigs:
# -- Enable embedded config delivery (auto-generates ConfigMaps from files/bundles and files/models)
enabled: false
# -- ConfigMap for static config injection (manual ConfigMap creation)
# Use this if you want to create ConfigMaps externally and reference them.
- # For most cases, use embeddedConfigs (simpler) or gitSync (production).
+ # For most cases, use embeddedConfigs (simpler) or NATS-based config distribution (production).
configMap:
# -- Enable ConfigMap-based config injection (manual)
enabled: false
@@ -84,40 +84,6 @@ router:
# Example:
# - key: all-MiniLM-L6-v2
- # -- Git-sync sidecar for config hot reload (bundles and models)
- gitSync:
- # -- Enable git-sync sidecar for config hot reload
- enabled: false
- # -- Git repository URL (HTTPS or SSH)
- # Examples:
- # - https://github.com/org/repo (public)
- # - [email protected]:org/repo (private, requires sshSecret)
- repo: ""
- # -- Branch to sync
- branch: main
- # -- Sync interval (e.g., 60s, 5m)
- period: 60s
- # -- Path within repo to bundles directory
- bundlesPath: packages/sie_server/bundles
- # -- Path within repo to models directory
- modelsPath: packages/sie_server/models
- # -- SSH secret for private repositories
- # Create with: kubectl create secret generic git-ssh --from-file=ssh=~/.ssh/id_rsa
- sshSecret: ""
- # -- Git-sync image
- image:
- repository: registry.k8s.io/git-sync/git-sync
- tag: v4.2.1
- pullPolicy: IfNotPresent
- # -- Resources for git-sync sidecar
- resources:
- requests:
- cpu: "50m"
- memory: "64Mi"
- limits:
- cpu: "200m"
- memory: "256Mi"
-
# -- Machine profiles configuration
# Machine profiles abstract cloud-specific hardware configs (GPU type + machine type + spot)
# Keys are profile names used in SDK pool creation and metrics labels
@@ -473,6 +439,106 @@ logging:
# -- Enable structured JSON logging (required for Loki)
json: true
+# -- NATS configuration for config distribution
+# When nats.install=true, a NATS server is deployed as a sub-chart.
+# When nats.install=false but nats.enabled=true, connect to an external NATS server.
+# The config store uses pod-local filesystem by default. For multi-router production
+# deployments, override SIE_CONFIG_STORE_DIR with an S3 or GCS URL.
+nats:
+ # -- Deploy NATS server as a sub-chart.
+ # IMPORTANT: If install=true, enabled must also be true (otherwise NATS deploys but nothing connects).
+ install: false
+ # -- Enable NATS-based config distribution (requires nats.install=true or external NATS)
+ enabled: false
+ # -- NATS server URL. Auto-set when install=true. Override for external NATS.
+ url: ""
+ # -- Override the NATS service name used to build the default SIE_NATS_URL.
+ # Defaults to "<release>-nats" if not set.
+ serviceName: ""
+ # -- Config store directory. Accepts local path, s3://, or gs:// URL.
+ # WARNING: The default /tmp path is ephemeral — data is lost on pod restart.
+ # For persistent storage, use an S3 or GCS URL (e.g., s3://bucket/sie-config).
+ configStoreDir: "/tmp/sie-config-store"
+ # -- Restore API-added models from config store on router startup.
+ # Only effective with a persistent configStoreDir (S3/GCS). Default is false
+ # because the default /tmp path does not survive pod restarts.
+ configRestore: false
+ # -- JetStream configuration for queue-based routing (SIE_CLUSTER_ROUTING=queue).
+ # JetStream is required for the work queue. It is NOT required for config distribution
+ # (which uses plain NATS pub/sub).
+ # NOTE: These keys are passed to the NATS sub-chart (nats/nats) which expects
+ # config.jetstream.memoryStore.maxSize (not memStorage/size).
+ config:
+ jetstream:
+ # -- Enable JetStream for the NATS work queue.
+ # Only needed when clusterRouting=queue.
+ enabled: false
+ # -- In-memory storage for work items (ephemeral, low latency).
+ # NOTE: maxSize uses NATS notation (MB/GB), NOT Kubernetes (Mi/Gi).
+ memoryStore:
+ enabled: true
+ maxSize: 512MB
+ # -- File storage (disabled for memory-only work queues).
+ # Enable with a PVC if you need persistent DLQ or large stream retention.
+ fileStore:
+ enabled: false
+ # -- Prometheus NATS exporter sidecar.
+ # Exposes NATS server internals (connections, JetStream streams/consumers) to Prometheus.
+ promExporter:
+ enabled: false
+ image:
+ repository: natsio/prometheus-nats-exporter
+ tag: "0.19.2"
+ pullPolicy: IfNotPresent
+ podMonitor:
+ enabled: true
+ env:
+ # JetStream detailed metrics (streams + consumers)
+ NATS_EXPORTER_OPTS: "-connz -routez -subz -jsz=all"
+
+# -- Cluster routing mode: "direct" (HTTP forwarding) or "queue" (NATS JetStream work queue).
+# "direct" is the default and uses the existing HTTP proxy path.
+# "queue" publishes work items to NATS JetStream and workers pull them.
+# Requires nats.enabled=true and nats.config.jetstream.enabled=true.
+clusterRouting: "direct"
+
+# -- Queue routing tuning knobs (only used when clusterRouting=queue).
+queueRouting:
+ # -- NAK delay (seconds) for items targeting unloaded models.
+ # JetStream redelivers after this delay, giving time for model loading.
+ # Effective retry budget = nakDelay * maxDeliver (default: 5 * 20 = 100s).
+ nakDelaySec: 5
+ # -- Maximum delivery attempts before a message is sent to the DLQ.
+ # Must be high enough to cover cold model downloads (10-60s+).
+ maxDeliver: 20
+ # -- Maximum age (seconds) for messages in the pool-level stream.
+ # Messages older than this are discarded. Set higher for slow model loads.
+ streamMaxAgeSec: 120
+ # -- NATS fetch budget: max messages pulled per fetch() call.
+ # This is the primary driver of GPU batch size in queue mode — the worker
+ # groups fetched messages by model and dispatches them as a single forward pass.
+ # Higher values improve GPU utilization under load but increase per-request latency.
+ natsFetchBudget: 64
+
+# -- Payload store for large work item payloads (images, long documents).
+# When a work item exceeds 1MB, the payload is offloaded to this store.
+# Only used when clusterRouting=queue.
+# IMPORTANT: payloadStore.url must point to shared storage accessible by both
+# router and worker pods. Use s3://bucket/prefix or gs://bucket/prefix.
+# Local filesystem paths (e.g., /tmp/payloads) will NOT work in queue mode
+# because router and worker pods have different filesystems.
+payloadStore:
+ # -- Enable payload store for large item offload.
+ enabled: false
+ # -- Payload store URL. Must be an S3 or GCS URL (s3://bucket/prefix or gs://bucket/prefix).
+ # Local paths are rejected when clusterRouting=queue (see router-deployment.yaml validation).
+ url: ""
+ # -- TTL for stored payloads in seconds.
+ # For S3: configure via S3 lifecycle rules on the bucket.
+ # For GCS: configure via GCS lifecycle rules on the bucket.
+ # This value is passed as SIE_PAYLOAD_STORE_TTL env var to the router.
+ ttlSeconds: 300
+
# =============================================================================
# Sub-chart dependency control flags
# All sub-charts are disabled by default. Enable what you need in your overlay.
diff --git a/integrations/README.md b/integrations/README.md
index a2d5de256..9a7a08c5b 100644
--- a/integrations/README.md
+++ b/integrations/README.md
@@ -12,6 +12,7 @@ standard framework interfaces.
| `sie-crewai` | CrewAI | `pip install sie-crewai` | Ready |
| `sie-dspy` | DSPy | `pip install sie-dspy` | Ready |
| `sie-haystack` | Haystack | `pip install sie-haystack` | Ready |
+| `sie-lancedb` | LanceDB | `pip install sie-lancedb` | Ready |
| `sie-langchain` | LangChain | `pip install sie-langchain` | Ready |
| `sie-llamaindex` | LlamaIndex | `pip install sie-llamaindex` | Ready |
| `sie-qdrant` | Qdrant | `pip install sie-qdrant` | Ready |
@@ -151,11 +152,11 @@ def test_embeddings(mock_sie_client):
Each SIE primitive maps to framework-specific interfaces:
-| SIE Primitive | LangChain | LlamaIndex | Haystack | CrewAI | DSPy | Chroma |
-|---------------|-----------|------------|----------|--------|------|--------|
-| `encode()` | `Embeddings` | `BaseEmbedding` | `SIETextEmbedder`, `SIEDocumentEmbedder` | OpenAI-compatible API | `SIEEmbedder` | `EmbeddingFunction` |
-| `score()` | `BaseDocumentCompressor` | `BaseNodePostprocessor` | `SIERanker` | `SIERerankerTool` | `SIEReranker` | N/A |
-| `extract()` | `BaseTool` | `FunctionTool` | `SIEExtractor` | `SIEExtractorTool` | `SIEExtractor` | N/A |
+| SIE Primitive | LangChain | LlamaIndex | Haystack | CrewAI | DSPy | Chroma | LanceDB |
+|---------------|-----------|------------|----------|--------|------|--------|---------|
+| `encode()` | `Embeddings` | `BaseEmbedding` | `SIETextEmbedder`, `SIEDocumentEmbedder` | OpenAI-compatible API | `SIEEmbedder` | `EmbeddingFunction` | `EmbeddingFunction` (dense + multivector) |
+| `score()` | `BaseDocumentCompressor` | `BaseNodePostprocessor` | `SIERanker` | `SIERerankerTool` | `SIEReranker` | N/A | `Reranker` (hybrid search) |
+| `extract()` | `BaseTool` | `FunctionTool` | `SIEExtractor` | `SIEExtractorTool` | `SIEExtractor` | N/A | `SIEExtractor` (table enrichment) |
## When to Use Integrations vs SDK Directly
@@ -167,8 +168,8 @@ Framework integrations implement **callback protocols** - the framework calls SI
| **Sparse/hybrid search** | Framework integrations | Most frameworks support sparse via `SIESparseEncoder`/`SIESparseEmbedder` |
| **Reranking** | Framework integrations | All frameworks have reranker interfaces (works with ColBERT models too!) |
| **Entity extraction** | Framework integrations | All frameworks have tool/component interfaces |
-| **Multivector/ColBERT retrieval** | SDK directly | No framework has native multi-vector interfaces. Use SDK + vector DB (Qdrant, Weaviate, Vespa) |
-| **Multimodal (CLIP, ColPali)** | SDK directly | No framework has standardized image embedding interfaces |
+| **Multivector/ColBERT encoding** | Haystack, Qdrant, Weaviate integrations, or SDK directly | Haystack has `SIEMultivectorTextEmbedder`/`SIEMultivectorDocumentEmbedder`. Qdrant and Weaviate vectorizers support `output_types=["multivector"]`. Others: use SDK |
+| **Multimodal (CLIP, ColPali)** | LlamaIndex / Haystack integrations, or SDK directly | LlamaIndex has `SIEMultiModalEmbedding`, Haystack has `SIEImageEmbedder`. Others: use SDK |
### Sparse Embeddings
@@ -196,6 +197,32 @@ from sie_chroma import SIESparseEmbeddingFunction
sparse_fn = SIESparseEmbeddingFunction(model="BAAI/bge-m3")
```
+### Multimodal Embeddings
+
+Frameworks with native multimodal support have dedicated classes:
+
+```python
+# LlamaIndex — plugs into MultiModalVectorStoreIndex and other LlamaIndex multimodal pipelines
+from sie_llamaindex import SIEMultiModalEmbedding
+embed_model = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+image_embedding = embed_model.get_image_embedding("photo.jpg")
+
+# Haystack — plugs into Haystack pipeline graphs
+from sie_haystack import SIEImageEmbedder
+embedder = SIEImageEmbedder(model="openai/clip-vit-large-patch14")
+result = embedder.run(images=["photo.jpg"])
+```
+
+For frameworks without multimodal interfaces (LangChain, Chroma, etc.), use the SDK directly:
+
+```python
+from sie_sdk import SIEClient
+from sie_sdk.types import Item
+
+client = SIEClient("http://localhost:8080")
+result = client.encode("openai/clip-vit-large-patch14", Item(images=["photo.jpg"]))
+```
+
### Multivector/ColBERT (SDK Directly)
For ColBERT-style late interaction retrieval, use the SDK with a vector DB that supports multi-vector:
diff --git a/integrations/conftest.py b/integrations/conftest.py
index b7adf9da5..5be352daa 100644
--- a/integrations/conftest.py
+++ b/integrations/conftest.py
@@ -22,9 +22,19 @@ DEFAULT_MULTIVECTOR_TOKEN_DIM = 128
def _get_text(item: Any) -> str:
- """Extract text from an item (dict or object with text attribute)."""
+ """Extract text from an item (dict or object with text attribute).
+
+ For image-only items (no text but has images), returns a deterministic
+ placeholder so the mock can still produce consistent embeddings.
+ """
if isinstance(item, dict):
- return item.get("text", str(item))
+ text = item.get("text")
+ if text:
+ return text
+ images = item.get("images")
+ if images:
+ return f"<image:{len(images)}>"
+ return str(item)
if hasattr(item, "text"):
return item.text
return str(item)
@@ -100,7 +110,7 @@ def _create_mock_score_result(query: str, items: list[dict], top_k: int | None =
def _create_mock_extract_result(text: str, labels: list[str]) -> dict[str, Any]:
- """Create mock extract results (NER entities)."""
+ """Create mock extract results with all extraction types."""
# Generate deterministic mock entities
rng = np.random.default_rng(hash(text) % (2**32))
entities = []
@@ -119,7 +129,12 @@ def _create_mock_extract_result(text: str, labels: list[str]) -> dict[str, Any]:
}
)
- return {"entities": entities}
+ return {
+ "entities": entities,
+ "relations": [],
+ "classifications": [],
+ "objects": [],
+ }
@pytest.fixture
@@ -303,3 +318,21 @@ def test_ner_text() -> str:
def test_ner_labels() -> list[str]:
"""Sample NER labels for extraction testing."""
return ["PERSON", "ORGANIZATION", "LOCATION"]
+
+
+def test_image_paths() -> list[str]:
+ """Sample image paths for testing multimodal embeddings.
+
+ These are placeholder paths — the mock client doesn't read files.
+ """
+ return ["photo_of_cat.jpg", "diagram.png"]
+
+
+def test_image_bytes() -> list[bytes]:
+ """Sample image bytes for testing multimodal embeddings.
+
+ Minimal JPEG-like headers — the mock client doesn't decode images.
+ """
+ return [b"\xff\xd8\xff\xe0" + b"\x00" * 100, b"\xff\xd8\xff\xe0" + b"\x00" * 200]
diff --git a/integrations/sie_chroma/pyproject.toml b/integrations/sie_chroma/pyproject.toml
index 65ee05bb6..31c7738df 100644
--- a/integrations/sie_chroma/pyproject.toml
+++ b/integrations/sie_chroma/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-chroma"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for ChromaDB"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_chroma/src/sie_chroma/embedding_function.py b/integrations/sie_chroma/src/sie_chroma/embedding_function.py
index 07a9769a1..814f139eb 100644
--- a/integrations/sie_chroma/src/sie_chroma/embedding_function.py
+++ b/integrations/sie_chroma/src/sie_chroma/embedding_function.py
@@ -10,6 +10,9 @@ from __future__ import annotations
from typing import Any
from chromadb import Documents, EmbeddingFunction, Embeddings
+from sie_sdk import SIEClient
+from sie_sdk.encoding import dense_embedding, sparse_embedding_dict
+from sie_sdk.types import Item
# Type alias for sparse embeddings: list of {token_id: weight} dicts
SparseEmbeddings = list[dict[int, float]]
@@ -61,8 +64,6 @@ class SIEEmbeddingFunction(EmbeddingFunction[Documents]):
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -84,7 +85,6 @@ class SIEEmbeddingFunction(EmbeddingFunction[Documents]):
return []
import numpy as np
- from sie_sdk.types import Item
items = [Item(text=text) for text in documents]
@@ -96,20 +96,12 @@ class SIEEmbeddingFunction(EmbeddingFunction[Documents]):
embeddings: Embeddings = []
for result in results:
- dense = self._extract_dense(result)
+ dense = dense_embedding(result)
# ChromaDB expects numpy arrays (Embeddings = List[numpy.ndarray])
embeddings.append(np.array(dense, dtype=np.float32))
return embeddings
- def _extract_dense(self, result: Any) -> list[float]:
- """Extract dense embedding values from SDK result."""
- # SDK returns {"dense": np.ndarray, ...}
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- return []
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
-
class SIESparseEmbeddingFunction:
"""Sparse embedding function using SIE for ChromaDB Cloud hybrid search.
@@ -169,8 +161,6 @@ class SIESparseEmbeddingFunction:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -192,8 +182,6 @@ class SIESparseEmbeddingFunction:
if not documents:
return []
- from sie_sdk.types import Item
-
items = [Item(text=text) for text in documents]
results = self.client.encode(
@@ -202,28 +190,4 @@ class SIESparseEmbeddingFunction:
output_types=["sparse"],
)
- return [self._extract_sparse(result) for result in results]
-
- def _extract_sparse(self, result: Any) -> dict[int, float]:
- """Extract sparse embedding as token_id → weight dict.
-
- Chroma Cloud expects sparse embeddings as dict[int, float]
- where keys are token indices and values are weights.
- """
- # SDK returns {"sparse": {"indices": np.ndarray, "values": np.ndarray}, ...}
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {}
-
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- if indices is None or values is None:
- return {}
-
- # Convert to lists if numpy arrays
- indices_list = indices.tolist() if hasattr(indices, "tolist") else list(indices)
- values_list = values.tolist() if hasattr(values, "tolist") else list(values)
-
- # Create dict mapping token_id → weight
- return dict(zip(indices_list, values_list))
+ return [sparse_embedding_dict(result) for result in results]
diff --git a/integrations/sie_crewai/pyproject.toml b/integrations/sie_crewai/pyproject.toml
index 1e74b7a19..0d1d0b109 100644
--- a/integrations/sie_crewai/pyproject.toml
+++ b/integrations/sie_crewai/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-crewai"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for CrewAI"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_crewai/src/sie_crewai/embedders.py b/integrations/sie_crewai/src/sie_crewai/embedders.py
index 8146c3f7b..ca7284c07 100644
--- a/integrations/sie_crewai/src/sie_crewai/embedders.py
+++ b/integrations/sie_crewai/src/sie_crewai/embedders.py
@@ -8,6 +8,9 @@ from __future__ import annotations
from typing import Any
+from sie_sdk import SIEClient
+from sie_sdk.encoding import sparse_embedding
+
class SIESparseEmbedder:
"""Sparse embedding function using SIE.
@@ -62,8 +65,6 @@ class SIESparseEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -93,7 +94,7 @@ class SIESparseEmbedder:
output_types=["sparse"],
)
- return [self._extract_sparse(r) for r in results]
+ return [sparse_embedding(r) for r in results]
def embed_query(self, text: str) -> dict[str, list]:
"""Embed a query, returning sparse vector.
@@ -115,18 +116,4 @@ class SIESparseEmbedder:
options={"is_query": True},
)
- return self._extract_sparse(result)
-
- def _extract_sparse(self, result: Any) -> dict[str, list]:
- """Extract sparse embedding from SDK result."""
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {"indices": [], "values": []}
-
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- return {
- "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
- "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
- }
+ return sparse_embedding(result)
diff --git a/integrations/sie_crewai/src/sie_crewai/tools.py b/integrations/sie_crewai/src/sie_crewai/tools.py
index 09ceb0380..24ba60ac9 100644
--- a/integrations/sie_crewai/src/sie_crewai/tools.py
+++ b/integrations/sie_crewai/src/sie_crewai/tools.py
@@ -189,14 +189,14 @@ class SIEExtractorTool(BaseTool):
text: str,
labels: list[str] | None = None,
) -> str:
- """Extract entities from text.
+ """Extract structured information from text.
Args:
- text: The text to extract entities from.
- labels: Entity types to extract (overrides default labels).
+ text: The text to extract from.
+ labels: Labels to extract (overrides default labels).
Returns:
- Formatted string with extracted entities.
+ Formatted string with extracted entities, relations, classifications, and objects.
"""
from sie_sdk.types import Item
@@ -208,52 +208,55 @@ class SIEExtractorTool(BaseTool):
labels=effective_labels,
)
- # Parse entities from result
- entities = self._parse_entities(result)
+ entities = self._parse_items(result, "entities")
+ relations = self._parse_items(result, "relations")
+ classifications = self._parse_items(result, "classifications")
+ objects = self._parse_items(result, "objects")
- if not entities:
- return f"No entities found in the text for labels: {effective_labels}"
+ lines: list[str] = []
- # Format output
- lines = ["Extracted entities:"]
- lines.extend(
- f"- {entity['text']} ({entity['label']}) [confidence: {entity['score']:.2f}]" for entity in entities
- )
+ if entities:
+ lines.append("Extracted entities:")
+ lines.extend(
+ f"- {e.get('text', '')} ({e.get('label', '')}) [confidence: {e.get('score', 0.0):.2f}]"
+ for e in entities
+ )
- return "\n".join(lines)
+ if relations:
+ lines.append("Extracted relations:")
+ lines.extend(
+ f"- {r.get('head', '')} --[{r.get('relation', '')}]--> {r.get('tail', '')} "
+ f"[confidence: {r.get('score', 0.0):.2f}]"
+ for r in relations
+ )
- def _parse_entities(self, result: Any) -> list[dict[str, Any]]:
- """Parse entities from SDK result."""
- entities = []
+ if classifications:
+ lines.append("Classifications:")
+ lines.extend(f"- {c.get('label', '')} [confidence: {c.get('score', 0.0):.2f}]" for c in classifications)
+
+ if objects:
+ lines.append("Detected objects:")
+ lines.extend(
+ f"- {o.get('label', '')} at {o.get('bbox', [])} [confidence: {o.get('score', 0.0):.2f}]"
+ for o in objects
+ )
+
+ if not lines:
+ return f"No extraction results found for labels: {effective_labels}"
+
+ return "\n".join(lines)
- # Result could be a dict with 'entities' key or a list directly
+ def _parse_items(self, result: Any, field: str) -> list[dict[str, Any]]:
+ """Parse a field from SDK result into list of dicts."""
if isinstance(result, dict):
- items = result.get("entities", [])
- elif isinstance(result, list):
- items = result
+ items = result.get(field, [])
else:
- items = []
+ items = getattr(result, field, [])
+ parsed = []
for item in items:
if isinstance(item, dict):
- entities.append(
- {
- "text": item.get("text", ""),
- "label": item.get("label", ""),
- "score": float(item.get("score", 0.0)),
- "start": item.get("start"),
- "end": item.get("end"),
- }
- )
+ parsed.append(item)
else:
- entities.append(
- {
- "text": getattr(item, "text", ""),
- "label": getattr(item, "label", ""),
- "score": float(getattr(item, "score", 0.0)),
- "start": getattr(item, "start", None),
- "end": getattr(item, "end", None),
- }
- )
-
- return entities
+ parsed.append(vars(item) if hasattr(item, "__dict__") else {"value": str(item)})
+ return parsed
diff --git a/integrations/sie_crewai/tests/test_tools.py b/integrations/sie_crewai/tests/test_tools.py
index 321ea9532..4a4f38234 100644
--- a/integrations/sie_crewai/tests/test_tools.py
+++ b/integrations/sie_crewai/tests/test_tools.py
@@ -86,7 +86,7 @@ class TestSIEExtractorTool:
result = extractor._run(text=lead_info_text)
- assert "Extracted entities" in result or "No entities found" in result
+ assert "Extracted entities" in result or "No extraction results found" in result
def test_extract_with_custom_labels(self, mock_sie_client: object, lead_info_text: str) -> None:
"""Test extraction with custom labels for business use case."""
@@ -113,12 +113,12 @@ class TestSIEExtractorTool:
)
# Create a fresh mock that returns empty
empty_mock = MagicMock()
- empty_mock.extract.return_value = []
+ empty_mock.extract.return_value = {"entities": [], "relations": [], "classifications": [], "objects": []}
extractor._client = empty_mock
result = extractor._run(text="Simple text with no entities.")
- assert "No entities found" in result
+ assert "No extraction results found" in result
def test_custom_model(self, mock_sie_client: object, lead_info_text: str) -> None:
"""Test using a custom extraction model."""
diff --git a/integrations/sie_dspy/pyproject.toml b/integrations/sie_dspy/pyproject.toml
index edf94eca5..91a3be80c 100644
--- a/integrations/sie_dspy/pyproject.toml
+++ b/integrations/sie_dspy/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-dspy"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for DSPy"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_dspy/src/sie_dspy/__init__.py b/integrations/sie_dspy/src/sie_dspy/__init__.py
index eda811b9d..de81d2332 100644
--- a/integrations/sie_dspy/src/sie_dspy/__init__.py
+++ b/integrations/sie_dspy/src/sie_dspy/__init__.py
@@ -42,9 +42,20 @@ Example usage with hybrid search (dense + sparse):
"""
from sie_dspy.embedder import SIEEmbedder, SIESparseEmbedder
-from sie_dspy.modules import SIEExtractor, SIEReranker
+from sie_dspy.modules import (
+ Classification,
+ DetectedObject,
+ Entity,
+ Relation,
+ SIEExtractor,
+ SIEReranker,
+)
__all__ = [
+ "Classification",
+ "DetectedObject",
+ "Entity",
+ "Relation",
"SIEEmbedder",
"SIEExtractor",
"SIEReranker",
diff --git a/integrations/sie_dspy/src/sie_dspy/embedder.py b/integrations/sie_dspy/src/sie_dspy/embedder.py
index eac18b57e..c093e4d21 100644
--- a/integrations/sie_dspy/src/sie_dspy/embedder.py
+++ b/integrations/sie_dspy/src/sie_dspy/embedder.py
@@ -8,6 +8,9 @@ from __future__ import annotations
from typing import TYPE_CHECKING, Any
+from sie_sdk import SIEClient
+from sie_sdk.encoding import dense_embedding, sparse_embedding
+
if TYPE_CHECKING:
import numpy as np
@@ -60,8 +63,6 @@ class SIEEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -95,7 +96,7 @@ class SIEEmbedder:
output_types=["dense"],
options={"is_query": True},
)
- return np.array(self._extract_dense(result), dtype=np.float32)
+ return np.array(dense_embedding(result), dtype=np.float32)
# Handle list of texts (corpus)
items = [Item(text=text) for text in texts]
@@ -105,17 +106,9 @@ class SIEEmbedder:
output_types=["dense"],
)
- embeddings = [self._extract_dense(r) for r in results]
+ embeddings = [dense_embedding(r) for r in results]
return np.array(embeddings, dtype=np.float32)
- def _extract_dense(self, result: Any) -> list[float]:
- """Extract dense embedding values from SDK result."""
- # SDK returns {"dense": np.ndarray, ...}
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- return []
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
-
class SIESparseEmbedder:
"""Sparse embedding function using SIE.
@@ -168,8 +161,6 @@ class SIESparseEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -199,7 +190,7 @@ class SIESparseEmbedder:
output_types=["sparse"],
)
- return [self._extract_sparse(r) for r in results]
+ return [sparse_embedding(r) for r in results]
def embed_query(self, text: str) -> dict[str, list]:
"""Embed a query, returning sparse vector.
@@ -221,18 +212,4 @@ class SIESparseEmbedder:
options={"is_query": True},
)
- return self._extract_sparse(result)
-
- def _extract_sparse(self, result: Any) -> dict[str, list]:
- """Extract sparse embedding from SDK result."""
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {"indices": [], "values": []}
-
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- return {
- "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
- "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
- }
+ return sparse_embedding(result)
diff --git a/integrations/sie_dspy/src/sie_dspy/modules.py b/integrations/sie_dspy/src/sie_dspy/modules.py
index 3178f7cee..9a46dc56f 100644
--- a/integrations/sie_dspy/src/sie_dspy/modules.py
+++ b/integrations/sie_dspy/src/sie_dspy/modules.py
@@ -22,6 +22,33 @@ class Entity:
end: int
+@dataclass
+class Relation:
+ """Extracted relation triple."""
+
+ head: str
+ tail: str
+ relation: str
+ score: float
+
+
+@dataclass
+class Classification:
+ """Text classification result."""
+
+ label: str
+ score: float
+
+
+@dataclass
+class DetectedObject:
+ """Detected object with bounding box."""
+
+ label: str
+ score: float
+ bbox: list[int]
+
+
class SIEReranker(dspy.Module):
"""Rerank passages by relevance to a query using SIE.
@@ -190,15 +217,15 @@ class SIEExtractor(dspy.Module):
text: str,
labels: list[str] | None = None,
) -> dspy.Prediction:
- """Extract entities from text.
+ """Extract structured information from text.
Args:
- text: The text to extract entities from.
- labels: Entity types to extract (overrides default labels).
+ text: The text to extract from.
+ labels: Labels to extract (overrides default labels).
Returns:
- Prediction with 'entities' (list of Entity objects) and
- 'entities_dict' (list of dicts for serialization).
+ Prediction with entities, relations, classifications, objects
+ (as dataclass objects) and _dict variants for serialization.
"""
from sie_sdk.types import Item
@@ -211,20 +238,24 @@ class SIEExtractor(dspy.Module):
)
entities = self._parse_entities(result)
-
- # Also provide dict format for JSON serialization
- entities_dict = [
- {
- "text": e.text,
- "label": e.label,
- "score": e.score,
- "start": e.start,
- "end": e.end,
- }
- for e in entities
- ]
-
- return dspy.Prediction(entities=entities, entities_dict=entities_dict)
+ relations = self._parse_relations(result)
+ classifications = self._parse_classifications(result)
+ objects = self._parse_objects(result)
+
+ return dspy.Prediction(
+ entities=entities,
+ relations=relations,
+ classifications=classifications,
+ objects=objects,
+ entities_dict=[
+ {"text": e.text, "label": e.label, "score": e.score, "start": e.start, "end": e.end} for e in entities
+ ],
+ relations_dict=[
+ {"head": r.head, "tail": r.tail, "relation": r.relation, "score": r.score} for r in relations
+ ],
+ classifications_dict=[{"label": c.label, "score": c.score} for c in classifications],
+ objects_dict=[{"label": o.label, "score": o.score, "bbox": o.bbox} for o in objects],
+ )
def _parse_entities(self, result: Any) -> list[Entity]:
"""Parse entities from SDK result."""
@@ -261,3 +292,53 @@ class SIEExtractor(dspy.Module):
)
return entities
+
+ def _parse_relations(self, result: Any) -> list[Relation]:
+ """Parse relations from SDK result."""
+ items = result.get("relations", []) if isinstance(result, dict) else getattr(result, "relations", [])
+ relations = []
+ for item in items:
+ if isinstance(item, dict):
+ relations.append(
+ Relation(
+ head=item.get("head", ""),
+ tail=item.get("tail", ""),
+ relation=item.get("relation", ""),
+ score=float(item.get("score", 0.0)),
+ )
+ )
+ else:
+ relations.append(
+ Relation(
+ head=getattr(item, "head", ""),
+ tail=getattr(item, "tail", ""),
+ relation=getattr(item, "relation", ""),
+ score=float(getattr(item, "score", 0.0)),
+ )
+ )
+ return relations
+
+ def _parse_classifications(self, result: Any) -> list[Classification]:
+ """Parse classifications from SDK result."""
+ items = (
+ result.get("classifications", []) if isinstance(result, dict) else getattr(result, "classifications", [])
+ )
+ return [
+ Classification(
+ label=c.get("label", "") if isinstance(c, dict) else getattr(c, "label", ""),
+ score=float(c.get("score", 0.0) if isinstance(c, dict) else getattr(c, "score", 0.0)),
+ )
+ for c in items
+ ]
+
+ def _parse_objects(self, result: Any) -> list[DetectedObject]:
+ """Parse detected objects from SDK result."""
+ items = result.get("objects", []) if isinstance(result, dict) else getattr(result, "objects", [])
+ return [
+ DetectedObject(
+ label=o.get("label", "") if isinstance(o, dict) else getattr(o, "label", ""),
+ score=float(o.get("score", 0.0) if isinstance(o, dict) else getattr(o, "score", 0.0)),
+ bbox=o.get("bbox", []) if isinstance(o, dict) else getattr(o, "bbox", []),
+ )
+ for o in items
+ ]
diff --git a/integrations/sie_haystack/pyproject.toml b/integrations/sie_haystack/pyproject.toml
index 81ced7357..87211771b 100644
--- a/integrations/sie_haystack/pyproject.toml
+++ b/integrations/sie_haystack/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-haystack"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for Haystack"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_haystack/src/sie_haystack/__init__.py b/integrations/sie_haystack/src/sie_haystack/__init__.py
index 311e3fbd0..a582ce340 100644
--- a/integrations/sie_haystack/src/sie_haystack/__init__.py
+++ b/integrations/sie_haystack/src/sie_haystack/__init__.py
@@ -10,6 +10,10 @@ Sparse Embedders (for hybrid search):
- SIESparseTextEmbedder: Sparse embeddings for queries
- SIESparseDocumentEmbedder: Sparse embeddings for documents
+Multivector Embedders (ColBERT):
+- SIEMultivectorTextEmbedder: Per-token embeddings for queries
+- SIEMultivectorDocumentEmbedder: Per-token embeddings for documents
+
Rankers and Extractors:
- SIERanker: Reranks documents by relevance to a query
- SIEExtractor: Extracts entities from text
@@ -45,16 +49,26 @@ Hybrid search example:
from sie_haystack.embedders import (
SIEDocumentEmbedder,
+ SIEImageEmbedder,
+ SIEMultivectorDocumentEmbedder,
+ SIEMultivectorTextEmbedder,
SIESparseDocumentEmbedder,
SIESparseTextEmbedder,
SIETextEmbedder,
)
-from sie_haystack.extractors import SIEExtractor
+from sie_haystack.extractors import Classification, DetectedObject, Entity, Relation, SIEExtractor
from sie_haystack.rankers import SIERanker
__all__ = [
+ "Classification",
+ "DetectedObject",
+ "Entity",
+ "Relation",
"SIEDocumentEmbedder",
"SIEExtractor",
+ "SIEImageEmbedder",
+ "SIEMultivectorDocumentEmbedder",
+ "SIEMultivectorTextEmbedder",
"SIERanker",
"SIESparseDocumentEmbedder",
"SIESparseTextEmbedder",
diff --git a/integrations/sie_haystack/src/sie_haystack/embedders.py b/integrations/sie_haystack/src/sie_haystack/embedders.py
index a5e7546dc..d7b9fbc3a 100644
--- a/integrations/sie_haystack/src/sie_haystack/embedders.py
+++ b/integrations/sie_haystack/src/sie_haystack/embedders.py
@@ -5,6 +5,8 @@ Provides embedder components following Haystack's conventions:
- SIEDocumentEmbedder: For embedding documents - dense embeddings
- SIESparseTextEmbedder: For sparse embeddings of queries (hybrid search)
- SIESparseDocumentEmbedder: For sparse embeddings of documents (hybrid search)
+- SIEMultivectorTextEmbedder: For multivector (ColBERT) embeddings of queries
+- SIEMultivectorDocumentEmbedder: For multivector (ColBERT) embeddings of documents
"""
from __future__ import annotations
@@ -12,6 +14,9 @@ from __future__ import annotations
from typing import Any
from haystack import Document, component
+from sie_sdk import SIEClient
+from sie_sdk.encoding import dense_embedding, multivector_embedding, sparse_embedding
+from sie_sdk.types import Item
@component
@@ -55,8 +60,6 @@ class SIETextEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -79,24 +82,13 @@ class SIETextEmbedder:
Returns:
Dictionary with "embedding" key containing the embedding vector.
"""
- from sie_sdk.types import Item
-
result = self.client.encode(
self._model,
Item(text=text),
output_types=["dense"],
options={"is_query": True},
)
- embedding = self._extract_dense(result)
- return {"embedding": embedding}
-
- def _extract_dense(self, result: Any) -> list[float]:
- """Extract dense embedding from SDK result."""
- # SDK returns {"dense": np.ndarray, ...}
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- return []
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+ return {"embedding": dense_embedding(result)}
@component
@@ -146,8 +138,6 @@ class SIEDocumentEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -173,8 +163,6 @@ class SIEDocumentEmbedder:
if not documents:
return {"documents": []}
- from sie_sdk.types import Item
-
# Build text to embed for each document
texts = [self._build_text(doc) for doc in documents]
items = [Item(text=text) for text in texts]
@@ -188,7 +176,7 @@ class SIEDocumentEmbedder:
# Store embeddings on documents
for doc, result in zip(documents, results, strict=True):
- doc.embedding = self._extract_dense(result)
+ doc.embedding = dense_embedding(result)
return {"documents": documents}
@@ -201,14 +189,6 @@ class SIEDocumentEmbedder:
parts.append(doc.content or "")
return " ".join(parts)
- def _extract_dense(self, result: Any) -> list[float]:
- """Extract dense embedding from SDK result."""
- # SDK returns {"dense": np.ndarray, ...}
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- return []
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
-
@component
class SIESparseTextEmbedder:
@@ -252,8 +232,6 @@ class SIESparseTextEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -276,29 +254,13 @@ class SIESparseTextEmbedder:
Returns:
Dictionary with "sparse_embedding" key containing dict with "indices" and "values" lists.
"""
- from sie_sdk.types import Item
-
result = self.client.encode(
self._model,
Item(text=text),
output_types=["sparse"],
options={"is_query": True},
)
- sparse_embedding = self._extract_sparse(result)
- return {"sparse_embedding": sparse_embedding}
-
- def _extract_sparse(self, result: Any) -> dict[str, list]:
- """Extract sparse embedding from SDK result."""
- # SDK returns {"sparse": {"indices": np.ndarray, "values": np.ndarray}, ...}
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {"indices": [], "values": []}
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
- return {
- "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
- "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
- }
+ return {"sparse_embedding": sparse_embedding(result)}
@component
@@ -349,8 +311,6 @@ class SIESparseDocumentEmbedder:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -376,8 +336,6 @@ class SIESparseDocumentEmbedder:
if not documents:
return {"documents": []}
- from sie_sdk.types import Item
-
# Build text to embed for each document
texts = [self._build_text(doc) for doc in documents]
items = [Item(text=text) for text in texts]
@@ -391,7 +349,7 @@ class SIESparseDocumentEmbedder:
# Store sparse embeddings on documents in meta
for doc, result in zip(documents, results, strict=True):
- doc.meta["_sparse_embedding"] = self._extract_sparse(result)
+ doc.meta["_sparse_embedding"] = sparse_embedding(result)
return {"documents": documents}
@@ -404,15 +362,257 @@ class SIESparseDocumentEmbedder:
parts.append(doc.content or "")
return " ".join(parts)
- def _extract_sparse(self, result: Any) -> dict[str, list]:
- """Extract sparse embedding from SDK result."""
- # SDK returns {"sparse": {"indices": np.ndarray, "values": np.ndarray}, ...}
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {"indices": [], "values": []}
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
- return {
- "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
- "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
- }
+
+@component
+class SIEImageEmbedder:
+ """Embeds images using SIE multimodal models (CLIP, SigLIP, ColPali).
+
+ Use this component in Haystack pipelines for image embedding with models
+ that support image input.
+
+ Example:
+ >>> embedder = SIEImageEmbedder(
+ ... base_url="http://localhost:8080",
+ ... model="openai/clip-vit-large-patch14",
+ ... )
+ >>> result = embedder.run(images=["/path/to/photo.jpg"])
+ >>> embeddings = result["embeddings"] # list[list[float]]
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Model name to use for encoding. Must support image input.
+ gpu: GPU type to use (e.g., "l4", "a100"). Passed to SDK as default.
+ options: Model-specific options. Passed to SDK as default.
+ timeout_s: Request timeout in seconds.
+ """
+
+ def __init__(
+ self,
+ base_url: str = "http://localhost:8080",
+ model: str = "openai/clip-vit-large-patch14",
+ *,
+ gpu: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout_s: float = 180.0,
+ ) -> None:
+ self._base_url = base_url
+ self._model = model
+ self._gpu = gpu
+ self._options = options
+ self._timeout_s = timeout_s
+ self._client: Any = None
+
+ @property
+ def client(self) -> Any:
+ """Lazily initialize the SIE client."""
+ if self._client is None:
+ self._client = SIEClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._client
+
+ def warm_up(self) -> None:
+ """Warm up the component by initializing the client."""
+ _ = self.client
+
+ @component.output_types(embeddings=list[list[float]])
+ def run(self, images: list[str | bytes]) -> dict[str, list[list[float]]]:
+ """Embed images and return their embeddings.
+
+ Args:
+ images: List of image file paths (str) or raw image bytes.
+
+ Returns:
+ Dictionary with "embeddings" key containing list of embedding vectors.
+ """
+ if not images:
+ return {"embeddings": []}
+
+ items = [Item(images=[img]) for img in images]
+
+ results = self.client.encode(
+ self._model,
+ items,
+ output_types=["dense"],
+ )
+
+ return {"embeddings": [dense_embedding(result) for result in results]}
+
+
+@component
+class SIEMultivectorTextEmbedder:
+ """Embeds a single text string using SIE multivector (ColBERT) embeddings.
+
+ Produces per-token embeddings for late-interaction retrieval and scoring.
+ Use this component for embedding queries in ColBERT pipelines.
+
+ Example:
+ >>> embedder = SIEMultivectorTextEmbedder(
+ ... base_url="http://localhost:8080",
+ ... model="jinaai/jina-colbert-v2",
+ ... )
+ >>> result = embedder.run(text="What is vector search?")
+ >>> multivector = result["multivector_embedding"] # list[list[float]]
+ """
+
+ def __init__(
+ self,
+ base_url: str = "http://localhost:8080",
+ model: str = "jinaai/jina-colbert-v2",
+ *,
+ gpu: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout_s: float = 180.0,
+ ) -> None:
+ """Initialize the multivector text embedder.
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Model name to use for encoding. Must support multivector output
+ (e.g., jinaai/jina-colbert-v2).
+ gpu: GPU type to use (e.g., "l4", "a100"). Passed to SDK as default.
+ options: Model-specific options. Passed to SDK as default.
+ timeout_s: Request timeout in seconds.
+ """
+ self._base_url = base_url
+ self._model = model
+ self._gpu = gpu
+ self._options = options
+ self._timeout_s = timeout_s
+ self._client: Any = None
+
+ @property
+ def client(self) -> Any:
+ """Lazily initialize the SIE client."""
+ if self._client is None:
+ self._client = SIEClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._client
+
+ def warm_up(self) -> None:
+ """Warm up the component by initializing the client."""
+ _ = self.client
+
+ @component.output_types(multivector_embedding=list)
+ def run(self, text: str) -> dict[str, list[list[float]]]:
+ """Embed a single text string with multivector (ColBERT) embeddings.
+
+ Args:
+ text: The text to embed.
+
+ Returns:
+ Dictionary with "multivector_embedding" key containing per-token embeddings.
+ """
+ result = self.client.encode(
+ self._model,
+ Item(text=text),
+ output_types=["multivector"],
+ options={"is_query": True},
+ )
+ return {"multivector_embedding": multivector_embedding(result["multivector"])}
+
+
+@component
+class SIEMultivectorDocumentEmbedder:
+ """Embeds documents using SIE multivector (ColBERT) embeddings.
+
+ Produces per-token embeddings for late-interaction retrieval. Stores
+ multivector embeddings on each document's metadata.
+
+ Example:
+ >>> from haystack import Document
+ >>> embedder = SIEMultivectorDocumentEmbedder(
+ ... base_url="http://localhost:8080",
+ ... model="jinaai/jina-colbert-v2",
+ ... )
+ >>> docs = [Document(content="Python is a programming language.")]
+ >>> result = embedder.run(documents=docs)
+ >>> embedded_docs = result["documents"]
+ >>> print(embedded_docs[0].meta["_multivector_embedding"]) # list[list[float]]
+ """
+
+ def __init__(
+ self,
+ base_url: str = "http://localhost:8080",
+ model: str = "jinaai/jina-colbert-v2",
+ *,
+ gpu: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout_s: float = 180.0,
+ meta_fields_to_embed: list[str] | None = None,
+ ) -> None:
+ """Initialize the multivector document embedder.
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Model name to use for encoding. Must support multivector output
+ (e.g., jinaai/jina-colbert-v2).
+ gpu: GPU type to use (e.g., "l4", "a100"). Passed to SDK as default.
+ options: Model-specific options. Passed to SDK as default.
+ timeout_s: Request timeout in seconds.
+ meta_fields_to_embed: List of metadata fields to include in embedding.
+ """
+ self._base_url = base_url
+ self._model = model
+ self._gpu = gpu
+ self._options = options
+ self._timeout_s = timeout_s
+ self._meta_fields_to_embed = meta_fields_to_embed or []
+ self._client: Any = None
+
+ @property
+ def client(self) -> Any:
+ """Lazily initialize the SIE client."""
+ if self._client is None:
+ self._client = SIEClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._client
+
+ def warm_up(self) -> None:
+ """Warm up the component by initializing the client."""
+ _ = self.client
+
+ @component.output_types(documents=list[Document])
+ def run(self, documents: list[Document]) -> dict[str, list[Document]]:
+ """Embed documents with multivector (ColBERT) embeddings.
+
+ Args:
+ documents: List of documents to embed.
+
+ Returns:
+ Dictionary with "documents" key containing documents with multivector embeddings
+ stored in meta["_multivector_embedding"].
+ """
+ if not documents:
+ return {"documents": []}
+
+ texts = [self._build_text(doc) for doc in documents]
+ items = [Item(text=text) for text in texts]
+
+ results = self.client.encode(
+ self._model,
+ items,
+ output_types=["multivector"],
+ )
+
+ for doc, result in zip(documents, results, strict=True):
+ doc.meta["_multivector_embedding"] = multivector_embedding(result["multivector"])
+
+ return {"documents": documents}
+
+ def _build_text(self, doc: Document) -> str:
+ """Build the text to embed for a document, optionally including metadata fields."""
+ parts = [str(doc.meta[field]) for field in self._meta_fields_to_embed if field in doc.meta]
+ parts.append(doc.content or "")
+ return " ".join(parts)
diff --git a/integrations/sie_haystack/src/sie_haystack/extractors.py b/integrations/sie_haystack/src/sie_haystack/extractors.py
index 7570715aa..ccceed6b8 100644
--- a/integrations/sie_haystack/src/sie_haystack/extractors.py
+++ b/integrations/sie_haystack/src/sie_haystack/extractors.py
@@ -1,6 +1,7 @@
"""SIE extractor component for Haystack.
-Provides SIEExtractor for extracting entities from text.
+Provides SIEExtractor for extracting entities, relations, classifications,
+and detected objects from text.
"""
from __future__ import annotations
@@ -22,12 +23,39 @@ class Entity:
end: int
+@dataclass
+class Relation:
+ """Extracted relation triple between two entities."""
+
+ head: str
+ tail: str
+ relation: str
+ score: float
+
+
+@dataclass
+class Classification:
+ """Text classification result."""
+
+ label: str
+ score: float
+
+
+@dataclass
+class DetectedObject:
+ """Detected object with bounding box."""
+
+ label: str
+ score: float
+ bbox: list[int]
+
+
@component
class SIEExtractor:
- """Extracts entities from text using SIE.
+ """Extracts structured information from text using SIE.
- Use this component to extract named entities or custom entity types
- from text using GLiNER or similar extraction models.
+ Use this component to extract named entities, relations, classifications,
+ and detected objects using GLiNER, GLiREL, GLiClass, or similar models.
Example:
>>> extractor = SIEExtractor(
@@ -56,7 +84,7 @@ class SIEExtractor:
Args:
base_url: URL of the SIE server.
model: Model name to use for extraction.
- labels: Entity labels to extract (e.g., ["person", "organization"]).
+ labels: Labels to extract (entity types, relation types, or classification labels).
gpu: GPU type to use (e.g., "l4", "a100"). Passed to SDK as default.
options: Model-specific options. Passed to SDK as default.
timeout_s: Request timeout in seconds.
@@ -87,20 +115,25 @@ class SIEExtractor:
"""Warm up the component by initializing the client."""
_ = self.client
- @component.output_types(entities=list[Entity])
+ @component.output_types(
+ entities=list[Entity],
+ relations=list[Relation],
+ classifications=list[Classification],
+ objects=list[DetectedObject],
+ )
def run(
self,
text: str,
labels: list[str] | None = None,
- ) -> dict[str, list[Entity]]:
- """Extract entities from text.
+ ) -> dict[str, list]:
+ """Extract structured information from text.
Args:
- text: The text to extract entities from.
+ text: The text to extract from.
labels: Override the configured labels for this call.
Returns:
- Dictionary with "entities" key containing extracted entities.
+ Dictionary with entities, relations, classifications, and objects.
"""
from sie_sdk.types import Item
@@ -112,33 +145,111 @@ class SIEExtractor:
labels=effective_labels,
)
- entities = self._build_entities(result)
- return {"entities": entities}
+ return {
+ "entities": self._build_entities(result),
+ "relations": self._build_relations(result),
+ "classifications": self._build_classifications(result),
+ "objects": self._build_objects(result),
+ }
def _build_entities(self, result: Any) -> list[Entity]:
"""Build Entity objects from SDK result."""
+ items = self._get_field(result, "entities")
entities = []
+ for item in items:
+ if isinstance(item, dict):
+ entities.append(
+ Entity(
+ text=item.get("text", ""),
+ label=item.get("label", ""),
+ score=float(item.get("score") or 0.0),
+ start=int(item.get("start") or 0),
+ end=int(item.get("end") or 0),
+ )
+ )
+ else:
+ entities.append(
+ Entity(
+ text=getattr(item, "text", ""),
+ label=getattr(item, "label", ""),
+ score=float(getattr(item, "score", None) or 0.0),
+ start=int(getattr(item, "start", None) or 0),
+ end=int(getattr(item, "end", None) or 0),
+ )
+ )
+ return entities
- # Result could be a list of entities
- items = result if isinstance(result, list) else []
+ def _build_relations(self, result: Any) -> list[Relation]:
+ """Build Relation objects from SDK result."""
+ items = self._get_field(result, "relations")
+ relations = []
+ for item in items:
+ if isinstance(item, dict):
+ relations.append(
+ Relation(
+ head=item.get("head", ""),
+ tail=item.get("tail", ""),
+ relation=item.get("relation", ""),
+ score=float(item.get("score") or 0.0),
+ )
+ )
+ else:
+ relations.append(
+ Relation(
+ head=getattr(item, "head", ""),
+ tail=getattr(item, "tail", ""),
+ relation=getattr(item, "relation", ""),
+ score=float(getattr(item, "score", None) or 0.0),
+ )
+ )
+ return relations
+ def _build_classifications(self, result: Any) -> list[Classification]:
+ """Build Classification objects from SDK result."""
+ items = self._get_field(result, "classifications")
+ classifications = []
for item in items:
if isinstance(item, dict):
- entity = Entity(
- text=item.get("text", ""),
- label=item.get("label", ""),
- score=float(item.get("score", 0.0)),
- start=int(item.get("start", 0)),
- end=int(item.get("end", 0)),
+ classifications.append(
+ Classification(
+ label=item.get("label", ""),
+ score=float(item.get("score") or 0.0),
+ )
)
else:
- entity = Entity(
- text=getattr(item, "text", ""),
- label=getattr(item, "label", ""),
- score=float(getattr(item, "score", 0.0)),
- start=int(getattr(item, "start", 0)),
- end=int(getattr(item, "end", 0)),
+ classifications.append(
+ Classification(
+ label=getattr(item, "label", ""),
+ score=float(getattr(item, "score", None) or 0.0),
+ )
)
- entities.append(entity)
+ return classifications
- return entities
+ def _build_objects(self, result: Any) -> list[DetectedObject]:
+ """Build DetectedObject objects from SDK result."""
+ items = self._get_field(result, "objects")
+ objects = []
+ for item in items:
+ if isinstance(item, dict):
+ objects.append(
+ DetectedObject(
+ label=item.get("label", ""),
+ score=float(item.get("score") or 0.0),
+ bbox=item.get("bbox", []),
+ )
+ )
+ else:
+ objects.append(
+ DetectedObject(
+ label=getattr(item, "label", ""),
+ score=float(getattr(item, "score", None) or 0.0),
+ bbox=getattr(item, "bbox", []),
+ )
+ )
+ return objects
+
+ def _get_field(self, result: Any, field: str) -> list:
+ """Extract a field from the SDK result."""
+ if isinstance(result, dict):
+ return result.get(field, [])
+ return getattr(result, field, [])
diff --git a/integrations/sie_haystack/tests/conftest.py b/integrations/sie_haystack/tests/conftest.py
index ae5d7a626..f2a4934d0 100644
--- a/integrations/sie_haystack/tests/conftest.py
+++ b/integrations/sie_haystack/tests/conftest.py
@@ -21,9 +21,19 @@ DEFAULT_MULTIVECTOR_TOKEN_DIM = 128
def _get_text(item: Any) -> str:
- """Extract text from an item (dict or object with text attribute)."""
+ """Extract text from an item (dict or object with text attribute).
+
+ For image-only items (no text but has images), returns a deterministic
+ placeholder so the mock can still produce consistent embeddings.
+ """
if isinstance(item, dict):
- return item.get("text", str(item))
+ text = item.get("text")
+ if text:
+ return text
+ images = item.get("images")
+ if images:
+ return f"<image:{len(images)}>"
+ return str(item)
if hasattr(item, "text"):
return item.text
return str(item)
@@ -205,6 +215,18 @@ def haystack_documents(test_documents: list[str]) -> list[Document]:
return [Document(content=text) for text in test_documents]
+def test_image_paths() -> list[str]:
+ """Sample image paths for testing multimodal embeddings."""
+ return ["photo_of_cat.jpg", "diagram.png"]
+
+
+def test_image_bytes() -> list[bytes]:
+ """Sample image bytes for testing multimodal embeddings."""
+ return [b"\xff\xd8\xff\xe0" + b"\x00" * 100, b"\xff\xd8\xff\xe0" + b"\x00" * 200]
+
+
@pytest.fixture
def haystack_documents_with_meta() -> list[Document]:
"""Haystack documents with metadata for testing."""
diff --git a/integrations/sie_haystack/tests/test_embedders.py b/integrations/sie_haystack/tests/test_embedders.py
index 56b67622f..7a6a36b12 100644
--- a/integrations/sie_haystack/tests/test_embedders.py
+++ b/integrations/sie_haystack/tests/test_embedders.py
@@ -5,6 +5,9 @@ from __future__ import annotations
from haystack import Document
from sie_haystack import (
SIEDocumentEmbedder,
+ SIEImageEmbedder,
+ SIEMultivectorDocumentEmbedder,
+ SIEMultivectorTextEmbedder,
SIESparseDocumentEmbedder,
SIESparseTextEmbedder,
SIETextEmbedder,
@@ -272,3 +275,202 @@ class TestSIESparseDocumentEmbedder:
# Both the input and output should have sparse embeddings in meta
assert docs[0].meta.get("_sparse_embedding") is not None
assert result["documents"][0].meta.get("_sparse_embedding") is not None
+
+
+class TestSIEImageEmbedder:
+ """Tests for SIEImageEmbedder component."""
+
+ def test_run_returns_embeddings(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test that run returns embeddings for images."""
+ embedder = SIEImageEmbedder(model="openai/clip-vit-large-patch14")
+ embedder._client = mock_sie_client
+
+ result = embedder.run(images=test_image_paths)
+
+ assert "embeddings" in result
+ assert len(result["embeddings"]) == 2
+ for emb in result["embeddings"]:
+ assert isinstance(emb, list)
+ assert len(emb) == 384
+
+ def test_run_with_bytes(self, mock_sie_client: object, test_image_bytes: list[bytes]) -> None:
+ """Test that run works with raw image bytes."""
+ embedder = SIEImageEmbedder(model="openai/clip-vit-large-patch14")
+ embedder._client = mock_sie_client
+
+ result = embedder.run(images=test_image_bytes)
+
+ assert "embeddings" in result
+ assert len(result["embeddings"]) == 2
+
+ def test_run_empty_list(self, mock_sie_client: object) -> None:
+ """Test that run handles empty image list."""
+ embedder = SIEImageEmbedder(model="openai/clip-vit-large-patch14")
+ embedder._client = mock_sie_client
+
+ result = embedder.run(images=[])
+
+ assert result == {"embeddings": []}
+ mock_sie_client.encode.assert_not_called()
+
+ def test_encode_called_with_images(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test that encode is called with images in Item."""
+ embedder = SIEImageEmbedder(model="openai/clip-vit-large-patch14")
+ embedder._client = mock_sie_client
+
+ embedder.run(images=[test_image_paths[0]])
+
+ call_args = mock_sie_client.encode.call_args
+ items = call_args[0][1]
+ assert len(items) == 1
+ assert "images" in items[0]
+ assert items[0]["images"] == [test_image_paths[0]]
+
+ def test_custom_model(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test using a custom model name."""
+ embedder = SIEImageEmbedder(model="google/siglip-base-patch16-224")
+ embedder._client = mock_sie_client
+
+ embedder.run(images=test_image_paths)
+
+ call_args = mock_sie_client.encode.call_args
+ assert call_args[0][0] == "google/siglip-base-patch16-224"
+
+ def test_warm_up(self) -> None:
+ """Test that warm_up method exists."""
+ embedder = SIEImageEmbedder(model="test-model")
+ assert embedder._client is None
+ assert hasattr(embedder, "warm_up")
+
+
+class TestSIEMultivectorTextEmbedder:
+ """Tests for SIEMultivectorTextEmbedder component."""
+
+ def test_run_returns_multivector(self, mock_sie_client: object) -> None:
+ """Run returns per-token embeddings as list[list[float]]."""
+ embedder = SIEMultivectorTextEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ result = embedder.run(text="What is vector search?")
+
+ assert "multivector_embedding" in result
+ mv = result["multivector_embedding"]
+ assert isinstance(mv, list)
+ assert all(isinstance(token_vec, list) for token_vec in mv)
+ assert all(isinstance(v, float) for v in mv[0])
+ assert len(mv[0]) == 128 # DEFAULT_MULTIVECTOR_TOKEN_DIM
+
+ def test_output_types_set_to_multivector(self, mock_sie_client: object) -> None:
+ """encode() is called with output_types=["multivector"]."""
+ embedder = SIEMultivectorTextEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ embedder.run(text="test")
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("output_types") == ["multivector"]
+
+ def test_is_query_flag_set(self, mock_sie_client: object) -> None:
+ """Query embeddings pass is_query=True."""
+ embedder = SIEMultivectorTextEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ embedder.run(text="test")
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("options") == {"is_query": True}
+
+ def test_custom_model(self, mock_sie_client: object) -> None:
+ """Custom model name is forwarded to encode()."""
+ embedder = SIEMultivectorTextEmbedder(model="answerdotai/answerai-colbert-small-v1")
+ embedder._client = mock_sie_client
+
+ embedder.run(text="test")
+
+ call_args = mock_sie_client.encode.call_args
+ assert call_args[0][0] == "answerdotai/answerai-colbert-small-v1"
+
+ def test_warm_up(self) -> None:
+ """warm_up initializes the client."""
+ embedder = SIEMultivectorTextEmbedder(model="test-model")
+ assert embedder._client is None
+ assert hasattr(embedder, "warm_up")
+
+ def test_lazy_client_initialization(self) -> None:
+ """Client is not created until first use."""
+ embedder = SIEMultivectorTextEmbedder(model="test-model")
+ assert embedder._client is None
+
+
+class TestSIEMultivectorDocumentEmbedder:
+ """Tests for SIEMultivectorDocumentEmbedder component."""
+
+ def test_run_stores_multivector_on_meta(self, mock_sie_client: object, haystack_documents: list[Document]) -> None:
+ """Multivector embeddings are stored on doc.meta['_multivector_embedding']."""
+ embedder = SIEMultivectorDocumentEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ result = embedder.run(documents=haystack_documents)
+
+ assert "documents" in result
+ for doc in result["documents"]:
+ mv = doc.meta.get("_multivector_embedding")
+ assert mv is not None
+ assert isinstance(mv, list)
+ assert all(isinstance(token_vec, list) for token_vec in mv)
+ assert len(mv[0]) == 128
+
+ def test_run_empty_documents(self, mock_sie_client: object) -> None:
+ """Empty documents list returns empty without calling SIE."""
+ embedder = SIEMultivectorDocumentEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ result = embedder.run(documents=[])
+
+ assert result == {"documents": []}
+ mock_sie_client.encode.assert_not_called()
+
+ def test_output_types_set_to_multivector(self, mock_sie_client: object) -> None:
+ """encode() is called with output_types=["multivector"]."""
+ embedder = SIEMultivectorDocumentEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ embedder.run(documents=[Document(content="test")])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("output_types") == ["multivector"]
+
+ def test_no_is_query_flag(self, mock_sie_client: object) -> None:
+ """Document embeddings do not set is_query."""
+ embedder = SIEMultivectorDocumentEmbedder(model="jinaai/jina-colbert-v2")
+ embedder._client = mock_sie_client
+
+ embedder.run(documents=[Document(content="test")])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert "options" not in call_kwargs or call_kwargs.get("options") is None
+
+ def test_meta_fields_to_embed(self, mock_sie_client: object) -> None:
+ """Metadata fields are prepended to document text."""
+ embedder = SIEMultivectorDocumentEmbedder(
+ model="jinaai/jina-colbert-v2",
+ meta_fields_to_embed=["category"],
+ )
+ embedder._client = mock_sie_client
+
+ docs = [Document(content="Python is great.", meta={"category": "programming"})]
+ embedder.run(documents=docs)
+
+ call_args = mock_sie_client.encode.call_args
+ items = call_args[0][1]
+ assert items[0]["text"] == "programming Python is great."
+
+ def test_custom_model(self, mock_sie_client: object) -> None:
+ """Custom model name is forwarded to encode()."""
+ embedder = SIEMultivectorDocumentEmbedder(model="answerdotai/answerai-colbert-small-v1")
+ embedder._client = mock_sie_client
+
+ embedder.run(documents=[Document(content="test")])
+
+ call_args = mock_sie_client.encode.call_args
+ assert call_args[0][0] == "answerdotai/answerai-colbert-small-v1"
diff --git a/integrations/sie_haystack/tests/test_extractors.py b/integrations/sie_haystack/tests/test_extractors.py
index 7f119de7e..36bd57637 100644
--- a/integrations/sie_haystack/tests/test_extractors.py
+++ b/integrations/sie_haystack/tests/test_extractors.py
@@ -9,8 +9,8 @@ from sie_haystack.extractors import Entity
class TestSIEExtractor:
"""Tests for SIEExtractor component."""
- def test_run_extracts_entities(self, mock_sie_client: object, test_ner_text: str) -> None:
- """Test that run extracts entities."""
+ def test_run_returns_all_types(self, mock_sie_client: object, test_ner_text: str) -> None:
+ """Test that run returns all extraction types."""
extractor = SIEExtractor(
model="test-extractor",
labels=["person", "organization", "location"],
@@ -20,7 +20,13 @@ class TestSIEExtractor:
result = extractor.run(text=test_ner_text)
assert "entities" in result
+ assert "relations" in result
+ assert "classifications" in result
+ assert "objects" in result
assert isinstance(result["entities"], list)
+ assert isinstance(result["relations"], list)
+ assert isinstance(result["classifications"], list)
+ assert isinstance(result["objects"], list)
# Mock should return at least some entities
for entity in result["entities"]:
assert isinstance(entity, Entity)
diff --git a/integrations/sie_lancedb/pyproject.toml b/integrations/sie_lancedb/pyproject.toml
new file mode 100644
index 000000000..8370357ae
--- /dev/null
+++ b/integrations/sie_lancedb/pyproject.toml
@@ -0,0 +1,32 @@
+[project]
+name = "sie-lancedb"
+version = "0.1.0"
+description = "SIE integration for LanceDB"
+requires-python = ">=3.12"
+dependencies = [
+ "sie-sdk>=0.1.0",
+ "lancedb>=0.17",
+ "pylance>=0.20",
+ "pyarrow>=14.0",
+]
+
+[project.optional-dependencies]
+dev = [
+ "pytest>=8.0",
+ "pytest-asyncio>=0.24",
+]
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build.targets.wheel]
+packages = ["src/sie_lancedb"]
+
+[tool.pytest.ini_options]
+testpaths = ["tests"]
+asyncio_mode = "auto"
+markers = [
+ "integration: marks tests as integration tests (require running SIE server and LanceDB)",
+]
+addopts = "-v --tb=short -m 'not integration'"
diff --git a/integrations/sie_lancedb/src/sie_lancedb/__init__.py b/integrations/sie_lancedb/src/sie_lancedb/__init__.py
new file mode 100644
index 000000000..fdf8196a6
--- /dev/null
+++ b/integrations/sie_lancedb/src/sie_lancedb/__init__.py
@@ -0,0 +1,70 @@
+"""SIE integration for LanceDB.
+
+This package provides LanceDB embedding functions, rerankers, and extractors
+that use SIE for inference:
+
+Embedding Functions (registered in LanceDB's embedding function registry):
+- SIEEmbeddingFunction: Dense embeddings via the "sie" registry name
+- SIEMultiVectorEmbeddingFunction: ColBERT/ColPali multi-vector via "sie-multivector"
+
+Rerankers:
+- SIEReranker: Cross-encoder reranking for hybrid search pipelines
+
+Extractors:
+- SIEExtractor: Entity extraction with table enrichment support
+
+Example usage with embedding function registry:
+
+ import lancedb
+ from lancedb.embeddings import get_registry
+ from lancedb.pydantic import LanceModel, Vector
+ import sie_lancedb # registers "sie" and "sie-multivector"
+
+ sie = get_registry().get("sie").create(model="BAAI/bge-m3")
+
+ class Documents(LanceModel):
+ text: str = sie.SourceField()
+ vector: Vector(sie.ndims()) = sie.VectorField()
+
+ db = lancedb.connect("~/.lancedb")
+ table = db.create_table("docs", schema=Documents)
+ table.add([{"text": "hello world"}]) # auto-embeds
+ results = table.search("hello").limit(5).to_list() # auto-embeds query
+
+Example usage with reranker:
+
+ from sie_lancedb import SIEReranker
+
+ table.create_fts_index("text")
+ results = (
+ table.search("hello", query_type="hybrid")
+ .rerank(SIEReranker(model="jinaai/jina-reranker-v2-base-multilingual"))
+ .limit(10)
+ .to_list()
+ )
+
+Example usage with extractor:
+
+ from sie_lancedb import SIEExtractor
+
+ extractor = SIEExtractor(model="urchade/gliner_multi-v2.1")
+ extractor.enrich_table(
+ table,
+ source_column="text",
+ target_column="entities",
+ labels=["person", "organization", "location"],
+ id_column="id",
+ )
+"""
+
+from sie_lancedb.embeddings import SIEEmbeddingFunction, SIEMultiVectorEmbeddingFunction
+from sie_lancedb.extractors import ENTITY_STRUCT, SIEExtractor
+from sie_lancedb.rerankers import SIEReranker
+
+__all__ = [
+ "ENTITY_STRUCT",
+ "SIEEmbeddingFunction",
+ "SIEExtractor",
+ "SIEMultiVectorEmbeddingFunction",
+ "SIEReranker",
+]
diff --git a/integrations/sie_lancedb/src/sie_lancedb/embeddings.py b/integrations/sie_lancedb/src/sie_lancedb/embeddings.py
new file mode 100644
index 000000000..2e5179cf8
--- /dev/null
+++ b/integrations/sie_lancedb/src/sie_lancedb/embeddings.py
@@ -0,0 +1,276 @@
+"""SIE embedding functions for LanceDB.
+
+Provides LanceDB-native embedding functions registered in the global registry:
+- SIEEmbeddingFunction: Dense text embeddings via "sie"
+- SIEMultiVectorEmbeddingFunction: ColBERT/ColPali multi-vector via "sie-multivector"
+
+These integrate with LanceDB's auto-embedding system: embeddings are computed
+automatically on table.add() and table.search() when the schema uses
+SourceField/VectorField annotations.
+"""
+
+from __future__ import annotations
+
+from typing import Any
+
+import numpy as np
+from lancedb.embeddings import EmbeddingFunction, TextEmbeddingFunction, register
+from pydantic import PrivateAttr
+
+
+@register("sie")
+class SIEEmbeddingFunction(TextEmbeddingFunction):
+ """Dense text embeddings via SIE, registered as "sie" in LanceDB.
+
+ Wraps SIEClient.encode() with output_types=["dense"] to implement
+ LanceDB's TextEmbeddingFunction interface. Embeddings are computed
+ automatically when using SourceField/VectorField annotations.
+
+ Example:
+ >>> from lancedb.embeddings import get_registry
+ >>> from lancedb.pydantic import LanceModel, Vector
+ >>> import sie_lancedb # registers "sie"
+ >>>
+ >>> sie = (
+ ... get_registry()
+ ... .get("sie")
+ ... .create(
+ ... model="BAAI/bge-m3",
+ ... base_url="http://localhost:8080",
+ ... )
+ ... )
+ >>>
+ >>> class Documents(LanceModel):
+ ... text: str = sie.SourceField()
+ ... vector: Vector(sie.ndims()) = sie.VectorField()
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Model name/ID to use for encoding.
+ instruction: Optional instruction prefix for embedding (model-dependent).
+ output_dtype: Output dtype: "float32" (default), "float16", "int8", "binary".
+ options: Runtime options dict passed to the model adapter.
+ gpu: Target GPU type for routing (e.g., "l4", "a100-80gb").
+ timeout_s: Request timeout in seconds.
+ """
+
+ base_url: str = "http://localhost:8080"
+ model: str = "BAAI/bge-m3"
+ instruction: str | None = None
+ output_dtype: str | None = None
+ options: dict[str, Any] | None = None
+ gpu: str | None = None
+ timeout_s: float = 180.0
+
+ _sie_client: Any = PrivateAttr(default=None)
+ _ndims: int | None = PrivateAttr(default=None)
+
+ @property
+ def client(self) -> Any:
+ """Lazily initialize the SIE client."""
+ if self._sie_client is None:
+ from sie_sdk import SIEClient
+
+ self._sie_client = SIEClient(
+ self.base_url,
+ timeout_s=self.timeout_s,
+ gpu=self.gpu,
+ options=self.options,
+ )
+ return self._sie_client
+
+ def ndims(self) -> int:
+ """Return embedding dimensionality.
+
+ Queries ``GET /v1/models/{model}`` on first call (lightweight,
+ reads from model config — no model loading or inference).
+ Cached after the first call per LanceDB's base class convention.
+ """
+ if self._ndims is None:
+ info = self.client.get_model(self.model)
+ dims = info.get("dims") or {}
+ if "dense" not in dims:
+ msg = f"Model '{self.model}' does not support dense embeddings"
+ raise ValueError(msg)
+ self._ndims = dims["dense"]
+ return self._ndims
+
+ def generate_embeddings(
+ self,
+ texts: list[str] | np.ndarray,
+ ) -> list[np.ndarray | None]:
+ """Generate dense embeddings for a list of texts.
+
+ Args:
+ texts: Texts to embed.
+
+ Returns:
+ List of embedding arrays, one per text.
+ """
+ if not len(texts):
+ return []
+
+ from sie_sdk.types import Item
+
+ items = [Item(text=t) for t in texts]
+ results = self.client.encode(
+ self.model,
+ items,
+ output_types=["dense"],
+ instruction=self.instruction,
+ output_dtype=self.output_dtype,
+ )
+
+ return [self._extract_dense(result) for result in results]
+
+ def _extract_dense(self, result: Any) -> list[float]:
+ """Extract dense embedding from encode result."""
+ dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
+ if dense is None:
+ msg = "Encode result missing dense embedding"
+ raise ValueError(msg)
+ return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+
+
+@register("sie-multivector")
+class SIEMultiVectorEmbeddingFunction(EmbeddingFunction):
+ """Multi-vector embeddings via SIE, registered as "sie-multivector" in LanceDB.
+
+ Wraps SIEClient.encode() with output_types=["multivector"] for ColBERT
+ and ColPali models. Works with LanceDB's MultiVector type and native
+ MaxSim scoring.
+
+ Example:
+ >>> from lancedb.embeddings import get_registry
+ >>> from lancedb.pydantic import LanceModel, MultiVector
+ >>> import sie_lancedb # registers "sie-multivector"
+ >>>
+ >>> sie_colbert = (
+ ... get_registry()
+ ... .get("sie-multivector")
+ ... .create(
+ ... model="jinaai/jina-colbert-v2",
+ ... base_url="http://localhost:8080",
+ ... )
+ ... )
+ >>>
+ >>> class Documents(LanceModel):
+ ... text: str = sie_colbert.SourceField()
+ ... vector: MultiVector(sie_colbert.ndims()) = sie_colbert.VectorField()
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Multi-vector model name/ID (e.g., ColBERT, ColPali).
+ instruction: Optional instruction prefix for embedding.
+ options: Runtime options dict passed to the model adapter.
+ gpu: Target GPU type for routing (e.g., "l4", "a100-80gb").
+ timeout_s: Request timeout in seconds.
+ """
+
+ base_url: str = "http://localhost:8080"
+ model: str = "jinaai/jina-colbert-v2"
+ instruction: str | None = None
+ options: dict[str, Any] | None = None
+ gpu: str | None = None
+ timeout_s: float = 180.0
+
+ _sie_client: Any = PrivateAttr(default=None)
+ _ndims: int | None = PrivateAttr(default=None)
+
+ @property
+ def client(self) -> Any:
+ """Lazily initialize the SIE client."""
+ if self._sie_client is None:
+ from sie_sdk import SIEClient
+
+ self._sie_client = SIEClient(
+ self.base_url,
+ timeout_s=self.timeout_s,
+ gpu=self.gpu,
+ options=self.options,
+ )
+ return self._sie_client
+
+ def ndims(self) -> int:
+ """Return per-token embedding dimensionality.
+
+ Queries ``GET /v1/models/{model}`` on first call (lightweight,
+ reads from model config — no model loading or inference).
+ Cached after the first call per LanceDB's base class convention.
+ """
+ if self._ndims is None:
+ info = self.client.get_model(self.model)
+ dims = info.get("dims") or {}
+ if "multivector" not in dims:
+ msg = f"Model '{self.model}' does not support multivector embeddings"
+ raise ValueError(msg)
+ self._ndims = dims["multivector"]
+ return self._ndims
+
+ def compute_source_embeddings(
+ self,
+ *args: Any,
+ **kwargs: Any, # noqa: ARG002
+ ) -> list[list[list[float]] | None]:
+ """Compute multi-vector embeddings for source documents.
+
+ Args:
+ *args: First positional arg is texts (str, list, pa.Array, etc.).
+
+ Returns:
+ List of 2D embeddings (tokens x dims), one per document.
+ """
+ texts = self.sanitize_input(args[0])
+
+ from sie_sdk.types import Item
+
+ items = [Item(text=t) for t in texts]
+ results = self.client.encode(
+ self.model,
+ items,
+ output_types=["multivector"],
+ instruction=self.instruction,
+ )
+
+ return [self._extract_multivector(result) for result in results]
+
+ def compute_query_embeddings(
+ self,
+ *args: Any,
+ **kwargs: Any, # noqa: ARG002
+ ) -> list[list[list[float]] | None]:
+ """Compute multi-vector embeddings for queries.
+
+ Passes is_query=True for models that differentiate query/document encoding.
+
+ Args:
+ *args: First positional arg is query text(s).
+
+ Returns:
+ List of 2D embeddings (tokens x dims), one per query.
+ """
+ query = args[0]
+ if isinstance(query, str):
+ query = [query]
+ texts = self.sanitize_input(query)
+
+ from sie_sdk.types import Item
+
+ items = [Item(text=t) for t in texts]
+ results = self.client.encode(
+ self.model,
+ items,
+ output_types=["multivector"],
+ instruction=self.instruction,
+ options={"is_query": True},
+ )
+
+ return [self._extract_multivector(result) for result in results]
+
+ def _extract_multivector(self, result: Any) -> list[list[float]]:
+ """Extract multi-vector embedding from encode result."""
+ mv = result.get("multivector") if isinstance(result, dict) else getattr(result, "multivector", None)
+ if mv is None:
+ msg = "Encode result missing multivector embedding"
+ raise ValueError(msg)
+ return mv.tolist() if hasattr(mv, "tolist") else list(mv)
diff --git a/integrations/sie_lancedb/src/sie_lancedb/extractors.py b/integrations/sie_lancedb/src/sie_lancedb/extractors.py
new file mode 100644
index 000000000..c3d0e1ea6
--- /dev/null
+++ b/integrations/sie_lancedb/src/sie_lancedb/extractors.py
@@ -0,0 +1,238 @@
+"""SIE entity extraction for LanceDB table enrichment.
+
+Provides entity extraction that integrates with LanceDB's lakehouse workflows.
+Results are stored as Arrow struct arrays, enabling filtered search on
+extracted entities.
+
+The extractor supports two usage patterns:
+1. Direct extraction: extract(texts, labels=...) for manual workflows
+2. Table enrichment: enrich_table() for the read-transform-merge pattern
+"""
+
+from __future__ import annotations
+
+from typing import TYPE_CHECKING, Any
+
+import pyarrow as pa
+
+if TYPE_CHECKING:
+ import lancedb
+ from sie_sdk import SIEClient
+
+# Arrow struct types for extracted results.
+# These are exported so users can reference them in custom schemas.
+
+ENTITY_STRUCT = pa.struct(
+ [
+ ("text", pa.utf8()),
+ ("label", pa.utf8()),
+ ("score", pa.float32()),
+ ("start", pa.int32()),
+ ("end", pa.int32()),
+ ("bbox", pa.list_(pa.int32())),
+ ]
+)
+"""Arrow struct for extracted entities.
+
+Fields:
+ text: Extracted text span or detected object label.
+ label: Entity type (e.g., "person", "organization").
+ score: Confidence score.
+ start: Character offset start (null for image-based models).
+ end: Character offset end (null for image-based models).
+ bbox: Bounding box [x, y, w, h] in pixels (null for text-based models).
+"""
+
+
+class SIEExtractor:
+ """Entity extraction with LanceDB table enrichment support.
+
+ Wraps SIEClient.extract() to provide entity extraction that integrates
+ with LanceDB's read-transform-merge enrichment pattern. Results are
+ stored as Arrow struct arrays for efficient filtered search.
+
+ Example (direct extraction):
+ >>> extractor = SIEExtractor(model="urchade/gliner_multi-v2.1")
+ >>> entities = extractor.extract(
+ ... ["John Smith works at Apple Inc."],
+ ... labels=["person", "organization"],
+ ... )
+
+ Example (table enrichment):
+ >>> extractor = SIEExtractor(model="urchade/gliner_multi-v2.1")
+ >>> extractor.enrich_table(
+ ... table,
+ ... source_column="text",
+ ... target_column="entities",
+ ... labels=["person", "organization", "location"],
+ ... id_column="id",
+ ... )
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Entity extraction model name/ID.
+ gpu: Target GPU type for routing (e.g., "l4", "a100-80gb").
+ options: Runtime options dict for model adapter overrides.
+ timeout_s: Request timeout in seconds.
+ """
+
+ def __init__(
+ self,
+ *,
+ base_url: str = "http://localhost:8080",
+ model: str = "urchade/gliner_multi-v2.1",
+ client: SIEClient | None = None,
+ gpu: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout_s: float = 180.0,
+ ) -> None:
+ """Initialize SIE extractor."""
+ self._base_url = base_url
+ self._model = model
+ self._gpu = gpu
+ self._options = options
+ self._timeout_s = timeout_s
+ self._client = client
+
+ @property
+ def client(self) -> SIEClient:
+ """Lazily initialize the SIE client."""
+ if self._client is None:
+ from sie_sdk import SIEClient
+
+ self._client = SIEClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._client
+
+ def extract(
+ self,
+ texts: list[str],
+ *,
+ labels: list[str],
+ batch_size: int = 100,
+ ) -> list[list[dict[str, Any]]]:
+ """Extract entities from a list of texts.
+
+ Args:
+ texts: Texts to extract entities from.
+ labels: Entity labels to extract (e.g., ["person", "organization"]).
+ batch_size: Number of texts per SIE request.
+
+ Returns:
+ List of entity lists, one per input text. Each entity is a dict
+ with keys: text, label, score, start, end, bbox.
+ """
+ if not texts:
+ return []
+
+ from sie_sdk.types import Item
+
+ all_entities: list[list[dict[str, Any]]] = []
+ for i in range(0, len(texts), batch_size):
+ batch = texts[i : i + batch_size]
+ items = [Item(text=t) for t in batch]
+ results = self.client.extract(self._model, items, labels=labels)
+
+ for result in results:
+ entities = result.get("entities", []) if isinstance(result, dict) else getattr(result, "entities", [])
+ all_entities.append(_format_entities(entities))
+
+ return all_entities
+
+ def enrich_table(
+ self,
+ table: lancedb.table.Table,
+ *,
+ source_column: str,
+ target_column: str,
+ labels: list[str],
+ id_column: str,
+ batch_size: int = 100,
+ ) -> None:
+ """Extract entities from a table column and merge results back.
+
+ Reads the source column, runs entity extraction in batches, and
+ adds results as a new Arrow struct column via table.merge().
+
+ The target column type is ``pa.list_(ENTITY_STRUCT)`` where each
+ entity has: text, label, score, start, end, bbox.
+
+ Args:
+ table: LanceDB table to enrich.
+ source_column: Column containing text to extract from.
+ target_column: Name for the new entities column.
+ labels: Entity labels to extract (e.g., ["person", "organization"]).
+ id_column: Column to join on when merging results back.
+ batch_size: Number of texts per SIE request.
+
+ Example:
+ >>> extractor = SIEExtractor(model="urchade/gliner_multi-v2.1")
+ >>> extractor.enrich_table(
+ ... table,
+ ... source_column="text",
+ ... target_column="entities",
+ ... labels=["person", "organization", "location"],
+ ... id_column="id",
+ ... )
+ >>> # Table now has an "entities" column:
+ >>> table.search("Apple").where("entities.label = 'organization'").to_list()
+ """
+ # Stream batch-by-batch: read only needed columns, extract, merge back.
+ # Scanner uses Lance's default batch size (~8K rows) to minimize merge
+ # operations, while self.extract() internally batches SIE requests at
+ # batch_size (default 100) which suits NER model throughput.
+ scanner = table.to_lance().scanner(columns=[source_column, id_column])
+ for batch in scanner.to_batches():
+ texts = batch.column(source_column).to_pylist()
+ entities_per_row = self.extract(texts, labels=labels, batch_size=batch_size)
+ entities_array = _build_entities_array(entities_per_row)
+ enrichment = pa.table(
+ {
+ id_column: batch.column(id_column),
+ target_column: entities_array,
+ }
+ )
+ table.merge(enrichment, id_column)
+
+
+def _format_entities(entities: list) -> list[dict[str, Any]]:
+ """Format raw entity results into normalized dicts.
+
+ Handles both dict and object responses from the SDK.
+ """
+ formatted = []
+ for e in entities:
+ if isinstance(e, dict):
+ formatted.append(
+ {
+ "text": e.get("text", ""),
+ "label": e.get("label", ""),
+ "score": float(e.get("score", 0.0)),
+ "start": e.get("start"),
+ "end": e.get("end"),
+ "bbox": e.get("bbox"),
+ }
+ )
+ else:
+ formatted.append(
+ {
+ "text": getattr(e, "text", ""),
+ "label": getattr(e, "label", ""),
+ "score": float(getattr(e, "score", 0.0)),
+ "start": getattr(e, "start", None),
+ "end": getattr(e, "end", None),
+ "bbox": getattr(e, "bbox", None),
+ }
+ )
+ return formatted
+
+
+def _build_entities_array(
+ entities_per_row: list[list[dict[str, Any]]],
+) -> pa.Array:
+ """Convert entity lists to a PyArrow array of ENTITY_STRUCT lists."""
+ return pa.array(entities_per_row, type=pa.list_(ENTITY_STRUCT))
diff --git a/integrations/sie_lancedb/src/sie_lancedb/rerankers.py b/integrations/sie_lancedb/src/sie_lancedb/rerankers.py
new file mode 100644
index 000000000..2388e9958
--- /dev/null
+++ b/integrations/sie_lancedb/src/sie_lancedb/rerankers.py
@@ -0,0 +1,181 @@
+"""SIE reranker for LanceDB hybrid search.
+
+Provides a LanceDB-native reranker that uses SIE's score endpoint for
+cross-encoder reranking in hybrid (vector + FTS) search pipelines.
+"""
+
+from __future__ import annotations
+
+from typing import TYPE_CHECKING, Any
+
+import pyarrow as pa
+from lancedb.rerankers import Reranker
+
+if TYPE_CHECKING:
+ from sie_sdk import SIEClient
+
+
+class SIEReranker(Reranker):
+ """LanceDB reranker using SIE's cross-encoder scoring.
+
+ Plugs into LanceDB's hybrid search pipeline via the .rerank() method.
+ Uses SIEClient.score() to compute relevance scores for query-document
+ pairs.
+
+ Example:
+ >>> from sie_lancedb import SIEReranker
+ >>>
+ >>> table.create_fts_index("text")
+ >>> results = (
+ ... table.search("flower moon", query_type="hybrid")
+ ... .rerank(SIEReranker(model="jinaai/jina-reranker-v2-base-multilingual"))
+ ... .limit(10)
+ ... .to_list()
+ ... )
+
+ Args:
+ base_url: URL of the SIE server.
+ model: Reranker model name/ID.
+ column: Name of the text column to rerank on.
+ gpu: Target GPU type for routing (e.g., "l4", "a100-80gb").
+ options: Runtime options dict for model adapter overrides.
+ timeout_s: Request timeout in seconds.
+ return_score: "relevance" (default) returns only _relevance_score,
+ "all" also keeps _distance and _score columns.
+ """
+
+ def __init__(
+ self,
+ *,
+ base_url: str = "http://localhost:8080",
+ model: str = "jinaai/jina-reranker-v2-base-multilingual",
+ column: str = "text",
+ gpu: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout_s: float = 180.0,
+ return_score: str = "relevance",
+ ) -> None:
+ """Initialize SIE reranker."""
+ super().__init__(return_score)
+ self._base_url = base_url
+ self._model = model
+ self._column = column
+ self._gpu = gpu
+ self._options = options
+ self._timeout_s = timeout_s
+ self._client: SIEClient | None = None
+
+ @property
+ def client(self) -> SIEClient:
+ """Lazily initialize the SIE client."""
+ if self._client is None:
+ from sie_sdk import SIEClient
+
+ self._client = SIEClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._client
+
+ def rerank_hybrid(
+ self,
+ query: str,
+ vector_results: pa.Table,
+ fts_results: pa.Table,
+ ) -> pa.Table:
+ """Rerank combined vector + FTS results.
+
+ Args:
+ query: Search query text.
+ vector_results: Results from vector search.
+ fts_results: Results from full-text search.
+
+ Returns:
+ Merged and reranked table with _relevance_score column.
+ """
+ combined = self.merge_results(vector_results, fts_results)
+ return self._rerank_table(query, combined)
+
+ def rerank_vector(
+ self,
+ query: str,
+ vector_results: pa.Table,
+ ) -> pa.Table:
+ """Rerank pure vector search results.
+
+ Args:
+ query: Search query text.
+ vector_results: Results from vector search.
+
+ Returns:
+ Reranked table with _relevance_score column.
+ """
+ return self._rerank_table(query, vector_results)
+
+ def rerank_fts(
+ self,
+ query: str,
+ fts_results: pa.Table,
+ ) -> pa.Table:
+ """Rerank pure full-text search results.
+
+ Args:
+ query: Search query text.
+ fts_results: Results from full-text search.
+
+ Returns:
+ Reranked table with _relevance_score column.
+ """
+ return self._rerank_table(query, fts_results)
+
+ def _rerank_table(self, query: str, table: pa.Table) -> pa.Table:
+ """Score all rows against the query and add _relevance_score.
+
+ Args:
+ query: Search query text.
+ table: Table with a text column to score against.
+
+ Returns:
+ Table sorted by _relevance_score descending.
+ """
+ if table.num_rows == 0:
+ return self._handle_empty_results(table)
+
+ from sie_sdk.types import Item
+
+ texts = table.column(self._column).to_pylist()
+ query_item = Item(text=query)
+ doc_items = [Item(text=str(t)) for t in texts]
+
+ results = self.client.score(self._model, query_item, doc_items)
+
+ # Build score array indexed by input position
+ scores = [0.0] * len(texts)
+ for result in results["scores"]:
+ if isinstance(result, dict):
+ idx = result.get("item_id", result.get("index"))
+ score = result.get("score", 0.0)
+ else:
+ idx = getattr(result, "item_id", getattr(result, "index", None))
+ score = getattr(result, "score", 0.0)
+
+ if idx is None:
+ continue
+ if isinstance(idx, str):
+ idx = int(idx)
+ if idx < len(scores):
+ scores[idx] = float(score)
+
+ # Add _relevance_score column and sort
+ table = table.append_column(
+ "_relevance_score",
+ pa.array(scores, type=pa.float32()),
+ )
+ table = table.sort_by([("_relevance_score", "descending")])
+
+ if self.score == "relevance":
+ table = self._keep_relevance_score(table)
+
+ return table
diff --git a/integrations/sie_lancedb/tests/__init__.py b/integrations/sie_lancedb/tests/__init__.py
new file mode 100644
index 000000000..e69de29bb
diff --git a/integrations/sie_lancedb/tests/conftest.py b/integrations/sie_lancedb/tests/conftest.py
new file mode 100644
index 000000000..8f127279f
--- /dev/null
+++ b/integrations/sie_lancedb/tests/conftest.py
@@ -0,0 +1,206 @@
+"""LanceDB-specific pytest fixtures."""
+
+from __future__ import annotations
+
+from typing import Any
+from unittest.mock import MagicMock
+
+import numpy as np
+import pyarrow as pa
+import pytest
+
+EMBEDDING_DIM = 384
+MULTIVECTOR_TOKEN_DIM = 128
+
+
+def _get_text(item: Any) -> str:
+ """Extract text from an item."""
+ if isinstance(item, dict):
+ return item.get("text", str(item))
+ if hasattr(item, "text"):
+ return item.text
+ return str(item)
+
+
+def _create_mock_encode_result(
+ text: str,
+ *,
+ include_dense: bool = True,
+ include_multivector: bool = False,
+) -> dict[str, Any]:
+ """Create a mock encode result with deterministic embeddings."""
+ result: dict[str, Any] = {}
+ rng = np.random.default_rng(hash(text) % (2**32))
+
+ if include_dense:
+ embedding = rng.standard_normal(EMBEDDING_DIM).astype(np.float32)
+ embedding = embedding / np.linalg.norm(embedding)
+ result["dense"] = embedding
+
+ if include_multivector:
+ num_tokens = len(text.split()) + 2
+ result["multivector"] = rng.standard_normal((num_tokens, MULTIVECTOR_TOKEN_DIM)).astype(np.float32)
+
+ return result
+
+
+def _create_mock_score_result(
+ query: str,
+ items: list[dict],
+) -> list[dict[str, Any]]:
+ """Create mock score results with deterministic scores."""
+ rng = np.random.default_rng(hash(query) % (2**32))
+ scores = rng.uniform(0, 1, len(items))
+ sorted_indices = np.argsort(scores)[::-1]
+
+ results = []
+ for rank, idx in enumerate(sorted_indices):
+ results.append(
+ {
+ "item_id": idx,
+ "score": float(scores[idx]),
+ "rank": rank,
+ }
+ )
+ return results
+
+
+def _create_mock_extract_result(text: str, labels: list[str]) -> dict[str, Any]:
+ """Create mock extract results (NER entities)."""
+ rng = np.random.default_rng(hash(text) % (2**32))
+ entities = []
+
+ words = text.split()
+ for i, word in enumerate(words):
+ if rng.random() > 0.7 and labels:
+ start = sum(len(w) + 1 for w in words[:i])
+ entities.append(
+ {
+ "text": word,
+ "label": labels[rng.integers(len(labels))],
+ "score": float(rng.uniform(0.7, 1.0)),
+ "start": start,
+ "end": start + len(word),
+ "bbox": None,
+ }
+ )
+
+ return {"entities": entities}
+
+
+def mock_sie_client() -> MagicMock:
+ """Create a mocked SIEClient for unit testing."""
+ client = MagicMock()
+
+ def mock_encode(
+ _model: str,
+ items: Any,
+ output_types: list[str] | None = None,
+ **kwargs: Any,
+ ) -> list[dict] | dict:
+ output_types = output_types or ["dense"]
+ include_dense = "dense" in output_types
+ include_multivector = "multivector" in output_types
+
+ if not isinstance(items, list):
+ return _create_mock_encode_result(
+ _get_text(items),
+ include_dense=include_dense,
+ include_multivector=include_multivector,
+ )
+
+ return [
+ _create_mock_encode_result(
+ _get_text(item),
+ include_dense=include_dense,
+ include_multivector=include_multivector,
+ )
+ for item in items
+ ]
+
+ def mock_score(
+ _model: str,
+ query: Any,
+ items: list[Any],
+ **kwargs: Any,
+ ) -> dict[str, Any]:
+ query_text = _get_text(query)
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return {
+ "model": _model,
+ "scores": _create_mock_score_result(query_text, item_dicts),
+ }
+
+ def mock_extract(
+ _model: str,
+ items: Any,
+ labels: list[str],
+ **_kwargs: Any,
+ ) -> list[dict] | dict:
+ if not isinstance(items, list):
+ return _create_mock_extract_result(_get_text(items), labels)
+ return [_create_mock_extract_result(_get_text(item), labels) for item in items]
+
+ _model_registry = {
+ "test-model": {
+ "name": "test-model",
+ "loaded": True,
+ "inputs": ["text"],
+ "outputs": ["dense", "multivector"],
+ "dims": {"dense": EMBEDDING_DIM, "multivector": MULTIVECTOR_TOKEN_DIM},
+ "max_sequence_length": 512,
+ },
+ "custom/model": {
+ "name": "custom/model",
+ "loaded": False,
+ "inputs": ["text"],
+ "outputs": ["dense"],
+ "dims": {"dense": EMBEDDING_DIM},
+ "max_sequence_length": 8192,
+ },
+ }
+
+ def mock_get_model(model_name: str) -> dict:
+ """Mock get_model returning metadata for a specific model."""
+ from sie_sdk import RequestError
+
+ if model_name not in _model_registry:
+ raise RequestError(404, f"Model '{model_name}' not found")
+ return _model_registry[model_name]
+
+ client.encode = MagicMock(side_effect=mock_encode)
+ client.score = MagicMock(side_effect=mock_score)
+ client.extract = MagicMock(side_effect=mock_extract)
+ client.get_model = MagicMock(side_effect=mock_get_model)
+ client.base_url = "http://localhost:8080"
+
+ return client
+
+
+def sample_texts() -> list[str]:
+ """Sample texts for testing embeddings."""
+ return [
+ "Machine learning is a subset of artificial intelligence.",
+ "Deep learning uses neural networks with multiple layers.",
+ "Natural language processing analyzes human language.",
+ ]
+
+
+def sample_table() -> pa.Table:
+ """Sample Arrow table for testing rerankers and extractors."""
+ return pa.table(
+ {
+ "id": [0, 1, 2, 3, 4],
+ "text": [
+ "Vector similarity search finds items with similar embeddings.",
+ "The weather today is sunny with clear skies.",
+ "Embedding models convert text to dense vectors.",
+ "Python is a popular programming language.",
+ "Nearest neighbor search uses distance metrics.",
+ ],
+ "_rowid": [0, 1, 2, 3, 4],
+ }
+ )
diff --git a/integrations/sie_lancedb/tests/test_embeddings.py b/integrations/sie_lancedb/tests/test_embeddings.py
new file mode 100644
index 000000000..37c113c80
--- /dev/null
+++ b/integrations/sie_lancedb/tests/test_embeddings.py
@@ -0,0 +1,328 @@
+"""Unit tests for SIE LanceDB embedding functions."""
+
+from __future__ import annotations
+
+import lancedb
+import numpy as np
+import pytest
+from lancedb.embeddings import get_registry
+from lancedb.pydantic import LanceModel, Vector
+from sie_lancedb import SIEEmbeddingFunction, SIEMultiVectorEmbeddingFunction
+
+
+def db(tmp_path):
+ """Ephemeral in-process LanceDB instance."""
+ return lancedb.connect(tmp_path / "test.lance")
+
+
+class TestSIEEmbeddingFunction:
+ """Tests for SIEEmbeddingFunction (dense embeddings)."""
+
+ def test_generate_embeddings(self, mock_sie_client: object, sample_texts: list[str]) -> None:
+ """Generating embeddings returns correct count and shape."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ results = func.generate_embeddings(sample_texts)
+
+ assert isinstance(results, list)
+ assert len(results) == len(sample_texts)
+ for vec in results:
+ assert isinstance(vec, list)
+ assert all(isinstance(v, float) for v in vec)
+ assert len(vec) == 384
+
+ def test_generate_embeddings_empty(self, mock_sie_client: object) -> None:
+ """Empty input returns empty list without calling SIE."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ result = func.generate_embeddings([])
+
+ assert result == []
+ mock_sie_client.encode.assert_not_called()
+
+ def test_ndims_from_metadata(self, mock_sie_client: object) -> None:
+ """ndims() queries GET /v1/models/{model}, not inference."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ assert func.ndims() == 384
+ mock_sie_client.get_model.assert_called_once_with("test-model")
+ mock_sie_client.encode.assert_not_called()
+
+ def test_ndims_cached(self, mock_sie_client: object) -> None:
+ """ndims() caches after first call."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ func.ndims()
+ func.ndims()
+
+ assert mock_sie_client.get_model.call_count == 1
+
+ def test_ndims_unknown_model_raises(self, mock_sie_client: object) -> None:
+ """ndims() raises for unknown model."""
+ from sie_sdk import RequestError
+
+ func = SIEEmbeddingFunction(model="nonexistent/model")
+ func._sie_client = mock_sie_client
+
+ with pytest.raises(RequestError):
+ func.ndims()
+
+ def test_deterministic_embeddings(self, mock_sie_client: object) -> None:
+ """Same text produces same embedding."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ r1 = func.generate_embeddings(["Machine learning"])
+ r2 = func.generate_embeddings(["Machine learning"])
+
+ assert r1[0] == r2[0]
+
+ def test_different_texts_different_embeddings(self, mock_sie_client: object) -> None:
+ """Different texts produce different embeddings."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ results = func.generate_embeddings(["Machine learning", "Weather forecast"])
+
+ assert results[0] != results[1]
+
+ def test_custom_model_forwarded(self, mock_sie_client: object) -> None:
+ """Model name is forwarded to SIE client."""
+ func = SIEEmbeddingFunction(model="custom/model")
+ func._sie_client = mock_sie_client
+
+ func.generate_embeddings(["test"])
+
+ call_args = mock_sie_client.encode.call_args
+ assert call_args[0][0] == "custom/model"
+
+ def test_output_types_set_to_dense(self, mock_sie_client: object) -> None:
+ """encode() is called with output_types=["dense"]."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ func.generate_embeddings(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("output_types") == ["dense"]
+
+ def test_instruction_forwarded(self, mock_sie_client: object) -> None:
+ """Instruction parameter is passed to encode()."""
+ func = SIEEmbeddingFunction(model="test-model", instruction="Represent this document:")
+ func._sie_client = mock_sie_client
+
+ func.generate_embeddings(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("instruction") == "Represent this document:"
+
+ def test_output_dtype_forwarded(self, mock_sie_client: object) -> None:
+ """output_dtype parameter is passed to encode()."""
+ func = SIEEmbeddingFunction(model="test-model", output_dtype="float16")
+ func._sie_client = mock_sie_client
+
+ func.generate_embeddings(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("output_dtype") == "float16"
+
+ def test_lazy_client_initialization(self) -> None:
+ """Client is not created until first use."""
+ func = SIEEmbeddingFunction(model="test-model")
+ assert func._sie_client is None
+
+ def test_extract_dense_raises_on_none(self) -> None:
+ """_extract_dense raises ValueError when dense is missing."""
+ func = SIEEmbeddingFunction(model="test-model")
+
+ with pytest.raises(ValueError, match="missing dense embedding"):
+ func._extract_dense({})
+
+ def test_normalized_embeddings(self, mock_sie_client: object) -> None:
+ """Embeddings are unit vectors (mock returns normalized)."""
+ func = SIEEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ results = func.generate_embeddings(["Test document"])
+
+ norm = float(np.linalg.norm(results[0]))
+ assert abs(norm - 1.0) < 0.01
+
+ def test_registered_in_registry(self) -> None:
+ """SIEEmbeddingFunction is registered as 'sie' in the LanceDB registry."""
+ cls = get_registry().get("sie")
+ assert cls is SIEEmbeddingFunction
+
+ def test_source_field_vector_field(self, mock_sie_client: object) -> None:
+ """SourceField/VectorField annotations work for schema definition."""
+ func = SIEEmbeddingFunction.create(model="test-model")
+ func._sie_client = mock_sie_client
+ func._ndims = 384
+
+ class TestSchema(LanceModel):
+ text: str = func.SourceField()
+ vector: Vector(384) = func.VectorField()
+
+ # Schema should have the correct fields
+ schema = TestSchema.to_arrow_schema()
+ assert "text" in schema.names
+ assert "vector" in schema.names
+
+ def test_auto_embed_table(self, mock_sie_client: object, db) -> None:
+ """Full round-trip: create table, add with auto-embed, search.
+
+ Patches the client property so LanceDB's internal retry wrapper
+ also uses the mock (it re-instantiates from serialized config).
+ """
+ from unittest.mock import patch
+
+ with patch.object(SIEEmbeddingFunction, "client", new_callable=lambda: property(lambda self: mock_sie_client)):
+ func = SIEEmbeddingFunction.create(model="test-model")
+
+ class TestSchema(LanceModel):
+ text: str = func.SourceField()
+ vector: Vector(func.ndims()) = func.VectorField()
+
+ table = db.create_table("test_auto_embed", schema=TestSchema, mode="overwrite")
+ table.add(
+ [
+ {"text": "Machine learning is great."},
+ {"text": "Weather is sunny today."},
+ {"text": "Deep learning uses neural networks."},
+ ]
+ )
+
+ assert table.count_rows() == 3
+
+ # Vectors were actually computed and stored
+ rows = table.to_pandas()
+ assert "vector" in rows.columns
+ for vec in rows["vector"]:
+ assert len(vec) == 384
+
+ # Search works (auto-embeds query)
+ results = table.search("machine learning").limit(2).to_list()
+ assert len(results) == 2
+ assert "text" in results[0]
+
+
+class TestSIEMultiVectorEmbeddingFunction:
+ """Tests for SIEMultiVectorEmbeddingFunction (ColBERT/ColPali)."""
+
+ def test_compute_source_embeddings(self, mock_sie_client: object, sample_texts: list[str]) -> None:
+ """Source embeddings return 2D arrays (tokens x dims)."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ results = func.compute_source_embeddings(sample_texts)
+
+ assert isinstance(results, list)
+ assert len(results) == len(sample_texts)
+ for mv in results:
+ assert isinstance(mv, list)
+ assert len(mv) > 0 # at least one token
+ assert len(mv[0]) == 128 # token dim
+
+ def test_compute_query_embeddings(self, mock_sie_client: object) -> None:
+ """Query embeddings return 2D arrays and pass is_query=True."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ results = func.compute_query_embeddings("search text")
+
+ assert isinstance(results, list)
+ assert len(results) == 1
+ assert isinstance(results[0], list)
+ assert len(results[0][0]) == 128
+
+ # Check is_query was passed
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("options") == {"is_query": True}
+
+ def test_compute_query_embeddings_string_input(self, mock_sie_client: object) -> None:
+ """String query is handled (wrapped in list internally)."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ results = func.compute_query_embeddings("single query")
+
+ assert len(results) == 1
+
+ def test_ndims_from_metadata(self, mock_sie_client: object) -> None:
+ """ndims() queries GET /v1/models/{model} for multivector dim."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ assert func.ndims() == 128
+ mock_sie_client.get_model.assert_called_once_with("test-model")
+ mock_sie_client.encode.assert_not_called()
+
+ def test_ndims_cached(self, mock_sie_client: object) -> None:
+ """ndims() caches after first call."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ func.ndims()
+ func.ndims()
+
+ assert mock_sie_client.get_model.call_count == 1
+
+ def test_ndims_no_multivector_raises(self, mock_sie_client: object) -> None:
+ """ndims() raises for model without multivector output."""
+ func = SIEMultiVectorEmbeddingFunction(model="custom/model")
+ func._sie_client = mock_sie_client
+
+ with pytest.raises(ValueError, match="does not support multivector"):
+ func.ndims()
+
+ def test_output_types_set_to_multivector(self, mock_sie_client: object) -> None:
+ """encode() is called with output_types=["multivector"]."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ func.compute_source_embeddings(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("output_types") == ["multivector"]
+
+ def test_source_does_not_pass_is_query(self, mock_sie_client: object) -> None:
+ """compute_source_embeddings() does not pass is_query."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ func._sie_client = mock_sie_client
+
+ func.compute_source_embeddings(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert "options" not in call_kwargs or call_kwargs.get("options") is None
+
+ def test_instruction_forwarded(self, mock_sie_client: object) -> None:
+ """Instruction parameter is passed to encode()."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model", instruction="Represent:")
+ func._sie_client = mock_sie_client
+
+ func.compute_source_embeddings(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("instruction") == "Represent:"
+
+ def test_lazy_client_initialization(self) -> None:
+ """Client is not created until first use."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+ assert func._sie_client is None
+
+ def test_extract_multivector_raises_on_none(self) -> None:
+ """_extract_multivector raises ValueError when multivector is missing."""
+ func = SIEMultiVectorEmbeddingFunction(model="test-model")
+
+ with pytest.raises(ValueError, match="missing multivector embedding"):
+ func._extract_multivector({})
+
+ def test_registered_in_registry(self) -> None:
+ """SIEMultiVectorEmbeddingFunction is registered as 'sie-multivector'."""
+ cls = get_registry().get("sie-multivector")
+ assert cls is SIEMultiVectorEmbeddingFunction
diff --git a/integrations/sie_lancedb/tests/test_extractors.py b/integrations/sie_lancedb/tests/test_extractors.py
new file mode 100644
index 000000000..71b3e1e5b
--- /dev/null
+++ b/integrations/sie_lancedb/tests/test_extractors.py
@@ -0,0 +1,249 @@
+"""Unit tests for SIE LanceDB extractor."""
+
+from __future__ import annotations
+
+import lancedb
+import pyarrow as pa
+import pytest
+from sie_lancedb import SIEExtractor
+from sie_lancedb.extractors import _build_entities_array, _format_entities
+
+
+def db(tmp_path):
+ """Ephemeral in-process LanceDB instance."""
+ return lancedb.connect(tmp_path / "test.lance")
+
+
+class TestSIEExtractor:
+ """Tests for SIEExtractor."""
+
+ def test_extract_returns_entities(self, mock_sie_client: object) -> None:
+ """Extracting from texts returns entity lists."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ results = extractor.extract(
+ ["John Smith works at Apple Inc. in California."],
+ labels=["PERSON", "ORGANIZATION", "LOCATION"],
+ )
+
+ assert isinstance(results, list)
+ assert len(results) == 1
+ for entity in results[0]:
+ assert "text" in entity
+ assert "label" in entity
+ assert "score" in entity
+ assert "start" in entity
+ assert "end" in entity
+ assert "bbox" in entity
+
+ def test_extract_batch(self, mock_sie_client: object) -> None:
+ """Extracting from multiple texts returns one list per text."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ texts = [
+ "John Smith works at Apple.",
+ "Tim Cook leads the company.",
+ "They are in California.",
+ ]
+ results = extractor.extract(texts, labels=["PERSON", "ORGANIZATION"])
+
+ assert len(results) == 3
+
+ def test_extract_empty(self, mock_sie_client: object) -> None:
+ """Empty input returns empty list."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ results = extractor.extract([], labels=["PERSON"])
+
+ assert results == []
+ mock_sie_client.extract.assert_not_called()
+
+ def test_extract_batching(self, mock_sie_client: object) -> None:
+ """Large inputs are split into batches."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ texts = [f"Text number {i}" for i in range(250)]
+ results = extractor.extract(texts, labels=["PERSON"], batch_size=100)
+
+ assert len(results) == 250
+ # 3 batches: 100 + 100 + 50
+ assert mock_sie_client.extract.call_count == 3
+
+ def test_extract_entity_fields(self, mock_sie_client: object) -> None:
+ """Extracted entities have correct field types."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ results = extractor.extract(
+ ["John Smith works at Apple Inc. in California."],
+ labels=["PERSON", "ORGANIZATION"],
+ )
+
+ for entity in results[0]:
+ assert isinstance(entity["text"], str)
+ assert isinstance(entity["label"], str)
+ assert isinstance(entity["score"], float)
+ if entity["start"] is not None:
+ assert isinstance(entity["start"], int)
+ if entity["end"] is not None:
+ assert isinstance(entity["end"], int)
+
+ def test_extract_labels_forwarded(self, mock_sie_client: object) -> None:
+ """Labels are forwarded to the SIE client."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ extractor.extract(["test"], labels=["CUSTOM_LABEL"])
+
+ call_kwargs = mock_sie_client.extract.call_args.kwargs
+ assert call_kwargs.get("labels") == ["CUSTOM_LABEL"]
+
+ def test_custom_model_forwarded(self, mock_sie_client: object) -> None:
+ """Model name is forwarded to SIE client."""
+ extractor = SIEExtractor(model="custom/extract-model", client=mock_sie_client)
+
+ extractor.extract(["test"], labels=["PERSON"])
+
+ call_args = mock_sie_client.extract.call_args
+ assert call_args[0][0] == "custom/extract-model"
+
+ def test_lazy_client_initialization(self) -> None:
+ """Client is not created until first use."""
+ extractor = SIEExtractor(model="test-model")
+ assert extractor._client is None
+
+ def test_enrich_table(self, mock_sie_client: object, db) -> None:
+ """enrich_table reads, extracts, and merges entities into a real LanceDB table."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ # Create a real LanceDB table
+ table = db.create_table(
+ "enrich_test",
+ data=[
+ {"id": 0, "text": "John Smith works at Apple."},
+ {"id": 1, "text": "Tim Cook leads the company."},
+ {"id": 2, "text": "They are based in California."},
+ ],
+ mode="overwrite",
+ )
+
+ assert "entities" not in table.to_pandas().columns
+
+ # Enrich the table
+ extractor.enrich_table(
+ table,
+ source_column="text",
+ target_column="entities",
+ labels=["PERSON", "ORGANIZATION"],
+ id_column="id",
+ )
+
+ # Verify the entities column was added
+ df = table.to_pandas()
+ assert "entities" in df.columns
+ assert len(df) == 3
+
+ # Each row should have entities (possibly empty)
+ for entities in df["entities"]:
+ for entity in entities:
+ assert "text" in entity
+ assert "label" in entity
+ assert "score" in entity
+
+ def test_enrich_table_preserves_existing_data(self, mock_sie_client: object, db) -> None:
+ """enrich_table adds the column without modifying existing columns."""
+ extractor = SIEExtractor(model="test-model", client=mock_sie_client)
+
+ table = db.create_table(
+ "preserve_test",
+ data=[
+ {"id": 0, "text": "Hello world.", "category": "greeting"},
+ {"id": 1, "text": "Goodbye world.", "category": "farewell"},
+ ],
+ mode="overwrite",
+ )
+
+ extractor.enrich_table(
+ table,
+ source_column="text",
+ target_column="entities",
+ labels=["PERSON"],
+ id_column="id",
+ )
+
+ df = table.to_pandas()
+ # Original columns preserved
+ assert list(df["category"]) == ["greeting", "farewell"]
+ assert list(df["text"]) == ["Hello world.", "Goodbye world."]
+ # New column added
+ assert "entities" in df.columns
+
+
+class TestFormatEntities:
+ """Tests for _format_entities helper."""
+
+ def test_format_dict_entities(self) -> None:
+ """Dict-style entities are formatted correctly."""
+ entities = [
+ {"text": "John", "label": "PERSON", "score": 0.95, "start": 0, "end": 4, "bbox": None},
+ ]
+
+ result = _format_entities(entities)
+
+ assert len(result) == 1
+ assert result[0]["text"] == "John"
+ assert result[0]["label"] == "PERSON"
+ assert result[0]["score"] == 0.95
+ assert result[0]["start"] == 0
+ assert result[0]["end"] == 4
+ assert result[0]["bbox"] is None
+
+ def test_format_empty_entities(self) -> None:
+ """Empty entity list returns empty list."""
+ assert _format_entities([]) == []
+
+ def test_format_entities_with_bbox(self) -> None:
+ """Entities with bbox (vision models) are preserved."""
+ entities = [
+ {"text": "person", "label": "object", "score": 0.9, "start": None, "end": None, "bbox": [10, 20, 50, 60]},
+ ]
+
+ result = _format_entities(entities)
+
+ assert result[0]["bbox"] == [10, 20, 50, 60]
+ assert result[0]["start"] is None
+
+ def test_format_entities_missing_fields(self) -> None:
+ """Entities with missing optional fields get defaults."""
+ entities = [{"text": "test", "label": "X", "score": 0.5}]
+
+ result = _format_entities(entities)
+
+ assert result[0]["start"] is None
+ assert result[0]["end"] is None
+ assert result[0]["bbox"] is None
+
+
+class TestBuildEntitiesArray:
+ """Tests for _build_entities_array helper."""
+
+ def test_builds_arrow_array(self) -> None:
+ """Builds a proper Arrow array of ENTITY_STRUCT lists."""
+ entities_per_row = [
+ [{"text": "John", "label": "PERSON", "score": 0.95, "start": 0, "end": 4, "bbox": None}],
+ [], # empty entities for second row
+ ]
+
+ result = _build_entities_array(entities_per_row)
+
+ assert isinstance(result, pa.Array)
+ assert pa.types.is_list(result.type)
+ assert len(result) == 2
+ assert len(result[0].as_py()) == 1
+ assert len(result[1].as_py()) == 0
+
+ def test_empty_input(self) -> None:
+ """Empty input produces empty array."""
+ result = _build_entities_array([])
+
+ assert isinstance(result, pa.Array)
+ assert len(result) == 0
diff --git a/integrations/sie_lancedb/tests/test_integration.py b/integrations/sie_lancedb/tests/test_integration.py
new file mode 100644
index 000000000..875c64f3c
--- /dev/null
+++ b/integrations/sie_lancedb/tests/test_integration.py
@@ -0,0 +1,201 @@
+"""Integration tests for sie-lancedb.
+
+These tests require a running SIE server and serve as runnable examples
+of LanceDB workflows using SIE embeddings, reranking, and extraction.
+
+Run with: pytest -m integration integrations/sie_lancedb/tests/
+
+Prerequisites:
+ mise run serve -d cpu -p 8080
+"""
+
+from __future__ import annotations
+
+import os
+
+import lancedb
+import pytest
+import sie_lancedb # noqa: F401 — registers "sie" and "sie-multivector"
+from lancedb.embeddings import get_registry
+from lancedb.pydantic import LanceModel, Vector
+
+# Skip all tests in this module if not running integration tests
+pytestmark = pytest.mark.integration
+
+
+def sie_url() -> str:
+ """Get SIE server URL from environment or default."""
+ return os.environ.get("SIE_SERVER_URL", "http://localhost:8080")
+
+
+def db(tmp_path):
+ """Ephemeral in-process LanceDB instance."""
+ return lancedb.connect(tmp_path / "integration_test.lance")
+
+
+class TestAutoEmbedding:
+ """Integration tests for auto-embedding via LanceDB registry."""
+
+ def test_auto_embed_and_search(self, sie_url: str, db) -> None:
+ """Full round-trip: register SIE, add with auto-embed, search."""
+ sie = (
+ get_registry()
+ .get("sie")
+ .create(
+ model="BAAI/bge-m3",
+ base_url=sie_url,
+ )
+ )
+
+ class Documents(LanceModel):
+ text: str = sie.SourceField()
+ vector: Vector(sie.ndims()) = sie.VectorField()
+
+ table = db.create_table("auto_embed", schema=Documents, mode="overwrite")
+ table.add(
+ [
+ {"text": "Machine learning is a subset of artificial intelligence."},
+ {"text": "The weather forecast predicts rain tomorrow."},
+ {"text": "Deep learning uses neural networks with multiple layers."},
+ {"text": "Stock prices fluctuated significantly today."},
+ ]
+ )
+
+ assert table.count_rows() == 4
+
+ # Search auto-embeds the query
+ results = table.search("How do neural networks work?").limit(2).to_list()
+
+ assert len(results) == 2
+ # ML-related docs should be most relevant
+ contents = [r["text"] for r in results]
+ assert any("neural" in c.lower() or "learning" in c.lower() for c in contents)
+
+ def test_ndims_from_server(self, sie_url: str) -> None:
+ """ndims() queries real server metadata without loading model."""
+ sie = (
+ get_registry()
+ .get("sie")
+ .create(
+ model="BAAI/bge-m3",
+ base_url=sie_url,
+ )
+ )
+
+ dim = sie.ndims()
+
+ assert dim == 1024 # BGE-M3 is 1024-dim
+
+
+class TestHybridSearchWithReranker:
+ """Integration tests for hybrid search + SIE reranking."""
+
+ def test_hybrid_search_with_reranker(self, sie_url: str, db) -> None:
+ """Hybrid search (vector + FTS) with SIE cross-encoder reranking."""
+ from sie_lancedb import SIEReranker
+
+ sie = (
+ get_registry()
+ .get("sie")
+ .create(
+ model="BAAI/bge-m3",
+ base_url=sie_url,
+ )
+ )
+
+ class Documents(LanceModel):
+ text: str = sie.SourceField()
+ vector: Vector(sie.ndims()) = sie.VectorField()
+
+ table = db.create_table("hybrid_search", schema=Documents, mode="overwrite")
+ table.add(
+ [
+ {"text": "SIE provides fast GPU inference for embeddings."},
+ {"text": "LanceDB is a multimodal lakehouse for AI."},
+ {"text": "Cross-encoder rerankers improve search precision."},
+ {"text": "The weather is sunny with clear skies."},
+ {"text": "Hybrid search combines vector and full-text search."},
+ ]
+ )
+
+ table.create_fts_index("text", replace=True)
+
+ reranker = SIEReranker(
+ base_url=sie_url,
+ model="jinaai/jina-reranker-v2-base-multilingual",
+ )
+
+ results = (
+ table.search("How does hybrid search improve results?", query_type="hybrid")
+ .rerank(reranker)
+ .limit(3)
+ .to_list()
+ )
+
+ assert len(results) == 3
+ assert "_relevance_score" in results[0]
+ # Scores should be descending
+ scores = [r["_relevance_score"] for r in results]
+ assert scores == sorted(scores, reverse=True)
+
+
+class TestEntityExtraction:
+ """Integration tests for entity extraction and table enrichment."""
+
+ def test_extract_entities(self, sie_url: str) -> None:
+ """Direct entity extraction from text."""
+ from sie_lancedb import SIEExtractor
+
+ extractor = SIEExtractor(
+ base_url=sie_url,
+ model="urchade/gliner_multi-v2.1",
+ )
+
+ results = extractor.extract(
+ ["Tim Cook leads Apple Inc. in Cupertino, California."],
+ labels=["person", "organization", "location"],
+ )
+
+ assert len(results) == 1
+ entities = results[0]
+ assert len(entities) > 0
+
+ labels_found = {e["label"] for e in entities}
+ assert "person" in labels_found or "organization" in labels_found
+
+ def test_enrich_table(self, sie_url: str, db) -> None:
+ """Enrich a LanceDB table with extracted entities."""
+ from sie_lancedb import SIEExtractor
+
+ table = db.create_table(
+ "enrich_test",
+ data=[
+ {"id": 0, "text": "Tim Cook is the CEO of Apple Inc."},
+ {"id": 1, "text": "Sundar Pichai leads Google in Mountain View."},
+ {"id": 2, "text": "Jensen Huang founded NVIDIA Corporation."},
+ ],
+ mode="overwrite",
+ )
+
+ extractor = SIEExtractor(
+ base_url=sie_url,
+ model="urchade/gliner_multi-v2.1",
+ )
+
+ extractor.enrich_table(
+ table,
+ source_column="text",
+ target_column="entities",
+ labels=["person", "organization", "location"],
+ id_column="id",
+ )
+
+ df = table.to_pandas()
+ assert "entities" in df.columns
+ assert len(df) == 3
+
+ # Each row should have extracted entities
+ for entities in df["entities"]:
+ assert isinstance(entities, list)
diff --git a/integrations/sie_lancedb/tests/test_rerankers.py b/integrations/sie_lancedb/tests/test_rerankers.py
new file mode 100644
index 000000000..95fc62c1c
--- /dev/null
+++ b/integrations/sie_lancedb/tests/test_rerankers.py
@@ -0,0 +1,186 @@
+"""Unit tests for SIE LanceDB reranker."""
+
+from __future__ import annotations
+
+import lancedb
+import pyarrow as pa
+import pytest
+from sie_lancedb import SIEReranker
+
+
+def db(tmp_path):
+ """Ephemeral in-process LanceDB instance."""
+ return lancedb.connect(tmp_path / "test.lance")
+
+
+class TestSIEReranker:
+ """Tests for SIEReranker."""
+
+ def test_rerank_vector(self, mock_sie_client: object, sample_table: pa.Table) -> None:
+ """Reranking vector results adds _relevance_score and sorts."""
+ reranker = SIEReranker(model="test-model")
+ reranker._client = mock_sie_client
+
+ result = reranker.rerank_vector("What is vector search?", sample_table)
+
+ assert isinstance(result, pa.Table)
+ assert "_relevance_score" in result.column_names
+ # Should be sorted descending by relevance
+ scores = result.column("_relevance_score").to_pylist()
+ assert scores == sorted(scores, reverse=True)
+
+ def test_rerank_fts(self, mock_sie_client: object, sample_table: pa.Table) -> None:
+ """Reranking FTS results adds _relevance_score."""
+ reranker = SIEReranker(model="test-model")
+ reranker._client = mock_sie_client
+
+ result = reranker.rerank_fts("What is vector search?", sample_table)
+
+ assert "_relevance_score" in result.column_names
+ scores = result.column("_relevance_score").to_pylist()
+ assert scores == sorted(scores, reverse=True)
+
+ def test_rerank_hybrid(self, mock_sie_client: object) -> None:
+ """Reranking hybrid results merges and scores."""
+ reranker = SIEReranker(model="test-model")
+ reranker._client = mock_sie_client
+
+ vector_results = pa.table(
+ {
+ "text": ["Vector search is fast.", "Embeddings represent meaning."],
+ "_rowid": [0, 1],
+ "_distance": [0.1, 0.3],
+ }
+ )
+ fts_results = pa.table(
+ {
+ "text": ["Embeddings represent meaning.", "Full text search uses BM25."],
+ "_rowid": [1, 2],
+ "_score": [2.5, 1.8],
+ }
+ )
+
+ result = reranker.rerank_hybrid("embeddings", vector_results, fts_results)
+
+ assert isinstance(result, pa.Table)
+ assert "_relevance_score" in result.column_names
+ # Merged results should have unique rows
+ assert result.num_rows >= 2
+
+ def test_rerank_empty_table(self, mock_sie_client: object) -> None:
+ """Empty table returns empty table with _relevance_score column."""
+ reranker = SIEReranker(model="test-model")
+ reranker._client = mock_sie_client
+
+ empty = pa.table({"text": pa.array([], type=pa.utf8()), "_rowid": pa.array([], type=pa.int64())})
+ result = reranker.rerank_vector("query", empty)
+
+ assert result.num_rows == 0
+ assert "_relevance_score" in result.column_names
+
+ def test_return_score_relevance(self, mock_sie_client: object, sample_table: pa.Table) -> None:
+ """return_score='relevance' drops _distance and _score columns."""
+ reranker = SIEReranker(model="test-model", return_score="relevance")
+ reranker._client = mock_sie_client
+
+ table_with_distance = sample_table.append_column(
+ "_distance", pa.array([0.1, 0.2, 0.3, 0.4, 0.5], type=pa.float32())
+ )
+
+ result = reranker.rerank_vector("query", table_with_distance)
+
+ assert "_relevance_score" in result.column_names
+ assert "_distance" not in result.column_names
+
+ def test_return_score_all(self, mock_sie_client: object, sample_table: pa.Table) -> None:
+ """return_score='all' keeps _distance and _score columns."""
+ reranker = SIEReranker(model="test-model", return_score="all")
+ reranker._client = mock_sie_client
+
+ table_with_distance = sample_table.append_column(
+ "_distance", pa.array([0.1, 0.2, 0.3, 0.4, 0.5], type=pa.float32())
+ )
+
+ result = reranker.rerank_vector("query", table_with_distance)
+
+ assert "_relevance_score" in result.column_names
+ assert "_distance" in result.column_names
+
+ def test_custom_column(self, mock_sie_client: object) -> None:
+ """Custom column name is used for text extraction."""
+ reranker = SIEReranker(model="test-model", column="content")
+ reranker._client = mock_sie_client
+
+ table = pa.table(
+ {
+ "content": ["Hello world", "Goodbye world"],
+ "_rowid": [0, 1],
+ }
+ )
+
+ result = reranker.rerank_vector("hello", table)
+
+ assert result.num_rows == 2
+ assert "_relevance_score" in result.column_names
+
+ def test_custom_model_forwarded(self, mock_sie_client: object, sample_table: pa.Table) -> None:
+ """Model name is forwarded to SIE client."""
+ reranker = SIEReranker(model="custom/reranker-model")
+ reranker._client = mock_sie_client
+
+ reranker.rerank_vector("query", sample_table)
+
+ call_args = mock_sie_client.score.call_args
+ assert call_args[0][0] == "custom/reranker-model"
+
+ def test_lazy_client_initialization(self) -> None:
+ """Client is not created until first use."""
+ reranker = SIEReranker(model="test-model")
+ assert reranker._client is None
+
+ def test_all_rows_scored(self, mock_sie_client: object, sample_table: pa.Table) -> None:
+ """Every row gets a relevance score."""
+ reranker = SIEReranker(model="test-model")
+ reranker._client = mock_sie_client
+
+ result = reranker.rerank_vector("query", sample_table)
+
+ scores = result.column("_relevance_score").to_pylist()
+ assert len(scores) == sample_table.num_rows
+ assert all(isinstance(s, float) for s in scores)
+ assert all(s > 0 for s in scores)
+
+ def test_rerank_on_real_lance_table(self, mock_sie_client: object, db) -> None:
+ """Reranker works with a real LanceDB table's search results."""
+ import numpy as np
+
+ # Create a table with pre-computed vectors
+ rng = np.random.default_rng(42)
+ data = [
+ {"id": i, "text": text, "vector": rng.standard_normal(8).astype(np.float32).tolist()}
+ for i, text in enumerate(
+ [
+ "Vector search finds similar items.",
+ "The weather is sunny.",
+ "Embedding models convert text to vectors.",
+ "Python is popular for ML.",
+ ]
+ )
+ ]
+ table = db.create_table("rerank_test", data=data, mode="overwrite")
+
+ # Run a vector search to get pa.Table results
+ query_vec = rng.standard_normal(8).astype(np.float32).tolist()
+ search_results = table.search(query_vec).limit(4).to_arrow()
+
+ # Rerank those results with SIE
+ reranker = SIEReranker(model="test-model")
+ reranker._client = mock_sie_client
+
+ reranked = reranker.rerank_vector("What are embeddings?", search_results)
+
+ assert "_relevance_score" in reranked.column_names
+ assert reranked.num_rows == 4
+ scores = reranked.column("_relevance_score").to_pylist()
+ assert scores == sorted(scores, reverse=True)
diff --git a/integrations/sie_langchain/pyproject.toml b/integrations/sie_langchain/pyproject.toml
index d09291429..e111603ab 100644
--- a/integrations/sie_langchain/pyproject.toml
+++ b/integrations/sie_langchain/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-langchain"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for LangChain"
requires-python = ">=3.10"
dependencies = [
diff --git a/integrations/sie_langchain/src/sie_langchain/embeddings.py b/integrations/sie_langchain/src/sie_langchain/embeddings.py
index 6d46ed280..1b20618c7 100644
--- a/integrations/sie_langchain/src/sie_langchain/embeddings.py
+++ b/integrations/sie_langchain/src/sie_langchain/embeddings.py
@@ -7,12 +7,9 @@ Provides drop-in replacement for OpenAI embeddings using SIE's inference server:
from __future__ import annotations
-from typing import TYPE_CHECKING
-
from langchain_core.embeddings import Embeddings
-
-if TYPE_CHECKING:
- from sie_sdk import SIEAsyncClient, SIEClient
+from sie_sdk import SIEAsyncClient, SIEClient
+from sie_sdk.encoding import dense_embedding, sparse_embedding
class SIEEmbeddings(Embeddings):
@@ -71,8 +68,6 @@ class SIEEmbeddings(Embeddings):
def client(self) -> SIEClient:
"""Get or create the sync SIEClient."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -85,8 +80,6 @@ class SIEEmbeddings(Embeddings):
def async_client(self) -> SIEAsyncClient:
"""Get or create the async SIEClient."""
if self._async_client is None:
- from sie_sdk import SIEAsyncClient
-
self._async_client = SIEAsyncClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -118,7 +111,7 @@ class SIEEmbeddings(Embeddings):
output_dtype=self._output_dtype,
)
- return [self._extract_dense(result) for result in results]
+ return [dense_embedding(result) for result in results]
def embed_query(self, text: str) -> list[float]:
"""Embed a single query text.
@@ -140,7 +133,7 @@ class SIEEmbeddings(Embeddings):
options={"is_query": True},
)
- return self._extract_dense(result)
+ return dense_embedding(result)
async def aembed_documents(self, texts: list[str]) -> list[list[float]]:
"""Async embed a list of documents.
@@ -165,7 +158,7 @@ class SIEEmbeddings(Embeddings):
output_dtype=self._output_dtype,
)
- return [self._extract_dense(result) for result in results]
+ return [dense_embedding(result) for result in results]
async def aembed_query(self, text: str) -> list[float]:
"""Async embed a single query text.
@@ -187,24 +180,7 @@ class SIEEmbeddings(Embeddings):
options={"is_query": True},
)
- return self._extract_dense(result)
-
- def _extract_dense(self, result: object) -> list[float]:
- """Extract dense embedding from encode result.
-
- Args:
- result: EncodeResult from SIE client (dict with "dense" key containing numpy array).
-
- Returns:
- Dense embedding as list of floats.
- """
- # SDK returns {"dense": np.ndarray, ...}
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- msg = "Encode result missing dense embedding"
- raise ValueError(msg)
- # Convert numpy array to list
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+ return dense_embedding(result)
class SIESparseEncoder:
@@ -249,8 +225,6 @@ class SIESparseEncoder:
def client(self) -> SIEClient:
"""Get or create the sync SIEClient."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -280,7 +254,7 @@ class SIESparseEncoder:
options={"is_query": True},
)
- return [self._extract_sparse(result) for result in results]
+ return [sparse_embedding(result) for result in results]
def encode_documents(self, texts: list[str]) -> list[dict[str, list]]:
"""Encode document texts to sparse vectors.
@@ -303,26 +277,4 @@ class SIESparseEncoder:
output_types=["sparse"],
)
- return [self._extract_sparse(result) for result in results]
-
- def _extract_sparse(self, result: object) -> dict[str, list]:
- """Extract sparse embedding from encode result.
-
- Args:
- result: EncodeResult from SIE client with "sparse" key.
-
- Returns:
- Dict with "indices" and "values" lists.
- """
- # SDK returns {"sparse": {"indices": np.ndarray, "values": np.ndarray}, ...}
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {"indices": [], "values": []}
-
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- return {
- "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
- "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
- }
+ return [sparse_embedding(result) for result in results]
diff --git a/integrations/sie_langchain/src/sie_langchain/extractors.py b/integrations/sie_langchain/src/sie_langchain/extractors.py
index dabf5b1ce..053ba6d29 100644
--- a/integrations/sie_langchain/src/sie_langchain/extractors.py
+++ b/integrations/sie_langchain/src/sie_langchain/extractors.py
@@ -1,6 +1,6 @@
-"""SIE entity extraction tool for LangChain.
+"""SIE extraction tool for LangChain.
-Provides NER extraction using SIE's extract endpoint.
+Provides entity, relation, classification, and object extraction using SIE's extract endpoint.
"""
from __future__ import annotations
@@ -9,6 +9,7 @@ from typing import TYPE_CHECKING, Any
from langchain_core.tools import BaseTool
from pydantic import ConfigDict, Field
+from sie_sdk.types import Item
if TYPE_CHECKING:
from langchain_core.callbacks import CallbackManagerForToolRun
@@ -16,9 +17,10 @@ if TYPE_CHECKING:
class SIEExtractor(BaseTool):
- """LangChain tool for entity extraction using SIE.
+ """LangChain tool for extraction using SIE.
Wraps SIEClient.extract() to implement BaseTool for use in agents.
+ Returns entities, relations, classifications, and detected objects.
Example:
>>> extractor = SIEExtractor(
@@ -26,12 +28,14 @@ class SIEExtractor(BaseTool):
... model="urchade/gliner_multi-v2.1",
... labels=["person", "organization", "location"],
... )
- >>> entities = extractor.invoke("John Smith works at Acme Corp in NYC")
+ >>> result = extractor.invoke("John Smith works at Acme Corp in NYC")
+ >>> result["entities"] # list of entity dicts
+ >>> result["relations"] # list of relation dicts
Args:
base_url: URL of the SIE server.
- model: Entity extraction model name/ID.
- labels: Entity labels to extract.
+ model: Extraction model name/ID.
+ labels: Labels to extract (entity types, relation types, or classification labels).
client: Optional pre-configured SIEClient instance.
async_client: Optional pre-configured SIEAsyncClient instance.
options: Runtime options dict for model adapter overrides.
@@ -42,11 +46,11 @@ class SIEExtractor(BaseTool):
# Pydantic v2 config
model_config = ConfigDict(arbitrary_types_allowed=True, extra="forbid")
- name: str = "sie_extract_entities"
+ name: str = "sie_extract"
description: str = (
- "Extract named entities from text. "
+ "Extract structured information from text. "
"Input should be text to analyze. "
- "Returns a list of entities with their labels and positions."
+ "Returns entities, relations, classifications, and detected objects."
)
base_url: str = Field(default="http://localhost:8080")
@@ -114,83 +118,130 @@ class SIEExtractor(BaseTool):
self,
text: str,
run_manager: CallbackManagerForToolRun | None = None, # noqa: ARG002
- ) -> list[dict[str, Any]]:
- """Extract entities from text.
+ ) -> dict[str, list[dict[str, Any]]]:
+ """Extract structured information from text.
Args:
- text: Text to extract entities from.
+ text: Text to extract from.
run_manager: Optional callback manager (not used).
Returns:
- List of extracted entities with text, label, score, start, end.
+ Dict with entities, relations, classifications, and objects lists.
"""
- from sie_sdk.types import Item
-
result = self.client.extract(
self.model,
Item(text=text),
labels=self.labels,
)
- return self._format_entities(result)
+ return self._format_result(result)
async def _arun(
self,
text: str,
run_manager: CallbackManagerForToolRun | None = None, # noqa: ARG002
- ) -> list[dict[str, Any]]:
- """Async extract entities from text.
+ ) -> dict[str, list[dict[str, Any]]]:
+ """Async extract structured information from text.
Args:
- text: Text to extract entities from.
+ text: Text to extract from.
run_manager: Optional callback manager (not used).
Returns:
- List of extracted entities with text, label, score, start, end.
+ Dict with entities, relations, classifications, and objects lists.
"""
- from sie_sdk.types import Item
-
result = await self.async_client.extract(
self.model,
Item(text=text),
labels=self.labels,
)
- return self._format_entities(result)
+ return self._format_result(result)
- def _format_entities(self, result: object) -> list[dict[str, Any]]:
- """Format extraction result into entity list.
+ def _format_result(self, result: object) -> dict[str, list[dict[str, Any]]]:
+ """Format extraction result into multi-type dict.
Args:
result: ExtractResult from SIE.
Returns:
- List of entity dictionaries.
+ Dict with entities, relations, classifications, and objects.
"""
- # Handle dict or object result
- entities = result.get("entities", []) if isinstance(result, dict) else getattr(result, "entities", [])
- formatted = []
- for entity in entities:
- if isinstance(entity, dict):
- formatted.append(
+ def _get(key: str) -> list:
+ if isinstance(result, dict):
+ return result.get(key, [])
+ return getattr(result, key, [])
+
+ entities = []
+ for e in _get("entities"):
+ if isinstance(e, dict):
+ entities.append(
+ {
+ "text": e.get("text", ""),
+ "label": e.get("label", ""),
+ "score": float(e.get("score", 0.0)),
+ "start": int(e.get("start", 0)),
+ "end": int(e.get("end", 0)),
+ }
+ )
+ else:
+ entities.append(
{
- "text": entity.get("text", ""),
- "label": entity.get("label", ""),
- "score": float(entity.get("score", 0.0)),
- "start": int(entity.get("start", 0)),
- "end": int(entity.get("end", 0)),
+ "text": getattr(e, "text", ""),
+ "label": getattr(e, "label", ""),
+ "score": float(getattr(e, "score", 0.0)),
+ "start": int(getattr(e, "start", 0)),
+ "end": int(getattr(e, "end", 0)),
}
)
+
+ relations = []
+ for r in _get("relations"):
+ if isinstance(r, dict):
+ relations.append(
+ {
+ "head": r.get("head", ""),
+ "tail": r.get("tail", ""),
+ "relation": r.get("relation", ""),
+ "score": float(r.get("score", 0.0)),
+ }
+ )
+ else:
+ relations.append(
+ {
+ "head": getattr(r, "head", ""),
+ "tail": getattr(r, "tail", ""),
+ "relation": getattr(r, "relation", ""),
+ "score": float(getattr(r, "score", 0.0)),
+ }
+ )
+
+ classifications = []
+ for c in _get("classifications"):
+ if isinstance(c, dict):
+ classifications.append({"label": c.get("label", ""), "score": float(c.get("score", 0.0))})
+ else:
+ classifications.append({"label": getattr(c, "label", ""), "score": float(getattr(c, "score", 0.0))})
+
+ objects = []
+ for o in _get("objects"):
+ if isinstance(o, dict):
+ objects.append(
+ {"label": o.get("label", ""), "score": float(o.get("score", 0.0)), "bbox": o.get("bbox", [])}
+ )
else:
- formatted.append(
+ objects.append(
{
- "text": getattr(entity, "text", ""),
- "label": getattr(entity, "label", ""),
- "score": float(getattr(entity, "score", 0.0)),
- "start": int(getattr(entity, "start", 0)),
- "end": int(getattr(entity, "end", 0)),
+ "label": getattr(o, "label", ""),
+ "score": float(getattr(o, "score", 0.0)),
+ "bbox": getattr(o, "bbox", []),
}
)
- return formatted
+ return {
+ "entities": entities,
+ "relations": relations,
+ "classifications": classifications,
+ "objects": objects,
+ }
diff --git a/integrations/sie_langchain/tests/test_extractors.py b/integrations/sie_langchain/tests/test_extractors.py
index bc49a9ecd..e8d2212b8 100644
--- a/integrations/sie_langchain/tests/test_extractors.py
+++ b/integrations/sie_langchain/tests/test_extractors.py
@@ -9,30 +9,39 @@ from sie_langchain import SIEExtractor
class TestSIEExtractor:
"""Tests for SIEExtractor class."""
- def test_extract_entities(self, mock_sie_client: object, test_ner_text: str) -> None:
- """Test extracting entities from text."""
+ def test_extract_returns_multi_type_dict(self, mock_sie_client: object, test_ner_text: str) -> None:
+ """Test extracting returns dict with all extraction types."""
extractor = SIEExtractor(
client=mock_sie_client, model="test-ner", labels=["PERSON", "ORGANIZATION", "LOCATION"]
)
result = extractor._run(test_ner_text)
- assert isinstance(result, list)
+ assert isinstance(result, dict)
+ assert "entities" in result
+ assert "relations" in result
+ assert "classifications" in result
+ assert "objects" in result
+ assert isinstance(result["entities"], list)
+ assert isinstance(result["relations"], list)
+ assert isinstance(result["classifications"], list)
+ assert isinstance(result["objects"], list)
# Mock may or may not return entities based on random seed
- for entity in result:
+ for entity in result["entities"]:
assert "text" in entity
assert "label" in entity
assert "score" in entity
assert "start" in entity
assert "end" in entity
- def test_extract_entities_invoke(self, mock_sie_client: object, test_ner_text: str) -> None:
- """Test extracting entities via invoke interface."""
+ def test_extract_invoke(self, mock_sie_client: object, test_ner_text: str) -> None:
+ """Test extracting via invoke interface."""
extractor = SIEExtractor(client=mock_sie_client, model="test-ner", labels=["PERSON", "ORGANIZATION"])
result = extractor.invoke(test_ner_text)
- assert isinstance(result, list)
+ assert isinstance(result, dict)
+ assert "entities" in result
def test_custom_labels(self, mock_sie_client: object) -> None:
"""Test using custom entity labels."""
@@ -55,29 +64,31 @@ class TestSIEExtractor:
"""Test tool has proper name and description."""
extractor = SIEExtractor()
- assert extractor.name == "sie_extract_entities"
- assert "entities" in extractor.description.lower()
+ assert extractor.name == "sie_extract"
+ assert "extract" in extractor.description.lower()
class TestSIEExtractorAsync:
"""Tests for async SIEExtractor methods."""
@pytest.mark.asyncio
- async def test_aextract_entities(self, mock_sie_async_client: object, test_ner_text: str) -> None:
- """Test async extracting entities."""
+ async def test_aextract(self, mock_sie_async_client: object, test_ner_text: str) -> None:
+ """Test async extracting."""
extractor = SIEExtractor(
async_client=mock_sie_async_client, model="test-ner", labels=["PERSON", "ORGANIZATION"]
)
result = await extractor._arun(test_ner_text)
- assert isinstance(result, list)
+ assert isinstance(result, dict)
+ assert "entities" in result
+ assert "relations" in result
@pytest.mark.asyncio
- async def test_aextract_entities_invoke(self, mock_sie_async_client: object, test_ner_text: str) -> None:
- """Test async extracting entities via ainvoke."""
+ async def test_aextract_invoke(self, mock_sie_async_client: object, test_ner_text: str) -> None:
+ """Test async extracting via ainvoke."""
extractor = SIEExtractor(async_client=mock_sie_async_client, model="test-ner")
result = await extractor.ainvoke(test_ner_text)
- assert isinstance(result, list)
+ assert isinstance(result, dict)
diff --git a/integrations/sie_llamaindex/pyproject.toml b/integrations/sie_llamaindex/pyproject.toml
index 2696b53c6..3ce75338b 100644
--- a/integrations/sie_llamaindex/pyproject.toml
+++ b/integrations/sie_llamaindex/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-llamaindex"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for LlamaIndex"
requires-python = ">=3.10"
dependencies = [
diff --git a/integrations/sie_llamaindex/src/sie_llamaindex/__init__.py b/integrations/sie_llamaindex/src/sie_llamaindex/__init__.py
index 286890f71..aaadee4b4 100644
--- a/integrations/sie_llamaindex/src/sie_llamaindex/__init__.py
+++ b/integrations/sie_llamaindex/src/sie_llamaindex/__init__.py
@@ -28,13 +28,14 @@ Hybrid search example:
... )
"""
-from sie_llamaindex.embeddings import SIEEmbedding, SIESparseEmbeddingFunction
+from sie_llamaindex.embeddings import SIEEmbedding, SIEMultiModalEmbedding, SIESparseEmbeddingFunction
from sie_llamaindex.extractors import SIEExtractorTool, create_sie_extractor_tool
from sie_llamaindex.rerankers import SIENodePostprocessor
__all__ = [
"SIEEmbedding",
"SIEExtractorTool",
+ "SIEMultiModalEmbedding",
"SIENodePostprocessor",
"SIESparseEmbeddingFunction",
"create_sie_extractor_tool",
diff --git a/integrations/sie_llamaindex/src/sie_llamaindex/embeddings.py b/integrations/sie_llamaindex/src/sie_llamaindex/embeddings.py
index b69251b58..fa367376d 100644
--- a/integrations/sie_llamaindex/src/sie_llamaindex/embeddings.py
+++ b/integrations/sie_llamaindex/src/sie_llamaindex/embeddings.py
@@ -2,18 +2,22 @@
Provides embedding generation using SIE's encode endpoint:
- SIEEmbedding: Dense embeddings implementing BaseEmbedding
+- SIEMultiModalEmbedding: Dense embeddings for text and images implementing MultiModalEmbedding
- SIESparseEmbeddingFunction: Sparse embeddings for hybrid search
"""
from __future__ import annotations
-from typing import TYPE_CHECKING, Any
+from io import BytesIO
+from typing import Any
from llama_index.core.base.embeddings.base import BaseEmbedding
from llama_index.core.bridge.pydantic import Field, PrivateAttr
-
-if TYPE_CHECKING:
- from sie_sdk import SIEAsyncClient, SIEClient
+from llama_index.core.embeddings.multi_modal_base import MultiModalEmbedding
+from llama_index.core.schema import ImageType
+from sie_sdk import SIEAsyncClient, SIEClient
+from sie_sdk.encoding import dense_embedding, sparse_embedding
+from sie_sdk.types import Item
class SIEEmbedding(BaseEmbedding):
@@ -93,8 +97,6 @@ class SIEEmbedding(BaseEmbedding):
def client(self) -> SIEClient:
"""Get or create the sync SIEClient."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self.base_url,
timeout_s=self.timeout_s,
@@ -107,8 +109,6 @@ class SIEEmbedding(BaseEmbedding):
def async_client(self) -> SIEAsyncClient:
"""Get or create the async SIEClient."""
if self._async_client is None:
- from sie_sdk import SIEAsyncClient
-
self._async_client = SIEAsyncClient(
self.base_url,
timeout_s=self.timeout_s,
@@ -126,8 +126,6 @@ class SIEEmbedding(BaseEmbedding):
Returns:
Embedding vector as list of floats.
"""
- from sie_sdk.types import Item
-
result = self.client.encode(
self.model_name,
Item(text=query),
@@ -137,7 +135,7 @@ class SIEEmbedding(BaseEmbedding):
options={"is_query": True},
)
- return self._extract_dense(result)
+ return dense_embedding(result)
def _get_text_embedding(self, text: str) -> list[float]:
"""Get embedding for a text string.
@@ -148,8 +146,6 @@ class SIEEmbedding(BaseEmbedding):
Returns:
Embedding vector as list of floats.
"""
- from sie_sdk.types import Item
-
result = self.client.encode(
self.model_name,
Item(text=text),
@@ -158,7 +154,7 @@ class SIEEmbedding(BaseEmbedding):
output_dtype=self.output_dtype,
)
- return self._extract_dense(result)
+ return dense_embedding(result)
def _get_text_embeddings(self, texts: list[str]) -> list[list[float]]:
"""Get embeddings for multiple texts.
@@ -172,8 +168,6 @@ class SIEEmbedding(BaseEmbedding):
if not texts:
return []
- from sie_sdk.types import Item
-
items = [Item(text=text) for text in texts]
results = self.client.encode(
self.model_name,
@@ -183,7 +177,7 @@ class SIEEmbedding(BaseEmbedding):
output_dtype=self.output_dtype,
)
- return [self._extract_dense(result) for result in results]
+ return [dense_embedding(result) for result in results]
async def _aget_query_embedding(self, query: str) -> list[float]:
"""Async get embedding for a query string.
@@ -194,8 +188,6 @@ class SIEEmbedding(BaseEmbedding):
Returns:
Embedding vector as list of floats.
"""
- from sie_sdk.types import Item
-
result = await self.async_client.encode(
self.model_name,
Item(text=query),
@@ -205,7 +197,7 @@ class SIEEmbedding(BaseEmbedding):
options={"is_query": True},
)
- return self._extract_dense(result)
+ return dense_embedding(result)
async def _aget_text_embedding(self, text: str) -> list[float]:
"""Async get embedding for a text string.
@@ -216,8 +208,163 @@ class SIEEmbedding(BaseEmbedding):
Returns:
Embedding vector as list of floats.
"""
- from sie_sdk.types import Item
+ result = await self.async_client.encode(
+ self.model_name,
+ Item(text=text),
+ output_types=["dense"],
+ instruction=self.instruction,
+ output_dtype=self.output_dtype,
+ )
+
+ return dense_embedding(result)
+
+
+class SIEMultiModalEmbedding(MultiModalEmbedding):
+ """LlamaIndex MultiModalEmbedding implementation using SIE.
+
+ Supports both text and image embedding, plugging into LlamaIndex's
+ multimodal RAG pipelines (e.g. MultiModalVectorStoreIndex).
+
+ Example:
+ >>> from llama_index.core import Settings
+ >>> from sie_llamaindex import SIEMultiModalEmbedding
+ >>>
+ >>> Settings.embed_model = SIEMultiModalEmbedding(
+ ... model_name="openai/clip-vit-large-patch14",
+ ... )
+ Args:
+ base_url: URL of the SIE server.
+ model_name: Model name/ID to use for encoding. Must support image input.
+ instruction: Optional instruction prefix for embedding (model-dependent).
+ output_dtype: Output dtype: "float32" (default), "float16", "int8", "binary".
+ options: Runtime options dict passed to the model adapter.
+ gpu: Target GPU type for routing (e.g., "l4", "a100-80gb").
+ timeout_s: Request timeout in seconds.
+ embed_batch_size: Batch size for embedding multiple items.
+ """
+
+ base_url: str = Field(default="http://localhost:8080", description="SIE server URL")
+ model_name: str = Field(default="openai/clip-vit-large-patch14", description="Model name/ID")
+ instruction: str | None = Field(default=None, description="Instruction prefix")
+ output_dtype: str | None = Field(default=None, description="Output dtype")
+ options: dict[str, Any] | None = Field(default=None, description="Runtime options")
+ gpu: str | None = Field(default=None, description="GPU type for routing")
+ timeout_s: float = Field(default=180.0, description="Request timeout")
+
+ _client: Any = PrivateAttr(default=None)
+ _async_client: Any = PrivateAttr(default=None)
+
+ def __init__(
+ self,
+ base_url: str = "http://localhost:8080",
+ model_name: str = "openai/clip-vit-large-patch14",
+ instruction: str | None = None,
+ output_dtype: str | None = None,
+ options: dict[str, Any] | None = None,
+ gpu: str | None = None,
+ timeout_s: float = 180.0,
+ embed_batch_size: int = 10,
+ **kwargs: Any,
+ ) -> None:
+ """Initialize SIE multimodal embedding model."""
+ super().__init__(
+ base_url=base_url,
+ model_name=model_name,
+ instruction=instruction,
+ output_dtype=output_dtype,
+ options=options,
+ gpu=gpu,
+ timeout_s=timeout_s,
+ embed_batch_size=embed_batch_size,
+ **kwargs,
+ )
+ self._client = None
+ self._async_client = None
+
+ @classmethod
+ def class_name(cls) -> str:
+ """Return class name for serialization."""
+ return "SIEMultiModalEmbedding"
+
+ @property
+ def client(self) -> SIEClient:
+ """Get or create the sync SIEClient."""
+ if self._client is None:
+ self._client = SIEClient(
+ self.base_url,
+ timeout_s=self.timeout_s,
+ gpu=self.gpu,
+ options=self.options,
+ )
+ return self._client
+
+ @property
+ def async_client(self) -> SIEAsyncClient:
+ """Get or create the async SIEClient."""
+ if self._async_client is None:
+ self._async_client = SIEAsyncClient(
+ self.base_url,
+ timeout_s=self.timeout_s,
+ gpu=self.gpu,
+ options=self.options,
+ )
+ return self._async_client
+
+ # -- Text embedding methods (same as SIEEmbedding) --
+
+ def _get_query_embedding(self, query: str) -> list[float]:
+ """Get embedding for a query string."""
+ result = self.client.encode(
+ self.model_name,
+ Item(text=query),
+ output_types=["dense"],
+ instruction=self.instruction,
+ output_dtype=self.output_dtype,
+ options={"is_query": True},
+ )
+ return dense_embedding(result)
+
+ def _get_text_embedding(self, text: str) -> list[float]:
+ """Get embedding for a text string."""
+ result = self.client.encode(
+ self.model_name,
+ Item(text=text),
+ output_types=["dense"],
+ instruction=self.instruction,
+ output_dtype=self.output_dtype,
+ )
+ return dense_embedding(result)
+
+ def _get_text_embeddings(self, texts: list[str]) -> list[list[float]]:
+ """Get embeddings for multiple texts."""
+ if not texts:
+ return []
+
+ items = [Item(text=text) for text in texts]
+ results = self.client.encode(
+ self.model_name,
+ items,
+ output_types=["dense"],
+ instruction=self.instruction,
+ output_dtype=self.output_dtype,
+ )
+ return [dense_embedding(result) for result in results]
+
+ async def _aget_query_embedding(self, query: str) -> list[float]:
+ """Async get embedding for a query string."""
+ result = await self.async_client.encode(
+ self.model_name,
+ Item(text=query),
+ output_types=["dense"],
+ instruction=self.instruction,
+ output_dtype=self.output_dtype,
+ options={"is_query": True},
+ )
+ return dense_embedding(result)
+
+ async def _aget_text_embedding(self, text: str) -> list[float]:
+ """Async get embedding for a text string."""
result = await self.async_client.encode(
self.model_name,
Item(text=text),
@@ -225,25 +372,66 @@ class SIEEmbedding(BaseEmbedding):
instruction=self.instruction,
output_dtype=self.output_dtype,
)
+ return dense_embedding(result)
- return self._extract_dense(result)
+ # -- Image embedding methods (MultiModalEmbedding interface) --
- def _extract_dense(self, result: object) -> list[float]:
- """Extract dense embedding from encode result.
+ def _get_image_embedding(self, img_file_path: ImageType) -> list[float]:
+ """Get embedding for a single image.
Args:
- result: EncodeResult from SIE client (dict with "dense" key containing numpy array).
+ img_file_path: File path (str) or BytesIO of the image.
Returns:
- Dense embedding as list of floats.
+ Embedding vector as list of floats.
"""
- # SDK returns {"dense": np.ndarray, ...}
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- msg = "Encode result missing dense embedding"
- raise ValueError(msg)
- # Convert numpy array to list
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+ img = img_file_path.getvalue() if isinstance(img_file_path, BytesIO) else img_file_path
+ result = self.client.encode(
+ self.model_name,
+ Item(images=[img]),
+ output_types=["dense"],
+ output_dtype=self.output_dtype,
+ )
+ return dense_embedding(result)
+
+ async def _aget_image_embedding(self, img_file_path: ImageType) -> list[float]:
+ """Async get embedding for a single image.
+
+ Args:
+ img_file_path: File path (str) or BytesIO of the image.
+
+ Returns:
+ Embedding vector as list of floats.
+ """
+ img = img_file_path.getvalue() if isinstance(img_file_path, BytesIO) else img_file_path
+ result = await self.async_client.encode(
+ self.model_name,
+ Item(images=[img]),
+ output_types=["dense"],
+ output_dtype=self.output_dtype,
+ )
+ return dense_embedding(result)
+
+ def _get_image_embeddings(self, img_file_paths: list[ImageType]) -> list[list[float]]:
+ """Get embeddings for multiple images in a single batch.
+
+ Args:
+ img_file_paths: List of file paths or BytesIO objects.
+
+ Returns:
+ List of embedding vectors.
+ """
+ if not img_file_paths:
+ return []
+
+ items = [Item(images=[img.getvalue() if isinstance(img, BytesIO) else img]) for img in img_file_paths]
+ results = self.client.encode(
+ self.model_name,
+ items,
+ output_types=["dense"],
+ output_dtype=self.output_dtype,
+ )
+ return [dense_embedding(result) for result in results]
class SIESparseEmbeddingFunction:
@@ -290,8 +478,6 @@ class SIESparseEmbeddingFunction:
def client(self) -> SIEClient:
"""Get or create the sync SIEClient."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -311,8 +497,6 @@ class SIESparseEmbeddingFunction:
if not texts:
return [], []
- from sie_sdk.types import Item
-
items = [Item(text=text) for text in texts]
results = self.client.encode(
self._model_name,
@@ -324,7 +508,7 @@ class SIESparseEmbeddingFunction:
indices_list = []
values_list = []
for result in results:
- sparse = self._extract_sparse(result)
+ sparse = sparse_embedding(result)
indices_list.append(sparse["indices"])
values_list.append(sparse["values"])
@@ -342,8 +526,6 @@ class SIESparseEmbeddingFunction:
if not texts:
return [], []
- from sie_sdk.types import Item
-
items = [Item(text=text) for text in texts]
results = self.client.encode(
self._model_name,
@@ -354,30 +536,8 @@ class SIESparseEmbeddingFunction:
indices_list = []
values_list = []
for result in results:
- sparse = self._extract_sparse(result)
+ sparse = sparse_embedding(result)
indices_list.append(sparse["indices"])
values_list.append(sparse["values"])
return indices_list, values_list
-
- def _extract_sparse(self, result: object) -> dict[str, list]:
- """Extract sparse embedding from encode result.
-
- Args:
- result: EncodeResult from SIE client with "sparse" key.
-
- Returns:
- Dict with "indices" and "values" lists.
- """
- # SDK returns {"sparse": {"indices": np.ndarray, "values": np.ndarray}, ...}
- sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
- if sparse is None:
- return {"indices": [], "values": []}
-
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- return {
- "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
- "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
- }
diff --git a/integrations/sie_llamaindex/src/sie_llamaindex/extractors.py b/integrations/sie_llamaindex/src/sie_llamaindex/extractors.py
index aaf3cb6b7..e7ac2425b 100644
--- a/integrations/sie_llamaindex/src/sie_llamaindex/extractors.py
+++ b/integrations/sie_llamaindex/src/sie_llamaindex/extractors.py
@@ -1,6 +1,6 @@
-"""SIE entity extraction tool for LlamaIndex.
+"""SIE extraction tool for LlamaIndex.
-Provides NER extraction using SIE's extract endpoint.
+Provides entity, relation, classification, and object extraction using SIE's extract endpoint.
"""
from __future__ import annotations
@@ -20,13 +20,14 @@ def create_sie_extractor_tool(
options: dict[str, Any] | None = None,
gpu: str | None = None,
timeout_s: float = 180.0,
- name: str = "sie_extract_entities",
+ name: str = "sie_extract",
description: str | None = None,
) -> FunctionTool:
- """Create a LlamaIndex FunctionTool for entity extraction.
+ """Create a LlamaIndex FunctionTool for extraction.
Creates a tool that wraps SIE's extract endpoint for use with
- LlamaIndex agents and workflows.
+ LlamaIndex agents and workflows. Returns entities, relations,
+ classifications, and detected objects.
Example:
>>> from llama_index.core.agent import ReActAgent
@@ -43,8 +44,8 @@ def create_sie_extractor_tool(
Args:
base_url: URL of the SIE server.
- model: Entity extraction model name/ID.
- labels: Entity labels to extract.
+ model: Extraction model name/ID.
+ labels: Labels to extract.
options: Runtime options dict for model adapter overrides.
gpu: Target GPU type for routing (e.g., "l4", "a100-80gb").
timeout_s: Request timeout in seconds.
@@ -52,16 +53,16 @@ def create_sie_extractor_tool(
description: Tool description for the agent.
Returns:
- FunctionTool wrapping SIE entity extraction.
+ FunctionTool wrapping SIE extraction.
"""
if labels is None:
labels = ["person", "organization", "location"]
if description is None:
description = (
- "Extract named entities from text. "
+ "Extract structured information from text. "
f"Finds entities of types: {', '.join(labels)}. "
- "Returns a list of entities with their labels, positions, and confidence scores."
+ "Returns entities, relations, classifications, and detected objects."
)
# Create extractor instance to hold state
@@ -74,19 +75,19 @@ def create_sie_extractor_tool(
timeout_s=timeout_s,
)
- def extract_entities(text: str) -> list[dict[str, Any]]:
- """Extract named entities from text.
+ def extract(text: str) -> dict[str, list[dict[str, Any]]]:
+ """Extract structured information from text.
Args:
- text: Text to extract entities from.
+ text: Text to extract from.
Returns:
- List of extracted entities with text, label, score, start, end.
+ Dict with entities, relations, classifications, and objects.
"""
return extractor.extract(text)
return FunctionTool.from_defaults(
- fn=extract_entities,
+ fn=extract,
name=name,
description=description,
)
@@ -126,14 +127,14 @@ class _SIEExtractor:
)
return self._client
- def extract(self, text: str) -> list[dict[str, Any]]:
- """Extract entities from text.
+ def extract(self, text: str) -> dict[str, list[dict[str, Any]]]:
+ """Extract structured information from text.
Args:
- text: Text to extract entities from.
+ text: Text to extract from.
Returns:
- List of extracted entities.
+ Dict with entities, relations, classifications, and objects.
"""
from sie_sdk.types import Item
@@ -143,44 +144,68 @@ class _SIEExtractor:
labels=self._labels,
)
- return self._format_entities(result)
-
- def _format_entities(self, result: object) -> list[dict[str, Any]]:
- """Format extraction result into entity list.
-
- Args:
- result: ExtractResult from SIE.
-
- Returns:
- List of entity dictionaries.
- """
- # Handle dict or object result
- entities = result.get("entities", []) if isinstance(result, dict) else getattr(result, "entities", [])
-
- formatted = []
- for entity in entities:
- if isinstance(entity, dict):
- formatted.append(
- {
- "text": entity.get("text", ""),
- "label": entity.get("label", ""),
- "score": float(entity.get("score", 0.0)),
- "start": int(entity.get("start", 0)),
- "end": int(entity.get("end", 0)),
- }
- )
- else:
- formatted.append(
- {
- "text": getattr(entity, "text", ""),
- "label": getattr(entity, "label", ""),
- "score": float(getattr(entity, "score", 0.0)),
- "start": int(getattr(entity, "start", 0)),
- "end": int(getattr(entity, "end", 0)),
- }
- )
-
- return formatted
+ return self._format_result(result)
+
+ def _format_result(self, result: object) -> dict[str, list[dict[str, Any]]]:
+ """Format extraction result into multi-type dict."""
+
+ def _get(key: str) -> list:
+ if isinstance(result, dict):
+ return result.get(key, [])
+ return getattr(result, key, [])
+
+ def _entity(e: Any) -> dict:
+ if isinstance(e, dict):
+ return {
+ "text": e.get("text", ""),
+ "label": e.get("label", ""),
+ "score": float(e.get("score", 0.0)),
+ "start": int(e.get("start", 0)),
+ "end": int(e.get("end", 0)),
+ }
+ return {
+ "text": getattr(e, "text", ""),
+ "label": getattr(e, "label", ""),
+ "score": float(getattr(e, "score", 0.0)),
+ "start": int(getattr(e, "start", 0)),
+ "end": int(getattr(e, "end", 0)),
+ }
+
+ def _relation(r: Any) -> dict:
+ if isinstance(r, dict):
+ return {
+ "head": r.get("head", ""),
+ "tail": r.get("tail", ""),
+ "relation": r.get("relation", ""),
+ "score": float(r.get("score", 0.0)),
+ }
+ return {
+ "head": getattr(r, "head", ""),
+ "tail": getattr(r, "tail", ""),
+ "relation": getattr(r, "relation", ""),
+ "score": float(getattr(r, "score", 0.0)),
+ }
+
+ def _classification(c: Any) -> dict:
+ if isinstance(c, dict):
+ return {"label": c.get("label", ""), "score": float(c.get("score", 0.0))}
+ return {"label": getattr(c, "label", ""), "score": float(getattr(c, "score", 0.0))}
+
+ def _object(o: Any) -> dict:
+ if isinstance(o, dict):
+ return {"label": o.get("label", ""), "score": float(o.get("score", 0.0)), "bbox": o.get("bbox", [])}
+ return {
+ "label": getattr(o, "label", ""),
+ "score": float(getattr(o, "score", 0.0)),
+ "bbox": getattr(o, "bbox", []),
+ }
+
+ return {
+ "entities": [_entity(e) for e in _get("entities")],
+ "relations": [_relation(r) for r in _get("relations")],
+ "classifications": [_classification(c) for c in _get("classifications")],
+ "objects": [_object(o) for o in _get("objects")],
+ }
# Alias for consistency with other integrations
diff --git a/integrations/sie_llamaindex/tests/test_embeddings.py b/integrations/sie_llamaindex/tests/test_embeddings.py
index 2d1aeb0a3..d4c0e2c54 100644
--- a/integrations/sie_llamaindex/tests/test_embeddings.py
+++ b/integrations/sie_llamaindex/tests/test_embeddings.py
@@ -1,9 +1,11 @@
-"""Unit tests for SIEEmbedding and SIESparseEmbeddingFunction."""
+"""Unit tests for SIEEmbedding, SIEMultiModalEmbedding, and SIESparseEmbeddingFunction."""
from __future__ import annotations
+from io import BytesIO
+
import pytest
-from sie_llamaindex import SIEEmbedding, SIESparseEmbeddingFunction
+from sie_llamaindex import SIEEmbedding, SIEMultiModalEmbedding, SIESparseEmbeddingFunction
class TestSIEEmbedding:
@@ -81,6 +83,100 @@ class TestSIEEmbedding:
assert SIEEmbedding.class_name() == "SIEEmbedding"
+class TestSIEMultiModalEmbedding:
+ """Tests for SIEMultiModalEmbedding class."""
+
+ def test_get_image_embedding(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test getting embedding for a single image."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._client = mock_sie_client
+
+ result = embedding._get_image_embedding(test_image_paths[0])
+
+ assert len(result) == 384
+ assert all(isinstance(x, float) for x in result)
+
+ def test_get_image_embeddings_batch(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test getting embeddings for multiple images."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._client = mock_sie_client
+
+ results = embedding._get_image_embeddings(test_image_paths)
+
+ assert len(results) == 2
+ for result in results:
+ assert len(result) == 384
+
+ def test_get_image_embeddings_empty(self, mock_sie_client: object) -> None:
+ """Test getting embeddings for empty list."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._client = mock_sie_client
+
+ results = embedding._get_image_embeddings([])
+
+ assert results == []
+
+ def test_get_image_embedding_with_bytesio(self, mock_sie_client: object) -> None:
+ """Test getting embedding with BytesIO input."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._client = mock_sie_client
+
+ image_bytes = BytesIO(b"\xff\xd8\xff\xe0" + b"\x00" * 100)
+ result = embedding._get_image_embedding(image_bytes)
+
+ assert len(result) == 384
+
+ def test_encode_called_with_images(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test that encode is called with images in Item."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._client = mock_sie_client
+
+ embedding._get_image_embedding(test_image_paths[0])
+
+ call_args = mock_sie_client.encode.call_args
+ item = call_args[0][1]
+ assert "images" in item
+ assert item["images"] == [test_image_paths[0]]
+
+ def test_text_embedding_still_works(self, mock_sie_client: object) -> None:
+ """Test that text methods still work on the multimodal class."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._client = mock_sie_client
+
+ result = embedding._get_text_embedding("Hello world")
+
+ assert len(result) == 384
+
+ def test_class_name(self) -> None:
+ """Test class_name returns correct identifier."""
+ assert SIEMultiModalEmbedding.class_name() == "SIEMultiModalEmbedding"
+
+ def test_custom_model(self, mock_sie_client: object, test_image_paths: list[str]) -> None:
+ """Test using a custom model name."""
+ embedding = SIEMultiModalEmbedding(model_name="google/siglip-base-patch16-224")
+ embedding._client = mock_sie_client
+
+ embedding._get_image_embedding(test_image_paths[0])
+
+ call_args = mock_sie_client.encode.call_args
+ assert call_args[0][0] == "google/siglip-base-patch16-224"
+
+
+class TestSIEMultiModalEmbeddingAsync:
+ """Tests for async SIEMultiModalEmbedding methods."""
+
+ @pytest.mark.asyncio
+ async def test_aget_image_embedding(self, mock_sie_async_client: object, test_image_paths: list[str]) -> None:
+ """Test async getting embedding for image."""
+ embedding = SIEMultiModalEmbedding(model_name="openai/clip-vit-large-patch14")
+ embedding._async_client = mock_sie_async_client
+
+ result = await embedding._aget_image_embedding(test_image_paths[0])
+
+ assert len(result) == 384
+ mock_sie_async_client.encode.assert_called()
+
+
class TestSIEEmbeddingAsync:
"""Tests for async SIEEmbedding methods."""
diff --git a/integrations/sie_llamaindex/tests/test_extractors.py b/integrations/sie_llamaindex/tests/test_extractors.py
index 1bbf27361..5b225decc 100644
--- a/integrations/sie_llamaindex/tests/test_extractors.py
+++ b/integrations/sie_llamaindex/tests/test_extractors.py
@@ -15,7 +15,7 @@ class TestSIEExtractorTool:
labels=["person", "organization"],
)
- assert tool.metadata.name == "sie_extract_entities"
+ assert tool.metadata.name == "sie_extract"
assert "person" in tool.metadata.description
assert "organization" in tool.metadata.description
@@ -35,11 +35,14 @@ class TestSIEExtractorTool:
result = extractor.extract("John Smith works at Acme Corp in New York")
- assert isinstance(result, list)
+ assert isinstance(result, dict)
+ assert "entities" in result
+ assert "relations" in result
+ assert "classifications" in result
+ assert "objects" in result
# Mock uses probabilistic entity extraction, so result may be empty
- if len(result) > 0:
- # Check entity structure if entities were extracted
- entity = result[0]
+ if len(result["entities"]) > 0:
+ entity = result["entities"][0]
assert "text" in entity
assert "label" in entity
assert "score" in entity
diff --git a/integrations/sie_qdrant/pyproject.toml b/integrations/sie_qdrant/pyproject.toml
index c7b07843c..0efff7209 100644
--- a/integrations/sie_qdrant/pyproject.toml
+++ b/integrations/sie_qdrant/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-qdrant"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for Qdrant"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_qdrant/src/sie_qdrant/__init__.py b/integrations/sie_qdrant/src/sie_qdrant/__init__.py
index f1ae6e3f4..07621bbe0 100644
--- a/integrations/sie_qdrant/src/sie_qdrant/__init__.py
+++ b/integrations/sie_qdrant/src/sie_qdrant/__init__.py
@@ -3,11 +3,11 @@
This package provides vectorizer helpers for Qdrant:
- SIEVectorizer: Compute dense embeddings via SIE for Qdrant collections
-- SIENamedVectorizer: Compute multiple vector types (dense + sparse) for Qdrant named vectors
+- SIENamedVectorizer: Compute multiple vector types (dense, sparse, multivector) for Qdrant named vectors
-Qdrant supports both dense and sparse vectors natively. Dense vectors are
-stored as ``list[float]``, and sparse vectors use ``SparseVector(indices, values)``
-— no expansion to full vocabulary length is needed (unlike Weaviate).
+Qdrant supports dense, sparse, and multivector embeddings natively. Dense vectors
+are stored as ``list[float]``, sparse vectors use ``SparseVector(indices, values)``,
+and multivectors (ColBERT) are stored as ``list[list[float]]``.
Example usage (dense):
diff --git a/integrations/sie_qdrant/src/sie_qdrant/vectorizer.py b/integrations/sie_qdrant/src/sie_qdrant/vectorizer.py
index 477491ffb..00c0b4c99 100644
--- a/integrations/sie_qdrant/src/sie_qdrant/vectorizer.py
+++ b/integrations/sie_qdrant/src/sie_qdrant/vectorizer.py
@@ -12,6 +12,9 @@ from __future__ import annotations
from typing import Any
+from sie_sdk import SIEClient
+from sie_sdk.encoding import dense_embedding, multivector_embedding, normalize_sparse_vector
+
class SIEVectorizer:
"""Compute dense embeddings via SIE for Qdrant collections.
@@ -64,8 +67,6 @@ class SIEVectorizer:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -98,7 +99,7 @@ class SIEVectorizer:
output_dtype=self._output_dtype,
)
- return [self._extract_dense(result) for result in results]
+ return [dense_embedding(result) for result in results]
def embed_query(self, text: str) -> list[float]:
"""Embed a single query text.
@@ -124,15 +125,7 @@ class SIEVectorizer:
options={"is_query": True},
)
- return self._extract_dense(result)
-
- def _extract_dense(self, result: Any) -> list[float]:
- """Extract dense embedding values from SDK result."""
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- msg = "Encode result missing dense embedding"
- raise ValueError(msg)
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+ return dense_embedding(result)
class SIENamedVectorizer:
@@ -195,8 +188,6 @@ class SIENamedVectorizer:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -263,6 +254,7 @@ class SIENamedVectorizer:
Dense vectors are converted to ``list[float]``.
Sparse vectors are returned as ``{"indices": list[int], "values": list[float]}``
matching Qdrant's native ``SparseVector`` format.
+ Multivectors are returned as ``list[list[float]]`` for ColBERT/late-interaction models.
"""
named: dict[str, Any] = {}
for output_type in self._output_types:
@@ -270,30 +262,9 @@ class SIENamedVectorizer:
if raw is None:
continue
if output_type == "sparse":
- named[output_type] = self._format_sparse(raw)
+ named[output_type] = normalize_sparse_vector(raw)
+ elif output_type == "multivector":
+ named[output_type] = multivector_embedding(raw)
else:
named[output_type] = raw.tolist() if hasattr(raw, "tolist") else list(raw)
return named
-
- @staticmethod
- def _format_sparse(sparse: Any) -> dict[str, list]:
- """Format SIE sparse output for Qdrant's SparseVector.
-
- SIE returns sparse vectors as ``{"indices": [...], "values": [...]}``.
- Qdrant's ``SparseVector`` accepts the same format natively, so we
- just convert numpy arrays to Python lists.
-
- Unlike Weaviate (which requires expanding sparse to full vocabulary
- length), Qdrant stores sparse vectors efficiently in their native
- indices+values form.
- """
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- if indices is None or values is None:
- return {"indices": [], "values": []}
-
- indices_list = indices.tolist() if hasattr(indices, "tolist") else list(indices)
- values_list = values.tolist() if hasattr(values, "tolist") else list(values)
-
- return {"indices": indices_list, "values": values_list}
diff --git a/integrations/sie_qdrant/tests/conftest.py b/integrations/sie_qdrant/tests/conftest.py
index 3d9052321..a6a6b104d 100644
--- a/integrations/sie_qdrant/tests/conftest.py
+++ b/integrations/sie_qdrant/tests/conftest.py
@@ -16,6 +16,7 @@ import pytest
EMBEDDING_DIM = 384
SPARSE_DIM = 30522 # BERT vocab size
+MULTIVECTOR_TOKEN_DIM = 128
def _create_mock_encode_result(
@@ -23,6 +24,7 @@ def _create_mock_encode_result(
*,
include_dense: bool = True,
include_sparse: bool = False,
+ include_multivector: bool = False,
) -> list[dict]:
"""Create mock encode results with deterministic embeddings."""
results = []
@@ -44,6 +46,10 @@ def _create_mock_encode_result(
"values": rng.uniform(0, 1, num_nonzero).astype(np.float32),
}
+ if include_multivector:
+ num_tokens = len(text.split()) + 2
+ result["multivector"] = rng.standard_normal((num_tokens, MULTIVECTOR_TOKEN_DIM)).astype(np.float32)
+
results.append(result)
return results
@@ -74,15 +80,26 @@ def mock_sie_client() -> MagicMock:
output_types = output_types or ["dense"]
include_dense = "dense" in output_types
include_sparse = "sparse" in output_types
+ include_multivector = "multivector" in output_types
if not isinstance(items, list):
items = [items]
item_dicts = [{"text": _get_text(items[0])}]
- results = _create_mock_encode_result(item_dicts, include_dense=include_dense, include_sparse=include_sparse)
+ results = _create_mock_encode_result(
+ item_dicts,
+ include_dense=include_dense,
+ include_sparse=include_sparse,
+ include_multivector=include_multivector,
+ )
return results[0]
item_dicts = [{"text": _get_text(i)} for i in items]
- return _create_mock_encode_result(item_dicts, include_dense=include_dense, include_sparse=include_sparse)
+ return _create_mock_encode_result(
+ item_dicts,
+ include_dense=include_dense,
+ include_sparse=include_sparse,
+ include_multivector=include_multivector,
+ )
client.encode = MagicMock(side_effect=mock_encode)
client.base_url = "http://localhost:8080"
diff --git a/integrations/sie_qdrant/tests/test_vectorizer.py b/integrations/sie_qdrant/tests/test_vectorizer.py
index 42e689890..af20bf181 100644
--- a/integrations/sie_qdrant/tests/test_vectorizer.py
+++ b/integrations/sie_qdrant/tests/test_vectorizer.py
@@ -150,12 +150,12 @@ class TestSIEVectorizer:
assert call_kwargs.get("instruction") == "Represent this query:"
assert call_kwargs.get("options") == {"is_query": True}
- def test_extract_dense_raises_on_none(self, mock_sie_client: object) -> None:
- """_extract_dense raises ValueError when dense is missing."""
- vectorizer = SIEVectorizer(model="test-model")
+ def test_extract_dense_raises_on_none(self) -> None:
+ """extract_dense raises ValueError when dense is missing."""
+ from sie_sdk.encoding import dense_embedding
with pytest.raises(ValueError, match="missing dense embedding"):
- vectorizer._extract_dense({})
+ dense_embedding({})
class TestSIENamedVectorizer:
@@ -272,7 +272,47 @@ class TestSIENamedVectorizer:
call_kwargs = mock_sie_client.encode.call_args.kwargs
assert call_kwargs.get("output_dtype") == "float16"
+ def test_multivector_output_type(self, mock_sie_client: object) -> None:
+ """Multivector output returns list[list[float]] (per-token embeddings)."""
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "multivector"])
+ vectorizer._client = mock_sie_client
+
+ named = vectorizer.embed_documents(["hello world test"])
+
+ assert len(named) == 1
+ assert "dense" in named[0]
+ assert "multivector" in named[0]
+ mv = named[0]["multivector"]
+ assert isinstance(mv, list)
+ assert all(isinstance(token_vec, list) for token_vec in mv)
+ assert all(isinstance(v, float) for v in mv[0])
+ assert len(mv[0]) == 128 # MULTIVECTOR_TOKEN_DIM
+
+ def test_multivector_query(self, mock_sie_client: object) -> None:
+ """embed_query with multivector returns per-token embeddings."""
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "multivector"])
+ vectorizer._client = mock_sie_client
+
+ named = vectorizer.embed_query("search text")
+
+ assert "multivector" in named
+ mv = named["multivector"]
+ assert isinstance(mv, list)
+ assert all(isinstance(token_vec, list) for token_vec in mv)
+
+ def test_multivector_output_types_forwarded(self, mock_sie_client: object) -> None:
+ """Multivector in output_types is passed to encode()."""
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "multivector"])
+ vectorizer._client = mock_sie_client
+
+ vectorizer.embed_documents(["test"])
+
+ call_kwargs = mock_sie_client.encode.call_args.kwargs
+ assert call_kwargs.get("output_types") == ["dense", "multivector"]
+
def test_format_sparse_with_empty_input(self) -> None:
- """_format_sparse handles missing indices/values gracefully."""
- result = SIENamedVectorizer._format_sparse({})
+ """format_sparse handles missing indices/values gracefully."""
+ from sie_sdk.encoding import normalize_sparse_vector
+
+ result = normalize_sparse_vector({})
assert result == {"indices": [], "values": []}
diff --git a/integrations/sie_ts_chroma/package.json b/integrations/sie_ts_chroma/package.json
index ef9c2afd0..3fc1bd984 100644
--- a/integrations/sie_ts_chroma/package.json
+++ b/integrations/sie_ts_chroma/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-chroma",
- "version": "0.1.9",
+ "version": "0.1.10",
"description": "SIE embedding function for ChromaDB",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_ts_chroma/src/index.ts b/integrations/sie_ts_chroma/src/index.ts
index 4e04a4f56..0ab0a634f 100644
--- a/integrations/sie_ts_chroma/src/index.ts
+++ b/integrations/sie_ts_chroma/src/index.ts
@@ -32,7 +32,8 @@ import {
type EncodeResult,
SIEClient,
type SIEClientOptions,
- toNumberArray,
+ denseEmbedding,
+ sparseEmbedding,
} from "@superlinked/sie-sdk";
import type { IEmbeddingFunction } from "chromadb";
@@ -157,18 +158,7 @@ export class SIEEmbeddingFunction implements IEmbeddingFunction {
};
const results = await this.client.encode(this.model, items, options);
- return (results as EncodeResult[]).map((result) => this.extractDense(result));
- }
-
- /**
- * Extract dense embedding from encode result.
- */
- private extractDense(result: EncodeResult): number[] {
- const dense = result.dense;
- if (!dense) {
- throw new Error("Encode result missing dense embedding");
- }
- return toNumberArray(dense);
+ return (results as EncodeResult[]).map((result) => denseEmbedding(result));
}
/**
@@ -286,7 +276,7 @@ export class SIESparseEmbeddingFunction {
};
const results = await this.client.encode(this.model, items, options);
- return (results as EncodeResult[]).map((result) => this.extractSparse(result));
+ return (results as EncodeResult[]).map((result) => sparseEmbedding(result));
}
/**
@@ -312,21 +302,6 @@ export class SIESparseEmbeddingFunction {
});
}
- /**
- * Extract sparse embedding from encode result.
- */
- private extractSparse(result: EncodeResult): SparseEmbedding {
- const sparse = result.sparse;
- if (!sparse) {
- return { indices: [], values: [] };
- }
-
- return {
- indices: toNumberArray(sparse.indices),
- values: toNumberArray(sparse.values),
- };
- }
-
/**
* Close the underlying client connection.
*/
diff --git a/integrations/sie_ts_chroma/tests/embedding.test.ts b/integrations/sie_ts_chroma/tests/embedding.test.ts
index 21e3b73fb..64a93a0f6 100644
--- a/integrations/sie_ts_chroma/tests/embedding.test.ts
+++ b/integrations/sie_ts_chroma/tests/embedding.test.ts
@@ -11,14 +11,15 @@ import {
} from "../src/index.js";
// Mock the SIEClient
-vi.mock("@superlinked/sie-sdk", () => {
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
const mockClient = {
encode: vi.fn(),
};
return {
+ ...actual,
SIEClient: vi.fn().mockImplementation(() => mockClient),
- toNumberArray: (arr: Float32Array | Int32Array | number[]) => Array.from(arr),
};
});
diff --git a/integrations/sie_ts_lancedb/biome.json b/integrations/sie_ts_lancedb/biome.json
new file mode 100644
index 000000000..d60c72ea3
--- /dev/null
+++ b/integrations/sie_ts_lancedb/biome.json
@@ -0,0 +1,38 @@
+{
+ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
+ "organizeImports": {
+ "enabled": true
+ },
+ "linter": {
+ "enabled": true,
+ "rules": {
+ "recommended": true,
+ "correctness": {
+ "noUnusedImports": "error",
+ "noUnusedVariables": "error"
+ },
+ "style": {
+ "useConst": "error",
+ "noNonNullAssertion": "warn"
+ },
+ "suspicious": {
+ "noExplicitAny": "warn"
+ }
+ }
+ },
+ "formatter": {
+ "enabled": true,
+ "indentStyle": "space",
+ "indentWidth": 2,
+ "lineWidth": 100
+ },
+ "javascript": {
+ "formatter": {
+ "quoteStyle": "double",
+ "semicolons": "always"
+ }
+ },
+ "files": {
+ "ignore": ["dist/**", "node_modules/**", "*.d.ts"]
+ }
+}
diff --git a/integrations/sie_ts_lancedb/package.json b/integrations/sie_ts_lancedb/package.json
new file mode 100644
index 000000000..1f2fddf4e
--- /dev/null
+++ b/integrations/sie_ts_lancedb/package.json
@@ -0,0 +1,65 @@
+{
+ "name": "@superlinked/sie-lancedb",
+ "version": "0.1.0",
+ "description": "SIE embedding function and reranker for LanceDB",
+ "type": "module",
+ "main": "./dist/index.cjs",
+ "module": "./dist/index.js",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "require": "./dist/index.cjs"
+ }
+ },
+ "files": [
+ "dist"
+ ],
+ "scripts": {
+ "build": "tsup",
+ "dev": "tsup --watch",
+ "test": "vitest run",
+ "test:watch": "vitest",
+ "test:integration": "vitest run --config vitest.integration.config.ts",
+ "typecheck": "tsc --noEmit",
+ "lint": "biome check src tests",
+ "lint-fix": "biome check --write src tests",
+ "prepack": "pnpm run build"
+ },
+ "dependencies": {
+ "@superlinked/sie-sdk": "workspace:*"
+ },
+ "peerDependencies": {
+ "@lancedb/lancedb": ">=0.17.0"
+ },
+ "devDependencies": {
+ "@biomejs/biome": "^1.9.4",
+ "@lancedb/lancedb": "^0.17.0",
+ "apache-arrow": "^18.0.0",
+ "tsup": "^8.3.5",
+ "typescript": "^5.7.2",
+ "vitest": "^2.1.8"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ },
+ "keywords": [
+ "sie",
+ "embeddings",
+ "lancedb",
+ "lance",
+ "vector",
+ "database",
+ "reranker"
+ ],
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/superlinked/sie-internal.git",
+ "directory": "integrations/sie_ts_lancedb"
+ },
+ "publishConfig": {
+ "access": "public"
+ }
+}
diff --git a/integrations/sie_ts_lancedb/src/index.ts b/integrations/sie_ts_lancedb/src/index.ts
new file mode 100644
index 000000000..e3c5549bf
--- /dev/null
+++ b/integrations/sie_ts_lancedb/src/index.ts
@@ -0,0 +1,395 @@
+/**
+ * SIE embedding function and reranker for LanceDB.
+ *
+ * Provides LanceDB-native components that use SIE for inference:
+ * - SIEEmbeddingFunction: Dense embeddings registered as "sie" in LanceDB's registry
+ * - SIEReranker: Cross-encoder reranking for hybrid search pipelines
+ *
+ * @example
+ * ```typescript
+ * import { connect } from "@lancedb/lancedb";
+ * import { getRegistry, LanceSchema } from "@lancedb/lancedb/embedding";
+ * import { SIEEmbeddingFunction } from "@superlinked/sie-lancedb";
+ *
+ * const func = new SIEEmbeddingFunction({ model: "BAAI/bge-m3" });
+ * const schema = LanceSchema({
+ * text: func.sourceField(),
+ * vector: func.vectorField({ dims: 1024 }),
+ * });
+ *
+ * const db = await connect("/tmp/lancedb");
+ * const table = await db.createEmptyTable("docs", schema);
+ * await table.add([{ text: "Hello world" }]); // auto-embeds
+ *
+ * const results = await table.search("hello").limit(5).toArray();
+ * ```
+ */
+
+import {
+ type DType,
+ type EncodeOptions,
+ type EncodeResult,
+ type ModelInfo,
+ type ScoreResult,
+ SIEClient,
+ type SIEClientOptions,
+ toNumberArray,
+} from "@superlinked/sie-sdk";
+
+/**
+ * Configuration options for SIEEmbeddingFunction.
+ */
+export interface SIEEmbeddingFunctionOptions {
+ /** URL of the SIE server. @default "http://localhost:8080" */
+ baseUrl?: string;
+ /** Model name/ID to use for encoding. @default "BAAI/bge-m3" */
+ model?: string;
+ /** Optional pre-configured SIEClient instance. */
+ client?: SIEClient;
+ /** Instruction prefix for instruction-tuned models (e.g., E5). */
+ instruction?: string;
+ /** Output data type: "float32" (default), "float16", "int8", "binary". */
+ outputDtype?: string;
+ /** Target GPU type for routing (e.g., "l4", "a100-80gb"). */
+ gpu?: string;
+ /** Request timeout in milliseconds. @default 180000 */
+ timeout?: number;
+}
+
+/**
+ * Dense text embeddings via SIE for LanceDB.
+ *
+ * Implements LanceDB's EmbeddingFunction interface. Embeddings are computed
+ * automatically when using `sourceField()` / `vectorField()` schema helpers.
+ *
+ * Use `ndims()` or pass `{ dims }` to `vectorField()` for schema definition.
+ * `ndims()` queries the `/v1/models` metadata API (lightweight, no model loading).
+ *
+ * @example
+ * ```typescript
+ * import { SIEEmbeddingFunction } from "@superlinked/sie-lancedb";
+ * import { LanceSchema } from "@lancedb/lancedb/embedding";
+ *
+ * const func = new SIEEmbeddingFunction({ model: "BAAI/bge-m3" });
+ * const schema = LanceSchema({
+ * text: func.sourceField(),
+ * vector: func.vectorField({ dims: 1024 }),
+ * });
+ * ```
+ */
+export class SIEEmbeddingFunction {
+ private readonly model: string;
+ private readonly baseUrl: string;
+ private readonly instruction: string | undefined;
+ private readonly outputDtype: string | undefined;
+ private readonly clientOptions: SIEClientOptions;
+ private _client: SIEClient | undefined;
+ private _ndims: number | undefined;
+
+ constructor(options: SIEEmbeddingFunctionOptions = {}) {
+ const {
+ baseUrl = "http://localhost:8080",
+ model = "BAAI/bge-m3",
+ client,
+ instruction,
+ outputDtype,
+ gpu,
+ timeout = 180_000,
+ } = options;
+
+ this.baseUrl = baseUrl;
+ this.model = model;
+ this._client = client;
+ this.instruction = instruction;
+ this.outputDtype = outputDtype;
+ this.clientOptions = { timeout, gpu };
+ }
+
+ private get client(): SIEClient {
+ if (!this._client) {
+ this._client = new SIEClient(this.baseUrl, this.clientOptions);
+ }
+ return this._client;
+ }
+
+ /**
+ * Return embedding dimensionality from /v1/models metadata.
+ *
+ * Queries the SIE server's model config (lightweight GET, no model
+ * loading or inference). Cached after first call.
+ */
+ async ndims(): Promise<number> {
+ if (this._ndims === undefined) {
+ const info = await this.client.getModel(this.model);
+ if (!info?.dims?.dense) {
+ throw new Error(`Model "${this.model}" does not support dense embeddings`);
+ }
+ this._ndims = info.dims.dense;
+ }
+ return this._ndims;
+ }
+
+ /**
+ * Generate dense embeddings for a list of texts.
+ *
+ * @param texts - Texts to embed.
+ * @returns Array of embedding vectors.
+ */
+ async generateEmbeddings(texts: string[]): Promise<number[][]> {
+ if (texts.length === 0) {
+ return [];
+ }
+
+ const items = texts.map((text) => ({ text }));
+ const options: EncodeOptions = {
+ outputTypes: ["dense"],
+ instruction: this.instruction,
+ outputDtype: this.outputDtype as DType | undefined,
+ };
+
+ const results = await this.client.encode(this.model, items, options);
+ return (results as EncodeResult[]).map((result) => this.extractDense(result));
+ }
+
+ /**
+ * Embed documents (no isQuery flag).
+ */
+ async embedDocuments(texts: string[]): Promise<number[][]> {
+ return this.generateEmbeddings(texts);
+ }
+
+ /**
+ * Embed a single query (passes isQuery: true for asymmetric models).
+ */
+ async embedQuery(text: string): Promise<number[]> {
+ const items = [{ text }];
+ const options: EncodeOptions = {
+ outputTypes: ["dense"],
+ instruction: this.instruction,
+ outputDtype: this.outputDtype as DType | undefined,
+ isQuery: true,
+ };
+
+ const results = await this.client.encode(this.model, items, options);
+ return this.extractDense((results as EncodeResult[])[0] as EncodeResult);
+ }
+
+ private extractDense(result: EncodeResult): number[] {
+ const dense = result.dense;
+ if (!dense) {
+ throw new Error("Encode result missing dense embedding");
+ }
+ return toNumberArray(dense);
+ }
+
+ async close(): Promise<void> {
+ if (this._client) {
+ await this._client.close();
+ }
+ }
+}
+
+/**
+ * Configuration options for SIEReranker.
+ */
+export interface SIERerankerOptions {
+ /** URL of the SIE server. @default "http://localhost:8080" */
+ baseUrl?: string;
+ /** Reranker model name/ID. @default "jinaai/jina-reranker-v2-base-multilingual" */
+ model?: string;
+ /** Name of the text column to score. @default "text" */
+ column?: string;
+ /** Optional pre-configured SIEClient instance. */
+ client?: SIEClient;
+ /** Target GPU type for routing. */
+ gpu?: string;
+ /** Request timeout in milliseconds. @default 180000 */
+ timeout?: number;
+}
+
+/**
+ * Cross-encoder reranker using SIE for LanceDB hybrid search.
+ *
+ * Implements LanceDB's Reranker interface. Plugs into hybrid search
+ * pipelines via `.rerank()`.
+ *
+ * @example
+ * ```typescript
+ * import { SIEReranker } from "@superlinked/sie-lancedb";
+ *
+ * const reranker = new SIEReranker({
+ * model: "jinaai/jina-reranker-v2-base-multilingual",
+ * });
+ *
+ * const results = await table
+ * .search("query", { queryType: "hybrid" })
+ * .rerank(reranker)
+ * .limit(10)
+ * .toArray();
+ * ```
+ */
+export class SIEReranker {
+ private readonly model: string;
+ private readonly column: string;
+ private readonly baseUrl: string;
+ private readonly clientOptions: SIEClientOptions;
+ private _client: SIEClient | undefined;
+
+ constructor(options: SIERerankerOptions = {}) {
+ const {
+ baseUrl = "http://localhost:8080",
+ model = "jinaai/jina-reranker-v2-base-multilingual",
+ column = "text",
+ client,
+ gpu,
+ timeout = 180_000,
+ } = options;
+
+ this.baseUrl = baseUrl;
+ this.model = model;
+ this.column = column;
+ this._client = client;
+ this.clientOptions = { timeout, gpu };
+ }
+
+ private get client(): SIEClient {
+ if (!this._client) {
+ this._client = new SIEClient(this.baseUrl, this.clientOptions);
+ }
+ return this._client;
+ }
+
+ /**
+ * Rerank hybrid search results (vector + FTS).
+ *
+ * This is the method LanceDB calls during `.rerank()`. It scores all
+ * rows against the query using SIE's cross-encoder and returns a
+ * RecordBatch with `_relevance_score` added.
+ */
+ async rerankHybrid(
+ query: string,
+ vecResults: import("apache-arrow").RecordBatch,
+ ftsResults: import("apache-arrow").RecordBatch,
+ ): Promise<import("apache-arrow").RecordBatch> {
+ const arrow = await import("apache-arrow");
+
+ // Merge vector and FTS results, deduplicating by _rowid
+ const merged = this.mergeResults(arrow, vecResults, ftsResults);
+
+ const col = merged.getChild(this.column);
+ if (!col || merged.numRows === 0) {
+ return merged;
+ }
+
+ const texts: string[] = [];
+ for (let i = 0; i < merged.numRows; i++) {
+ texts.push(String(col.get(i)));
+ }
+
+ // Score with SIE
+ const items = texts.map((text) => ({ text }));
+ const scoreResult: ScoreResult = await this.client.score(this.model, { text: query }, items);
+
+ // Build score array indexed by input position
+ const scores = new Float32Array(texts.length);
+ for (const entry of scoreResult.scores) {
+ const idx = typeof entry.itemId === "string" ? Number.parseInt(entry.itemId) : entry.itemId;
+ if (idx < scores.length) {
+ scores[idx] = entry.score;
+ }
+ }
+
+ // Build a new table with existing columns + _relevance_score, extract batch
+ const columnArrays: Record<string, unknown[]> = {};
+ for (const field of merged.schema.fields) {
+ const child = merged.getChild(field.name);
+ if (child) {
+ const vals: unknown[] = [];
+ for (let i = 0; i < child.length; i++) {
+ vals.push(child.get(i));
+ }
+ columnArrays[field.name] = vals;
+ }
+ }
+ columnArrays["_relevance_score"] = Array.from(scores);
+
+ const newTable = arrow.tableFromArrays(columnArrays);
+ const batch = newTable.batches[0];
+ if (!batch) {
+ throw new Error("Failed to create result batch");
+ }
+ return batch;
+ }
+
+ /**
+ * Merge vector and FTS result batches, deduplicating by _rowid.
+ * Rows from vecResults take priority for duplicate _rowid values.
+ */
+ private mergeResults(
+ arrow: typeof import("apache-arrow"),
+ vecResults: import("apache-arrow").RecordBatch,
+ ftsResults: import("apache-arrow").RecordBatch,
+ ): import("apache-arrow").RecordBatch {
+ // Collect all unique column names from both batches
+ const allFieldNames: string[] = [];
+ const seen = new Set<string>();
+ for (const field of vecResults.schema.fields) {
+ allFieldNames.push(field.name);
+ seen.add(field.name);
+ }
+ for (const field of ftsResults.schema.fields) {
+ if (!seen.has(field.name)) {
+ allFieldNames.push(field.name);
+ seen.add(field.name);
+ }
+ }
+
+ // Track seen _rowid values for deduplication
+ const seenRowIds = new Set<number>();
+ const rowSources: Array<{ batch: import("apache-arrow").RecordBatch; index: number }> = [];
+
+ // Add vector results first (priority)
+ const vecRowId = vecResults.getChild("_rowid");
+ for (let i = 0; i < vecResults.numRows; i++) {
+ const rid = vecRowId?.get(i);
+ if (rid != null) {
+ seenRowIds.add(typeof rid === "bigint" ? Number(rid) : (rid as number));
+ }
+ rowSources.push({ batch: vecResults, index: i });
+ }
+
+ // Add FTS results, skipping duplicates
+ const ftsRowId = ftsResults.getChild("_rowid");
+ for (let i = 0; i < ftsResults.numRows; i++) {
+ const rid = ftsRowId?.get(i);
+ const ridKey = rid != null ? (typeof rid === "bigint" ? Number(rid) : (rid as number)) : null;
+ if (ridKey != null && seenRowIds.has(ridKey)) {
+ continue;
+ }
+ if (ridKey != null) {
+ seenRowIds.add(ridKey);
+ }
+ rowSources.push({ batch: ftsResults, index: i });
+ }
+
+ // Build merged column arrays
+ const columnArrays: Record<string, unknown[]> = {};
+ for (const fieldName of allFieldNames) {
+ const vals: unknown[] = [];
+ for (const { batch, index } of rowSources) {
+ const child = batch.getChild(fieldName);
+ vals.push(child ? child.get(index) : null);
+ }
+ columnArrays[fieldName] = vals;
+ }
+
+ const table = arrow.tableFromArrays(columnArrays);
+ return table.batches[0]!;
+ }
+
+ async close(): Promise<void> {
+ if (this._client) {
+ await this._client.close();
+ }
+ }
+}
diff --git a/integrations/sie_ts_lancedb/tests/embedding.test.ts b/integrations/sie_ts_lancedb/tests/embedding.test.ts
new file mode 100644
index 000000000..33bbc43c2
--- /dev/null
+++ b/integrations/sie_ts_lancedb/tests/embedding.test.ts
@@ -0,0 +1,227 @@
+/**
+ * Tests for SIE LanceDB embedding and reranker integration.
+ */
+
+import { beforeEach, describe, expect, it, vi } from "vitest";
+import {
+ SIEEmbeddingFunction,
+ type SIEEmbeddingFunctionOptions,
+ SIEReranker,
+ type SIERerankerOptions,
+} from "../src/index.js";
+
+// Mock the SIEClient
+vi.mock("@superlinked/sie-sdk", () => {
+ const mockClient = {
+ encode: vi.fn(),
+ score: vi.fn(),
+ getModel: vi.fn(),
+ close: vi.fn(),
+ };
+
+ return {
+ SIEClient: vi.fn().mockImplementation(() => mockClient),
+ toNumberArray: (arr: Float32Array | Int32Array | number[]) => Array.from(arr),
+ };
+});
+
+describe("SIEEmbeddingFunction", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("creates with default options", () => {
+ const func = new SIEEmbeddingFunction();
+ expect(func).toBeInstanceOf(SIEEmbeddingFunction);
+ });
+
+ it("creates with custom options", () => {
+ const options: SIEEmbeddingFunctionOptions = {
+ baseUrl: "http://custom:9090",
+ model: "custom-model",
+ instruction: "Represent:",
+ outputDtype: "float16",
+ gpu: "a100",
+ timeout: 60000,
+ };
+ const func = new SIEEmbeddingFunction(options);
+ expect(func).toBeInstanceOf(SIEEmbeddingFunction);
+ });
+
+ it("returns empty array for empty input", async () => {
+ const func = new SIEEmbeddingFunction();
+ const result = await func.generateEmbeddings([]);
+ expect(result).toEqual([]);
+ });
+
+ it("generates dense embeddings for texts", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockEncode = vi
+ .fn()
+ .mockResolvedValue([
+ { dense: new Float32Array([0.5, 0.25, 0.75]) },
+ { dense: new Float32Array([1.0, 0.5, 0.25]) },
+ ]);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: mockEncode,
+ getModel: vi.fn(),
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({ model: "BAAI/bge-m3" });
+ const embeddings = await func.generateEmbeddings(["Hello world", "Goodbye world"]);
+
+ expect(embeddings).toHaveLength(2);
+ expect(embeddings[0]).toEqual([0.5, 0.25, 0.75]);
+ expect(embeddings[1]).toEqual([1.0, 0.5, 0.25]);
+ });
+
+ it("calls encode with correct parameters", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockEncode = vi.fn().mockResolvedValue([{ dense: new Float32Array([0.5]) }]);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: mockEncode,
+ getModel: vi.fn(),
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({
+ model: "test-model",
+ instruction: "Represent this:",
+ outputDtype: "float16",
+ });
+
+ await func.generateEmbeddings(["test text"]);
+
+ expect(mockEncode).toHaveBeenCalledWith("test-model", [{ text: "test text" }], {
+ outputTypes: ["dense"],
+ instruction: "Represent this:",
+ outputDtype: "float16",
+ });
+ });
+
+ it("embedQuery passes isQuery: true", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockEncode = vi.fn().mockResolvedValue([{ dense: new Float32Array([0.5, 0.25]) }]);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: mockEncode,
+ getModel: vi.fn(),
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({ model: "test-model" });
+ const result = await func.embedQuery("search text");
+
+ expect(result).toEqual([0.5, 0.25]);
+ expect(mockEncode).toHaveBeenCalledWith(
+ "test-model",
+ [{ text: "search text" }],
+ expect.objectContaining({ isQuery: true }),
+ );
+ });
+
+ it("embedDocuments does not pass isQuery", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockEncode = vi.fn().mockResolvedValue([{ dense: new Float32Array([0.5]) }]);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: mockEncode,
+ getModel: vi.fn(),
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({ model: "test-model" });
+ await func.embedDocuments(["doc text"]);
+
+ const callArgs = mockEncode.mock.calls[0]?.[2];
+ expect(callArgs?.isQuery).toBeUndefined();
+ });
+
+ it("throws error when dense embedding is missing", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockEncode = vi.fn().mockResolvedValue([{ sparse: {} }]);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: mockEncode,
+ getModel: vi.fn(),
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction();
+ await expect(func.generateEmbeddings(["test"])).rejects.toThrow(
+ "Encode result missing dense embedding",
+ );
+ });
+
+ it("ndims queries server metadata", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockGetModel = vi.fn().mockResolvedValue(
+ { name: "BAAI/bge-m3", dims: { dense: 1024 }, loaded: true, inputs: ["text"], outputs: ["dense"] },
+ );
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: vi.fn(),
+ getModel: mockGetModel,
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({ model: "BAAI/bge-m3" });
+ const dims = await func.ndims();
+
+ expect(dims).toBe(1024);
+ expect(mockGetModel).toHaveBeenCalledOnce();
+ });
+
+ it("ndims caches after first call", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockGetModel = vi.fn().mockResolvedValue(
+ { name: "test-model", dims: { dense: 384 }, loaded: true, inputs: ["text"], outputs: ["dense"] },
+ );
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: vi.fn(),
+ getModel: mockGetModel,
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({ model: "test-model" });
+ await func.ndims();
+ await func.ndims();
+
+ expect(mockGetModel).toHaveBeenCalledOnce();
+ });
+
+ it("ndims throws for model without dense dims", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockGetModel = vi.fn().mockResolvedValue(
+ { name: "multivec-only", dims: { multivector: 128 }, loaded: true, inputs: ["text"], outputs: ["multivector"] },
+ );
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ encode: vi.fn(),
+ getModel: mockGetModel,
+ close: vi.fn(),
+ }));
+
+ const func = new SIEEmbeddingFunction({ model: "multivec-only" });
+ await expect(func.ndims()).rejects.toThrow("does not support dense");
+ });
+});
+
+describe("SIEReranker", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("creates with default options", () => {
+ const reranker = new SIEReranker();
+ expect(reranker).toBeInstanceOf(SIEReranker);
+ });
+
+ it("creates with custom options", () => {
+ const options: SIERerankerOptions = {
+ baseUrl: "http://custom:9090",
+ model: "custom-reranker",
+ column: "content",
+ gpu: "a100",
+ timeout: 60000,
+ };
+ const reranker = new SIEReranker(options);
+ expect(reranker).toBeInstanceOf(SIEReranker);
+ });
+});
diff --git a/integrations/sie_ts_lancedb/tsconfig.json b/integrations/sie_ts_lancedb/tsconfig.json
new file mode 100644
index 000000000..b26432eff
--- /dev/null
+++ b/integrations/sie_ts_lancedb/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "lib": ["ES2022"],
+ "strict": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true,
+ "declaration": true,
+ "declarationMap": true,
+ "sourceMap": true,
+ "outDir": "./dist",
+ "rootDir": "./src",
+ "verbatimModuleSyntax": true,
+ "noUncheckedIndexedAccess": true,
+ "noEmit": true
+ },
+ "include": ["src"],
+ "exclude": ["node_modules", "dist"]
+}
diff --git a/integrations/sie_ts_lancedb/tsup.config.ts b/integrations/sie_ts_lancedb/tsup.config.ts
new file mode 100644
index 000000000..b0a81c327
--- /dev/null
+++ b/integrations/sie_ts_lancedb/tsup.config.ts
@@ -0,0 +1,12 @@
+import { defineConfig } from "tsup";
+
+export default defineConfig({
+ entry: ["src/index.ts"],
+ format: ["esm", "cjs"],
+ dts: true,
+ clean: true,
+ splitting: false,
+ sourcemap: true,
+ target: "node22",
+ outDir: "dist",
+});
diff --git a/integrations/sie_ts_lancedb/vitest.config.ts b/integrations/sie_ts_lancedb/vitest.config.ts
new file mode 100644
index 000000000..b135711f4
--- /dev/null
+++ b/integrations/sie_ts_lancedb/vitest.config.ts
@@ -0,0 +1,16 @@
+import { defineConfig } from "vitest/config";
+
+export default defineConfig({
+ test: {
+ globals: true,
+ environment: "node",
+ include: ["tests/**/*.test.ts"],
+ // Exclude integration tests (those run separately)
+ exclude: ["tests/integration/**"],
+ coverage: {
+ provider: "v8",
+ reporter: ["text", "json", "html"],
+ include: ["src/**/*.ts"],
+ },
+ },
+});
diff --git a/integrations/sie_ts_lancedb/vitest.integration.config.ts b/integrations/sie_ts_lancedb/vitest.integration.config.ts
new file mode 100644
index 000000000..743334fd8
--- /dev/null
+++ b/integrations/sie_ts_lancedb/vitest.integration.config.ts
@@ -0,0 +1,19 @@
+import { defineConfig } from "vitest/config";
+
+export default defineConfig({
+ test: {
+ globals: true,
+ environment: "node",
+ include: ["tests/integration/**/*.integration.test.ts"],
+ globalSetup: "../../packages/sie_ts_sdk/tests/integration/globalSetup.ts",
+ globalTeardown: "../../packages/sie_ts_sdk/tests/integration/globalTeardown.ts",
+ testTimeout: 60_000,
+ hookTimeout: 200_000,
+ pool: "forks",
+ poolOptions: {
+ forks: {
+ singleFork: true,
+ },
+ },
+ },
+});
diff --git a/integrations/sie_ts_langchain/package.json b/integrations/sie_ts_langchain/package.json
index 5ad9fdd1e..e897168e5 100644
--- a/integrations/sie_ts_langchain/package.json
+++ b/integrations/sie_ts_langchain/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-langchain",
- "version": "0.1.9",
+ "version": "0.1.10",
"description": "SIE embeddings integration for LangChain.js",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_ts_langchain/src/extractors.ts b/integrations/sie_ts_langchain/src/extractors.ts
new file mode 100644
index 000000000..0fe201b55
--- /dev/null
+++ b/integrations/sie_ts_langchain/src/extractors.ts
@@ -0,0 +1,227 @@
+/**
+ * SIE extraction tool for LangChain.js
+ *
+ * Provides extraction using SIE's extract endpoint:
+ * - SIEExtractor: Extraction tool implementing LangChain Tool
+ *
+ * Returns entities, relations, classifications, and detected objects.
+ *
+ * @example
+ * ```typescript
+ * import { SIEExtractor } from "@superlinked/sie-langchain";
+ *
+ * const extractor = new SIEExtractor({
+ * baseUrl: "http://localhost:8080",
+ * model: "urchade/gliner_multi-v2.1",
+ * labels: ["person", "organization", "location"],
+ * });
+ *
+ * const result = await extractor.invoke("John Smith works at Acme Corp in NYC");
+ * const parsed = JSON.parse(result);
+ * console.log(parsed.entities);
+ * console.log(parsed.relations);
+ * ```
+ */
+
+import { Tool } from "@langchain/core/tools";
+import {
+ type ExtractOptions,
+ type ExtractResult,
+ SIEClient,
+ type SIEClientOptions,
+} from "@superlinked/sie-sdk";
+
+/**
+ * Configuration options for SIEExtractor.
+ */
+export interface SIEExtractorParams {
+ /**
+ * URL of the SIE server.
+ * @default "http://localhost:8080"
+ */
+ baseUrl?: string;
+
+ /**
+ * Extraction model name/ID.
+ * @default "urchade/gliner_multi-v2.1"
+ */
+ model?: string;
+
+ /**
+ * Optional pre-configured SIEClient instance.
+ * If provided, baseUrl and other connection options are ignored.
+ */
+ client?: SIEClient;
+
+ /**
+ * Labels to extract (entity types, relation types, or classification labels).
+ * @default ["person", "organization", "location"]
+ */
+ labels?: string[];
+
+ /**
+ * Minimum confidence threshold (0-1).
+ */
+ threshold?: number;
+
+ /**
+ * Target GPU type for routing (e.g., "l4", "a100-80gb").
+ */
+ gpu?: string;
+
+ /**
+ * Request timeout in milliseconds.
+ * @default 180000 (3 minutes)
+ */
+ timeout?: number;
+
+ /**
+ * Tool name for use in agents.
+ * @default "sie_extract"
+ */
+ name?: string;
+
+ /**
+ * Tool description for use in agents.
+ */
+ description?: string;
+}
+
+/**
+ * LangChain tool for extraction using SIE.
+ *
+ * Wraps SIEClient.extract() to implement the LangChain Tool interface
+ * for use in agents and chains. Returns JSON with entities, relations,
+ * classifications, and detected objects.
+ *
+ * @example
+ * ```typescript
+ * import { SIEExtractor } from "@superlinked/sie-langchain";
+ *
+ * // Direct usage
+ * const extractor = new SIEExtractor({
+ * model: "urchade/gliner_multi-v2.1",
+ * labels: ["person", "organization", "location"],
+ * });
+ * const result = await extractor.invoke("John Smith works at Acme Corp");
+ * const parsed = JSON.parse(result);
+ *
+ * // Use in an agent
+ * import { ChatOpenAI } from "@langchain/openai";
+ * import { createReactAgent } from "@langchain/langgraph/prebuilt";
+ *
+ * const agent = createReactAgent({
+ * llm: new ChatOpenAI(),
+ * tools: [extractor],
+ * });
+ * ```
+ */
+export class SIEExtractor extends Tool {
+ name: string;
+ description: string;
+
+ private readonly model: string;
+ private readonly labels: string[];
+ private readonly threshold?: number;
+ private _client: SIEClient | undefined;
+ private readonly _ownsClient: boolean;
+ private readonly baseUrl: string;
+ private readonly clientOptions: SIEClientOptions;
+
+ constructor(params: SIEExtractorParams = {}) {
+ const toolName = params.name ?? "sie_extract";
+ const toolDescription =
+ params.description ??
+ "Extract structured information from text. " +
+ "Input should be text to analyze. " +
+ "Returns JSON with entities, relations, classifications, and detected objects.";
+
+ super({});
+
+ this.name = toolName;
+ this.description = toolDescription;
+
+ const {
+ baseUrl = "http://localhost:8080",
+ model = "urchade/gliner_multi-v2.1",
+ client,
+ labels = ["person", "organization", "location"],
+ threshold,
+ gpu,
+ timeout = 180_000,
+ } = params;
+
+ this.baseUrl = baseUrl;
+ this.model = model;
+ this.labels = labels;
+ this.threshold = threshold;
+ this._client = client;
+ this._ownsClient = !client;
+
+ this.clientOptions = {
+ timeout,
+ gpu,
+ };
+ }
+
+ /**
+ * Get or create the SIEClient.
+ */
+ private get client(): SIEClient {
+ if (!this._client) {
+ this._client = new SIEClient(this.baseUrl, this.clientOptions);
+ }
+ return this._client;
+ }
+
+ /**
+ * Extract structured information from text.
+ *
+ * @param text - Text to extract from.
+ * @returns JSON string with entities, relations, classifications, and objects.
+ */
+ async _call(text: string): Promise<string> {
+ const extractOptions: ExtractOptions = {
+ labels: this.labels,
+ };
+ if (this.threshold !== undefined) {
+ extractOptions.threshold = this.threshold;
+ }
+
+ const result: ExtractResult = await this.client.extract(this.model, { text }, extractOptions);
+
+ return JSON.stringify({
+ entities: result.entities.map((e) => ({
+ text: e.text,
+ label: e.label,
+ score: e.score,
+ ...(e.start !== undefined && { start: e.start }),
+ ...(e.end !== undefined && { end: e.end }),
+ })),
+ relations: result.relations.map((r) => ({
+ head: r.head,
+ tail: r.tail,
+ relation: r.relation,
+ score: r.score,
+ })),
+ classifications: result.classifications.map((c) => ({
+ label: c.label,
+ score: c.score,
+ })),
+ objects: result.objects.map((o) => ({
+ label: o.label,
+ score: o.score,
+ bbox: o.bbox,
+ })),
+ });
+ }
+
+ /**
+ * Close the underlying client connection.
+ */
+ async close(): Promise<void> {
+ if (this._client && this._ownsClient) {
+ await this._client.close();
+ }
+ }
+}
diff --git a/integrations/sie_ts_langchain/src/index.ts b/integrations/sie_ts_langchain/src/index.ts
index b26691f47..d34cd4894 100644
--- a/integrations/sie_ts_langchain/src/index.ts
+++ b/integrations/sie_ts_langchain/src/index.ts
@@ -4,6 +4,8 @@
* Provides drop-in replacement for OpenAI embeddings using SIE's inference server:
* - SIEEmbeddings: Dense embeddings for vector stores
* - SIESparseEncoder: Sparse encoder for hybrid search
+ * - SIEReranker: Cross-encoder reranking for retrieval pipelines
+ * - SIEExtractor: Entity extraction tool for agents
*
* @example
* ```typescript
@@ -26,7 +28,8 @@ import {
type EncodeResult,
SIEClient,
type SIEClientOptions,
- toNumberArray,
+ denseEmbedding,
+ sparseEmbedding,
} from "@superlinked/sie-sdk";
/**
@@ -175,7 +178,7 @@ export class SIEEmbeddings extends Embeddings {
};
const results = await this.client.encode(this.model, items, options);
- return (results as EncodeResult[]).map((result) => this.extractDense(result));
+ return (results as EncodeResult[]).map((result) => denseEmbedding(result));
}
/**
@@ -195,18 +198,7 @@ export class SIEEmbeddings extends Embeddings {
};
const result = await this.client.encode(this.model, { text }, options);
- return this.extractDense(result as EncodeResult);
- }
-
- /**
- * Extract dense embedding from encode result.
- */
- private extractDense(result: EncodeResult): number[] {
- const dense = result.dense;
- if (!dense) {
- throw new Error("Encode result missing dense embedding");
- }
- return toNumberArray(dense);
+ return denseEmbedding(result as EncodeResult);
}
/**
@@ -314,7 +306,7 @@ export class SIESparseEncoder {
};
const results = await this.client.encode(this.model, items, options);
- return (results as EncodeResult[]).map((result) => this.extractSparse(result));
+ return (results as EncodeResult[]).map((result) => sparseEmbedding(result));
}
/**
@@ -335,22 +327,7 @@ export class SIESparseEncoder {
};
const results = await this.client.encode(this.model, items, options);
- return (results as EncodeResult[]).map((result) => this.extractSparse(result));
- }
-
- /**
- * Extract sparse embedding from encode result.
- */
- private extractSparse(result: EncodeResult): { indices: number[]; values: number[] } {
- const sparse = result.sparse;
- if (!sparse) {
- return { indices: [], values: [] };
- }
-
- return {
- indices: toNumberArray(sparse.indices),
- values: toNumberArray(sparse.values),
- };
+ return (results as EncodeResult[]).map((result) => sparseEmbedding(result));
}
/**
@@ -362,3 +339,6 @@ export class SIESparseEncoder {
}
}
}
+
+export { SIEReranker, type SIERerankerParams } from "./rerankers.js";
+export { SIEExtractor, type SIEExtractorParams } from "./extractors.js";
diff --git a/integrations/sie_ts_langchain/src/rerankers.ts b/integrations/sie_ts_langchain/src/rerankers.ts
new file mode 100644
index 000000000..682b18034
--- /dev/null
+++ b/integrations/sie_ts_langchain/src/rerankers.ts
@@ -0,0 +1,182 @@
+/**
+ * SIE reranker integration for LangChain.js
+ *
+ * Provides document reranking using SIE's score endpoint:
+ * - SIEReranker: Cross-encoder reranking implementing BaseDocumentCompressor
+ *
+ * @example
+ * ```typescript
+ * import { SIEReranker } from "@superlinked/sie-langchain";
+ *
+ * const reranker = new SIEReranker({
+ * baseUrl: "http://localhost:8080",
+ * model: "jinaai/jina-reranker-v2-base-multilingual",
+ * topK: 3,
+ * });
+ *
+ * const reranked = await reranker.compressDocuments(documents, "search query");
+ * ```
+ */
+
+import type { DocumentInterface } from "@langchain/core/documents";
+import { BaseDocumentCompressor } from "@langchain/core/retrievers/document_compressors";
+import { SIEClient, type SIEClientOptions } from "@superlinked/sie-sdk";
+
+/**
+ * Configuration options for SIEReranker.
+ */
+export interface SIERerankerParams {
+ /**
+ * URL of the SIE server.
+ * @default "http://localhost:8080"
+ */
+ baseUrl?: string;
+
+ /**
+ * Reranker model name/ID.
+ * @default "jinaai/jina-reranker-v2-base-multilingual"
+ */
+ model?: string;
+
+ /**
+ * Optional pre-configured SIEClient instance.
+ * If provided, baseUrl and other connection options are ignored.
+ */
+ client?: SIEClient;
+
+ /**
+ * Number of top documents to return. If undefined, returns all documents.
+ */
+ topK?: number;
+
+ /**
+ * Target GPU type for routing (e.g., "l4", "a100-80gb").
+ */
+ gpu?: string;
+
+ /**
+ * Request timeout in milliseconds.
+ * @default 180000 (3 minutes)
+ */
+ timeout?: number;
+}
+
+/**
+ * LangChain document compressor using SIE's reranking.
+ *
+ * Wraps SIEClient.score() to implement BaseDocumentCompressor.
+ *
+ * @example
+ * ```typescript
+ * import { SIEReranker } from "@superlinked/sie-langchain";
+ *
+ * const reranker = new SIEReranker({
+ * baseUrl: "http://localhost:8080",
+ * model: "jinaai/jina-reranker-v2-base-multilingual",
+ * topK: 3,
+ * });
+ *
+ * // Rerank retrieved documents
+ * const reranked = await reranker.compressDocuments(documents, "search query");
+ *
+ * // Use in a retrieval pipeline
+ * import { ContextualCompressionRetriever } from "langchain/retrievers/contextual_compression";
+ *
+ * const compressionRetriever = new ContextualCompressionRetriever({
+ * baseCompressor: reranker,
+ * baseRetriever: vectorStoreRetriever,
+ * });
+ * ```
+ */
+export class SIEReranker extends BaseDocumentCompressor {
+ private readonly model: string;
+ private readonly topK?: number;
+ private _client: SIEClient | undefined;
+ private readonly _ownsClient: boolean;
+ private readonly baseUrl: string;
+ private readonly clientOptions: SIEClientOptions;
+
+ constructor(params: SIERerankerParams = {}) {
+ super();
+
+ const {
+ baseUrl = "http://localhost:8080",
+ model = "jinaai/jina-reranker-v2-base-multilingual",
+ client,
+ topK,
+ gpu,
+ timeout = 180_000,
+ } = params;
+
+ this.baseUrl = baseUrl;
+ this.model = model;
+ this.topK = topK;
+ this._client = client;
+ this._ownsClient = !client;
+
+ this.clientOptions = {
+ timeout,
+ gpu,
+ };
+ }
+
+ /**
+ * Get or create the SIEClient.
+ */
+ private get client(): SIEClient {
+ if (!this._client) {
+ this._client = new SIEClient(this.baseUrl, this.clientOptions);
+ }
+ return this._client;
+ }
+
+ /**
+ * Rerank documents by relevance to query.
+ *
+ * @param documents - Documents to rerank.
+ * @param query - Query to rank documents against.
+ * @returns Reranked documents with relevance_score in metadata, sorted by score descending.
+ */
+ async compressDocuments(
+ documents: DocumentInterface[],
+ query: string,
+ ): Promise<DocumentInterface[]> {
+ if (documents.length === 0) {
+ return [];
+ }
+
+ const queryItem = { text: query };
+ const docItems = documents.map((doc) => ({ text: doc.pageContent }));
+
+ const result = await this.client.score(this.model, queryItem, docItems);
+
+ // Map score entries back to documents with relevance_score in metadata.
+ // ScoreResult.scores are already sorted by score descending.
+ const reranked: DocumentInterface[] = [];
+ for (const entry of result.scores) {
+ const idx = Number.parseInt(entry.itemId, 10);
+ const doc = documents[idx];
+ if (doc) {
+ reranked.push({
+ pageContent: doc.pageContent,
+ metadata: { ...doc.metadata, relevance_score: entry.score },
+ id: doc.id,
+ });
+ }
+ }
+
+ if (this.topK !== undefined) {
+ return reranked.slice(0, this.topK);
+ }
+ return reranked;
+ }
+
+ /**
+ * Close the underlying client connection.
+ */
+ async close(): Promise<void> {
+ if (this._client && this._ownsClient) {
+ await this._client.close();
+ }
+ }
+}
diff --git a/integrations/sie_ts_langchain/tests/embeddings.test.ts b/integrations/sie_ts_langchain/tests/embeddings.test.ts
index 97e633878..d4a2391ff 100644
--- a/integrations/sie_ts_langchain/tests/embeddings.test.ts
+++ b/integrations/sie_ts_langchain/tests/embeddings.test.ts
@@ -6,15 +6,16 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
import { SIEEmbeddings, SIESparseEncoder } from "../src/index.js";
// Mock the SIEClient
-vi.mock("@superlinked/sie-sdk", () => {
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
const mockClient = {
encode: vi.fn(),
close: vi.fn(),
};
return {
+ ...actual,
SIEClient: vi.fn().mockImplementation(() => mockClient),
- toNumberArray: (arr: Float32Array | Int32Array | number[]) => Array.from(arr),
};
});
diff --git a/integrations/sie_ts_langchain/tests/extractors.test.ts b/integrations/sie_ts_langchain/tests/extractors.test.ts
new file mode 100644
index 000000000..173b6a20f
--- /dev/null
+++ b/integrations/sie_ts_langchain/tests/extractors.test.ts
@@ -0,0 +1,164 @@
+/**
+ * Tests for SIE LangChain extractor integration.
+ */
+
+import { beforeEach, describe, expect, it, vi } from "vitest";
+import { SIEExtractor } from "../src/index.js";
+
+// Default empty extract result
+const emptyExtractResult = { entities: [], relations: [], classifications: [], objects: [] };
+
+// Mock the SIEClient
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
+ const mockClient = {
+ extract: vi.fn(),
+ close: vi.fn(),
+ };
+
+ return {
+ ...actual,
+ SIEClient: vi.fn().mockImplementation(() => mockClient),
+ };
+});
+
+describe("SIEExtractor", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("creates with default options", () => {
+ const extractor = new SIEExtractor();
+ expect(extractor).toBeInstanceOf(SIEExtractor);
+ expect(extractor.name).toBe("sie_extract");
+ });
+
+ it("creates with custom options", () => {
+ const extractor = new SIEExtractor({
+ baseUrl: "http://custom:9000",
+ model: "custom-ner",
+ labels: ["product", "date"],
+ name: "custom_extractor",
+ description: "Custom description",
+ gpu: "a100-80gb",
+ timeout: 60000,
+ });
+ expect(extractor.name).toBe("custom_extractor");
+ expect(extractor.description).toBe("Custom description");
+ });
+
+ it("extracts and returns JSON with all types", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue({
+ entities: [
+ { text: "John Smith", label: "person", score: 0.98, start: 0, end: 10 },
+ { text: "Acme Corp", label: "organization", score: 0.95, start: 20, end: 29 },
+ ],
+ relations: [],
+ classifications: [],
+ objects: [],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const extractor = new SIEExtractor({ model: "test-ner" });
+ const result = await extractor._call("John Smith works at Acme Corp");
+
+ expect(mockExtract).toHaveBeenCalledWith(
+ "test-ner",
+ { text: "John Smith works at Acme Corp" },
+ { labels: ["person", "organization", "location"] },
+ );
+
+ const parsed = JSON.parse(result);
+ expect(parsed.entities).toHaveLength(2);
+ expect(parsed.relations).toEqual([]);
+ expect(parsed.classifications).toEqual([]);
+ expect(parsed.objects).toEqual([]);
+ expect(parsed.entities[0]).toEqual({
+ text: "John Smith",
+ label: "person",
+ score: 0.98,
+ start: 0,
+ end: 10,
+ });
+ });
+
+ it("passes custom labels to extract", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue(emptyExtractResult);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const extractor = new SIEExtractor({
+ labels: ["product", "date"],
+ });
+ await extractor._call("test text");
+
+ expect(mockExtract).toHaveBeenCalledWith(expect.any(String), expect.anything(), {
+ labels: ["product", "date"],
+ });
+ });
+
+ it("passes threshold when specified", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue(emptyExtractResult);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const extractor = new SIEExtractor({
+ threshold: 0.5,
+ });
+ await extractor._call("test text");
+
+ expect(mockExtract).toHaveBeenCalledWith(expect.any(String), expect.anything(), {
+ labels: ["person", "organization", "location"],
+ threshold: 0.5,
+ });
+ });
+
+ it("returns empty result for no extractions", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue(emptyExtractResult);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const extractor = new SIEExtractor();
+ const result = await extractor._call("no entities here");
+
+ const parsed = JSON.parse(result);
+ expect(parsed.entities).toEqual([]);
+ expect(parsed.relations).toEqual([]);
+ expect(parsed.classifications).toEqual([]);
+ expect(parsed.objects).toEqual([]);
+ });
+
+ it("omits start/end when not present", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue({
+ entities: [{ text: "Test", label: "thing", score: 0.9 }],
+ relations: [],
+ classifications: [],
+ objects: [],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const extractor = new SIEExtractor();
+ const result = await extractor._call("test");
+ const parsed = JSON.parse(result);
+
+ expect(parsed.entities[0]).toEqual({ text: "Test", label: "thing", score: 0.9 });
+ expect(parsed.entities[0].start).toBeUndefined();
+ });
+});
diff --git a/integrations/sie_ts_langchain/tests/rerankers.test.ts b/integrations/sie_ts_langchain/tests/rerankers.test.ts
new file mode 100644
index 000000000..b585b60af
--- /dev/null
+++ b/integrations/sie_ts_langchain/tests/rerankers.test.ts
@@ -0,0 +1,136 @@
+/**
+ * Tests for SIE LangChain reranker integration.
+ */
+
+import { beforeEach, describe, expect, it, vi } from "vitest";
+import { SIEReranker } from "../src/index.js";
+
+// Mock the SIEClient
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
+ const mockClient = {
+ score: vi.fn(),
+ close: vi.fn(),
+ };
+
+ return {
+ ...actual,
+ SIEClient: vi.fn().mockImplementation(() => mockClient),
+ };
+});
+
+describe("SIEReranker", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("creates with default options", () => {
+ const reranker = new SIEReranker();
+ expect(reranker).toBeInstanceOf(SIEReranker);
+ });
+
+ it("creates with custom options", () => {
+ const reranker = new SIEReranker({
+ baseUrl: "http://custom:9000",
+ model: "custom-reranker",
+ topK: 5,
+ gpu: "a100-80gb",
+ timeout: 60000,
+ });
+ expect(reranker).toBeInstanceOf(SIEReranker);
+ });
+
+ it("compressDocuments returns empty array for empty input", async () => {
+ const reranker = new SIEReranker();
+ const result = await reranker.compressDocuments([], "test query");
+ expect(result).toEqual([]);
+ });
+
+ it("compressDocuments reranks documents with scores", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockScore = vi.fn().mockResolvedValue({
+ scores: [
+ { itemId: "1", score: 0.95, rank: 0 },
+ { itemId: "0", score: 0.72, rank: 1 },
+ { itemId: "2", score: 0.31, rank: 2 },
+ ],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ score: mockScore,
+ close: vi.fn(),
+ }));
+
+ const documents = [
+ { pageContent: "First document", metadata: { source: "a" } },
+ { pageContent: "Second document", metadata: { source: "b" } },
+ { pageContent: "Third document", metadata: { source: "c" } },
+ ];
+
+ const reranker = new SIEReranker({ model: "test-reranker" });
+ const result = await reranker.compressDocuments(documents, "search query");
+
+ expect(mockScore).toHaveBeenCalledWith(
+ "test-reranker",
+ { text: "search query" },
+ [{ text: "First document" }, { text: "Second document" }, { text: "Third document" }],
+ );
+
+ expect(result).toHaveLength(3);
+ // Sorted by score descending (server returns sorted)
+ expect(result[0].pageContent).toBe("Second document");
+ expect(result[0].metadata.relevance_score).toBe(0.95);
+ expect(result[0].metadata.source).toBe("b");
+
+ expect(result[1].pageContent).toBe("First document");
+ expect(result[1].metadata.relevance_score).toBe(0.72);
+
+ expect(result[2].pageContent).toBe("Third document");
+ expect(result[2].metadata.relevance_score).toBe(0.31);
+ });
+
+ it("compressDocuments applies topK client-side", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockScore = vi.fn().mockResolvedValue({
+ scores: [
+ { itemId: "1", score: 0.95, rank: 0 },
+ { itemId: "0", score: 0.72, rank: 1 },
+ { itemId: "2", score: 0.31, rank: 2 },
+ ],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ score: mockScore,
+ close: vi.fn(),
+ }));
+
+ const documents = [
+ { pageContent: "Doc A", metadata: {} },
+ { pageContent: "Doc B", metadata: {} },
+ { pageContent: "Doc C", metadata: {} },
+ ];
+
+ const reranker = new SIEReranker({ topK: 1 });
+ const result = await reranker.compressDocuments(documents, "query");
+
+ expect(result).toHaveLength(1);
+ expect(result[0].pageContent).toBe("Doc B");
+ expect(result[0].metadata.relevance_score).toBe(0.95);
+ });
+
+ it("preserves document id field", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockScore = vi.fn().mockResolvedValue({
+ scores: [{ itemId: "0", score: 0.9, rank: 0 }],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ score: mockScore,
+ close: vi.fn(),
+ }));
+
+ const documents = [{ pageContent: "Doc", metadata: {}, id: "doc-123" }];
+
+ const reranker = new SIEReranker();
+ const result = await reranker.compressDocuments(documents, "query");
+
+ expect(result[0].id).toBe("doc-123");
+ });
+});
diff --git a/integrations/sie_ts_llamaindex/package.json b/integrations/sie_ts_llamaindex/package.json
index 305333fd2..d791ff6f2 100644
--- a/integrations/sie_ts_llamaindex/package.json
+++ b/integrations/sie_ts_llamaindex/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-llamaindex",
- "version": "0.1.9",
+ "version": "0.1.10",
"description": "SIE embeddings integration for LlamaIndex.TS",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/integrations/sie_ts_llamaindex/src/extractors.ts b/integrations/sie_ts_llamaindex/src/extractors.ts
new file mode 100644
index 000000000..ea8202684
--- /dev/null
+++ b/integrations/sie_ts_llamaindex/src/extractors.ts
@@ -0,0 +1,195 @@
+/**
+ * SIE extraction tool for LlamaIndex.TS
+ *
+ * Provides extraction using SIE's extract endpoint:
+ * - createSIEExtractorTool: Factory that creates a FunctionTool for extraction
+ *
+ * Returns entities, relations, classifications, and detected objects.
+ *
+ * @example
+ * ```typescript
+ * import { createSIEExtractorTool } from "@superlinked/sie-llamaindex";
+ *
+ * const extractor = createSIEExtractorTool({
+ * modelName: "urchade/gliner_multi-v2.1",
+ * labels: ["person", "organization", "location"],
+ * });
+ *
+ * const result = await extractor.call({ text: "John Smith works at Acme Corp" });
+ * const parsed = JSON.parse(result);
+ * console.log(parsed.entities);
+ * ```
+ */
+
+import {
+ type ExtractOptions,
+ type ExtractResult,
+ SIEClient,
+ type SIEClientOptions,
+} from "@superlinked/sie-sdk";
+import { FunctionTool } from "llamaindex";
+
+/**
+ * Configuration options for createSIEExtractorTool.
+ */
+export interface SIEExtractorToolOptions {
+ /**
+ * URL of the SIE server.
+ * @default "http://localhost:8080"
+ */
+ baseUrl?: string;
+
+ /**
+ * Extraction model name/ID.
+ * @default "urchade/gliner_multi-v2.1"
+ */
+ modelName?: string;
+
+ /**
+ * Labels to extract.
+ * @default ["person", "organization", "location"]
+ */
+ labels?: string[];
+
+ /**
+ * Minimum confidence threshold (0-1).
+ */
+ threshold?: number;
+
+ /**
+ * Target GPU type for routing (e.g., "l4", "a100-80gb").
+ */
+ gpu?: string;
+
+ /**
+ * Request timeout in milliseconds.
+ * @default 180000 (3 minutes)
+ */
+ timeout?: number;
+
+ /**
+ * Tool name for the agent.
+ * @default "sie_extract"
+ */
+ name?: string;
+
+ /**
+ * Tool description for the agent.
+ */
+ description?: string;
+}
+
+/**
+ * Internal class to hold SIE extractor state.
+ */
+class _SIEExtractor {
+ private readonly baseUrl: string;
+ private readonly modelName: string;
+ private readonly labels: string[];
+ private readonly threshold?: number;
+ private readonly clientOptions: SIEClientOptions;
+ private _client: SIEClient | undefined;
+
+ constructor(options: SIEExtractorToolOptions) {
+ this.baseUrl = options.baseUrl ?? "http://localhost:8080";
+ this.modelName = options.modelName ?? "urchade/gliner_multi-v2.1";
+ this.labels = options.labels ?? ["person", "organization", "location"];
+ this.threshold = options.threshold;
+ this.clientOptions = {
+ timeout: options.timeout ?? 180_000,
+ gpu: options.gpu,
+ };
+ }
+
+ private get client(): SIEClient {
+ if (!this._client) {
+ this._client = new SIEClient(this.baseUrl, this.clientOptions);
+ }
+ return this._client;
+ }
+
+ async extract(text: string): Promise<string> {
+ const extractOptions: ExtractOptions = {
+ labels: this.labels,
+ };
+ if (this.threshold !== undefined) {
+ extractOptions.threshold = this.threshold;
+ }
+
+ const result: ExtractResult = await this.client.extract(this.modelName, { text }, extractOptions);
+
+ return JSON.stringify({
+ entities: result.entities.map((e) => ({
+ text: e.text,
+ label: e.label,
+ score: e.score,
+ ...(e.start !== undefined && { start: e.start }),
+ ...(e.end !== undefined && { end: e.end }),
+ })),
+ relations: result.relations.map((r) => ({
+ head: r.head,
+ tail: r.tail,
+ relation: r.relation,
+ score: r.score,
+ })),
+ classifications: result.classifications.map((c) => ({
+ label: c.label,
+ score: c.score,
+ })),
+ objects: result.objects.map((o) => ({
+ label: o.label,
+ score: o.score,
+ bbox: o.bbox,
+ })),
+ });
+ }
+}
+
+/**
+ * Create a LlamaIndex FunctionTool for extraction.
+ *
+ * Creates a tool that wraps SIE's extract endpoint for use with
+ * LlamaIndex agents and workflows. Returns JSON with entities,
+ * relations, classifications, and detected objects.
+ *
+ * @example
+ * ```typescript
+ * import { OpenAI, ReActAgent } from "llamaindex";
+ * import { createSIEExtractorTool } from "@superlinked/sie-llamaindex";
+ *
+ * const extractor = createSIEExtractorTool({
+ * modelName: "urchade/gliner_multi-v2.1",
+ * labels: ["person", "organization", "location"],
+ * });
+ *
+ * const agent = new ReActAgent({
+ * tools: [extractor],
+ * llm: new OpenAI(),
+ * });
+ *
+ * const response = await agent.chat({
+ * message: "Extract entities from: John works at Google in NYC",
+ * });
+ * ```
+ *
+ * @param options - Configuration for the extractor tool.
+ * @returns FunctionTool wrapping SIE extraction.
+ */
+export function createSIEExtractorTool(options: SIEExtractorToolOptions = {}) {
+ const labels = options.labels ?? ["person", "organization", "location"];
+ const name = options.name ?? "sie_extract";
+ const description =
+ options.description ??
+ `Extract structured information from text. Finds entities of types: ${labels.join(", ")}. Returns entities, relations, classifications, and detected objects.`;
+
+ const extractor = new _SIEExtractor(options);
+
+ async function extract(input: { text: string }): Promise<string> {
+ return extractor.extract(input.text);
+ }
+
+ return FunctionTool.from(extract, {
+ name,
+ description,
+ });
+}
diff --git a/integrations/sie_ts_llamaindex/src/index.ts b/integrations/sie_ts_llamaindex/src/index.ts
index 590211614..d81e9bfff 100644
--- a/integrations/sie_ts_llamaindex/src/index.ts
+++ b/integrations/sie_ts_llamaindex/src/index.ts
@@ -4,6 +4,8 @@
* Provides embedding generation using SIE's encode endpoint:
* - SIEEmbedding: Dense embeddings implementing BaseEmbedding
* - SIESparseEmbeddingFunction: Sparse embeddings for hybrid search
+ * - SIENodePostprocessor: Cross-encoder reranking for query pipelines
+ * - createSIEExtractorTool: Entity extraction tool for agents
*
* @example
* ```typescript
@@ -24,7 +26,8 @@ import {
type EncodeResult,
SIEClient,
type SIEClientOptions,
- toNumberArray,
+ denseEmbedding,
+ sparseEmbedding,
} from "@superlinked/sie-sdk";
import { BaseEmbedding } from "llamaindex";
@@ -132,7 +135,7 @@ export class SIEEmbedding extends BaseEmbedding {
};
const results = await this.client.encode(this.modelName, items, options);
- return (results as EncodeResult[]).map((result) => this.extractDense(result));
+ return (results as EncodeResult[]).map((result) => denseEmbedding(result));
};
constructor(options: SIEEmbeddingOptions = {}) {
@@ -187,18 +190,7 @@ export class SIEEmbedding extends BaseEmbedding {
};
const result = await this.client.encode(this.modelName, { text }, options);
- return this.extractDense(result as EncodeResult);
- }
-
- /**
- * Extract dense embedding from encode result.
- */
- private extractDense(result: EncodeResult): number[] {
- const dense = result.dense;
- if (!dense) {
- throw new Error("Encode result missing dense embedding");
- }
- return toNumberArray(dense);
+ return denseEmbedding(result as EncodeResult);
}
/**
@@ -318,7 +310,7 @@ export class SIESparseEmbeddingFunction {
const valuesList: number[][] = [];
for (const result of results as EncodeResult[]) {
- const sparse = this.extractSparse(result);
+ const sparse = sparseEmbedding(result);
indicesList.push(sparse.indices);
valuesList.push(sparse.values);
}
@@ -349,7 +341,7 @@ export class SIESparseEmbeddingFunction {
const valuesList: number[][] = [];
for (const result of results as EncodeResult[]) {
- const sparse = this.extractSparse(result);
+ const sparse = sparseEmbedding(result);
indicesList.push(sparse.indices);
valuesList.push(sparse.values);
}
@@ -357,21 +349,6 @@ export class SIESparseEmbeddingFunction {
return [indicesList, valuesList];
}
- /**
- * Extract sparse embedding from encode result.
- */
- private extractSparse(result: EncodeResult): { indices: number[]; values: number[] } {
- const sparse = result.sparse;
- if (!sparse) {
- return { indices: [], values: [] };
- }
-
- return {
- indices: toNumberArray(sparse.indices),
- values: toNumberArray(sparse.values),
- };
- }
-
/**
* Close the underlying client connection.
*/
@@ -381,3 +358,6 @@ export class SIESparseEmbeddingFunction {
}
}
}
+
+export { SIENodePostprocessor, type SIENodePostprocessorOptions } from "./rerankers.js";
+export { createSIEExtractorTool, type SIEExtractorToolOptions } from "./extractors.js";
diff --git a/integrations/sie_ts_llamaindex/src/rerankers.ts b/integrations/sie_ts_llamaindex/src/rerankers.ts
new file mode 100644
index 000000000..f617f81bb
--- /dev/null
+++ b/integrations/sie_ts_llamaindex/src/rerankers.ts
@@ -0,0 +1,195 @@
+/**
+ * SIE reranker integration for LlamaIndex.TS
+ *
+ * Provides node reranking using SIE's score endpoint:
+ * - SIENodePostprocessor: Cross-encoder reranking implementing BaseNodePostprocessor
+ *
+ * @example
+ * ```typescript
+ * import { SIENodePostprocessor } from "@superlinked/sie-llamaindex";
+ *
+ * const reranker = new SIENodePostprocessor({
+ * baseUrl: "http://localhost:8080",
+ * modelName: "jinaai/jina-reranker-v2-base-multilingual",
+ * topN: 3,
+ * });
+ *
+ * const reranked = await reranker.postprocessNodes(nodes, "search query");
+ * ```
+ */
+
+import { SIEClient, type SIEClientOptions } from "@superlinked/sie-sdk";
+import { MetadataMode } from "llamaindex";
+import type { BaseNodePostprocessor, MessageContent, NodeWithScore } from "llamaindex";
+
+/**
+ * Configuration options for SIENodePostprocessor.
+ */
+export interface SIENodePostprocessorOptions {
+ /**
+ * URL of the SIE server.
+ * @default "http://localhost:8080"
+ */
+ baseUrl?: string;
+
+ /**
+ * Reranker model name/ID.
+ * @default "jinaai/jina-reranker-v2-base-multilingual"
+ */
+ modelName?: string;
+
+ /**
+ * Optional pre-configured SIEClient instance.
+ * If provided, baseUrl and other connection options are ignored.
+ */
+ client?: SIEClient;
+
+ /**
+ * Number of top nodes to return. If undefined, returns all nodes.
+ */
+ topN?: number;
+
+ /**
+ * Target GPU type for routing (e.g., "l4", "a100-80gb").
+ */
+ gpu?: string;
+
+ /**
+ * Request timeout in milliseconds.
+ * @default 180000 (3 minutes)
+ */
+ timeout?: number;
+}
+
+/**
+ * Extract a plain query string from LlamaIndex's MessageContent type.
+ *
+ * MessageContent is `string | MessageContentDetail[]`. For reranking
+ * we need a plain string.
+ */
+function extractQueryString(query: MessageContent): string {
+ if (typeof query === "string") {
+ return query;
+ }
+ // MessageContentDetail[] — concatenate text parts
+ return query
+ .filter(
+ (part): part is { type: "text"; text: string } => "type" in part && part.type === "text",
+ )
+ .map((part) => part.text)
+ .join(" ");
+}
+
+/**
+ * LlamaIndex node postprocessor using SIE's reranking.
+ *
+ * Wraps SIEClient.score() to implement the BaseNodePostprocessor interface.
+ *
+ * @example
+ * ```typescript
+ * import { VectorStoreIndex } from "llamaindex";
+ * import { SIENodePostprocessor } from "@superlinked/sie-llamaindex";
+ *
+ * const reranker = new SIENodePostprocessor({
+ * modelName: "jinaai/jina-reranker-v2-base-multilingual",
+ * topN: 3,
+ * });
+ *
+ * const queryEngine = index.asQueryEngine({
+ * nodePostprocessors: [reranker],
+ * });
+ *
+ * const response = await queryEngine.query({ query: "What is the topic?" });
+ * ```
+ */
+export class SIENodePostprocessor implements BaseNodePostprocessor {
+ readonly modelName: string;
+ private readonly topN?: number;
+ private _client: SIEClient | undefined;
+ private readonly _ownsClient: boolean;
+ private readonly baseUrl: string;
+ private readonly clientOptions: SIEClientOptions;
+
+ constructor(options: SIENodePostprocessorOptions = {}) {
+ const {
+ baseUrl = "http://localhost:8080",
+ modelName = "jinaai/jina-reranker-v2-base-multilingual",
+ client,
+ topN,
+ gpu,
+ timeout = 180_000,
+ } = options;
+
+ this.baseUrl = baseUrl;
+ this.modelName = modelName;
+ this.topN = topN;
+ this._client = client;
+ this._ownsClient = !client;
+
+ this.clientOptions = {
+ timeout,
+ gpu,
+ };
+ }
+
+ /**
+ * Get or create the SIEClient.
+ */
+ private get client(): SIEClient {
+ if (!this._client) {
+ this._client = new SIEClient(this.baseUrl, this.clientOptions);
+ }
+ return this._client;
+ }
+
+ /**
+ * Rerank nodes by relevance to query.
+ *
+ * @param nodes - Nodes with scores to rerank.
+ * @param query - Optional query string or MessageContent.
+ * @returns Reranked nodes with updated scores, sorted by relevance descending.
+ */
+ async postprocessNodes(nodes: NodeWithScore[], query?: MessageContent): Promise<NodeWithScore[]> {
+ if (nodes.length === 0 || query === undefined) {
+ return nodes;
+ }
+
+ const queryText = extractQueryString(query);
+ if (!queryText) {
+ return nodes;
+ }
+
+ const queryItem = { text: queryText };
+ const docItems = nodes.map((n) => ({ text: n.node.getContent(MetadataMode.NONE) }));
+
+ const result = await this.client.score(this.modelName, queryItem, docItems);
+
+ // Map score entries back to NodeWithScore with updated scores.
+ // ScoreResult.scores are already sorted by score descending.
+ const reranked: NodeWithScore[] = [];
+ for (const entry of result.scores) {
+ const idx = Number.parseInt(entry.itemId, 10);
+ const original = nodes[idx];
+ if (original) {
+ reranked.push({
+ node: original.node,
+ score: entry.score,
+ });
+ }
+ }
+
+ if (this.topN !== undefined) {
+ return reranked.slice(0, this.topN);
+ }
+ return reranked;
+ }
+
+ /**
+ * Close the underlying client connection.
+ */
+ async close(): Promise<void> {
+ if (this._client && this._ownsClient) {
+ await this._client.close();
+ }
+ }
+}
diff --git a/integrations/sie_ts_llamaindex/tests/embedding.test.ts b/integrations/sie_ts_llamaindex/tests/embedding.test.ts
index 0adfee7b4..0ec01f73e 100644
--- a/integrations/sie_ts_llamaindex/tests/embedding.test.ts
+++ b/integrations/sie_ts_llamaindex/tests/embedding.test.ts
@@ -6,15 +6,16 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
import { SIEEmbedding, SIESparseEmbeddingFunction } from "../src/index.js";
// Mock the SIEClient
-vi.mock("@superlinked/sie-sdk", () => {
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
const mockClient = {
encode: vi.fn(),
close: vi.fn(),
};
return {
+ ...actual,
SIEClient: vi.fn().mockImplementation(() => mockClient),
- toNumberArray: (arr: Float32Array | Int32Array | number[]) => Array.from(arr),
};
});
diff --git a/integrations/sie_ts_llamaindex/tests/extractors.test.ts b/integrations/sie_ts_llamaindex/tests/extractors.test.ts
new file mode 100644
index 000000000..bbbe49254
--- /dev/null
+++ b/integrations/sie_ts_llamaindex/tests/extractors.test.ts
@@ -0,0 +1,127 @@
+/**
+ * Tests for SIE LlamaIndex extractor integration.
+ */
+
+import { beforeEach, describe, expect, it, vi } from "vitest";
+import { createSIEExtractorTool } from "../src/index.js";
+
+// Default empty extract result
+const emptyExtractResult = { entities: [], relations: [], classifications: [], objects: [] };
+
+// Mock the SIEClient
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
+ const mockClient = {
+ extract: vi.fn(),
+ close: vi.fn(),
+ };
+
+ return {
+ ...actual,
+ SIEClient: vi.fn().mockImplementation(() => mockClient),
+ };
+});
+
+describe("createSIEExtractorTool", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("creates tool with default options", () => {
+ const tool = createSIEExtractorTool();
+ expect(tool).toBeDefined();
+ expect(tool.metadata.name).toBe("sie_extract");
+ expect(tool.metadata.description).toContain("Extract structured information");
+ });
+
+ it("creates tool with custom options", () => {
+ const tool = createSIEExtractorTool({
+ name: "custom_extractor",
+ description: "Custom description",
+ labels: ["product", "date"],
+ });
+ expect(tool.metadata.name).toBe("custom_extractor");
+ expect(tool.metadata.description).toBe("Custom description");
+ });
+
+ it("extracts and returns JSON with all types", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue({
+ entities: [
+ { text: "John Smith", label: "person", score: 0.98, start: 0, end: 10 },
+ { text: "Acme Corp", label: "organization", score: 0.95, start: 20, end: 29 },
+ ],
+ relations: [],
+ classifications: [],
+ objects: [],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const tool = createSIEExtractorTool({ modelName: "test-ner" });
+ const result = await tool.call({ text: "John Smith works at Acme Corp" });
+
+ expect(mockExtract).toHaveBeenCalledWith(
+ "test-ner",
+ { text: "John Smith works at Acme Corp" },
+ { labels: ["person", "organization", "location"] },
+ );
+
+ const parsed = JSON.parse(result as string);
+ expect(parsed.entities).toHaveLength(2);
+ expect(parsed.relations).toEqual([]);
+ expect(parsed.classifications).toEqual([]);
+ expect(parsed.objects).toEqual([]);
+ expect(parsed.entities[0]).toEqual({
+ text: "John Smith",
+ label: "person",
+ score: 0.98,
+ start: 0,
+ end: 10,
+ });
+ });
+
+ it("passes custom labels to extract", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue(emptyExtractResult);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const tool = createSIEExtractorTool({
+ labels: ["product", "date"],
+ });
+ await tool.call({ text: "test text" });
+
+ expect(mockExtract).toHaveBeenCalledWith(expect.any(String), expect.anything(), {
+ labels: ["product", "date"],
+ });
+ });
+
+ it("returns empty result for no extractions", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockExtract = vi.fn().mockResolvedValue(emptyExtractResult);
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ extract: mockExtract,
+ close: vi.fn(),
+ }));
+
+ const tool = createSIEExtractorTool();
+ const result = await tool.call({ text: "no entities here" });
+
+ const parsed = JSON.parse(result as string);
+ expect(parsed.entities).toEqual([]);
+ expect(parsed.relations).toEqual([]);
+ });
+
+ it("includes label types in default description", () => {
+ const tool = createSIEExtractorTool({
+ labels: ["animal", "color"],
+ });
+ expect(tool.metadata.description).toContain("animal");
+ expect(tool.metadata.description).toContain("color");
+ });
+});
diff --git a/integrations/sie_ts_llamaindex/tests/rerankers.test.ts b/integrations/sie_ts_llamaindex/tests/rerankers.test.ts
new file mode 100644
index 000000000..24b9ab2b2
--- /dev/null
+++ b/integrations/sie_ts_llamaindex/tests/rerankers.test.ts
@@ -0,0 +1,169 @@
+/**
+ * Tests for SIE LlamaIndex reranker integration.
+ */
+
+import type { MessageContent, NodeWithScore } from "llamaindex";
+import { beforeEach, describe, expect, it, vi } from "vitest";
+import { SIENodePostprocessor } from "../src/index.js";
+
+// Mock the SIEClient
+vi.mock("@superlinked/sie-sdk", async (importOriginal) => {
+ const actual = await importOriginal<typeof import("@superlinked/sie-sdk")>();
+ const mockClient = {
+ score: vi.fn(),
+ close: vi.fn(),
+ };
+
+ return {
+ ...actual,
+ SIEClient: vi.fn().mockImplementation(() => mockClient),
+ };
+});
+
+/**
+ * Create a mock NodeWithScore for testing.
+ */
+function mockNodeWithScore(text: string, score?: number) {
+ return {
+ node: {
+ getContent: () => text,
+ toJSON: () => ({ text }),
+ },
+ score,
+ };
+}
+
+describe("SIENodePostprocessor", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ });
+
+ it("creates with default options", () => {
+ const postprocessor = new SIENodePostprocessor();
+ expect(postprocessor).toBeDefined();
+ expect(postprocessor.modelName).toBe("jinaai/jina-reranker-v2-base-multilingual");
+ });
+
+ it("creates with custom options", () => {
+ const postprocessor = new SIENodePostprocessor({
+ baseUrl: "http://custom:9000",
+ modelName: "custom-reranker",
+ topN: 5,
+ gpu: "a100-80gb",
+ timeout: 60000,
+ });
+ expect(postprocessor.modelName).toBe("custom-reranker");
+ });
+
+ it("returns empty array for empty nodes", async () => {
+ const postprocessor = new SIENodePostprocessor();
+ const result = await postprocessor.postprocessNodes([], "test query");
+ expect(result).toEqual([]);
+ });
+
+ it("returns nodes as-is when no query", async () => {
+ const postprocessor = new SIENodePostprocessor();
+ const nodes = [mockNodeWithScore("doc1", 0.5), mockNodeWithScore("doc2", 0.3)];
+
+ const result = await postprocessor.postprocessNodes(nodes as unknown as NodeWithScore[]);
+ expect(result).toBe(nodes);
+ });
+
+ it("reranks nodes with updated scores", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockScore = vi.fn().mockResolvedValue({
+ scores: [
+ { itemId: "1", score: 0.95, rank: 0 },
+ { itemId: "0", score: 0.72, rank: 1 },
+ { itemId: "2", score: 0.31, rank: 2 },
+ ],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ score: mockScore,
+ close: vi.fn(),
+ }));
+
+ const nodes = [
+ mockNodeWithScore("First doc", 0.5),
+ mockNodeWithScore("Second doc", 0.3),
+ mockNodeWithScore("Third doc", 0.1),
+ ];
+
+ const postprocessor = new SIENodePostprocessor({ modelName: "test-reranker" });
+ const result = await postprocessor.postprocessNodes(
+ nodes as unknown as NodeWithScore[],
+ "search query",
+ );
+
+ expect(mockScore).toHaveBeenCalledWith(
+ "test-reranker",
+ { text: "search query" },
+ [{ text: "First doc" }, { text: "Second doc" }, { text: "Third doc" }],
+ );
+
+ expect(result).toHaveLength(3);
+ // Sorted by score descending (server returns sorted)
+ expect(result[0].node.getContent()).toBe("Second doc");
+ expect(result[0].score).toBe(0.95);
+
+ expect(result[1].node.getContent()).toBe("First doc");
+ expect(result[1].score).toBe(0.72);
+
+ expect(result[2].node.getContent()).toBe("Third doc");
+ expect(result[2].score).toBe(0.31);
+ });
+
+ it("applies topN client-side", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockScore = vi.fn().mockResolvedValue({
+ scores: [
+ { itemId: "1", score: 0.95, rank: 0 },
+ { itemId: "0", score: 0.72, rank: 1 },
+ ],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ score: mockScore,
+ close: vi.fn(),
+ }));
+
+ const nodes = [mockNodeWithScore("doc1"), mockNodeWithScore("doc2")];
+
+ const postprocessor = new SIENodePostprocessor({ topN: 1 });
+ const result = await postprocessor.postprocessNodes(
+ nodes as unknown as NodeWithScore[],
+ "query",
+ );
+
+ expect(result).toHaveLength(1);
+ expect(result[0].node.getContent()).toBe("doc2");
+ expect(result[0].score).toBe(0.95);
+ });
+
+ it("handles MessageContent array type", async () => {
+ const { SIEClient } = await import("@superlinked/sie-sdk");
+ const mockScore = vi.fn().mockResolvedValue({
+ scores: [{ itemId: "0", score: 0.9, rank: 0 }],
+ });
+ (SIEClient as unknown as ReturnType<typeof vi.fn>).mockImplementation(() => ({
+ score: mockScore,
+ close: vi.fn(),
+ }));
+
+ const nodes = [mockNodeWithScore("doc1")];
+
+ const postprocessor = new SIENodePostprocessor();
+ await postprocessor.postprocessNodes(
+ nodes as unknown as NodeWithScore[],
+ [
+ { type: "text", text: "hello " },
+ { type: "text", text: "world" },
+ ] as unknown as MessageContent,
+ );
+
+ expect(mockScore).toHaveBeenCalledWith(
+ expect.any(String),
+ { text: "hello world" },
+ expect.anything(),
+ );
+ });
+});
diff --git a/integrations/sie_weaviate/README.md b/integrations/sie_weaviate/README.md
index dca7efdd7..c665f1916 100644
--- a/integrations/sie_weaviate/README.md
+++ b/integrations/sie_weaviate/README.md
@@ -6,9 +6,10 @@ SIE integration for Weaviate v4.
### 1. Client-side (this package, works now)
-`sie-weaviate` provides vectorizer helpers that call SIE's encode() and return
-vectors in the format Weaviate expects. You configure collections with
-`Configure.Vectors.self_provided()` and pass vectors on insert/query.
+`sie-weaviate` provides vectorizer and enrichment helpers that call SIE's
+encode() and extract() and return data in the format Weaviate expects. You
+configure collections with `Configure.Vectors.self_provided()` and pass
+vectors on insert/query.
```bash
pip install sie-weaviate
@@ -48,18 +49,19 @@ A `text2vec-sie` Go module for the Weaviate server that enables native
vectorizer config (`Configure.Vectorizer.text2vec_sie(...)`). See
`weaviate-module-spec/` for the spec and reference implementation.
-## Named vectors (dense + sparse)
+## Named vectors (dense + multivector)
-SIE's multi-output encode produces dense and sparse vectors in one call.
-Weaviate's named vectors feature stores them separately:
+`SIENamedVectorizer` produces multiple vector types in one SIE call.
+Use it with ColBERT models that output both dense and multivector
+(per-token) embeddings:
```python
from sie_weaviate import SIENamedVectorizer
vectorizer = SIENamedVectorizer(
base_url="http://localhost:8080",
- model="BAAI/bge-m3",
- output_types=["dense", "sparse"],
+ model="jinaai/jina-colbert-v2",
+ output_types=["dense", "multivector"],
)
collection = client.collections.create(
@@ -67,7 +69,7 @@ collection = client.collections.create(
properties=[wvc.config.Property(name="text", data_type=wvc.config.DataType.TEXT)],
vector_config=[
wvc.config.Configure.Vectors.self_provided(name="dense"),
- wvc.config.Configure.Vectors.self_provided(name="sparse"),
+ wvc.config.Configure.Vectors.self_provided(name="multivector"),
],
)
@@ -77,16 +79,83 @@ collection.data.insert_many([
])
```
-**Storage note:** SIE sparse vectors (SPLADE/BGE-M3) are expanded to full
-vocabulary length (~30K floats per document for BERT-based models) so that
-positional information is preserved for similarity search. At large scale this
-is significant storage. If you only need keyword-style hybrid search, use
-Weaviate's built-in BM25 instead — it requires no extra vectors:
+For hybrid search, Weaviate has built-in BM25 — no extra vectors needed:
```python
results = collection.query.hybrid(query="search text", alpha=0.75)
```
+## Document enrichment for Query Agent
+
+`SIEDocumentEnricher` combines SIE's embedding and entity extraction
+pipelines to produce documents with dense vectors **and** structured
+metadata. The extracted properties (persons, organizations, locations,
+categories) are exactly what Weaviate's Query Agent uses to construct
+filters from natural language queries.
+
+```python
+import weaviate
+import weaviate.classes as wvc
+from sie_weaviate import SIEDocumentEnricher
+
+enricher = SIEDocumentEnricher(
+ base_url="http://localhost:8080",
+ labels=["person", "organization", "location"],
+ classify_model="knowledgator/gliclass-large-v3.0",
+ classify_labels=["technical", "business", "legal"],
+)
+
+client = weaviate.connect_to_local()
+try:
+ collection = client.collections.create(
+ "Documents",
+ description="Documents with extracted entity and classification metadata.",
+ properties=[
+ wvc.config.Property(name="text", data_type=wvc.config.DataType.TEXT),
+ wvc.config.Property(
+ name="person", data_type=wvc.config.DataType.TEXT_ARRAY,
+ description="People mentioned in the document",
+ ),
+ wvc.config.Property(
+ name="organization", data_type=wvc.config.DataType.TEXT_ARRAY,
+ description="Organizations mentioned in the document",
+ ),
+ wvc.config.Property(
+ name="location", data_type=wvc.config.DataType.TEXT_ARRAY,
+ description="Locations mentioned in the document",
+ ),
+ wvc.config.Property(
+ name="classification", data_type=wvc.config.DataType.TEXT,
+ description="Document category: technical, business, or legal",
+ ),
+ wvc.config.Property(
+ name="classification_score", data_type=wvc.config.DataType.NUMBER,
+ description="Confidence score for the classification",
+ ),
+ ],
+ vector_config=wvc.config.Configure.Vectors.self_provided(),
+ )
+
+ # Embed + extract in one call
+ texts = [
+ "John Smith presented Google's new AI strategy in New York.",
+ "The court ruling on patent law affects tech companies.",
+ ]
+ docs = enricher.enrich(texts)
+ collection.data.insert_many([
+ wvc.data.DataObject(properties=doc.properties, vector=doc.vector)
+ for doc in docs
+ ])
+
+ # The Query Agent can now filter on extracted properties:
+ # "find documents about Google" → organization filter + vector search
+ # "show me legal documents mentioning John Smith" → classification + person filter
+ query_vec = enricher.enrich_query("AI strategy announcements")
+ results = collection.query.near_vector(near_vector=query_vec, limit=5)
+finally:
+ client.close()
+```
+
## Testing
```bash
diff --git a/integrations/sie_weaviate/pyproject.toml b/integrations/sie_weaviate/pyproject.toml
index 67629d742..658b85e9a 100644
--- a/integrations/sie_weaviate/pyproject.toml
+++ b/integrations/sie_weaviate/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-weaviate"
-version = "0.1.9"
+version = "0.1.10"
description = "SIE integration for Weaviate"
readme = "README.md"
requires-python = ">=3.10"
diff --git a/integrations/sie_weaviate/src/sie_weaviate/__init__.py b/integrations/sie_weaviate/src/sie_weaviate/__init__.py
index f529e3f0c..f69e57afc 100644
--- a/integrations/sie_weaviate/src/sie_weaviate/__init__.py
+++ b/integrations/sie_weaviate/src/sie_weaviate/__init__.py
@@ -1,9 +1,12 @@
"""SIE integration for Weaviate.
-This package provides vectorizer helpers for Weaviate v4:
+This package provides vectorizer and enrichment helpers for Weaviate v4:
- SIEVectorizer: Compute dense embeddings via SIE for Weaviate collections
-- SIENamedVectorizer: Compute multiple vector types (dense + sparse) for Weaviate named vectors
+- SIENamedVectorizer: Compute multiple vector types (dense + multivector)
+ for Weaviate named vectors
+- SIEDocumentEnricher: Enrich documents with embeddings and extracted
+ properties (entities, classifications) for Weaviate's Query Agent
Weaviate does not have a client-side embedding function protocol like ChromaDB.
Instead, you configure collections with ``Configure.Vectors.self_provided()`` and
@@ -40,38 +43,31 @@ Example usage (dense):
query_vector = vectorizer.embed_query("search text")
results = collection.query.near_vector(near_vector=query_vector, limit=5)
-Example usage (named vectors for hybrid search):
+Example usage (enrichment for Query Agent):
- from sie_weaviate import SIENamedVectorizer
+ from sie_weaviate import SIEDocumentEnricher
- vectorizer = SIENamedVectorizer(
+ enricher = SIEDocumentEnricher(
base_url="http://localhost:8080",
- model="BAAI/bge-m3",
- )
-
- collection = client.collections.create(
- "Documents",
- vector_config=[
- wvc.config.Configure.Vectors.self_provided(name="dense"),
- wvc.config.Configure.Vectors.self_provided(name="sparse"),
- ],
+ labels=["person", "organization", "location"],
)
- # Embed with both dense and sparse in one SIE call
- named = vectorizer.embed_documents(texts)
+ # Embed + extract entities in one call
+ docs = enricher.enrich(["John Smith works at Google in NYC."])
objects = [
- wvc.data.DataObject(
- properties={"text": t},
- vector={"dense": v["dense"], "sparse": v["sparse"]},
- )
- for t, v in zip(texts, named)
+ wvc.data.DataObject(properties=doc.properties, vector=doc.vector)
+ for doc in docs
]
collection.data.insert_many(objects)
+ # Each object now has filterable person/organization/location properties
"""
+from sie_weaviate.enricher import EnrichedDocument, SIEDocumentEnricher
from sie_weaviate.vectorizer import SIENamedVectorizer, SIEVectorizer
__all__ = [
+ "EnrichedDocument",
+ "SIEDocumentEnricher",
"SIENamedVectorizer",
"SIEVectorizer",
]
diff --git a/integrations/sie_weaviate/src/sie_weaviate/enricher.py b/integrations/sie_weaviate/src/sie_weaviate/enricher.py
new file mode 100644
index 000000000..5b5525784
--- /dev/null
+++ b/integrations/sie_weaviate/src/sie_weaviate/enricher.py
@@ -0,0 +1,448 @@
+"""Document enrichment for Weaviate via SIE encode + extract.
+
+Combines SIE's embedding and extraction pipelines to produce documents
+with both dense vectors and structured metadata (entities,
+classifications) that Weaviate's Query Agent can filter on.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import dataclasses
+from collections.abc import AsyncIterator, Iterator
+from typing import Any, Self
+
+from sie_sdk import SIEAsyncClient, SIEClient
+from sie_sdk.encoding import dense_embedding
+from sie_sdk.types import Item
+
+
+class EnrichedDocument:
+ """A document enriched with SIE embeddings and extracted properties.
+
+ Attributes:
+ vector: Dense embedding ready for ``DataObject(vector=...)``.
+ properties: Text plus extracted entity arrays and classifications,
+ ready for ``DataObject(properties=...)``.
+ entities: Raw entity extraction results for custom processing.
+ classifications: Raw classification results for custom processing.
+ """
+
+ vector: list[float]
+ properties: dict[str, Any]
+ entities: list[dict[str, Any]] | None = None
+ classifications: list[dict[str, Any]] | None = None
+
+
+class SIEDocumentEnricher:
+ """Enrich documents with SIE embeddings and extracted properties.
+
+ Combines ``SIEClient.encode()`` and ``SIEClient.extract()`` to
+ produce documents with dense vectors and structured metadata that
+ Weaviate's Query Agent can filter on. Extracted entities are grouped
+ by label into ``list[str]`` properties (e.g., ``persons``,
+ ``organizations``).
+
+ Supports four modes of operation:
+
+ - **Sync bulk** (``enrich``): returns all results at once.
+ - **Sync streaming** (``enrich_iter``): yields per-chunk results.
+ - **Async bulk** (``aenrich``): concurrent API calls via ``asyncio.gather``.
+ - **Async streaming** (``aenrich_iter``): concurrent + streaming.
+
+ Example:
+ >>> enricher = SIEDocumentEnricher(
+ ... base_url="http://localhost:8080",
+ ... labels=["person", "organization", "location"],
+ ... )
+ >>> docs = enricher.enrich(["John Smith works at Google in NYC."])
+ >>> docs[0].properties
+ {'text': 'John Smith works at Google in NYC.',
+ 'person': ['John Smith'], 'organization': ['Google'],
+ 'location': ['NYC']}
+ >>> docs[0].vector # dense embedding
+ [0.12, -0.34, ...]
+ """
+
+ def __init__(
+ self,
+ base_url: str = "http://localhost:8080",
+ embed_model: str = "BAAI/bge-m3",
+ *,
+ extract_model: str | None = "urchade/gliner_medium-v2.1",
+ labels: list[str] | None = None,
+ classify_model: str | None = None,
+ classify_labels: list[str] | None = None,
+ gpu: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout_s: float = 180.0,
+ batch_size: int = 256,
+ ) -> None:
+ """Initialize document enricher.
+
+ Args:
+ base_url: SIE server URL.
+ embed_model: Model for dense embeddings.
+ extract_model: Model for entity extraction (e.g., GLiNER).
+ Set to ``None`` to skip extraction (embed only).
+ labels: Entity labels for extraction
+ (e.g., ``["person", "organization", "location"]``).
+ classify_model: Optional model for classification (e.g., GLiClass).
+ classify_labels: Classification categories
+ (e.g., ``["technical", "business", "legal"]``).
+ gpu: GPU type for routing.
+ options: Model-specific options.
+ timeout_s: Request timeout in seconds.
+ batch_size: Number of texts per API call. Larger batches are
+ more efficient but use more memory. Default 256.
+ """
+ self._base_url = base_url
+ self._embed_model = embed_model
+ self._extract_model = extract_model
+ self._labels = labels
+ self._classify_model = classify_model
+ self._classify_labels = classify_labels
+ if (self._classify_model is None) != (self._classify_labels is None):
+ msg = "classify_model and classify_labels must both be provided or both be None"
+ raise ValueError(msg)
+ self._gpu = gpu
+ self._options = options
+ self._timeout_s = timeout_s
+ self._batch_size = batch_size
+ self._client: SIEClient | None = None
+ self._async_client: SIEAsyncClient | None = None
+
+ # -- Client properties --------------------------------------------------
+
+ @property
+ def client(self) -> SIEClient:
+ """Lazily initialize the sync SIE client."""
+ if self._client is None:
+ self._client = SIEClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._client
+
+ @property
+ def async_client(self) -> SIEAsyncClient:
+ """Lazily initialize the async SIE client."""
+ if self._async_client is None:
+ self._async_client = SIEAsyncClient(
+ self._base_url,
+ timeout_s=self._timeout_s,
+ gpu=self._gpu,
+ options=self._options,
+ )
+ return self._async_client
+
+ # -- Lifecycle -----------------------------------------------------------
+
+ def close(self) -> None:
+ """Close the sync client if initialized."""
+ if self._client is not None:
+ self._client.close()
+ self._client = None
+
+ async def aclose(self) -> None:
+ """Close the async client if initialized."""
+ if self._async_client is not None:
+ await self._async_client.close()
+ self._async_client = None
+
+ def __enter__(self) -> Self:
+ return self
+
+ def __exit__(self, *args: object) -> None:
+ self.close()
+
+ async def __aenter__(self) -> Self:
+ return self
+
+ async def __aexit__(self, *args: object) -> None:
+ await self.aclose()
+
+ # -- Sync API ------------------------------------------------------------
+
+ def enrich(
+ self,
+ texts: list[str],
+ *,
+ batch_size: int | None = None,
+ ) -> list[EnrichedDocument]:
+ """Embed and extract structured properties from documents.
+
+ Args:
+ texts: Document texts to enrich.
+ batch_size: Override the instance ``batch_size`` for this call.
+
+ Returns:
+ List of :class:`EnrichedDocument` with vectors and properties
+ ready for Weaviate ``DataObject`` construction.
+ """
+ result: list[EnrichedDocument] = []
+ for chunk_docs in self.enrich_iter(texts, batch_size=batch_size):
+ result.extend(chunk_docs)
+ return result
+
+ def enrich_iter(
+ self,
+ texts: list[str],
+ *,
+ batch_size: int | None = None,
+ ) -> Iterator[list[EnrichedDocument]]:
+ """Embed and extract in chunks, yielding results per chunk.
+
+ Enables pipelining: start inserting into Weaviate while the next
+ chunk is being processed.
+
+ Args:
+ texts: Document texts to enrich.
+ batch_size: Override the instance ``batch_size`` for this call.
+
+ Yields:
+ List of :class:`EnrichedDocument` for each chunk.
+ """
+ if not texts:
+ return
+
+ for chunk_texts in self._iter_chunks(texts, batch_size):
+ items = [Item(text=t) for t in chunk_texts]
+
+ encode_results = self.client.encode(
+ self._embed_model,
+ items,
+ output_types=["dense"],
+ )
+
+ extract_results = None
+ if self._extract_model is not None:
+ extract_results = self.client.extract(
+ self._extract_model,
+ items,
+ labels=self._labels,
+ )
+
+ classify_results = None
+ if self._classify_model is not None:
+ classify_results = self.client.extract(
+ self._classify_model,
+ items,
+ labels=self._classify_labels,
+ )
+
+ yield self._assemble_chunk(chunk_texts, encode_results, extract_results, classify_results)
+
+ def enrich_query(self, text: str) -> list[float]:
+ """Embed a query (no extraction needed for queries).
+
+ Args:
+ text: Query text to embed.
+
+ Returns:
+ Dense vector as ``list[float]``.
+ """
+ result = self.client.encode(
+ self._embed_model,
+ Item(text=text),
+ output_types=["dense"],
+ options={"is_query": True},
+ )
+ return dense_embedding(result)
+
+ # -- Async API -----------------------------------------------------------
+
+ async def aenrich(
+ self,
+ texts: list[str],
+ *,
+ batch_size: int | None = None,
+ ) -> list[EnrichedDocument]:
+ """Async version of :meth:`enrich` with concurrent API calls.
+
+ Runs encode, extract, and classify concurrently via
+ ``asyncio.gather`` within each chunk.
+
+ Args:
+ texts: Document texts to enrich.
+ batch_size: Override the instance ``batch_size`` for this call.
+
+ Returns:
+ List of :class:`EnrichedDocument`.
+ """
+ result: list[EnrichedDocument] = []
+ async for chunk_docs in self.aenrich_iter(texts, batch_size=batch_size):
+ result.extend(chunk_docs)
+ return result
+
+ async def aenrich_iter(
+ self,
+ texts: list[str],
+ *,
+ batch_size: int | None = None,
+ ) -> AsyncIterator[list[EnrichedDocument]]:
+ """Async generator with concurrent API calls per chunk.
+
+ Within each chunk, encode/extract/classify run concurrently via
+ ``asyncio.gather``, then results are assembled and yielded.
+
+ Args:
+ texts: Document texts to enrich.
+ batch_size: Override the instance ``batch_size`` for this call.
+
+ Yields:
+ List of :class:`EnrichedDocument` for each chunk.
+ """
+ if not texts:
+ return
+
+ for chunk_texts in self._iter_chunks(texts, batch_size):
+ items = [Item(text=t) for t in chunk_texts]
+
+ has_extract = self._extract_model is not None
+ has_classify = self._classify_model is not None and self._classify_labels is not None
+
+ # Build concurrent coroutines
+ coros: list[Any] = [self.async_client.encode(self._embed_model, items, output_types=["dense"])]
+ if has_extract:
+ coros.append(self.async_client.extract(self._extract_model, items, labels=self._labels))
+ if has_classify:
+ coros.append(self.async_client.extract(self._classify_model, items, labels=self._classify_labels))
+
+ results = await asyncio.gather(*coros)
+
+ # Unpack positionally based on which coros were added
+ encode_results = results[0]
+ idx = 1
+ extract_results = results[idx] if has_extract else None
+ if has_extract:
+ idx += 1
+ classify_results = results[idx] if has_classify else None
+
+ yield self._assemble_chunk(chunk_texts, encode_results, extract_results, classify_results)
+
+ async def aenrich_query(self, text: str) -> list[float]:
+ """Async version of :meth:`enrich_query`.
+
+ Args:
+ text: Query text to embed.
+
+ Returns:
+ Dense vector as ``list[float]``.
+ """
+ result = await self.async_client.encode(
+ self._embed_model,
+ Item(text=text),
+ output_types=["dense"],
+ options={"is_query": True},
+ )
+ return dense_embedding(result)
+
+ # -- Internal helpers ----------------------------------------------------
+
+ def _iter_chunks(self, texts: list[str], batch_size: int | None) -> Iterator[list[str]]:
+ """Split texts into chunks of ``batch_size``."""
+ size = batch_size if batch_size is not None else self._batch_size
+ for i in range(0, len(texts), size):
+ yield texts[i : i + size]
+
+ def _assemble_chunk(
+ self,
+ texts: list[str],
+ encode_results: list[Any],
+ extract_results: list[Any] | None,
+ classify_results: list[Any] | None,
+ ) -> list[EnrichedDocument]:
+ """Assemble EnrichedDocument list from raw API results."""
+ docs = []
+ for i, text in enumerate(texts):
+ vector = dense_embedding(encode_results[i])
+
+ properties: dict[str, Any] = {"text": text}
+ raw_entities: list[dict[str, Any]] | None = None
+ raw_classifications: list[dict[str, Any]] | None = None
+
+ if extract_results is not None:
+ raw_entities = self._get_entities(extract_results[i])
+ self._merge_entity_properties(properties, raw_entities)
+
+ if classify_results is not None:
+ raw_classifications = self._get_classifications(classify_results[i])
+ self._merge_classification_properties(properties, raw_classifications)
+
+ docs.append(
+ EnrichedDocument(
+ vector=vector,
+ properties=properties,
+ entities=raw_entities,
+ classifications=raw_classifications,
+ )
+ )
+
+ return docs
+
+ @staticmethod
+ def _get_entities(result: Any) -> list[dict[str, Any]]:
+ """Extract entity list from SDK extract result."""
+ entities = result.get("entities") if isinstance(result, dict) else getattr(result, "entities", None)
+ return list(entities) if entities else []
+
+ @staticmethod
+ def _get_classifications(result: Any) -> list[dict[str, Any]]:
+ """Extract classification list from SDK extract result."""
+ classifications = (
+ result.get("classifications") if isinstance(result, dict) else getattr(result, "classifications", None)
+ )
+ return list(classifications) if classifications else []
+
+ @staticmethod
+ def _merge_entity_properties(
+ properties: dict[str, Any],
+ entities: list[dict[str, Any]],
+ ) -> None:
+ """Group entities by label and merge into properties dict.
+
+ Each label becomes a ``list[str]`` property with deduplicated
+ entity texts. For example, entities
+ ``[{"label": "person", "text": "John"}, {"label": "person", "text": "Jane"}]``
+ become ``{"person": ["John", "Jane"]}``.
+ """
+ seen: dict[str, set[str]] = {}
+ by_label: dict[str, list[str]] = {}
+ for entity in entities:
+ label = entity.get("label") if isinstance(entity, dict) else getattr(entity, "label", None)
+ text = entity.get("text") if isinstance(entity, dict) else getattr(entity, "text", None)
+ if label and text:
+ if label not in seen:
+ seen[label] = set()
+ by_label[label] = []
+ if text not in seen[label]:
+ seen[label].add(text)
+ by_label[label].append(text)
+ properties.update(by_label)
+
+ @staticmethod
+ def _merge_classification_properties(
+ properties: dict[str, Any],
+ classifications: list[dict[str, Any]],
+ ) -> None:
+ """Add top classification as a property.
+
+ Sets ``classification`` to the highest-scoring label and
+ ``classification_score`` to its confidence.
+ """
+ if not classifications:
+ return
+ best = max(
+ classifications,
+ key=lambda c: (c.get("score") if isinstance(c, dict) else getattr(c, "score", 0)) or 0,
+ )
+ label = best.get("label") if isinstance(best, dict) else getattr(best, "label", None)
+ score = best.get("score") if isinstance(best, dict) else getattr(best, "score", None)
+ if label:
+ properties["classification"] = label
+ if score is not None:
+ properties["classification_score"] = float(score)
diff --git a/integrations/sie_weaviate/src/sie_weaviate/vectorizer.py b/integrations/sie_weaviate/src/sie_weaviate/vectorizer.py
index 54ea86ce6..1079114d4 100644
--- a/integrations/sie_weaviate/src/sie_weaviate/vectorizer.py
+++ b/integrations/sie_weaviate/src/sie_weaviate/vectorizer.py
@@ -13,6 +13,9 @@ from __future__ import annotations
from typing import Any
+from sie_sdk import SIEClient
+from sie_sdk.encoding import dense_embedding, multivector_embedding
+
class SIEVectorizer:
"""Compute dense embeddings via SIE for Weaviate collections.
@@ -65,8 +68,6 @@ class SIEVectorizer:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -99,7 +100,7 @@ class SIEVectorizer:
output_dtype=self._output_dtype,
)
- return [self._extract_dense(result) for result in results]
+ return [dense_embedding(result) for result in results]
def embed_query(self, text: str) -> list[float]:
"""Embed a single query text.
@@ -128,33 +129,27 @@ class SIEVectorizer:
options={"is_query": True},
)
- return self._extract_dense(result)
-
- def _extract_dense(self, result: Any) -> list[float]:
- """Extract dense embedding values from SDK result."""
- dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
- if dense is None:
- msg = "Encode result missing dense embedding"
- raise ValueError(msg)
- return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+ return dense_embedding(result)
class SIENamedVectorizer:
"""Compute multiple vector types via SIE for Weaviate named vectors.
Uses a single SIE encode() call to produce multiple output types
- (e.g., dense + sparse) for Weaviate's named vector feature. This
- maps to collections configured with multiple
+ (e.g., dense + multivector) for Weaviate's named vector feature.
+ This maps to collections configured with multiple
``Configure.Vectors.self_provided(name=...)`` entries.
+ Supported output types: ``"dense"``, ``"multivector"`` (ColBERT).
+
Example:
>>> vectorizer = SIENamedVectorizer(
... base_url="http://localhost:8080",
- ... model="BAAI/bge-m3",
- ... output_types=["dense", "sparse"],
+ ... model="jinaai/jina-colbert-v2",
+ ... output_types=["dense", "multivector"],
... )
>>> named_vectors = vectorizer.embed_documents(["hello", "world"])
- >>> # [{"dense": [0.1, ...], "sparse": [0.0, 0.3, ...]}, ...]
+ >>> # [{"dense": [0.1, ...], "multivector": [[0.2, ...], ...]}, ...]
"""
def __init__(
@@ -174,7 +169,8 @@ class SIENamedVectorizer:
Args:
base_url: SIE server URL.
model: Model name for embedding.
- output_types: Vector types to produce (default: ["dense", "sparse"]).
+ output_types: Vector types to produce (default: ["dense"]).
+ Supports "dense" and "multivector" (ColBERT).
Must match the named vector config on the Weaviate collection.
instruction: Instruction prefix for instruction-tuned models (e.g., E5).
output_dtype: Output data type (e.g., "float32", "float16", "int8", "binary").
@@ -184,7 +180,7 @@ class SIENamedVectorizer:
"""
self._base_url = base_url
self._model = model
- self._output_types = output_types or ["dense", "sparse"]
+ self._output_types = output_types or ["dense"]
self._instruction = instruction
self._output_dtype = output_dtype
self._gpu = gpu
@@ -196,8 +192,6 @@ class SIENamedVectorizer:
def client(self) -> Any:
"""Lazily initialize the SIE client."""
if self._client is None:
- from sie_sdk import SIEClient
-
self._client = SIEClient(
self._base_url,
timeout_s=self._timeout_s,
@@ -206,7 +200,7 @@ class SIENamedVectorizer:
)
return self._client
- def embed_documents(self, texts: list[str]) -> list[dict[str, list[float]]]:
+ def embed_documents(self, texts: list[str]) -> list[dict[str, list]]:
"""Embed documents with multiple vector types.
Args:
@@ -214,7 +208,7 @@ class SIENamedVectorizer:
Returns:
List of dicts mapping vector name to vector values.
- Ready for ``DataObject(vector={"dense": ..., "sparse": ...})``.
+ Ready for ``DataObject(vector={"dense": ..., "multivector": ...})``.
"""
if not texts:
return []
@@ -232,7 +226,7 @@ class SIENamedVectorizer:
return [self._extract_named(result) for result in results]
- def embed_query(self, text: str) -> dict[str, list[float]]:
+ def embed_query(self, text: str) -> dict[str, list]:
"""Embed a query with multiple vector types.
Passes ``is_query=True`` so instruction-tuned models apply
@@ -260,52 +254,15 @@ class SIENamedVectorizer:
return self._extract_named(result)
- def _extract_named(self, result: Any) -> dict[str, list[float]]:
+ def _extract_named(self, result: Any) -> dict[str, list]:
"""Extract all requested vector types from SDK result."""
- named: dict[str, list[float]] = {}
+ named: dict[str, list] = {}
for output_type in self._output_types:
raw = result.get(output_type) if isinstance(result, dict) else getattr(result, output_type, None)
if raw is None:
continue
- if output_type == "sparse":
- named[output_type] = self._expand_sparse(raw)
+ if output_type == "multivector":
+ named[output_type] = multivector_embedding(raw)
else:
named[output_type] = raw.tolist() if hasattr(raw, "tolist") else list(raw)
return named
-
- @staticmethod
- def _expand_sparse(sparse: Any) -> list[float]:
- """Expand SIE sparse output to a dense float list for Weaviate.
-
- SIE returns sparse vectors as ``{"indices": [...], "values": [...]}``.
- Weaviate named vectors expect ``list[float]``, so we expand the sparse
- representation into a full-length vector with zeros at inactive
- positions and values at the positions specified by indices.
-
- This preserves positional information so the vector is usable for
- similarity search. The resulting vector length equals the maximum
- index + 1 (typically the model's vocab size).
-
- Note: For native BM25 hybrid search in Weaviate, you don't need
- sparse vectors — Weaviate has built-in BM25. Sparse vectors from
- SIE (e.g., SPLADE) are useful when you want learned sparse
- representations rather than term-frequency-based BM25.
- """
- indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
- values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
-
- if indices is None or values is None:
- return []
-
- indices_list = indices.tolist() if hasattr(indices, "tolist") else list(indices)
- values_list = values.tolist() if hasattr(values, "tolist") else list(values)
-
- if not indices_list:
- return []
-
- # Expand to full-length vector with zeros at inactive positions
- size = max(indices_list) + 1
- expanded = [0.0] * size
- for idx, val in zip(indices_list, values_list):
- expanded[idx] = float(val)
- return expanded
diff --git a/integrations/sie_weaviate/tests/conftest.py b/integrations/sie_weaviate/tests/conftest.py
index 08059aaf4..e519f072e 100644
--- a/integrations/sie_weaviate/tests/conftest.py
+++ b/integrations/sie_weaviate/tests/conftest.py
@@ -8,20 +8,21 @@ consider extracting shared fixtures into a common test utilities package.
from __future__ import annotations
from typing import Any
-from unittest.mock import MagicMock
+from unittest.mock import AsyncMock, MagicMock
import numpy as np
import pytest
EMBEDDING_DIM = 384
-SPARSE_DIM = 30522 # BERT vocab size
+MULTIVECTOR_TOKENS = 8
+MULTIVECTOR_DIM = 128
def _create_mock_encode_result(
items: list[dict],
*,
include_dense: bool = True,
- include_sparse: bool = False,
+ include_multivector: bool = False,
) -> list[dict]:
"""Create mock encode results with deterministic embeddings."""
results = []
@@ -36,18 +37,54 @@ def _create_mock_encode_result(
embedding = embedding / np.linalg.norm(embedding)
result["dense"] = embedding
- if include_sparse:
- num_nonzero = min(100, SPARSE_DIM)
- result["sparse"] = {
- "indices": np.sort(rng.choice(SPARSE_DIM, num_nonzero, replace=False)).astype(np.int32),
- "values": rng.uniform(0, 1, num_nonzero).astype(np.float32),
- }
+ if include_multivector:
+ mv = rng.standard_normal((MULTIVECTOR_TOKENS, MULTIVECTOR_DIM)).astype(np.float32)
+ result["multivector"] = mv
results.append(result)
return results
+def _create_mock_extract_result(
+ items: list[dict],
+ *,
+ labels: list[str] | None = None,
+) -> list[dict]:
+ """Create mock extract results with deterministic entities."""
+ labels = labels or ["person", "organization", "location"]
+ results = []
+ for idx, _item in enumerate(items):
+ entities = []
+ # Generate one entity per label for testing
+ for i, label in enumerate(labels):
+ entities.append(
+ {
+ "text": f"{label}_{idx}",
+ "label": label,
+ "score": 0.95 - i * 0.1,
+ "start": i * 10,
+ "end": i * 10 + 5,
+ }
+ )
+ results.append({"entities": entities})
+ return results
+
+
+def _create_mock_classify_result(
+ items: list[dict],
+ *,
+ labels: list[str] | None = None,
+) -> list[dict]:
+ """Create mock classification results."""
+ labels = labels or ["technical", "business", "legal"]
+ results = []
+ for _idx, _item in enumerate(items):
+ classifications = [{"label": label, "score": 0.9 - i * 0.2} for i, label in enumerate(labels)]
+ results.append({"classifications": classifications})
+ return results
+
+
def _get_text(item: Any) -> str:
"""Extract text from an item."""
if isinstance(item, dict):
@@ -72,23 +109,173 @@ def mock_sie_client() -> MagicMock:
) -> list[dict] | dict:
output_types = output_types or ["dense"]
include_dense = "dense" in output_types
- include_sparse = "sparse" in output_types
+ include_multivector = "multivector" in output_types
if not isinstance(items, list):
items = [items]
item_dicts = [{"text": _get_text(items[0])}]
- results = _create_mock_encode_result(item_dicts, include_dense=include_dense, include_sparse=include_sparse)
+ results = _create_mock_encode_result(
+ item_dicts,
+ include_dense=include_dense,
+ include_multivector=include_multivector,
+ )
return results[0]
item_dicts = [{"text": _get_text(i)} for i in items]
- return _create_mock_encode_result(item_dicts, include_dense=include_dense, include_sparse=include_sparse)
+ return _create_mock_encode_result(
+ item_dicts,
+ include_dense=include_dense,
+ include_multivector=include_multivector,
+ )
+
+ def mock_extract(
+ _model: str,
+ items: Any,
+ *,
+ labels: list[str] | None = None,
+ **kwargs: Any,
+ ) -> list[dict] | dict:
+ if not isinstance(items, list):
+ items = [items]
+ item_dicts = [{"text": _get_text(items[0])}]
+ # Distinguish NER vs classification by model name heuristic,
+ # but for mocks just check if labels look like classifications
+ results = _create_mock_extract_result(item_dicts, labels=labels)
+ return results[0]
+
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return _create_mock_extract_result(item_dicts, labels=labels)
+
+ def mock_extract_classify(
+ _model: str,
+ items: Any,
+ *,
+ labels: list[str] | None = None,
+ **kwargs: Any,
+ ) -> list[dict] | dict:
+ if not isinstance(items, list):
+ items = [items]
+ item_dicts = [{"text": _get_text(items[0])}]
+ results = _create_mock_classify_result(item_dicts, labels=labels)
+ return results[0]
+
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return _create_mock_classify_result(item_dicts, labels=labels)
client.encode = MagicMock(side_effect=mock_encode)
+ # Default extract returns entities; tests that need classification
+ # swap the side_effect on the second call.
+ client.extract = MagicMock(side_effect=mock_extract)
+ client.base_url = "http://localhost:8080"
+
+ return client
+
+
+def mock_classify_client(mock_sie_client: MagicMock) -> MagicMock:
+ """Mock client where extract returns classifications (for GLiClass)."""
+ original_extract = mock_sie_client.extract.side_effect
+
+ call_count = 0
+
+ def extract_dispatch(_model: str, items: Any, *, labels: list[str] | None = None, **kwargs: Any) -> Any:
+ nonlocal call_count
+ call_count += 1
+ # First call = NER, second call = classification
+ if call_count % 2 == 0:
+ if not isinstance(items, list):
+ items = [items]
+ item_dicts = [{"text": _get_text(items[0])}]
+ return _create_mock_classify_result(item_dicts, labels=labels)[0]
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return _create_mock_classify_result(item_dicts, labels=labels)
+ return original_extract(_model, items, labels=labels, **kwargs)
+
+ mock_sie_client.extract = MagicMock(side_effect=extract_dispatch)
+ return mock_sie_client
+
+
+def mock_sie_async_client() -> AsyncMock:
+ """Create a mocked SIEAsyncClient for async unit testing."""
+ client = AsyncMock()
+
+ async def mock_encode(
+ _model: str,
+ items: Any,
+ output_types: list[str] | None = None,
+ *,
+ options: dict[str, Any] | None = None,
+ **kwargs: Any,
+ ) -> list[dict] | dict:
+ output_types = output_types or ["dense"]
+ include_dense = "dense" in output_types
+ include_multivector = "multivector" in output_types
+
+ if not isinstance(items, list):
+ items = [items]
+ item_dicts = [{"text": _get_text(items[0])}]
+ results = _create_mock_encode_result(
+ item_dicts,
+ include_dense=include_dense,
+ include_multivector=include_multivector,
+ )
+ return results[0]
+
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return _create_mock_encode_result(
+ item_dicts,
+ include_dense=include_dense,
+ include_multivector=include_multivector,
+ )
+
+ async def mock_extract(
+ _model: str,
+ items: Any,
+ *,
+ labels: list[str] | None = None,
+ **kwargs: Any,
+ ) -> list[dict] | dict:
+ if not isinstance(items, list):
+ items = [items]
+ item_dicts = [{"text": _get_text(items[0])}]
+ results = _create_mock_extract_result(item_dicts, labels=labels)
+ return results[0]
+
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return _create_mock_extract_result(item_dicts, labels=labels)
+
+ client.encode = AsyncMock(side_effect=mock_encode)
+ client.extract = AsyncMock(side_effect=mock_extract)
+ client.close = AsyncMock()
client.base_url = "http://localhost:8080"
return client
+def mock_async_classify_client(mock_sie_async_client: AsyncMock) -> AsyncMock:
+ """Async mock client where extract alternates NER and classification."""
+ original_extract = mock_sie_async_client.extract.side_effect
+
+ call_count = 0
+
+ async def extract_dispatch(_model: str, items: Any, *, labels: list[str] | None = None, **kwargs: Any) -> Any:
+ nonlocal call_count
+ call_count += 1
+ if call_count % 2 == 0:
+ if not isinstance(items, list):
+ items = [items]
+ item_dicts = [{"text": _get_text(items[0])}]
+ return _create_mock_classify_result(item_dicts, labels=labels)[0]
+ item_dicts = [{"text": _get_text(i)} for i in items]
+ return _create_mock_classify_result(item_dicts, labels=labels)
+ return await original_extract(_model, items, labels=labels, **kwargs)
+
+ mock_sie_async_client.extract = AsyncMock(side_effect=extract_dispatch)
+ return mock_sie_async_client
+
+
@pytest.fixture
def sample_documents() -> list[str]:
"""Sample documents for vector store testing."""
diff --git a/integrations/sie_weaviate/tests/test_enricher.py b/integrations/sie_weaviate/tests/test_enricher.py
new file mode 100644
index 000000000..530a1c874
--- /dev/null
+++ b/integrations/sie_weaviate/tests/test_enricher.py
@@ -0,0 +1,330 @@
+"""Unit tests for SIE Weaviate document enricher."""
+
+from __future__ import annotations
+
+from unittest.mock import AsyncMock, MagicMock
+
+import pytest
+from sie_weaviate import EnrichedDocument, SIEDocumentEnricher
+
+
+class TestSIEDocumentEnricher:
+ """Tests for SIEDocumentEnricher."""
+
+ def test_enrich_returns_vectors_and_properties(self, mock_sie_client: MagicMock) -> None:
+ """Enriched documents contain vectors and text properties."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person", "organization"],
+ )
+ enricher._client = mock_sie_client
+
+ docs = enricher.enrich(["John works at Google."])
+
+ assert len(docs) == 1
+ assert isinstance(docs[0], EnrichedDocument)
+ assert isinstance(docs[0].vector, list)
+ assert len(docs[0].vector) == 384
+ assert all(isinstance(v, float) for v in docs[0].vector)
+ assert docs[0].properties["text"] == "John works at Google."
+
+ def test_enrich_groups_entities_by_label(self, mock_sie_client: MagicMock) -> None:
+ """Entities are grouped by label into list properties."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person", "organization", "location"],
+ )
+ enricher._client = mock_sie_client
+
+ docs = enricher.enrich(["test text"])
+
+ props = docs[0].properties
+ assert "person" in props
+ assert "organization" in props
+ assert "location" in props
+ assert isinstance(props["person"], list)
+ assert isinstance(props["organization"], list)
+
+ def test_enrich_with_classification(self, mock_classify_client: MagicMock) -> None:
+ """Classification adds top label as property."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person"],
+ classify_model="classify-model",
+ classify_labels=["technical", "business", "legal"],
+ )
+ enricher._client = mock_classify_client
+
+ docs = enricher.enrich(["test text"])
+
+ props = docs[0].properties
+ assert "classification" in props
+ assert props["classification"] == "technical" # highest score in mock
+ assert "classification_score" in props
+ assert isinstance(props["classification_score"], float)
+
+ def test_enrich_empty_input(self, mock_sie_client: MagicMock) -> None:
+ """Empty input returns empty list without calling SIE."""
+ enricher = SIEDocumentEnricher()
+ enricher._client = mock_sie_client
+
+ result = enricher.enrich([])
+
+ assert result == []
+ mock_sie_client.encode.assert_not_called()
+ mock_sie_client.extract.assert_not_called()
+
+ def test_enrich_query(self, mock_sie_client: MagicMock) -> None:
+ """Query enrichment returns only a vector, no extraction."""
+ enricher = SIEDocumentEnricher()
+ enricher._client = mock_sie_client
+
+ vec = enricher.enrich_query("search text")
+
+ assert isinstance(vec, list)
+ assert len(vec) == 384
+ assert all(isinstance(v, float) for v in vec)
+ mock_sie_client.extract.assert_not_called()
+
+ def test_enrich_without_extract_model(self, mock_sie_client: MagicMock) -> None:
+ """With extract_model=None, only embeddings are produced."""
+ enricher = SIEDocumentEnricher(extract_model=None)
+ enricher._client = mock_sie_client
+
+ docs = enricher.enrich(["test text"])
+
+ assert len(docs) == 1
+ assert docs[0].properties == {"text": "test text"}
+ assert docs[0].entities is None
+ assert docs[0].classifications is None
+ assert len(docs[0].vector) == 384
+ mock_sie_client.extract.assert_not_called()
+
+ def test_enrich_raw_entities_preserved(self, mock_sie_client: MagicMock) -> None:
+ """Raw entity dicts are available on EnrichedDocument."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person"],
+ )
+ enricher._client = mock_sie_client
+
+ docs = enricher.enrich(["test text"])
+
+ assert docs[0].entities is not None
+ assert len(docs[0].entities) > 0
+ entity = docs[0].entities[0]
+ assert "text" in entity
+ assert "label" in entity
+ assert "score" in entity
+
+ def test_enrich_multiple_documents(self, mock_sie_client: MagicMock, sample_documents: list[str]) -> None:
+ """Multiple documents each get their own vectors and properties."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person", "organization"],
+ )
+ enricher._client = mock_sie_client
+
+ docs = enricher.enrich(sample_documents)
+
+ assert len(docs) == len(sample_documents)
+ for i, doc in enumerate(docs):
+ assert doc.properties["text"] == sample_documents[i]
+ assert len(doc.vector) == 384
+
+ def test_enrich_deduplicates_entities(self, mock_sie_client: MagicMock) -> None:
+ """Duplicate entity texts within a label are deduplicated."""
+ enricher = SIEDocumentEnricher(extract_model="ner-model", labels=["person"])
+ enricher._client = mock_sie_client
+
+ # Manually set up a result with duplicate entities
+ mock_sie_client.extract = MagicMock(
+ return_value=[
+ {
+ "entities": [
+ {"text": "John", "label": "person", "score": 0.9, "start": 0, "end": 4},
+ {"text": "John", "label": "person", "score": 0.8, "start": 20, "end": 24},
+ ],
+ }
+ ]
+ )
+
+ docs = enricher.enrich(["John met John."])
+
+ assert docs[0].properties["person"] == ["John"]
+
+ def test_lazy_client_initialization(self) -> None:
+ """Client is not created until first use."""
+ enricher = SIEDocumentEnricher()
+ assert enricher._client is None
+
+ def test_enriched_document_dataclass(self) -> None:
+ """EnrichedDocument has expected fields and defaults."""
+ doc = EnrichedDocument(
+ vector=[0.1, 0.2],
+ properties={"text": "hello"},
+ )
+ assert doc.vector == [0.1, 0.2]
+ assert doc.properties == {"text": "hello"}
+ assert doc.entities is None
+ assert doc.classifications is None
+
+ # -- Chunking tests ------------------------------------------------------
+
+ def test_enrich_iter_yields_chunks(self, mock_sie_client: MagicMock) -> None:
+ """enrich_iter yields one batch of documents per chunk."""
+ enricher = SIEDocumentEnricher(extract_model=None)
+ enricher._client = mock_sie_client
+
+ texts = ["a", "b", "c", "d", "e"]
+ chunks = list(enricher.enrich_iter(texts, batch_size=2))
+
+ assert len(chunks) == 3 # 2, 2, 1
+ assert len(chunks[0]) == 2
+ assert len(chunks[1]) == 2
+ assert len(chunks[2]) == 1
+
+ def test_enrich_with_batch_size(self, mock_sie_client: MagicMock) -> None:
+ """Enrich with batch_size calls encode once per chunk."""
+ enricher = SIEDocumentEnricher(extract_model=None)
+ enricher._client = mock_sie_client
+
+ docs = enricher.enrich(["a", "b", "c", "d", "e"], batch_size=2)
+
+ assert len(docs) == 5
+ assert mock_sie_client.encode.call_count == 3 # chunks of 2, 2, 1
+
+ def test_enrich_iter_empty(self, mock_sie_client: MagicMock) -> None:
+ """enrich_iter on empty input yields nothing."""
+ enricher = SIEDocumentEnricher()
+ enricher._client = mock_sie_client
+
+ chunks = list(enricher.enrich_iter([]))
+
+ assert chunks == []
+
+ # -- Lifecycle tests -----------------------------------------------------
+
+ def test_close_closes_client(self, mock_sie_client: MagicMock) -> None:
+ """close() calls client.close() and resets to None."""
+ enricher = SIEDocumentEnricher()
+ enricher._client = mock_sie_client
+
+ enricher.close()
+
+ mock_sie_client.close.assert_called_once()
+ assert enricher._client is None
+
+ def test_context_manager_sync(self, mock_sie_client: MagicMock) -> None:
+ """Sync context manager calls close on exit."""
+ enricher = SIEDocumentEnricher()
+ enricher._client = mock_sie_client
+
+ with enricher:
+ pass
+
+ mock_sie_client.close.assert_called_once()
+
+ def test_async_client_lazy_init(self) -> None:
+ """Async client is None until first use."""
+ enricher = SIEDocumentEnricher()
+ assert enricher._async_client is None
+
+
+class TestSIEDocumentEnricherAsync:
+ """Async tests for SIEDocumentEnricher."""
+
+ @pytest.mark.asyncio
+ async def test_aenrich_returns_vectors_and_properties(self, mock_sie_async_client: AsyncMock) -> None:
+ """Aenrich produces same output shape as enrich."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person", "organization"],
+ )
+ enricher._async_client = mock_sie_async_client
+
+ docs = await enricher.aenrich(["John works at Google."])
+
+ assert len(docs) == 1
+ assert isinstance(docs[0], EnrichedDocument)
+ assert len(docs[0].vector) == 384
+ assert docs[0].properties["text"] == "John works at Google."
+ assert "person" in docs[0].properties
+
+ @pytest.mark.asyncio
+ async def test_aenrich_query(self, mock_sie_async_client: AsyncMock) -> None:
+ """aenrich_query returns a vector without extraction."""
+ enricher = SIEDocumentEnricher()
+ enricher._async_client = mock_sie_async_client
+
+ vec = await enricher.aenrich_query("search text")
+
+ assert isinstance(vec, list)
+ assert len(vec) == 384
+ mock_sie_async_client.extract.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_aenrich_iter_yields_chunks(self, mock_sie_async_client: AsyncMock) -> None:
+ """aenrich_iter yields per-chunk results."""
+ enricher = SIEDocumentEnricher(extract_model=None)
+ enricher._async_client = mock_sie_async_client
+
+ chunks = []
+ async for chunk in enricher.aenrich_iter(["a", "b", "c", "d", "e"], batch_size=2):
+ chunks.append(chunk)
+
+ assert len(chunks) == 3
+ assert len(chunks[0]) == 2
+ assert len(chunks[1]) == 2
+ assert len(chunks[2]) == 1
+
+ @pytest.mark.asyncio
+ async def test_aenrich_empty_input(self, mock_sie_async_client: AsyncMock) -> None:
+ """Aenrich on empty input returns empty list."""
+ enricher = SIEDocumentEnricher()
+ enricher._async_client = mock_sie_async_client
+
+ result = await enricher.aenrich([])
+
+ assert result == []
+ mock_sie_async_client.encode.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_aenrich_with_classification(self, mock_async_classify_client: AsyncMock) -> None:
+ """Aenrich runs encode+extract+classify concurrently."""
+ enricher = SIEDocumentEnricher(
+ extract_model="ner-model",
+ labels=["person"],
+ classify_model="classify-model",
+ classify_labels=["technical", "business"],
+ )
+ enricher._async_client = mock_async_classify_client
+
+ docs = await enricher.aenrich(["test text"])
+
+ assert len(docs) == 1
+ props = docs[0].properties
+ assert "person" in props
+ assert "classification" in props
+
+ @pytest.mark.asyncio
+ async def test_aclose_closes_async_client(self, mock_sie_async_client: AsyncMock) -> None:
+ """aclose() calls async_client.close() and resets to None."""
+ enricher = SIEDocumentEnricher()
+ enricher._async_client = mock_sie_async_client
+
+ await enricher.aclose()
+
+ mock_sie_async_client.close.assert_called_once()
+ assert enricher._async_client is None
+
+ @pytest.mark.asyncio
+ async def test_context_manager_async(self, mock_sie_async_client: AsyncMock) -> None:
+ """Async context manager calls aclose on exit."""
+ enricher = SIEDocumentEnricher()
+ enricher._async_client = mock_sie_async_client
+
+ async with enricher:
+ pass
+
+ mock_sie_async_client.close.assert_called_once()
diff --git a/integrations/sie_weaviate/tests/test_vectorizer.py b/integrations/sie_weaviate/tests/test_vectorizer.py
index 542c411ea..083559313 100644
--- a/integrations/sie_weaviate/tests/test_vectorizer.py
+++ b/integrations/sie_weaviate/tests/test_vectorizer.py
@@ -150,12 +150,12 @@ class TestSIEVectorizer:
assert call_kwargs.get("instruction") == "Represent this query:"
assert call_kwargs.get("options") == {"is_query": True}
- def test_extract_dense_raises_on_none(self, mock_sie_client: object) -> None:
- """_extract_dense raises ValueError when dense is missing."""
- vectorizer = SIEVectorizer(model="test-model")
+ def test_extract_dense_raises_on_none(self) -> None:
+ """extract_dense raises ValueError when dense is missing."""
+ from sie_sdk.encoding import dense_embedding
with pytest.raises(ValueError, match="missing dense embedding"):
- vectorizer._extract_dense({})
+ dense_embedding({})
class TestSIENamedVectorizer:
@@ -163,7 +163,7 @@ class TestSIENamedVectorizer:
def test_embed_documents_returns_named(self, mock_sie_client: object, sample_documents: list[str]) -> None:
"""Returns dicts with requested vector types."""
- vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "sparse"])
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "multivector"])
vectorizer._client = mock_sie_client
named = vectorizer.embed_documents(sample_documents)
@@ -173,20 +173,22 @@ class TestSIENamedVectorizer:
for item in named:
assert isinstance(item, dict)
assert "dense" in item
- assert "sparse" in item
+ assert "multivector" in item
assert isinstance(item["dense"], list)
- assert isinstance(item["sparse"], list)
+ assert isinstance(item["multivector"], list)
+ # multivector is list of token vectors
+ assert isinstance(item["multivector"][0], list)
def test_embed_query_returns_named(self, mock_sie_client: object) -> None:
"""Query embedding returns dict with all vector types."""
- vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "sparse"])
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "multivector"])
vectorizer._client = mock_sie_client
named = vectorizer.embed_query("search text")
assert isinstance(named, dict)
assert "dense" in named
- assert "sparse" in named
+ assert "multivector" in named
def test_empty_documents(self, mock_sie_client: object) -> None:
"""Empty input returns empty list without calling SIE."""
@@ -200,23 +202,23 @@ class TestSIENamedVectorizer:
def test_output_types_forwarded(self, mock_sie_client: object) -> None:
"""Requested output_types are passed to encode()."""
- vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "sparse"])
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense", "multivector"])
vectorizer._client = mock_sie_client
vectorizer.embed_documents(["test"])
call_kwargs = mock_sie_client.encode.call_args.kwargs
- assert call_kwargs.get("output_types") == ["dense", "sparse"]
+ assert call_kwargs.get("output_types") == ["dense", "multivector"]
def test_default_output_types(self, mock_sie_client: object) -> None:
- """Default output types are dense + sparse."""
+ """Default output types are dense only."""
vectorizer = SIENamedVectorizer(model="test-model")
vectorizer._client = mock_sie_client
vectorizer.embed_documents(["test"])
call_kwargs = mock_sie_client.encode.call_args.kwargs
- assert call_kwargs.get("output_types") == ["dense", "sparse"]
+ assert call_kwargs.get("output_types") == ["dense"]
def test_lazy_client_initialization(self) -> None:
"""Client is not created until first use."""
@@ -252,3 +254,46 @@ class TestSIENamedVectorizer:
call_kwargs = mock_sie_client.encode.call_args.kwargs
assert call_kwargs.get("output_dtype") == "float16"
+
+ def test_multivector_shape(self, mock_sie_client: object) -> None:
+ """Multivector output has correct nested list structure."""
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["multivector"])
+ vectorizer._client = mock_sie_client
+
+ named = vectorizer.embed_documents(["test"])
+
+ mv = named[0]["multivector"]
+ assert isinstance(mv, list)
+ assert len(mv) == 8 # MULTIVECTOR_TOKENS from conftest
+ for token_vec in mv:
+ assert isinstance(token_vec, list)
+ assert len(token_vec) == 128 # MULTIVECTOR_DIM from conftest
+ assert all(isinstance(v, float) for v in token_vec)
+
+ def test_extract_multivector_from_numpy(self) -> None:
+ """extract_multivector converts 2D numpy array to list of lists."""
+ from sie_sdk.encoding import multivector_embedding
+
+ mv = np.array([[1.0, 2.0], [3.0, 4.0]], dtype=np.float32)
+ result = multivector_embedding(mv)
+
+ assert result == [[1.0, 2.0], [3.0, 4.0]]
+
+ def test_extract_multivector_from_list_of_arrays(self) -> None:
+ """extract_multivector handles list of 1D numpy arrays."""
+ from sie_sdk.encoding import multivector_embedding
+
+ mv = [np.array([1.0, 2.0], dtype=np.float32), np.array([3.0, 4.0], dtype=np.float32)]
+ result = multivector_embedding(mv)
+
+ assert result == [[1.0, 2.0], [3.0, 4.0]]
+
+ def test_dense_only_named(self, mock_sie_client: object) -> None:
+ """Dense-only output works without multivector."""
+ vectorizer = SIENamedVectorizer(model="test-model", output_types=["dense"])
+ vectorizer._client = mock_sie_client
+
+ named = vectorizer.embed_documents(["test"])
+
+ assert "dense" in named[0]
+ assert "multivector" not in named[0]
diff --git a/package.json b/package.json
index 8354fbd61..a09c16136 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"packages/sie_ts_sdk",
"integrations/sie_ts_langchain",
"integrations/sie_ts_llamaindex",
- "integrations/sie_ts_chroma"
+ "integrations/sie_ts_chroma",
+ "integrations/sie_ts_lancedb"
]
}
diff --git a/packages/sie_router/pyproject.toml b/packages/sie_router/pyproject.toml
index bb7bfd435..5a344abfa 100644
--- a/packages/sie_router/pyproject.toml
+++ b/packages/sie_router/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-router"
-version = "0.1.9"
+version = "0.1.10"
description = "Search Inference Engine - Stateless request router for elastic cloud deployments"
requires-python = ">=3.12,<3.13"
license = { text = "Apache-2.0" }
@@ -16,9 +16,13 @@ dependencies = [
# WebSocket client for worker connections
"websockets>=14,<15",
+ # NATS pub/sub for config distribution
+ "nats-py>=2.9,<3",
+
# Serialization (for request/response forwarding)
"msgpack>=1.1,<2",
"msgpack-numpy>=0.4,<1",
+ "orjson>=3.10,<4",
# Shared types (SDK is source of truth for interface types)
"sie-sdk>=0.1",
@@ -41,6 +45,7 @@ dependencies = [
[project.optional-dependencies]
kubernetes = ["kubernetes>=31,<32"]
+gcs = ["google-cloud-storage>=2.18,<3"]
[project.scripts]
sie-router = "sie_router.cli:app"
diff --git a/packages/sie_router/src/sie_router/app/app_factory.py b/packages/sie_router/src/sie_router/app/app_factory.py
index b51606800..051b09859 100644
--- a/packages/sie_router/src/sie_router/app/app_factory.py
+++ b/packages/sie_router/src/sie_router/app/app_factory.py
@@ -1,5 +1,4 @@
import asyncio
-import json
import logging
import os
from collections.abc import AsyncGenerator, Callable
@@ -8,26 +7,35 @@ from pathlib import Path
from typing import Any
import httpx
+import orjson
+import yaml
from fastapi import FastAPI, HTTPException, Request
from fastapi.responses import JSONResponse
from sie_router.api.root import router as root_router
from sie_router.app.app_state_config import AppStateConfig
+from sie_router.config_api import router as config_router
+from sie_router.config_store import ConfigStore
from sie_router.discovery import (
KubernetesDiscovery,
StaticDiscovery,
WorkerConnectionManager,
WorkerDiscovery,
)
+from sie_router.dlq_listener import DlqListener
from sie_router.health import router as health_router
from sie_router.hot_reload import ConfigWatcher
+from sie_router.jetstream_manager import JetStreamManager
from sie_router.metrics import router as metrics_router
from sie_router.model_registry import ModelRegistry
+from sie_router.nats_manager import NatsManager
+from sie_router.payload_store import create_payload_store
from sie_router.pools import PoolManager, PoolState
from sie_router.proxy import router as proxy_router
from sie_router.registry import WorkerRegistry
from sie_router.types import MachineProfile
from sie_router.version import ROUTER_VERSION, SERVER_VERSION_HEADER
+from sie_router.work_publisher import WorkPublisher
logger = logging.getLogger(__name__)
@@ -67,16 +75,6 @@ class AppFactory:
lifespan=cls._create_lifespan(config),
)
- # Version header middleware (runs on every response including errors)
- @app.middleware("http")
- async def _add_version_header(
- request: Request,
- call_next: Callable[[Request], Any],
- ) -> JSONResponse:
- response = await call_next(request)
- response.headers[SERVER_VERSION_HEADER] = ROUTER_VERSION
- return response
-
app.add_exception_handler(HTTPException, _http_exception_handler)
# Register routers
@@ -84,6 +82,41 @@ class AppFactory:
app.include_router(health_router)
app.include_router(proxy_router)
app.include_router(metrics_router)
+ app.include_router(config_router)
+
+ # Middleware stack (add_middleware wraps outermost-last):
+ #
+ # 1. HotPathMiddleware (innermost) — intercepts POST /v1/encode|score|extract
+ # and handles them directly, bypassing FastAPI's routing/DI/exception chain.
+ # Non-matching requests fall through to FastAPI.
+ #
+ # 2. _VersionHeaderMiddleware (outermost) — injects the version header on
+ # ALL responses (including hot path and FastAPI). Pure ASGI, ~0 overhead.
+ from sie_router.app.hot_path import HotPathMiddleware
+
+ app.add_middleware(HotPathMiddleware) # type: ignore[invalid-argument-type] # pure ASGI middleware
+
+ _version_header = (SERVER_VERSION_HEADER.lower().encode(), ROUTER_VERSION.encode())
+
+ class _VersionHeaderMiddleware:
+ def __init__(self, asgi_app: Any) -> None:
+ self.app = asgi_app
+
+ async def __call__(self, scope: dict, receive: Any, send: Any) -> None:
+ if scope["type"] != "http":
+ await self.app(scope, receive, send)
+ return
+
+ async def send_with_header(message: dict) -> None:
+ if message["type"] == "http.response.start":
+ headers = list(message.get("headers", []))
+ headers.append(_version_header)
+ message = {**message, "headers": headers}
+ await send(message)
+
+ await self.app(scope, receive, send_with_header)
+
+ app.add_middleware(_VersionHeaderMiddleware) # type: ignore[invalid-argument-type] # pure ASGI middleware
return app
@@ -99,6 +132,10 @@ class AppFactory:
async with (
cls._machine_profiles(app),
cls._model_registry(app, config),
+ cls._config_store(app, config),
+ cls._nats_manager(app, config),
+ cls._work_publisher(app),
+ cls._dlq_listener(app),
cls._pool_manager(app, config) as pool_manager,
cls._worker_registry(app, pool_manager),
cls._http_client(app),
@@ -140,8 +177,8 @@ class AppFactory:
return {}
try:
- data = json.loads(json_str)
- except json.JSONDecodeError as e:
+ data = orjson.loads(json_str)
+ except orjson.JSONDecodeError as e:
logger.error("Failed to parse SIE_ROUTER_MACHINE_PROFILES: %s", e)
return {}
@@ -192,6 +229,176 @@ class AppFactory:
if config_watcher:
config_watcher.stop()
+ @classmethod
+ @asynccontextmanager
+ async def _config_store(cls, app: FastAPI, config: AppStateConfig) -> AsyncGenerator[None, None]: # noqa: ARG003
+ """Initialize config store for persisting API-added model configs."""
+ config_dir = os.environ.get("SIE_CONFIG_STORE_DIR")
+ if config_dir:
+ store = ConfigStore(config_dir)
+ app.state.config_store = store
+ logger.info("Config store initialized at %s (epoch=%d)", config_dir, store.read_epoch())
+
+ # Warn if NATS is configured but config store is local.
+ # In multi-router mode this is an error; in single-router dev it's acceptable.
+ nats_url = os.environ.get("SIE_NATS_URL")
+ multi_router = os.environ.get("SIE_MULTI_ROUTER", "").lower() in ("1", "true")
+ if nats_url and not config_dir.startswith(("s3://", "gs://")):
+ msg = (
+ f"SIE_NATS_URL is set ({nats_url}) but SIE_CONFIG_STORE_DIR "
+ f"is local ({config_dir}). Multi-router deployments require "
+ f"a shared config store (s3:// or gs://) to ensure config "
+ f"consistency across routers. Either unset SIE_NATS_URL or "
+ f"set SIE_CONFIG_STORE_DIR to an S3/GCS path."
+ )
+ if multi_router:
+ logger.error(msg)
+ raise RuntimeError(msg)
+ logger.warning(msg)
+
+ # Restore model configs from store if enabled
+ if os.environ.get("SIE_CONFIG_RESTORE", "").lower() == "true":
+ model_registry: ModelRegistry | None = app.state.model_registry
+ if model_registry is None:
+ logger.warning("Cannot restore configs — ModelRegistry not initialized")
+ else:
+ stored_models = store.load_all_models()
+ for model_id, model_config in stored_models.items():
+ try:
+ model_registry.add_model_config(model_config)
+ logger.info("Restored model from config store: %s", model_id)
+ except Exception:
+ logger.exception("Failed to restore model: %s", model_id)
+ if stored_models:
+ logger.info("Restored %d models from config store", len(stored_models))
+ else:
+ app.state.config_store = None
+
+ yield
+
+ @classmethod
+ @asynccontextmanager
+ async def _nats_manager(cls, app: FastAPI, config: AppStateConfig) -> AsyncGenerator[None, None]: # noqa: ARG003
+ """Initialize NATS manager for config distribution."""
+ nats_url = os.environ.get("SIE_NATS_URL")
+ nats_manager: NatsManager | None = None
+
+ if nats_url:
+ model_registry: ModelRegistry | None = app.state.model_registry
+ if model_registry is None:
+ logger.warning("NATS URL configured but ModelRegistry not initialized — skipping NATS manager setup")
+ app.state.nats_manager = None
+ else:
+
+ async def on_config_notification(data: dict) -> None:
+ """Handle config notification from another router."""
+ model_config_yaml = data.get("model_config", "")
+ if model_config_yaml:
+ try:
+ config_dict = yaml.safe_load(model_config_yaml)
+ model_registry.add_model_config(config_dict)
+ except Exception:
+ logger.exception(
+ "Failed to apply config notification for model %s",
+ data.get("model_id"),
+ )
+
+ async def on_reconnect() -> None:
+ """Reconcile from config store on NATS reconnect."""
+ config_store: ConfigStore | None = getattr(app.state, "config_store", None)
+ if config_store:
+ stored_epoch = config_store.read_epoch()
+ logger.info("NATS reconnect — checking epoch (stored=%d)", stored_epoch)
+ stored_models = config_store.load_all_models()
+ for model_id, model_config in stored_models.items():
+ try:
+ model_registry.add_model_config(model_config)
+ except Exception: # noqa: BLE001 — best-effort reconciliation
+ logger.debug("Failed to reconcile model %s on reconnect", model_id)
+
+ nats_manager = NatsManager(
+ nats_url=nats_url,
+ on_config_notification=on_config_notification,
+ on_reconnect=on_reconnect,
+ )
+ await nats_manager.connect()
+ app.state.nats_manager = nats_manager
+ else:
+ app.state.nats_manager = None
+ logger.info("NATS not configured (SIE_NATS_URL not set) — config distribution disabled")
+
+ try:
+ yield
+ finally:
+ if nats_manager:
+ await nats_manager.disconnect()
+
+ @classmethod
+ @asynccontextmanager
+ async def _work_publisher(cls, app: FastAPI) -> AsyncGenerator[None, None]:
+ """Initialize WorkPublisher for queue-based cluster routing."""
+ work_publisher: WorkPublisher | None = None
+
+ if os.environ.get("SIE_CLUSTER_ROUTING") != "queue":
+ app.state.work_publisher = None
+ else:
+ nats_manager: NatsManager | None = app.state.nats_manager
+ if nats_manager is None:
+ logger.warning("SIE_CLUSTER_ROUTING=queue but NATS manager not initialized — skipping WorkPublisher")
+ app.state.work_publisher = None
+ elif nats_manager.nc is None:
+ logger.warning("SIE_CLUSTER_ROUTING=queue but NATS connection is None — skipping WorkPublisher")
+ app.state.work_publisher = None
+ else:
+ nc = nats_manager.nc
+ js = nc.jetstream()
+ jsm = JetStreamManager(nc=nc, js=js)
+ payload_store = create_payload_store(os.environ.get("SIE_PAYLOAD_STORE_URL"))
+ work_publisher = WorkPublisher(
+ nc=nc,
+ js=js,
+ jsm=jsm,
+ router_id=nats_manager.router_id,
+ payload_store=payload_store,
+ )
+ await work_publisher.start()
+ app.state.work_publisher = work_publisher
+
+ # Register reconnect handler to clear JSM caches and re-subscribe inbox
+ nats_manager.add_reconnect_handler(work_publisher.handle_reconnect)
+
+ try:
+ yield
+ finally:
+ if work_publisher:
+ await work_publisher.stop()
+
+ @classmethod
+ @asynccontextmanager
+ async def _dlq_listener(cls, app: FastAPI) -> AsyncGenerator[None, None]:
+ """Start DLQ advisory listener when queue routing is active."""
+ dlq_listener: DlqListener | None = None
+
+ work_publisher: WorkPublisher | None = app.state.work_publisher
+ if work_publisher is not None:
+ nats_manager: NatsManager | None = app.state.nats_manager
+ if nats_manager is not None and nats_manager.nc is not None:
+ nc = nats_manager.nc
+ js = nc.jetstream()
+ dlq_listener = DlqListener(nc=nc, js=js)
+ await dlq_listener.start()
+ app.state.dlq_listener = dlq_listener
+ else:
+ app.state.dlq_listener = None
+ else:
+ app.state.dlq_listener = None
+
+ try:
+ yield
+ finally:
+ if dlq_listener is not None:
+ await dlq_listener.stop()
+
@classmethod
@asynccontextmanager
async def _pool_manager(cls, app: FastAPI, config: AppStateConfig) -> AsyncGenerator[PoolManager | None, None]:
@@ -249,7 +456,7 @@ class AppFactory:
worker.name,
)
# Update pool in K8s if using K8s mode
- if pool_manager._use_kubernetes:
+ if pool_manager.use_kubernetes:
await pool_manager._update_pool_in_k8s(pool)
except asyncio.CancelledError:
raise
@@ -268,7 +475,7 @@ class AppFactory:
@asynccontextmanager
async def _http_client(cls, app: FastAPI) -> AsyncGenerator[None, None]:
"""Create shared httpx client for connection pooling to workers."""
- client = httpx.AsyncClient()
+ client = httpx.AsyncClient(timeout=httpx.Timeout(30.0, connect=5.0))
app.state.http_client = client
try:
yield
diff --git a/packages/sie_router/src/sie_router/app/hot_path.py b/packages/sie_router/src/sie_router/app/hot_path.py
new file mode 100644
index 000000000..d4109f21e
--- /dev/null
+++ b/packages/sie_router/src/sie_router/app/hot_path.py
@@ -0,0 +1,88 @@
+import logging
+from typing import Any
+
+from fastapi import HTTPException
+from fastapi.responses import JSONResponse
+from starlette.requests import Request
+
+from sie_router.proxy import _proxy_request
+
+logger = logging.getLogger(__name__)
+
+# Prefix table — maps path prefix to operation name used in _proxy_request
+_HOT_PREFIXES = (
+ ("/v1/encode/", "encode"),
+ ("/v1/score/", "score"),
+ ("/v1/extract/", "extract"),
+)
+
+
+class HotPathMiddleware:
+ """Intercept hot proxy paths and handle them without FastAPI overhead.
+
+ Bypasses FastAPI's routing, dependency injection, exception middleware,
+ and async exit stack for the three hot proxy endpoints (encode, score,
+ extract). All other paths fall through to the wrapped FastAPI app.
+
+ The middleware extracts the same parameters that FastAPI's DI would
+ resolve (model path, two optional headers) via direct scope access,
+ constructs a Starlette ``Request``, and calls ``_proxy_request``
+ — the same function the FastAPI endpoints delegate to.
+ """
+
+ def __init__(self, app: Any) -> None:
+ self.app = app
+
+ async def __call__(self, scope: dict, receive: Any, send: Any) -> None:
+ if scope["type"] != "http" or scope.get("method", "GET") != "POST":
+ await self.app(scope, receive, send)
+ return
+
+ path: str = scope["path"]
+
+ # Fast prefix check (~0.1μs) instead of Starlette's regex routing (~1μs)
+ operation = None
+ model = None
+ for prefix, op in _HOT_PREFIXES:
+ if path.startswith(prefix):
+ operation = op
+ model = path[len(prefix) :]
+ break
+
+ if operation is None or not model:
+ await self.app(scope, receive, send)
+ return
+
+ # Extract the two optional headers directly from scope.
+ # scope["headers"] is a list of (name, value) byte tuples — iterate
+ # once to collect both, avoiding dict() construction overhead.
+ gpu: str | None = None
+ pool: str | None = None
+ for name, value in scope["headers"]:
+ if name == b"x-sie-machine-profile":
+ gpu = value.decode() or None
+ elif name == b"x-sie-pool":
+ pool = value.decode() or None
+
+ request = Request(scope, receive)
+
+ try:
+ response = await _proxy_request(
+ request=request,
+ model=model,
+ path=f"/v1/{operation}/{model}",
+ x_machine_profile=gpu,
+ x_sie_pool=pool,
+ )
+ await response(scope, receive, send)
+ except HTTPException as exc:
+ detail = exc.detail if isinstance(exc.detail, dict) else {"error": str(exc.detail)}
+ error_response = JSONResponse(status_code=exc.status_code, content=detail)
+ await error_response(scope, receive, send)
+ except Exception:
+ logger.exception("Unhandled error in hot path handler for %s %s", scope.get("method"), path)
+ error_response = JSONResponse(
+ status_code=500,
+ content={"error": "internal_error", "message": "Internal server error"},
+ )
+ await error_response(scope, receive, send)
diff --git a/packages/sie_router/src/sie_router/cli.py b/packages/sie_router/src/sie_router/cli.py
index 8237f3600..c15d77a37 100644
--- a/packages/sie_router/src/sie_router/cli.py
+++ b/packages/sie_router/src/sie_router/cli.py
@@ -1,13 +1,13 @@
"""CLI for SIE Router."""
import dataclasses
-import json
import logging
import os
import sys
from datetime import UTC, datetime
from typing import Annotated, Any
+import orjson
import typer
from sie_router import __version__
@@ -57,7 +57,7 @@ class JSONFormatter(logging.Formatter):
if record.exc_info:
log_data["exception"] = self.formatException(record.exc_info)
- return json.dumps(log_data, default=str)
+ return orjson.dumps(log_data, default=str).decode()
def setup_logging(level: str, *, json_format: bool = False) -> None:
diff --git a/packages/sie_router/src/sie_router/config_api.py b/packages/sie_router/src/sie_router/config_api.py
new file mode 100644
index 000000000..2ae161c6f
--- /dev/null
+++ b/packages/sie_router/src/sie_router/config_api.py
@@ -0,0 +1,633 @@
+from __future__ import annotations
+
+import asyncio
+import hashlib
+import hmac
+import logging
+import os
+import re
+import time
+from collections import OrderedDict
+from typing import Any
+
+import orjson
+import yaml
+from fastapi import APIRouter, HTTPException, Request, Response
+
+from sie_router.config_store import ConfigStore, EpochCASError
+from sie_router.model_registry import BundleConflictError, ModelNotFoundError, ModelRegistry, parse_model_spec
+from sie_router.nats_manager import NatsManager
+from sie_router.registry import WorkerRegistry
+from sie_router.types import AuditEntry
+
+logger = logging.getLogger(__name__)
+audit_logger = logging.getLogger("sie.audit")
+
+router = APIRouter(prefix="/v1/configs", tags=["config"])
+
+_MAX_CAS_RETRIES = 3
+_MAX_CONFIG_BODY_BYTES = 1_048_576 # 1 MiB
+_SERVING_READINESS_TIMEOUT_S = 3.0
+_MODEL_ID_PATTERN = re.compile(r"^[a-zA-Z0-9][a-zA-Z0-9._/-]*$")
+
+# In-memory idempotency cache: maps Idempotency-Key -> (status_code, response_body, payload_hash).
+# _idempotency_in_flight tracks keys currently being processed to prevent duplicate execution.
+_MAX_IDEMPOTENCY_CACHE_SIZE = 1000
+_idempotency_cache: OrderedDict[str, tuple[int, str, str]] = OrderedDict()
+_idempotency_lock = asyncio.Lock()
+_idempotency_in_flight: dict[str, asyncio.Event] = {}
+
+
+def _emit_audit_log(
+ request: Request,
+ *,
+ event: str,
+ status: int,
+ model: str | None = None,
+ latency_ms: float | None = None,
+ body_bytes: int | None = None,
+) -> None:
+ """Emit a structured audit log entry for config API operations."""
+ token = request.headers.get("Authorization", "").removeprefix("Bearer ").strip()
+ token_id = hashlib.sha256(token.encode()).hexdigest()[:12] if token else None
+
+ entry = AuditEntry(
+ event=event,
+ method=request.method,
+ endpoint=str(request.url.path),
+ status=status,
+ token_id=token_id,
+ model=model,
+ body_bytes=body_bytes,
+ latency_ms=latency_ms,
+ )
+ audit_logger.info(orjson.dumps(entry.to_dict()).decode())
+
+
+def _validate_model_id(model_id: str) -> None:
+ """Validate model_id to prevent path traversal."""
+ if ".." in model_id or "\\" in model_id or not _MODEL_ID_PATTERN.match(model_id):
+ raise HTTPException(
+ status_code=400,
+ detail={"error": "invalid_model_id", "message": "Model ID contains invalid characters."},
+ )
+
+
+def _check_read_auth(request: Request) -> None:
+ """Validate read auth (inference token or admin token)."""
+ auth_token = os.environ.get("SIE_AUTH_TOKEN")
+ admin_token = os.environ.get("SIE_ADMIN_TOKEN")
+ if auth_token is None and admin_token is None:
+ return # No auth configured
+
+ token = request.headers.get("Authorization", "").removeprefix("Bearer ").strip()
+ if not token:
+ raise HTTPException(status_code=401, detail="Missing Authorization header")
+ token_match = (auth_token is not None and hmac.compare_digest(token, auth_token)) or (
+ admin_token is not None and hmac.compare_digest(token, admin_token)
+ )
+ if not token_match:
+ raise HTTPException(status_code=403, detail="Invalid token")
+
+
+def _check_write_auth(request: Request) -> None:
+ """Validate write auth (admin token, or inference token as fallback)."""
+ admin_token = os.environ.get("SIE_ADMIN_TOKEN")
+ if admin_token is None:
+ # If SIE_ADMIN_TOKEN is not set, refuse writes when SIE_AUTH_TOKEN
+ # is present (inference token must not implicitly grant write access).
+ if os.environ.get("SIE_AUTH_TOKEN"):
+ raise HTTPException(
+ status_code=403,
+ detail="Write operations require SIE_ADMIN_TOKEN (inference token is not sufficient).",
+ )
+ return # No auth configured at all
+
+ token = request.headers.get("Authorization", "").removeprefix("Bearer ").strip()
+ if not token:
+ raise HTTPException(status_code=401, detail="Missing Authorization header")
+ if not hmac.compare_digest(token, admin_token):
+ raise HTTPException(status_code=403, detail="Admin token required for config mutations")
+
+
+async def list_models(request: Request) -> dict[str, Any]:
+ """List all registered model IDs with their profiles and source."""
+ _check_read_auth(request)
+ model_registry: ModelRegistry = request.app.state.model_registry
+ config_store: ConfigStore | None = getattr(request.app.state, "config_store", None)
+
+ api_models = set(await asyncio.to_thread(config_store.list_models)) if config_store else set()
+
+ models = []
+ for model_name in model_registry.list_models():
+ profile_names = sorted(model_registry.get_model_profile_names(model_name))
+ source = "api" if model_name in api_models else "filesystem"
+ models.append(
+ {
+ "model_id": model_name,
+ "profiles": profile_names,
+ "source": source,
+ }
+ )
+
+ return {"models": models}
+
+
[email protected]("/models/{model_id:path}")
+async def get_model(request: Request, model_id: str) -> Response:
+ """Return stored YAML config for a model."""
+ _check_read_auth(request)
+ _validate_model_id(model_id)
+ config_store: ConfigStore | None = getattr(request.app.state, "config_store", None)
+ model_registry: ModelRegistry = request.app.state.model_registry
+
+ if not model_registry.model_exists(model_id):
+ raise HTTPException(
+ status_code=404,
+ detail={
+ "error": "model_not_found",
+ "model_id": model_id,
+ "message": f"Model '{model_id}' does not exist in the catalog.",
+ },
+ )
+
+ # Try config store first (API-added), then filesystem
+ content = (await asyncio.to_thread(config_store.read_model, model_id)) if config_store else None
+ if content:
+ return Response(content=content, media_type="application/x-yaml")
+
+ # Model exists in registry but not in config store — it's from filesystem
+ # We don't have the raw YAML easily, return a 200 with basic info
+ info = model_registry.get_model_info(model_id)
+ if info:
+ data = {"sie_id": model_id, "source": "filesystem", "bundles": info.bundles}
+ return Response(content=yaml.safe_dump(data, default_flow_style=False), media_type="application/x-yaml")
+
+ raise HTTPException(status_code=404, detail={"error": "model_not_found", "model_id": model_id})
+
+
+async def add_model(request: Request) -> Response:
+ """Add a single model config or append profiles to an existing model."""
+ _check_write_auth(request)
+ start_time = time.monotonic()
+
+ model_registry: ModelRegistry = request.app.state.model_registry
+ nats_manager: NatsManager | None = getattr(request.app.state, "nats_manager", None)
+ config_store: ConfigStore | None = getattr(request.app.state, "config_store", None)
+ worker_registry: WorkerRegistry = request.app.state.registry
+
+ # Check NATS availability (required for config distribution)
+ if nats_manager and not nats_manager.connected:
+ raise HTTPException(
+ status_code=503,
+ detail={"error": "nats_unavailable", "message": "NATS not connected — cannot distribute config changes."},
+ )
+
+ # Parse YAML body
+ body = await request.body()
+ if len(body) > _MAX_CONFIG_BODY_BYTES:
+ raise HTTPException(
+ status_code=413,
+ detail={
+ "error": "payload_too_large",
+ "message": f"Config body exceeds {_MAX_CONFIG_BODY_BYTES} bytes limit.",
+ },
+ )
+
+ # D4: Idempotency-Key support (checked after body read for payload hash)
+ idempotency_key = request.headers.get("Idempotency-Key")
+ body_hash = hashlib.sha256(body).hexdigest()
+ if idempotency_key:
+ while True:
+ async with _idempotency_lock:
+ cached = _idempotency_cache.get(idempotency_key)
+ if cached is not None:
+ cached_status, cached_body, cached_payload_hash = cached
+ if body_hash != cached_payload_hash:
+ raise HTTPException(
+ status_code=422,
+ detail={
+ "error": "idempotency_mismatch",
+ "message": "Idempotency-Key reused with different payload.",
+ },
+ )
+ return Response(
+ content=cached_body,
+ status_code=cached_status,
+ media_type="application/json",
+ )
+ in_flight_event = _idempotency_in_flight.get(idempotency_key)
+ if in_flight_event is None:
+ # We're the first — claim this key
+ _idempotency_in_flight[idempotency_key] = asyncio.Event()
+ break
+ # Another request is processing this key — wait and retry
+ await in_flight_event.wait()
+ try:
+ try:
+ config = yaml.safe_load(body.decode())
+ except yaml.YAMLError as e:
+ raise HTTPException(
+ status_code=400,
+ detail={"error": "parse_error", "message": f"Invalid YAML: {e}"},
+ ) from e
+
+ if not isinstance(config, dict):
+ raise HTTPException(
+ status_code=400,
+ detail={"error": "parse_error", "message": "Expected YAML mapping at top level"},
+ )
+
+ # Validate model ID before mutating registry
+ model_id = config.get("sie_id", "")
+ if model_id:
+ _validate_model_id(model_id)
+
+ # Add to registry
+ try:
+ created_profiles, skipped_profiles, affected_bundles = model_registry.add_model_config(config)
+ except ValueError as e:
+ raise HTTPException(
+ status_code=422,
+ detail={"error": "validation_error", "details": [{"message": str(e)}]},
+ ) from e
+
+ # D2: 409 Conflict if existing model has different content for same profiles
+ if not created_profiles and skipped_profiles and config_store:
+ existing_yaml = await asyncio.to_thread(config_store.read_model, model_id)
+ if existing_yaml:
+ try:
+ existing = yaml.safe_load(existing_yaml) or {}
+ existing_profiles = existing.get("profiles", {})
+ conflicting = []
+ for pname in skipped_profiles:
+ new_profile = config.get("profiles", {}).get(pname, {})
+ old_profile = existing_profiles.get(pname, {})
+ if new_profile != old_profile:
+ conflicting.append(pname)
+ if conflicting:
+ raise HTTPException(
+ status_code=409,
+ detail={
+ "error": "content_conflict",
+ "model_id": model_id,
+ "conflicting_profiles": conflicting,
+ "message": f"Profile(s) {conflicting} exist with different content. Config API is append-only.",
+ },
+ )
+ except yaml.YAMLError:
+ pass # If we can't parse existing, skip conflict check
+
+ # Persist to config store (with epoch CAS)
+ epoch = 0
+ config_yaml = ""
+ if config_store and created_profiles:
+ for attempt in range(_MAX_CAS_RETRIES):
+ try:
+ # Re-read and re-merge on each attempt to use fresh state
+ current_epoch = await asyncio.to_thread(config_store.read_epoch)
+ existing_yaml = await asyncio.to_thread(config_store.read_model, model_id)
+ if existing_yaml:
+ try:
+ existing_config = yaml.safe_load(existing_yaml) or {}
+ except yaml.YAMLError:
+ existing_config = {}
+ merged_profiles = existing_config.get("profiles", {})
+ merged_profiles.update(config.get("profiles", {}))
+ merged_config = dict(config)
+ merged_config["profiles"] = merged_profiles
+ else:
+ merged_config = config
+
+ config_yaml = yaml.dump(merged_config, default_flow_style=False, sort_keys=False)
+
+ # Write model config FIRST (idempotent), then bump epoch
+ await asyncio.to_thread(config_store.write_model, model_id, config_yaml)
+ epoch = await asyncio.to_thread(config_store.cas_epoch, current_epoch)
+ break
+ except EpochCASError:
+ if attempt == _MAX_CAS_RETRIES - 1:
+ logger.error("Epoch CAS failed after %d retries for model %s", _MAX_CAS_RETRIES, model_id)
+ raise HTTPException(
+ status_code=503,
+ detail={"error": "cas_conflict", "message": "Concurrent config mutation — retry."},
+ ) from None
+ logger.warning("Epoch CAS retry %d for model %s", attempt + 1, model_id)
+ await asyncio.sleep(0.01)
+ else:
+ config_yaml = body.decode()
+
+ # Compute bundle config hashes for affected bundles
+ bundle_config_hashes = {}
+ for bundle_id in affected_bundles:
+ bundle_config_hashes[bundle_id] = model_registry.compute_bundle_config_hash(bundle_id)
+
+ # Publish NATS notification
+ nats_publish_failed = False
+ if nats_manager and nats_manager.connected and created_profiles:
+ try:
+ await nats_manager.publish_config_notification(
+ model_id=model_id,
+ profiles_added=created_profiles,
+ affected_bundles=affected_bundles,
+ bundle_config_hashes=bundle_config_hashes,
+ epoch=epoch,
+ model_config_yaml=config_yaml,
+ )
+ except Exception:
+ logger.exception("Failed to publish NATS notification for model %s", model_id)
+ nats_publish_failed = True
+
+ # Wait for serving readiness (originating router's connected workers only)
+ router_id = nats_manager.router_id if nats_manager else "standalone"
+ ack_result = await _wait_for_serving_readiness(
+ worker_registry=worker_registry,
+ affected_bundles=affected_bundles,
+ bundle_config_hashes=bundle_config_hashes,
+ timeout_s=_SERVING_READINESS_TIMEOUT_S,
+ )
+
+ # Build response
+ warnings = list(ack_result.get("warnings", []))
+ if nats_publish_failed:
+ warnings.append(
+ "nats_publish_failed: Config persisted but NATS notification failed. Workers may not be updated."
+ )
+
+ routable_bundles_by_profile = {}
+ for profile_name in created_profiles:
+ routable_bundles_by_profile[profile_name] = affected_bundles
+
+ # 201 if any profiles were created, 200 only if all skipped
+ status_code = 201 if created_profiles else 200
+ response_body: dict[str, Any] = {
+ "model_id": model_id,
+ "created_profiles": created_profiles,
+ "existing_profiles_skipped": skipped_profiles,
+ "warnings": warnings,
+ "routable_bundles_by_profile": routable_bundles_by_profile,
+ "worker_ack_pending": ack_result["worker_ack_pending"],
+ "router_id": router_id,
+ }
+
+ if created_profiles:
+ response_body.update(
+ {
+ "eligible_bundles_count": len(affected_bundles),
+ "eligible_bundles_with_workers_count": ack_result["eligible_bundles_with_workers_count"],
+ "acked_workers": ack_result["acked_workers"],
+ "total_eligible": ack_result["total_eligible"],
+ "pending_workers": ack_result["pending_workers"],
+ }
+ )
+
+ response_json = orjson.dumps(response_body).decode()
+
+ # D4: Cache response for idempotency
+ if idempotency_key:
+ async with _idempotency_lock:
+ _idempotency_cache[idempotency_key] = (status_code, response_json, body_hash)
+ _idempotency_cache.move_to_end(idempotency_key)
+ while len(_idempotency_cache) > _MAX_IDEMPOTENCY_CACHE_SIZE:
+ _idempotency_cache.popitem(last=False) # Evict oldest (FIFO)
+ # Notify waiters and remove in-flight marker
+ event = _idempotency_in_flight.pop(idempotency_key, None)
+ if event is not None:
+ event.set()
+
+ except Exception:
+ # Clean up in-flight marker on any error so waiters aren't stuck forever
+ if idempotency_key:
+ async with _idempotency_lock:
+ event = _idempotency_in_flight.pop(idempotency_key, None)
+ if event is not None:
+ event.set()
+ raise
+
+ # D3: Emit audit log
+ elapsed_ms = (time.monotonic() - start_time) * 1000
+ _emit_audit_log(
+ request,
+ event="config.add_model",
+ status=status_code,
+ model=model_id,
+ latency_ms=round(elapsed_ms, 2),
+ body_bytes=len(body),
+ )
+
+ return Response(
+ content=response_json,
+ status_code=status_code,
+ media_type="application/json",
+ )
+
+
+async def _wait_for_serving_readiness(
+ *,
+ worker_registry: WorkerRegistry,
+ affected_bundles: list[str],
+ bundle_config_hashes: dict[str, str],
+ timeout_s: float = 3.0,
+) -> dict[str, Any]:
+ """Wait for serving readiness on this router's connected workers.
+
+ Serving readiness: >=1 healthy worker ACK per eligible bundle that has
+ >=1 healthy connected worker on this router.
+
+ Returns:
+ Dict with ack stats.
+ """
+ warnings: list[str] = []
+
+ # Count eligible workers per bundle (on this router)
+ eligible_bundles_with_workers = 0
+ total_eligible = 0
+ for bundle_id in affected_bundles:
+ workers_in_bundle = [w for w in worker_registry.healthy_workers if w.bundle.lower() == bundle_id.lower()]
+ if workers_in_bundle:
+ eligible_bundles_with_workers += 1
+ total_eligible += len(workers_in_bundle)
+
+ if total_eligible == 0:
+ warnings.append("no_eligible_workers_connected")
+ return {
+ "worker_ack_pending": True,
+ "eligible_bundles_with_workers_count": 0,
+ "acked_workers": 0,
+ "total_eligible": 0,
+ "pending_workers": 0,
+ "warnings": warnings,
+ }
+
+ # Poll for ACKs (bundle_config_hash match) using asyncio event-based waiting
+ deadline = time.monotonic() + timeout_s
+ acked_workers = 0
+
+ while time.monotonic() < deadline:
+ acked_workers = 0
+ all_bundles_met = True
+
+ for bundle_id in affected_bundles:
+ expected_hash = bundle_config_hashes.get(bundle_id, "")
+ workers_in_bundle = [w for w in worker_registry.healthy_workers if w.bundle.lower() == bundle_id.lower()]
+ if not workers_in_bundle:
+ continue
+
+ bundle_acked = sum(1 for w in workers_in_bundle if w.bundle_config_hash == expected_hash)
+ acked_workers += bundle_acked
+
+ if bundle_acked == 0:
+ all_bundles_met = False
+
+ if all_bundles_met and acked_workers > 0:
+ break
+
+ remaining = deadline - time.monotonic()
+ if remaining <= 0:
+ break
+ # Use asyncio.wait_for with an event or short sleep to avoid busy-polling.
+ # Sleep for min(remaining, 0.2s) to reduce CPU usage vs the original 0.1s.
+ await asyncio.sleep(min(remaining, 0.2))
+
+ pending_workers = total_eligible - acked_workers
+ worker_ack_pending = pending_workers > 0
+
+ if worker_ack_pending:
+ warnings.append(
+ "Serving readiness not met within timeout. Model may not be immediately servable on this router."
+ )
+
+ return {
+ "worker_ack_pending": worker_ack_pending,
+ "eligible_bundles_with_workers_count": eligible_bundles_with_workers,
+ "acked_workers": acked_workers,
+ "total_eligible": total_eligible,
+ "pending_workers": pending_workers,
+ "warnings": warnings,
+ }
+
+
[email protected]("/resolve")
+async def resolve_config(request: Request) -> Response:
+ """Resolve a model spec to its bundle and routing info.
+
+ Accepts a JSON body with 'model' (required) and optional 'bundle' override.
+ Returns the resolved bundle, compatible bundles, and profile names.
+ """
+ _check_read_auth(request)
+ model_registry: ModelRegistry = request.app.state.model_registry
+
+ body = await request.body()
+ try:
+ data = orjson.loads(body) if body else {}
+ except (orjson.JSONDecodeError, UnicodeDecodeError) as e:
+ raise HTTPException(
+ status_code=400,
+ detail={"error": "parse_error", "message": f"Invalid JSON: {e}"},
+ ) from e
+
+ model_spec = data.get("model", "")
+ if not model_spec:
+ raise HTTPException(
+ status_code=400,
+ detail={"error": "missing_field", "message": "'model' field is required"},
+ )
+
+ try:
+ bundle_override, model_name = parse_model_spec(model_spec)
+ except ValueError as e:
+ raise HTTPException(
+ status_code=400,
+ detail={"error": "invalid_model_spec", "message": str(e)},
+ ) from e
+
+ # Allow explicit bundle override from request body
+ if not bundle_override:
+ bundle_override = data.get("bundle")
+
+ try:
+ resolved_bundle = model_registry.resolve_bundle(model_name, bundle_override)
+ except ModelNotFoundError as e:
+ raise HTTPException(
+ status_code=404,
+ detail={"error": "model_not_found", "model": model_name, "message": str(e)},
+ ) from e
+ except BundleConflictError as e:
+ raise HTTPException(
+ status_code=409,
+ detail={
+ "error": "bundle_conflict",
+ "model": model_name,
+ "bundle": e.bundle,
+ "compatible_bundles": e.compatible_bundles,
+ "message": str(e),
+ },
+ ) from e
+
+ model_info = model_registry.get_model_info(model_name)
+ profile_names = sorted(model_registry.get_model_profile_names(model_name))
+
+ result: dict[str, Any] = {
+ "model": model_name,
+ "resolved_bundle": resolved_bundle,
+ "compatible_bundles": model_info.bundles if model_info else [resolved_bundle],
+ "profiles": profile_names,
+ }
+
+ return Response(
+ content=orjson.dumps(result),
+ status_code=200,
+ media_type="application/json",
+ )
+
+
[email protected]("/bundles")
+async def list_bundles(request: Request) -> dict[str, Any]:
+ """List all known bundles with capacity info."""
+ _check_read_auth(request)
+ model_registry: ModelRegistry = request.app.state.model_registry
+ worker_registry: WorkerRegistry = request.app.state.registry
+
+ bundles = []
+ for bundle_name in model_registry.list_bundles():
+ info = model_registry.get_bundle_info(bundle_name)
+ if not info:
+ continue
+
+ connected_workers = sum(1 for w in worker_registry.healthy_workers if w.bundle.lower() == bundle_name.lower())
+
+ bundles.append(
+ {
+ "bundle_id": info.name,
+ "priority": info.priority,
+ "adapter_count": len(info.adapters),
+ "source": "filesystem",
+ "connected_workers": connected_workers,
+ }
+ )
+
+ return {"bundles": bundles}
+
+
[email protected]("/bundles/{bundle_id}")
+async def get_bundle(request: Request, bundle_id: str) -> Response:
+ """Return bundle metadata YAML."""
+ _check_read_auth(request)
+ model_registry: ModelRegistry = request.app.state.model_registry
+
+ info = model_registry.get_bundle_info(bundle_id)
+ if not info:
+ raise HTTPException(
+ status_code=404,
+ detail={"error": "bundle_not_found", "bundle_id": bundle_id},
+ )
+
+ data = {
+ "name": info.name,
+ "priority": info.priority,
+ "source": "filesystem",
+ "adapters": info.adapters,
+ }
+ return Response(content=yaml.safe_dump(data, default_flow_style=False), media_type="application/x-yaml")
diff --git a/packages/sie_router/src/sie_router/config_store.py b/packages/sie_router/src/sie_router/config_store.py
new file mode 100644
index 000000000..bafcbefdf
--- /dev/null
+++ b/packages/sie_router/src/sie_router/config_store.py
@@ -0,0 +1,178 @@
+from __future__ import annotations
+
+import logging
+
+import yaml
+from sie_sdk.storage import StorageBackend, get_storage_backend, is_cloud_path, join_path
+
+logger = logging.getLogger(__name__)
+
+
+class EpochCASError(Exception):
+ """Epoch CAS failed — another writer bumped the epoch concurrently."""
+
+ def __init__(self, expected: int, actual: int) -> None:
+ self.expected = expected
+ self.actual = actual
+ super().__init__(f"Epoch CAS failed: expected {expected}, got {actual}")
+
+
+class ConfigStore:
+ """Config store with epoch CAS, backed by local filesystem, S3, or GCS.
+
+ The backend is auto-detected from the base_dir URL scheme:
+ - Local path (e.g., /tmp/config-store) → LocalBackend with fcntl CAS
+ - s3://bucket/prefix → S3Backend with ETag-based conditional writes
+ - gs://bucket/prefix → GCSBackend with generation-based conditional writes
+
+ Layout (same for all backends):
+ {base_dir}/models/{model_id}.yaml # Per-model config files
+ {base_dir}/epoch # Monotonic counter (plain text integer)
+
+ Args:
+ base_dir: Root path for config storage. Accepts local path, s3://, or gs://.
+ """
+
+ def __init__(self, base_dir: str) -> None:
+ self._base_dir = base_dir.rstrip("/")
+ self._backend: StorageBackend = get_storage_backend(self._base_dir)
+ self._models_path = join_path(self._base_dir, "models")
+ self._epoch_path = join_path(self._base_dir, "epoch")
+ self._is_cloud = is_cloud_path(self._base_dir)
+
+ # For local backend, ensure directories exist
+ if not self._is_cloud:
+ from pathlib import Path
+
+ Path(self._models_path).mkdir(parents=True, exist_ok=True)
+
+ @property
+ def base_dir(self) -> str:
+ return self._base_dir
+
+ def read_epoch(self) -> int:
+ """Read the current epoch value.
+
+ Returns:
+ Current epoch, or 0 if epoch file doesn't exist.
+ """
+ try:
+ if not self._backend.exists(self._epoch_path):
+ return 0
+ content = self._backend.read_text(self._epoch_path).strip()
+ return int(content) if content else 0
+ except (ValueError, OSError):
+ logger.warning("Failed to read epoch, returning 0")
+ return 0
+
+ def cas_epoch(self, expected: int) -> int:
+ """Compare-and-swap the epoch value.
+
+ Atomically increments epoch from expected to expected+1.
+ - Local backend: uses fcntl advisory file locking.
+ - S3: uses ETag-based conditional PutObject.
+ - GCS: uses generation-based conditional upload.
+
+ Args:
+ expected: Expected current epoch value.
+
+ Returns:
+ New epoch value (expected + 1) on success.
+
+ Raises:
+ EpochCASError: If current epoch != expected (concurrent writer).
+ """
+ expected_content = str(expected) if expected > 0 else ""
+ new_epoch = expected + 1
+
+ success = self._backend.write_text_if_match(
+ self._epoch_path,
+ str(new_epoch),
+ expected_content,
+ )
+ if not success:
+ # Read actual epoch for the error message
+ actual = self.read_epoch()
+ raise EpochCASError(expected, actual)
+
+ return new_epoch
+
+ def _validate_model_id(self, model_id: str) -> None:
+ """Reject model IDs containing the reserved '__' sequence.
+
+ Raises:
+ ValueError: If model_id contains '__'.
+ """
+ if "__" in model_id:
+ raise ValueError(
+ f"Model ID {model_id!r} contains reserved sequence '__'. Use '/' as the separator (e.g., 'org/model')."
+ )
+
+ def write_model(self, model_id: str, config_yaml: str) -> None:
+ """Write a model config YAML to the store.
+
+ The model_id is sanitized for path use (/ -> __).
+
+ Args:
+ model_id: Model identifier (e.g., "BAAI/bge-m3").
+ config_yaml: Raw YAML content to persist.
+
+ Raises:
+ ValueError: If model_id contains reserved sequence '__'.
+ """
+ self._validate_model_id(model_id)
+ filename = model_id.replace("/", "__") + ".yaml"
+ filepath = join_path(self._models_path, filename)
+ self._backend.write_text(filepath, config_yaml)
+ logger.debug("Wrote model config: %s", filepath)
+
+ def read_model(self, model_id: str) -> str | None:
+ """Read a model config YAML from the store.
+
+ Args:
+ model_id: Model identifier.
+
+ Returns:
+ YAML content string, or None if not found.
+
+ Raises:
+ ValueError: If model_id contains reserved sequence '__'.
+ """
+ self._validate_model_id(model_id)
+ filename = model_id.replace("/", "__") + ".yaml"
+ filepath = join_path(self._models_path, filename)
+ try:
+ if not self._backend.exists(filepath):
+ return None
+ return self._backend.read_text(filepath)
+ except Exception: # noqa: BLE001 — read failure should not crash
+ logger.warning("Failed to read model config: %s", model_id)
+ return None
+
+ def list_models(self) -> list[str]:
+ """List all stored model IDs.
+
+ Returns:
+ List of model IDs (with / restored from __).
+ """
+ try:
+ filenames = list(self._backend.list_files(self._models_path, "*.yaml"))
+ except Exception: # noqa: BLE001
+ return []
+ return sorted(fn.removesuffix(".yaml").replace("__", "/") for fn in filenames)
+
+ def load_all_models(self) -> dict[str, dict]:
+ """Load all model configs from the store.
+
+ Returns:
+ Dict mapping model_id to parsed YAML config dict.
+ """
+ result: dict[str, dict] = {}
+ for model_id in self.list_models():
+ content = self.read_model(model_id)
+ if content:
+ try:
+ result[model_id] = yaml.safe_load(content) or {}
+ except yaml.YAMLError:
+ logger.exception("Failed to parse stored model config: %s", model_id)
+ return result
diff --git a/packages/sie_router/src/sie_router/discovery.py b/packages/sie_router/src/sie_router/discovery.py
index 7ed1b1c08..a7120d36a 100644
--- a/packages/sie_router/src/sie_router/discovery.py
+++ b/packages/sie_router/src/sie_router/discovery.py
@@ -6,7 +6,6 @@ Supports multiple discovery methods:
"""
import asyncio
-import json
import logging
import random
from abc import ABC, abstractmethod
@@ -15,6 +14,7 @@ from dataclasses import dataclass
from enum import Enum
from typing import Any
+import orjson
import websockets
from websockets.exceptions import ConnectionClosedError
@@ -381,9 +381,9 @@ class WorkerConnectionManager:
break
try:
- state = json.loads(message)
+ state = orjson.loads(message)
await self._registry.update_worker(url, state)
- except json.JSONDecodeError:
+ except orjson.JSONDecodeError:
logger.warning("Invalid JSON from worker %s: %s", url, message[:100])
except ConnectionClosedError:
diff --git a/packages/sie_router/src/sie_router/dlq_listener.py b/packages/sie_router/src/sie_router/dlq_listener.py
new file mode 100644
index 000000000..af5a289ea
--- /dev/null
+++ b/packages/sie_router/src/sie_router/dlq_listener.py
@@ -0,0 +1,171 @@
+from __future__ import annotations
+
+import logging
+from typing import Any
+
+import orjson
+from nats.aio.client import Client as NATSClient
+from nats.aio.msg import Msg
+from nats.js import JetStreamContext
+from nats.js.api import RetentionPolicy, StorageType, StreamConfig
+from nats.js.errors import BadRequestError
+from sie_sdk.queue_types import DEAD_LETTER_PREFIX
+
+logger = logging.getLogger(__name__)
+
+try:
+ from prometheus_client import Counter
+
+ DLQ_EVENTS_TOTAL = Counter(
+ "sie_router_dlq_events_total",
+ "Number of work items that exhausted max deliveries",
+ ["stream", "consumer"],
+ )
+ _HAS_METRICS = True
+except ImportError:
+ _HAS_METRICS = False
+
+# NATS advisory subject for max-delivery events across all consumers
+_MAX_DELIVERIES_ADVISORY = "$JS.EVENT.ADVISORY.CONSUMER.MAX_DELIVERIES.>"
+
+# Stream config for dead-letter items
+_DLQ_STREAM_NAME = "DEAD_LETTERS"
+_DLQ_SUBJECTS = [f"{DEAD_LETTER_PREFIX}.>"]
+_DLQ_MAX_AGE_S = 86400 # 24 hours in seconds (nats-py converts to nanoseconds)
+
+
+class DlqListener:
+ """Listens for JetStream max-delivery advisories and republishes to a dead-letter stream.
+
+ When a work item exhausts its max_deliver retries, JetStream publishes an
+ advisory. This listener captures those advisories, fetches the original
+ message from the stream (if still available), and republishes it to
+ ``sie.dlq.{model_id_normalized}`` for post-mortem analysis.
+
+ If the original message has already been purged (expired via max_age), the
+ advisory metadata is published instead so operators still have visibility.
+ """
+
+ def __init__(self, nc: NATSClient, js: JetStreamContext) -> None:
+ self._nc = nc
+ self._js = js
+ self._sub: Any = None
+ self._dlq_stream_ensured = False
+
+ async def start(self) -> None:
+ """Subscribe to max-delivery advisories."""
+ await self._ensure_dlq_stream()
+ self._sub = await self._nc.subscribe(
+ _MAX_DELIVERIES_ADVISORY,
+ cb=self._on_advisory,
+ )
+ logger.info("DLQ listener started on %s", _MAX_DELIVERIES_ADVISORY)
+
+ async def stop(self) -> None:
+ """Unsubscribe from advisories."""
+ if self._sub is not None:
+ await self._sub.unsubscribe()
+ self._sub = None
+
+ async def _ensure_dlq_stream(self) -> None:
+ """Create the dead-letter stream if it doesn't exist."""
+ if self._dlq_stream_ensured:
+ return
+ config = StreamConfig(
+ name=_DLQ_STREAM_NAME,
+ subjects=_DLQ_SUBJECTS,
+ retention=RetentionPolicy.LIMITS,
+ max_age=_DLQ_MAX_AGE_S,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ try:
+ await self._js.add_stream(config)
+ except BadRequestError as e:
+ if e.err_code == 10058: # stream already exists
+ pass
+ else:
+ raise
+ self._dlq_stream_ensured = True
+ logger.info("DLQ stream '%s' ensured", _DLQ_STREAM_NAME)
+
+ async def _on_advisory(self, msg: Msg) -> None:
+ """Handle a max-delivery advisory event."""
+ try:
+ advisory = orjson.loads(msg.data)
+ except (orjson.JSONDecodeError, ValueError):
+ logger.warning("Malformed DLQ advisory: %s", msg.data[:200])
+ return
+
+ stream = advisory.get("stream", "unknown")
+ consumer = advisory.get("consumer", "unknown")
+ stream_seq = advisory.get("stream_seq")
+ deliveries = advisory.get("deliveries", 0)
+
+ logger.warning(
+ "Work item exhausted max deliveries: stream=%s consumer=%s seq=%s deliveries=%d",
+ stream,
+ consumer,
+ stream_seq,
+ deliveries,
+ )
+
+ if _HAS_METRICS:
+ DLQ_EVENTS_TOTAL.labels(stream=stream, consumer=consumer).inc()
+
+ # Try to fetch the original message and republish to DLQ
+ await self._republish_to_dlq(stream, stream_seq, advisory)
+
+ async def _republish_to_dlq(
+ self,
+ stream: str,
+ stream_seq: int | None,
+ advisory: dict[str, Any],
+ ) -> None:
+ """Fetch the original message from the stream and republish to DLQ."""
+ if stream_seq is not None:
+ try:
+ # Attempt to fetch the original message by sequence number
+ original = await self._js.get_msg(stream, seq=stream_seq)
+ # Derive model_id from the message subject (sie.work.{model}.{pool})
+ model_id_normalized = self._model_id_from_subject(original.subject)
+ dlq_subject = f"{DEAD_LETTER_PREFIX}.{model_id_normalized}"
+ await self._js.publish(dlq_subject, original.data or b"")
+ logger.info("Republished dead-letter item to %s (seq=%d)", dlq_subject, stream_seq)
+ return
+ except Exception: # noqa: BLE001
+ logger.debug(
+ "Could not fetch original message seq=%d from %s (likely expired)",
+ stream_seq,
+ stream,
+ )
+
+ # Fallback: publish advisory metadata as the DLQ message.
+ # Try to derive model ID from the stream name (e.g. WORK_BAAI__bge-m3
+ # → BAAI__bge-m3). Fall back to "unknown" only if the prefix is absent.
+ if stream.startswith("WORK_"):
+ model_id_normalized = stream[len("WORK_") :]
+ else:
+ model_id_normalized = "unknown"
+ dlq_subject = f"{DEAD_LETTER_PREFIX}.{model_id_normalized}"
+ advisory_bytes = orjson.dumps(advisory)
+ try:
+ await self._js.publish(dlq_subject, advisory_bytes)
+ logger.info("Published advisory metadata to %s (original expired)", dlq_subject)
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to publish to DLQ subject %s", dlq_subject, exc_info=True)
+
+ @staticmethod
+ def _model_id_from_subject(subject: str | None) -> str:
+ """Extract the normalized model ID from a work subject.
+
+ Work subjects follow the pattern ``sie.work.{model_id}.{pool}``.
+ Returns the model_id token, or ``"unknown"`` when the subject is
+ missing or malformed.
+ """
+ if not subject:
+ return "unknown"
+ parts = subject.split(".")
+ if len(parts) >= 3:
+ return parts[2]
+ return "unknown"
diff --git a/packages/sie_router/src/sie_router/health.py b/packages/sie_router/src/sie_router/health.py
index 097756c47..b3f973330 100644
--- a/packages/sie_router/src/sie_router/health.py
+++ b/packages/sie_router/src/sie_router/health.py
@@ -1,10 +1,10 @@
"""Health and status endpoints for the router."""
-import json
import logging
import os
from typing import Any
+import orjson
from fastapi import APIRouter, Request, WebSocket, WebSocketDisconnect
from fastapi.responses import JSONResponse
@@ -103,7 +103,7 @@ async def cluster_status_websocket(websocket: WebSocket) -> None:
# Send as JSON
await websocket.send_text(
- json.dumps(
+ orjson.dumps(
{
"timestamp": status.timestamp,
"cluster": {
@@ -115,7 +115,7 @@ async def cluster_status_websocket(websocket: WebSocket) -> None:
"workers": status.workers,
"models": status.models,
}
- )
+ ).decode()
)
# Send updates every second
diff --git a/packages/sie_router/src/sie_router/hot_reload.py b/packages/sie_router/src/sie_router/hot_reload.py
index c97a7280f..36af14705 100644
--- a/packages/sie_router/src/sie_router/hot_reload.py
+++ b/packages/sie_router/src/sie_router/hot_reload.py
@@ -111,9 +111,8 @@ class ConfigWatcher:
use_polling = os.environ.get("SIE_ROUTER_POLLING_WATCHER", "").lower() == "true"
# Also enable polling if running in Kubernetes (configMap mode)
if not use_polling and os.environ.get("SIE_ROUTER_KUBERNETES", "").lower() == "true":
- # Check if we're using configMap (not git-sync which handles its own updates)
bundles_path = str(self._bundles_dir)
- if "/configs/" in bundles_path and "/git/" not in bundles_path:
+ if "/configs/" in bundles_path:
use_polling = True
logger.info("Auto-enabling polling watcher for Kubernetes ConfigMap mode")
self._config = WatcherConfig(use_polling=use_polling)
diff --git a/packages/sie_router/src/sie_router/jetstream_manager.py b/packages/sie_router/src/sie_router/jetstream_manager.py
new file mode 100644
index 000000000..5334b7c87
--- /dev/null
+++ b/packages/sie_router/src/sie_router/jetstream_manager.py
@@ -0,0 +1,271 @@
+"""NATS JetStream stream and consumer lifecycle management.
+
+Manages creation and lookup of JetStream streams (one per pool) and
+consumers (one per bundle+pool combination). Streams and consumers are
+created lazily on first use and cached.
+
+This module is only active when ``SIE_CLUSTER_ROUTING=queue``.
+"""
+
+from __future__ import annotations
+
+import logging
+
+from nats.aio.client import Client as NATSClient
+from nats.js import JetStreamContext
+from nats.js.api import (
+ AckPolicy,
+ ConsumerConfig,
+ DiscardPolicy,
+ RetentionPolicy,
+ StorageType,
+ StreamConfig,
+)
+from nats.js.errors import BadRequestError
+from sie_sdk.queue_types import (
+ WORK_SUBJECT_PREFIX,
+ work_consumer_name,
+ work_pool_stream_name,
+ work_pool_stream_subjects,
+ work_stream_name,
+)
+
+logger = logging.getLogger(__name__)
+
+# Stream defaults (nats-py expects seconds, converts to nanoseconds internally)
+_DEFAULT_MAX_AGE_S = 60 # 60 seconds
+_DEFAULT_MAX_MSGS = 100_000
+_DEFAULT_REPLICAS = 1 # Override to 3 for production
+_DEFAULT_ACK_WAIT_S = 30.0 # 30 seconds
+_DEFAULT_MAX_DELIVER = 3
+_DEFAULT_MAX_ACK_PENDING = 1000
+
+
+class JetStreamManager:
+ """Manages JetStream streams and consumers for the work queue.
+
+ Streams are created per pool (lazily on first publish/subscribe).
+ Consumers are created per (bundle, pool) combination.
+ All operations are idempotent — calling create on an existing
+ stream/consumer with the same config is a no-op.
+ """
+
+ def __init__(
+ self,
+ nc: NATSClient,
+ js: JetStreamContext,
+ *,
+ replicas: int = _DEFAULT_REPLICAS,
+ ) -> None:
+ self._nc = nc
+ self._js = js
+ self._replicas = replicas
+ self._known_streams: set[str] = set()
+ self._known_consumers: set[str] = set()
+
+ async def ensure_stream(self, model_id: str, pool_name: str = "") -> str:
+ """Ensure the pool-level JetStream stream exists.
+
+ Creates ``WORK_POOL_{pool}`` with subject ``sie.work.*.{pool}``
+ which captures all models for the pool. If a legacy per-model
+ stream overlaps, it is deleted first.
+
+ Args:
+ model_id: Model identifier (used for legacy stream cleanup).
+ pool_name: Pool name (e.g., ``"l4"``). Required for
+ pool-level stream creation.
+
+ Returns:
+ Pool stream name (e.g., ``"WORK_POOL_l4"``).
+ """
+ if not pool_name:
+ pool_name = "_default"
+
+ pool_stream = work_pool_stream_name(pool_name)
+
+ if pool_stream in self._known_streams:
+ return pool_stream
+
+ # Delete any legacy per-model stream whose subjects overlap
+ legacy_stream = work_stream_name(model_id)
+ try:
+ await self._js.delete_stream(legacy_stream)
+ logger.info("Deleted legacy per-model stream: %s", legacy_stream)
+ self._known_streams.discard(legacy_stream)
+ except Exception: # noqa: BLE001, S110
+ pass # Stream may not exist
+
+ subjects = work_pool_stream_subjects(pool_name)
+
+ config = StreamConfig(
+ name=pool_stream,
+ subjects=subjects,
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_age=_DEFAULT_MAX_AGE_S,
+ max_msgs=_DEFAULT_MAX_MSGS,
+ storage=StorageType.MEMORY,
+ num_replicas=self._replicas,
+ discard=DiscardPolicy.NEW,
+ )
+
+ try:
+ await self._js.add_stream(config)
+ logger.info("Pool stream created/verified: %s (subjects=%s)", pool_stream, subjects)
+ except BadRequestError as e:
+ if e.err_code == 10058:
+ logger.info("Pool stream %s already exists (created by worker), reusing", pool_stream)
+ else:
+ raise
+ except Exception:
+ logger.exception("Failed to create pool stream: %s", pool_stream)
+ raise
+
+ self._known_streams.add(pool_stream)
+
+ return pool_stream
+
+ async def ensure_consumer(
+ self,
+ model_id: str,
+ bundle_id: str,
+ pool_name: str,
+ ) -> str:
+ """Ensure a JetStream consumer exists for the given (bundle, pool).
+
+ Creates a durable pull consumer on the pool-level stream with a
+ wildcard filter covering all models for the pool. Idempotent.
+
+ Args:
+ model_id: Model identifier (used for stream creation, not for
+ consumer filtering).
+ bundle_id: Bundle identifier (e.g., ``"default"``).
+ pool_name: Pool name (e.g., ``"_default"``).
+
+ Returns:
+ Consumer durable name.
+ """
+ stream_name = await self.ensure_stream(model_id, pool_name=pool_name)
+ consumer_name = work_consumer_name(bundle_id, pool_name)
+ cache_key = f"{stream_name}/{consumer_name}"
+
+ if cache_key in self._known_consumers:
+ return consumer_name
+
+ filter_subject = f"{WORK_SUBJECT_PREFIX}.*.{pool_name}"
+
+ config = ConsumerConfig(
+ durable_name=consumer_name,
+ filter_subject=filter_subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ ack_wait=_DEFAULT_ACK_WAIT_S,
+ max_deliver=_DEFAULT_MAX_DELIVER,
+ max_ack_pending=_DEFAULT_MAX_ACK_PENDING,
+ )
+
+ try:
+ await self._js.add_consumer(stream_name, config)
+ self._known_consumers.add(cache_key)
+ logger.info(
+ "JetStream consumer created/verified: %s on stream %s (filter=%s)",
+ consumer_name,
+ stream_name,
+ filter_subject,
+ )
+ except Exception:
+ logger.exception("Failed to create JetStream consumer: %s", consumer_name)
+ raise
+
+ return consumer_name
+
+ async def get_pending_count(self, model_id: str, bundle_id: str, pool_name: str) -> int:
+ """Get the number of pending (undelivered) messages for a consumer.
+
+ Used for backpressure checks before publishing.
+
+ Args:
+ model_id: Model identifier (unused in pool-level design, kept for API compat).
+ bundle_id: Bundle identifier.
+ pool_name: Pool name.
+
+ Returns:
+ Number of pending messages, or 0 if consumer doesn't exist.
+ """
+ stream_name = work_pool_stream_name(pool_name) if pool_name else work_stream_name(model_id)
+ consumer_name = work_consumer_name(bundle_id, pool_name)
+
+ try:
+ info = await self._js.consumer_info(stream_name, consumer_name)
+ return info.num_pending
+ except Exception: # noqa: BLE001
+ return 0
+
+ async def get_stream_pending_count(self, model_id: str, pool_name: str = "") -> int:
+ """Get total pending messages across all consumers for a pool's stream.
+
+ Args:
+ model_id: Model identifier (unused in pool design, kept for compat).
+ pool_name: Pool name for pool-level stream lookup.
+
+ Returns:
+ Total message count in the stream.
+ """
+ stream_name = work_pool_stream_name(pool_name) if pool_name else work_stream_name(model_id)
+
+ try:
+ info = await self._js.stream_info(stream_name)
+ return info.state.messages
+ except Exception: # noqa: BLE001
+ return 0
+
+ async def get_consumer_count(self, model_id: str, pool_name: str = "") -> int:
+ """Get the number of consumers on the pool stream.
+
+ Used for zero-consumer fast-fail: if no workers are subscribed,
+ publishing would just queue messages with nobody to process them.
+
+ Returns -1 when the stream doesn't exist yet (e.g., first request
+ for a model before any worker has started). Callers should treat
+ -1 as "unknown" rather than "no consumers" to avoid rejecting
+ requests before the stream is lazily created.
+
+ Args:
+ model_id: Model identifier (unused in pool design, kept for compat).
+ pool_name: Pool name for pool-level stream lookup.
+
+ Returns:
+ Number of consumers, or -1 if the stream doesn't exist yet.
+ """
+ stream_name = work_pool_stream_name(pool_name) if pool_name else work_stream_name(model_id)
+
+ try:
+ info = await self._js.stream_info(stream_name)
+ return info.state.consumer_count
+ except Exception: # noqa: BLE001
+ return -1
+
+ async def get_stream_health(self, model_id: str, pool_name: str = "") -> tuple[int, int]:
+ """Get consumer count and pending message count in one RPC.
+
+ Returns:
+ Tuple of (consumer_count, pending_messages).
+ Returns (-1, 0) if the stream doesn't exist.
+ """
+ stream_name = work_pool_stream_name(pool_name) if pool_name else work_stream_name(model_id)
+
+ try:
+ info = await self._js.stream_info(stream_name)
+ return info.state.consumer_count, info.state.messages
+ except Exception: # noqa: BLE001
+ return -1, 0
+
+ def clear_caches(self) -> None:
+ """Clear stream and consumer caches.
+
+ Call from the NATS reconnect handler. After a NATS restart the
+ server-side streams/consumers may no longer exist, so the next
+ operation should re-create them. ``add_stream`` / ``add_consumer``
+ are idempotent, so re-creating an existing object is harmless.
+ """
+ self._known_streams.clear()
+ self._known_consumers.clear()
+ logger.info("JetStream caches cleared (reconnect)")
diff --git a/packages/sie_router/src/sie_router/model_registry.py b/packages/sie_router/src/sie_router/model_registry.py
index 5dd6c7809..5d2d31ebc 100644
--- a/packages/sie_router/src/sie_router/model_registry.py
+++ b/packages/sie_router/src/sie_router/model_registry.py
@@ -1,14 +1,25 @@
from __future__ import annotations
+import hashlib
import logging
import threading
from dataclasses import dataclass, field
from pathlib import Path
+import orjson
import yaml
logger = logging.getLogger(__name__)
+# Routable profile fields included in bundle_config_hash.
+# Both router (model_registry) and server (ws.py) must use the same set.
+_PROFILE_HASH_FIELDS = ("adapter_path", "max_batch_tokens", "compute_precision", "adapter_options")
+
+
+def _canonical_profile_dict(profile: dict) -> dict:
+ """Extract canonical routable fields from a raw profile dict for hashing."""
+ return {k: profile.get(k) for k in _PROFILE_HASH_FIELDS}
+
class ModelNotFoundError(Exception):
"""Model not found in any bundle (HTTP 404)."""
@@ -82,6 +93,9 @@ class ModelRegistry:
self._models: dict[str, ModelInfo] = {}
self._model_names_lower: dict[str, str] = {} # lowercase → canonical
self._model_adapter_modules: dict[str, set[str]] = {} # model → adapter modules
+ self._model_profiles: dict[str, set[str]] = {} # model → profile names
+ self._model_profile_configs: dict[str, dict[str, dict]] = {} # model → {profile_name: config_dict}
+ self._bundle_hash_cache: dict[str, str] = {}
if auto_load:
self.reload()
@@ -99,105 +113,82 @@ class ModelRegistry:
def reload(self) -> None:
"""Reload all configs from disk.
- Thread-safe: acquires lock before modifying state.
+ Thread-safe: builds new state in temp structures, then swaps atomically.
"""
- with self._lock:
- self._bundles.clear()
- self._models.clear()
- self._model_names_lower.clear()
- self._model_adapter_modules.clear()
-
- self._load_bundles()
- self._load_models()
- self._compute_mappings()
-
- logger.info(
- "ModelRegistry loaded: %d bundles, %d models",
- len(self._bundles),
- len(self._models),
- )
+ new_bundles: dict[str, BundleInfo] = {}
+ new_models: dict[str, ModelInfo] = {}
+ new_model_names_lower: dict[str, str] = {}
+ new_model_adapter_modules: dict[str, set[str]] = {}
+ new_model_profiles: dict[str, set[str]] = {}
+ new_model_profile_configs: dict[str, dict[str, dict]] = {}
+
+ # Load bundles
+ if self._bundles_dir.exists():
+ for bundle_path in self._bundles_dir.glob("*.yaml"):
+ try:
+ with bundle_path.open() as f:
+ data = yaml.safe_load(f) or {}
+
+ name = data.get("name", bundle_path.stem)
+ priority = data.get("priority", 100)
+ adapters = data.get("adapters", [])
+ default = data.get("default", False)
+
+ new_bundles[name] = BundleInfo(
+ name=name,
+ priority=priority,
+ adapters=adapters,
+ default=default,
+ )
+ logger.debug("Loaded bundle '%s': priority=%d, adapters=%d", name, priority, len(adapters))
- def _load_bundles(self) -> None:
- """Load all bundle YAML files from bundles directory."""
- if not self._bundles_dir.exists():
+ except Exception:
+ logger.exception("Failed to load bundle: %s", bundle_path)
+ else:
logger.warning("Bundles directory not found: %s", self._bundles_dir)
- return
-
- for bundle_path in self._bundles_dir.glob("*.yaml"):
- try:
- with bundle_path.open() as f:
- data = yaml.safe_load(f) or {}
-
- name = data.get("name", bundle_path.stem)
- priority = data.get("priority", 100) # Default high priority
- adapters = data.get("adapters", [])
- default = data.get("default", False)
-
- self._bundles[name] = BundleInfo(
- name=name,
- priority=priority,
- adapters=adapters,
- default=default,
- )
- logger.debug("Loaded bundle '%s': priority=%d, adapters=%d", name, priority, len(adapters))
- except Exception:
- logger.exception("Failed to load bundle: %s", bundle_path)
-
- def _load_models(self) -> None:
- """Load model names and adapter paths from model config YAML files.
-
- This discovers what models exist by scanning *.yaml files.
- Also extracts adapter module paths from profiles for bundle matching.
- """
- if not self._models_dir.exists():
+ # Load models
+ if self._models_dir.exists():
+ for config_path in self._models_dir.glob("*.yaml"):
+ if not config_path.is_file():
+ continue
+
+ try:
+ with config_path.open() as f:
+ config = yaml.safe_load(f)
+
+ model_name = config.get("sie_id") or config.get("name")
+ if model_name:
+ adapter_modules: set[str] = set()
+ profiles = config.get("profiles", {})
+ for profile in profiles.values():
+ adapter_path = profile.get("adapter_path", "")
+ if adapter_path:
+ module_path = adapter_path.split(":", maxsplit=1)[0]
+ adapter_modules.add(module_path)
+
+ new_models[model_name] = ModelInfo(name=model_name)
+ new_model_adapter_modules[model_name] = adapter_modules
+ new_model_names_lower[model_name.lower()] = model_name
+ logger.debug("Discovered model: %s (adapters: %s)", model_name, adapter_modules)
+ new_model_profiles[model_name] = set(profiles.keys())
+ new_model_profile_configs[model_name] = {
+ pname: _canonical_profile_dict(pdata) for pname, pdata in profiles.items()
+ }
+
+ except Exception:
+ logger.exception("Failed to load model config: %s", config_path)
+ else:
logger.warning("Models directory not found: %s", self._models_dir)
- return
-
- for config_path in self._models_dir.glob("*.yaml"):
- if not config_path.is_file():
- continue
-
- try:
- with config_path.open() as f:
- config = yaml.safe_load(f)
-
- model_name = config.get("sie_id") or config.get("name")
- if model_name:
- # Collect adapter module paths from all profiles
- adapter_modules: set[str] = set()
- profiles = config.get("profiles", {})
- for profile in profiles.values():
- adapter_path = profile.get("adapter_path", "")
- if adapter_path:
- # Strip :ClassName to get module path
- module_path = adapter_path.split(":", maxsplit=1)[0]
- adapter_modules.add(module_path)
- # Initialize with empty bundles list - will be populated by _compute_mappings
- self._models[model_name] = ModelInfo(name=model_name)
- self._model_adapter_modules[model_name] = adapter_modules
- # Also store lowercase mapping for case-insensitive lookup
- self._model_names_lower[model_name.lower()] = model_name
- logger.debug("Discovered model: %s (adapters: %s)", model_name, adapter_modules)
-
- except Exception:
- logger.exception("Failed to load model config: %s", config_path)
-
- def _compute_mappings(self) -> None:
- """Compute model→bundle mappings based on adapter matching.
-
- For each model, check if any of its adapter module paths appear in
- a bundle's adapters list. Record matching bundles sorted by priority.
- """
- for model_name, model_info in self._models.items():
- adapter_modules = self._model_adapter_modules.get(model_name, set())
+ # Compute mappings
+ for model_name, model_info in new_models.items():
+ adapter_modules = new_model_adapter_modules.get(model_name, set())
if not adapter_modules:
continue
matching_bundles: list[tuple[int, str]] = []
- for bundle in self._bundles.values():
- # Check if any of the model's adapter modules are in the bundle's adapters list
+ for bundle in new_bundles.values():
if adapter_modules & set(bundle.adapters):
matching_bundles.append((bundle.priority, bundle.name))
@@ -205,9 +196,29 @@ class ModelRegistry:
matching_bundles.sort(key=lambda x: x[0])
model_info.bundles = [b[1] for b in matching_bundles]
+ # Atomic swap under lock
+ with self._lock:
+ self._bundles = new_bundles
+ self._models = new_models
+ self._model_names_lower = new_model_names_lower
+ self._model_adapter_modules = new_model_adapter_modules
+ self._model_profiles = new_model_profiles
+ self._model_profile_configs = new_model_profile_configs
+ self._bundle_hash_cache.clear()
+
+ logger.info(
+ "ModelRegistry loaded: %d bundles, %d models",
+ len(new_bundles),
+ len(new_models),
+ )
+
def resolve_bundle(self, model: str, bundle_override: str | None = None) -> str:
"""Resolve which bundle to use for a model.
+ Lock-free: reads dict references that are atomically swapped by
+ ``reload()``. The GIL guarantees a single pointer read is atomic
+ in CPython, so concurrent hot-reload cannot produce a torn read.
+
Args:
model: Model name (e.g., "BAAI/bge-m3").
bundle_override: Optional explicit bundle (e.g., "default").
@@ -219,47 +230,53 @@ class ModelRegistry:
ModelNotFoundError: Model not in any bundle (404).
BundleConflictError: Override bundle doesn't support model (409).
"""
- with self._lock:
- # Normalize model name (case-insensitive lookup)
- canonical_model = self._model_names_lower.get(model.lower())
- if canonical_model is None:
- # Try exact match
- if model not in self._models:
- raise ModelNotFoundError(model)
- canonical_model = model
-
- model_info = self._models.get(canonical_model)
- if model_info is None or not model_info.bundles:
+ # Snapshot references (atomic in CPython — GIL protects pointer reads)
+ models = self._models
+ model_names_lower = self._model_names_lower
+
+ # Normalize model name (case-insensitive lookup)
+ canonical_model = model_names_lower.get(model.lower())
+ if canonical_model is None:
+ # Try exact match
+ if model not in models:
raise ModelNotFoundError(model)
+ canonical_model = model
+
+ model_info = models.get(canonical_model)
+ if model_info is None or not model_info.bundles:
+ raise ModelNotFoundError(model)
+
+ if bundle_override is not None:
+ # Validate override is compatible
+ if bundle_override not in model_info.bundles:
+ raise BundleConflictError(
+ model=model,
+ bundle=bundle_override,
+ compatible_bundles=model_info.bundles,
+ )
+ return bundle_override
- if bundle_override is not None:
- # Validate override is compatible
- if bundle_override not in model_info.bundles:
- raise BundleConflictError(
- model=model,
- bundle=bundle_override,
- compatible_bundles=model_info.bundles,
- )
- return bundle_override
-
- # Return highest priority (first in sorted list)
- return model_info.bundles[0]
+ # Return highest priority (first in sorted list)
+ return model_info.bundles[0]
def get_model_info(self, model: str) -> ModelInfo | None:
"""Get model info including compatible bundles.
+ Lock-free: reads dict references atomically swapped by ``reload()``.
+
Args:
model: Model name.
Returns:
ModelInfo if found, None otherwise.
"""
- with self._lock:
- # Try case-insensitive lookup first
- canonical = self._model_names_lower.get(model.lower())
- if canonical:
- return self._models.get(canonical)
- return self._models.get(model)
+ models = self._models
+ model_names_lower = self._model_names_lower
+ # Try case-insensitive lookup first
+ canonical = model_names_lower.get(model.lower())
+ if canonical:
+ return models.get(canonical)
+ return models.get(model)
def list_models(self) -> list[str]:
"""List all known model names.
@@ -267,8 +284,7 @@ class ModelRegistry:
Returns:
Sorted list of model names.
"""
- with self._lock:
- return sorted(self._models.keys())
+ return sorted(self._models.keys())
def list_bundles(self) -> list[str]:
"""List all bundle names.
@@ -276,9 +292,9 @@ class ModelRegistry:
Returns:
List of bundle names sorted by priority.
"""
- with self._lock:
- bundles_sorted = sorted(self._bundles.values(), key=lambda b: b.priority)
- return [b.name for b in bundles_sorted]
+ bundles = self._bundles
+ bundles_sorted = sorted(bundles.values(), key=lambda b: b.priority)
+ return [b.name for b in bundles_sorted]
def get_bundle_info(self, bundle: str) -> BundleInfo | None:
"""Get bundle info.
@@ -289,8 +305,7 @@ class ModelRegistry:
Returns:
BundleInfo if found, None otherwise.
"""
- with self._lock:
- return self._bundles.get(bundle)
+ return self._bundles.get(bundle)
def get_models_for_bundle(self, bundle: str) -> list[str]:
"""Get all models that can be served by a bundle.
@@ -301,8 +316,8 @@ class ModelRegistry:
Returns:
List of model names.
"""
- with self._lock:
- return [model_name for model_name, model_info in self._models.items() if bundle in model_info.bundles]
+ models = self._models
+ return [model_name for model_name, model_info in models.items() if bundle in model_info.bundles]
def model_exists(self, model: str) -> bool:
"""Check if a model exists in the registry.
@@ -313,10 +328,202 @@ class ModelRegistry:
Returns:
True if model is known, False otherwise.
"""
+ if model.lower() in self._model_names_lower:
+ return True
+ return model in self._models
+
+ def add_model_config(
+ self,
+ config: dict,
+ ) -> tuple[list[str], list[str], list[str]]:
+ """Add a model config at runtime (from Config API or NATS notification).
+
+ Validates adapter routability and adds the model/profiles to the registry.
+ Append-only: existing profiles cannot be modified, only new ones added.
+
+ Args:
+ config: Parsed model config dict with sie_id, profiles, etc.
+
+ Returns:
+ Tuple of (created_profiles, skipped_profiles, affected_bundles).
+
+ Raises:
+ ValueError: If validation fails (missing fields, unroutable adapter).
+ BundleConflictError: If profile already exists with different content.
+ """
+ with self._lock:
+ sie_id = config.get("sie_id")
+ if not sie_id:
+ msg = "Missing required field: sie_id"
+ raise ValueError(msg)
+
+ profiles = config.get("profiles", {})
+ if not profiles:
+ msg = "Missing required field: profiles"
+ raise ValueError(msg)
+
+ # Collect adapter modules from new profiles
+ new_adapter_modules: set[str] = set()
+ for profile_name, profile in profiles.items():
+ adapter_path = profile.get("adapter_path", "")
+ if not adapter_path:
+ # Check if it extends another profile (inherits adapter_path)
+ if not profile.get("extends"):
+ msg = f"Profile '{profile_name}' missing adapter_path"
+ raise ValueError(msg)
+ continue
+ module_path = adapter_path.split(":", maxsplit=1)[0]
+ new_adapter_modules.add(module_path)
+
+ # Validate all adapter modules are routable (exist in at least one known bundle)
+ all_bundle_adapters: set[str] = set()
+ for bundle in self._bundles.values():
+ all_bundle_adapters.update(bundle.adapters)
+
+ unroutable = new_adapter_modules - all_bundle_adapters
+ if unroutable:
+ msg = f"Adapter(s) not in any known bundle: {', '.join(sorted(unroutable))}"
+ raise ValueError(msg)
+
+ # Check if model already exists
+ existing = self._models.get(sie_id)
+ created_profiles: list[str] = []
+ skipped_profiles: list[str] = []
+
+ if existing:
+ # Append-only: add new profiles, skip identical, reject conflicts
+ existing_adapter_modules = self._model_adapter_modules.get(sie_id, set())
+ for profile_name, profile in profiles.items():
+ if profile_name in self.get_model_profile_names(sie_id):
+ # Check if existing profile has identical config
+ stored = self._model_profile_configs.get(sie_id, {}).get(profile_name)
+ incoming = _canonical_profile_dict(profile)
+ if stored is not None and stored != incoming:
+ raise ValueError(
+ f"Profile '{profile_name}' on model '{sie_id}' already exists "
+ f"with different config (append-only — cannot modify)"
+ )
+ skipped_profiles.append(profile_name)
+ else:
+ created_profiles.append(profile_name)
+ adapter_path = profile.get("adapter_path", "")
+ if adapter_path:
+ module_path = adapter_path.split(":", maxsplit=1)[0]
+ existing_adapter_modules.add(module_path)
+
+ self._model_adapter_modules[sie_id] = existing_adapter_modules
+ else:
+ # New model
+ self._models[sie_id] = ModelInfo(name=sie_id)
+ self._model_names_lower[sie_id.lower()] = sie_id
+ self._model_adapter_modules[sie_id] = new_adapter_modules
+ created_profiles = list(profiles.keys())
+
+ # Store profile names and configs for future conflict detection + hashing
+ if sie_id not in self._model_profiles:
+ self._model_profiles[sie_id] = set()
+ self._model_profiles[sie_id].update(created_profiles)
+ if sie_id not in self._model_profile_configs:
+ self._model_profile_configs[sie_id] = {}
+ for pname in created_profiles:
+ self._model_profile_configs[sie_id][pname] = _canonical_profile_dict(profiles[pname])
+
+ # Recompute bundle mappings for this model
+ adapter_modules = self._model_adapter_modules.get(sie_id, set())
+ matching_bundles: list[tuple[int, str]] = []
+ for bundle in self._bundles.values():
+ if adapter_modules & set(bundle.adapters):
+ matching_bundles.append((bundle.priority, bundle.name))
+
+ matching_bundles.sort(key=lambda x: x[0])
+ self._models[sie_id].bundles = [b[1] for b in matching_bundles]
+
+ affected_bundles = [b[1] for b in matching_bundles]
+
+ self._bundle_hash_cache.clear()
+
+ logger.info(
+ "Added model config: %s (created=%s, skipped=%s, bundles=%s)",
+ sie_id,
+ created_profiles,
+ skipped_profiles,
+ affected_bundles,
+ )
+
+ return created_profiles, skipped_profiles, affected_bundles
+
+ def get_model_profile_names(self, model_name: str) -> set[str]:
+ """Get known profile names for a model."""
+ return set(self._model_profiles.get(model_name, set()))
+
+ def compute_bundle_config_hash(self, bundle_id: str) -> str:
+ """Compute the config hash for a specific bundle.
+
+ The hash covers all model configs/profiles whose adapter_path is
+ in the bundle's adapter list. Bundle metadata is excluded (immutable).
+ Results are cached and invalidated when model configs change.
+
+ Args:
+ bundle_id: Bundle identifier.
+
+ Returns:
+ Hex-encoded SHA-256 hash, or empty string if no models.
+ """
with self._lock:
- if model.lower() in self._model_names_lower:
- return True
- return model in self._models
+ cached = self._bundle_hash_cache.get(bundle_id)
+ if cached is not None:
+ return cached
+
+ bundle = self._bundles.get(bundle_id)
+ if not bundle:
+ return ""
+
+ bundle_adapter_set = set(bundle.adapters)
+ items: list[dict] = []
+
+ for model_name, model_info in sorted(self._models.items()):
+ if bundle_id not in model_info.bundles:
+ continue
+ adapter_modules = self._model_adapter_modules.get(model_name, set())
+ # Only include if model has adapters in this bundle
+ if adapter_modules & bundle_adapter_set:
+ profile_configs = self._model_profile_configs.get(model_name, {})
+ profiles_for_hash = []
+ # Hash only the fields that affect inference behaviour,
+ # matching the worker-side hash in
+ # ``sie_server.api.ws._compute_bundle_config_hash``.
+ _hash_fields = ("adapter_path", "max_batch_tokens", "compute_precision", "adapter_options")
+ for pname in sorted(self.get_model_profile_names(model_name)):
+ # Only include profiles whose adapter is routable in this bundle
+ p_cfg = profile_configs.get(pname, {})
+ p_adapter = p_cfg.get("adapter_path", "")
+ if p_adapter:
+ p_module = p_adapter.split(":", maxsplit=1)[0]
+ if p_module not in bundle_adapter_set:
+ continue
+ # Normalize: only include hash-relevant fields.
+ # adapter_options: treat empty/default as None (matches worker).
+ adapter_opts = p_cfg.get("adapter_options")
+ if isinstance(adapter_opts, dict) and not any(adapter_opts.values()):
+ adapter_opts = None
+ filtered_cfg = {
+ k: (adapter_opts if k == "adapter_options" else p_cfg.get(k)) for k in _hash_fields
+ }
+ profiles_for_hash.append({"name": pname, "config": filtered_cfg})
+ items.append(
+ {
+ "sie_id": model_name,
+ "profiles": profiles_for_hash,
+ }
+ )
+
+ if not items:
+ return ""
+
+ serialized = orjson.dumps(items, option=orjson.OPT_SORT_KEYS)
+ result = hashlib.sha256(serialized).hexdigest()
+ self._bundle_hash_cache[bundle_id] = result
+ return result
def parse_model_spec(model_spec: str) -> tuple[str | None, str]:
@@ -337,9 +544,19 @@ def parse_model_spec(model_spec: str) -> tuple[str | None, str]:
Returns:
Tuple of (bundle_override, model_name).
"""
+ if not model_spec or not model_spec.strip():
+ msg = "model_spec must not be empty"
+ raise ValueError(msg)
+
if ":/" in model_spec:
parts = model_spec.split(":/", 1)
bundle = parts[0].lower()
model = parts[1]
+ if not bundle:
+ msg = "Bundle part of model_spec must not be empty"
+ raise ValueError(msg)
+ if not model:
+ msg = "Model part of model_spec must not be empty"
+ raise ValueError(msg)
return bundle, model
return None, model_spec
diff --git a/packages/sie_router/src/sie_router/nats_manager.py b/packages/sie_router/src/sie_router/nats_manager.py
new file mode 100644
index 000000000..16f53a78c
--- /dev/null
+++ b/packages/sie_router/src/sie_router/nats_manager.py
@@ -0,0 +1,253 @@
+from __future__ import annotations
+
+import logging
+import os
+import socket
+from collections.abc import Callable, Coroutine
+from typing import Any, cast
+
+import nats
+import orjson
+
+logger = logging.getLogger(__name__)
+
+# Subject patterns
+_BUNDLE_SUBJECT = "sie.config.models.{bundle_id}"
+_ALL_SUBJECT = "sie.config.models._all"
+
+
+def _get_router_id() -> str:
+ """Get unique router identifier from hostname or env.
+
+ Prefers POD_NAME (unique per pod in K8s) over HOSTNAME
+ (may be shared across containers in the same pod).
+ Falls back to a UUID suffix on the hostname to ensure
+ uniqueness in container environments.
+ """
+ pod_name = os.environ.get("POD_NAME")
+ if pod_name:
+ return pod_name
+ hostname = os.environ.get("HOSTNAME", socket.gethostname())
+ # In containers, hostname is often a short random hex string
+ # which is unique per container. Add PID as extra disambiguation.
+ return f"{hostname}-{os.getpid()}"
+
+
+class NatsManager:
+ """NATS connection manager for config distribution.
+
+ Handles connection lifecycle, publishing, and subscription.
+ Gracefully degrades when NATS is unavailable — inference continues,
+ config mutations are blocked.
+
+ Args:
+ nats_url: NATS connection URL. Default: nats://localhost:4222
+ on_config_notification: Async callback invoked when a config
+ notification is received from another router via _all subject.
+ Signature: async def callback(notification: dict) -> None
+ on_reconnect: Async callback invoked on NATS reconnect for
+ epoch reconciliation. Signature: async def callback() -> None
+ """
+
+ def __init__(
+ self,
+ nats_url: str | None = None,
+ on_config_notification: Callable[[dict[str, Any]], Coroutine[Any, Any, None]] | None = None,
+ on_reconnect: Callable[[], Coroutine[Any, Any, None]] | None = None,
+ ) -> None:
+ self._nats_url = nats_url or os.environ.get("SIE_NATS_URL", "nats://localhost:4222")
+ self._on_config_notification = on_config_notification
+ self._on_reconnect = on_reconnect
+ self._nc: nats.NATS | None = None
+ self._sub: Any = None # subscription to _all subject
+ self._router_id = _get_router_id()
+ self._connected = False
+
+ @property
+ def connected(self) -> bool:
+ """Whether NATS connection is active."""
+ return self._connected and self._nc is not None and self._nc.is_connected
+
+ @property
+ def router_id(self) -> str:
+ """This router's unique identifier."""
+ return self._router_id
+
+ @property
+ def nc(self) -> nats.NATS | None:
+ """The underlying NATS connection, or None if not connected."""
+ return self._nc if self.connected else None
+
+ def add_reconnect_handler(self, handler: Callable[[], Coroutine[Any, Any, None]]) -> None:
+ """Register an additional handler to run after NATS reconnect.
+
+ The handler is chained with any existing reconnect callback.
+ """
+ prev = self._on_reconnect
+
+ async def _chained() -> None:
+ if prev is not None:
+ try:
+ await prev()
+ except Exception:
+ logger.exception("Previous reconnect handler failed")
+ await handler()
+
+ self._on_reconnect = _chained
+
+ async def connect(self) -> None:
+ """Connect to NATS server.
+
+ Does not raise on failure — logs warning and sets connected=False.
+ The router can operate without NATS (config mutations blocked).
+ """
+ try:
+ self._nc = await nats.connect(
+ self._nats_url,
+ reconnected_cb=self._handle_reconnect,
+ disconnected_cb=self._handle_disconnect,
+ error_cb=self._handle_error,
+ max_reconnect_attempts=-1, # Reconnect forever
+ reconnect_time_wait=2, # 2s between reconnect attempts
+ )
+ self._connected = True
+ logger.info("Connected to NATS at %s (router_id=%s)", self._nats_url, self._router_id)
+
+ # Subscribe to global config notifications
+ if self._on_config_notification:
+ self._sub = await self._nc.subscribe(
+ _ALL_SUBJECT,
+ cb=self._handle_all_notification,
+ )
+ logger.info("Subscribed to %s", _ALL_SUBJECT)
+
+ except Exception: # noqa: BLE001 — graceful degradation when NATS unavailable
+ self._connected = False
+ logger.warning(
+ "Failed to connect to NATS at %s — config mutations will be blocked",
+ self._nats_url,
+ exc_info=True,
+ )
+
+ async def disconnect(self) -> None:
+ """Disconnect from NATS."""
+ if self._sub:
+ try:
+ await self._sub.unsubscribe()
+ except Exception: # noqa: BLE001 — best-effort cleanup
+ logger.debug("Failed to unsubscribe from NATS", exc_info=True)
+ self._sub = None
+
+ if self._nc:
+ try:
+ await self._nc.drain()
+ except Exception: # noqa: BLE001 — best-effort cleanup
+ logger.debug("Failed to drain NATS connection", exc_info=True)
+ self._nc = None
+
+ self._connected = False
+ logger.info("Disconnected from NATS")
+
+ async def publish_config_notification(
+ self,
+ *,
+ model_id: str,
+ profiles_added: list[str],
+ affected_bundles: list[str],
+ bundle_config_hashes: dict[str, str],
+ epoch: int,
+ model_config_yaml: str,
+ ) -> None:
+ """Publish config change notifications to NATS.
+
+ Publishes to:
+ 1. Per-bundle subjects for each affected bundle (workers subscribe)
+ 2. Global _all subject (other routers subscribe)
+
+ Args:
+ model_id: The model that was added/updated.
+ profiles_added: List of profile names that were created.
+ affected_bundles: List of bundle IDs whose adapter list matches.
+ bundle_config_hashes: Dict of bundle_id -> new hash for each affected bundle.
+ epoch: The new epoch value after this mutation.
+ model_config_yaml: Full model config YAML content.
+
+ Raises:
+ RuntimeError: If NATS is not connected.
+ """
+ if not self.connected:
+ raise RuntimeError("NATS not connected — cannot publish config notification")
+
+ base_payload = {
+ "model_id": model_id,
+ "profiles_added": profiles_added,
+ "epoch": epoch,
+ "router_id": self._router_id,
+ "model_config": model_config_yaml,
+ }
+
+ # Publish to per-bundle subjects
+ for bundle_id in affected_bundles:
+ subject = _BUNDLE_SUBJECT.format(bundle_id=bundle_id)
+ payload = {
+ **base_payload,
+ "bundle_config_hash": bundle_config_hashes.get(bundle_id, ""),
+ }
+ await cast("nats.NATS", self._nc).publish(subject, orjson.dumps(payload))
+ logger.debug("Published to %s: model=%s, epoch=%d", subject, model_id, epoch)
+
+ # Publish to global subject
+ all_payload = {
+ **base_payload,
+ "affected_bundles": affected_bundles,
+ }
+ await cast("nats.NATS", self._nc).publish(_ALL_SUBJECT, orjson.dumps(all_payload))
+ logger.debug("Published to %s: model=%s, epoch=%d", _ALL_SUBJECT, model_id, epoch)
+
+ async def _handle_all_notification(self, msg: Any) -> None:
+ """Handle incoming notification on _all subject."""
+ try:
+ data = orjson.loads(msg.data)
+
+ if not isinstance(data, dict):
+ logger.warning("Dropping non-dict NATS notification: %s", type(data).__name__)
+ return
+
+ # Skip notifications from ourselves
+ if data.get("router_id") == self._router_id:
+ return
+
+ logger.info(
+ "Received config notification from router %s: model=%s, epoch=%d",
+ data.get("router_id"),
+ data.get("model_id"),
+ data.get("epoch", 0),
+ )
+
+ if self._on_config_notification:
+ await self._on_config_notification(data)
+
+ except orjson.JSONDecodeError:
+ logger.warning("Dropping malformed NATS notification (invalid JSON)")
+ except Exception:
+ logger.exception("Failed to handle config notification")
+
+ async def _handle_reconnect(self) -> None:
+ """Handle NATS reconnection — trigger epoch reconciliation."""
+ self._connected = True
+ logger.info("Reconnected to NATS at %s", self._nats_url)
+
+ if self._on_reconnect:
+ try:
+ await self._on_reconnect()
+ except Exception:
+ logger.exception("NATS reconnect callback failed")
+
+ async def _handle_disconnect(self) -> None:
+ """Handle NATS disconnection."""
+ self._connected = False
+ logger.warning("Disconnected from NATS — config mutations blocked until reconnect")
+
+ async def _handle_error(self, e: Exception) -> None:
+ """Handle NATS errors."""
+ logger.error("NATS error: %s", e)
diff --git a/packages/sie_router/src/sie_router/payload_store.py b/packages/sie_router/src/sie_router/payload_store.py
new file mode 100644
index 000000000..5d0cfc2eb
--- /dev/null
+++ b/packages/sie_router/src/sie_router/payload_store.py
@@ -0,0 +1,365 @@
+"""Ephemeral payload store for large work item payloads.
+
+When a work item's serialized size exceeds the NATS inline threshold (1MB),
+the router offloads the payload to this store and puts a reference in the
+NATS message. Workers fetch the payload by reference before processing.
+
+Backends:
+- S3-compatible (production, MinIO for staging)
+- Local filesystem (local development)
+
+Objects have a short TTL (default 5 minutes). The router also performs
+best-effort cleanup after receiving all results for a request.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import contextlib
+import logging
+import time
+from abc import ABC, abstractmethod
+from pathlib import Path
+
+logger = logging.getLogger(__name__)
+
+# Default payload TTL in seconds (5 minutes)
+DEFAULT_TTL_SECONDS = 300
+
+
+class PayloadStore(ABC):
+ """Abstract interface for ephemeral payload storage."""
+
+ @abstractmethod
+ async def put(self, key: str, data: bytes) -> None:
+ """Store a payload.
+
+ Args:
+ key: Object key (e.g., ``payloads/{request_id}/{item_index}``).
+ data: Raw bytes to store.
+ """
+
+ @abstractmethod
+ async def get(self, key: str) -> bytes:
+ """Retrieve a payload.
+
+ Args:
+ key: Object key.
+
+ Returns:
+ Raw bytes.
+
+ Raises:
+ KeyError: If the key does not exist (expired or never stored).
+ """
+
+ @abstractmethod
+ async def delete(self, key: str) -> None:
+ """Delete a payload (best-effort).
+
+ Args:
+ key: Object key.
+ """
+
+ @abstractmethod
+ async def delete_prefix(self, prefix: str) -> None:
+ """Delete all objects under a prefix (best-effort cleanup).
+
+ Args:
+ prefix: Key prefix (e.g., ``payloads/{request_id}/``).
+ """
+
+
+class LocalPayloadStore(PayloadStore):
+ """Local filesystem payload store for development.
+
+ Stores blobs in a directory with background TTL cleanup.
+ """
+
+ def __init__(self, base_dir: str, ttl_seconds: int = DEFAULT_TTL_SECONDS) -> None:
+ self._base_dir = Path(base_dir)
+ self._base_dir.mkdir(parents=True, exist_ok=True)
+ self._ttl_seconds = ttl_seconds
+ self._cleanup_task: asyncio.Task[None] | None = None
+
+ def _safe_path(self, key: str) -> Path:
+ """Resolve key to a path inside base_dir, rejecting traversal."""
+ target = (self._base_dir / key).resolve()
+ base = self._base_dir.resolve()
+ try:
+ target.relative_to(base)
+ except ValueError:
+ raise ValueError(f"Path traversal detected: {key}") from None
+ return target
+
+ async def put(self, key: str, data: bytes) -> None:
+ path = self._safe_path(key)
+ path.parent.mkdir(parents=True, exist_ok=True)
+ await asyncio.to_thread(path.write_bytes, data)
+
+ async def get(self, key: str) -> bytes:
+ path = self._safe_path(key)
+ if not path.exists():
+ raise KeyError(f"Payload not found: {key}")
+ return await asyncio.to_thread(path.read_bytes)
+
+ async def delete(self, key: str) -> None:
+ path = self._safe_path(key)
+ try:
+ await asyncio.to_thread(path.unlink, missing_ok=True)
+ except OSError:
+ logger.debug("Failed to delete payload: %s", key)
+
+ async def delete_prefix(self, prefix: str) -> None:
+ prefix_dir = self._safe_path(prefix)
+ if prefix_dir.is_dir():
+ try:
+ import shutil
+
+ await asyncio.to_thread(shutil.rmtree, prefix_dir, ignore_errors=True)
+ except OSError:
+ logger.debug("Failed to delete prefix: %s", prefix)
+
+ async def start_cleanup(self) -> None:
+ """Start background TTL cleanup loop."""
+ self._cleanup_task = asyncio.create_task(self._cleanup_loop())
+
+ async def stop_cleanup(self) -> None:
+ """Stop background TTL cleanup."""
+ if self._cleanup_task:
+ self._cleanup_task.cancel()
+ try:
+ await self._cleanup_task
+ except asyncio.CancelledError:
+ pass
+
+ async def _cleanup_loop(self) -> None:
+ """Delete files older than TTL."""
+ while True:
+ await asyncio.sleep(60) # Check every minute
+ try:
+ now = time.time()
+ paths = await asyncio.to_thread(lambda: list(self._base_dir.rglob("*")))
+ for path in paths:
+ is_file = await asyncio.to_thread(path.is_file)
+ if is_file:
+ stat = await asyncio.to_thread(path.stat)
+ age = now - stat.st_mtime
+ if age > self._ttl_seconds:
+ await asyncio.to_thread(path.unlink, True)
+ except Exception: # noqa: BLE001
+ logger.debug("Payload cleanup error", exc_info=True)
+
+
+class S3PayloadStore(PayloadStore):
+ """S3-compatible payload store for production.
+
+ Uses boto3 async wrappers. TTL is managed via S3 lifecycle rules
+ configured on the bucket (not application-side).
+ """
+
+ def __init__(self, bucket: str, prefix: str = "payloads") -> None:
+ self._bucket = bucket
+ self._prefix = prefix
+ self._client: object | None = None
+
+ def _get_client(self) -> object:
+ """Get or create a cached boto3 S3 client.
+
+ The client is created on first call and reused for subsequent calls.
+ All S3 operations are dispatched via ``asyncio.to_thread`` so the
+ client is only accessed from one thread at a time.
+ """
+ if self._client is None:
+ import boto3
+
+ self._client = boto3.client("s3")
+ return self._client
+
+ async def put(self, key: str, data: bytes) -> None:
+ client = self._get_client()
+ full_key = f"{self._prefix}/{key}" if self._prefix else key
+ await asyncio.to_thread(
+ client.put_object, # type: ignore[union-attr]
+ Bucket=self._bucket,
+ Key=full_key,
+ Body=data,
+ )
+
+ async def get(self, key: str) -> bytes:
+ client = self._get_client()
+ full_key = f"{self._prefix}/{key}" if self._prefix else key
+ try:
+ response = await asyncio.to_thread(
+ client.get_object, # type: ignore[union-attr]
+ Bucket=self._bucket,
+ Key=full_key,
+ )
+ body = response["Body"]
+ try:
+ return await asyncio.to_thread(body.read)
+ finally:
+ body.close()
+ except KeyError:
+ raise
+ except Exception as e:
+ # Only convert "not found" errors to KeyError; let infra errors propagate.
+ import botocore.exceptions
+
+ if isinstance(e, botocore.exceptions.ClientError):
+ error_code = e.response.get("Error", {}).get("Code", "")
+ if error_code in ("NoSuchKey", "404"):
+ raise KeyError(f"Payload not found: {key}") from e
+ raise
+
+ async def delete(self, key: str) -> None:
+ client = self._get_client()
+ full_key = f"{self._prefix}/{key}" if self._prefix else key
+ try:
+ await asyncio.to_thread(
+ client.delete_object, # type: ignore[union-attr]
+ Bucket=self._bucket,
+ Key=full_key,
+ )
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to delete payload: %s", key)
+
+ async def delete_prefix(self, prefix: str) -> None:
+ client = self._get_client()
+ full_prefix = f"{self._prefix}/{prefix}" if self._prefix else prefix
+ try:
+ continuation_token: str | None = None
+ while True:
+ kwargs: dict[str, object] = {
+ "Bucket": self._bucket,
+ "Prefix": full_prefix,
+ }
+ if continuation_token:
+ kwargs["ContinuationToken"] = continuation_token
+ response = await asyncio.to_thread(
+ client.list_objects_v2, # type: ignore[union-attr]
+ **kwargs,
+ )
+ objects = response.get("Contents", [])
+ if objects:
+ delete_keys = [{"Key": obj["Key"]} for obj in objects]
+ await asyncio.to_thread(
+ client.delete_objects, # type: ignore[union-attr]
+ Bucket=self._bucket,
+ Delete={"Objects": delete_keys},
+ )
+ if not response.get("IsTruncated"):
+ break
+ continuation_token = response.get("NextContinuationToken")
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to delete prefix: %s", prefix)
+
+
+class GCSPayloadStore(PayloadStore):
+ """Google Cloud Storage payload store for GKE deployments.
+
+ Uses the ``google-cloud-storage`` library. TTL is managed via GCS
+ lifecycle rules configured on the bucket (not application-side).
+ """
+
+ def __init__(self, bucket: str, prefix: str = "payloads") -> None:
+ self._bucket_name = bucket
+ self._prefix = prefix
+ self._client: object | None = None
+
+ def _get_bucket(self) -> object:
+ if self._client is None:
+ try:
+ from google.cloud import storage
+ except ImportError:
+ raise ImportError(
+ "google-cloud-storage is required for GCS payload stores. Install with: pip install sie-router[gcs]"
+ ) from None
+
+ client = storage.Client()
+ self._client = client.bucket(self._bucket_name)
+ return self._client
+
+ def _full_key(self, key: str) -> str:
+ return f"{self._prefix}/{key}" if self._prefix else key
+
+ async def put(self, key: str, data: bytes) -> None:
+ bucket = self._get_bucket()
+ blob = bucket.blob(self._full_key(key)) # type: ignore[union-attr]
+ await asyncio.to_thread(blob.upload_from_string, data)
+
+ async def get(self, key: str) -> bytes:
+ bucket = self._get_bucket()
+ blob = bucket.blob(self._full_key(key)) # type: ignore[union-attr]
+ try:
+ return await asyncio.to_thread(blob.download_as_bytes)
+ except Exception as e:
+ # Only convert "not found" errors to KeyError; let infra errors propagate.
+ _not_found = None
+ with contextlib.suppress(ImportError):
+ from google.api_core.exceptions import NotFound
+
+ _not_found = NotFound
+ if _not_found is not None and isinstance(e, _not_found):
+ raise KeyError(f"Payload not found: {key}") from e
+ raise
+
+ async def delete(self, key: str) -> None:
+ bucket = self._get_bucket()
+ blob = bucket.blob(self._full_key(key)) # type: ignore[union-attr]
+ try:
+ await asyncio.to_thread(blob.delete)
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to delete payload: %s", key)
+
+ async def delete_prefix(self, prefix: str) -> None:
+ bucket = self._get_bucket()
+ full_prefix = self._full_key(prefix)
+ try:
+ blobs = await asyncio.to_thread(
+ lambda: list(bucket.list_blobs(prefix=full_prefix)) # type: ignore[union-attr]
+ )
+ for blob in blobs:
+ try:
+ await asyncio.to_thread(blob.delete)
+ except Exception: # noqa: BLE001, S110
+ pass
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to delete prefix: %s", prefix)
+
+
+def create_payload_store(url: str | None) -> PayloadStore | None:
+ """Create a payload store from a URL.
+
+ Args:
+ url: Payload store URL. Accepts:
+ - ``s3://bucket/prefix`` — S3-compatible store
+ - ``gs://bucket/prefix`` — Google Cloud Storage
+ - Local path — filesystem store
+ - ``None`` — no payload store (all payloads inline)
+
+ Returns:
+ PayloadStore instance, or None if URL is not set.
+ """
+ if not url:
+ return None
+
+ if url.startswith("s3://"):
+ parts = url[5:].split("/", 1)
+ bucket = parts[0]
+ prefix = parts[1] if len(parts) > 1 else "payloads"
+ return S3PayloadStore(bucket=bucket, prefix=prefix)
+
+ if url.startswith("gs://"):
+ parts = url[5:].split("/", 1)
+ bucket = parts[0]
+ prefix = parts[1] if len(parts) > 1 else "payloads"
+ return GCSPayloadStore(bucket=bucket, prefix=prefix)
+
+ # Reject URLs with unrecognized schemes to catch typos early
+ if "://" in url:
+ raise ValueError(
+ f"Unsupported payload store URL scheme: {url!r}. "
+ "Supported: 's3://bucket/prefix', 'gs://bucket/prefix', or a local filesystem path."
+ )
+ return LocalPayloadStore(base_dir=url)
diff --git a/packages/sie_router/src/sie_router/pools.py b/packages/sie_router/src/sie_router/pools.py
index cc1e7f07c..7941a8d61 100644
--- a/packages/sie_router/src/sie_router/pools.py
+++ b/packages/sie_router/src/sie_router/pools.py
@@ -10,7 +10,6 @@ Multiple routers coordinate via K8s watch API.
from __future__ import annotations
import asyncio
-import json
import logging
import random
import time
@@ -20,6 +19,8 @@ from datetime import UTC
from enum import Enum
from typing import TYPE_CHECKING, Any
+import orjson
+
if TYPE_CHECKING:
from sie_router.types import MachineProfile
@@ -251,6 +252,11 @@ class PoolManager:
self._k8s_coordination_v1: Any = None
self._watch_task: asyncio.Task | None = None
+ @property
+ def use_kubernetes(self) -> bool:
+ """Whether Kubernetes mode is active (read-only)."""
+ return self._use_kubernetes
+
@property
def machine_profiles(self) -> dict[str, MachineProfile]:
"""Get configured machine profiles."""
@@ -356,7 +362,7 @@ class PoolManager:
# Parse spec
spec_json = data.get("spec", "{}")
- spec_data = json.loads(spec_json)
+ spec_data = orjson.loads(spec_json)
spec = PoolSpec(
name=name,
gpus=spec_data.get("gpus", {}),
@@ -366,7 +372,7 @@ class PoolManager:
# Parse status
status_json = data.get("status", "{}")
- status_data = json.loads(status_json)
+ status_data = orjson.loads(status_json)
status = PoolStatus(
state=PoolState(status_data.get("state", "pending")),
assigned_workers=[
@@ -402,8 +408,8 @@ class PoolManager:
"last_renewed": pool.status.last_renewed,
}
return {
- "spec": json.dumps(spec_data),
- "status": json.dumps(status_data),
+ "spec": orjson.dumps(spec_data).decode(),
+ "status": orjson.dumps(status_data).decode(),
}
async def _watch_pools(self) -> None:
diff --git a/packages/sie_router/src/sie_router/proxy.py b/packages/sie_router/src/sie_router/proxy.py
index aecc441fd..cbebf25e1 100644
--- a/packages/sie_router/src/sie_router/proxy.py
+++ b/packages/sie_router/src/sie_router/proxy.py
@@ -1,3 +1,5 @@
+import asyncio
+import hmac
import logging
import os
import time
@@ -5,6 +7,9 @@ from collections.abc import AsyncIterator
from typing import Any
import httpx
+import msgpack
+import msgpack_numpy
+import orjson
from fastapi import APIRouter, Header, HTTPException, Request, Response, status
from fastapi.responses import JSONResponse, StreamingResponse
from sie_sdk.types import PoolListItem, PoolResponse
@@ -22,10 +27,85 @@ from sie_router.registry import WorkerRegistry
from sie_router.responses import pool_to_list_item, pool_to_response
from sie_router.types import AuditEntry, ProvisioningResponse
from sie_router.version import ROUTER_VERSION, SDK_VERSION_HEADER
+from sie_router.work_publisher import NoConsumersError, WorkPublisher
+
+# NOTE: We do NOT call msgpack_numpy.patch() globally. That monkey-patches
+# msgpack.packb/unpackb with numpy-aware wrappers that add overhead on every
+# call (~0.6% of total CPU). The router never serializes numpy arrays; it
+# passes worker result blobs through as raw bytes on the msgpack response path.
+# Only the JSON response path needs numpy deserialization, and that uses
+# msgpack_numpy.unpackb explicitly (see ``_unpack_with_numpy``).
+
+# Cluster routing mode: "direct" (HTTP forwarding, default) or "queue" (NATS JetStream).
+# Read once at import time; override via monkeypatch in tests.
+CLUSTER_ROUTING_MODE = os.environ.get("SIE_CLUSTER_ROUTING", "direct").strip().lower()
+
+# Maximum recursion depth for _convert_numpy_for_json to prevent stack overflow
+_MAX_CONVERSION_DEPTH = 128
+
+# Maximum msgpack buffer size for untrusted data (256 MB)
+_MAX_MSGPACK_BUFFER_SIZE = 256 * 1024 * 1024
+
+# Payloads below this threshold are parsed directly on the event loop
+# (json.loads / msgpack.unpackb on small data takes <30μs — less than the
+# ~50μs overhead of asyncio.to_thread). Larger payloads are offloaded.
+_INLINE_PARSE_THRESHOLD = 65536 # 64 KB
+
+
+def _response_content_key(operation: str) -> str:
+ """Return the top-level response key for the given operation.
+
+ Score responses use ``"scores"`` (matching ``ScoreResult``);
+ all other operations use ``"items"``.
+ """
+ return "scores" if operation == "score" else "items"
+
+
+def _safe_msgpack_unpack(data: bytes) -> Any:
+ """Unpack msgpack data with size limits to prevent memory exhaustion.
+
+ Uses ``msgpack.unpackb`` directly instead of the streaming
+ ``Unpacker`` class — more efficient for single-shot deserialization.
+ """
+ if len(data) > _MAX_MSGPACK_BUFFER_SIZE:
+ raise ValueError(f"msgpack payload too large: {len(data)} bytes (max {_MAX_MSGPACK_BUFFER_SIZE})")
+ return msgpack.unpackb(data, raw=False)
+
logger = logging.getLogger(__name__)
+def _unpack_with_numpy(data: bytes) -> Any:
+ """Unpack msgpack data that may contain numpy ext types (worker results).
+
+ Uses ``msgpack_numpy.unpackb`` directly instead of the global monkey-patch
+ so the hot-path ``msgpack.unpackb`` stays fast for non-numpy data.
+ Only called on the JSON response path (inside ``asyncio.to_thread``).
+ """
+ if len(data) > _MAX_MSGPACK_BUFFER_SIZE:
+ raise ValueError(f"msgpack payload too large: {len(data)} bytes (max {_MAX_MSGPACK_BUFFER_SIZE})")
+ return msgpack_numpy.unpackb(data, raw=False)
+
+
+def _convert_numpy_for_json(obj: Any, _depth: int = 0) -> Any:
+ """Recursively convert numpy arrays to lists for JSON serialization."""
+ import numpy as np
+
+ if _depth > _MAX_CONVERSION_DEPTH:
+ return obj # Bail out to avoid stack overflow
+ if isinstance(obj, np.ndarray):
+ return obj.tolist()
+ if isinstance(obj, dict):
+ return {k: _convert_numpy_for_json(v, _depth + 1) for k, v in obj.items()}
+ if isinstance(obj, list):
+ return [_convert_numpy_for_json(v, _depth + 1) for v in obj]
+ if isinstance(obj, np.integer):
+ return int(obj)
+ if isinstance(obj, np.floating):
+ return float(obj)
+ return obj
+
+
class _AsyncIterStream(httpx.AsyncByteStream):
"""Wrap an async iterator for httpx content= compatibility."""
@@ -90,6 +170,9 @@ def _check_sdk_version(request: Request) -> None:
ROUTER_VERSION,
)
_sdk_version_warned.add(key)
+ # Cap to prevent unbounded growth from malicious version strings
+ if len(_sdk_version_warned) > 100:
+ _sdk_version_warned.clear()
except (ValueError, IndexError):
pass
@@ -127,7 +210,7 @@ def _require_auth(request: Request) -> None:
if header.lower().startswith("bearer "):
token = header[7:].strip()
- if token not in AUTH_TOKENS:
+ if not any(hmac.compare_digest(token, valid) for valid in AUTH_TOKENS):
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED,
detail={"message": "Invalid token"},
@@ -412,6 +495,22 @@ async def _proxy_request(
)
return _make_unconfigured_gpu_response(gpu, CONFIGURED_GPU_TYPES)
+ # Queue mode: publish to NATS JetStream instead of forwarding to worker.
+ # Workers subscribe to pool-level streams keyed by their SIE_POOL env var
+ # (e.g., "l4-spot-default"). Resolve the NATS pool name from the worker
+ # registry so the published subject matches the worker's subscription.
+ if CLUSTER_ROUTING_MODE == "queue":
+ queue_pool = pool_name or registry.resolve_queue_pool(bundle, gpu) or gpu or effective_pool or "_default"
+ return await _queue_request(
+ request=request,
+ model_name=model_name,
+ profile_id="default", # Profile resolved by workers from model config
+ bundle=bundle,
+ pool_name=queue_pool,
+ machine_profile=gpu or "",
+ path=path,
+ )
+
# Pool-aware routing (explicit pool or default pool)
worker = None
if pool_manager:
@@ -568,6 +667,333 @@ async def _proxy_request(
)
+def _compute_timing_headers(
+ results: list[Any],
+ publish_ms: float,
+ wait_ms: float,
+) -> dict[str, str]:
+ """Compute aggregate timing headers from queue-mode results."""
+ headers: dict[str, str] = {}
+
+ # Router-side timing
+ headers["X-Queue-Publish-Time"] = f"{publish_ms:.1f}"
+ headers["X-Queue-Wait-Time"] = f"{wait_ms:.1f}"
+
+ # Worker-side timing (aggregate across all items)
+ successful = [r for r in results if r.get("success")]
+ if successful:
+ # Use max values (worst-case latency across items)
+ queue_ms = max(r.get("queue_ms", 0) for r in successful)
+ inference_ms = max(r.get("inference_ms", 0) for r in successful)
+ tokenization_ms = max(r.get("tokenization_ms", 0) for r in successful)
+ postprocessing_ms = max(r.get("postprocessing_ms", 0) for r in successful)
+ payload_fetch_ms = max(r.get("payload_fetch_ms", 0) for r in successful)
+
+ headers["X-Queue-Time"] = f"{queue_ms:.1f}"
+ headers["X-Inference-Time"] = f"{inference_ms:.1f}"
+ if tokenization_ms > 0:
+ headers["X-Tokenization-Time"] = f"{tokenization_ms:.1f}"
+ if postprocessing_ms > 0:
+ headers["X-Postprocessing-Time"] = f"{postprocessing_ms:.1f}"
+ if payload_fetch_ms > 0:
+ headers["X-Payload-Fetch-Time"] = f"{payload_fetch_ms:.1f}"
+
+ return headers
+
+
+async def _queue_request(
+ request: Request,
+ model_name: str,
+ profile_id: str,
+ bundle: str,
+ pool_name: str,
+ machine_profile: str,
+ path: str,
+) -> Response:
+ """Handle request via NATS JetStream work queue (cluster queue mode).
+
+ Parses the request body, decomposes it into work items, publishes to
+ JetStream, and waits for results. This replaces ``_forward_request``
+ when ``SIE_CLUSTER_ROUTING=queue``.
+
+ """
+ work_publisher: WorkPublisher | None = getattr(request.app.state, "work_publisher", None)
+ if work_publisher is None:
+ raise HTTPException(
+ status_code=status.HTTP_503_SERVICE_UNAVAILABLE,
+ detail={"error": "nats_unavailable", "message": "NATS JetStream not configured"},
+ )
+
+ # Parse request body
+ body = await request.body()
+ content_type = request.headers.get("content-type", "")
+
+ try:
+ if len(body) <= _INLINE_PARSE_THRESHOLD:
+ # Small payload: parse on the event loop (faster than thread hop)
+ if "msgpack" in content_type:
+ parsed = _safe_msgpack_unpack(body)
+ else:
+ parsed = orjson.loads(body)
+ elif "msgpack" in content_type:
+ parsed = await asyncio.to_thread(_safe_msgpack_unpack, body)
+ else:
+ if len(body) > _MAX_MSGPACK_BUFFER_SIZE:
+ raise ValueError(f"JSON payload too large: {len(body)} bytes (max {_MAX_MSGPACK_BUFFER_SIZE})")
+ parsed = await asyncio.to_thread(orjson.loads, body)
+ except (msgpack.UnpackValueError, orjson.JSONDecodeError, ValueError) as e:
+ raise HTTPException(
+ status_code=status.HTTP_400_BAD_REQUEST,
+ detail={"error": "parse_error", "message": f"Invalid request body: {e}"},
+ ) from e
+
+ if not isinstance(parsed, dict):
+ raise HTTPException(
+ status_code=status.HTTP_400_BAD_REQUEST,
+ detail={"error": "parse_error", "message": "Request body must be a JSON object"},
+ )
+ if "items" in parsed and not isinstance(parsed["items"], list):
+ raise HTTPException(
+ status_code=status.HTTP_400_BAD_REQUEST,
+ detail={"error": "parse_error", "message": "'items' must be an array"},
+ )
+ if "query" in parsed and not isinstance(parsed["query"], dict):
+ raise HTTPException(
+ status_code=status.HTTP_400_BAD_REQUEST,
+ detail={"error": "parse_error", "message": "'query' must be an object"},
+ )
+
+ # Compute expected bundle_config_hash for stale-worker gating
+ model_registry: ModelRegistry | None = getattr(request.app.state, "model_registry", None)
+ bundle_config_hash = ""
+ if model_registry is not None:
+ try:
+ bundle_config_hash = model_registry.compute_bundle_config_hash(bundle)
+ except Exception: # noqa: BLE001
+ logger.debug("Could not compute bundle_config_hash for %s", bundle)
+
+ # Determine operation from path
+ parts = path.strip("/").split("/")
+ operation = parts[1] if len(parts) > 1 else "encode"
+
+ endpoint = operation
+ start_time = time.monotonic()
+ status_code = "500"
+
+ publish_elapsed_ms = 0.0
+ wait_elapsed_ms = 0.0
+
+ try:
+ if operation == "encode":
+ items = parsed.get("items", [])
+ params = parsed.get("params") or {}
+ publish_start = time.monotonic()
+ submit_task = asyncio.ensure_future(
+ work_publisher.submit_encode(
+ model_id=model_name,
+ profile_id=profile_id,
+ pool_name=pool_name,
+ machine_profile=machine_profile,
+ items=items,
+ output_types=params.get("output_types"),
+ instruction=params.get("instruction"),
+ is_query=params.get("is_query", False),
+ options=params.get("options"),
+ bundle_config_hash=bundle_config_hash,
+ )
+ )
+ results = await submit_task
+ total_elapsed_ms = (time.monotonic() - publish_start) * 1000
+ publish_elapsed_ms = total_elapsed_ms * 0.1 # Approximate: publish is ~10% of total
+ wait_elapsed_ms = total_elapsed_ms
+ elif operation == "score":
+ query = parsed.get("query", {})
+ items = parsed.get("items", [])
+ publish_start = time.monotonic()
+ submit_task = asyncio.ensure_future(
+ work_publisher.submit_score(
+ model_id=model_name,
+ profile_id=profile_id,
+ pool_name=pool_name,
+ machine_profile=machine_profile,
+ query=query,
+ items=items,
+ instruction=parsed.get("instruction"),
+ options=parsed.get("options"),
+ bundle_config_hash=bundle_config_hash,
+ )
+ )
+ results = await submit_task
+ total_elapsed_ms = (time.monotonic() - publish_start) * 1000
+ publish_elapsed_ms = total_elapsed_ms * 0.1
+ wait_elapsed_ms = total_elapsed_ms
+ elif operation == "extract":
+ items = parsed.get("items", [])
+ params = parsed.get("params") or {}
+ publish_start = time.monotonic()
+ submit_task = asyncio.ensure_future(
+ work_publisher.submit_extract(
+ model_id=model_name,
+ profile_id=profile_id,
+ pool_name=pool_name,
+ machine_profile=machine_profile,
+ items=items,
+ labels=params.get("labels"),
+ output_schema=params.get("output_schema"),
+ instruction=params.get("instruction"),
+ options=params.get("options"),
+ bundle_config_hash=bundle_config_hash,
+ )
+ )
+ results = await submit_task
+ total_elapsed_ms = (time.monotonic() - publish_start) * 1000
+ publish_elapsed_ms = total_elapsed_ms * 0.1
+ wait_elapsed_ms = total_elapsed_ms
+ else:
+ raise HTTPException(status_code=400, detail={"error": f"Unknown operation: {operation}"})
+
+ # Reassemble response from work results.
+ # Each result_msgpack is an opaque msgpack blob from the worker,
+ # serialized with msgpack-numpy (contains numpy ext types).
+ result_blobs: list[bytes] = []
+ errors = []
+ for r in results:
+ if r.get("success"):
+ raw_blob: bytes | None = r.get("result_msgpack")
+ if raw_blob is None:
+ # Worker reported success but omitted result payload — treat as error
+ logger.warning(
+ "Work item %s reported success but missing result_msgpack",
+ r.get("work_item_id", "unknown"),
+ )
+ errors.append(
+ {
+ "item_index": r.get("item_index"),
+ "error": "Worker reported success but returned no result payload",
+ }
+ )
+ else:
+ result_blobs.append(raw_blob)
+ else:
+ errors.append({"item_index": r.get("item_index"), "error": r.get("error")})
+
+ if errors and not result_blobs:
+ # All items failed
+ status_code = "500"
+ return JSONResponse(
+ status_code=500,
+ content={"error": "all_items_failed", "details": errors},
+ )
+
+ status_code = "200"
+
+ # Compute aggregate timing headers from worker results
+ timing_headers = _compute_timing_headers(results, publish_elapsed_ms, wait_elapsed_ms)
+ response_headers = {"X-SIE-Version": ROUTER_VERSION, **timing_headers}
+
+ # Return as msgpack if client accepts it, otherwise JSON
+ if "msgpack" in request.headers.get("accept", ""):
+ # Build the response at the byte level to avoid deserializing
+ # the worker blobs (which contain numpy ext types).
+ # Manually assemble: {"model": ..., "scores"|"items": [...], "errors"?: ...}
+ packer = msgpack.Packer(use_bin_type=True, autoreset=False)
+ n_keys = 3 if errors else 2
+ packer.pack_map_header(n_keys)
+ packer.pack("model")
+ packer.pack(model_name)
+ packer.pack(_response_content_key(operation))
+ if len(result_blobs) == 1 and operation == "score":
+ # Score returns a single blob containing the complete list;
+ # write it directly to avoid wrapping in an extra array.
+ parts = [packer.bytes()]
+ packer.reset()
+ parts.append(result_blobs[0])
+ else:
+ packer.pack_array_header(len(result_blobs))
+ parts = [packer.bytes()]
+ packer.reset()
+ # Embed each result blob directly — they are already valid msgpack values
+ parts.extend(result_blobs)
+ if errors:
+ packer.pack("errors")
+ packer.pack(errors)
+ parts.append(packer.bytes())
+ packer.reset()
+ response_bytes = b"".join(parts)
+ return Response(
+ content=response_bytes,
+ media_type="application/x-msgpack",
+ headers=response_headers,
+ )
+
+ # JSON path: must deserialize blobs (JSON can't embed binary).
+ # Offload to thread pool — this involves msgpack deserialization,
+ # numpy→list conversion, and is CPU-bound for large batches.
+ def _build_json_items(blobs: list[bytes], is_score: bool) -> list:
+ items = []
+ for blob in blobs:
+ item_data = _unpack_with_numpy(blob)
+ items.append(_convert_numpy_for_json(item_data))
+ # Score returns a single blob containing the complete list;
+ # unwrap to avoid nesting it in an extra array.
+ if is_score and len(items) == 1 and isinstance(items[0], list):
+ return items[0]
+ return items
+
+ result_items = await asyncio.to_thread(_build_json_items, result_blobs, operation == "score")
+ response_data: dict[str, Any] = {
+ "model": model_name,
+ _response_content_key(operation): result_items,
+ }
+ if errors:
+ response_data["errors"] = errors
+ return JSONResponse(
+ content=response_data,
+ headers=response_headers,
+ )
+
+ except TimeoutError:
+ status_code = "504"
+ return JSONResponse(
+ status_code=504,
+ content={"error": "timeout", "message": "Work items not completed within timeout"},
+ headers={"X-SIE-Version": ROUTER_VERSION},
+ )
+ except NoConsumersError as e:
+ status_code = "503"
+ logger.info("No consumers for model %s — returning 503", e.model_id)
+ return JSONResponse(
+ status_code=503,
+ content={
+ "error": "no_consumers",
+ "message": str(e),
+ },
+ headers={"Retry-After": str(DEFAULT_RETRY_AFTER), "X-SIE-Version": ROUTER_VERSION},
+ )
+ except RuntimeError as e:
+ if "backpressure" in str(e).lower():
+ status_code = "503"
+ return JSONResponse(
+ status_code=503,
+ content={"error": "service_unavailable", "message": str(e)},
+ headers={"Retry-After": "5", "X-SIE-Version": ROUTER_VERSION},
+ )
+ raise
+ finally:
+ elapsed = time.monotonic() - start_time
+ REQUEST_COUNT.labels(endpoint=endpoint, status=status_code, machine_profile=machine_profile or "queue").inc()
+ REQUEST_LATENCY.labels(endpoint=endpoint, machine_profile=machine_profile or "queue").observe(elapsed)
+ _emit_audit_log(
+ request,
+ endpoint=endpoint,
+ model=model_name,
+ pool=pool_name,
+ gpu=machine_profile,
+ status=status_code,
+ latency_ms=round(elapsed * 1000, 1),
+ )
+
+
@router.api_route(
"/v1/encode/{model:path}",
methods=["POST"],
diff --git a/packages/sie_router/src/sie_router/registry.py b/packages/sie_router/src/sie_router/registry.py
index 95bc0f451..5778878f0 100644
--- a/packages/sie_router/src/sie_router/registry.py
+++ b/packages/sie_router/src/sie_router/registry.py
@@ -1,13 +1,8 @@
-"""Worker registry for tracking worker state.
-
-The registry maintains state for all workers in the cluster,
-updated via WebSocket connections to each worker's /ws/stats endpoint.
-"""
-
from __future__ import annotations
import asyncio
import logging
+import os
import time
from collections import defaultdict
from collections.abc import Awaitable, Callable
@@ -15,10 +10,55 @@ from typing import Any
from sie_sdk.types import ModelSummary, WorkerInfo, WorkerStatusMessage
-from sie_router.types import ClusterStatus, WorkerHealth, WorkerState
+from sie_router.types import ClusterStatus, ModelAdaptiveState, WorkerHealth, WorkerState
logger = logging.getLogger(__name__)
+# Feature flag: prefer workers with partially-filled batches over empty ones.
+# This concentrates requests onto fewer workers, enabling larger GPU batches.
+# Set SIE_ROUTER_FILL_FIRST=false to revert to lowest-queue-depth scoring.
+FILL_FIRST_ENABLED = os.environ.get("SIE_ROUTER_FILL_FIRST", "true").lower() in ("true", "1", "yes")
+
+# Threshold above which a worker is considered near-full and should be avoided.
+# At 80% of max_batch_requests, we start penalizing the worker to prevent overload.
+# Intentional discontinuity at 80% — abrupt transition to penalty zone prevents
+# overloading workers near capacity. Smooth transitions were considered but add
+# complexity without meaningful benefit in practice.
+_FILL_FIRST_HIGH_THRESHOLD = 0.8
+
+
+def _fill_first_score(worker: WorkerState) -> float:
+ """Score a worker for fill-first selection (lower score = preferred).
+
+ Workers with partially-filled batches score lower than empty workers,
+ concentrating requests onto fewer workers to enable larger GPU batches.
+ Workers approaching capacity are penalized to prevent overload.
+
+ The scoring uses two zones:
+ - Below threshold (< 80% capacity): prefer more items (negative score).
+ A worker with 30 pending items is preferred over one with 5, because
+ it's closer to forming a full batch.
+ - At/above threshold (>= 80% capacity): penalize to avoid overload.
+ Score increases with queue depth to push traffic to less-loaded workers.
+
+ Args:
+ worker: Worker state with queue_depth and max_batch_requests.
+
+ Returns:
+ Float score where lower = more preferred.
+ """
+ capacity = worker.max_batch_requests if worker.max_batch_requests and worker.max_batch_requests > 0 else 64
+ queue_depth = max(0, worker.queue_depth) # Clamp to non-negative
+ fill_ratio = queue_depth / capacity
+
+ if fill_ratio < _FILL_FIRST_HIGH_THRESHOLD:
+ # Prefer workers that already have items — closer to forming a full batch.
+ # Negate queue_depth so higher queue = lower (better) score.
+ return -queue_depth
+ # Near-full workers get penalized. Add capacity as offset so these
+ # always score higher (worse) than any worker below the threshold.
+ return capacity + queue_depth
+
class WorkerRegistry:
"""Registry of worker states, updated via WebSocket connections.
@@ -59,13 +99,13 @@ class WorkerRegistry:
@property
def workers(self) -> dict[str, WorkerState]:
- """Get all workers."""
- return self._workers
+ """Get all workers (snapshot)."""
+ return dict(self._workers)
@property
def healthy_workers(self) -> list[WorkerState]:
- """Get list of healthy workers."""
- return [w for w in self._workers.values() if w.healthy]
+ """Get list of healthy workers (snapshot)."""
+ return [w for w in dict(self._workers).values() if w.healthy]
def get_worker(self, url: str) -> WorkerState | None:
"""Get worker by URL."""
@@ -100,15 +140,32 @@ class WorkerRegistry:
worker.name = state.get("name", url)
worker.gpu_count = state.get("gpu_count", 1)
worker.bundle = state.get("bundle", "default")
+ worker.bundle_config_hash = state.get("bundle_config_hash", "")
# machine_profile from worker:
# - In K8s: SIE_MACHINE_PROFILE env var (e.g., "l4-spot")
# - Standalone: detected GPU type (e.g., "l4")
worker.machine_profile = state.get("machine_profile", "")
+ worker.pool_name = state.get("pool_name", "")
worker.models = state.get("loaded_models", [])
- # Compute aggregate queue depth from models
+ # Compute aggregate queue depth from models and extract adaptive state
models = state.get("models", [])
worker.queue_depth = sum(m.get("queue_depth", 0) for m in models)
+ worker.adaptive = {}
+ for m in models:
+ ab = m.get("adaptive_batching")
+ if ab is not None:
+ worker.adaptive[m.get("name", "")] = ModelAdaptiveState(
+ calibrated=ab.get("calibrated", False),
+ target_p50_ms=ab.get("target_p50_ms"),
+ wait_ms=ab.get("wait_ms", 10.0),
+ p50_ms=ab.get("p50_ms"),
+ headroom_ms=ab.get("headroom_ms"),
+ fill_ratio=ab.get("fill_ratio"),
+ )
+
+ # Batch capacity for fill-first scoring
+ worker.max_batch_requests = state.get("max_batch_requests", 64)
# Extract GPU memory from gpus array (worker sends memory_*_bytes)
# Aggregate across all GPUs, keep in bytes (no conversion)
@@ -214,7 +271,8 @@ class WorkerRegistry:
Best matching worker, or None if no suitable worker found.
"""
# Start with healthy workers
- candidates = [w for w in self._workers.values() if w.healthy]
+ workers_snapshot = dict(self._workers)
+ candidates = [w for w in workers_snapshot.values() if w.healthy]
if not candidates:
return None
@@ -243,9 +301,17 @@ class WorkerRegistry:
if model:
with_model = [w for w in candidates if model in w.models]
if with_model:
- candidates = with_model
-
- # Pick worker with lowest queue depth
+ # Prefer workers already serving the model; apply fill-first only to them
+ if FILL_FIRST_ENABLED:
+ return min(with_model, key=_fill_first_score)
+ return min(with_model, key=lambda w: w.queue_depth)
+ # No workers have the model — fall back to lowest queue depth (no fill-first bias)
+ return min(candidates, key=lambda w: w.queue_depth)
+
+ # Select based on scoring strategy
+ if FILL_FIRST_ENABLED:
+ return min(candidates, key=_fill_first_score)
+ # Legacy: pick worker with lowest queue depth
return min(candidates, key=lambda w: w.queue_depth)
def has_capacity(self, gpu: str, bundle: str | None = None) -> bool:
@@ -260,7 +326,7 @@ class WorkerRegistry:
"""
gpu_lower = gpu.lower()
bundle_lower = bundle.lower() if bundle else None
- for w in self._workers.values():
+ for w in dict(self._workers).values():
if not w.healthy:
continue
if not w.machine_profile or w.machine_profile.lower() != gpu_lower:
@@ -270,13 +336,30 @@ class WorkerRegistry:
return True
return False
+ def resolve_queue_pool(self, bundle: str, gpu: str = "") -> str | None:
+ """Find the NATS pool name for the given bundle (and optional GPU).
+
+ Looks at healthy workers that broadcast a ``pool_name`` and returns
+ the first match. Returns ``None`` when no worker matches.
+ """
+ bundle_lower = bundle.lower()
+ for w in dict(self._workers).values():
+ if not w.healthy or not w.pool_name:
+ continue
+ if w.bundle.lower() != bundle_lower:
+ continue
+ if gpu and w.machine_profile and w.machine_profile.lower() != gpu.lower():
+ continue
+ return w.pool_name
+ return None
+
def get_gpu_types(self) -> list[str]:
"""Get list of available machine_profile types across all healthy workers."""
- return list({w.machine_profile for w in self._workers.values() if w.healthy and w.machine_profile})
+ return list({w.machine_profile for w in dict(self._workers).values() if w.healthy and w.machine_profile})
def get_bundles(self) -> list[str]:
"""Get list of available bundles across all healthy workers."""
- return list({w.bundle for w in self._workers.values() if w.healthy and w.bundle})
+ return list({w.bundle for w in dict(self._workers).values() if w.healthy and w.bundle})
def get_models(self) -> dict[str, list[str]]:
"""Get models loaded on each worker.
@@ -285,7 +368,7 @@ class WorkerRegistry:
Dict mapping model name to list of worker URLs that have it loaded.
"""
models: dict[str, list[str]] = defaultdict(list)
- for worker in self._workers.values():
+ for worker in dict(self._workers).values():
if worker.healthy:
for model in worker.models:
models[model].append(worker.url)
@@ -309,9 +392,10 @@ class WorkerRegistry:
# Calculate QPS (requests per second) over last interval
elapsed = now - self._last_qps_calculation
if elapsed >= 1.0:
- total_requests = sum(self._request_counts.values())
+ counts = self._request_counts
+ self._request_counts = defaultdict(int)
+ total_requests = sum(counts.values())
self._current_qps = total_requests / elapsed if elapsed > 0 else 0
- self._request_counts.clear()
self._last_qps_calculation = now
# Aggregate worker info
@@ -319,7 +403,9 @@ class WorkerRegistry:
total_gpus = 0
model_workers: dict[str, list[dict[str, Any]]] = defaultdict(list)
- for worker in self._workers.values():
+ workers_snapshot = dict(self._workers)
+
+ for worker in workers_snapshot.values():
# Use memory_*_bytes for consistency with GPUMetrics/WorkerInfo types
# gpu field populated from machine_profile for display
worker_info: WorkerInfo = {
@@ -332,6 +418,8 @@ class WorkerRegistry:
"memory_used_bytes": worker.memory_used_bytes,
"memory_total_bytes": worker.memory_total_bytes,
"healthy": worker.healthy,
+ "bundle": worker.bundle,
+ "bundle_config_hash": worker.bundle_config_hash,
}
workers_info.append(worker_info)
@@ -362,7 +450,7 @@ class WorkerRegistry:
return ClusterStatus(
timestamp=now,
- worker_count=len([w for w in self._workers.values() if w.healthy]),
+ worker_count=len([w for w in workers_snapshot.values() if w.healthy]),
gpu_count=total_gpus,
models_loaded=len(model_workers),
total_qps=self._current_qps,
diff --git a/packages/sie_router/src/sie_router/types.py b/packages/sie_router/src/sie_router/types.py
index 232c3def6..824a0c501 100644
--- a/packages/sie_router/src/sie_router/types.py
+++ b/packages/sie_router/src/sie_router/types.py
@@ -1,5 +1,3 @@
-"""Types for SIE Router."""
-
from dataclasses import dataclass, field
from enum import Enum
@@ -29,6 +27,18 @@ class WorkerHealth(Enum):
UNKNOWN = "unknown"
+@dataclass
+class ModelAdaptiveState:
+ """Adaptive batching state for one model on one worker."""
+
+ calibrated: bool = False
+ target_p50_ms: float | None = None
+ wait_ms: float = 10.0
+ p50_ms: float | None = None
+ headroom_ms: float | None = None
+ fill_ratio: float | None = None
+
+
@dataclass
class WorkerState:
"""State of a single worker, updated via WebSocket."""
@@ -44,18 +54,27 @@ class WorkerState:
# - Standalone: Detected GPU type (e.g., "l4")
machine_profile: str = ""
+ # NATS pool name (from SIE_POOL env var on worker, e.g., "l4-spot-default").
+ # Used in queue mode to publish to the correct JetStream subject.
+ pool_name: str = ""
+
# Bundle info (for multi-bundle routing)
bundle: str = "default"
+ bundle_config_hash: str = "" # Config hash for awareness gating
# Loaded models
models: list[str] = field(default_factory=list)
# Load info
queue_depth: int = 0
+ max_batch_requests: int = 64 # Worker's batch capacity (from BatchConfig)
# Memory in bytes (consistent with GPUMetrics from worker)
memory_used_bytes: int = 0
memory_total_bytes: int = 0
+ # Adaptive batching state per model
+ adaptive: dict[str, ModelAdaptiveState] = field(default_factory=dict)
+
# Health
health: WorkerHealth = WorkerHealth.UNKNOWN
last_heartbeat: float = 0.0
diff --git a/packages/sie_router/src/sie_router/work_publisher.py b/packages/sie_router/src/sie_router/work_publisher.py
new file mode 100644
index 000000000..5cdcd355c
--- /dev/null
+++ b/packages/sie_router/src/sie_router/work_publisher.py
@@ -0,0 +1,818 @@
+"""Publishes work items to NATS JetStream and collects results.
+
+This module replaces ``_forward_request()`` in ``proxy.py`` for cluster mode
+when ``SIE_CLUSTER_ROUTING=queue``. It decomposes client requests into
+individual work items, publishes them to JetStream subjects, and waits for
+results from workers.
+
+Result payloads are treated as opaque msgpack blobs — the router does NOT
+deserialize numpy arrays. This keeps ``numpy`` out of the router's dependency
+graph.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import itertools
+import logging
+import os
+import time
+from collections.abc import Awaitable, Callable
+from dataclasses import dataclass, field
+from typing import Any
+
+import msgpack
+from nats.aio.client import Client as NATSClient
+from nats.js import JetStreamContext
+from sie_sdk.queue_types import (
+ INLINE_THRESHOLD_BYTES,
+ WorkItem,
+ WorkResult,
+ work_subject,
+)
+
+from sie_router.jetstream_manager import JetStreamManager
+from sie_router.payload_store import PayloadStore
+
+logger = logging.getLogger(__name__)
+
+try:
+ from prometheus_client import Counter, Histogram
+
+ QUEUE_PUBLISH_SECONDS = Histogram(
+ "sie_router_queue_publish_seconds",
+ "Time to publish all work items for a request (seconds)",
+ ["operation"],
+ buckets=[0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0],
+ )
+ QUEUE_ITEMS_PUBLISHED = Histogram(
+ "sie_router_queue_items_published",
+ "Number of work items published per request",
+ ["operation"],
+ buckets=[1, 2, 4, 8, 16, 32, 64, 128, 256, 512],
+ )
+ QUEUE_RESULT_WAIT_SECONDS = Histogram(
+ "sie_router_queue_result_wait_seconds",
+ "Time waiting for all results from workers (seconds)",
+ ["operation"],
+ buckets=[0.01, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 30.0],
+ )
+ QUEUE_PAYLOAD_OFFLOADS = Counter(
+ "sie_router_queue_payload_offloads_total",
+ "Number of payloads offloaded to payload store",
+ )
+ _HAS_METRICS = True
+except ImportError:
+ _HAS_METRICS = False
+
+
+class NoConsumersError(RuntimeError):
+ """Raised when no workers are subscribed to a model's stream."""
+
+ def __init__(self, model_id: str) -> None:
+ self.model_id = model_id
+ super().__init__(f"No consumers for model {model_id} — no workers subscribed")
+
+
+# Default timeout for waiting for all results
+_DEFAULT_REQUEST_TIMEOUT = float(os.environ.get("SIE_ROUTER_REQUEST_TIMEOUT", "30"))
+
+# Backpressure: reject if stream has more than this many pending messages
+_MAX_STREAM_PENDING = int(os.environ.get("SIE_ROUTER_MAX_STREAM_PENDING", "50000"))
+
+# Cache TTL for backpressure check (seconds). Avoids a full NATS
+# ``stream_info`` RPC on every request. 100ms is short enough to detect
+# consumer loss or backpressure within a few requests.
+_BP_CACHE_TTL_S = 1.0
+
+
+@dataclass
+class PendingRequest:
+ """Tracks the state of a pending client request."""
+
+ request_id: str
+ total_items: int
+ results: dict[int, WorkResult] # item_index → full WorkResult (preserves timing metadata)
+ errors: dict[int, tuple[str, str]] # item_index → (error, error_code)
+ operation: str = ""
+ completed: asyncio.Event = field(default_factory=asyncio.Event)
+ start_time: float = field(default_factory=time.monotonic)
+
+
+class WorkPublisher:
+ """Publishes work items to NATS JetStream and collects results.
+
+ Thread-safe for concurrent use by multiple proxy request handlers.
+ """
+
+ def __init__(
+ self,
+ nc: NATSClient,
+ js: JetStreamContext,
+ jsm: JetStreamManager,
+ router_id: str,
+ payload_store: PayloadStore | None = None,
+ ) -> None:
+ self._nc = nc
+ self._js = js
+ self._jsm = jsm
+ self._router_id = router_id
+ self._payload_store = payload_store
+ self._pending: dict[str, PendingRequest] = {}
+ # itertools.count is thread-safe in CPython (GIL protects __next__).
+ # For pure async use this is always safe; the GIL note is for mixed
+ # threaded access from sync middleware.
+ self._counter = itertools.count(1)
+ self._inbox_sub: object | None = None
+ self._running = False
+ self._background_tasks: set[asyncio.Task[None]] = set()
+ # Backpressure cache: {pool_or_model: (timestamp, consumer_count, pending)}
+ self._bp_cache: dict[str, tuple[float, int, int]] = {}
+
+ async def start(self) -> None:
+ """Start the result listener.
+
+ Subscribes to the router's inbox subject for receiving work results.
+ Must be called before ``submit_encode`` / ``submit_score`` / ``submit_extract``.
+ """
+ await self._subscribe_inbox()
+ self._running = True
+ logger.info("WorkPublisher started (inbox=_INBOX.%s.>)", self._router_id)
+
+ async def _subscribe_inbox(self) -> None:
+ """Create (or re-create) the inbox subscription.
+
+ The new subscription is created BEFORE the old one is removed so
+ there is no window where incoming results could be dropped.
+ """
+ old_sub = self._inbox_sub
+ inbox_subject = f"_INBOX.{self._router_id}.>"
+ self._inbox_sub = await self._nc.subscribe(inbox_subject, cb=self._on_result)
+ if old_sub is not None:
+ try:
+ await old_sub.unsubscribe() # type: ignore[union-attr]
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to unsubscribe old inbox during re-subscribe")
+
+ async def handle_reconnect(self) -> None:
+ """Re-create inbox subscription and clear JSM caches after NATS reconnect.
+
+ After a NATS server restart the subscription and cached stream/consumer
+ metadata may be stale. This method is called from the reconnect handler
+ registered in ``app_factory._work_publisher``.
+ """
+ self._jsm.clear_caches()
+ self._bp_cache.clear()
+ try:
+ await self._subscribe_inbox()
+ logger.info("WorkPublisher reconnected (inbox re-subscribed, JSM caches cleared)")
+ except Exception:
+ logger.exception("WorkPublisher failed to re-subscribe inbox on reconnect")
+
+ async def stop(self) -> None:
+ """Stop the result listener and cancel pending requests."""
+ self._running = False
+ if self._inbox_sub:
+ await self._inbox_sub.unsubscribe() # type: ignore[union-attr]
+ self._inbox_sub = None
+
+ # Cancel all pending requests
+ for pending in self._pending.values():
+ pending.completed.set()
+ self._pending.clear()
+ logger.info("WorkPublisher stopped")
+
+ def _next_request_id(self) -> str:
+ return f"{self._router_id}-{next(self._counter)}"
+
+ async def submit_encode(
+ self,
+ model_id: str,
+ profile_id: str,
+ pool_name: str,
+ machine_profile: str,
+ items: list[dict[str, Any]],
+ output_types: list[str] | None = None,
+ instruction: str | None = None,
+ is_query: bool = False,
+ options: dict[str, Any] | None = None,
+ timeout: float = _DEFAULT_REQUEST_TIMEOUT, # noqa: ASYNC109
+ bundle_config_hash: str = "",
+ ) -> list[WorkResult]:
+ """Publish encode work items and wait for all results.
+
+ Decomposes the request into one work item per item.
+ """
+ total_items = len(items)
+
+ async def _publish(request_id: str, reply_subject: str, subject: str) -> None:
+ published = 0
+ publish_start = time.monotonic()
+ publish_futures: list[asyncio.Future] = []
+ try:
+ # Build and serialize all work items in a single thread call
+ # (1 thread hop for N items instead of N thread hops).
+ built = await self._build_work_items_batch(
+ request_id=request_id,
+ total_items=total_items,
+ operation="encode",
+ model_id=model_id,
+ profile_id=profile_id,
+ pool_name=pool_name,
+ machine_profile=machine_profile,
+ reply_subject=reply_subject,
+ items=items,
+ output_types=output_types,
+ instruction=instruction,
+ is_query=is_query,
+ options=options,
+ bundle_config_hash=bundle_config_hash,
+ )
+ for _wi, payload in built:
+ fut = await self._js.publish_async(subject, payload)
+ publish_futures.append(fut)
+ published += 1
+
+ await self._js.publish_async_completed()
+
+ for fut in publish_futures:
+ exc = fut.exception() if fut.done() else None
+ if exc is not None:
+ raise exc
+ except Exception:
+ logger.error(
+ "Partial publish failure for request %s: %d/%d items published "
+ "(orphaned items will expire via stream max_age=60s)",
+ request_id,
+ published,
+ total_items,
+ )
+ raise
+ finally:
+ if _HAS_METRICS:
+ QUEUE_PUBLISH_SECONDS.labels(operation="encode").observe(time.monotonic() - publish_start)
+ QUEUE_ITEMS_PUBLISHED.labels(operation="encode").observe(published)
+
+ return await self._submit_items(
+ model_id=model_id,
+ pool_name=pool_name,
+ operation="encode",
+ total_items=total_items,
+ timeout=timeout,
+ publish_fn=_publish,
+ )
+
+ async def submit_score(
+ self,
+ model_id: str,
+ profile_id: str,
+ pool_name: str,
+ machine_profile: str,
+ query: dict[str, Any],
+ items: list[dict[str, Any]],
+ instruction: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout: float = _DEFAULT_REQUEST_TIMEOUT, # noqa: ASYNC109
+ bundle_config_hash: str = "",
+ ) -> list[WorkResult]:
+ """Publish a score work item and wait for result.
+
+ Score operations are NOT decomposed — query + all items go to one worker
+ because cross-attention requires co-location.
+ """
+
+ async def _publish(request_id: str, reply_subject: str, subject: str) -> None:
+ work_item: WorkItem = {
+ "work_item_id": f"{request_id}.0",
+ "request_id": request_id,
+ "item_index": 0,
+ "total_items": 1,
+ "operation": "score",
+ "model_id": model_id,
+ "profile_id": profile_id,
+ "pool_name": pool_name,
+ "machine_profile": machine_profile,
+ "query_item": query,
+ "score_items": items,
+ "instruction": instruction,
+ "options": options,
+ "bundle_config_hash": bundle_config_hash,
+ "router_id": self._router_id,
+ "reply_subject": reply_subject,
+ "timestamp": time.time(),
+ }
+
+ # Consolidate all serialization into a single to_thread call
+ # (avoids up to 3 thread hops for score requests).
+ def _serialize_score(
+ wi: WorkItem,
+ threshold: int,
+ q: dict[str, Any],
+ it: list[dict[str, Any]],
+ req_id: str,
+ ) -> tuple[bytes, str | None, bytes | None]:
+ packb = msgpack.packb
+ payload = packb(wi, use_bin_type=True)
+ if len(payload) > threshold:
+ score_bytes = packb({"query": q, "items": it}, use_bin_type=True)
+ wi["query_item"] = None
+ wi["score_items"] = None
+ wi["query_payload_ref"] = f"payloads/{req_id}/score"
+ payload = packb(wi, use_bin_type=True)
+ return payload, wi["query_payload_ref"], score_bytes
+ return payload, None, None
+
+ payload, ref_key, score_bytes = await asyncio.to_thread(
+ _serialize_score,
+ work_item,
+ INLINE_THRESHOLD_BYTES,
+ query,
+ items,
+ request_id,
+ )
+ if ref_key and self._payload_store and score_bytes:
+ await self._payload_store.put(ref_key, score_bytes)
+ if _HAS_METRICS:
+ QUEUE_PAYLOAD_OFFLOADS.inc()
+
+ publish_start = time.monotonic()
+ try:
+ await self._js.publish(subject, payload)
+ except Exception:
+ logger.error(
+ "Publish failure for score request %s (orphaned item will expire via stream max_age=60s)",
+ request_id,
+ )
+ raise
+ finally:
+ if _HAS_METRICS:
+ QUEUE_PUBLISH_SECONDS.labels(operation="score").observe(time.monotonic() - publish_start)
+ QUEUE_ITEMS_PUBLISHED.labels(operation="score").observe(1)
+
+ return await self._submit_items(
+ model_id=model_id,
+ pool_name=pool_name,
+ operation="score",
+ total_items=1,
+ timeout=timeout,
+ publish_fn=_publish,
+ )
+
+ async def submit_extract(
+ self,
+ model_id: str,
+ profile_id: str,
+ pool_name: str,
+ machine_profile: str,
+ items: list[dict[str, Any]],
+ labels: list[str] | None = None,
+ output_schema: dict[str, Any] | None = None,
+ instruction: str | None = None,
+ options: dict[str, Any] | None = None,
+ timeout: float = _DEFAULT_REQUEST_TIMEOUT, # noqa: ASYNC109
+ bundle_config_hash: str = "",
+ ) -> list[WorkResult]:
+ """Publish extract work items and wait for all results.
+
+ Decomposes the request into one work item per item (same as encode).
+ """
+ total_items = len(items)
+
+ async def _publish(request_id: str, reply_subject: str, subject: str) -> None:
+ published = 0
+ publish_start = time.monotonic()
+ publish_futures: list[asyncio.Future] = []
+ try:
+ # Build and serialize all work items in a single thread call
+ built = await self._build_work_items_batch(
+ request_id=request_id,
+ total_items=total_items,
+ operation="extract",
+ model_id=model_id,
+ profile_id=profile_id,
+ pool_name=pool_name,
+ machine_profile=machine_profile,
+ reply_subject=reply_subject,
+ items=items,
+ labels=labels,
+ output_schema=output_schema,
+ instruction=instruction,
+ options=options,
+ bundle_config_hash=bundle_config_hash,
+ )
+ for _wi, payload in built:
+ fut = await self._js.publish_async(subject, payload)
+ publish_futures.append(fut)
+ published += 1
+
+ await self._js.publish_async_completed()
+
+ for fut in publish_futures:
+ exc = fut.exception() if fut.done() else None
+ if exc is not None:
+ raise exc
+ except Exception:
+ logger.error(
+ "Partial publish failure for request %s: %d/%d items published "
+ "(orphaned items will expire via stream max_age=60s)",
+ request_id,
+ published,
+ total_items,
+ )
+ raise
+ finally:
+ if _HAS_METRICS:
+ QUEUE_PUBLISH_SECONDS.labels(operation="extract").observe(time.monotonic() - publish_start)
+ QUEUE_ITEMS_PUBLISHED.labels(operation="extract").observe(published)
+
+ return await self._submit_items(
+ model_id=model_id,
+ pool_name=pool_name,
+ operation="extract",
+ total_items=total_items,
+ timeout=timeout,
+ publish_fn=_publish,
+ )
+
+ # -- Internal helpers ----------------------------------------------------
+
+ async def _submit_items(
+ self,
+ *,
+ model_id: str,
+ pool_name: str,
+ operation: str,
+ total_items: int,
+ timeout: float, # noqa: ASYNC109
+ publish_fn: Callable[..., Awaitable[None]],
+ ) -> list[WorkResult]:
+ """Common scaffolding for submit_encode/score/extract.
+
+ Handles stream creation, backpressure check, pending request
+ registration, result waiting, and payload cleanup. The caller
+ provides ``publish_fn(request_id, reply_subject, subject)`` to
+ handle operation-specific work item construction and publishing.
+ """
+ request_id = self._next_request_id()
+ reply_subject = f"_INBOX.{self._router_id}.{request_id}"
+
+ await self._jsm.ensure_stream(model_id, pool_name=pool_name)
+ await self._check_backpressure(model_id, pool_name=pool_name)
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=total_items,
+ results={},
+ errors={},
+ operation=operation,
+ )
+ self._pending[request_id] = pending
+
+ try:
+ subject = work_subject(model_id, pool_name)
+ await publish_fn(request_id, reply_subject, subject)
+ return await self._wait_for_results(pending, timeout)
+ finally:
+ self._pending.pop(request_id, None)
+ if self._payload_store:
+ task = asyncio.create_task(self._payload_store.delete_prefix(f"payloads/{request_id}/"))
+ self._background_tasks.add(task)
+ task.add_done_callback(self._background_tasks.discard)
+
+ async def _build_work_items_batch(
+ self,
+ *,
+ request_id: str,
+ total_items: int,
+ operation: str,
+ model_id: str,
+ profile_id: str,
+ pool_name: str,
+ machine_profile: str,
+ reply_subject: str,
+ items: list[dict[str, Any]],
+ output_types: list[str] | None = None,
+ instruction: str | None = None,
+ is_query: bool = False,
+ options: dict[str, Any] | None = None,
+ labels: list[str] | None = None,
+ output_schema: dict[str, Any] | None = None,
+ bundle_config_hash: str = "",
+ ) -> list[tuple[WorkItem, bytes]]:
+ """Build and serialize multiple WorkItems in a single thread call.
+
+ Constructs all work item dicts on the event loop (cheap dict
+ creation), then serializes them all in one ``to_thread`` call to
+ avoid N thread roundtrips for N items. Items that exceed the
+ inline threshold are offloaded to the payload store.
+
+ Returns:
+ List of (work_item_dict, serialized_bytes) tuples.
+ """
+ now = time.time()
+ work_items: list[WorkItem] = []
+ for i, item in enumerate(items):
+ wi: WorkItem = {
+ "work_item_id": f"{request_id}.{i}",
+ "request_id": request_id,
+ "item_index": i,
+ "total_items": total_items,
+ "operation": operation,
+ "model_id": model_id,
+ "profile_id": profile_id,
+ "pool_name": pool_name,
+ "machine_profile": machine_profile,
+ "item": item,
+ "output_types": output_types,
+ "instruction": instruction,
+ "is_query": is_query,
+ "options": options,
+ "labels": labels,
+ "output_schema": output_schema,
+ "bundle_config_hash": bundle_config_hash,
+ "router_id": self._router_id,
+ "reply_subject": reply_subject,
+ "timestamp": now,
+ }
+ work_items.append(wi)
+
+ # For small batches (1-2 items), serialize inline on the event loop.
+ # msgpack.packb on a single work item takes ~5-10μs — well below the
+ # ~50μs overhead of asyncio.to_thread. Only offload for larger batches
+ # where the cumulative serialization cost justifies the thread hop.
+ _INLINE_SERIALIZE_THRESHOLD = 2
+ if len(work_items) <= _INLINE_SERIALIZE_THRESHOLD:
+ serialized_list = [msgpack.packb(wi, use_bin_type=True) for wi in work_items]
+ else:
+
+ def _serialize_batch(wis: list[WorkItem]) -> list[bytes]:
+ return [msgpack.packb(wi, use_bin_type=True) for wi in wis]
+
+ serialized_list = await asyncio.to_thread(_serialize_batch, work_items)
+
+ # Check for payload offloading (rare — only for very large items)
+ results: list[tuple[WorkItem, bytes]] = []
+ for i, (wi, serialized) in enumerate(zip(work_items, serialized_list)):
+ if len(serialized) > INLINE_THRESHOLD_BYTES and self._payload_store and wi.get("item"):
+ item_bytes = await asyncio.to_thread(msgpack.packb, wi["item"], use_bin_type=True)
+ ref_key = f"payloads/{request_id}/{i}"
+ await self._payload_store.put(ref_key, item_bytes)
+ wi["item"] = None
+ wi["payload_ref"] = ref_key
+ serialized = await asyncio.to_thread(msgpack.packb, wi, use_bin_type=True)
+ if _HAS_METRICS:
+ QUEUE_PAYLOAD_OFFLOADS.inc()
+ results.append((wi, serialized))
+
+ return results
+
+ async def _build_work_item(
+ self,
+ *,
+ request_id: str,
+ item_index: int,
+ total_items: int,
+ operation: str,
+ model_id: str,
+ profile_id: str,
+ pool_name: str,
+ machine_profile: str,
+ reply_subject: str,
+ item: dict[str, Any] | None = None,
+ output_types: list[str] | None = None,
+ instruction: str | None = None,
+ is_query: bool = False,
+ options: dict[str, Any] | None = None,
+ labels: list[str] | None = None,
+ output_schema: dict[str, Any] | None = None,
+ bundle_config_hash: str = "",
+ ) -> tuple[WorkItem, bytes]:
+ """Build a WorkItem and serialize it, offloading payload if needed.
+
+ Returns:
+ Tuple of (work_item_dict, serialized_bytes).
+ """
+ work_item_id = f"{request_id}.{item_index}"
+
+ wi: WorkItem = {
+ "work_item_id": work_item_id,
+ "request_id": request_id,
+ "item_index": item_index,
+ "total_items": total_items,
+ "operation": operation,
+ "model_id": model_id,
+ "profile_id": profile_id,
+ "pool_name": pool_name,
+ "machine_profile": machine_profile,
+ "item": item,
+ "output_types": output_types,
+ "instruction": instruction,
+ "is_query": is_query,
+ "options": options,
+ "labels": labels,
+ "output_schema": output_schema,
+ "bundle_config_hash": bundle_config_hash,
+ "router_id": self._router_id,
+ "reply_subject": reply_subject,
+ "timestamp": time.time(),
+ }
+
+ # Check if payload needs offloading — offload msgpack serialization to
+ # avoid blocking the event loop (called per-item in batch publish loops).
+ _packb = lambda o: msgpack.packb(o, use_bin_type=True) # noqa: E731
+ serialized = await asyncio.to_thread(_packb, wi)
+ if len(serialized) > INLINE_THRESHOLD_BYTES and self._payload_store and item:
+ # Offload item payload to store
+ item_bytes = await asyncio.to_thread(_packb, item)
+ ref_key = f"payloads/{request_id}/{item_index}"
+ await self._payload_store.put(ref_key, item_bytes)
+ wi["item"] = None
+ wi["payload_ref"] = ref_key
+ serialized = await asyncio.to_thread(_packb, wi)
+ if _HAS_METRICS:
+ QUEUE_PAYLOAD_OFFLOADS.inc()
+
+ return wi, serialized
+
+ async def _on_result(self, msg: Any) -> None:
+ """Handle incoming work result from NATS subscription.
+
+ Result messages contain a small envelope (~200-500 bytes of
+ strings/ints) plus an opaque ``result_msgpack`` blob that stays
+ as ``bytes``. Deserialization takes <5μs — well below the ~50μs
+ overhead of ``asyncio.to_thread`` — so we unpack directly on the
+ event loop. The ``_extract_request_id_fast`` early-exit skips
+ even that cost for stale/duplicate messages.
+ """
+ data = msg.data
+
+ # Fast path: look up request_id from raw bytes before full
+ # deserialization. If the request is unknown (already completed
+ # or a duplicate), skip the unpackb entirely.
+ _req_id = self._extract_request_id_fast(data)
+ if _req_id is not None and _req_id not in self._pending:
+ return
+
+ try:
+ result: WorkResult = msgpack.unpackb(data, raw=False)
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to deserialize work result", exc_info=True)
+ return
+
+ request_id = result.get("request_id", "")
+ pending = self._pending.get(request_id)
+ if not pending:
+ # Result for unknown or already-completed request (duplicate or late)
+ return
+
+ item_index = result.get("item_index", 0)
+
+ # Deduplicate: first result wins
+ if item_index in pending.results or item_index in pending.errors:
+ return
+
+ if result.get("success", False):
+ pending.results[item_index] = result
+ else:
+ pending.errors[item_index] = (
+ result.get("error", "unknown error"),
+ result.get("error_code", "internal_error"),
+ )
+
+ # Check if all items are done
+ total_received = len(pending.results) + len(pending.errors)
+ if total_received >= pending.total_items:
+ pending.completed.set()
+
+ @staticmethod
+ def _extract_request_id_fast(data: bytes) -> str | None:
+ r"""Try to extract request_id from raw msgpack bytes without full deserialization.
+
+ Returns the request_id string if found, or None if the fast path
+ cannot determine it (falls through to full deserialization).
+ The ``request_id`` key is always encoded as the msgpack fixstr
+ ``\xaa request_id`` (10-char fixstr). We search for this marker
+ and read the subsequent string value.
+ """
+ marker = b"\xaarequest_id"
+ pos = data.find(marker)
+ if pos == -1:
+ return None
+ # The value starts right after the key
+ val_start = pos + len(marker)
+ if val_start >= len(data):
+ return None
+ # Read the msgpack string value
+ first_byte = data[val_start]
+ if 0xA0 <= first_byte <= 0xBF:
+ # fixstr: length in lower 5 bits
+ str_len = first_byte & 0x1F
+ str_start = val_start + 1
+ elif first_byte == 0xD9:
+ # str 8: next byte is length
+ if val_start + 1 >= len(data):
+ return None
+ str_len = data[val_start + 1]
+ str_start = val_start + 2
+ elif first_byte == 0xDA:
+ # str 16: next 2 bytes are length (big-endian)
+ if val_start + 2 >= len(data):
+ return None
+ str_len = (data[val_start + 1] << 8) | data[val_start + 2]
+ str_start = val_start + 3
+ else:
+ return None
+ if str_start + str_len > len(data):
+ return None
+ try:
+ return data[str_start : str_start + str_len].decode("utf-8")
+ except UnicodeDecodeError:
+ return None
+
+ async def _wait_for_results(
+ self,
+ pending: PendingRequest,
+ timeout: float, # noqa: ASYNC109
+ ) -> list[WorkResult]:
+ """Wait for all results to arrive, then return ordered results."""
+ wait_start = time.monotonic()
+ try:
+ await asyncio.wait_for(pending.completed.wait(), timeout=timeout)
+ except TimeoutError:
+ received = len(pending.results) + len(pending.errors)
+ logger.warning(
+ "Request %s timed out: %d/%d results received",
+ pending.request_id,
+ received,
+ pending.total_items,
+ )
+ raise
+ finally:
+ if _HAS_METRICS and pending.operation:
+ QUEUE_RESULT_WAIT_SECONDS.labels(operation=pending.operation).observe(time.monotonic() - wait_start)
+
+ # Build ordered result list — successful results are stored as full
+ # WorkResult dicts so timing metadata (inference_ms, queue_ms, etc.)
+ # flows through to the caller.
+ results: list[WorkResult] = []
+ for i in range(pending.total_items):
+ if i in pending.results:
+ results.append(pending.results[i])
+ elif i in pending.errors:
+ error_msg, error_code = pending.errors[i]
+ results.append(
+ WorkResult(
+ work_item_id=f"{pending.request_id}.{i}",
+ request_id=pending.request_id,
+ item_index=i,
+ success=False,
+ error=error_msg,
+ error_code=error_code,
+ )
+ )
+ else:
+ # Should not happen if completed event is set correctly
+ results.append(
+ WorkResult(
+ work_item_id=f"{pending.request_id}.{i}",
+ request_id=pending.request_id,
+ item_index=i,
+ success=False,
+ error="Result missing",
+ error_code="result_missing",
+ )
+ )
+
+ return results
+
+ async def _check_backpressure(self, model_id: str, pool_name: str = "") -> None:
+ """Check stream health and reject if no consumers or over backpressure limit.
+
+ Results are cached for ``_BP_CACHE_TTL_S`` to avoid a full NATS
+ ``stream_info`` RPC on every request (~3ms savings at c=1).
+ The cache is keyed by pool_name (one pool stream per pool).
+ """
+ now = time.monotonic()
+ cache_key = pool_name or model_id
+ cached = self._bp_cache.get(cache_key)
+ if cached is not None:
+ ts, consumer_count, pending = cached
+ if (now - ts) < _BP_CACHE_TTL_S:
+ if consumer_count == 0:
+ raise NoConsumersError(model_id)
+ if pending > _MAX_STREAM_PENDING:
+ raise RuntimeError(
+ f"Stream backpressure: {pending} pending for {model_id} (limit: {_MAX_STREAM_PENDING})"
+ )
+ return
+
+ consumer_count, pending = await self._jsm.get_stream_health(model_id, pool_name=pool_name)
+ self._bp_cache[cache_key] = (now, consumer_count, pending)
+
+ if consumer_count == 0:
+ raise NoConsumersError(model_id)
+
+ if pending > _MAX_STREAM_PENDING:
+ raise RuntimeError(
+ f"Stream backpressure: {pending} pending messages for model {model_id} (limit: {_MAX_STREAM_PENDING})"
+ )
diff --git a/packages/sie_router/tests/conftest.py b/packages/sie_router/tests/conftest.py
new file mode 100644
index 000000000..259474d03
--- /dev/null
+++ b/packages/sie_router/tests/conftest.py
@@ -0,0 +1,87 @@
+from __future__ import annotations
+
+import logging
+import os
+import shutil
+import socket
+import subprocess
+import time
+from collections.abc import Generator
+
+import pytest
+
+logger = logging.getLogger(__name__)
+
+
+def _find_free_port(start: int = 14222, end: int = 14322) -> int:
+ for port in range(start, end):
+ try:
+ with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
+ s.bind(("127.0.0.1", port))
+ return port
+ except OSError:
+ continue
+ msg = f"No free port in range {start}-{end}"
+ raise RuntimeError(msg)
+
+
[email protected](scope="session")
+def nats_server() -> Generator[str]:
+ """Start a local NATS server with JetStream for integration tests.
+
+ If ``SIE_NATS_URL`` is already set the fixture assumes an external server
+ is running and yields that URL without starting anything.
+
+ Yields the ``nats://host:port`` URL.
+ """
+ external_url = os.environ.get("SIE_NATS_URL")
+ if external_url:
+ logger.info("Using external NATS server: %s", external_url)
+ yield external_url
+ return
+
+ nats_bin = shutil.which("nats-server")
+ if nats_bin is None:
+ pytest.skip("nats-server not found in PATH — required for integration tests")
+
+ port = _find_free_port()
+ cmd = [nats_bin, "-p", str(port), "-js", "-m", "0"]
+
+ logger.info("Starting NATS server: %s", " ".join(cmd))
+ proc = subprocess.Popen( # noqa: S603
+ cmd,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ )
+
+ url = f"nats://127.0.0.1:{port}"
+ os.environ["SIE_NATS_URL"] = url
+
+ # Wait for NATS to accept connections
+ deadline = time.monotonic() + 10
+ while time.monotonic() < deadline:
+ try:
+ with socket.create_connection(("127.0.0.1", port), timeout=1):
+ break
+ except OSError:
+ if proc.poll() is not None:
+ out = proc.stdout.read().decode() if proc.stdout else ""
+ pytest.fail(f"nats-server exited early (rc={proc.returncode}):\n{out}")
+ time.sleep(0.1)
+ else:
+ proc.terminate()
+ pytest.fail("nats-server failed to accept connections within 10s")
+
+ logger.info("NATS server ready at %s", url)
+
+ try:
+ yield url
+ finally:
+ os.environ.pop("SIE_NATS_URL", None)
+ proc.terminate()
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ proc.kill()
+ proc.wait()
+ logger.info("NATS server stopped")
diff --git a/packages/sie_router/tests/fixtures/queue-test-values.yaml b/packages/sie_router/tests/fixtures/queue-test-values.yaml
new file mode 100644
index 000000000..8698374ae
--- /dev/null
+++ b/packages/sie_router/tests/fixtures/queue-test-values.yaml
@@ -0,0 +1,44 @@
+# Helm values override for queue routing integration tests.
+# Deploys only NATS with JetStream — all other components disabled.
+
+# Disable router/worker deployments (we only need NATS for queue tests)
+router:
+ replicas: 0
+
+# Cluster routing mode (queue for NATS JetStream work queue)
+clusterRouting: "queue"
+
+# NATS configuration
+nats:
+ install: true
+ enabled: true
+ config:
+ jetstream:
+ enabled: true
+ memoryStore:
+ enabled: true
+ maxSize: 256Mi
+ fileStore:
+ enabled: false
+
+# Disable all sub-chart dependencies
+keda:
+ install: false
+kube-prometheus-stack:
+ install: false
+dcgmExporter:
+ install: false
+loki:
+ install: false
+alloy:
+ install: false
+eventExporter:
+ install: false
+
+# Disable features not needed for queue tests
+serviceMonitor:
+ enabled: false
+dashboards:
+ enabled: false
+healthGates:
+ enabled: false
diff --git a/packages/sie_router/tests/test_config_api.py b/packages/sie_router/tests/test_config_api.py
new file mode 100644
index 000000000..4048da258
--- /dev/null
+++ b/packages/sie_router/tests/test_config_api.py
@@ -0,0 +1,528 @@
+import tempfile
+from pathlib import Path
+
+import yaml
+from fastapi import FastAPI
+from fastapi.testclient import TestClient
+from sie_router.config_api import router as config_router
+from sie_router.config_store import ConfigStore
+from sie_router.model_registry import ModelRegistry
+from sie_router.registry import WorkerRegistry
+
+
+def _create_test_app(
+ bundles_dir: Path,
+ models_dir: Path,
+ config_store_dir: str | None = None,
+) -> FastAPI:
+ """Create a minimal test app with config API."""
+ app = FastAPI()
+ app.include_router(config_router)
+
+ model_registry = ModelRegistry(bundles_dir, models_dir)
+ app.state.model_registry = model_registry
+ app.state.registry = WorkerRegistry()
+ app.state.nats_manager = None
+ app.state.config_store = ConfigStore(config_store_dir) if config_store_dir else None
+
+ return app
+
+
+def _write_bundle(bundles_dir: Path, name: str, adapters: list[str], priority: int = 10) -> None:
+ bundle = {"name": name, "priority": priority, "adapters": adapters}
+ (bundles_dir / f"{name}.yaml").write_text(yaml.dump(bundle))
+
+
+def _write_model(models_dir: Path, sie_id: str, adapter_path: str) -> None:
+ config = {
+ "sie_id": sie_id,
+ "profiles": {
+ "default": {
+ "adapter_path": adapter_path,
+ "max_batch_tokens": 8192,
+ }
+ },
+ }
+ filename = sie_id.replace("/", "__") + ".yaml"
+ (models_dir / filename).write_text(yaml.dump(config))
+
+
+class TestConfigAPIModels:
+ """Tests for /v1/configs/models endpoints."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self._root = Path(self._tmpdir.name)
+ self._bundles = self._root / "bundles"
+ self._models = self._root / "models"
+ self._store = self._root / "store"
+ self._bundles.mkdir()
+ self._models.mkdir()
+
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"])
+ _write_model(self._models, "test/model", "sie_server.adapters.bert_flash:BertFlashAdapter")
+
+ self.app = _create_test_app(self._bundles, self._models, str(self._store))
+ self.client = TestClient(self.app)
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_list_models(self) -> None:
+ resp = self.client.get("/v1/configs/models")
+ assert resp.status_code == 200
+ data = resp.json()
+ assert len(data["models"]) == 1
+ assert data["models"][0]["model_id"] == "test/model"
+ assert data["models"][0]["source"] == "filesystem"
+
+ def test_get_model_not_found(self) -> None:
+ resp = self.client.get("/v1/configs/models/nonexistent/model")
+ assert resp.status_code == 404
+
+ def test_get_model_filesystem_returns_200(self) -> None:
+ """GET /v1/configs/models/{model_id} returns 200 with YAML for filesystem models."""
+ resp = self.client.get("/v1/configs/models/test/model")
+ assert resp.status_code == 200
+ assert "application/x-yaml" in resp.headers["content-type"]
+
+ # Parse the YAML response body
+ data = yaml.safe_load(resp.text)
+ assert data["source"] == "filesystem"
+ assert data["sie_id"] == "test/model"
+ assert "bundles" in data
+
+ def test_add_model_success(self) -> None:
+ yaml_body = """
+sie_id: new/model
+profiles:
+ default:
+ adapter_path: sie_server.adapters.bert_flash:BertFlashAdapter
+ max_batch_tokens: 8192
+"""
+ resp = self.client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Content-Type": "application/x-yaml"},
+ )
+ assert resp.status_code == 201
+ data = resp.json()
+ assert data["model_id"] == "new/model"
+ assert data["created_profiles"] == ["default"]
+ assert data["worker_ack_pending"] is True # no workers connected
+ assert "no_eligible_workers_connected" in data["warnings"]
+
+ def test_add_model_unroutable_adapter(self) -> None:
+ yaml_body = """
+sie_id: bad/model
+profiles:
+ default:
+ adapter_path: sie_server.adapters.unknown:UnknownAdapter
+ max_batch_tokens: 8192
+"""
+ resp = self.client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Content-Type": "application/x-yaml"},
+ )
+ assert resp.status_code == 422
+ assert "validation_error" in resp.json()["detail"]["error"]
+
+ def test_add_model_invalid_yaml(self) -> None:
+ resp = self.client.post(
+ "/v1/configs/models",
+ content="{{invalid yaml",
+ headers={"Content-Type": "application/x-yaml"},
+ )
+ assert resp.status_code == 400
+
+ def test_add_model_missing_sie_id(self) -> None:
+ yaml_body = """
+profiles:
+ default:
+ adapter_path: sie_server.adapters.bert_flash:BertFlashAdapter
+"""
+ resp = self.client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Content-Type": "application/x-yaml"},
+ )
+ assert resp.status_code == 422
+
+ def test_add_model_persisted_to_store(self) -> None:
+ yaml_body = "sie_id: stored/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:Bert\n max_batch_tokens: 8192\n"
+ self.client.post("/v1/configs/models", content=yaml_body)
+
+ store = self.app.state.config_store
+ assert store.read_model("stored/model") is not None
+ assert store.read_epoch() == 1
+
+ def test_add_model_idempotent_profiles(self) -> None:
+ """Adding same model twice skips existing profiles."""
+ yaml_body = "sie_id: new/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:Bert\n max_batch_tokens: 8192\n"
+ resp1 = self.client.post("/v1/configs/models", content=yaml_body)
+ assert resp1.status_code == 201
+
+ resp2 = self.client.post("/v1/configs/models", content=yaml_body)
+ assert resp2.status_code == 200
+ data = resp2.json()
+ assert data["created_profiles"] == []
+ assert data["existing_profiles_skipped"] == ["default"]
+
+ def test_list_models_includes_api_added(self) -> None:
+ yaml_body = "sie_id: api/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:Bert\n max_batch_tokens: 8192\n"
+ self.client.post("/v1/configs/models", content=yaml_body)
+
+ resp = self.client.get("/v1/configs/models")
+ models = resp.json()["models"]
+ api_model = next(m for m in models if m["model_id"] == "api/model")
+ assert api_model["source"] == "api"
+
+
+class TestConfigAPIBundles:
+ """Tests for /v1/configs/bundles endpoints."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self._root = Path(self._tmpdir.name)
+ self._bundles = self._root / "bundles"
+ self._models = self._root / "models"
+ self._bundles.mkdir()
+ self._models.mkdir()
+
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"], priority=10)
+ _write_bundle(self._bundles, "sglang", ["sie_server.adapters.sglang"], priority=20)
+
+ self.app = _create_test_app(self._bundles, self._models)
+ self.client = TestClient(self.app)
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_list_bundles(self) -> None:
+ resp = self.client.get("/v1/configs/bundles")
+ assert resp.status_code == 200
+ bundles = resp.json()["bundles"]
+ assert len(bundles) == 2
+ assert bundles[0]["bundle_id"] == "default"
+ assert bundles[0]["priority"] == 10
+ assert bundles[0]["connected_workers"] == 0
+
+ def test_get_bundle(self) -> None:
+ resp = self.client.get("/v1/configs/bundles/default")
+ assert resp.status_code == 200
+ assert "application/x-yaml" in resp.headers["content-type"]
+
+ def test_get_bundle_not_found(self) -> None:
+ resp = self.client.get("/v1/configs/bundles/nonexistent")
+ assert resp.status_code == 404
+
+
+class TestConfigAPIEdgeCases:
+ """Tests for Config API edge cases."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self._root = Path(self._tmpdir.name)
+ self._bundles = self._root / "bundles"
+ self._models = self._root / "models"
+ self._bundles.mkdir()
+ self._models.mkdir()
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"])
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_post_without_config_store_works_in_memory(self) -> None:
+ """POST works when no config store is configured (in-memory only)."""
+ app = _create_test_app(self._bundles, self._models, config_store_dir=None)
+ client = TestClient(app)
+
+ yaml_body = "sie_id: mem/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post("/v1/configs/models", content=yaml_body)
+ assert resp.status_code == 201
+
+ # Model exists in registry but not persisted
+ resp2 = client.get("/v1/configs/models")
+ model_ids = [m["model_id"] for m in resp2.json()["models"]]
+ assert "mem/model" in model_ids
+
+ def test_post_with_nats_disconnected_returns_503(self) -> None:
+ """POST returns 503 when NATS is configured but disconnected."""
+ from unittest.mock import MagicMock
+
+ from sie_router.nats_manager import NatsManager
+
+ app = _create_test_app(self._bundles, self._models)
+ # Set up a mock NatsManager that reports disconnected
+ mock_nats = MagicMock(spec=NatsManager)
+ mock_nats.connected = False
+ app.state.nats_manager = mock_nats
+
+ client = TestClient(app)
+ yaml_body = "sie_id: test/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post("/v1/configs/models", content=yaml_body)
+ assert resp.status_code == 503
+ assert "nats_unavailable" in resp.json()["detail"]["error"]
+
+ def test_post_model_with_multiple_profiles(self) -> None:
+ """POST with multiple profiles in a single request."""
+ app = _create_test_app(self._bundles, self._models)
+ client = TestClient(app)
+
+ yaml_body = "sie_id: multi/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n custom:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 2\n"
+ resp = client.post("/v1/configs/models", content=yaml_body)
+ assert resp.status_code == 201
+ data = resp.json()
+ assert sorted(data["created_profiles"]) == ["custom", "default"]
+
+ def test_post_empty_body_returns_400(self) -> None:
+ """POST with empty body returns 400."""
+ app = _create_test_app(self._bundles, self._models)
+ client = TestClient(app)
+ resp = client.post("/v1/configs/models", content="")
+ # Empty YAML parses as None, which is not a dict
+ assert resp.status_code == 400
+
+ def test_serving_readiness_with_no_workers(self) -> None:
+ """POST with no workers returns worker_ack_pending=true + warning."""
+ app = _create_test_app(self._bundles, self._models)
+ client = TestClient(app)
+
+ yaml_body = "sie_id: lonely/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post("/v1/configs/models", content=yaml_body)
+ assert resp.status_code == 201
+ data = resp.json()
+ assert data["worker_ack_pending"] is True
+ assert "no_eligible_workers_connected" in data["warnings"]
+ assert data["total_eligible"] == 0
+
+ def test_auth_write_rejected_with_inference_token(self, monkeypatch) -> None:
+ """POST with inference token (not admin) is rejected when admin token is set."""
+ app = _create_test_app(self._bundles, self._models)
+ client = TestClient(app)
+
+ monkeypatch.setenv("SIE_ADMIN_TOKEN", "admin-secret")
+ monkeypatch.setenv("SIE_AUTH_TOKEN", "read-only")
+ yaml_body = "sie_id: test/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Authorization": "Bearer read-only"},
+ )
+ assert resp.status_code == 403
+
+ def test_auth_read_allowed_with_inference_token(self, monkeypatch) -> None:
+ """GET with inference token is allowed."""
+ app = _create_test_app(self._bundles, self._models)
+ client = TestClient(app)
+
+ monkeypatch.setenv("SIE_ADMIN_TOKEN", "admin-secret")
+ monkeypatch.setenv("SIE_AUTH_TOKEN", "read-only")
+ resp = client.get(
+ "/v1/configs/models",
+ headers={"Authorization": "Bearer read-only"},
+ )
+ assert resp.status_code == 200
+
+
+class TestConfigAPICASRetry:
+ """Tests for CAS retry loop in add_model."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self._root = Path(self._tmpdir.name)
+ self._bundles = self._root / "bundles"
+ self._models = self._root / "models"
+ self._store = self._root / "store"
+ self._bundles.mkdir()
+ self._models.mkdir()
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"])
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_post_model_cas_retry_succeeds(self) -> None:
+ """CAS retry loop should succeed after transient epoch conflict."""
+ from unittest.mock import patch
+
+ from sie_router.config_store import EpochCASError
+
+ app = _create_test_app(self._bundles, self._models, str(self._store))
+ client = TestClient(app)
+
+ store = app.state.config_store
+ original_cas = store.cas_epoch
+ call_count = 0
+
+ def cas_fail_once(expected: int) -> int:
+ nonlocal call_count
+ call_count += 1
+ if call_count == 1:
+ raise EpochCASError(expected, expected + 1)
+ return original_cas(expected)
+
+ with patch.object(store, "cas_epoch", side_effect=cas_fail_once):
+ yaml_body = "sie_id: cas/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Content-Type": "application/x-yaml"},
+ )
+
+ assert resp.status_code == 201
+ assert resp.json()["model_id"] == "cas/model"
+ assert call_count == 2
+
+ def test_post_model_cas_exhausted_returns_503(self) -> None:
+ """CAS retry loop should return 503 after all retries exhausted."""
+ from unittest.mock import patch
+
+ from sie_router.config_store import EpochCASError
+
+ app = _create_test_app(self._bundles, self._models, str(self._store))
+ client = TestClient(app)
+
+ store = app.state.config_store
+
+ def cas_always_fail(expected: int) -> int:
+ raise EpochCASError(expected, expected + 1)
+
+ with patch.object(store, "cas_epoch", side_effect=cas_always_fail):
+ yaml_body = "sie_id: cas/fail\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Content-Type": "application/x-yaml"},
+ )
+
+ assert resp.status_code == 503
+ assert "cas_conflict" in resp.json()["detail"]["error"]
+
+
+class TestConfigAPIIdempotency:
+ """Tests for Idempotency-Key header behavior in add_model."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self._root = Path(self._tmpdir.name)
+ self._bundles = self._root / "bundles"
+ self._models = self._root / "models"
+ self._store = self._root / "store"
+ self._bundles.mkdir()
+ self._models.mkdir()
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"])
+
+ self.app = _create_test_app(self._bundles, self._models, str(self._store))
+ self.client = TestClient(self.app)
+
+ # Clear module-level idempotency cache and in-flight tracker between tests
+ from sie_router.config_api import _idempotency_cache, _idempotency_in_flight
+
+ _idempotency_cache.clear()
+ _idempotency_in_flight.clear()
+
+ def teardown_method(self) -> None:
+ from sie_router.config_api import _idempotency_cache, _idempotency_in_flight
+
+ _idempotency_cache.clear()
+ _idempotency_in_flight.clear()
+ self._tmpdir.cleanup()
+
+ def test_duplicate_key_returns_cached_response(self) -> None:
+ """Second POST with same Idempotency-Key and body returns cached response."""
+ yaml_body = "sie_id: idem/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ headers = {
+ "Content-Type": "application/x-yaml",
+ "Idempotency-Key": "test-key-1",
+ }
+
+ resp1 = self.client.post("/v1/configs/models", content=yaml_body, headers=headers)
+ assert resp1.status_code == 201
+
+ # Second request with same key and same body → cached 201
+ resp2 = self.client.post("/v1/configs/models", content=yaml_body, headers=headers)
+ assert resp2.status_code == 201
+ assert resp2.json() == resp1.json()
+
+ def test_duplicate_key_different_body_returns_422(self) -> None:
+ """Reusing Idempotency-Key with a different payload returns 422."""
+ yaml_body_1 = "sie_id: idem/model-a\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ yaml_body_2 = "sie_id: idem/model-b\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 2\n"
+ key = "test-key-mismatch"
+
+ resp1 = self.client.post(
+ "/v1/configs/models",
+ content=yaml_body_1,
+ headers={"Content-Type": "application/x-yaml", "Idempotency-Key": key},
+ )
+ assert resp1.status_code == 201
+
+ # Different body with same key → 422
+ resp2 = self.client.post(
+ "/v1/configs/models",
+ content=yaml_body_2,
+ headers={"Content-Type": "application/x-yaml", "Idempotency-Key": key},
+ )
+ assert resp2.status_code == 422
+ assert resp2.json()["detail"]["error"] == "idempotency_mismatch"
+
+ def test_no_idempotency_key_skips_cache(self) -> None:
+ """Requests without Idempotency-Key are never cached."""
+ yaml_body = "sie_id: nocache/model\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+
+ resp1 = self.client.post("/v1/configs/models", content=yaml_body)
+ assert resp1.status_code == 201
+
+ # Same body, no key — should be treated as a new request (200 = profiles skipped)
+ resp2 = self.client.post("/v1/configs/models", content=yaml_body)
+ assert resp2.status_code == 200
+ assert resp2.json()["existing_profiles_skipped"] == ["default"]
+
+
+class TestConfigAPINATSPublishFailure:
+ """Tests for NATS publish failure path in add_model."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self._root = Path(self._tmpdir.name)
+ self._bundles = self._root / "bundles"
+ self._models = self._root / "models"
+ self._store = self._root / "store"
+ self._bundles.mkdir()
+ self._models.mkdir()
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"])
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_nats_publish_failure_still_persists_model(self) -> None:
+ """Model is persisted and response contains warning when NATS publish fails."""
+ from unittest.mock import AsyncMock, MagicMock
+
+ from sie_router.nats_manager import NatsManager
+
+ app = _create_test_app(self._bundles, self._models, str(self._store))
+
+ mock_nats = MagicMock(spec=NatsManager)
+ mock_nats.connected = True
+ mock_nats.router_id = "test-router"
+ mock_nats.publish_config_notification = AsyncMock(side_effect=RuntimeError("NATS down"))
+ app.state.nats_manager = mock_nats
+
+ client = TestClient(app)
+ yaml_body = "sie_id: nats/fail\nprofiles:\n default:\n adapter_path: sie_server.adapters.bert_flash:B\n max_batch_tokens: 1\n"
+ resp = client.post(
+ "/v1/configs/models",
+ content=yaml_body,
+ headers={"Content-Type": "application/x-yaml"},
+ )
+
+ assert resp.status_code == 201
+ data = resp.json()
+ assert data["model_id"] == "nats/fail"
+ assert any("nats_publish_failed" in w for w in data["warnings"])
+
+ # Verify model was persisted to config store
+ store = app.state.config_store
+ assert store.read_model("nats/fail") is not None
diff --git a/packages/sie_router/tests/test_config_restore.py b/packages/sie_router/tests/test_config_restore.py
new file mode 100644
index 000000000..00102c5fc
--- /dev/null
+++ b/packages/sie_router/tests/test_config_restore.py
@@ -0,0 +1,197 @@
+import tempfile
+from pathlib import Path
+
+import yaml
+from sie_router.config_store import ConfigStore
+from sie_router.model_registry import ModelRegistry
+
+
+def _write_bundle(bundles_dir: Path, name: str, adapters: list[str], priority: int = 10) -> None:
+ data = {"name": name, "priority": priority, "adapters": adapters}
+ (bundles_dir / f"{name}.yaml").write_text(yaml.dump(data))
+
+
+def _write_model(models_dir: Path, sie_id: str, adapter_path: str) -> None:
+ config = {
+ "sie_id": sie_id,
+ "profiles": {"default": {"adapter_path": adapter_path, "max_batch_tokens": 8192}},
+ }
+ filename = sie_id.replace("/", "__") + ".yaml"
+ (models_dir / filename).write_text(yaml.dump(config))
+
+
+class TestConfigRestore:
+ """Tests for config restore on startup — loading from config store into registry."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ root = Path(self._tmpdir.name)
+ self._bundles = root / "bundles"
+ self._models = root / "models"
+ self._store_dir = root / "store"
+ self._bundles.mkdir()
+ self._models.mkdir()
+ _write_bundle(self._bundles, "default", ["sie_server.adapters.bert_flash"])
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_restore_loads_models_from_store(self) -> None:
+ """Models in config store are loaded into registry on restore."""
+ # Pre-populate store with a model
+ store = ConfigStore(str(self._store_dir))
+ model_yaml = yaml.dump(
+ {
+ "sie_id": "store/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ store.write_model("store/model", model_yaml)
+ store.cas_epoch(0)
+
+ # Create registry (no filesystem models)
+ registry = ModelRegistry(self._bundles, self._models)
+ assert not registry.model_exists("store/model")
+
+ # Restore from store
+ stored_models = store.load_all_models()
+ for model_config in stored_models.values():
+ registry.add_model_config(model_config)
+
+ assert registry.model_exists("store/model")
+ assert registry.resolve_bundle("store/model") == "default"
+
+ def test_restore_merges_with_filesystem(self) -> None:
+ """Restore adds store models alongside filesystem models."""
+ # Filesystem has one model
+ _write_model(self._models, "fs/model", "sie_server.adapters.bert_flash:B")
+
+ # Store has a different model
+ store = ConfigStore(str(self._store_dir))
+ store_yaml = yaml.dump(
+ {
+ "sie_id": "api/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ store.write_model("api/model", store_yaml)
+
+ registry = ModelRegistry(self._bundles, self._models)
+ assert registry.model_exists("fs/model")
+ assert not registry.model_exists("api/model")
+
+ # Restore
+ for model_config in store.load_all_models().values():
+ registry.add_model_config(model_config)
+
+ assert registry.model_exists("fs/model")
+ assert registry.model_exists("api/model")
+
+ def test_restore_disabled_ignores_store(self) -> None:
+ """When restore is not called, store models are not loaded."""
+ store = ConfigStore(str(self._store_dir))
+ store.write_model(
+ "store/model",
+ yaml.dump(
+ {
+ "sie_id": "store/model",
+ "profiles": {
+ "default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}
+ },
+ }
+ ),
+ )
+
+ registry = ModelRegistry(self._bundles, self._models)
+ # No restore call
+ assert not registry.model_exists("store/model")
+
+ def test_restore_survives_registry_reload(self) -> None:
+ """After restore + reload, filesystem models reload but store models are lost.
+
+ This is expected: reload() reloads from disk only. Config restore must
+ be re-applied after reload if needed.
+ """
+ _write_model(self._models, "fs/model", "sie_server.adapters.bert_flash:B")
+ store = ConfigStore(str(self._store_dir))
+ store.write_model(
+ "api/model",
+ yaml.dump(
+ {
+ "sie_id": "api/model",
+ "profiles": {
+ "default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}
+ },
+ }
+ ),
+ )
+
+ registry = ModelRegistry(self._bundles, self._models)
+ for model_config in store.load_all_models().values():
+ registry.add_model_config(model_config)
+ assert registry.model_exists("api/model")
+
+ # Reload clears runtime-added models
+ registry.reload()
+ assert registry.model_exists("fs/model")
+ assert not registry.model_exists("api/model") # Lost on reload
+
+ # Re-restore brings it back
+ for model_config in store.load_all_models().values():
+ registry.add_model_config(model_config)
+ assert registry.model_exists("api/model")
+
+ def test_restore_with_corrupt_store_entry(self) -> None:
+ """Corrupt entries in store are skipped during restore."""
+ store = ConfigStore(str(self._store_dir))
+ store.write_model(
+ "good/model",
+ yaml.dump(
+ {
+ "sie_id": "good/model",
+ "profiles": {
+ "default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}
+ },
+ }
+ ),
+ )
+ # Write corrupt entry directly via backend
+ from sie_sdk.storage import join_path
+
+ corrupt_path = join_path(store.base_dir, "models", "corrupt__model.yaml")
+ store._backend.write_text(corrupt_path, "{{invalid")
+
+ registry = ModelRegistry(self._bundles, self._models)
+ stored = store.load_all_models()
+ for model_config in stored.values():
+ try:
+ registry.add_model_config(model_config)
+ except Exception: # noqa: BLE001, S112 — test intentionally ignores corrupt entries
+ continue
+
+ assert registry.model_exists("good/model")
+
+ def test_restore_model_added_by_another_router(self) -> None:
+ """Simulates Router B restoring a model that Router A added."""
+ # Router A adds model to shared store
+ store = ConfigStore(str(self._store_dir))
+ store.write_model(
+ "router-a/model",
+ yaml.dump(
+ {
+ "sie_id": "router-a/model",
+ "profiles": {
+ "default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}
+ },
+ }
+ ),
+ )
+ store.cas_epoch(0)
+
+ # Router B starts fresh, restores from same store
+ registry_b = ModelRegistry(self._bundles, self._models)
+ for model_config in store.load_all_models().values():
+ registry_b.add_model_config(model_config)
+
+ assert registry_b.model_exists("router-a/model")
+ assert registry_b.resolve_bundle("router-a/model") == "default"
diff --git a/packages/sie_router/tests/test_config_store.py b/packages/sie_router/tests/test_config_store.py
new file mode 100644
index 000000000..3fdd0ec77
--- /dev/null
+++ b/packages/sie_router/tests/test_config_store.py
@@ -0,0 +1,139 @@
+import tempfile
+from pathlib import Path
+
+import pytest
+from sie_router.config_store import ConfigStore, EpochCASError
+
+
+class TestConfigStore:
+ """Tests for ConfigStore local filesystem backend."""
+
+ def setup_method(self) -> None:
+ self._tmpdir = tempfile.TemporaryDirectory()
+ self.store = ConfigStore(self._tmpdir.name)
+
+ def teardown_method(self) -> None:
+ self._tmpdir.cleanup()
+
+ def test_initial_epoch_is_zero(self) -> None:
+ assert self.store.read_epoch() == 0
+
+ def test_cas_epoch_from_zero(self) -> None:
+ new_epoch = self.store.cas_epoch(0)
+ assert new_epoch == 1
+ assert self.store.read_epoch() == 1
+
+ def test_cas_epoch_sequential(self) -> None:
+ self.store.cas_epoch(0)
+ self.store.cas_epoch(1)
+ assert self.store.read_epoch() == 2
+
+ def test_cas_epoch_fails_on_mismatch(self) -> None:
+ self.store.cas_epoch(0) # epoch is now 1
+ with pytest.raises(EpochCASError) as exc_info:
+ self.store.cas_epoch(0) # expected 0 but actual is 1
+ assert exc_info.value.expected == 0
+ assert exc_info.value.actual == 1
+
+ def test_write_and_read_model(self) -> None:
+ yaml_content = "sie_id: BAAI/bge-m3\nhf_id: BAAI/bge-m3\n"
+ self.store.write_model("BAAI/bge-m3", yaml_content)
+ assert self.store.read_model("BAAI/bge-m3") == yaml_content
+
+ def test_read_missing_model_returns_none(self) -> None:
+ assert self.store.read_model("nonexistent/model") is None
+
+ def test_list_models_empty(self) -> None:
+ assert self.store.list_models() == []
+
+ def test_list_models_after_write(self) -> None:
+ self.store.write_model("BAAI/bge-m3", "sie_id: BAAI/bge-m3\n")
+ self.store.write_model("intfloat/e5-base", "sie_id: intfloat/e5-base\n")
+ models = self.store.list_models()
+ assert sorted(models) == ["BAAI/bge-m3", "intfloat/e5-base"]
+
+ def test_model_id_with_slash_sanitized(self) -> None:
+ """Model IDs with / are stored with __ in filename."""
+ self.store.write_model("org/model", "test: true\n")
+ # Verify via read (slash sanitization is internal)
+ assert self.store.read_model("org/model") == "test: true\n"
+ assert "org/model" in self.store.list_models()
+
+ def test_load_all_models(self) -> None:
+ self.store.write_model("m1", "sie_id: m1\nfield: a\n")
+ self.store.write_model("m2", "sie_id: m2\nfield: b\n")
+ all_models = self.store.load_all_models()
+ assert len(all_models) == 2
+ assert all_models["m1"]["sie_id"] == "m1"
+ assert all_models["m2"]["field"] == "b"
+
+ def test_write_overwrites_existing(self) -> None:
+ self.store.write_model("m1", "version: 1\n")
+ self.store.write_model("m1", "version: 2\n")
+ assert self.store.read_model("m1") == "version: 2\n"
+
+ def test_directories_created_automatically(self, tmp_path: Path) -> None:
+ nested = str(tmp_path / "nested" / "config")
+ store = ConfigStore(nested)
+ store.write_model("test/model", "sie_id: test/model\n")
+ assert store.read_model("test/model") == "sie_id: test/model\n"
+
+ def test_load_all_models_with_corrupt_yaml(self) -> None:
+ """Corrupt YAML files are skipped gracefully."""
+ self.store.write_model("good/model", "sie_id: good/model\nfield: ok\n")
+ # Write corrupt YAML directly via backend
+ from sie_sdk.storage import join_path
+
+ corrupt_path = join_path(self.store.base_dir, "models", "corrupt__model.yaml")
+ self.store._backend.write_text(corrupt_path, "{{not valid yaml: [")
+
+ all_models = self.store.load_all_models()
+ assert len(all_models) == 1
+ assert "good/model" in all_models
+
+ def test_load_all_models_with_empty_file(self) -> None:
+ """Empty YAML files are skipped."""
+ self.store.write_model("empty/model", "")
+ self.store.write_model("good/model", "sie_id: good/model\n")
+
+ all_models = self.store.load_all_models()
+ assert "good/model" in all_models
+
+ def test_epoch_survives_reopen(self) -> None:
+ """Epoch persists across ConfigStore instances."""
+ self.store.cas_epoch(0)
+ self.store.cas_epoch(1)
+
+ # Create new store pointing to same directory
+ store2 = ConfigStore(self.store.base_dir)
+ assert store2.read_epoch() == 2
+
+ def test_models_survive_reopen(self) -> None:
+ """Models persist across ConfigStore instances."""
+ self.store.write_model("org/model", "sie_id: org/model\n")
+
+ store2 = ConfigStore(self.store.base_dir)
+ assert store2.read_model("org/model") == "sie_id: org/model\n"
+
+ def test_concurrent_cas_one_fails(self) -> None:
+ """Simulates concurrent CAS — second writer fails."""
+ # Both readers see epoch=0
+ epoch_a = self.store.read_epoch()
+ epoch_b = self.store.read_epoch()
+ assert epoch_a == 0
+ assert epoch_b == 0
+
+ # Writer A succeeds
+ self.store.cas_epoch(epoch_a)
+ assert self.store.read_epoch() == 1
+
+ # Writer B fails (expected 0, actual 1)
+ with pytest.raises(EpochCASError) as exc:
+ self.store.cas_epoch(epoch_b)
+ assert exc.value.expected == 0
+ assert exc.value.actual == 1
+
+ # Writer B retries with correct epoch
+ new_epoch = self.store.read_epoch()
+ self.store.cas_epoch(new_epoch)
+ assert self.store.read_epoch() == 2
diff --git a/packages/sie_router/tests/test_dlq_listener.py b/packages/sie_router/tests/test_dlq_listener.py
new file mode 100644
index 000000000..d2d7f4b6e
--- /dev/null
+++ b/packages/sie_router/tests/test_dlq_listener.py
@@ -0,0 +1,256 @@
+from __future__ import annotations
+
+import json
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import pytest
+from sie_router.dlq_listener import (
+ _DLQ_STREAM_NAME,
+ _DLQ_SUBJECTS,
+ _MAX_DELIVERIES_ADVISORY,
+ DlqListener,
+)
+from sie_sdk.queue_types import DEAD_LETTER_PREFIX
+
+
+def _make_listener() -> tuple[DlqListener, AsyncMock, AsyncMock]:
+ """Create a DlqListener with mocked NATS/JetStream dependencies."""
+ nc = AsyncMock()
+ js = AsyncMock()
+ listener = DlqListener(nc=nc, js=js)
+ return listener, nc, js
+
+
+def _make_advisory(
+ *,
+ stream: str = "WORK_BAAI__bge-m3",
+ consumer: str = "default__default",
+ stream_seq: int = 42,
+ deliveries: int = 5,
+) -> bytes:
+ """Build a simulated max-delivery advisory payload."""
+ return json.dumps(
+ {
+ "stream": stream,
+ "consumer": consumer,
+ "stream_seq": stream_seq,
+ "deliveries": deliveries,
+ }
+ ).encode()
+
+
+def _make_msg(data: bytes) -> MagicMock:
+ """Build a minimal mock NATS message."""
+ msg = MagicMock()
+ msg.data = data
+ return msg
+
+
+class TestDlqStreamCreation:
+ """Tests for DLQ stream creation on start."""
+
+ @pytest.mark.asyncio
+ async def test_dlq_stream_created_on_start(self) -> None:
+ listener, nc, js = _make_listener()
+
+ await listener.start()
+
+ js.add_stream.assert_called_once()
+ config = js.add_stream.call_args[0][0]
+ assert config.name == _DLQ_STREAM_NAME
+ assert config.subjects == _DLQ_SUBJECTS
+ nc.subscribe.assert_called_once()
+ assert nc.subscribe.call_args[0][0] == _MAX_DELIVERIES_ADVISORY
+
+ @pytest.mark.asyncio
+ async def test_dlq_stream_creation_failure_propagates(self) -> None:
+ """Non-BadRequestError failures in stream creation now propagate."""
+ listener, _nc, js = _make_listener()
+ js.add_stream = AsyncMock(side_effect=RuntimeError("stream error"))
+
+ with pytest.raises(RuntimeError, match="stream error"):
+ await listener.start()
+
+ @pytest.mark.asyncio
+ async def test_dlq_stream_already_exists_is_tolerated(self) -> None:
+ """BadRequestError with err_code 10058 (stream exists) is not fatal."""
+ from nats.js.errors import BadRequestError
+
+ listener, nc, js = _make_listener()
+ err = BadRequestError()
+ err.err_code = 10058
+ js.add_stream = AsyncMock(side_effect=err)
+
+ await listener.start()
+ nc.subscribe.assert_called_once()
+
+
+class TestAdvisoryHandling:
+ """Tests for advisory message processing."""
+
+ @pytest.mark.asyncio
+ async def test_advisory_triggers_dlq_publish(self) -> None:
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ # Mock get_msg to return original message data
+ original_data = b'{"work_item_id": "r1.0"}'
+ original_msg = MagicMock()
+ original_msg.data = original_data
+ original_msg.subject = "sie.work.BAAI__bge-m3._default"
+ js.get_msg = AsyncMock(return_value=original_msg)
+
+ advisory_data = _make_advisory(stream="WORK_BAAI__bge-m3", stream_seq=42)
+ msg = _make_msg(advisory_data)
+
+ await listener._on_advisory(msg)
+
+ expected_subject = f"{DEAD_LETTER_PREFIX}.BAAI__bge-m3"
+ js.get_msg.assert_called_once_with("WORK_BAAI__bge-m3", seq=42)
+ js.publish.assert_called_once_with(expected_subject, original_data)
+
+ @pytest.mark.asyncio
+ async def test_advisory_with_expired_message(self) -> None:
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ # get_msg raises (message expired/purged)
+ js.get_msg = AsyncMock(side_effect=RuntimeError("not found"))
+
+ advisory_data = _make_advisory(stream="WORK_BAAI__bge-m3", stream_seq=42)
+ msg = _make_msg(advisory_data)
+
+ await listener._on_advisory(msg)
+
+ # Should fall back to publishing advisory metadata
+ expected_subject = f"{DEAD_LETTER_PREFIX}.BAAI__bge-m3"
+ js.publish.assert_called_once()
+ call_args = js.publish.call_args
+ assert call_args[0][0] == expected_subject
+ # The published data should be the advisory JSON
+ published = json.loads(call_args[0][1])
+ assert published["stream"] == "WORK_BAAI__bge-m3"
+ assert published["stream_seq"] == 42
+
+ @pytest.mark.asyncio
+ async def test_advisory_without_stream_seq(self) -> None:
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ advisory = json.dumps(
+ {
+ "stream": "WORK_BAAI__bge-m3",
+ "consumer": "default__default",
+ "deliveries": 5,
+ }
+ ).encode()
+ msg = _make_msg(advisory)
+
+ await listener._on_advisory(msg)
+
+ # Should skip get_msg and publish advisory metadata directly
+ js.get_msg.assert_not_called()
+ js.publish.assert_called_once()
+
+ @pytest.mark.asyncio
+ async def test_malformed_advisory_ignored(self) -> None:
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ msg = _make_msg(b"not valid json {{{")
+
+ # Should not raise
+ await listener._on_advisory(msg)
+
+ js.get_msg.assert_not_called()
+ js.publish.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_non_work_stream_uses_subject_model_id(self) -> None:
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ original_msg = MagicMock()
+ original_msg.data = b"payload"
+ original_msg.subject = "sie.work.custom_model._default"
+ js.get_msg = AsyncMock(return_value=original_msg)
+
+ advisory_data = _make_advisory(stream="CUSTOM_STREAM", stream_seq=1)
+ msg = _make_msg(advisory_data)
+
+ await listener._on_advisory(msg)
+
+ expected_subject = f"{DEAD_LETTER_PREFIX}.custom_model"
+ js.publish.assert_called_once_with(expected_subject, b"payload")
+
+ @pytest.mark.asyncio
+ async def test_pool_level_stream_extracts_model_from_subject(self) -> None:
+ """Pool-level streams (WORK_POOL_l4) should derive model_id from the message subject."""
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ original_msg = MagicMock()
+ original_msg.data = b"payload"
+ original_msg.subject = "sie.work.BAAI__bge-m3.l4"
+ js.get_msg = AsyncMock(return_value=original_msg)
+
+ advisory_data = _make_advisory(stream="WORK_POOL_l4", stream_seq=10)
+ msg = _make_msg(advisory_data)
+
+ await listener._on_advisory(msg)
+
+ expected_subject = f"{DEAD_LETTER_PREFIX}.BAAI__bge-m3"
+ js.get_msg.assert_called_once_with("WORK_POOL_l4", seq=10)
+ js.publish.assert_called_once_with(expected_subject, b"payload")
+
+
+class TestMetrics:
+ """Tests for Prometheus metrics."""
+
+ @pytest.mark.asyncio
+ async def test_metrics_incremented(self) -> None:
+ listener, _nc, js = _make_listener()
+ await listener.start()
+
+ original_msg = MagicMock()
+ original_msg.data = b"payload"
+ original_msg.subject = "sie.work.test._default"
+ js.get_msg = AsyncMock(return_value=original_msg)
+
+ with (
+ patch("sie_router.dlq_listener._HAS_METRICS", True),
+ patch("sie_router.dlq_listener.DLQ_EVENTS_TOTAL") as mock_counter,
+ ):
+ mock_labels = MagicMock()
+ mock_counter.labels.return_value = mock_labels
+
+ advisory_data = _make_advisory(stream="WORK_test", consumer="cons1")
+ msg = _make_msg(advisory_data)
+
+ await listener._on_advisory(msg)
+
+ mock_counter.labels.assert_called_once_with(stream="WORK_test", consumer="cons1")
+ mock_labels.inc.assert_called_once()
+
+
+class TestStopListener:
+ """Tests for listener lifecycle."""
+
+ @pytest.mark.asyncio
+ async def test_stop_unsubscribes(self) -> None:
+ listener, nc, _js = _make_listener()
+ mock_sub = AsyncMock()
+ nc.subscribe = AsyncMock(return_value=mock_sub)
+
+ await listener.start()
+ await listener.stop()
+
+ mock_sub.unsubscribe.assert_called_once()
+ assert listener._sub is None
+
+ @pytest.mark.asyncio
+ async def test_stop_without_start_is_noop(self) -> None:
+ listener, _nc, _js = _make_listener()
+
+ # Should not raise
+ await listener.stop()
diff --git a/packages/sie_router/tests/test_hash_consistency.py b/packages/sie_router/tests/test_hash_consistency.py
new file mode 100644
index 000000000..b779ca326
--- /dev/null
+++ b/packages/sie_router/tests/test_hash_consistency.py
@@ -0,0 +1,194 @@
+from pathlib import Path
+
+import pytest
+import yaml
+from sie_router.model_registry import ModelRegistry
+
+
+def _create_registry_with_model(
+ root: Path,
+ sie_id: str = "test/model",
+ adapter_path: str = "sie_server.adapters.bert_flash:BertAdapter",
+ profile_names: list[str] | None = None,
+) -> ModelRegistry:
+ """Create a ModelRegistry and add a model via add_model_config."""
+ bundles_dir = root / "bundles"
+ models_dir = root / "models"
+ bundles_dir.mkdir(parents=True, exist_ok=True)
+ models_dir.mkdir(parents=True, exist_ok=True)
+
+ bundle_data = {"name": "default", "priority": 10, "adapters": ["sie_server.adapters.bert_flash"]}
+ (bundles_dir / "default.yaml").write_text(yaml.dump(bundle_data))
+
+ registry = ModelRegistry(bundles_dir, models_dir)
+
+ if profile_names is None:
+ profile_names = ["default"]
+
+ profiles = {}
+ for name in profile_names:
+ profiles[name] = {"adapter_path": adapter_path, "max_batch_tokens": 8192}
+
+ registry.add_model_config({"sie_id": sie_id, "profiles": profiles})
+ return registry
+
+
+def _compute_worker_hash_via_registry(model_configs: list[dict]) -> str:
+ """Compute the worker hash using a temporary registry instance.
+
+ Instead of reimplementing the hash algorithm, this creates a real
+ ModelRegistry and uses compute_bundle_config_hash — the same code
+ path the router uses — ensuring tests break if the algorithm changes.
+ """
+ import tempfile
+
+ if not model_configs:
+ return ""
+
+ with tempfile.TemporaryDirectory() as tmpdir:
+ root = Path(tmpdir)
+ bundles_dir = root / "bundles"
+ models_dir = root / "models"
+ bundles_dir.mkdir()
+ models_dir.mkdir()
+
+ # Collect all adapter modules from configs
+ all_adapters = set()
+ for cfg in model_configs:
+ for profile in cfg.get("profiles", {}).values():
+ ap = profile.get("adapter_path", "")
+ if ap:
+ all_adapters.add(ap.split(":", maxsplit=1)[0])
+ elif isinstance(profile, dict):
+ pass # profile without adapter_path
+
+ # Use bert_flash as the default adapter if configs don't specify one
+ if not all_adapters:
+ all_adapters = {"sie_server.adapters.bert_flash"}
+
+ bundle_data = {"name": "default", "priority": 10, "adapters": sorted(all_adapters)}
+ (bundles_dir / "default.yaml").write_text(yaml.dump(bundle_data))
+
+ registry = ModelRegistry(bundles_dir, models_dir)
+
+ for cfg in model_configs:
+ # Build a valid config dict with adapter_path for each profile.
+ # Use the exact profile data provided, falling back to a default
+ # that matches what _create_registry_with_model produces.
+ profiles = {}
+ for pname, pdata in cfg.get("profiles", {}).items():
+ if isinstance(pdata, dict) and "adapter_path" in pdata:
+ profiles[pname] = pdata
+ else:
+ # Must match _create_registry_with_model defaults
+ profiles[pname] = {
+ "adapter_path": "sie_server.adapters.bert_flash:BertAdapter",
+ "max_batch_tokens": 8192,
+ }
+ registry.add_model_config({"sie_id": cfg["sie_id"], "profiles": profiles})
+
+ return registry.compute_bundle_config_hash("default")
+
+
+class TestHashConsistency:
+ """Verify that router and worker produce identical hashes for the same config."""
+
+ @pytest.fixture(autouse=True)
+ def _setup(self, tmp_path: Path) -> None:
+ self._root = tmp_path
+
+ def test_single_model_single_profile(self) -> None:
+ """Router and worker hashes match for one model with one profile."""
+ registry = _create_registry_with_model(self._root / "single", "test/model", profile_names=["default"])
+ router_hash = registry.compute_bundle_config_hash("default")
+
+ worker_hash = _compute_worker_hash_via_registry(
+ [
+ {"sie_id": "test/model", "profiles": {"default": {}}},
+ ]
+ )
+
+ assert router_hash == worker_hash
+ assert len(router_hash) == 64 # SHA-256 hex
+
+ def test_single_model_multiple_profiles(self) -> None:
+ """Router and worker hashes match for one model with multiple profiles."""
+ registry = _create_registry_with_model(
+ self._root / "multi_prof",
+ "test/model",
+ profile_names=["default", "custom", "fast"],
+ )
+ router_hash = registry.compute_bundle_config_hash("default")
+
+ worker_hash = _compute_worker_hash_via_registry(
+ [
+ {"sie_id": "test/model", "profiles": {"default": {}, "custom": {}, "fast": {}}},
+ ]
+ )
+
+ assert router_hash == worker_hash
+
+ def test_multiple_models(self) -> None:
+ """Router and worker hashes match for multiple models."""
+ aaa_profile = {"adapter_path": "sie_server.adapters.bert_flash:BertAdapter", "max_batch_tokens": 8192}
+ zzz_profile = {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}
+
+ registry = _create_registry_with_model(self._root / "multi_mod", "aaa/model", profile_names=["default"])
+ registry.add_model_config({"sie_id": "zzz/model", "profiles": {"default": zzz_profile}})
+
+ router_hash = registry.compute_bundle_config_hash("default")
+
+ worker_hash = _compute_worker_hash_via_registry(
+ [
+ {"sie_id": "aaa/model", "profiles": {"default": aaa_profile}},
+ {"sie_id": "zzz/model", "profiles": {"default": zzz_profile}},
+ ]
+ )
+
+ assert router_hash == worker_hash
+
+ def test_order_independence(self) -> None:
+ """Hash is the same regardless of insertion order."""
+ aaa_profile = {"adapter_path": "sie_server.adapters.bert_flash:BertAdapter", "max_batch_tokens": 8192}
+ zzz_profile = {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 4096}
+
+ # Build both registries from scratch (no helper) so profile data is explicit
+ def _make(root: Path, first_id: str, first_prof: dict, second_id: str, second_prof: dict) -> ModelRegistry:
+ bundles_dir = root / "bundles"
+ models_dir = root / "models"
+ bundles_dir.mkdir(parents=True, exist_ok=True)
+ models_dir.mkdir(parents=True, exist_ok=True)
+ bundle_data = {"name": "default", "priority": 10, "adapters": ["sie_server.adapters.bert_flash"]}
+ (bundles_dir / "default.yaml").write_text(yaml.dump(bundle_data))
+ reg = ModelRegistry(bundles_dir, models_dir)
+ reg.add_model_config({"sie_id": first_id, "profiles": {"default": first_prof}})
+ reg.add_model_config({"sie_id": second_id, "profiles": {"default": second_prof}})
+ return reg
+
+ # Insert zzz first, then aaa
+ r1 = _make(self._root / "order1", "zzz/model", zzz_profile, "aaa/model", aaa_profile)
+
+ # Insert aaa first, then zzz
+ r2 = _make(self._root / "order2", "aaa/model", aaa_profile, "zzz/model", zzz_profile)
+
+ assert r1.compute_bundle_config_hash("default") == r2.compute_bundle_config_hash("default")
+
+ def test_empty_registry_hash_is_empty(self) -> None:
+ """Both sides return empty string for no models."""
+ root = self._root / "empty"
+ bundles_dir = root / "bundles"
+ models_dir = root / "models"
+ bundles_dir.mkdir(parents=True)
+ models_dir.mkdir()
+ (bundles_dir / "default.yaml").write_text(yaml.dump({"name": "default", "priority": 10, "adapters": ["x"]}))
+ registry = ModelRegistry(bundles_dir, models_dir)
+
+ assert registry.compute_bundle_config_hash("default") == ""
+ assert _compute_worker_hash_via_registry([]) == ""
+
+ def test_hash_algorithm_is_sha256(self) -> None:
+ """Sanity check: both produce 64-char hex (SHA-256)."""
+ registry = _create_registry_with_model(self._root / "sha256", "test/model")
+ h = registry.compute_bundle_config_hash("default")
+ assert len(h) == 64
+ int(h, 16) # valid hex
diff --git a/packages/sie_router/tests/test_jetstream_manager.py b/packages/sie_router/tests/test_jetstream_manager.py
new file mode 100644
index 000000000..3c71bb963
--- /dev/null
+++ b/packages/sie_router/tests/test_jetstream_manager.py
@@ -0,0 +1,340 @@
+from unittest.mock import AsyncMock, MagicMock
+
+import pytest
+from sie_router.jetstream_manager import JetStreamManager
+from sie_sdk.queue_types import work_consumer_name, work_pool_stream_name, work_stream_name
+
+MODEL_ID = "BAAI/bge-m3"
+BUNDLE_ID = "default"
+POOL_NAME = "_default"
+
+
+def _make_manager() -> tuple[JetStreamManager, AsyncMock, AsyncMock]:
+ """Create a JetStreamManager with mocked NATS client and JetStream context."""
+ nc = AsyncMock()
+ js = AsyncMock()
+ manager = JetStreamManager(nc, js)
+ return manager, nc, js
+
+
+class TestEnsureStream:
+ """Tests for JetStreamManager.ensure_stream (pool-level streams)."""
+
+ @pytest.mark.asyncio
+ async def test_creates_pool_stream_on_first_call(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ stream_name = await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+
+ assert stream_name == work_pool_stream_name(POOL_NAME)
+ # delete_stream for legacy per-model stream + add_stream for pool stream
+ js.add_stream.assert_called_once()
+ config = js.add_stream.call_args[0][0]
+ assert config.name == work_pool_stream_name(POOL_NAME)
+
+ @pytest.mark.asyncio
+ async def test_caches_on_second_call(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ name1 = await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+ name2 = await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+
+ assert name1 == name2
+ # add_stream should only be called once (cached on second call)
+ js.add_stream.assert_called_once()
+
+ @pytest.mark.asyncio
+ async def test_different_pools_create_different_streams(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ name1 = await manager.ensure_stream("BAAI/bge-m3", pool_name="l4")
+ name2 = await manager.ensure_stream("intfloat/e5-base-v2", pool_name="cpu")
+
+ assert name1 != name2
+ assert js.add_stream.call_count == 2
+
+ @pytest.mark.asyncio
+ async def test_same_pool_different_models_same_stream(self) -> None:
+ """Multiple models in the same pool share a single stream."""
+ manager, _nc, js = _make_manager()
+
+ name1 = await manager.ensure_stream("BAAI/bge-m3", pool_name="l4")
+ name2 = await manager.ensure_stream("intfloat/e5-base-v2", pool_name="l4")
+
+ assert name1 == name2
+ # Only one add_stream call (second is cached)
+ js.add_stream.assert_called_once()
+
+ @pytest.mark.asyncio
+ async def test_propagates_add_stream_exception(self) -> None:
+ manager, _nc, js = _make_manager()
+ js.add_stream = AsyncMock(side_effect=RuntimeError("NATS down"))
+
+ with pytest.raises(RuntimeError, match="NATS down"):
+ await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+
+ # Stream should NOT be cached on failure
+ assert work_pool_stream_name(POOL_NAME) not in manager._known_streams
+
+ @pytest.mark.asyncio
+ async def test_stream_config_uses_work_queue_retention(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+
+ config = js.add_stream.call_args[0][0]
+ from nats.js.api import RetentionPolicy, StorageType
+
+ assert config.retention == RetentionPolicy.WORK_QUEUE
+ assert config.storage == StorageType.MEMORY
+
+ @pytest.mark.asyncio
+ async def test_deletes_legacy_per_model_stream(self) -> None:
+ """ensure_stream deletes overlapping per-model stream before creating pool stream."""
+ manager, _nc, js = _make_manager()
+
+ await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+
+ # Should attempt to delete the legacy per-model stream
+ js.delete_stream.assert_called_once_with(work_stream_name(MODEL_ID))
+
+
+class TestEnsureConsumer:
+ """Tests for JetStreamManager.ensure_consumer."""
+
+ @pytest.mark.asyncio
+ async def test_creates_consumer_and_caches(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ consumer_name = await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ assert consumer_name == work_consumer_name(BUNDLE_ID, POOL_NAME)
+ # ensure_stream should be called first
+ js.add_stream.assert_called_once()
+ # Then add_consumer
+ js.add_consumer.assert_called_once()
+
+ @pytest.mark.asyncio
+ async def test_caches_consumer_on_second_call(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ name1 = await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+ name2 = await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ assert name1 == name2
+ js.add_consumer.assert_called_once()
+
+ @pytest.mark.asyncio
+ async def test_different_pools_create_different_consumers(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ name1 = await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, "_default")
+ name2 = await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, "eval-pool")
+
+ assert name1 != name2
+ assert js.add_consumer.call_count == 2
+
+ @pytest.mark.asyncio
+ async def test_consumer_config_has_explicit_ack(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ stream_name = js.add_consumer.call_args[0][0]
+ config = js.add_consumer.call_args[0][1]
+ assert stream_name == work_pool_stream_name(POOL_NAME)
+ assert config.durable_name == work_consumer_name(BUNDLE_ID, POOL_NAME)
+
+ from nats.js.api import AckPolicy
+
+ assert config.ack_policy == AckPolicy.EXPLICIT
+
+ @pytest.mark.asyncio
+ async def test_consumer_filter_subject_uses_wildcard(self) -> None:
+ """Consumer filter_subject uses pool-level wildcard, not model-specific subject."""
+ manager, _nc, js = _make_manager()
+
+ await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ config = js.add_consumer.call_args[0][1]
+ # Must use wildcard (*.pool) — NOT model-specific (BAAI__bge-m3.pool)
+ expected_filter = f"sie.work.*.{POOL_NAME}"
+ assert config.filter_subject == expected_filter
+ # Verify it does NOT contain the normalized model id
+ assert "BAAI__bge-m3" not in config.filter_subject
+
+ @pytest.mark.asyncio
+ async def test_propagates_add_consumer_exception(self) -> None:
+ manager, _nc, js = _make_manager()
+ js.add_consumer = AsyncMock(side_effect=RuntimeError("consumer error"))
+
+ with pytest.raises(RuntimeError, match="consumer error"):
+ await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ # Consumer should NOT be cached on failure
+ cache_key = f"{work_pool_stream_name(POOL_NAME)}/{work_consumer_name(BUNDLE_ID, POOL_NAME)}"
+ assert cache_key not in manager._known_consumers
+
+
+class TestGetPendingCount:
+ """Tests for JetStreamManager.get_pending_count."""
+
+ @pytest.mark.asyncio
+ async def test_returns_count_from_consumer_info(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ mock_info = MagicMock()
+ mock_info.num_pending = 42
+ js.consumer_info = AsyncMock(return_value=mock_info)
+
+ count = await manager.get_pending_count(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ assert count == 42
+ js.consumer_info.assert_called_once_with(
+ work_pool_stream_name(POOL_NAME),
+ work_consumer_name(BUNDLE_ID, POOL_NAME),
+ )
+
+ @pytest.mark.asyncio
+ async def test_returns_zero_when_consumer_not_found(self) -> None:
+ manager, _nc, js = _make_manager()
+ js.consumer_info = AsyncMock(side_effect=Exception("consumer not found"))
+
+ count = await manager.get_pending_count(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ assert count == 0
+
+
+class TestGetConsumerCount:
+ """Tests for JetStreamManager.get_consumer_count."""
+
+ @pytest.mark.asyncio
+ async def test_returns_count_from_stream_info(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ mock_info = MagicMock()
+ mock_info.state.consumer_count = 5
+ js.stream_info = AsyncMock(return_value=mock_info)
+
+ count = await manager.get_consumer_count(MODEL_ID, pool_name=POOL_NAME)
+
+ assert count == 5
+ js.stream_info.assert_called_once_with(work_pool_stream_name(POOL_NAME))
+
+ @pytest.mark.asyncio
+ async def test_returns_negative_one_when_stream_doesnt_exist(self) -> None:
+ manager, _nc, js = _make_manager()
+ js.stream_info = AsyncMock(side_effect=Exception("stream not found"))
+
+ count = await manager.get_consumer_count(MODEL_ID)
+
+ assert count == -1
+
+ @pytest.mark.asyncio
+ async def test_falls_back_to_per_model_when_no_pool(self) -> None:
+ """Without pool_name, falls back to legacy per-model stream lookup."""
+ manager, _nc, js = _make_manager()
+
+ mock_info = MagicMock()
+ mock_info.state.consumer_count = 2
+ js.stream_info = AsyncMock(return_value=mock_info)
+
+ count = await manager.get_consumer_count(MODEL_ID)
+
+ assert count == 2
+ js.stream_info.assert_called_once_with(work_stream_name(MODEL_ID))
+
+
+class TestGetStreamPendingCount:
+ """Tests for JetStreamManager.get_stream_pending_count."""
+
+ @pytest.mark.asyncio
+ async def test_returns_message_count_from_stream_info(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ mock_info = MagicMock()
+ mock_info.state.messages = 1234
+ js.stream_info = AsyncMock(return_value=mock_info)
+
+ count = await manager.get_stream_pending_count(MODEL_ID)
+
+ assert count == 1234
+
+ @pytest.mark.asyncio
+ async def test_returns_zero_when_stream_doesnt_exist(self) -> None:
+ manager, _nc, js = _make_manager()
+ js.stream_info = AsyncMock(side_effect=Exception("stream not found"))
+
+ count = await manager.get_stream_pending_count(MODEL_ID)
+
+ assert count == 0
+
+
+class TestGetStreamHealth:
+ """Tests for JetStreamManager.get_stream_health."""
+
+ @pytest.mark.asyncio
+ async def test_returns_consumer_count_and_messages(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ mock_info = MagicMock()
+ mock_info.state.consumer_count = 3
+ mock_info.state.messages = 42
+ js.stream_info = AsyncMock(return_value=mock_info)
+
+ consumer_count, pending = await manager.get_stream_health(MODEL_ID, pool_name=POOL_NAME)
+
+ assert consumer_count == 3
+ assert pending == 42
+ js.stream_info.assert_called_once_with(work_pool_stream_name(POOL_NAME))
+
+ @pytest.mark.asyncio
+ async def test_returns_negative_one_zero_when_stream_doesnt_exist(self) -> None:
+ manager, _nc, js = _make_manager()
+ js.stream_info = AsyncMock(side_effect=Exception("stream not found"))
+
+ consumer_count, pending = await manager.get_stream_health(MODEL_ID)
+
+ assert consumer_count == -1
+ assert pending == 0
+
+
+class TestClearCaches:
+ """Tests for JetStreamManager.clear_caches."""
+
+ @pytest.mark.asyncio
+ async def test_clears_both_caches(self) -> None:
+ manager, _nc, _js = _make_manager()
+
+ # Populate caches
+ await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+ await manager.ensure_consumer(MODEL_ID, BUNDLE_ID, POOL_NAME)
+
+ assert len(manager._known_streams) > 0
+ assert len(manager._known_consumers) > 0
+
+ manager.clear_caches()
+
+ assert len(manager._known_streams) == 0
+ assert len(manager._known_consumers) == 0
+
+ @pytest.mark.asyncio
+ async def test_after_clear_recreates_on_next_call(self) -> None:
+ manager, _nc, js = _make_manager()
+
+ # First call populates cache
+ await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+ assert js.add_stream.call_count == 1
+
+ # Clear caches
+ manager.clear_caches()
+
+ # Second call should re-create (cache was cleared)
+ await manager.ensure_stream(MODEL_ID, pool_name=POOL_NAME)
+ assert js.add_stream.call_count == 2
+
+ def test_clear_on_empty_caches_is_safe(self) -> None:
+ manager, _nc, _js = _make_manager()
+ manager.clear_caches() # Should not raise
+ assert len(manager._known_streams) == 0
+ assert len(manager._known_consumers) == 0
diff --git a/packages/sie_router/tests/test_model_registry_mutation.py b/packages/sie_router/tests/test_model_registry_mutation.py
new file mode 100644
index 000000000..cdee1478d
--- /dev/null
+++ b/packages/sie_router/tests/test_model_registry_mutation.py
@@ -0,0 +1,250 @@
+from pathlib import Path
+
+import pytest
+import yaml
+from sie_router.model_registry import ModelRegistry
+
+
+def _setup_registry(
+ root: Path,
+ bundles: dict[str, list[str]] | None = None,
+ models: dict[str, str] | None = None,
+) -> tuple[ModelRegistry, Path]:
+ """Create a ModelRegistry with test bundles and models."""
+ bundles_dir = root / "bundles"
+ models_dir = root / "models"
+ bundles_dir.mkdir(parents=True, exist_ok=True)
+ models_dir.mkdir(parents=True, exist_ok=True)
+
+ if bundles is None:
+ bundles = {"default": ["sie_server.adapters.bert_flash", "sie_server.adapters.sentence_transformer"]}
+
+ for name, adapters in bundles.items():
+ data = {"name": name, "priority": 10, "adapters": adapters}
+ (bundles_dir / f"{name}.yaml").write_text(yaml.dump(data))
+
+ if models:
+ for sie_id, adapter_path in models.items():
+ config = {
+ "sie_id": sie_id,
+ "profiles": {"default": {"adapter_path": adapter_path, "max_batch_tokens": 8192}},
+ }
+ filename = sie_id.replace("/", "__") + ".yaml"
+ (models_dir / filename).write_text(yaml.dump(config))
+
+ registry = ModelRegistry(bundles_dir, models_dir)
+ return registry, root
+
+
+class TestAddModelConfig:
+ """Tests for ModelRegistry.add_model_config()."""
+
+ @pytest.fixture(autouse=True)
+ def _setup(self, tmp_path: Path) -> None:
+ self._root = tmp_path
+
+ def test_add_new_model(self) -> None:
+ registry, _ = _setup_registry(self._root / "add_new")
+ config = {
+ "sie_id": "new/model",
+ "profiles": {
+ "default": {
+ "adapter_path": "sie_server.adapters.bert_flash:BertAdapter",
+ "max_batch_tokens": 8192,
+ },
+ },
+ }
+ created, skipped, bundles = registry.add_model_config(config)
+ assert created == ["default"]
+ assert skipped == []
+ assert "default" in bundles
+
+ def test_model_becomes_routable(self) -> None:
+ registry, _ = _setup_registry(self._root / "routable")
+ registry.add_model_config(
+ {
+ "sie_id": "new/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ assert registry.model_exists("new/model")
+ bundle = registry.resolve_bundle("new/model")
+ assert bundle == "default"
+
+ def test_add_profile_to_existing_model(self) -> None:
+ registry, _ = _setup_registry(
+ self._root / "add_prof",
+ models={"existing/model": "sie_server.adapters.bert_flash:B"},
+ )
+ # "default" profile must match the existing config (same adapter_path and max_batch_tokens=8192)
+ config = {
+ "sie_id": "existing/model",
+ "profiles": {
+ "default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 8192},
+ "custom": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 2},
+ },
+ }
+ created, skipped, _ = registry.add_model_config(config)
+ assert "custom" in created
+ assert "default" in skipped
+
+ def test_add_conflicting_profile_raises(self) -> None:
+ """Adding a profile with different config to existing model raises ValueError."""
+ registry, _ = _setup_registry(
+ self._root / "conflict",
+ models={"existing/model": "sie_server.adapters.bert_flash:B"},
+ )
+ config = {
+ "sie_id": "existing/model",
+ "profiles": {
+ "default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1},
+ },
+ }
+ with pytest.raises(ValueError, match="already exists with different config"):
+ registry.add_model_config(config)
+
+ def test_unroutable_adapter_raises(self) -> None:
+ registry, _ = _setup_registry(self._root / "unroutable")
+ config = {
+ "sie_id": "bad/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.unknown:X", "max_batch_tokens": 1}},
+ }
+ with pytest.raises(ValueError, match="not in any known bundle"):
+ registry.add_model_config(config)
+
+ def test_missing_sie_id_raises(self) -> None:
+ registry, _ = _setup_registry(self._root / "no_id")
+ with pytest.raises(ValueError, match="sie_id"):
+ registry.add_model_config({"profiles": {"default": {}}})
+
+ def test_missing_profiles_raises(self) -> None:
+ registry, _ = _setup_registry(self._root / "no_prof")
+ with pytest.raises(ValueError, match="profiles"):
+ registry.add_model_config({"sie_id": "m"})
+
+ def test_multi_bundle_routing(self) -> None:
+ registry, _ = _setup_registry(
+ self._root / "multi_bundle",
+ bundles={
+ "default": ["sie_server.adapters.bert_flash"],
+ "sglang": ["sie_server.adapters.sglang"],
+ },
+ )
+ registry.add_model_config(
+ {
+ "sie_id": "sglang/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.sglang:S", "max_batch_tokens": 1}},
+ }
+ )
+ bundle = registry.resolve_bundle("sglang/model")
+ # sglang adapter is only in the sglang bundle, so it must resolve to sglang
+ assert bundle == "sglang"
+
+
+class TestComputeBundleConfigHash:
+ """Tests for ModelRegistry.compute_bundle_config_hash()."""
+
+ @pytest.fixture(autouse=True)
+ def _setup(self, tmp_path: Path) -> None:
+ self._root = tmp_path
+
+ def test_empty_bundle_returns_empty(self) -> None:
+ registry, _ = _setup_registry(self._root / "empty")
+ assert registry.compute_bundle_config_hash("default") == ""
+
+ def test_hash_changes_when_model_added(self) -> None:
+ registry, _ = _setup_registry(self._root / "hash_change")
+ hash1 = registry.compute_bundle_config_hash("default")
+
+ registry.add_model_config(
+ {
+ "sie_id": "new/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ hash2 = registry.compute_bundle_config_hash("default")
+
+ assert hash1 != hash2
+ assert len(hash2) == 64 # SHA-256 hex
+
+ def test_hash_is_deterministic(self) -> None:
+ registry, _ = _setup_registry(self._root / "deterministic")
+ registry.add_model_config(
+ {
+ "sie_id": "m1",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ h1 = registry.compute_bundle_config_hash("default")
+ h2 = registry.compute_bundle_config_hash("default")
+ assert h1 == h2
+
+ def test_hash_scoped_to_bundle(self) -> None:
+ registry, _ = _setup_registry(
+ self._root / "scoped",
+ bundles={
+ "default": ["sie_server.adapters.bert_flash"],
+ "sglang": ["sie_server.adapters.sglang"],
+ },
+ )
+ registry.add_model_config(
+ {
+ "sie_id": "m1",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ # Adding model to default bundle should not affect sglang hash
+ assert registry.compute_bundle_config_hash("sglang") == ""
+ assert registry.compute_bundle_config_hash("default") != ""
+
+ def test_unknown_bundle_returns_empty(self) -> None:
+ registry, _ = _setup_registry(self._root / "unknown")
+ assert registry.compute_bundle_config_hash("nonexistent") == ""
+
+
+class TestConcurrentAddModelConfig:
+ """Tests for concurrent add_model_config under contention."""
+
+ @pytest.fixture(autouse=True)
+ def _setup(self, tmp_path: Path) -> None:
+ self._root = tmp_path
+
+ def test_concurrent_add_10_models(self) -> None:
+ """10 concurrent add_model_config calls all succeed without exceptions."""
+ from concurrent.futures import ThreadPoolExecutor, as_completed
+
+ registry, _ = _setup_registry(self._root / "concurrent")
+
+ exceptions: list[Exception] = []
+
+ def add_model(i: int) -> None:
+ config = {
+ "sie_id": f"concurrent/model-{i}",
+ "profiles": {
+ "default": {
+ "adapter_path": "sie_server.adapters.bert_flash:BertAdapter",
+ "max_batch_tokens": 8192,
+ },
+ },
+ }
+ try:
+ created, _, bundles = registry.add_model_config(config)
+ assert created == ["default"]
+ assert "default" in bundles
+ except Exception as e: # noqa: BLE001
+ exceptions.append(e)
+
+ with ThreadPoolExecutor(max_workers=10) as executor:
+ futures = [executor.submit(add_model, i) for i in range(10)]
+ for future in as_completed(futures):
+ future.result() # Re-raises any exception from the thread
+
+ # No exceptions should have been raised
+ assert exceptions == [], f"Exceptions during concurrent add: {exceptions}"
+
+ # All 10 models should be routable
+ for i in range(10):
+ model_id = f"concurrent/model-{i}"
+ assert registry.model_exists(model_id), f"{model_id} should exist"
+ bundle = registry.resolve_bundle(model_id)
+ assert bundle == "default", f"{model_id} should resolve to 'default' bundle"
diff --git a/packages/sie_router/tests/test_nats_manager.py b/packages/sie_router/tests/test_nats_manager.py
new file mode 100644
index 000000000..f6af07770
--- /dev/null
+++ b/packages/sie_router/tests/test_nats_manager.py
@@ -0,0 +1,330 @@
+import json
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import pytest
+from sie_router.nats_manager import _ALL_SUBJECT, NatsManager
+
+
+class TestNatsManagerConnect:
+ """Tests for NATS connection lifecycle."""
+
+ @pytest.mark.asyncio
+ async def test_connect_failure_is_graceful(self) -> None:
+ """NATS connect failure doesn't crash — sets connected=False."""
+ manager = NatsManager(nats_url="nats://nonexistent:4222")
+ # Patch nats.connect to raise
+ with patch("nats.connect", side_effect=ConnectionRefusedError("refused")):
+ await manager.connect()
+ assert not manager.connected
+
+ @pytest.mark.asyncio
+ async def test_connected_false_before_connect(self) -> None:
+ """Manager starts disconnected."""
+ manager = NatsManager()
+ assert not manager.connected
+
+ @pytest.mark.asyncio
+ async def test_router_id_from_hostname(self) -> None:
+ """router_id defaults to hostname."""
+ manager = NatsManager()
+ assert manager.router_id # Non-empty string
+
+ @pytest.mark.asyncio
+ async def test_disconnect_when_not_connected(self) -> None:
+ """Disconnect on never-connected manager is a no-op."""
+ manager = NatsManager()
+ await manager.disconnect() # Should not raise
+
+
+class TestNatsManagerPublish:
+ """Tests for publishing config notifications."""
+
+ @pytest.mark.asyncio
+ async def test_publish_raises_when_not_connected(self) -> None:
+ """publish_config_notification raises RuntimeError if not connected."""
+ manager = NatsManager()
+ with pytest.raises(RuntimeError, match="NATS not connected"):
+ await manager.publish_config_notification(
+ model_id="test/model",
+ profiles_added=["default"],
+ affected_bundles=["default"],
+ bundle_config_hashes={"default": "abc123"},
+ epoch=1,
+ model_config_yaml="sie_id: test/model\n",
+ )
+
+ @pytest.mark.asyncio
+ async def test_publish_sends_to_bundle_subjects(self) -> None:
+ """Publishes to sie.config.models.<bundle_id> for each affected bundle."""
+ manager = NatsManager()
+ mock_nc = AsyncMock()
+ mock_nc.is_connected = True
+ manager._nc = mock_nc
+ manager._connected = True
+
+ await manager.publish_config_notification(
+ model_id="test/model",
+ profiles_added=["default"],
+ affected_bundles=["default", "sglang"],
+ bundle_config_hashes={"default": "hash1", "sglang": "hash2"},
+ epoch=5,
+ model_config_yaml="sie_id: test/model\n",
+ )
+
+ # Should publish to 3 subjects: default, sglang, _all
+ assert mock_nc.publish.call_count == 3
+
+ # Check per-bundle subject calls
+ calls = mock_nc.publish.call_args_list
+ subjects = [call.args[0] for call in calls]
+ assert "sie.config.models.default" in subjects
+ assert "sie.config.models.sglang" in subjects
+ assert "sie.config.models._all" in subjects
+
+ @pytest.mark.asyncio
+ async def test_publish_bundle_payload_structure(self) -> None:
+ """Per-bundle payload contains correct fields."""
+ manager = NatsManager()
+ mock_nc = AsyncMock()
+ mock_nc.is_connected = True
+ manager._nc = mock_nc
+ manager._connected = True
+
+ await manager.publish_config_notification(
+ model_id="org/model",
+ profiles_added=["default", "custom"],
+ affected_bundles=["default"],
+ bundle_config_hashes={"default": "abc"},
+ epoch=42,
+ model_config_yaml="full yaml content",
+ )
+
+ # Find the per-bundle call
+ for call in mock_nc.publish.call_args_list:
+ if call.args[0] == "sie.config.models.default":
+ payload = json.loads(call.args[1].decode())
+ assert payload["model_id"] == "org/model"
+ assert payload["profiles_added"] == ["default", "custom"]
+ assert payload["bundle_config_hash"] == "abc"
+ assert payload["epoch"] == 42
+ assert payload["router_id"] == manager.router_id
+ assert payload["model_config"] == "full yaml content"
+ break
+ else:
+ pytest.fail("Per-bundle publish not found")
+
+ @pytest.mark.asyncio
+ async def test_publish_all_payload_has_affected_bundles(self) -> None:
+ """Global _all payload includes affected_bundles list."""
+ manager = NatsManager()
+ mock_nc = AsyncMock()
+ mock_nc.is_connected = True
+ manager._nc = mock_nc
+ manager._connected = True
+
+ await manager.publish_config_notification(
+ model_id="test/model",
+ profiles_added=["default"],
+ affected_bundles=["default", "sglang"],
+ bundle_config_hashes={},
+ epoch=1,
+ model_config_yaml="yaml",
+ )
+
+ for call in mock_nc.publish.call_args_list:
+ if call.args[0] == _ALL_SUBJECT:
+ payload = json.loads(call.args[1].decode())
+ assert payload["affected_bundles"] == ["default", "sglang"]
+ assert payload["model_id"] == "test/model"
+ break
+ else:
+ pytest.fail("_all publish not found")
+
+
+class TestNatsManagerCallbacks:
+ """Tests for _handle_disconnect, _handle_error, _handle_reconnect callbacks."""
+
+ @pytest.mark.asyncio
+ async def test_handle_disconnect_sets_connected_false(self) -> None:
+ """_handle_disconnect sets _connected to False."""
+ manager = NatsManager()
+ manager._connected = True
+
+ await manager._handle_disconnect()
+
+ assert manager._connected is False
+
+ @pytest.mark.asyncio
+ async def test_handle_error_does_not_crash(self) -> None:
+ """_handle_error logs the error without raising."""
+ manager = NatsManager()
+ # Should not raise for any exception type
+ await manager._handle_error(RuntimeError("test nats error"))
+ await manager._handle_error(ConnectionError("connection lost"))
+ await manager._handle_error(Exception("generic"))
+
+ @pytest.mark.asyncio
+ async def test_handle_reconnect_sets_connected_true(self) -> None:
+ """_handle_reconnect sets _connected back to True."""
+ manager = NatsManager()
+ manager._connected = False
+
+ await manager._handle_reconnect()
+
+ assert manager._connected is True
+
+ @pytest.mark.asyncio
+ async def test_handle_reconnect_calls_on_reconnect_callback(self) -> None:
+ """_handle_reconnect invokes the on_reconnect callback."""
+ reconnect_cb = AsyncMock()
+ manager = NatsManager(on_reconnect=reconnect_cb)
+ manager._connected = False
+
+ await manager._handle_reconnect()
+
+ reconnect_cb.assert_called_once()
+ assert manager._connected is True
+
+ @pytest.mark.asyncio
+ async def test_handle_reconnect_without_callback(self) -> None:
+ """_handle_reconnect works when no on_reconnect callback is set."""
+ manager = NatsManager(on_reconnect=None)
+ manager._connected = False
+
+ await manager._handle_reconnect() # Should not raise
+
+ assert manager._connected is True
+
+ @pytest.mark.asyncio
+ async def test_handle_reconnect_callback_exception_does_not_crash(self) -> None:
+ """_handle_reconnect catches exceptions from the callback."""
+ failing_cb = AsyncMock(side_effect=RuntimeError("callback boom"))
+ manager = NatsManager(on_reconnect=failing_cb)
+ manager._connected = False
+
+ # Should not raise despite callback failure
+ await manager._handle_reconnect()
+
+ assert manager._connected is True
+ failing_cb.assert_called_once()
+
+
+class TestNatsManagerSubscription:
+ """Tests for receiving notifications from other routers."""
+
+ @pytest.mark.asyncio
+ async def test_self_notification_skipped(self) -> None:
+ """Notifications from this router (same router_id) are ignored."""
+ callback = AsyncMock()
+ manager = NatsManager(on_config_notification=callback)
+
+ # Simulate receiving a message from ourselves
+ msg = MagicMock()
+ msg.data = json.dumps(
+ {
+ "router_id": manager.router_id,
+ "model_id": "test/model",
+ "epoch": 1,
+ }
+ ).encode()
+
+ await manager._handle_all_notification(msg)
+ callback.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_other_router_notification_calls_callback(self) -> None:
+ """Notifications from other routers trigger the callback."""
+ callback = AsyncMock()
+ manager = NatsManager(on_config_notification=callback)
+
+ msg = MagicMock()
+ msg.data = json.dumps(
+ {
+ "router_id": "other-router",
+ "model_id": "test/model",
+ "epoch": 5,
+ "model_config": "sie_id: test/model\n",
+ }
+ ).encode()
+
+ await manager._handle_all_notification(msg)
+ callback.assert_called_once()
+ call_data = callback.call_args[0][0]
+ assert call_data["model_id"] == "test/model"
+ assert call_data["router_id"] == "other-router"
+
+ @pytest.mark.asyncio
+ async def test_malformed_notification_does_not_crash(self) -> None:
+ """Malformed NATS message is logged, not raised."""
+ callback = AsyncMock()
+ manager = NatsManager(on_config_notification=callback)
+
+ msg = MagicMock()
+ msg.data = b"not json at all"
+
+ # Should not raise
+ await manager._handle_all_notification(msg)
+ callback.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_reconnect_triggers_callback(self) -> None:
+ """NATS reconnect fires the on_reconnect callback."""
+ reconnect_cb = AsyncMock()
+ manager = NatsManager(on_reconnect=reconnect_cb)
+
+ await manager._handle_reconnect()
+ reconnect_cb.assert_called_once()
+ assert manager._connected is True
+
+
+class TestMultiRouterCAS:
+ """Tests for multi-router write coordination via config store CAS."""
+
+ def test_concurrent_cas_second_writer_retries(self) -> None:
+ """Simulates two routers racing on CAS — loser retries successfully."""
+ import tempfile
+
+ from sie_router.config_store import ConfigStore, EpochCASError
+
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = ConfigStore(tmpdir)
+
+ # Both routers read epoch=0
+ epoch_r1 = store.read_epoch()
+ epoch_r2 = store.read_epoch()
+
+ # Router 1 wins CAS
+ store.cas_epoch(epoch_r1)
+
+ # Router 2 fails CAS
+ with pytest.raises(EpochCASError):
+ store.cas_epoch(epoch_r2)
+
+ # Router 2 retries with fresh epoch
+ fresh_epoch = store.read_epoch()
+ assert fresh_epoch == 1
+ store.cas_epoch(fresh_epoch)
+ assert store.read_epoch() == 2
+
+ def test_multi_router_restore_sees_all_models(self) -> None:
+ """Multiple routers writing to same store — all models visible on restore."""
+ import tempfile
+
+ import yaml as _yaml
+ from sie_router.config_store import ConfigStore
+
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = ConfigStore(tmpdir)
+
+ # Router A adds model
+ store.cas_epoch(0)
+ store.write_model("router-a/model", _yaml.dump({"sie_id": "router-a/model"}))
+
+ # Router B adds different model
+ store.cas_epoch(1)
+ store.write_model("router-b/model", _yaml.dump({"sie_id": "router-b/model"}))
+
+ # New router restores — sees both
+ all_models = store.load_all_models()
+ assert "router-a/model" in all_models
+ assert "router-b/model" in all_models
diff --git a/packages/sie_router/tests/test_payload_store.py b/packages/sie_router/tests/test_payload_store.py
new file mode 100644
index 000000000..0e8cc0be2
--- /dev/null
+++ b/packages/sie_router/tests/test_payload_store.py
@@ -0,0 +1,204 @@
+"""Tests for the ephemeral payload store."""
+
+import tempfile
+import unittest.mock
+from unittest.mock import MagicMock
+
+import pytest
+from sie_router.payload_store import GCSPayloadStore, LocalPayloadStore, S3PayloadStore, create_payload_store
+
+
+class TestLocalPayloadStore:
+ @pytest.mark.asyncio
+ async def test_put_and_get(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = LocalPayloadStore(base_dir=tmpdir)
+ await store.put("test/key", b"hello world")
+ data = await store.get("test/key")
+ assert data == b"hello world"
+
+ @pytest.mark.asyncio
+ async def test_get_missing_raises_key_error(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = LocalPayloadStore(base_dir=tmpdir)
+ with pytest.raises(KeyError):
+ await store.get("nonexistent")
+
+ @pytest.mark.asyncio
+ async def test_delete(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = LocalPayloadStore(base_dir=tmpdir)
+ await store.put("test/key", b"data")
+ await store.delete("test/key")
+ with pytest.raises(KeyError):
+ await store.get("test/key")
+
+ @pytest.mark.asyncio
+ async def test_delete_prefix(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = LocalPayloadStore(base_dir=tmpdir)
+ await store.put("payloads/req-1/0", b"item0")
+ await store.put("payloads/req-1/1", b"item1")
+ await store.put("payloads/req-2/0", b"other")
+
+ await store.delete_prefix("payloads/req-1")
+
+ # req-1 items should be gone
+ with pytest.raises(KeyError):
+ await store.get("payloads/req-1/0")
+ with pytest.raises(KeyError):
+ await store.get("payloads/req-1/1")
+
+ # req-2 should still exist
+ data = await store.get("payloads/req-2/0")
+ assert data == b"other"
+
+ @pytest.mark.asyncio
+ async def test_delete_nonexistent_is_noop(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = LocalPayloadStore(base_dir=tmpdir)
+ # Should not raise
+ await store.delete("nonexistent")
+
+ @pytest.mark.asyncio
+ async def test_large_payload(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = LocalPayloadStore(base_dir=tmpdir)
+ # 2MB payload (simulating an image)
+ data = b"x" * (2 * 1024 * 1024)
+ await store.put("payloads/req-1/0", data)
+ retrieved = await store.get("payloads/req-1/0")
+ assert retrieved == data
+
+
+class TestCreatePayloadStore:
+ def test_none_returns_none(self) -> None:
+ assert create_payload_store(None) is None
+
+ def test_empty_string_returns_none(self) -> None:
+ assert create_payload_store("") is None
+
+ def test_local_path(self) -> None:
+ with tempfile.TemporaryDirectory() as tmpdir:
+ store = create_payload_store(tmpdir)
+ assert isinstance(store, LocalPayloadStore)
+
+ def test_s3_url(self) -> None:
+ store = create_payload_store("s3://my-bucket/prefix")
+ assert isinstance(store, S3PayloadStore)
+
+ def test_gs_url_returns_gcs_store(self) -> None:
+ """gs:// URLs return a GCSPayloadStore."""
+ store = create_payload_store("gs://my-bucket/payloads")
+ assert isinstance(store, GCSPayloadStore)
+
+
+class TestS3PayloadStore:
+ @pytest.mark.asyncio
+ async def test_put(self) -> None:
+ store = S3PayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_client = MagicMock()
+ store._client = mock_client
+ await store.put("req-1/0", b"hello")
+ mock_client.put_object.assert_called_once_with(Bucket="my-bucket", Key="payloads/req-1/0", Body=b"hello")
+
+ @pytest.mark.asyncio
+ async def test_get(self) -> None:
+ store = S3PayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_client = MagicMock()
+ mock_body = MagicMock()
+ mock_body.read.return_value = b"hello"
+ mock_client.get_object.return_value = {"Body": mock_body}
+ store._client = mock_client
+ result = await store.get("req-1/0")
+ mock_client.get_object.assert_called_once_with(Bucket="my-bucket", Key="payloads/req-1/0")
+ assert result == b"hello"
+ mock_body.close.assert_called_once()
+
+ @pytest.mark.asyncio
+ async def test_get_missing_raises_key_error(self) -> None:
+ from botocore.exceptions import ClientError
+
+ store = S3PayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_client = MagicMock()
+ mock_client.get_object.side_effect = ClientError(
+ {"Error": {"Code": "NoSuchKey", "Message": "The specified key does not exist."}},
+ "GetObject",
+ )
+ store._client = mock_client
+ with pytest.raises(KeyError):
+ await store.get("nonexistent")
+
+ @pytest.mark.asyncio
+ async def test_delete(self) -> None:
+ store = S3PayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_client = MagicMock()
+ store._client = mock_client
+ await store.delete("req-1/0")
+ mock_client.delete_object.assert_called_once_with(Bucket="my-bucket", Key="payloads/req-1/0")
+
+
+class TestGCSPayloadStore:
+ def test_gcs_missing_dependency_raises_import_error(self) -> None:
+ """GCSPayloadStore raises ImportError with install instructions when google-cloud-storage is missing."""
+ store = GCSPayloadStore(bucket="my-bucket", prefix="payloads")
+ with unittest.mock.patch.dict("sys.modules", {"google.cloud": None, "google.cloud.storage": None}):
+ with pytest.raises(ImportError, match="google-cloud-storage is required"):
+ store._get_bucket()
+
+ @pytest.mark.asyncio
+ async def test_put_uploads_to_blob(self) -> None:
+ """GCSPayloadStore.put uploads data via blob.upload_from_string."""
+ store = GCSPayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_bucket = MagicMock()
+ mock_blob = MagicMock()
+ mock_bucket.blob.return_value = mock_blob
+ store._client = mock_bucket
+
+ await store.put("test-key", b"hello")
+
+ mock_bucket.blob.assert_called_once_with("payloads/test-key")
+ mock_blob.upload_from_string.assert_called_once_with(b"hello")
+
+ @pytest.mark.asyncio
+ async def test_get_downloads_from_blob(self) -> None:
+ """GCSPayloadStore.get returns blob data."""
+ store = GCSPayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_bucket = MagicMock()
+ mock_blob = MagicMock()
+ mock_blob.download_as_bytes.return_value = b"hello"
+ mock_bucket.blob.return_value = mock_blob
+ store._client = mock_bucket
+
+ result = await store.get("test-key")
+
+ assert result == b"hello"
+ mock_bucket.blob.assert_called_once_with("payloads/test-key")
+
+ @pytest.mark.asyncio
+ async def test_get_not_found_raises_key_error(self) -> None:
+ """GCSPayloadStore.get raises KeyError for NotFound errors."""
+ from google.api_core.exceptions import NotFound
+
+ store = GCSPayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_bucket = MagicMock()
+ mock_blob = MagicMock()
+ mock_blob.download_as_bytes.side_effect = NotFound("blob not found")
+ mock_bucket.blob.return_value = mock_blob
+ store._client = mock_bucket
+
+ with pytest.raises(KeyError):
+ await store.get("nonexistent")
+
+ @pytest.mark.asyncio
+ async def test_get_infra_error_propagates(self) -> None:
+ """GCSPayloadStore.get lets non-NotFound errors propagate."""
+ store = GCSPayloadStore(bucket="my-bucket", prefix="payloads")
+ mock_bucket = MagicMock()
+ mock_blob = MagicMock()
+ mock_blob.download_as_bytes.side_effect = PermissionError("access denied")
+ mock_bucket.blob.return_value = mock_blob
+ store._client = mock_bucket
+
+ with pytest.raises(PermissionError):
+ await store.get("some-key")
diff --git a/packages/sie_router/tests/test_proxy.py b/packages/sie_router/tests/test_proxy.py
index 5d500d9df..38b3a5c98 100644
--- a/packages/sie_router/tests/test_proxy.py
+++ b/packages/sie_router/tests/test_proxy.py
@@ -14,6 +14,7 @@ from dataclasses import dataclass, field
from unittest.mock import AsyncMock, MagicMock, patch
import httpx
+import msgpack
import pytest
from fastapi import FastAPI, HTTPException
from fastapi.testclient import TestClient
@@ -25,6 +26,7 @@ from sie_router.proxy import (
_make_unconfigured_gpu_response,
_mask_token,
_resolve_machine_profile,
+ _response_content_key,
audit_logger,
router,
)
@@ -1061,3 +1063,166 @@ class TestVersionHeader:
json={"text": "hello"},
)
assert warned_set == {"0.1"}
+
+
+# =============================================================================
+# Queue-mode response assembly tests
+# =============================================================================
+
+
+def _make_queue_result(
+ item_index: int,
+ result_data: dict | list,
+ *,
+ success: bool = True,
+) -> dict:
+ """Build a minimal WorkResult-like dict for queue-mode tests."""
+ result: dict = {
+ "work_item_id": f"req.{item_index}",
+ "request_id": "req",
+ "item_index": item_index,
+ "success": success,
+ }
+ if success:
+ result["result_msgpack"] = msgpack.packb(result_data, use_bin_type=True)
+ return result
+
+
+class TestQueueModeResponseKey:
+ """Regression tests for queue-mode response key selection.
+
+ The score endpoint must return ``"scores"`` (not ``"items"``) to match the
+ SDK ``ScoreResult`` type. The encode/extract endpoints must keep ``"items"``.
+ Covers both JSON and msgpack response paths.
+ """
+
+ @pytest.fixture
+ def queue_client(self, app: FastAPI, registry: MagicMock) -> TestClient:
+ """TestClient wired for queue routing mode."""
+ app.state.registry = registry
+ app.state.work_publisher = MagicMock()
+ registry.resolve_queue_pool.return_value = "_default"
+ return TestClient(app)
+
+ def _patch_queue_mode(self):
+ return patch("sie_router.proxy.CLUSTER_ROUTING_MODE", "queue")
+
+ # -- JSON response path --
+
+ def test_score_json_uses_scores_key(self, queue_client: TestClient) -> None:
+ """Queue-mode /v1/score JSON response has top-level ``"scores"`` key."""
+ scores_list = [
+ {"item_id": "doc-0", "score": 0.95, "rank": 0},
+ {"item_id": "doc-1", "score": 0.42, "rank": 1},
+ ]
+ queue_client.app.state.work_publisher.submit_score = AsyncMock(
+ return_value=[_make_queue_result(0, scores_list)]
+ )
+
+ with self._patch_queue_mode():
+ response = queue_client.post(
+ "/v1/score/test-reranker",
+ json={
+ "query": {"text": "What is ML?"},
+ "items": [{"text": "ML is AI."}, {"text": "Cooking recipe."}],
+ },
+ )
+
+ assert response.status_code == 200
+ data = response.json()
+ assert "scores" in data, f"Expected 'scores' key, got keys: {list(data.keys())}"
+ assert "items" not in data
+ assert data["scores"] == scores_list
+
+ def test_encode_json_uses_items_key(self, queue_client: TestClient) -> None:
+ """Queue-mode /v1/encode JSON response has top-level ``"items"`` key."""
+ queue_client.app.state.work_publisher.submit_encode = AsyncMock(
+ return_value=[
+ _make_queue_result(0, {"dense": [0.1, 0.2]}),
+ _make_queue_result(1, {"dense": [0.3, 0.4]}),
+ ]
+ )
+
+ with self._patch_queue_mode():
+ response = queue_client.post(
+ "/v1/encode/test-model",
+ json={"items": [{"text": "hello"}, {"text": "world"}]},
+ )
+
+ assert response.status_code == 200
+ data = response.json()
+ assert "items" in data, f"Expected 'items' key, got keys: {list(data.keys())}"
+ assert "scores" not in data
+
+ # -- Msgpack response path --
+
+ def test_score_msgpack_uses_scores_key(self, queue_client: TestClient) -> None:
+ """Queue-mode /v1/score msgpack response has top-level ``"scores"`` key."""
+ scores_list = [
+ {"item_id": "doc-0", "score": 0.95, "rank": 0},
+ {"item_id": "doc-1", "score": 0.42, "rank": 1},
+ ]
+ queue_client.app.state.work_publisher.submit_score = AsyncMock(
+ return_value=[_make_queue_result(0, scores_list)]
+ )
+
+ with self._patch_queue_mode():
+ response = queue_client.post(
+ "/v1/score/test-reranker",
+ headers={
+ "Accept": "application/x-msgpack",
+ "Content-Type": "application/x-msgpack",
+ },
+ content=msgpack.packb(
+ {
+ "query": {"text": "What is ML?"},
+ "items": [{"text": "ML is AI."}, {"text": "Cooking recipe."}],
+ },
+ use_bin_type=True,
+ ),
+ )
+
+ assert response.status_code == 200
+ data = msgpack.unpackb(response.content, raw=False)
+ assert "scores" in data, f"Expected 'scores' key, got keys: {list(data.keys())}"
+ assert "items" not in data
+ assert data["scores"] == scores_list
+
+ def test_encode_msgpack_uses_items_key(self, queue_client: TestClient) -> None:
+ """Queue-mode /v1/encode msgpack response has top-level ``"items"`` key."""
+ queue_client.app.state.work_publisher.submit_encode = AsyncMock(
+ return_value=[
+ _make_queue_result(0, {"dense": [0.1, 0.2]}),
+ ]
+ )
+
+ with self._patch_queue_mode():
+ response = queue_client.post(
+ "/v1/encode/test-model",
+ headers={
+ "Accept": "application/x-msgpack",
+ "Content-Type": "application/x-msgpack",
+ },
+ content=msgpack.packb(
+ {"items": [{"text": "hello"}]},
+ use_bin_type=True,
+ ),
+ )
+
+ assert response.status_code == 200
+ data = msgpack.unpackb(response.content, raw=False)
+ assert "items" in data, f"Expected 'items' key, got keys: {list(data.keys())}"
+ assert "scores" not in data
+
+
+class TestResponseContentKey:
+ """Tests for the _response_content_key helper."""
+
+ def test_score_returns_scores(self) -> None:
+ assert _response_content_key("score") == "scores"
+
+ def test_encode_returns_items(self) -> None:
+ assert _response_content_key("encode") == "items"
+
+ def test_extract_returns_items(self) -> None:
+ assert _response_content_key("extract") == "items"
diff --git a/packages/sie_router/tests/test_queue_integration.py b/packages/sie_router/tests/test_queue_integration.py
new file mode 100644
index 000000000..ccb33d8e3
--- /dev/null
+++ b/packages/sie_router/tests/test_queue_integration.py
@@ -0,0 +1,762 @@
+"""Integration tests for NATS JetStream queue-based routing.
+
+Requires a running NATS server with JetStream enabled.
+Set SIE_NATS_URL env var (default: nats://localhost:4222).
+
+Run via: mise run integration-test-queue
+ or: mise run test -- -i packages/sie_router/tests/test_queue_integration.py
+"""
+
+from __future__ import annotations
+
+import asyncio
+import json
+import logging
+from typing import Any
+
+import msgpack
+import pytest
+from nats.aio.client import Client as NATSClient
+from nats.js.api import (
+ AckPolicy,
+ ConsumerConfig,
+ DiscardPolicy,
+ RetentionPolicy,
+ StorageType,
+ StreamConfig,
+)
+from nats.js.errors import BadRequestError, ServiceUnavailableError
+from sie_sdk.queue_types import normalize_model_id
+
+logger = logging.getLogger(__name__)
+
+pytestmark = pytest.mark.integration
+
+# Test constants
+TEST_STREAM = "TEST_QUEUE_INTEGRATION"
+TEST_SUBJECT = "test.work.items"
+TEST_CONSUMER = "test-consumer"
+
+
+async def nats_client(nats_server: str) -> NATSClient:
+ """Connect to NATS and yield a connected client. Drain on teardown."""
+ nc = NATSClient()
+ await nc.connect(servers=[nats_server])
+ yield nc # type: ignore[misc]
+ await nc.drain()
+
+
+async def js(nats_client: NATSClient) -> Any:
+ """Return a JetStream context from the connected client."""
+ return nats_client.jetstream()
+
+
+async def clean_stream(js: Any) -> str:
+ """Create a clean test stream, deleting any prior version. Return stream name."""
+ try:
+ await js.delete_stream(TEST_STREAM)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ config = StreamConfig(
+ name=TEST_STREAM,
+ subjects=[f"{TEST_SUBJECT}.>"],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_age=60, # 60s (nats-py expects seconds)
+ max_msgs=1000,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ discard=DiscardPolicy.OLD,
+ )
+ await js.add_stream(config)
+
+ yield TEST_STREAM # type: ignore[misc]
+
+ try:
+ await js.delete_stream(TEST_STREAM)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+
+# ── Test 1: Basic publish / consume ──────────────────────────────────────────
+
+
+class TestBasicPubSub:
+ """Connect to NATS, create stream, publish items, verify pull consumer."""
+
+ @pytest.mark.asyncio
+ async def test_publish_and_pull(self, js: Any, clean_stream: str) -> None:
+ subject = f"{TEST_SUBJECT}.pool_a"
+
+ # Create pull consumer
+ consumer_config = ConsumerConfig(
+ durable_name=TEST_CONSUMER,
+ filter_subject=subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ )
+ await js.add_consumer(clean_stream, consumer_config)
+
+ # Publish work items
+ items = [msgpack.packb({"item_index": i, "data": f"payload-{i}"}, use_bin_type=True) for i in range(5)]
+ for item in items:
+ ack = await js.publish(subject, item)
+ assert ack.stream == clean_stream
+
+ # Pull and verify
+ sub = await js.pull_subscribe(subject, TEST_CONSUMER)
+ msgs = await sub.fetch(5, timeout=5)
+ assert len(msgs) == 5
+
+ received_indices = []
+ for msg in msgs:
+ payload = msgpack.unpackb(msg.data, raw=False)
+ received_indices.append(payload["item_index"])
+ await msg.ack()
+
+ assert sorted(received_indices) == [0, 1, 2, 3, 4]
+
+
+# ── Test 2: Full round-trip (publish → pull → result → inbox) ────────────────
+
+
+class TestRoundTrip:
+ """Full round-trip: publish work → pull on consumer → publish result → verify inbox."""
+
+ @pytest.mark.asyncio
+ async def test_work_result_round_trip(self, nats_client: NATSClient, js: Any, clean_stream: str) -> None:
+ work_subject = f"{TEST_SUBJECT}.pool_a"
+ inbox_subject = "_INBOX.test-router.req-1"
+
+ # Create pull consumer for work items
+ consumer_config = ConsumerConfig(
+ durable_name="roundtrip-worker",
+ filter_subject=work_subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ )
+ await js.add_consumer(clean_stream, consumer_config)
+
+ # Subscribe to inbox for results (plain NATS, not JetStream)
+ results: list[bytes] = []
+ result_received = asyncio.Event()
+
+ async def on_result(msg: Any) -> None:
+ results.append(msg.data)
+ result_received.set()
+
+ await nats_client.subscribe(inbox_subject, cb=on_result)
+
+ # Publish work item with reply_subject
+ work_item = {
+ "work_item_id": "req-1.0",
+ "request_id": "req-1",
+ "item_index": 0,
+ "total_items": 1,
+ "operation": "encode",
+ "model_id": "test/model",
+ "reply_subject": inbox_subject,
+ }
+ await js.publish(work_subject, msgpack.packb(work_item, use_bin_type=True))
+
+ # Simulate worker: pull, process, publish result
+ sub = await js.pull_subscribe(work_subject, "roundtrip-worker")
+ msgs = await sub.fetch(1, timeout=5)
+ assert len(msgs) == 1
+
+ received_work = msgpack.unpackb(msgs[0].data, raw=False)
+ assert received_work["work_item_id"] == "req-1.0"
+
+ # Worker publishes result to reply_subject
+ result = {
+ "work_item_id": received_work["work_item_id"],
+ "request_id": received_work["request_id"],
+ "item_index": 0,
+ "success": True,
+ "result_data": "embedding-vector",
+ }
+ await nats_client.publish(received_work["reply_subject"], msgpack.packb(result, use_bin_type=True))
+
+ # Verify result arrives on inbox
+ await asyncio.wait_for(result_received.wait(), timeout=5)
+ assert len(results) == 1
+ received_result = msgpack.unpackb(results[0], raw=False)
+ assert received_result["success"] is True
+ assert received_result["work_item_id"] == "req-1.0"
+
+
+# ── Test 3: Backpressure ─────────────────────────────────────────────────────
+
+
+class TestBackpressure:
+ """Fill stream to near limit, verify new publishes are rejected/discarded."""
+
+ @pytest.mark.asyncio
+ async def test_stream_rejects_when_full(self, js: Any) -> None:
+ stream_name = "TEST_BACKPRESSURE"
+ subject = "test.backpressure.items"
+
+ # Clean up any prior stream
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ # Create stream with very low limit and DiscardPolicy.NEW
+ # so new publishes fail when the stream is full.
+ config = StreamConfig(
+ name=stream_name,
+ subjects=[subject],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=5,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ discard=DiscardPolicy.NEW,
+ )
+ await js.add_stream(config)
+
+ try:
+ # Fill stream to capacity
+ for i in range(5):
+ await js.publish(subject, f"item-{i}".encode())
+
+ # Verify stream is full
+ info = await js.stream_info(stream_name)
+ assert info.state.messages == 5
+
+ # Next publish should fail with DiscardPolicy.NEW
+ # NATS >= 2.10 returns 503 ServiceUnavailableError (not 400)
+ with pytest.raises((BadRequestError, ServiceUnavailableError)):
+ await js.publish(subject, b"overflow-item")
+ finally:
+ await js.delete_stream(stream_name)
+
+
+# ── Test 4: Consumer group (work distribution) ───────────────────────────────
+
+
+class TestConsumerGroup:
+ """Two consumers on same subject verify items are distributed (no duplicates)."""
+
+ @pytest.mark.asyncio
+ async def test_items_distributed_across_consumers(self, js: Any, clean_stream: str) -> None:
+ subject = f"{TEST_SUBJECT}.pool_shared"
+ shared_consumer = "shared-worker-group"
+ num_items = 20
+
+ # Create a single durable consumer (consumer group pattern:
+ # multiple pull subscribers share the same durable name)
+ consumer_config = ConsumerConfig(
+ durable_name=shared_consumer,
+ filter_subject=subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ )
+ await js.add_consumer(clean_stream, consumer_config)
+
+ # Publish items
+ for i in range(num_items):
+ await js.publish(subject, f"item-{i}".encode())
+
+ # Two pull subscribers sharing the same durable consumer
+ sub_a = await js.pull_subscribe(subject, shared_consumer)
+ sub_b = await js.pull_subscribe(subject, shared_consumer)
+
+ received_a: list[bytes] = []
+ received_b: list[bytes] = []
+
+ # Pull from both subscribers in interleaved fashion
+ for _ in range(4):
+ try:
+ msgs = await sub_a.fetch(3, timeout=2)
+ for msg in msgs:
+ received_a.append(msg.data)
+ await msg.ack()
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ try:
+ msgs = await sub_b.fetch(3, timeout=2)
+ for msg in msgs:
+ received_b.append(msg.data)
+ await msg.ack()
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ # All items should be received exactly once across both consumers
+ all_received = received_a + received_b
+ assert len(all_received) == num_items
+
+ # No duplicates
+ assert len(set(all_received)) == num_items
+
+ # Both consumers should have received some items (distribution)
+ # (not guaranteed to be perfectly balanced, just that both got work)
+ logger.info("Consumer A received %d items, Consumer B received %d items", len(received_a), len(received_b))
+ assert len(received_a) > 0, "Consumer A should have received at least some items"
+ assert len(received_b) > 0, "Consumer B should have received at least some items"
+
+
+# ── Test 5: Message expiry ───────────────────────────────────────────────────
+
+
+class TestMessageExpiry:
+ """Publish items, wait > max_age, verify they're gone."""
+
+ @pytest.mark.asyncio
+ async def test_messages_expire_after_max_age(self, js: Any) -> None:
+ stream_name = "TEST_EXPIRY"
+ subject = "test.expiry.items"
+
+ # Clean up
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ # Create stream with very short max_age (2 seconds)
+ max_age_s = 2 # 2 seconds (nats-py expects seconds)
+ config = StreamConfig(
+ name=stream_name,
+ subjects=[subject],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_age=max_age_s,
+ max_msgs=1000,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ await js.add_stream(config)
+
+ try:
+ # Publish items
+ for i in range(5):
+ await js.publish(subject, f"expiring-{i}".encode())
+
+ # Verify items exist
+ info = await js.stream_info(stream_name)
+ assert info.state.messages == 5
+
+ # Wait for expiry (max_age + buffer)
+ await asyncio.sleep(3)
+
+ # Verify items are gone
+ info = await js.stream_info(stream_name)
+ assert info.state.messages == 0, f"Expected 0 messages after expiry, got {info.state.messages}"
+ finally:
+ await js.delete_stream(stream_name)
+
+
+# ── Test 6: Multi-model stream isolation ─────────────────────────────────────
+
+
+class TestMultiModelStreams:
+ """Multiple model streams coexist and isolate traffic correctly."""
+
+ @pytest.mark.asyncio
+ async def test_two_models_isolated_streams(self, js: Any, nats_client: NATSClient) -> None:
+ """Items published to model-A stream are not visible to model-B consumer."""
+ model_a = "test/model-alpha"
+ model_b = "test/model-beta"
+ stream_a = f"TEST_MULTI_{normalize_model_id(model_a)}"
+ stream_b = f"TEST_MULTI_{normalize_model_id(model_b)}"
+ subject_a = f"test.multi.{normalize_model_id(model_a)}._default"
+ subject_b = f"test.multi.{normalize_model_id(model_b)}._default"
+
+ # Clean up
+ for s in [stream_a, stream_b]:
+ try:
+ await js.delete_stream(s)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ # Create separate streams
+ for name, subj in [(stream_a, subject_a), (stream_b, subject_b)]:
+ await js.add_stream(
+ StreamConfig(
+ name=name,
+ subjects=[subj],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=100,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ )
+
+ try:
+ # Publish to model-A
+ for i in range(5):
+ await js.publish(subject_a, msgpack.packb({"model": "a", "i": i}, use_bin_type=True))
+
+ # Publish to model-B
+ for i in range(3):
+ await js.publish(subject_b, msgpack.packb({"model": "b", "i": i}, use_bin_type=True))
+
+ # Consumer on model-A sees only model-A items
+ await js.add_consumer(
+ stream_a,
+ ConsumerConfig(
+ durable_name="worker-a",
+ filter_subject=subject_a,
+ ack_policy=AckPolicy.EXPLICIT,
+ ),
+ )
+ sub_a = await js.pull_subscribe(subject_a, "worker-a", stream=stream_a)
+ msgs_a = await sub_a.fetch(10, timeout=2)
+ assert len(msgs_a) == 5
+ for msg in msgs_a:
+ assert msgpack.unpackb(msg.data, raw=False)["model"] == "a"
+ await msg.ack()
+
+ # Consumer on model-B sees only model-B items
+ await js.add_consumer(
+ stream_b,
+ ConsumerConfig(
+ durable_name="worker-b",
+ filter_subject=subject_b,
+ ack_policy=AckPolicy.EXPLICIT,
+ ),
+ )
+ sub_b = await js.pull_subscribe(subject_b, "worker-b", stream=stream_b)
+ msgs_b = await sub_b.fetch(10, timeout=2)
+ assert len(msgs_b) == 3
+ for msg in msgs_b:
+ assert msgpack.unpackb(msg.data, raw=False)["model"] == "b"
+ await msg.ack()
+ finally:
+ for s in [stream_a, stream_b]:
+ try:
+ await js.delete_stream(s)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ @pytest.mark.asyncio
+ async def test_pool_scoped_consumers(self, js: Any) -> None:
+ """Consumers filtered by pool only see items for their pool."""
+ stream_name = "TEST_POOL_ISOLATION"
+ base_subject = "test.pool"
+
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ await js.add_stream(
+ StreamConfig(
+ name=stream_name,
+ subjects=[f"{base_subject}.>"],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=100,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ )
+
+ try:
+ default_subject = f"{base_subject}._default"
+ eval_subject = f"{base_subject}.eval"
+
+ # Publish 5 items to default pool, 3 to eval pool
+ for i in range(5):
+ await js.publish(default_subject, f"default-{i}".encode())
+ for i in range(3):
+ await js.publish(eval_subject, f"eval-{i}".encode())
+
+ # Consumer for default pool
+ await js.add_consumer(
+ stream_name,
+ ConsumerConfig(
+ durable_name="default-worker",
+ filter_subject=default_subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ ),
+ )
+ sub_default = await js.pull_subscribe(default_subject, "default-worker", stream=stream_name)
+ msgs_default = await sub_default.fetch(10, timeout=2)
+ assert len(msgs_default) == 5
+ for msg in msgs_default:
+ assert msg.data.startswith(b"default-")
+ await msg.ack()
+
+ # Consumer for eval pool
+ await js.add_consumer(
+ stream_name,
+ ConsumerConfig(
+ durable_name="eval-worker",
+ filter_subject=eval_subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ ),
+ )
+ sub_eval = await js.pull_subscribe(eval_subject, "eval-worker", stream=stream_name)
+ msgs_eval = await sub_eval.fetch(10, timeout=2)
+ assert len(msgs_eval) == 3
+ for msg in msgs_eval:
+ assert msg.data.startswith(b"eval-")
+ await msg.ack()
+ finally:
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ @pytest.mark.asyncio
+ async def test_stream_info_reflects_pending(self, js: Any) -> None:
+ """stream_info shows correct pending/consumer counts."""
+ stream_name = "TEST_STREAM_INFO"
+ subject = "test.info.items"
+
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ await js.add_stream(
+ StreamConfig(
+ name=stream_name,
+ subjects=[subject],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=100,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ )
+
+ try:
+ # Initially: 0 messages, 0 consumers
+ info = await js.stream_info(stream_name)
+ assert info.state.messages == 0
+ assert info.state.consumer_count == 0
+
+ # Add a consumer
+ await js.add_consumer(
+ stream_name,
+ ConsumerConfig(
+ durable_name="info-worker",
+ filter_subject=subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ ),
+ )
+ info = await js.stream_info(stream_name)
+ assert info.state.consumer_count == 1
+
+ # Publish 5 items
+ for i in range(5):
+ await js.publish(subject, f"item-{i}".encode())
+
+ info = await js.stream_info(stream_name)
+ assert info.state.messages == 5
+ finally:
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+
+# ── Test 7: NAK and redelivery ───────────────────────────────────────────────
+
+
+class TestNakAndRedeliver:
+ """NAK and ack_wait redelivery behavior with real NATS."""
+
+ @pytest.mark.asyncio
+ async def test_nak_with_delay_redelivers(self, js: Any) -> None:
+ """NAKed message with delay is redelivered after the delay."""
+ stream_name = "TEST_NAK_REDELIVER"
+ subject = "test.nak.items"
+
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ await js.add_stream(
+ StreamConfig(
+ name=stream_name,
+ subjects=[subject],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=100,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ )
+
+ try:
+ await js.add_consumer(
+ stream_name,
+ ConsumerConfig(
+ durable_name="nak-worker",
+ filter_subject=subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ max_deliver=5,
+ ),
+ )
+
+ await js.publish(subject, b"test-item")
+
+ sub = await js.pull_subscribe(subject, "nak-worker", stream=stream_name)
+
+ # First pull — NAK with short delay
+ msgs = await sub.fetch(1, timeout=2)
+ assert len(msgs) == 1
+ await msgs[0].nak(delay=1) # 1 second delay
+
+ # Immediate pull — should get nothing (delay not elapsed)
+ try:
+ msgs2 = await sub.fetch(1, timeout=0.5)
+ # May or may not get the message depending on timing
+ except Exception: # noqa: BLE001
+ msgs2 = [] # noqa: F841
+
+ # Wait for delay and pull again — should get the redelivered message
+ await asyncio.sleep(1.5)
+ msgs3 = await sub.fetch(1, timeout=2)
+ assert len(msgs3) == 1
+ await msgs3[0].ack()
+ finally:
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ @pytest.mark.asyncio
+ async def test_ack_wait_redelivers_unacked(self, js: Any) -> None:
+ """Unacked message is redelivered after ack_wait expires."""
+ stream_name = "TEST_ACK_WAIT"
+ subject = "test.ackwait.items"
+
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ await js.add_stream(
+ StreamConfig(
+ name=stream_name,
+ subjects=[subject],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=100,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ )
+
+ try:
+ # Consumer with very short ack_wait (2 seconds)
+ await js.add_consumer(
+ stream_name,
+ ConsumerConfig(
+ durable_name="slow-worker",
+ filter_subject=subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ ack_wait=2.0, # seconds
+ max_deliver=3,
+ ),
+ )
+
+ await js.publish(subject, b"slow-item")
+
+ sub = await js.pull_subscribe(subject, "slow-worker", stream=stream_name)
+
+ # Pull but don't ACK
+ msgs = await sub.fetch(1, timeout=2)
+ assert len(msgs) == 1
+ # Intentionally not acking
+
+ # Wait for ack_wait to expire
+ await asyncio.sleep(3)
+
+ # Should get redelivered
+ msgs2 = await sub.fetch(1, timeout=3)
+ assert len(msgs2) == 1
+ await msgs2[0].ack()
+ finally:
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+
+# ── Test 8: DLQ advisory on max delivery ─────────────────────────────────────
+
+
+class TestDLQAdvisory:
+ """Max-delivery advisory published when message exhausts retries."""
+
+ @pytest.mark.asyncio
+ async def test_max_deliver_triggers_advisory(self, nats_client: NATSClient, js: Any) -> None:
+ """After max_deliver NAKs, NATS publishes a max-delivery advisory.
+
+ Uses a push-based consumer because NATS only emits MAX_DELIVERIES
+ advisories when the *server* drives redelivery (push). Pull consumers
+ emit MSG_NAKED instead — the server never internally attempts
+ redelivery, so it never detects the max_deliver violation.
+ """
+ stream_name = "TEST_DLQ_ADVISORY"
+ subject = "test.dlq.items"
+
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ await js.add_stream(
+ StreamConfig(
+ name=stream_name,
+ subjects=[subject],
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_msgs=100,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ )
+ )
+
+ try:
+ # Subscribe to advisory subject
+ advisories: list[bytes] = []
+ advisory_received = asyncio.Event()
+
+ async def on_advisory(msg: Any) -> None:
+ advisories.append(msg.data)
+ advisory_received.set()
+
+ await nats_client.subscribe(
+ "$JS.EVENT.ADVISORY.CONSUMER.MAX_DELIVERIES.>",
+ cb=on_advisory,
+ )
+
+ # Push-based consumer that NAKs every delivery
+ async def on_msg(msg: Any) -> None:
+ await msg.nak()
+
+ sub = await js.subscribe(
+ subject,
+ stream=stream_name,
+ config=ConsumerConfig(
+ ack_policy=AckPolicy.EXPLICIT,
+ max_deliver=2,
+ ack_wait=1,
+ ),
+ cb=on_msg,
+ )
+
+ # Publish one item — the push consumer will NAK it twice,
+ # then NATS emits the MAX_DELIVERIES advisory.
+ await js.publish(subject, b"doomed-item")
+
+ try:
+ await asyncio.wait_for(advisory_received.wait(), timeout=10)
+ except TimeoutError:
+ pytest.fail(
+ f"Advisory not received within timeout for stream {stream_name!r}. "
+ f"Advisories collected: {advisories}"
+ )
+ assert len(advisories) >= 1
+ # Verify advisory content
+ advisory = json.loads(advisories[0])
+ assert advisory["stream"] == stream_name
+
+ await sub.unsubscribe()
+ finally:
+ try:
+ await js.delete_stream(stream_name)
+ except Exception: # noqa: BLE001, S110
+ pass
diff --git a/packages/sie_router/tests/test_queue_routing_e2e.py b/packages/sie_router/tests/test_queue_routing_e2e.py
new file mode 100644
index 000000000..5fe11ab26
--- /dev/null
+++ b/packages/sie_router/tests/test_queue_routing_e2e.py
@@ -0,0 +1,516 @@
+from __future__ import annotations
+
+import asyncio
+from typing import Any
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import msgpack
+import pytest
+from sie_router.jetstream_manager import JetStreamManager
+from sie_router.payload_store import PayloadStore
+from sie_router.work_publisher import (
+ NoConsumersError,
+ PendingRequest,
+ WorkPublisher,
+)
+from sie_sdk.queue_types import INLINE_THRESHOLD_BYTES, WorkResult
+
+ROUTER_ID = "test-router"
+MODEL_ID = "BAAI/bge-m3"
+PROFILE_ID = "default"
+POOL_NAME = "_default"
+MACHINE_PROFILE = "l4"
+
+
+def _make_publisher(
+ *,
+ payload_store: PayloadStore | None = None,
+) -> tuple[WorkPublisher, AsyncMock, AsyncMock, AsyncMock]:
+ """Create a WorkPublisher with mocked NATS/JetStream dependencies."""
+ nc = AsyncMock()
+ js = AsyncMock()
+
+ async def _fake_publish_async(subject: str, payload: bytes, **kwargs: Any) -> asyncio.Future:
+ fut: asyncio.Future = asyncio.get_running_loop().create_future()
+ fut.set_result(None)
+ return fut
+
+ js.publish_async = AsyncMock(side_effect=_fake_publish_async)
+ js.publish_async_completed = AsyncMock()
+
+ jsm = AsyncMock(spec=JetStreamManager)
+ jsm.get_stream_health = AsyncMock(return_value=(2, 0))
+ jsm.ensure_stream = AsyncMock(return_value="WORK_BAAI__bge-m3")
+ publisher = WorkPublisher(nc, js, jsm, ROUTER_ID, payload_store=payload_store)
+ return publisher, nc, js, jsm
+
+
+def _make_work_result(
+ request_id: str,
+ item_index: int,
+ *,
+ success: bool = True,
+ error: str | None = None,
+ result_data: dict | None = None,
+) -> WorkResult:
+ """Build a minimal WorkResult dict with optional result_msgpack."""
+ result: WorkResult = {
+ "work_item_id": f"{request_id}.{item_index}",
+ "request_id": request_id,
+ "item_index": item_index,
+ "success": success,
+ }
+ if success and result_data is not None:
+ result["result_msgpack"] = msgpack.packb(result_data, use_bin_type=True)
+ if not success and error:
+ result["error"] = error
+ result["error_code"] = "test_error"
+ return result
+
+
+class TestEncodeRoundtrip:
+ """End-to-end encode: submit → publish → results → response."""
+
+ @pytest.mark.asyncio
+ async def test_encode_roundtrip(self) -> None:
+ """Submit encode request, simulate worker results, verify ordered response."""
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ items = [{"text": "hello"}, {"text": "world"}, {"text": "foo"}]
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ # Simulate results arriving out of order
+ for i in [2, 0, 1]:
+ pending.results[i] = _make_work_result(
+ pending.request_id,
+ i,
+ result_data={"dense": [float(i)]},
+ )
+ pending.completed.set()
+ return [pending.results[i] for i in range(pending.total_items)]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ results = await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ )
+
+ # Results should be ordered by item_index
+ assert len(results) == 3
+ assert results[0]["item_index"] == 0
+ assert results[1]["item_index"] == 1
+ assert results[2]["item_index"] == 2
+
+ # Verify 3 work items were published
+ assert js.publish_async.call_count == 3
+
+
+class TestScoreRoundtrip:
+ """End-to-end score: single work item with query + items."""
+
+ @pytest.mark.asyncio
+ async def test_score_roundtrip(self) -> None:
+ """Submit score, verify single work item published with query + items."""
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(
+ pending.request_id,
+ 0,
+ result_data=[0.95, 0.42],
+ )
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ results = await publisher.submit_score(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ query={"text": "What is ML?"},
+ items=[{"text": "ML is AI."}, {"text": "Cooking recipe."}],
+ )
+
+ # Score sends exactly 1 work item (score uses js.publish, not publish_async)
+ assert js.publish.call_count == 1
+ assert len(results) == 1
+ assert results[0]["success"] is True
+
+ # Verify published payload contains query + items
+ payload = msgpack.unpackb(js.publish.call_args[0][1], raw=False)
+ assert payload["operation"] == "score"
+ assert payload["query_item"] == {"text": "What is ML?"}
+ assert payload["score_items"] == [{"text": "ML is AI."}, {"text": "Cooking recipe."}]
+
+
+class TestExtractRoundtrip:
+ """End-to-end extract: decomposed into per-item work items."""
+
+ @pytest.mark.asyncio
+ async def test_extract_roundtrip(self) -> None:
+ """Submit extract, verify decomposed work items and results."""
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ items = [{"text": "Alice works at Acme."}, {"text": "Bob is from Paris."}]
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ for i in range(pending.total_items):
+ pending.results[i] = _make_work_result(
+ pending.request_id,
+ i,
+ result_data={"entities": [{"text": f"entity-{i}", "label": "PER"}]},
+ )
+ pending.completed.set()
+ return [pending.results[i] for i in range(pending.total_items)]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ results = await publisher.submit_extract(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ labels=["PER", "ORG"],
+ )
+
+ # Extract decomposes: 2 work items published
+ assert js.publish_async.call_count == 2
+ assert len(results) == 2
+ assert all(r["success"] for r in results)
+
+
+class TestPartialFailure:
+ """Verify mixed success/failure responses."""
+
+ @pytest.mark.asyncio
+ async def test_partial_failure(self) -> None:
+ """5 items: 3 succeed and 2 fail. Response contains both."""
+ publisher, _nc, _js, _jsm = _make_publisher()
+
+ items = [{"text": f"item-{i}"} for i in range(5)]
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ # Items 0, 2, 4 succeed; items 1, 3 fail
+ for i in range(5):
+ if i % 2 == 0:
+ pending.results[i] = _make_work_result(
+ pending.request_id,
+ i,
+ result_data={"dense": [float(i)]},
+ )
+ else:
+ pending.errors[i] = (f"error for item {i}", "test_error")
+ pending.completed.set()
+ # Build ordered results (same as _wait_for_results)
+ ordered: list[WorkResult] = []
+ for i in range(5):
+ if i in pending.results:
+ ordered.append(pending.results[i])
+ else:
+ error_msg, error_code = pending.errors[i]
+ ordered.append(
+ WorkResult(
+ work_item_id=f"{pending.request_id}.{i}",
+ request_id=pending.request_id,
+ item_index=i,
+ success=False,
+ error=error_msg,
+ error_code=error_code,
+ )
+ )
+ return ordered
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ results = await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ )
+
+ assert len(results) == 5
+ # Items 0, 2, 4 succeeded
+ assert results[0]["success"] is True
+ assert results[2]["success"] is True
+ assert results[4]["success"] is True
+ # Items 1, 3 failed
+ assert results[1]["success"] is False
+ assert results[1]["error"] == "error for item 1"
+ assert results[3]["success"] is False
+ assert results[3]["error"] == "error for item 3"
+
+
+class TestTimeoutError:
+ """Verify timeout behavior."""
+
+ @pytest.mark.asyncio
+ async def test_timeout_returns_error(self) -> None:
+ """No results arrive within timeout — TimeoutError raised."""
+ publisher, _nc, _js, _jsm = _make_publisher()
+
+ items = [{"text": "hello"}]
+
+ # Don't patch _wait_for_results — let the actual timeout fire
+ with pytest.raises(TimeoutError):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ timeout=0.01,
+ )
+
+
+class TestNoConsumers:
+ """Verify NoConsumersError when no workers are subscribed."""
+
+ @pytest.mark.asyncio
+ async def test_no_consumers_returns_error(self) -> None:
+ """get_stream_health returns (0, 0) — NoConsumersError raised."""
+ publisher, _nc, _js, jsm = _make_publisher()
+ jsm.get_stream_health = AsyncMock(return_value=(0, 0))
+
+ with pytest.raises(NoConsumersError) as exc_info:
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "hello"}],
+ )
+
+ assert exc_info.value.model_id == MODEL_ID
+
+
+class TestBackpressure:
+ """Verify backpressure detection."""
+
+ @pytest.mark.asyncio
+ async def test_backpressure_returns_error(self) -> None:
+ """Pending count exceeds limit — RuntimeError with 'backpressure'."""
+ publisher, _nc, _js, jsm = _make_publisher()
+ jsm.get_stream_health = AsyncMock(return_value=(2, 999_999))
+
+ with pytest.raises(RuntimeError, match=r"[Bb]ackpressure"):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "hello"}],
+ )
+
+
+class TestDuplicateResults:
+ """Verify deduplication of result messages."""
+
+ @pytest.mark.asyncio
+ async def test_duplicate_results_deduplicated(self) -> None:
+ """Same item_index arrives twice. Only the first result is used."""
+ publisher, _nc, _js, _jsm = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=1,
+ results={},
+ errors={},
+ )
+ publisher._pending[request_id] = pending
+
+ # First result
+ first_result = _make_work_result(request_id, 0, result_data={"dense": [1.0]})
+ first_result["worker_id"] = "worker-1"
+ msg1 = MagicMock()
+ msg1.data = msgpack.packb(first_result, use_bin_type=True)
+ await publisher._on_result(msg1)
+
+ assert 0 in pending.results
+ assert pending.completed.is_set()
+
+ # Duplicate result from different worker
+ dup_result = _make_work_result(request_id, 0, result_data={"dense": [2.0]})
+ dup_result["worker_id"] = "worker-2"
+ msg2 = MagicMock()
+ msg2.data = msgpack.packb(dup_result, use_bin_type=True)
+ await publisher._on_result(msg2)
+
+ # Original result preserved
+ assert pending.results[0].get("worker_id") == "worker-1"
+
+
+class TestPayloadOffloading:
+ """Verify large payload offloading to payload store."""
+
+ @pytest.mark.asyncio
+ async def test_large_payload_offloaded(self) -> None:
+ """Item exceeding inline threshold is offloaded to payload store."""
+ store = AsyncMock(spec=PayloadStore)
+ publisher, _nc, js, _jsm = _make_publisher(payload_store=store)
+
+ large_item = {"text": "x" * (INLINE_THRESHOLD_BYTES + 1000)}
+ items = [large_item]
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(
+ pending.request_id,
+ 0,
+ result_data={"dense": [0.1]},
+ )
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ )
+
+ # Verify store.put was called for offloading
+ store.put.assert_called_once()
+ call_args = store.put.call_args
+ ref_key = call_args[0][0]
+ assert ref_key.startswith("payloads/")
+
+ # Verify the published work item has payload_ref set and item cleared
+ published_payload = msgpack.unpackb(js.publish_async.call_args[0][1], raw=False)
+ assert published_payload["item"] is None
+ assert published_payload["payload_ref"] == ref_key
+
+
+class TestBundleConfigHash:
+ """Verify bundle_config_hash is included in work items."""
+
+ @pytest.mark.asyncio
+ async def test_bundle_config_hash_included(self) -> None:
+ """Submitted work items include the bundle_config_hash field."""
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(pending.request_id, 0)
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "hello"}],
+ bundle_config_hash="abc123hash",
+ )
+
+ published_payload = msgpack.unpackb(js.publish_async.call_args[0][1], raw=False)
+ assert published_payload["bundle_config_hash"] == "abc123hash"
+
+ @pytest.mark.asyncio
+ async def test_bundle_config_hash_empty_by_default(self) -> None:
+ """When no hash is provided, field defaults to empty string."""
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(pending.request_id, 0)
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "hello"}],
+ )
+
+ published_payload = msgpack.unpackb(js.publish_async.call_args[0][1], raw=False)
+ assert published_payload["bundle_config_hash"] == ""
+
+
+class TestConcurrentRequests:
+ """Verify concurrent request handling."""
+
+ @pytest.mark.asyncio
+ async def test_concurrent_requests(self) -> None:
+ """5 encode requests submitted concurrently complete without interference."""
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ # Simulate brief processing delay
+ await asyncio.sleep(0.001)
+ for i in range(pending.total_items):
+ pending.results[i] = _make_work_result(
+ pending.request_id,
+ i,
+ result_data={"dense": [float(i)]},
+ )
+ pending.completed.set()
+ return [pending.results[i] for i in range(pending.total_items)]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ # Launch 5 concurrent requests
+ tasks = [
+ publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": f"item-{req_idx}"}],
+ )
+ for req_idx in range(5)
+ ]
+ all_results = await asyncio.gather(*tasks)
+
+ # All 5 requests should succeed
+ assert len(all_results) == 5
+ for results in all_results:
+ assert len(results) == 1
+ assert results[0]["success"] is True
+
+ # All 5 requests should have published work items
+ assert js.publish_async.call_count == 5
+
+ # No pending requests should remain
+ assert len(publisher._pending) == 0
+
+
+class TestPayloadCleanup:
+ """Verify payload store cleanup fires after results."""
+
+ @pytest.mark.asyncio
+ async def test_payload_cleanup_fires(self) -> None:
+ """After results are received, payload store cleanup happens as a background task."""
+ store = AsyncMock(spec=PayloadStore)
+ publisher, _nc, _js, _jsm = _make_publisher(payload_store=store)
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ for i in range(pending.total_items):
+ pending.results[i] = _make_work_result(pending.request_id, i)
+ pending.completed.set()
+ return [pending.results[i] for i in range(pending.total_items)]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "a"}],
+ )
+
+ # Yield to let the fire-and-forget background task run
+ await asyncio.sleep(0)
+
+ # delete_prefix should be called for cleanup
+ store.delete_prefix.assert_called_once()
+ call_arg = store.delete_prefix.call_args[0][0]
+ assert call_arg.startswith("payloads/")
diff --git a/packages/sie_router/tests/test_queue_system.py b/packages/sie_router/tests/test_queue_system.py
new file mode 100644
index 000000000..34d567fc2
--- /dev/null
+++ b/packages/sie_router/tests/test_queue_system.py
@@ -0,0 +1,982 @@
+from __future__ import annotations
+
+import asyncio
+import time
+from typing import Any
+from unittest.mock import AsyncMock, MagicMock
+
+import msgpack
+import pytest
+from sie_router.jetstream_manager import JetStreamManager
+from sie_router.payload_store import LocalPayloadStore, PayloadStore
+from sie_router.work_publisher import WorkPublisher
+from sie_sdk.queue_types import (
+ WorkItem,
+ WorkResult,
+ work_subject,
+)
+
+# ---------------------------------------------------------------------------
+# Simulation infrastructure
+# ---------------------------------------------------------------------------
+
+
+class SimMsg:
+ """Simulated NATS JetStream message."""
+
+ def __init__(self, data: bytes, subject: str, bus: QueueBus) -> None:
+ self.data = data
+ self.subject = subject
+ self._bus = bus
+ self._acked = False
+ self._naked = False
+
+ async def ack(self) -> None:
+ self._acked = True
+
+ async def nak(self, delay: float | None = None) -> None:
+ self._naked = True
+ if delay and delay > 0:
+ # Schedule redelivery after a short delay (10ms in tests)
+ loop = asyncio.get_running_loop()
+ loop.call_later(
+ 0.01,
+ lambda: asyncio.ensure_future(self._bus._redeliver(self)),
+ )
+
+
+class QueueBus:
+ """In-memory NATS JetStream simulation.
+
+ Provides work queue semantics: messages published to a subject are
+ delivered to exactly one consumer pulling from that subject. ACK removes
+ the message. NAK redelivers after delay. Inbox subjects use plain
+ pub/sub (all subscribers get the message).
+ """
+
+ def __init__(self) -> None:
+ self._queues: dict[str, asyncio.Queue[SimMsg]] = {}
+ self._inbox_callbacks: dict[str, Any] = {}
+ self._lock = asyncio.Lock()
+ self._published_count: dict[str, int] = {}
+
+ async def publish_work(self, subject: str, data: bytes) -> None:
+ """Publish a work item to a stream subject."""
+ async with self._lock:
+ if subject not in self._queues:
+ self._queues[subject] = asyncio.Queue()
+ msg = SimMsg(data, subject, self)
+ await self._queues[subject].put(msg)
+ self._published_count[subject] = self._published_count.get(subject, 0) + 1
+
+ async def pull(self, subject: str, batch: int, timeout: float = 0.1) -> list[SimMsg]: # noqa: ASYNC109
+ """Pull up to *batch* messages from a subject."""
+ if subject not in self._queues:
+ return []
+ q = self._queues[subject]
+ msgs: list[SimMsg] = []
+ try:
+ for _ in range(batch):
+ msg = q.get_nowait()
+ msgs.append(msg)
+ except asyncio.QueueEmpty:
+ if not msgs:
+ try:
+ msg = await asyncio.wait_for(q.get(), timeout=timeout)
+ msgs.append(msg)
+ except TimeoutError:
+ pass
+ return msgs
+
+ async def publish_inbox(self, subject: str, data: bytes) -> None:
+ """Publish to inbox (plain pub/sub — matches wildcard subscribers)."""
+ for pattern, cb in list(self._inbox_callbacks.items()):
+ if self._matches(pattern, subject):
+ msg = MagicMock()
+ msg.data = data
+ msg.subject = subject
+ await cb(msg)
+
+ def subscribe_inbox(self, pattern: str, cb: Any) -> None:
+ """Subscribe to inbox with wildcard pattern."""
+ self._inbox_callbacks[pattern] = cb
+
+ async def _redeliver(self, msg: SimMsg) -> None:
+ """Redeliver a NAKed message."""
+ async with self._lock:
+ if msg.subject not in self._queues:
+ self._queues[msg.subject] = asyncio.Queue()
+ new_msg = SimMsg(msg.data, msg.subject, self)
+ await self._queues[msg.subject].put(new_msg)
+
+ @staticmethod
+ def _matches(pattern: str, subject: str) -> bool:
+ """Simple wildcard matching for NATS subjects."""
+ if pattern.endswith(".>"):
+ prefix = pattern[:-2]
+ return subject.startswith(prefix + ".") or subject == prefix
+ return pattern == subject
+
+ def get_published_count(self, subject: str) -> int:
+ return self._published_count.get(subject, 0)
+
+
+class SimulatedWorker:
+ """Simulates a worker that pulls from QueueBus, processes items, publishes results."""
+
+ def __init__(
+ self,
+ bus: QueueBus,
+ worker_id: str,
+ model_ids: list[str],
+ pool_name: str = "_default",
+ batch_budget: int = 64,
+ process_time: float = 0.001,
+ loaded_models: set[str] | None = None,
+ ) -> None:
+ self.bus = bus
+ self.worker_id = worker_id
+ self.model_ids = model_ids
+ self.pool_name = pool_name
+ self.batch_budget = batch_budget
+ self.process_time = process_time
+ self.loaded_models = loaded_models if loaded_models is not None else set(model_ids)
+ self._running = False
+ self._task: asyncio.Task[None] | None = None
+ self.processed_items: list[WorkItem] = []
+ self.naked_items: list[WorkItem] = []
+
+ async def start(self) -> None:
+ self._running = True
+ self._task = asyncio.create_task(self._run())
+
+ async def stop(self) -> None:
+ self._running = False
+ if self._task:
+ self._task.cancel()
+ try:
+ await self._task
+ except asyncio.CancelledError:
+ pass
+
+ async def _run(self) -> None:
+ while self._running:
+ pulled_any = False
+ for model_id in self.model_ids:
+ subject = work_subject(model_id, self.pool_name)
+ msgs = await self.bus.pull(subject, self.batch_budget, timeout=0.01)
+ if not msgs:
+ continue
+ pulled_any = True
+ for msg in msgs:
+ wi: WorkItem = msgpack.unpackb(msg.data, raw=False)
+
+ # Simulate unloaded model behaviour
+ if model_id not in self.loaded_models:
+ self.naked_items.append(wi)
+ await msg.nak(delay=0.01)
+ continue
+
+ self.processed_items.append(wi)
+
+ # Simulate processing time
+ await asyncio.sleep(self.process_time)
+
+ # Build and publish result
+ result: WorkResult = {
+ "work_item_id": wi.get("work_item_id", ""),
+ "request_id": wi.get("request_id", ""),
+ "item_index": wi.get("item_index", 0),
+ "success": True,
+ "result_msgpack": msgpack.packb({"dense": [0.1, 0.2, 0.3]}, use_bin_type=True),
+ "queue_ms": 1.0,
+ "processing_ms": self.process_time * 1000,
+ "worker_id": self.worker_id,
+ }
+ reply = wi.get("reply_subject", "")
+ if reply:
+ await self.bus.publish_inbox(
+ reply,
+ msgpack.packb(result, use_bin_type=True),
+ )
+ await msg.ack()
+
+ if not pulled_any:
+ await asyncio.sleep(0.005)
+
+
+# ---------------------------------------------------------------------------
+# Helper: create a WorkPublisher wired to a QueueBus
+# ---------------------------------------------------------------------------
+
+
+def _make_bus_publisher(
+ bus: QueueBus,
+ router_id: str = "router-1",
+ payload_store: PayloadStore | None = None,
+) -> WorkPublisher:
+ """Create a WorkPublisher wired to a QueueBus instead of real NATS."""
+ nc = AsyncMock()
+ js = AsyncMock()
+ jsm = AsyncMock(spec=JetStreamManager)
+
+ jsm.ensure_stream = AsyncMock()
+ jsm.get_stream_health = AsyncMock(return_value=(2, 0))
+
+ # Wire publish_async to bus
+ async def _fake_publish_async(subject: str, payload: bytes, **kw: Any) -> asyncio.Future:
+ await bus.publish_work(subject, payload)
+ fut: asyncio.Future = asyncio.get_running_loop().create_future()
+ fut.set_result(None)
+ return fut
+
+ js.publish_async = AsyncMock(side_effect=_fake_publish_async)
+ js.publish_async_completed = AsyncMock()
+
+ # Wire publish (for score) to bus
+ async def _fake_publish(subject: str, payload: bytes, **kw: Any) -> MagicMock:
+ await bus.publish_work(subject, payload)
+ ack = MagicMock()
+ ack.stream = "test"
+ return ack
+
+ js.publish = AsyncMock(side_effect=_fake_publish)
+
+ # Wire inbox subscription to bus
+ async def _fake_subscribe(subject: str, cb: Any = None, **kw: Any) -> MagicMock:
+ bus.subscribe_inbox(subject, cb)
+ sub = MagicMock()
+ sub.unsubscribe = AsyncMock()
+ return sub
+
+ nc.subscribe = AsyncMock(side_effect=_fake_subscribe)
+
+ publisher = WorkPublisher(nc, js, jsm, router_id, payload_store=payload_store)
+ return publisher
+
+
+# ---------------------------------------------------------------------------
+# Test classes
+# ---------------------------------------------------------------------------
+
+
+class TestMultiModelIsolation:
+ """Items for different models route to the correct workers."""
+
+ @pytest.mark.asyncio
+ async def test_two_models_separate_workers(self) -> None:
+ """Items for model-A go to worker-A, items for model-B go to worker-B."""
+ bus = QueueBus()
+ worker_a = SimulatedWorker(bus, "w-a", ["test/model-a"])
+ worker_b = SimulatedWorker(bus, "w-b", ["test/model-b"])
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await worker_a.start()
+ await worker_b.start()
+
+ try:
+ results_a = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model-a",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"a-{i}"} for i in range(5)],
+ ),
+ timeout=5.0,
+ )
+ results_b = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model-b",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"b-{i}"} for i in range(5)],
+ ),
+ timeout=5.0,
+ )
+
+ assert len(results_a) == 5
+ assert len(results_b) == 5
+
+ # Worker A only processed model-A items
+ a_models = {wi["model_id"] for wi in worker_a.processed_items}
+ assert a_models == {"test/model-a"}
+
+ # Worker B only processed model-B items
+ b_models = {wi["model_id"] for wi in worker_b.processed_items}
+ assert b_models == {"test/model-b"}
+ finally:
+ await worker_a.stop()
+ await worker_b.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_concurrent_models_no_interference(self) -> None:
+ """Publishing to two models concurrently produces correct results for each."""
+ bus = QueueBus()
+ worker_a = SimulatedWorker(bus, "w-a", ["test/model-a"])
+ worker_b = SimulatedWorker(bus, "w-b", ["test/model-b"])
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await worker_a.start()
+ await worker_b.start()
+
+ try:
+ results = await asyncio.wait_for(
+ asyncio.gather(
+ pub.submit_encode(
+ model_id="test/model-a",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"a-{i}"} for i in range(10)],
+ ),
+ pub.submit_encode(
+ model_id="test/model-b",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"b-{i}"} for i in range(10)],
+ ),
+ ),
+ timeout=5.0,
+ )
+ assert len(results[0]) == 10
+ assert len(results[1]) == 10
+ assert len(worker_a.processed_items) == 10
+ assert len(worker_b.processed_items) == 10
+ finally:
+ await worker_a.stop()
+ await worker_b.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_pool_isolation(self) -> None:
+ """Items for pool-eval only go to eval workers, not default workers."""
+ bus = QueueBus()
+ worker_default = SimulatedWorker(bus, "w-default", ["test/model-a"], pool_name="_default")
+ worker_eval = SimulatedWorker(bus, "w-eval", ["test/model-a"], pool_name="eval")
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await worker_default.start()
+ await worker_eval.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model-a",
+ profile_id="default",
+ pool_name="eval",
+ machine_profile="l4",
+ items=[{"text": f"eval-{i}"} for i in range(5)],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 5
+ assert len(worker_eval.processed_items) == 5
+ assert len(worker_default.processed_items) == 0
+ finally:
+ await worker_default.stop()
+ await worker_eval.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_model_not_in_worker_ignored(self) -> None:
+ """Worker subscribed to model-A ignores items for model-B."""
+ bus = QueueBus()
+ worker = SimulatedWorker(bus, "w-a", ["test/model-a"])
+ await worker.start()
+
+ # Manually publish to model-B — worker shouldn't see it
+ subject = work_subject("test/model-b", "_default")
+ wi = msgpack.packb(
+ {"work_item_id": "orphan", "model_id": "test/model-b"},
+ use_bin_type=True,
+ )
+ await bus.publish_work(subject, wi)
+
+ await asyncio.sleep(0.05)
+ assert len(worker.processed_items) == 0
+ await worker.stop()
+
+ @pytest.mark.asyncio
+ async def test_score_not_decomposed(self) -> None:
+ """Score publishes single work item with query + items."""
+ bus = QueueBus()
+ worker = SimulatedWorker(bus, "w-1", ["test/reranker"])
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await worker.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_score(
+ model_id="test/reranker",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ query={"text": "query"},
+ items=[{"text": f"doc-{i}"} for i in range(10)],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 1
+ # Only 1 work item published (not 10)
+ assert len(worker.processed_items) == 1
+ wi = worker.processed_items[0]
+ assert wi["operation"] == "score"
+ finally:
+ await worker.stop()
+ await pub.stop()
+
+
+class TestMultiWorkerDistribution:
+ """Multiple workers sharing the same model distribute items fairly."""
+
+ @pytest.mark.asyncio
+ async def test_items_distributed_across_workers(self) -> None:
+ """20 items published, 2 workers — both get items, no duplicates."""
+ bus = QueueBus()
+ w1 = SimulatedWorker(bus, "w-1", ["test/model"], batch_budget=5)
+ w2 = SimulatedWorker(bus, "w-2", ["test/model"], batch_budget=5)
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await w1.start()
+ await w2.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"item-{i}"} for i in range(20)],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 20
+
+ # Both workers processed items
+ total = len(w1.processed_items) + len(w2.processed_items)
+ assert total == 20
+ assert len(w1.processed_items) > 0
+ assert len(w2.processed_items) > 0
+
+ # No duplicates
+ all_ids = [wi["work_item_id"] for wi in w1.processed_items + w2.processed_items]
+ assert len(set(all_ids)) == 20
+ finally:
+ await w1.stop()
+ await w2.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_worker_crash_items_redelivered(self) -> None:
+ """Worker crashes (NAKs items) -> items redelivered to other worker."""
+ bus = QueueBus()
+
+ class CrashingWorker(SimulatedWorker):
+ """Worker that NAKs all items (simulates crash)."""
+
+ async def _run(self) -> None:
+ while self._running:
+ for model_id in self.model_ids:
+ subject = work_subject(model_id, self.pool_name)
+ msgs = await self.bus.pull(subject, 1, timeout=0.01)
+ for msg in msgs:
+ wi = msgpack.unpackb(msg.data, raw=False)
+ self.naked_items.append(wi)
+ await msg.nak(delay=0.01)
+ await asyncio.sleep(0.005)
+
+ crasher = CrashingWorker(bus, "w-crash", ["test/model"])
+ healthy = SimulatedWorker(bus, "w-healthy", ["test/model"])
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await crasher.start()
+ await healthy.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "hello"}],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 1
+ assert results[0]["success"] is True
+ # Healthy worker eventually processed it
+ assert len(healthy.processed_items) >= 1
+ finally:
+ await crasher.stop()
+ await healthy.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_all_results_from_correct_request(self) -> None:
+ """Results from worker include correct request_id and item_index."""
+ bus = QueueBus()
+ w = SimulatedWorker(bus, "w-1", ["test/model"])
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await w.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"item-{i}"} for i in range(5)],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 5
+ # All results must share the same request_id
+ request_ids = {r["request_id"] for r in results}
+ assert len(request_ids) == 1, f"Expected 1 request_id, got {request_ids}"
+ for i, r in enumerate(results):
+ assert r["item_index"] == i
+ assert r["success"] is True
+ finally:
+ await w.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_large_batch_distributed(self) -> None:
+ """100 items across 3 workers — all processed, no duplicates."""
+ bus = QueueBus()
+ workers = [SimulatedWorker(bus, f"w-{i}", ["test/model"], batch_budget=20) for i in range(3)]
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ for w in workers:
+ await w.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"item-{i}"} for i in range(100)],
+ ),
+ timeout=10.0,
+ )
+ assert len(results) == 100
+ total = sum(len(w.processed_items) for w in workers)
+ assert total == 100
+ all_ids: list[str] = []
+ for w in workers:
+ all_ids.extend(wi["work_item_id"] for wi in w.processed_items)
+ assert len(set(all_ids)) == 100
+ finally:
+ for w in workers:
+ await w.stop()
+ await pub.stop()
+
+
+class TestMultiRouterConcurrency:
+ """Multiple routers publishing concurrently to the same stream."""
+
+ @pytest.mark.asyncio
+ async def test_two_routers_no_cross_contamination(self) -> None:
+ """Router-A and Router-B publish concurrently — each gets only its own results."""
+ bus = QueueBus()
+ w = SimulatedWorker(bus, "w-1", ["test/model"])
+ pub_a = _make_bus_publisher(bus, router_id="router-a")
+ pub_b = _make_bus_publisher(bus, router_id="router-b")
+ await pub_a.start()
+ await pub_b.start()
+ await w.start()
+
+ try:
+ results_a, results_b = await asyncio.wait_for(
+ asyncio.gather(
+ pub_a.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"a-{i}"} for i in range(5)],
+ ),
+ pub_b.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"b-{i}"} for i in range(5)],
+ ),
+ ),
+ timeout=5.0,
+ )
+ assert len(results_a) == 5
+ assert len(results_b) == 5
+
+ # Verify request IDs are different
+ req_ids_a = {r["request_id"] for r in results_a}
+ req_ids_b = {r["request_id"] for r in results_b}
+ assert req_ids_a.isdisjoint(req_ids_b)
+ finally:
+ await w.stop()
+ await pub_a.stop()
+ await pub_b.stop()
+
+ @pytest.mark.asyncio
+ async def test_router_crash_doesnt_affect_other(self) -> None:
+ """Router-A's request times out — Router-B's request succeeds."""
+ bus = QueueBus()
+ w = SimulatedWorker(bus, "w-1", ["test/model"])
+ pub_a = _make_bus_publisher(bus, router_id="router-a")
+ pub_b = _make_bus_publisher(bus, router_id="router-b")
+ await pub_a.start()
+ await pub_b.start()
+ await w.start()
+
+ try:
+ # Simulate Router-A crashing: start a request but cancel it quickly
+ task_a = asyncio.create_task(
+ pub_a.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "a-crash"}],
+ timeout=0.5, # Very short timeout to simulate crash
+ )
+ )
+
+ # Router-B's request should succeed despite Router-A's failure
+ results_b = await asyncio.wait_for(
+ pub_b.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "b-1"}],
+ ),
+ timeout=5.0,
+ )
+
+ # Clean up Router-A's failed task
+ try:
+ await task_a
+ except (TimeoutError, Exception): # noqa: BLE001, S110
+ pass # Expected — Router-A "crashed"
+
+ assert len(results_b) == 1
+ assert results_b[0]["success"] is True
+ finally:
+ await w.stop()
+ await pub_a.stop()
+ await pub_b.stop()
+
+ @pytest.mark.asyncio
+ async def test_many_concurrent_requests(self) -> None:
+ """5 concurrent requests from 2 routers — all succeed."""
+ bus = QueueBus()
+ workers = [SimulatedWorker(bus, f"w-{i}", ["test/model"]) for i in range(2)]
+ pub_a = _make_bus_publisher(bus, router_id="router-a")
+ pub_b = _make_bus_publisher(bus, router_id="router-b")
+ await pub_a.start()
+ await pub_b.start()
+ for w in workers:
+ await w.start()
+
+ try:
+ tasks = []
+ for i in range(3):
+ tasks.append(
+ pub_a.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"a-{i}-{j}"} for j in range(3)],
+ )
+ )
+ for i in range(2):
+ tasks.append(
+ pub_b.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": f"b-{i}-{j}"} for j in range(3)],
+ )
+ )
+
+ all_results = await asyncio.wait_for(asyncio.gather(*tasks), timeout=10.0)
+ for results in all_results:
+ assert len(results) == 3
+ assert all(r["success"] for r in results)
+ finally:
+ for w in workers:
+ await w.stop()
+ await pub_a.stop()
+ await pub_b.stop()
+
+
+class TestReactiveModelLoading:
+ """Worker handles items for unloaded models via NAK and background load."""
+
+ @pytest.mark.asyncio
+ async def test_unloaded_model_items_naked(self) -> None:
+ """Items for an unloaded model are NAKed, not processed."""
+ bus = QueueBus()
+ # Worker has model-a loaded but model-b configured but not loaded
+ w = SimulatedWorker(
+ bus,
+ "w-1",
+ ["test/model-a", "test/model-b"],
+ loaded_models={"test/model-a"},
+ )
+ await w.start()
+
+ # Publish item for unloaded model
+ subject = work_subject("test/model-b", "_default")
+ wi: WorkItem = {
+ "work_item_id": "req-1.0",
+ "request_id": "req-1",
+ "item_index": 0,
+ "total_items": 1,
+ "operation": "encode",
+ "model_id": "test/model-b",
+ "profile_id": "default",
+ "pool_name": "_default",
+ "reply_subject": "_INBOX.test.req-1",
+ "router_id": "r1",
+ "timestamp": time.time(),
+ }
+ await bus.publish_work(subject, msgpack.packb(wi, use_bin_type=True))
+
+ await asyncio.sleep(0.1)
+ assert len(w.naked_items) >= 1
+ assert len(w.processed_items) == 0
+ await w.stop()
+
+ @pytest.mark.asyncio
+ async def test_loaded_model_not_starved_during_unloaded_nak(self) -> None:
+ """While model-B items are NAKed, model-A items still process normally."""
+ bus = QueueBus()
+ w = SimulatedWorker(
+ bus,
+ "w-1",
+ ["test/model-a", "test/model-b"],
+ loaded_models={"test/model-a"},
+ )
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await w.start()
+
+ try:
+ # Model-A should succeed even though model-B items would be NAKed
+ results_a = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model-a",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "a-item"}],
+ ),
+ timeout=5.0,
+ )
+ assert len(results_a) == 1
+ assert results_a[0]["success"] is True
+ finally:
+ await w.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_naked_items_redeliver_to_loaded_worker(self) -> None:
+ """NAKed items are redelivered and eventually processed by a worker that has the model loaded."""
+ bus = QueueBus()
+
+ class NakOnceWorker(SimulatedWorker):
+ """Worker that NAKs once then stops pulling (simulates unloaded worker stepping aside)."""
+
+ async def _run(self) -> None:
+ while self._running:
+ for model_id in self.model_ids:
+ subject = work_subject(model_id, self.pool_name)
+ msgs = await self.bus.pull(subject, 1, timeout=0.01)
+ for msg in msgs:
+ wi = msgpack.unpackb(msg.data, raw=False)
+ self.naked_items.append(wi)
+ await msg.nak(delay=0.01)
+ # Stop after first NAK so redelivered msg goes to w2
+ self._running = False
+ return
+ await asyncio.sleep(0.005)
+
+ # Worker-1 doesn't have model-b loaded — will NAK once, then stop
+ w1 = NakOnceWorker(bus, "w-1", ["test/model-b"], loaded_models=set())
+ # Worker-2 has model-b loaded — will process
+ w2 = SimulatedWorker(bus, "w-2", ["test/model-b"], loaded_models={"test/model-b"})
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await w1.start()
+ await w2.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model-b",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "b-item"}],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 1
+ assert results[0]["success"] is True
+ # w1 NAKed at least once
+ assert len(w1.naked_items) >= 1
+ # Worker-2 processed it after redelivery
+ assert len(w2.processed_items) >= 1
+ finally:
+ await w1.stop()
+ await w2.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_model_loaded_after_nak_processes_items(self) -> None:
+ """Worker initially NAKs, then 'loads' the model, processes redelivered items."""
+ bus = QueueBus()
+ w = SimulatedWorker(bus, "w-1", ["test/model"], loaded_models=set())
+ pub = _make_bus_publisher(bus)
+ await pub.start()
+ await w.start()
+
+ # Simulate model being loaded after a short delay
+ async def load_model_later() -> None:
+ await asyncio.sleep(0.05)
+ w.loaded_models.add("test/model")
+
+ try:
+ load_task = asyncio.create_task(load_model_later())
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "delayed-item"}],
+ ),
+ timeout=5.0,
+ )
+ await load_task
+ assert len(results) == 1
+ assert results[0]["success"] is True
+ finally:
+ await w.stop()
+ await pub.stop()
+
+
+class TestPayloadOffloadEndToEnd:
+ """Router offloads large payload -> worker fetches from same store."""
+
+ @pytest.mark.asyncio
+ async def test_large_payload_roundtrip(self, tmp_path: Any) -> None:
+ """Large item offloaded to payload store, worker fetches and processes."""
+ store = LocalPayloadStore(base_dir=str(tmp_path / "payloads"))
+ bus = QueueBus()
+
+ class PayloadAwareWorker(SimulatedWorker):
+ """Worker that checks for payload_ref."""
+
+ async def _run(self) -> None:
+ while self._running:
+ for model_id in self.model_ids:
+ subject = work_subject(model_id, self.pool_name)
+ msgs = await self.bus.pull(subject, self.batch_budget, timeout=0.01)
+ for msg in msgs:
+ wi = msgpack.unpackb(msg.data, raw=False)
+ self.processed_items.append(wi)
+
+ # Verify payload was offloaded
+ if wi.get("payload_ref"):
+ payload = await store.get(wi["payload_ref"])
+ assert len(payload) > 0
+
+ result: WorkResult = {
+ "work_item_id": wi.get("work_item_id", ""),
+ "request_id": wi.get("request_id", ""),
+ "item_index": wi.get("item_index", 0),
+ "success": True,
+ "result_msgpack": msgpack.packb({"dense": [0.1]}, use_bin_type=True),
+ "queue_ms": 0.0,
+ "processing_ms": 0.0,
+ "worker_id": self.worker_id,
+ }
+ reply = wi.get("reply_subject", "")
+ if reply:
+ await self.bus.publish_inbox(
+ reply,
+ msgpack.packb(result, use_bin_type=True),
+ )
+ await msg.ack()
+ await asyncio.sleep(0.005)
+
+ w = PayloadAwareWorker(bus, "w-1", ["test/model"])
+ pub = _make_bus_publisher(bus, payload_store=store)
+ await pub.start()
+ await w.start()
+
+ try:
+ # Create a large item that exceeds inline threshold
+ large_text = "x" * (1024 * 1024 + 100) # > 1MB
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": large_text}],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 1
+ assert results[0]["success"] is True
+ # Verify the worker received a payload_ref (not inline)
+ assert w.processed_items[0].get("payload_ref") is not None
+ finally:
+ await w.stop()
+ await pub.stop()
+
+ @pytest.mark.asyncio
+ async def test_small_payload_stays_inline(self, tmp_path: Any) -> None:
+ """Small items are published inline, not offloaded."""
+ store = LocalPayloadStore(base_dir=str(tmp_path / "payloads"))
+ bus = QueueBus()
+ w = SimulatedWorker(bus, "w-1", ["test/model"])
+ pub = _make_bus_publisher(bus, payload_store=store)
+ await pub.start()
+ await w.start()
+
+ try:
+ results = await asyncio.wait_for(
+ pub.submit_encode(
+ model_id="test/model",
+ profile_id="default",
+ pool_name="_default",
+ machine_profile="l4",
+ items=[{"text": "small text"}],
+ ),
+ timeout=5.0,
+ )
+ assert len(results) == 1
+ # Item should be inline (no payload_ref)
+ assert w.processed_items[0].get("payload_ref") is None
+ assert w.processed_items[0].get("item") is not None
+ finally:
+ await w.stop()
+ await pub.stop()
diff --git a/packages/sie_router/tests/test_queue_types.py b/packages/sie_router/tests/test_queue_types.py
new file mode 100644
index 000000000..71b0de6b9
--- /dev/null
+++ b/packages/sie_router/tests/test_queue_types.py
@@ -0,0 +1,80 @@
+"""Tests for NATS JetStream queue types and helpers."""
+
+from sie_sdk.queue_types import (
+ INLINE_THRESHOLD_BYTES,
+ denormalize_model_id,
+ normalize_model_id,
+ work_consumer_name,
+ work_stream_name,
+ work_subject,
+)
+
+
+class TestNormalizeModelId:
+ def test_slash_replaced(self) -> None:
+ assert normalize_model_id("BAAI/bge-m3") == "BAAI__bge-m3"
+
+ def test_no_slash(self) -> None:
+ assert normalize_model_id("bge-m3") == "bge-m3"
+
+ def test_multiple_slashes(self) -> None:
+ assert normalize_model_id("org/group/model") == "org__group__model"
+
+
+class TestWorkSubject:
+ def test_default_pool(self) -> None:
+ assert work_subject("BAAI/bge-m3", "_default") == "sie.work.BAAI__bge-m3._default"
+
+ def test_named_pool(self) -> None:
+ assert work_subject("BAAI/bge-m3", "eval-pool") == "sie.work.BAAI__bge-m3.eval-pool"
+
+
+class TestWorkStreamName:
+ def test_format(self) -> None:
+ assert work_stream_name("BAAI/bge-m3") == "WORK_BAAI__bge-m3"
+
+
+class TestWorkConsumerName:
+ def test_format(self) -> None:
+ assert work_consumer_name("default", "_default") == "default__default"
+
+ def test_sglang_pool(self) -> None:
+ assert work_consumer_name("sglang", "eval") == "sglang_eval"
+
+
+class TestDenormalizeModelId:
+ def test_double_underscore_to_slash(self) -> None:
+ assert denormalize_model_id("BAAI__bge-m3") == "BAAI/bge-m3"
+
+ def test_dot_encoding_reversed(self) -> None:
+ assert denormalize_model_id("org__model_dot_v2") == "org/model.v2"
+
+ def test_no_encoding(self) -> None:
+ assert denormalize_model_id("bge-m3") == "bge-m3"
+
+ def test_multiple_slashes_roundtrip(self) -> None:
+ original = "org/group/model"
+ assert denormalize_model_id(normalize_model_id(original)) == original
+
+ def test_roundtrip_simple(self) -> None:
+ """denormalize(normalize(id)) == id for typical HuggingFace IDs."""
+ for model_id in ["BAAI/bge-m3", "intfloat/e5-base-v2", "sentence-transformers/all-MiniLM-L6-v2"]:
+ assert denormalize_model_id(normalize_model_id(model_id)) == model_id
+
+ def test_roundtrip_with_dots(self) -> None:
+ """Roundtrip works for IDs containing dots."""
+ original = "org/model.v2.1"
+ assert denormalize_model_id(normalize_model_id(original)) == original
+
+ def test_collision_with_literal_double_underscore(self) -> None:
+ """IDs with literal __ are NOT roundtrippable — document the edge case."""
+ original = "org/a__b"
+ normalized = normalize_model_id(original)
+ # normalize: "org/a__b" → "org__a__b" → denormalize: "org/a/b" (wrong!)
+ assert denormalize_model_id(normalized) != original
+ assert denormalize_model_id(normalized) == "org/a/b"
+
+
+class TestInlineThreshold:
+ def test_is_1mb(self) -> None:
+ assert INLINE_THRESHOLD_BYTES == 1_048_576
diff --git a/packages/sie_router/tests/test_registry.py b/packages/sie_router/tests/test_registry.py
index 55c2de70f..d5a71159a 100644
--- a/packages/sie_router/tests/test_registry.py
+++ b/packages/sie_router/tests/test_registry.py
@@ -1,9 +1,11 @@
"""Tests for WorkerRegistry routing logic."""
import asyncio
+from unittest.mock import patch
import pytest
-from sie_router.registry import WorkerRegistry
+from sie_router.registry import WorkerRegistry, _fill_first_score
+from sie_router.types import WorkerState
class TestWorkerRegistry:
@@ -112,17 +114,17 @@ class TestWorkerRegistry:
assert worker is not None
assert worker.name == "worker-0"
- # For different model, should pick lower queue depth
+ # For unknown model, no workers have it loaded — falls back to lowest queue depth
worker = registry.select_worker(model="gte-qwen2")
assert worker is not None
- assert worker.name == "worker-1" # Lower queue depth
+ assert worker.name == "worker-1" # Lowest queue depth (no fill-first for unknown models)
@pytest.mark.asyncio
- async def test_load_balancing(self) -> None:
- """select_worker picks lowest queue depth among candidates."""
+ async def test_load_balancing_fill_first(self) -> None:
+ """select_worker with fill-first picks highest below-threshold queue."""
registry = WorkerRegistry()
- # Worker with high queue (queue_depth from models array)
+ # Worker with high queue (above 80% threshold: 100/64 = 156%)
await registry.update_worker(
"http://worker-0:8080",
{
@@ -134,7 +136,7 @@ class TestWorkerRegistry:
},
)
- # Worker with low queue
+ # Worker with low queue (below threshold: 5/64 = 7.8%)
await registry.update_worker(
"http://worker-1:8080",
{
@@ -146,7 +148,7 @@ class TestWorkerRegistry:
},
)
- # Worker with medium queue
+ # Worker with medium queue (below threshold: 50/64 = 78%)
await registry.update_worker(
"http://worker-2:8080",
{
@@ -158,10 +160,42 @@ class TestWorkerRegistry:
},
)
- # Should pick worker-1 (lowest queue)
+ # Fill-first: prefers highest queue below threshold → worker-2 (50, below 80%)
+ # worker-0 (100) is above threshold and penalized
worker = registry.select_worker()
assert worker is not None
- assert worker.name == "worker-1"
+ assert worker.name == "worker-2"
+
+ @pytest.mark.asyncio
+ async def test_load_balancing_legacy(self) -> None:
+ """select_worker with fill-first disabled picks lowest queue depth."""
+ registry = WorkerRegistry()
+
+ await registry.update_worker(
+ "http://worker-0:8080",
+ {
+ "name": "worker-0",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 100}],
+ },
+ )
+ await registry.update_worker(
+ "http://worker-1:8080",
+ {
+ "name": "worker-1",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 5}],
+ },
+ )
+
+ with patch("sie_router.registry.FILL_FIRST_ENABLED", False):
+ worker = registry.select_worker()
+ assert worker is not None
+ assert worker.name == "worker-1" # Lowest queue depth
@pytest.mark.asyncio
async def test_unhealthy_workers_excluded(self) -> None:
@@ -627,3 +661,190 @@ class TestWorkerHealthyCallback:
{"name": "worker-0", "ready": True, "machine_profile": "l4"},
)
assert call_count == 2 # Called again on recovery
+
+
+class TestFillFirstScoring:
+ """Tests for fill-first batch scoring strategy."""
+
+ def test_score_prefers_higher_queue_depth_below_threshold(self) -> None:
+ """Workers with more pending items score lower (better) below threshold."""
+ empty = WorkerState(url="http://w0:8080", queue_depth=0, max_batch_requests=64)
+ partial = WorkerState(url="http://w1:8080", queue_depth=30, max_batch_requests=64)
+ half = WorkerState(url="http://w2:8080", queue_depth=50, max_batch_requests=64)
+
+ # Higher queue depth = lower (better) score below 80% threshold
+ assert _fill_first_score(partial) < _fill_first_score(empty)
+ assert _fill_first_score(half) < _fill_first_score(partial)
+
+ def test_score_penalizes_above_threshold(self) -> None:
+ """Workers above 80% capacity score worse than any below-threshold worker."""
+ below = WorkerState(url="http://w0:8080", queue_depth=1, max_batch_requests=64)
+ at_threshold = WorkerState(url="http://w1:8080", queue_depth=52, max_batch_requests=64) # 52/64 = 81%
+ full = WorkerState(url="http://w2:8080", queue_depth=64, max_batch_requests=64)
+
+ # Any below-threshold worker is better than any above-threshold worker
+ assert _fill_first_score(below) < _fill_first_score(at_threshold)
+ assert _fill_first_score(below) < _fill_first_score(full)
+
+ def test_score_above_threshold_prefers_lower_queue(self) -> None:
+ """Among above-threshold workers, lower queue depth is preferred."""
+ w1 = WorkerState(url="http://w1:8080", queue_depth=52, max_batch_requests=64)
+ w2 = WorkerState(url="http://w2:8080", queue_depth=60, max_batch_requests=64)
+
+ assert _fill_first_score(w1) < _fill_first_score(w2)
+
+ def test_score_handles_zero_capacity(self) -> None:
+ """Workers with zero capacity don't cause division by zero."""
+ w = WorkerState(url="http://w:8080", queue_depth=5, max_batch_requests=0)
+ score = _fill_first_score(w)
+ # max_batch_requests=0 triggers fallback: capacity = 0 or 64 = 64
+ # fill_ratio = 5/64 ≈ 0.078 < 0.8 threshold → returns -queue_depth
+ assert score == -5
+
+ def test_score_uses_default_capacity(self) -> None:
+ """Default max_batch_requests (64) is used when not set."""
+ w = WorkerState(url="http://w:8080", queue_depth=10)
+ assert w.max_batch_requests == 64
+ score = _fill_first_score(w)
+ assert score == -10
+
+ @pytest.mark.asyncio
+ async def test_fill_first_selects_partially_filled_worker(self) -> None:
+ """select_worker with fill-first picks partially-filled over empty."""
+ registry = WorkerRegistry()
+
+ # Worker with some pending items (partially filled batch)
+ await registry.update_worker(
+ "http://worker-busy:8080",
+ {
+ "name": "worker-busy",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 30}],
+ "max_batch_requests": 64,
+ },
+ )
+
+ # Worker with empty queue
+ await registry.update_worker(
+ "http://worker-empty:8080",
+ {
+ "name": "worker-empty",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 0}],
+ "max_batch_requests": 64,
+ },
+ )
+
+ # With fill-first enabled, should prefer worker-busy (closer to full batch)
+ with patch("sie_router.registry.FILL_FIRST_ENABLED", True):
+ worker = registry.select_worker()
+ assert worker is not None
+ assert worker.name == "worker-busy"
+
+ @pytest.mark.asyncio
+ async def test_fill_first_avoids_near_full_worker(self) -> None:
+ """select_worker with fill-first avoids near-capacity workers."""
+ registry = WorkerRegistry()
+
+ # Worker nearly full (> 80% of 64 = 51.2)
+ await registry.update_worker(
+ "http://worker-full:8080",
+ {
+ "name": "worker-full",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 55}],
+ "max_batch_requests": 64,
+ },
+ )
+
+ # Worker with moderate fill
+ await registry.update_worker(
+ "http://worker-moderate:8080",
+ {
+ "name": "worker-moderate",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 20}],
+ "max_batch_requests": 64,
+ },
+ )
+
+ with patch("sie_router.registry.FILL_FIRST_ENABLED", True):
+ worker = registry.select_worker()
+ assert worker is not None
+ assert worker.name == "worker-moderate"
+
+ @pytest.mark.asyncio
+ async def test_legacy_scoring_when_fill_first_disabled(self) -> None:
+ """select_worker uses lowest-queue-depth when fill-first is disabled."""
+ registry = WorkerRegistry()
+
+ # Worker with high queue
+ await registry.update_worker(
+ "http://worker-busy:8080",
+ {
+ "name": "worker-busy",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 30}],
+ },
+ )
+
+ # Worker with low queue
+ await registry.update_worker(
+ "http://worker-idle:8080",
+ {
+ "name": "worker-idle",
+ "ready": True,
+ "machine_profile": "l4",
+ "loaded_models": ["model-a"],
+ "models": [{"name": "model-a", "queue_depth": 2}],
+ },
+ )
+
+ # With fill-first disabled, should prefer lowest queue depth
+ with patch("sie_router.registry.FILL_FIRST_ENABLED", False):
+ worker = registry.select_worker()
+ assert worker is not None
+ assert worker.name == "worker-idle"
+
+ @pytest.mark.asyncio
+ async def test_max_batch_requests_extracted_from_status(self) -> None:
+ """update_worker extracts max_batch_requests from status message."""
+ registry = WorkerRegistry()
+
+ await registry.update_worker(
+ "http://worker-0:8080",
+ {
+ "name": "worker-0",
+ "ready": True,
+ "machine_profile": "l4",
+ "max_batch_requests": 128,
+ },
+ )
+
+ worker = registry.get_worker("http://worker-0:8080")
+ assert worker is not None
+ assert worker.max_batch_requests == 128
+
+ @pytest.mark.asyncio
+ async def test_max_batch_requests_defaults_to_64(self) -> None:
+ """max_batch_requests defaults to 64 when not in status message."""
+ registry = WorkerRegistry()
+
+ await registry.update_worker(
+ "http://worker-0:8080",
+ {"name": "worker-0", "ready": True, "machine_profile": "l4"},
+ )
+
+ worker = registry.get_worker("http://worker-0:8080")
+ assert worker is not None
+ assert worker.max_batch_requests == 64
diff --git a/packages/sie_router/tests/test_work_publisher.py b/packages/sie_router/tests/test_work_publisher.py
new file mode 100644
index 000000000..f38bba9b6
--- /dev/null
+++ b/packages/sie_router/tests/test_work_publisher.py
@@ -0,0 +1,794 @@
+import asyncio
+from typing import Any
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import msgpack
+import pytest
+from sie_router.jetstream_manager import JetStreamManager
+from sie_router.payload_store import PayloadStore
+from sie_router.work_publisher import (
+ NoConsumersError,
+ PendingRequest,
+ WorkPublisher,
+)
+from sie_sdk.queue_types import INLINE_THRESHOLD_BYTES, WorkResult
+
+ROUTER_ID = "test-router"
+MODEL_ID = "BAAI/bge-m3"
+PROFILE_ID = "default"
+POOL_NAME = "_default"
+MACHINE_PROFILE = "l4"
+
+
+def _make_publisher(
+ *,
+ payload_store: PayloadStore | None = None,
+) -> tuple[WorkPublisher, AsyncMock, AsyncMock, AsyncMock]:
+ """Create a WorkPublisher with mocked NATS/JetStream dependencies."""
+ nc = AsyncMock()
+ js = AsyncMock()
+
+ # publish_async must return real asyncio.Future objects (not AsyncMock)
+ # because submit_encode inspects .done() and .exception() on them.
+ async def _fake_publish_async(subject: str, payload: bytes, **kwargs: Any) -> asyncio.Future:
+ fut: asyncio.Future = asyncio.get_event_loop().create_future()
+ fut.set_result(None) # Simulate successful PubAck
+ return fut
+
+ js.publish_async = AsyncMock(side_effect=_fake_publish_async)
+ js.publish_async_completed = AsyncMock()
+
+ jsm = AsyncMock(spec=JetStreamManager)
+ # Default: stream has consumers and is below backpressure limit
+ jsm.get_stream_health = AsyncMock(return_value=(2, 0))
+ jsm.ensure_stream = AsyncMock(return_value="WORK_BAAI__bge-m3")
+ publisher = WorkPublisher(nc, js, jsm, ROUTER_ID, payload_store=payload_store)
+ return publisher, nc, js, jsm
+
+
+def _make_work_result(
+ request_id: str,
+ item_index: int,
+ *,
+ success: bool = True,
+ error: str | None = None,
+) -> WorkResult:
+ """Build a minimal WorkResult dict."""
+ result: WorkResult = {
+ "work_item_id": f"{request_id}.{item_index}",
+ "request_id": request_id,
+ "item_index": item_index,
+ "success": success,
+ }
+ if not success and error:
+ result["error"] = error
+ result["error_code"] = "test_error"
+ return result
+
+
+class TestNextRequestId:
+ """Tests for WorkPublisher._next_request_id."""
+
+ def test_generates_unique_sequential_ids(self) -> None:
+ publisher, *_ = _make_publisher()
+
+ id1 = publisher._next_request_id()
+ id2 = publisher._next_request_id()
+ id3 = publisher._next_request_id()
+
+ assert id1 == f"{ROUTER_ID}-1"
+ assert id2 == f"{ROUTER_ID}-2"
+ assert id3 == f"{ROUTER_ID}-3"
+
+ def test_ids_include_router_id(self) -> None:
+ nc = AsyncMock()
+ js = AsyncMock()
+ jsm = AsyncMock(spec=JetStreamManager)
+ publisher = WorkPublisher(nc, js, jsm, "my-router-42")
+
+ rid = publisher._next_request_id()
+ assert rid.startswith("my-router-42-")
+
+ def test_no_duplicates_across_many_calls(self) -> None:
+ publisher, *_ = _make_publisher()
+ ids = {publisher._next_request_id() for _ in range(1000)}
+ assert len(ids) == 1000
+
+
+class TestOnResult:
+ """Tests for WorkPublisher._on_result."""
+
+ @pytest.mark.asyncio
+ async def test_stores_result_and_sets_completed(self) -> None:
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=2,
+ results={},
+ errors={},
+ )
+ publisher._pending[request_id] = pending
+
+ # Deliver result for item 0
+ msg0 = MagicMock()
+ msg0.data = msgpack.packb(_make_work_result(request_id, 0), use_bin_type=True)
+ await publisher._on_result(msg0)
+
+ assert 0 in pending.results
+ assert not pending.completed.is_set()
+
+ # Deliver result for item 1 — should complete
+ msg1 = MagicMock()
+ msg1.data = msgpack.packb(_make_work_result(request_id, 1), use_bin_type=True)
+ await publisher._on_result(msg1)
+
+ assert 1 in pending.results
+ assert pending.completed.is_set()
+
+ @pytest.mark.asyncio
+ async def test_stores_error_result(self) -> None:
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=1,
+ results={},
+ errors={},
+ )
+ publisher._pending[request_id] = pending
+
+ msg = MagicMock()
+ msg.data = msgpack.packb(
+ _make_work_result(request_id, 0, success=False, error="model OOM"),
+ use_bin_type=True,
+ )
+ await publisher._on_result(msg)
+
+ assert 0 in pending.errors
+ assert pending.errors[0] == ("model OOM", "test_error")
+ assert pending.completed.is_set()
+
+ @pytest.mark.asyncio
+ async def test_deduplicates_same_item_index(self) -> None:
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=1,
+ results={},
+ errors={},
+ )
+ publisher._pending[request_id] = pending
+
+ result = _make_work_result(request_id, 0)
+ msg = MagicMock()
+ msg.data = msgpack.packb(result, use_bin_type=True)
+
+ await publisher._on_result(msg)
+ assert pending.completed.is_set()
+
+ # Second delivery of same item_index — should be silently dropped
+ dup_result = _make_work_result(request_id, 0)
+ dup_result["worker_id"] = "duplicate-worker"
+ dup_msg = MagicMock()
+ dup_msg.data = msgpack.packb(dup_result, use_bin_type=True)
+ await publisher._on_result(dup_msg)
+
+ # Original result preserved (no "worker_id" key)
+ assert pending.results[0].get("worker_id") is None
+
+ @pytest.mark.asyncio
+ async def test_deduplicates_error_then_success(self) -> None:
+ """First error result wins; subsequent success for same index is dropped."""
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=1,
+ results={},
+ errors={},
+ )
+ publisher._pending[request_id] = pending
+
+ # First: error
+ err_msg = MagicMock()
+ err_msg.data = msgpack.packb(
+ _make_work_result(request_id, 0, success=False, error="fail"),
+ use_bin_type=True,
+ )
+ await publisher._on_result(err_msg)
+ assert 0 in pending.errors
+
+ # Second: success for same index — should be dropped
+ ok_msg = MagicMock()
+ ok_msg.data = msgpack.packb(
+ _make_work_result(request_id, 0, success=True),
+ use_bin_type=True,
+ )
+ await publisher._on_result(ok_msg)
+
+ # Error still there, success not added
+ assert 0 in pending.errors
+ assert 0 not in pending.results
+
+ @pytest.mark.asyncio
+ async def test_unknown_request_id_dropped(self) -> None:
+ publisher, *_ = _make_publisher()
+
+ msg = MagicMock()
+ msg.data = msgpack.packb(
+ _make_work_result("unknown-request-999", 0),
+ use_bin_type=True,
+ )
+
+ # Should not raise and not modify state
+ await publisher._on_result(msg)
+ assert len(publisher._pending) == 0
+
+ @pytest.mark.asyncio
+ async def test_malformed_msgpack_dropped(self) -> None:
+ publisher, *_ = _make_publisher()
+
+ msg = MagicMock()
+ msg.data = b"not valid msgpack \xff\xfe"
+
+ # Should not raise
+ await publisher._on_result(msg)
+
+ @pytest.mark.asyncio
+ async def test_mixed_successes_and_errors_complete(self) -> None:
+ """Completed event fires when total_received == total_items (mix of ok/err)."""
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=3,
+ results={},
+ errors={},
+ )
+ publisher._pending[request_id] = pending
+
+ # Item 0: success
+ msg0 = MagicMock()
+ msg0.data = msgpack.packb(_make_work_result(request_id, 0), use_bin_type=True)
+ await publisher._on_result(msg0)
+
+ # Item 1: error
+ msg1 = MagicMock()
+ msg1.data = msgpack.packb(
+ _make_work_result(request_id, 1, success=False, error="err"),
+ use_bin_type=True,
+ )
+ await publisher._on_result(msg1)
+
+ assert not pending.completed.is_set()
+
+ # Item 2: success — should complete
+ msg2 = MagicMock()
+ msg2.data = msgpack.packb(_make_work_result(request_id, 2), use_bin_type=True)
+ await publisher._on_result(msg2)
+
+ assert pending.completed.is_set()
+
+
+class TestWaitForResults:
+ """Tests for WorkPublisher._wait_for_results."""
+
+ @pytest.mark.asyncio
+ async def test_returns_ordered_results(self) -> None:
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=3,
+ results={
+ 2: _make_work_result(request_id, 2),
+ 0: _make_work_result(request_id, 0),
+ 1: _make_work_result(request_id, 1),
+ },
+ errors={},
+ )
+ pending.completed.set()
+
+ results = await publisher._wait_for_results(pending, timeout=5.0)
+
+ assert len(results) == 3
+ assert results[0]["item_index"] == 0
+ assert results[1]["item_index"] == 1
+ assert results[2]["item_index"] == 2
+
+ @pytest.mark.asyncio
+ async def test_returns_error_results_in_order(self) -> None:
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=2,
+ results={0: _make_work_result(request_id, 0)},
+ errors={1: ("oops", "internal_error")},
+ )
+ pending.completed.set()
+
+ results = await publisher._wait_for_results(pending, timeout=5.0)
+
+ assert len(results) == 2
+ assert results[0]["success"] is True
+ assert results[1]["success"] is False
+ assert results[1]["error"] == "oops"
+ assert results[1]["error_code"] == "internal_error"
+
+ @pytest.mark.asyncio
+ async def test_raises_timeout_error(self) -> None:
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=2,
+ results={},
+ errors={},
+ )
+ # Do NOT set completed — simulates timeout
+
+ with pytest.raises(TimeoutError):
+ await publisher._wait_for_results(pending, timeout=0.01)
+
+ @pytest.mark.asyncio
+ async def test_missing_result_index_returns_error_placeholder(self) -> None:
+ """If completed is set but an index is missing, a placeholder error is returned."""
+ publisher, *_ = _make_publisher()
+ request_id = "test-router-1"
+
+ pending = PendingRequest(
+ request_id=request_id,
+ total_items=2,
+ results={0: _make_work_result(request_id, 0)},
+ errors={},
+ # Missing index 1 — but we force completed
+ )
+ pending.completed.set()
+
+ results = await publisher._wait_for_results(pending, timeout=5.0)
+
+ assert results[1]["success"] is False
+ assert results[1]["error"] == "Result missing"
+ assert results[1]["error_code"] == "result_missing"
+
+
+class TestCheckBackpressure:
+ """Tests for WorkPublisher._check_backpressure."""
+
+ @pytest.mark.asyncio
+ async def test_raises_runtime_error_when_over_limit(self) -> None:
+ publisher, _, _, jsm = _make_publisher()
+ jsm.get_stream_health = AsyncMock(return_value=(2, 999_999))
+
+ with pytest.raises(RuntimeError, match="Stream backpressure"):
+ await publisher._check_backpressure(MODEL_ID)
+
+ @pytest.mark.asyncio
+ async def test_raises_no_consumers_error_when_zero(self) -> None:
+ publisher, _, _, jsm = _make_publisher()
+ jsm.get_stream_health = AsyncMock(return_value=(0, 0))
+
+ with pytest.raises(NoConsumersError) as exc_info:
+ await publisher._check_backpressure(MODEL_ID)
+
+ assert exc_info.value.model_id == MODEL_ID
+
+ @pytest.mark.asyncio
+ async def test_passes_when_within_limit(self) -> None:
+ publisher, _, _, jsm = _make_publisher()
+ jsm.get_stream_health = AsyncMock(return_value=(5, 100))
+
+ # Should not raise
+ await publisher._check_backpressure(MODEL_ID)
+
+ @pytest.mark.asyncio
+ async def test_no_consumers_error_has_model_id(self) -> None:
+ publisher, _, _, jsm = _make_publisher()
+ jsm.get_stream_health = AsyncMock(return_value=(0, 0))
+
+ with pytest.raises(NoConsumersError, match="custom/model") as exc_info:
+ await publisher._check_backpressure("custom/model")
+
+ assert exc_info.value.model_id == "custom/model"
+
+
+class TestBuildWorkItem:
+ """Tests for WorkPublisher._build_work_item."""
+
+ @pytest.mark.asyncio
+ async def test_includes_all_required_fields(self) -> None:
+ publisher, *_ = _make_publisher()
+ item = {"text": "hello world"}
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=0,
+ total_items=3,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item=item,
+ )
+
+ # Required fields
+ assert wi["work_item_id"] == "r1.0"
+ assert wi["request_id"] == "r1"
+ assert wi["item_index"] == 0
+ assert wi["total_items"] == 3
+ assert wi["operation"] == "encode"
+ assert wi["model_id"] == MODEL_ID
+ assert wi["profile_id"] == PROFILE_ID
+ assert wi["pool_name"] == POOL_NAME
+ assert wi["machine_profile"] == MACHINE_PROFILE
+ assert wi["router_id"] == ROUTER_ID
+ assert wi["reply_subject"] == "_INBOX.test-router.r1"
+ assert wi["timestamp"] > 0
+
+ # Item is inline
+ assert wi["item"] == item
+ assert wi.get("payload_ref") is None
+
+ @pytest.mark.asyncio
+ async def test_includes_optional_fields(self) -> None:
+ publisher, *_ = _make_publisher()
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=0,
+ total_items=1,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item={"text": "x"},
+ output_types=["dense", "sparse"],
+ instruction="Retrieve passages",
+ is_query=True,
+ options={"pooling": "mean"},
+ )
+
+ assert wi["output_types"] == ["dense", "sparse"]
+ assert wi["instruction"] == "Retrieve passages"
+ assert wi["is_query"] is True
+ assert wi["options"] == {"pooling": "mean"}
+
+ @pytest.mark.asyncio
+ async def test_extract_fields(self) -> None:
+ publisher, *_ = _make_publisher()
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=0,
+ total_items=1,
+ operation="extract",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item={"text": "x"},
+ labels=["PER", "ORG"],
+ output_schema={"type": "array"},
+ )
+
+ assert wi["labels"] == ["PER", "ORG"]
+ assert wi["output_schema"] == {"type": "array"}
+
+ @pytest.mark.asyncio
+ async def test_work_item_id_format(self) -> None:
+ publisher, *_ = _make_publisher()
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="router-1-42",
+ item_index=7,
+ total_items=10,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item={"text": "x"},
+ )
+
+ assert wi["work_item_id"] == "router-1-42.7"
+
+
+class TestPayloadOffloading:
+ """Tests for payload offloading when item exceeds inline threshold."""
+
+ @pytest.mark.asyncio
+ async def test_offloads_when_exceeds_threshold(self) -> None:
+ store = AsyncMock(spec=PayloadStore)
+ publisher, *_ = _make_publisher(payload_store=store)
+
+ # Create an item large enough that the serialized WorkItem exceeds 1MB
+ large_item = {"text": "x" * (INLINE_THRESHOLD_BYTES + 1000)}
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=3,
+ total_items=5,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item=large_item,
+ )
+
+ # Item should be cleared and replaced with a reference
+ assert wi["item"] is None
+ assert wi["payload_ref"] == "payloads/r1/3"
+
+ # Store.put should have been called
+ store.put.assert_called_once()
+ call_args = store.put.call_args
+ assert call_args[0][0] == "payloads/r1/3"
+
+ @pytest.mark.asyncio
+ async def test_no_offload_when_below_threshold(self) -> None:
+ store = AsyncMock(spec=PayloadStore)
+ publisher, *_ = _make_publisher(payload_store=store)
+
+ small_item = {"text": "small"}
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=0,
+ total_items=1,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item=small_item,
+ )
+
+ # Item should remain inline
+ assert wi["item"] == small_item
+ assert wi.get("payload_ref") is None
+ store.put.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_no_offload_without_store(self) -> None:
+ publisher, *_ = _make_publisher(payload_store=None)
+
+ large_item = {"text": "x" * (INLINE_THRESHOLD_BYTES + 1000)}
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=0,
+ total_items=1,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item=large_item,
+ )
+
+ # Item stays inline when no store is configured
+ assert wi["item"] == large_item
+
+ @pytest.mark.asyncio
+ async def test_no_offload_when_item_is_none(self) -> None:
+ store = AsyncMock(spec=PayloadStore)
+ publisher, *_ = _make_publisher(payload_store=store)
+
+ wi, _payload = await publisher._build_work_item(
+ request_id="r1",
+ item_index=0,
+ total_items=1,
+ operation="encode",
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ reply_subject="_INBOX.test-router.r1",
+ item=None,
+ )
+
+ assert wi["item"] is None
+ store.put.assert_not_called()
+
+
+class TestSubmitEncode:
+ """Tests for submit_encode end-to-end with mocked NATS."""
+
+ @pytest.mark.asyncio
+ async def test_publishes_one_item_per_input(self) -> None:
+ publisher, _nc, js, _jsm = _make_publisher()
+ items = [{"text": "a"}, {"text": "b"}, {"text": "c"}]
+
+ # We need to simulate results arriving. Do it by manipulating _pending
+ # after the publish calls are made.
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ """Fake _wait_for_results that returns immediately."""
+ for i in range(pending.total_items):
+ pending.results[i] = _make_work_result(pending.request_id, i)
+ pending.completed.set()
+ return [pending.results[i] for i in range(pending.total_items)]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ results = await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ )
+
+ assert js.publish_async.call_count == 3
+ assert len(results) == 3
+
+ @pytest.mark.asyncio
+ async def test_cleanup_payload_store_on_success(self) -> None:
+ import asyncio
+
+ store = AsyncMock(spec=PayloadStore)
+ publisher, _nc, _js, _jsm = _make_publisher(payload_store=store)
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ for i in range(pending.total_items):
+ pending.results[i] = _make_work_result(pending.request_id, i)
+ pending.completed.set()
+ return [pending.results[i] for i in range(pending.total_items)]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "a"}],
+ )
+
+ # Cleanup is fire-and-forget; yield to let the background task run
+ await asyncio.sleep(0)
+
+ # delete_prefix should be called for cleanup
+ store.delete_prefix.assert_called_once()
+ call_arg = store.delete_prefix.call_args[0][0]
+ assert call_arg.startswith("payloads/")
+
+ @pytest.mark.asyncio
+ async def test_pending_request_cleaned_up(self) -> None:
+ publisher, _nc, _js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(pending.request_id, 0)
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "a"}],
+ )
+
+ # Pending should be cleaned up after completion
+ assert len(publisher._pending) == 0
+
+
+class TestSubmitScore:
+ """Tests for submit_score with mocked NATS."""
+
+ @pytest.mark.asyncio
+ async def test_publishes_single_work_item(self) -> None:
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(pending.request_id, 0)
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ results = await publisher.submit_score(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ query={"text": "query"},
+ items=[{"text": "a"}, {"text": "b"}],
+ )
+
+ # Score sends exactly 1 work item (not decomposed)
+ assert js.publish.call_count == 1
+ assert len(results) == 1
+
+ @pytest.mark.asyncio
+ async def test_score_work_item_contains_query_and_items(self) -> None:
+ publisher, _nc, js, _jsm = _make_publisher()
+
+ async def fake_wait(pending, timeout): # noqa: ASYNC109
+ pending.results[0] = _make_work_result(pending.request_id, 0)
+ pending.completed.set()
+ return [pending.results[0]]
+
+ with patch.object(publisher, "_wait_for_results", side_effect=fake_wait):
+ await publisher.submit_score(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ query={"text": "query"},
+ items=[{"text": "a"}, {"text": "b"}],
+ )
+
+ # Verify the published payload
+ publish_call = js.publish.call_args
+ payload = msgpack.unpackb(publish_call[0][1], raw=False)
+ assert payload["operation"] == "score"
+ assert payload["query_item"] == {"text": "query"}
+ assert payload["score_items"] == [{"text": "a"}, {"text": "b"}]
+ assert payload["total_items"] == 1
+
+
+class TestStartStop:
+ """Tests for WorkPublisher lifecycle."""
+
+ @pytest.mark.asyncio
+ async def test_start_subscribes_to_inbox(self) -> None:
+ publisher, nc, _js, _jsm = _make_publisher()
+
+ await publisher.start()
+
+ nc.subscribe.assert_called_once()
+ call_args = nc.subscribe.call_args
+ subject = call_args[0][0] if call_args[0] else call_args[1].get("subject")
+ assert subject == f"_INBOX.{ROUTER_ID}.>"
+ assert publisher._running is True
+
+ @pytest.mark.asyncio
+ async def test_stop_unsubscribes_and_cancels_pending(self) -> None:
+ publisher, nc, _js, _jsm = _make_publisher()
+
+ # Start first
+ mock_sub = AsyncMock()
+ nc.subscribe = AsyncMock(return_value=mock_sub)
+ await publisher.start()
+
+ # Add a pending request
+ pending = PendingRequest(
+ request_id="test-1",
+ total_items=1,
+ results={},
+ errors={},
+ )
+ publisher._pending["test-1"] = pending
+
+ await publisher.stop()
+
+ mock_sub.unsubscribe.assert_called_once()
+ assert publisher._running is False
+ assert len(publisher._pending) == 0
+ # Completed event should be set (to unblock waiters)
+ assert pending.completed.is_set()
+
+ @pytest.mark.asyncio
+ async def test_stop_without_start_is_safe(self) -> None:
+ publisher, *_ = _make_publisher()
+ await publisher.stop() # Should not raise
diff --git a/packages/sie_router/tests/test_work_publisher_integration.py b/packages/sie_router/tests/test_work_publisher_integration.py
new file mode 100644
index 000000000..fe379e960
--- /dev/null
+++ b/packages/sie_router/tests/test_work_publisher_integration.py
@@ -0,0 +1,468 @@
+import asyncio
+from typing import Any
+from unittest.mock import AsyncMock, MagicMock
+
+import msgpack
+import pytest
+from sie_router.jetstream_manager import JetStreamManager
+from sie_router.work_publisher import WorkPublisher
+from sie_sdk.queue_types import WorkResult
+
+ROUTER_ID = "int-test-router"
+MODEL_ID = "BAAI/bge-m3"
+PROFILE_ID = "default"
+POOL_NAME = "_default"
+MACHINE_PROFILE = "l4"
+
+
+def _make_work_result(
+ request_id: str,
+ item_index: int,
+ *,
+ success: bool = True,
+ error: str | None = None,
+ result_data: bytes | None = None,
+) -> WorkResult:
+ result: WorkResult = {
+ "work_item_id": f"{request_id}.{item_index}",
+ "request_id": request_id,
+ "item_index": item_index,
+ "success": success,
+ }
+ if result_data is not None:
+ result["result_msgpack"] = result_data
+ if not success and error:
+ result["error"] = error
+ result["error_code"] = "worker_error"
+ return result
+
+
+class _InProcessNATS:
+ """Simulates NATS pub/sub in-process for integration tests.
+
+ Tracks subscriptions and routes published messages to callbacks.
+ JetStream publish goes through the same mechanism with subject matching.
+ """
+
+ def __init__(self) -> None:
+ self._subscriptions: dict[str, list] = {} # subject -> list of callbacks
+ self._published: list[tuple[str, bytes]] = []
+
+ async def subscribe(self, subject: str, cb: object = None) -> MagicMock:
+ """Register a subscription. Supports '>' wildcard at end."""
+ if subject not in self._subscriptions:
+ self._subscriptions[subject] = []
+ self._subscriptions[subject].append(cb)
+
+ sub = MagicMock()
+ sub.unsubscribe = AsyncMock()
+ return sub
+
+ async def publish(self, subject: str, payload: bytes) -> None:
+ """Publish a message (core NATS publish for results)."""
+ self._published.append((subject, payload))
+ await self._deliver(subject, payload)
+
+ async def js_publish(self, subject: str, payload: bytes) -> None:
+ """JetStream publish (for work items). Records but doesn't auto-deliver."""
+ self._published.append((subject, payload))
+
+ async def _deliver(self, subject: str, payload: bytes) -> None:
+ """Deliver message to matching subscribers."""
+ for pattern, callbacks in self._subscriptions.items():
+ if self._matches(pattern, subject):
+ for cb in callbacks:
+ msg = MagicMock()
+ msg.data = payload
+ msg.subject = subject
+ await cb(msg)
+
+ @staticmethod
+ def _matches(pattern: str, subject: str) -> bool:
+ """Simple NATS subject matching with '>' wildcard."""
+ if pattern == subject:
+ return True
+ if pattern.endswith(".>"):
+ prefix = pattern[:-2]
+ return subject.startswith(prefix + ".") or subject == prefix
+ return False
+
+
+def _wrap_as_publish_async(
+ fn: Any,
+) -> Any:
+ """Wrap an async worker function so it returns a Future (like js.publish_async)."""
+
+ async def _wrapped(subject: str, payload: bytes, **kwargs: Any) -> asyncio.Future:
+ await fn(subject, payload)
+ fut: asyncio.Future = asyncio.get_running_loop().create_future()
+ fut.set_result(None)
+ return fut
+
+ return _wrapped
+
+
+def _make_integration_publisher() -> tuple[WorkPublisher, _InProcessNATS, AsyncMock]:
+ """Create a WorkPublisher wired to an in-process NATS simulation."""
+ sim = _InProcessNATS()
+
+ nc = MagicMock()
+ nc.subscribe = sim.subscribe
+
+ js = AsyncMock()
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(sim.js_publish))
+ js.publish_async_completed = AsyncMock()
+
+ jsm = AsyncMock(spec=JetStreamManager)
+ jsm.get_stream_health = AsyncMock(return_value=(2, 0))
+ jsm.ensure_stream = AsyncMock(return_value="WORK_BAAI__bge-m3")
+
+ publisher = WorkPublisher(nc, js, jsm, ROUTER_ID)
+ return publisher, sim, js
+
+
+class TestEncodeFlowIntegration:
+ """Integration test: publish encode items -> simulate worker results -> verify ordering."""
+
+ @pytest.mark.asyncio
+ async def test_full_encode_flow(self) -> None:
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ items = [{"text": "hello"}, {"text": "world"}, {"text": "test"}]
+
+ # Intercept JetStream publishes and respond with results (simulating a worker)
+ published_work_items: list[dict] = []
+
+ async def worker_sim(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ published_work_items.append(work_item)
+
+ # Simulate worker processing and publishing result to reply_subject
+ reply_subject = work_item["reply_subject"]
+ result = _make_work_result(
+ work_item["request_id"],
+ work_item["item_index"],
+ result_data=msgpack.packb({"embedding": [0.1, 0.2]}, use_bin_type=True),
+ )
+ result_payload = msgpack.packb(result, use_bin_type=True)
+ # Deliver result via the simulated NATS (hits the inbox subscription)
+ await sim.publish(reply_subject, result_payload)
+
+ # Replace js.publish_async to call our worker simulator
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(worker_sim))
+
+ results = await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ timeout=5.0,
+ )
+
+ await publisher.stop()
+
+ # Verify: 3 work items published
+ assert len(published_work_items) == 3
+
+ # Verify: results are ordered by item_index
+ assert len(results) == 3
+ for i, result in enumerate(results):
+ assert result["item_index"] == i
+ assert result["success"] is True
+
+ # Verify: work items have correct indices
+ indices = sorted(wi["item_index"] for wi in published_work_items)
+ assert indices == [0, 1, 2]
+
+ @pytest.mark.asyncio
+ async def test_out_of_order_results_are_reordered(self) -> None:
+ """Results arriving in reverse order are still returned in correct order."""
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ items = [{"text": "a"}, {"text": "b"}, {"text": "c"}]
+ collected_work_items: list[dict] = []
+
+ async def reverse_worker(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ collected_work_items.append(work_item)
+
+ # Collect work items but don't respond yet
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(reverse_worker))
+
+ # Start the submit in a background task
+ async def do_submit():
+ return await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=items,
+ timeout=5.0,
+ )
+
+ task = asyncio.create_task(do_submit())
+
+ # Wait for work items to be published (poll instead of fixed sleep)
+ for _ in range(100): # up to 1s
+ await asyncio.sleep(0.01)
+ if len(collected_work_items) >= len(items):
+ break
+ else:
+ pytest.fail(
+ f"Timed out waiting for work items to be published (got {len(collected_work_items)}/{len(items)})"
+ )
+
+ # Deliver results in reverse order (2, 1, 0)
+ for wi in reversed(collected_work_items):
+ reply_subject = wi["reply_subject"]
+ result = _make_work_result(
+ wi["request_id"],
+ wi["item_index"],
+ result_data=msgpack.packb({"idx": wi["item_index"]}, use_bin_type=True),
+ )
+ await sim.publish(reply_subject, msgpack.packb(result, use_bin_type=True))
+
+ results = await task
+ await publisher.stop()
+
+ # Despite reverse delivery, results should be ordered
+ assert [r["item_index"] for r in results] == [0, 1, 2]
+
+
+class TestScoreFlowIntegration:
+ """Integration test for score flow."""
+
+ @pytest.mark.asyncio
+ async def test_score_single_work_item(self) -> None:
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ async def score_worker(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ assert work_item["operation"] == "score"
+ assert work_item["query_item"] == {"text": "query"}
+ assert work_item["score_items"] == [{"text": "doc1"}, {"text": "doc2"}]
+
+ reply_subject = work_item["reply_subject"]
+ result = _make_work_result(
+ work_item["request_id"],
+ 0,
+ result_data=msgpack.packb({"scores": [0.9, 0.3]}, use_bin_type=True),
+ )
+ await sim.publish(reply_subject, msgpack.packb(result, use_bin_type=True))
+
+ js.publish = score_worker
+
+ results = await publisher.submit_score(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ query={"text": "query"},
+ items=[{"text": "doc1"}, {"text": "doc2"}],
+ timeout=5.0,
+ )
+
+ await publisher.stop()
+
+ assert len(results) == 1
+ assert results[0]["success"] is True
+
+
+class TestTimeoutIntegration:
+ """Integration test: no results arrive -> TimeoutError."""
+
+ @pytest.mark.asyncio
+ async def test_timeout_when_no_results(self) -> None:
+ publisher, _sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ # Worker never responds (js.publish_async is a no-op that returns Futures)
+ async def _noop_publish(subject: str, payload: bytes, **kwargs: Any) -> asyncio.Future:
+ fut: asyncio.Future = asyncio.get_running_loop().create_future()
+ fut.set_result(None)
+ return fut
+
+ js.publish_async = AsyncMock(side_effect=_noop_publish)
+
+ with pytest.raises(TimeoutError):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "a"}],
+ timeout=0.05,
+ )
+
+ await publisher.stop()
+
+ # Pending request should be cleaned up even on timeout
+ assert len(publisher._pending) == 0
+
+ @pytest.mark.asyncio
+ async def test_timeout_with_partial_results(self) -> None:
+ """Some results arrive but not all -> TimeoutError."""
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ async def partial_worker(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ # Only respond to item_index 0, skip item_index 1
+ if work_item["item_index"] == 0:
+ reply_subject = work_item["reply_subject"]
+ result = _make_work_result(work_item["request_id"], 0)
+ await sim.publish(reply_subject, msgpack.packb(result, use_bin_type=True))
+
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(partial_worker))
+
+ with pytest.raises(TimeoutError):
+ await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "a"}, {"text": "b"}],
+ timeout=0.1,
+ )
+
+ await publisher.stop()
+
+
+class TestPartialFailureIntegration:
+ """Integration test: some items succeed, some fail."""
+
+ @pytest.mark.asyncio
+ async def test_mixed_success_and_failure(self) -> None:
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ async def flaky_worker(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ reply_subject = work_item["reply_subject"]
+ idx = work_item["item_index"]
+
+ if idx % 2 == 0:
+ # Even indices succeed
+ result = _make_work_result(
+ work_item["request_id"],
+ idx,
+ result_data=msgpack.packb({"ok": True}, use_bin_type=True),
+ )
+ else:
+ # Odd indices fail
+ result = _make_work_result(
+ work_item["request_id"],
+ idx,
+ success=False,
+ error=f"item {idx} failed",
+ )
+
+ await sim.publish(reply_subject, msgpack.packb(result, use_bin_type=True))
+
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(flaky_worker))
+
+ results = await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": str(i)} for i in range(4)],
+ timeout=5.0,
+ )
+
+ await publisher.stop()
+
+ assert len(results) == 4
+
+ # Even indices succeeded
+ assert results[0]["success"] is True
+ assert results[2]["success"] is True
+
+ # Odd indices failed
+ assert results[1]["success"] is False
+ assert results[1]["error"] == "item 1 failed"
+ assert results[3]["success"] is False
+ assert results[3]["error"] == "item 3 failed"
+
+ # All ordered by item_index
+ assert [r["item_index"] for r in results] == [0, 1, 2, 3]
+
+ @pytest.mark.asyncio
+ async def test_all_items_fail(self) -> None:
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ async def failing_worker(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ reply_subject = work_item["reply_subject"]
+ result = _make_work_result(
+ work_item["request_id"],
+ work_item["item_index"],
+ success=False,
+ error="GPU out of memory",
+ )
+ await sim.publish(reply_subject, msgpack.packb(result, use_bin_type=True))
+
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(failing_worker))
+
+ results = await publisher.submit_encode(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "a"}, {"text": "b"}],
+ timeout=5.0,
+ )
+
+ await publisher.stop()
+
+ assert len(results) == 2
+ assert all(not r["success"] for r in results)
+ assert all(r["error"] == "GPU out of memory" for r in results)
+
+
+class TestExtractFlowIntegration:
+ """Integration test for extract flow."""
+
+ @pytest.mark.asyncio
+ async def test_extract_decomposes_like_encode(self) -> None:
+ publisher, sim, js = _make_integration_publisher()
+ await publisher.start()
+
+ published_operations: list[str] = []
+
+ async def extract_worker(subject: str, payload: bytes) -> None:
+ work_item = msgpack.unpackb(payload, raw=False)
+ published_operations.append(work_item["operation"])
+
+ reply_subject = work_item["reply_subject"]
+ result = _make_work_result(
+ work_item["request_id"],
+ work_item["item_index"],
+ result_data=msgpack.packb({"entities": []}, use_bin_type=True),
+ )
+ await sim.publish(reply_subject, msgpack.packb(result, use_bin_type=True))
+
+ js.publish_async = AsyncMock(side_effect=_wrap_as_publish_async(extract_worker))
+
+ results = await publisher.submit_extract(
+ model_id=MODEL_ID,
+ profile_id=PROFILE_ID,
+ pool_name=POOL_NAME,
+ machine_profile=MACHINE_PROFILE,
+ items=[{"text": "Alice works at Acme"}, {"text": "Bob went to Paris"}],
+ labels=["PER", "ORG", "LOC"],
+ timeout=5.0,
+ )
+
+ await publisher.stop()
+
+ # Extract decomposes into one work item per input
+ assert len(published_operations) == 2
+ assert all(op == "extract" for op in published_operations)
+ assert len(results) == 2
+ assert all(r["success"] for r in results)
diff --git a/packages/sie_router/tests/test_worker_config_awareness.py b/packages/sie_router/tests/test_worker_config_awareness.py
new file mode 100644
index 000000000..2d8dd6503
--- /dev/null
+++ b/packages/sie_router/tests/test_worker_config_awareness.py
@@ -0,0 +1,313 @@
+from pathlib import Path
+
+import pytest
+import yaml
+from sie_router.model_registry import ModelRegistry
+from sie_router.registry import WorkerRegistry
+
+
+def _setup_registry_with_bundle(
+ tmp_path: Path,
+ adapters: list[str] | None = None,
+) -> ModelRegistry:
+ bundles_dir = tmp_path / "bundles"
+ models_dir = tmp_path / "models"
+ bundles_dir.mkdir()
+ models_dir.mkdir()
+
+ if adapters is None:
+ adapters = ["sie_server.adapters.bert_flash"]
+
+ data = {"name": "default", "priority": 10, "adapters": adapters}
+ (bundles_dir / "default.yaml").write_text(yaml.dump(data))
+
+ return ModelRegistry(bundles_dir, models_dir)
+
+
+class TestWorkerConfigHashTracking:
+ """Tests for worker bundle_config_hash tracking in WorkerRegistry."""
+
+ @pytest.mark.asyncio
+ async def test_worker_reports_bundle_config_hash(self) -> None:
+ """Worker status with bundle_config_hash is tracked."""
+ registry = WorkerRegistry()
+ await registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "bundle_config_hash": "abc123",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+ worker = registry.get_worker("http://w1:8080")
+ assert worker is not None
+ assert worker.bundle_config_hash == "abc123"
+
+ @pytest.mark.asyncio
+ async def test_worker_hash_updates_on_status(self) -> None:
+ """Worker hash changes when status message has new hash."""
+ registry = WorkerRegistry()
+ await registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "bundle_config_hash": "hash1",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+ assert registry.get_worker("http://w1:8080").bundle_config_hash == "hash1"
+
+ await registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "bundle_config_hash": "hash2",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+ assert registry.get_worker("http://w1:8080").bundle_config_hash == "hash2"
+
+ @pytest.mark.asyncio
+ async def test_worker_empty_hash_by_default(self) -> None:
+ """Worker with no hash in status gets empty string."""
+ registry = WorkerRegistry()
+ await registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+ assert registry.get_worker("http://w1:8080").bundle_config_hash == ""
+
+
+class TestBundleConfigHashScoping:
+ """Tests for bundle-scoped config hashing."""
+
+ def test_hash_only_includes_models_in_bundle(self, tmp_path: Path) -> None:
+ """Hash for bundle A doesn't include models routable only to bundle B."""
+ bundles_dir = tmp_path / "bundles"
+ models_dir = tmp_path / "models"
+ bundles_dir.mkdir()
+ models_dir.mkdir()
+
+ (bundles_dir / "default.yaml").write_text(
+ yaml.dump(
+ {
+ "name": "default",
+ "priority": 10,
+ "adapters": ["sie_server.adapters.bert_flash"],
+ }
+ )
+ )
+ (bundles_dir / "sglang.yaml").write_text(
+ yaml.dump(
+ {
+ "name": "sglang",
+ "priority": 20,
+ "adapters": ["sie_server.adapters.sglang"],
+ }
+ )
+ )
+
+ registry = ModelRegistry(bundles_dir, models_dir)
+
+ # Add model to default bundle only
+ registry.add_model_config(
+ {
+ "sie_id": "default/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+
+ default_hash = registry.compute_bundle_config_hash("default")
+ sglang_hash = registry.compute_bundle_config_hash("sglang")
+
+ assert default_hash != ""
+ assert sglang_hash == "" # No models in sglang
+
+ def test_hash_changes_only_for_affected_bundle(self, tmp_path: Path) -> None:
+ """Adding model to bundle A doesn't change bundle B's hash."""
+ bundles_dir = tmp_path / "bundles"
+ models_dir = tmp_path / "models"
+ bundles_dir.mkdir()
+ models_dir.mkdir()
+
+ (bundles_dir / "default.yaml").write_text(
+ yaml.dump(
+ {
+ "name": "default",
+ "priority": 10,
+ "adapters": ["sie_server.adapters.bert_flash"],
+ }
+ )
+ )
+ (bundles_dir / "sglang.yaml").write_text(
+ yaml.dump(
+ {
+ "name": "sglang",
+ "priority": 20,
+ "adapters": ["sie_server.adapters.sglang"],
+ }
+ )
+ )
+
+ registry = ModelRegistry(bundles_dir, models_dir)
+
+ # Add model to sglang
+ registry.add_model_config(
+ {
+ "sie_id": "sglang/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.sglang:S", "max_batch_tokens": 1}},
+ }
+ )
+ sglang_hash_before = registry.compute_bundle_config_hash("sglang")
+ default_hash_before = registry.compute_bundle_config_hash("default")
+
+ # Add model to default only
+ registry.add_model_config(
+ {
+ "sie_id": "default/model",
+ "profiles": {"default": {"adapter_path": "sie_server.adapters.bert_flash:B", "max_batch_tokens": 1}},
+ }
+ )
+ sglang_hash_after = registry.compute_bundle_config_hash("sglang")
+ default_hash_after = registry.compute_bundle_config_hash("default")
+
+ assert sglang_hash_before == sglang_hash_after # Unchanged
+ assert default_hash_before != default_hash_after # Changed
+
+
+class TestServingReadinessWithWorkers:
+ """Tests for serving readiness detection with actual workers."""
+
+ @pytest.mark.asyncio
+ async def test_workers_with_matching_hash_are_acked(self) -> None:
+ """Workers reporting the expected hash count as ACKed."""
+ from sie_router.config_api import _wait_for_serving_readiness
+
+ worker_registry = WorkerRegistry()
+ await worker_registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "bundle_config_hash": "expected_hash",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+
+ result = await _wait_for_serving_readiness(
+ worker_registry=worker_registry,
+ affected_bundles=["default"],
+ bundle_config_hashes={"default": "expected_hash"},
+ timeout_s=1.0,
+ )
+
+ assert result["worker_ack_pending"] is False
+ assert result["acked_workers"] == 1
+ assert result["total_eligible"] == 1
+ assert result["pending_workers"] == 0
+
+ @pytest.mark.asyncio
+ async def test_workers_with_stale_hash_are_pending(self) -> None:
+ """Workers with old hash count as pending."""
+ from sie_router.config_api import _wait_for_serving_readiness
+
+ worker_registry = WorkerRegistry()
+ await worker_registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "bundle_config_hash": "old_hash",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+
+ result = await _wait_for_serving_readiness(
+ worker_registry=worker_registry,
+ affected_bundles=["default"],
+ bundle_config_hashes={"default": "new_hash"},
+ timeout_s=0.3, # Short timeout
+ )
+
+ assert result["worker_ack_pending"] is True
+ assert result["acked_workers"] == 0
+ assert result["pending_workers"] == 1
+
+ @pytest.mark.asyncio
+ async def test_mixed_workers_partial_ack(self) -> None:
+ """Some workers ACK, others don't — partial readiness."""
+ from sie_router.config_api import _wait_for_serving_readiness
+
+ worker_registry = WorkerRegistry()
+ await worker_registry.update_worker(
+ "http://w1:8080",
+ {
+ "ready": True,
+ "name": "w1",
+ "bundle": "default",
+ "bundle_config_hash": "new_hash",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+ await worker_registry.update_worker(
+ "http://w2:8080",
+ {
+ "ready": True,
+ "name": "w2",
+ "bundle": "default",
+ "bundle_config_hash": "old_hash",
+ "gpu_count": 1,
+ "loaded_models": [],
+ "models": [],
+ "gpus": [],
+ },
+ )
+
+ result = await _wait_for_serving_readiness(
+ worker_registry=worker_registry,
+ affected_bundles=["default"],
+ bundle_config_hashes={"default": "new_hash"},
+ timeout_s=0.3,
+ )
+
+ # The polling loop exits early (>=1 ACK per bundle met), but
+ # worker_ack_pending reflects whether ALL eligible workers have
+ # ACKed. With 1/2 ACKed, pending_workers=1 so ack_pending=True.
+ assert result["worker_ack_pending"] is True
+ assert result["acked_workers"] == 1
+ assert result["total_eligible"] == 2
+ assert result["pending_workers"] == 1
diff --git a/packages/sie_sdk/pyproject.toml b/packages/sie_sdk/pyproject.toml
index f6dd9d6b5..75b05f310 100644
--- a/packages/sie_sdk/pyproject.toml
+++ b/packages/sie_sdk/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-sdk"
-version = "0.1.9"
+version = "0.1.10"
description = "Search Inference Engine - Python SDK"
requires-python = ">=3.12,<3.13"
license = { text = "Apache-2.0" }
diff --git a/packages/sie_sdk/src/sie_sdk/__init__.py b/packages/sie_sdk/src/sie_sdk/__init__.py
index 63b1af41a..84b5ce229 100644
--- a/packages/sie_sdk/src/sie_sdk/__init__.py
+++ b/packages/sie_sdk/src/sie_sdk/__init__.py
@@ -23,6 +23,14 @@ from sie_sdk.client import (
SIEConnectionError,
SIEError,
)
+from sie_sdk.encoding import (
+ SparseVector,
+ dense_embedding,
+ multivector_embedding,
+ normalize_sparse_vector,
+ sparse_embedding,
+ sparse_embedding_dict,
+)
from sie_sdk.types import (
# Response types
AssignedWorkerInfo,
@@ -53,7 +61,6 @@ from sie_sdk.types import (
__version__ = "0.1.0"
__all__ = [
- # Response types
"AssignedWorkerInfo",
"CapacityInfo",
"ClusterStatusMessage",
@@ -62,9 +69,7 @@ __all__ = [
"Entity",
"ExtractResult",
"HealthResponse",
- # Input types
"Item",
- # Exceptions
"LoraLoadingError",
"ModelInfo",
"ModelLoadingError",
@@ -78,7 +83,6 @@ __all__ = [
"PoolStatusInfo",
"ProvisioningError",
"RequestError",
- # Clients
"SIEAsyncClient",
"SIEClient",
"SIEConnectionError",
@@ -86,8 +90,14 @@ __all__ = [
"ScoreResult",
"ServerError",
"SparseResult",
+ "SparseVector",
"StatusMessage",
"TimingInfo",
"WorkerInfo",
"WorkerStatusMessage",
+ "dense_embedding",
+ "multivector_embedding",
+ "normalize_sparse_vector",
+ "sparse_embedding",
+ "sparse_embedding_dict",
]
diff --git a/packages/sie_sdk/src/sie_sdk/client/async_.py b/packages/sie_sdk/src/sie_sdk/client/async_.py
index 3e79c9d8e..aed8287a5 100644
--- a/packages/sie_sdk/src/sie_sdk/client/async_.py
+++ b/packages/sie_sdk/src/sie_sdk/client/async_.py
@@ -92,8 +92,9 @@ logger = logging.getLogger(__name__)
_LEASE_RENEWAL_MAX_RETRIES = 5
-# Patch msgpack for numpy support
-m.patch()
+# NOTE: msgpack_numpy.patch() is called lazily in SIEAsyncClient.__init__
+# (see sync.py for details).
+_NUMPY_PATCHED = False
class _AioResponse:
@@ -176,6 +177,14 @@ class SIEAsyncClient:
pool: PoolSpec | None = None,
max_connections: int | None = None,
) -> None:
+ # Ensure msgpack-numpy hooks are installed (once per process).
+ # Done lazily here instead of at module level to avoid monkey-patching
+ # msgpack in processes that import sie_sdk but never use the client.
+ global _NUMPY_PATCHED
+ if not _NUMPY_PATCHED:
+ m.patch()
+ _NUMPY_PATCHED = True
+
# Normalize base_url (remove trailing slash)
self._base_url = base_url.rstrip("/")
self._timeout = timeout_s
@@ -1036,6 +1045,25 @@ class SIEAsyncClient:
data = response.json()
return data["models"]
+ async def get_model(self, model: str) -> ModelInfo:
+ """Async version of get_model(). See SIEClient.get_model() for details."""
+ try:
+ response = await self._get(
+ f"/v1/models/{model}",
+ headers={"Accept": JSON_CONTENT_TYPE},
+ )
+ except TimeoutError as e:
+ msg = f"Request timed out: {e}"
+ raise SIEConnectionError(msg) from e
+ except (aiohttp.ClientError, OSError) as e:
+ msg = f"Failed to connect to {self._base_url}: {e}"
+ raise SIEConnectionError(msg) from e
+
+ if response.status_code >= HTTP_CLIENT_ERROR:
+ handle_error(response)
+
+ return response.json()
+
async def _detect_endpoint_type(self) -> Literal["cluster", "worker"]:
"""Detect whether base_url is a router (cluster) or worker endpoint."""
try:
diff --git a/packages/sie_sdk/src/sie_sdk/client/sync.py b/packages/sie_sdk/src/sie_sdk/client/sync.py
index fe1500134..99239d982 100644
--- a/packages/sie_sdk/src/sie_sdk/client/sync.py
+++ b/packages/sie_sdk/src/sie_sdk/client/sync.py
@@ -101,8 +101,11 @@ logger = logging.getLogger(__name__)
_LEASE_RENEWAL_MAX_RETRIES = 5
-# Patch msgpack for numpy support
-m.patch()
+# NOTE: msgpack_numpy.patch() is called lazily in SIEClient.__init__
+# to avoid monkey-patching the global msgpack module at import time.
+# This prevents overhead in processes that import sie_sdk but don't use
+# the client (e.g., the router only needs sie_sdk.types/queue_types).
+_NUMPY_PATCHED = False
def _close_transport(transport: httpx.Client) -> None:
@@ -164,6 +167,14 @@ class SIEClient:
options: dict[str, Any] | None = None,
pool: PoolSpec | None = None,
) -> None:
+ # Ensure msgpack-numpy hooks are installed (once per process).
+ # Done lazily here instead of at module level to avoid monkey-patching
+ # msgpack in processes that import sie_sdk but never use the client.
+ global _NUMPY_PATCHED
+ if not _NUMPY_PATCHED:
+ m.patch()
+ _NUMPY_PATCHED = True
+
# Normalize base_url (remove trailing slash)
self._base_url = base_url.rstrip("/")
self._timeout = timeout_s
@@ -1061,6 +1072,46 @@ class SIEClient:
data = response.json()
return data["models"]
+ def get_model(self, model: str) -> ModelInfo:
+ """Get details for a specific model.
+
+ Returns model metadata including dimensions, supported inputs/outputs,
+ loaded status, and profiles. This is a lightweight call that reads
+ from model config — it does not load the model or trigger inference.
+
+ Args:
+ model: Model name (e.g., "BAAI/bge-m3").
+
+ Returns:
+ ModelInfo dict with name, dims, inputs, outputs, loaded, etc.
+
+ Raises:
+ RequestError: If the model is not found (404).
+ SIEConnectionError: If unable to connect to the server.
+ ServerError: If the server encounters an error.
+
+ Example:
+ >>> info = client.get_model("BAAI/bge-m3")
+ >>> info["dims"]["dense"]
+ 1024
+ """
+ try:
+ response = self._client.get(
+ f"/v1/models/{model}",
+ headers={"Accept": JSON_CONTENT_TYPE},
+ )
+ except httpx.ConnectError as e:
+ msg = f"Failed to connect to {self._base_url}: {e}"
+ raise SIEConnectionError(msg) from e
+ except httpx.TimeoutException as e:
+ msg = f"Request timed out: {e}"
+ raise SIEConnectionError(msg) from e
+
+ if response.status_code >= HTTP_CLIENT_ERROR:
+ handle_error(response)
+
+ return response.json()
+
def _detect_endpoint_type(self) -> Literal["cluster", "worker"]:
"""Detect whether base_url is a router (cluster) or worker endpoint."""
try:
diff --git a/packages/sie_sdk/src/sie_sdk/encoding.py b/packages/sie_sdk/src/sie_sdk/encoding.py
new file mode 100644
index 000000000..42edc62ea
--- /dev/null
+++ b/packages/sie_sdk/src/sie_sdk/encoding.py
@@ -0,0 +1,139 @@
+"""Helpers for converting SIE encode results to plain Python types.
+
+These functions bridge SDK result types (numpy arrays, TypedDicts) to the
+plain ``list[float]`` / ``dict`` formats that framework integrations and
+vector databases expect.
+
+Example:
+ >>> from sie_sdk import SIEClient
+ >>> from sie_sdk.encoding import dense_embedding, sparse_embedding
+ >>>
+ >>> client = SIEClient("http://localhost:8080")
+ >>> result = client.encode("BAAI/bge-m3", {"text": "hello"}, output_types=["dense", "sparse"])
+ >>> vec = dense_embedding(result) # list[float]
+ >>> sp = sparse_embedding(result) # {"indices": list[int], "values": list[float]}
+"""
+
+from __future__ import annotations
+
+from typing import Any
+
+SparseVector = dict[str, list]
+"""``{"indices": list[int], "values": list[float]}``"""
+
+
+def dense_embedding(result: Any, *, strict: bool = True) -> list[float]:
+ """Extract the dense embedding from an encode result as ``list[float]``.
+
+ Args:
+ result: An :class:`~sie_sdk.EncodeResult` (or any dict/object with
+ a ``dense`` attribute).
+ strict: If *True* (default), raise :class:`ValueError` when the
+ result has no dense embedding. If *False*, return ``[]``.
+
+ Returns:
+ The dense vector as a plain Python list of floats.
+ """
+ dense = result.get("dense") if isinstance(result, dict) else getattr(result, "dense", None)
+ if dense is None:
+ if strict:
+ msg = "Encode result missing dense embedding"
+ raise ValueError(msg)
+ return []
+ return dense.tolist() if hasattr(dense, "tolist") else list(dense)
+
+
+def sparse_embedding(result: Any) -> SparseVector:
+ """Extract the sparse embedding from an encode result.
+
+ Args:
+ result: An :class:`~sie_sdk.EncodeResult` with a ``sparse`` key.
+
+ Returns:
+ ``{"indices": list[int], "values": list[float]}``.
+ Empty lists if sparse data is absent.
+ """
+ sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
+ if sparse is None:
+ return {"indices": [], "values": []}
+
+ indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
+ values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
+
+ return {
+ "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices or []),
+ "values": values.tolist() if hasattr(values, "tolist") else list(values or []),
+ }
+
+
+def sparse_embedding_dict(result: Any) -> dict[int, float]:
+ """Extract the sparse embedding as a ``{token_id: weight}`` mapping.
+
+ ChromaDB expects sparse embeddings in this format.
+
+ Args:
+ result: An :class:`~sie_sdk.EncodeResult` with a ``sparse`` key.
+
+ Returns:
+ Dict mapping integer token indices to float weights.
+ Empty dict if sparse data is absent.
+ """
+ sparse = result.get("sparse") if isinstance(result, dict) else getattr(result, "sparse", None)
+ if sparse is None:
+ return {}
+
+ indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
+ values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
+
+ if indices is None or values is None:
+ return {}
+
+ indices_list = indices.tolist() if hasattr(indices, "tolist") else list(indices)
+ values_list = values.tolist() if hasattr(values, "tolist") else list(values)
+
+ return dict(zip(indices_list, values_list))
+
+
+def normalize_sparse_vector(sparse: Any) -> SparseVector:
+ """Convert a raw sparse sub-object to plain Python lists.
+
+ Unlike :func:`sparse_embedding`, this takes the *sparse value itself*
+ (already extracted from the result) -- useful inside named-vector
+ loops where you've already pulled ``result["sparse"]``.
+
+ Args:
+ sparse: A :class:`~sie_sdk.SparseResult` or dict with
+ ``indices`` and ``values``.
+
+ Returns:
+ ``{"indices": list[int], "values": list[float]}``.
+ """
+ indices = sparse.get("indices") if isinstance(sparse, dict) else getattr(sparse, "indices", None)
+ values = sparse.get("values") if isinstance(sparse, dict) else getattr(sparse, "values", None)
+
+ if indices is None or values is None:
+ return {"indices": [], "values": []}
+
+ return {
+ "indices": indices.tolist() if hasattr(indices, "tolist") else list(indices),
+ "values": values.tolist() if hasattr(values, "tolist") else list(values),
+ }
+
+
+def multivector_embedding(raw: Any) -> list[list[float]]:
+ """Convert a multivector (ColBERT) result to ``list[list[float]]``.
+
+ SIE returns multivectors as a 2-D numpy array of shape
+ ``(num_tokens, token_dim)``. Vector databases expect nested Python lists.
+
+ Args:
+ raw: A 2-D numpy array, or a list of 1-D arrays / lists.
+
+ Returns:
+ Nested list of float vectors.
+ """
+ if hasattr(raw, "tolist"):
+ return raw.tolist()
+ if isinstance(raw, list) and raw and hasattr(raw[0], "tolist"):
+ return [v.tolist() for v in raw]
+ return [list(v) for v in raw]
diff --git a/packages/sie_sdk/src/sie_sdk/queue_types.py b/packages/sie_sdk/src/sie_sdk/queue_types.py
new file mode 100644
index 000000000..44266a31c
--- /dev/null
+++ b/packages/sie_sdk/src/sie_sdk/queue_types.py
@@ -0,0 +1,271 @@
+from typing import Any, TypedDict
+
+
+class _WorkItemRequired(TypedDict):
+ work_item_id: str
+ request_id: str
+ item_index: int
+ total_items: int
+ operation: str
+ model_id: str
+ profile_id: str
+ pool_name: str
+ router_id: str
+ reply_subject: str
+ timestamp: float
+
+
+class WorkItem(_WorkItemRequired, total=False):
+ """A single inference work item published to NATS JetStream.
+
+ Published by the router to ``sie.work.{model_id_normalized}.{pool_name}``.
+ Consumed by workers via JetStream pull consumers.
+
+ Attributes:
+ work_item_id: Unique ID for this work item. Format: ``{request_id}.{item_index}``.
+ request_id: Unique ID for the originating client request. Format: ``{router_id}-{counter}``.
+ item_index: Position of this item in the original request (for result ordering).
+ total_items: Total number of items in the original request.
+ operation: Inference operation: ``"encode"`` | ``"score"`` | ``"extract"``.
+ model_id: Model identifier (e.g., ``"BAAI/bge-m3"``).
+ profile_id: Profile name (e.g., ``"default"``).
+ pool_name: Target pool (e.g., ``"_default"``).
+ machine_profile: Required GPU type (e.g., ``"l4"``). Workers validate this.
+ bundle_config_hash: Expected bundle config hash from the router's ModelRegistry.
+ Workers compare this against their own computed hash and NAK items with
+ mismatched hashes so they are redelivered to updated workers.
+
+ item: Inline item payload (text, small images). Mutually exclusive with ``payload_ref``.
+ payload_ref: S3 key for offloaded payload. Mutually exclusive with ``item``.
+
+ output_types: Encode: which outputs to return (``["dense", "sparse"]``).
+ instruction: Optional instruction for instruction-tuned models.
+ is_query: Encode: whether items are queries (True) or documents (False).
+ options: Runtime options (lora, pooling, output_dtype, etc.).
+
+ query_item: Score: the query item (inline).
+ query_payload_ref: Score: S3 key for offloaded query payload.
+ score_items: Score: all candidate items (inline list).
+
+ labels: Extract: entity labels.
+ output_schema: Extract: structured output schema.
+
+ router_id: Originating router identifier (for observability).
+ reply_subject: NATS subject where the worker should publish results.
+ timestamp: Unix timestamp when the work item was created.
+ """
+
+ machine_profile: str
+ bundle_config_hash: str
+
+ # Item payload (inline or reference)
+ item: dict[str, Any] | None
+ payload_ref: str | None
+
+ # Operation-specific context
+ output_types: list[str] | None
+ instruction: str | None
+ is_query: bool
+ options: dict[str, Any] | None
+
+ # Score-specific: query + all candidate items travel together
+ query_item: dict[str, Any] | None
+ query_payload_ref: str | None
+ score_items: list[dict[str, Any]] | None
+
+ # Extract-specific
+ labels: list[str] | None
+ output_schema: dict[str, Any] | None
+
+
+class _WorkResultRequired(TypedDict):
+ work_item_id: str
+ request_id: str
+ item_index: int
+ success: bool
+
+
+class WorkResult(_WorkResultRequired, total=False):
+ """Result for a single work item, published to the reply subject.
+
+ Published by the worker to the ``reply_subject`` from the corresponding
+ ``WorkItem``. The router collects results and reassembles the HTTP response.
+
+ Result payloads are serialized as msgpack bytes (opaque blobs) by the worker.
+ The router embeds them directly into the response without deserializing,
+ keeping numpy/msgpack-numpy out of the router's dependency graph.
+
+ Attributes:
+ work_item_id: Matches the originating ``WorkItem.work_item_id``.
+ request_id: Matches the originating ``WorkItem.request_id``.
+ item_index: Position in the original request (for result ordering).
+
+ success: Whether inference succeeded.
+ result_msgpack: Msgpack-serialized result bytes (opaque to the router).
+ For encode: a single ``EncodeResult`` dict.
+ For score: list of ``ScoreResult`` dicts.
+ For extract: a single ``ExtractResult`` dict.
+ error: Error message if ``success`` is False.
+ error_code: Machine-readable error code (e.g., ``"queue_full"``).
+
+ inference_ms: Time spent on GPU inference.
+ queue_ms: Time spent waiting in the NATS queue.
+ processing_ms: Time spent on processing (preprocessing + inference).
+ worker_id: Worker that processed this item (for observability).
+
+ tokenization_ms: Time spent tokenizing the input (ms).
+ postprocessing_ms: Time spent on output post-processing (ms).
+ payload_fetch_ms: Time spent fetching from payload store, 0 if inline (ms).
+ """
+
+ result_msgpack: bytes | None
+ error: str | None
+ error_code: str | None
+
+ inference_ms: float
+ queue_ms: float
+ processing_ms: float
+ worker_id: str
+
+ # Additional timing breakdown (all in milliseconds)
+ tokenization_ms: float
+ postprocessing_ms: float
+ payload_fetch_ms: float
+
+
+# -- NATS subject helpers ---------------------------------------------------
+
+# NATS JetStream max message size default is 1MB.
+INLINE_THRESHOLD_BYTES = 1_048_576 # 1 MB
+
+# Stream name prefix for work queues
+WORK_STREAM_PREFIX = "WORK"
+
+# Subject prefix for work items
+WORK_SUBJECT_PREFIX = "sie.work"
+
+# Dead-letter subject prefix — uses ``sie.dlq`` (not ``sie.work.dead``)
+# to avoid subject overlap with pool-level work streams (``sie.work.*.{pool}``).
+DEAD_LETTER_PREFIX = "sie.dlq"
+
+
+def normalize_model_id(model_id: str) -> str:
+ """Normalize a model ID for use in NATS subjects and stream names.
+
+ Replaces characters that are invalid in NATS subject tokens:
+ ``/`` -> ``__``, ``.`` -> ``_dot_``, ``*`` and ``>`` -> ``_``.
+ Consistent with config store file naming convention.
+
+ .. warning::
+
+ The encoding is **not fully reversible**. Model IDs containing
+ literal ``__`` (e.g., ``"org/a__b"``) collide with IDs containing
+ ``/`` at the same position (``"org/a/b"``). In practice this is
+ safe because HuggingFace model IDs never contain ``__``, but
+ callers that need the canonical ID should use the ``model_id``
+ field from the deserialized ``WorkItem``, not the NATS subject.
+
+ Args:
+ model_id: Model identifier (e.g., ``"BAAI/bge-m3"``).
+
+ Returns:
+ Normalized string (e.g., ``"BAAI__bge-m3"``).
+ """
+ result = model_id.replace("/", "__")
+ # Sanitize additional NATS-invalid characters
+ result = result.replace(".", "_dot_")
+ result = result.replace("*", "_")
+ result = result.replace(">", "_")
+ result = result.replace(" ", "_")
+ return result
+
+
+def denormalize_model_id(normalized: str) -> str:
+ """Best-effort reversal of :func:`normalize_model_id`.
+
+ Recovers the original model ID from a normalized NATS subject token.
+ The decoding assumes the original ID did not contain literal ``__``
+ or ``_dot_`` sequences — see the warning on :func:`normalize_model_id`.
+
+ Args:
+ normalized: Normalized model ID (e.g., ``"BAAI__bge-m3"``).
+
+ Returns:
+ Original model ID (e.g., ``"BAAI/bge-m3"``).
+ """
+ result = normalized.replace("__", "/")
+ result = result.replace("_dot_", ".")
+ return result
+
+
+def work_subject(model_id: str, pool_name: str) -> str:
+ """Build the NATS subject for a work queue.
+
+ Args:
+ model_id: Model identifier (e.g., ``"BAAI/bge-m3"``).
+ pool_name: Pool name (e.g., ``"_default"``).
+
+ Returns:
+ NATS subject string (e.g., ``"sie.work.BAAI__bge-m3._default"``).
+ """
+ return f"{WORK_SUBJECT_PREFIX}.{normalize_model_id(model_id)}.{pool_name}"
+
+
+def work_stream_name(model_id: str) -> str:
+ """Build the JetStream stream name for a model's work queue.
+
+ Args:
+ model_id: Model identifier (e.g., ``"BAAI/bge-m3"``).
+
+ Returns:
+ Stream name (e.g., ``"WORK_BAAI__bge-m3"``).
+ """
+ return f"{WORK_STREAM_PREFIX}_{normalize_model_id(model_id)}"
+
+
+def work_consumer_name(bundle_id: str, pool_name: str) -> str:
+ """Build the JetStream consumer name for a (bundle, pool) pair.
+
+ Args:
+ bundle_id: Bundle identifier (e.g., ``"default"``).
+ pool_name: Pool name (e.g., ``"_default"``).
+
+ Returns:
+ Consumer durable name (e.g., ``"default__default"``).
+ """
+ return f"{bundle_id}_{pool_name}"
+
+
+# -- Pool-level (multiplexed) stream helpers --------------------------------
+# A single stream per pool captures ALL models for that pool, replacing the
+# O(N-models) per-model stream design. The worker creates one pull consumer
+# and dispatches locally by model_id extracted from the message subject.
+
+WORK_POOL_STREAM_PREFIX = "WORK_POOL"
+
+
+def work_pool_stream_name(pool_name: str) -> str:
+ """Stream name for the multiplexed pool-level work queue.
+
+ Args:
+ pool_name: Pool name (e.g., ``"l4"``).
+
+ Returns:
+ Stream name (e.g., ``"WORK_POOL_l4"``).
+ """
+ return f"{WORK_POOL_STREAM_PREFIX}_{pool_name}"
+
+
+def work_pool_stream_subjects(pool_name: str) -> list[str]:
+ """Subjects captured by a pool-level stream.
+
+ Matches ``sie.work.<any-single-token>.<pool_name>`` which covers all
+ models for the given pool.
+
+ Args:
+ pool_name: Pool name (e.g., ``"l4"``).
+
+ Returns:
+ Subject list, e.g. ``["sie.work.*.l4"]``.
+ """
+ return [f"{WORK_SUBJECT_PREFIX}.*.{pool_name}"]
diff --git a/packages/sie_sdk/src/sie_sdk/storage.py b/packages/sie_sdk/src/sie_sdk/storage.py
index a25c16636..ee835275d 100644
--- a/packages/sie_sdk/src/sie_sdk/storage.py
+++ b/packages/sie_sdk/src/sie_sdk/storage.py
@@ -83,6 +83,41 @@ class StorageBackend(ABC):
File contents as string.
"""
+ @abstractmethod
+ def write_text(self, path: str, content: str) -> None:
+ """Write text content to a file.
+
+ Args:
+ path: Path to write.
+ content: Text content to write.
+ """
+
+ def write_text_if_match(self, path: str, content: str, expected_content: str) -> bool:
+ """Conditional write: write only if current content matches expected.
+
+ Used for compare-and-swap on epoch files. Subclasses MUST override
+ this method with an atomic implementation appropriate for the backend.
+
+ Args:
+ path: Path to write.
+ content: New content to write.
+ expected_content: Expected current content. Empty string means
+ the file must not exist (create-only semantics). Cloud
+ backends (S3, GCS) use precondition headers that reject
+ writes if the object already exists, even if it is empty.
+ Local backends treat a missing file as matching empty
+ expected content.
+
+ Returns:
+ True if write succeeded, False if content didn't match.
+
+ Raises:
+ NotImplementedError: Always. Subclasses must provide atomic CAS.
+ """
+ raise NotImplementedError(
+ f"{type(self).__name__} must override write_text_if_match with an atomic implementation"
+ )
+
@abstractmethod
def upload_file(self, src: Path, dst: str) -> None:
"""Upload a local file to the storage backend.
@@ -139,6 +174,95 @@ class LocalBackend(StorageBackend):
"""Read text from local file."""
return Path(path).read_text()
+ def write_text(self, path: str, content: str) -> None:
+ """Write text to local file."""
+ p = Path(path)
+ p.parent.mkdir(parents=True, exist_ok=True)
+ p.write_text(content)
+
+ def write_text_if_match(self, path: str, content: str, expected_content: str) -> bool:
+ """Atomic CAS on local filesystem using file locking."""
+ import sys
+
+ p = Path(path)
+
+ if sys.platform == "win32":
+ # Windows: use msvcrt for file locking (lock entire file, not just 1 byte)
+ import msvcrt
+
+ if not p.exists():
+ if expected_content != "":
+ return False # Expected content but file doesn't exist
+ # Create-new case: exclusive create with read-write mode
+ # so we can lock before writing.
+ p.parent.mkdir(parents=True, exist_ok=True)
+ try:
+ with p.open("xb+") as f:
+ # Lock immediately after exclusive create
+ content_bytes = content.encode()
+ file_len = max(len(content_bytes), 1)
+ msvcrt.locking(f.fileno(), msvcrt.LK_LOCK, file_len)
+ try:
+ f.write(content_bytes)
+ f.flush()
+ finally:
+ f.seek(0)
+ msvcrt.locking(f.fileno(), msvcrt.LK_UNLCK, file_len)
+ return True
+ except FileExistsError:
+ return False
+ else:
+ with p.open("r+") as f:
+ # Lock the entire file by determining its size first
+ f.seek(0, 2) # Seek to end
+ file_len = f.tell() or 1
+ f.seek(0)
+ msvcrt.locking(f.fileno(), msvcrt.LK_LOCK, file_len)
+ try:
+ current = f.read()
+ if current != expected_content:
+ return False
+ f.seek(0)
+ f.write(content)
+ f.truncate()
+ return True
+ finally:
+ f.seek(0)
+ new_len = max(file_len, f.seek(0, 2)) or 1
+ f.seek(0)
+ msvcrt.locking(f.fileno(), msvcrt.LK_UNLCK, new_len)
+ else:
+ import fcntl
+
+ if not p.exists():
+ if expected_content != "":
+ return False # Expected content but file doesn't exist
+ # Create-new case: exclusive create to prevent TOCTOU race
+ p.parent.mkdir(parents=True, exist_ok=True)
+ try:
+ with p.open("x") as f:
+ fcntl.flock(f, fcntl.LOCK_EX)
+ try:
+ f.write(content)
+ return True
+ finally:
+ fcntl.flock(f, fcntl.LOCK_UN)
+ except FileExistsError:
+ return False # Another writer created the file first
+ else:
+ with p.open("r+") as f:
+ fcntl.flock(f, fcntl.LOCK_EX)
+ try:
+ current = f.read()
+ if current != expected_content:
+ return False
+ f.seek(0)
+ f.write(content)
+ f.truncate()
+ return True
+ finally:
+ fcntl.flock(f, fcntl.LOCK_UN)
+
def upload_file(self, src: Path, dst: str) -> None:
"""Copy a local file to destination."""
dst_path = Path(dst)
@@ -270,6 +394,72 @@ class S3Backend(StorageBackend):
response = client.get_object(Bucket=bucket, Key=key)
return response["Body"].read().decode("utf-8")
+ def write_text(self, path: str, content: str) -> None:
+ """Write text content to S3."""
+ client = self._get_client()
+ bucket, key = self._parse_s3_url(path)
+ client.put_object(Bucket=bucket, Key=key, Body=content.encode("utf-8"))
+
+ def write_text_if_match(self, path: str, content: str, expected_content: str) -> bool:
+ """Conditional write to S3 using ETags for compare-and-swap.
+
+ Uses S3 conditional writes:
+ - If expected_content is empty: use IfNoneMatch='*' (create-only, epoch=0)
+ - Otherwise: read current ETag, compare content, use IfMatch for write
+
+ .. warning:: Compatibility
+
+ S3 conditional writes (``IfNoneMatch``, ``IfMatch``) are only
+ supported on **general purpose buckets** (available since August
+ 2024). On S3-compatible stores (MinIO, Ceph, R2) these headers
+ may be silently ignored, degrading CAS to an unconditional
+ overwrite. If you use a non-AWS S3-compatible backend, verify
+ that conditional writes are enforced, or fall back to an
+ external locking mechanism (e.g. DynamoDB).
+ """
+ client = self._get_client()
+ bucket, key = self._parse_s3_url(path)
+
+ if not expected_content.strip():
+ # First epoch (0) — object should not exist yet
+ try:
+ client.put_object(
+ Bucket=bucket,
+ Key=key,
+ Body=content.encode("utf-8"),
+ IfNoneMatch="*",
+ )
+ return True
+ except client.exceptions.ClientError as e:
+ if e.response["Error"]["Code"] in ("PreconditionFailed", "ConditionalRequestConflict"):
+ return False
+ raise
+ else:
+ # Read current content and ETag
+ try:
+ response = client.get_object(Bucket=bucket, Key=key)
+ current = response["Body"].read().decode("utf-8")
+ etag = response["ETag"]
+ except client.exceptions.NoSuchKey:
+ return False # Expected content but object doesn't exist
+
+ if current.strip() != expected_content.strip():
+ return False
+
+ # Write with ETag condition
+ try:
+ client.put_object(
+ Bucket=bucket,
+ Key=key,
+ Body=content.encode("utf-8"),
+ IfMatch=etag,
+ )
+ return True
+ except client.exceptions.ClientError as e:
+ if e.response["Error"]["Code"] in ("PreconditionFailed", "ConditionalRequestConflict"):
+ return False
+ raise
+
def upload_file(self, src: Path, dst: str) -> None:
"""Upload file to S3 with multipart for large files."""
client = self._get_client()
@@ -420,6 +610,66 @@ class GCSBackend(StorageBackend):
blob = bucket.blob(blob_path)
return blob.download_as_text()
+ def write_text(self, path: str, content: str) -> None:
+ """Write text content to GCS."""
+ client = self._get_client()
+ bucket_name, blob_path = self._parse_gcs_url(path)
+ bucket = client.bucket(bucket_name)
+ blob = bucket.blob(blob_path)
+ blob.upload_from_string(content, content_type="text/plain")
+
+ def write_text_if_match(self, path: str, content: str, expected_content: str) -> bool:
+ """Conditional write to GCS using generation-based preconditions.
+
+ Uses GCS generation numbers:
+ - If expected_content is empty: use if_generation_match=0 (create-only, epoch=0)
+ - Otherwise: read current generation, compare content, use if_generation_match for write
+ """
+ from google.api_core.exceptions import NotFound, PreconditionFailed
+
+ client = self._get_client()
+ bucket_name, blob_path = self._parse_gcs_url(path)
+ bucket = client.bucket(bucket_name)
+ blob = bucket.blob(blob_path)
+
+ if not expected_content.strip():
+ # First epoch (0) — object should not exist yet
+ try:
+ blob.upload_from_string(
+ content,
+ content_type="text/plain",
+ if_generation_match=0,
+ )
+ return True
+ except PreconditionFailed:
+ return False
+ else:
+ # Read current content and generation atomically.
+ # blob.reload() fetches metadata (including generation), then
+ # download_as_text() reads the object body. If the object is
+ # mutated between these two calls the generation captured here
+ # will be stale and the conditional upload below will correctly
+ # fail with PreconditionFailed, preserving CAS semantics.
+ try:
+ blob.reload()
+ generation = blob.generation
+ current = blob.download_as_text()
+ except NotFound:
+ return False
+
+ if current.strip() != expected_content.strip():
+ return False
+
+ try:
+ blob.upload_from_string(
+ content,
+ content_type="text/plain",
+ if_generation_match=generation,
+ )
+ return True
+ except PreconditionFailed:
+ return False
+
def upload_file(self, src: Path, dst: str) -> None:
"""Upload file to GCS."""
client = self._get_client()
diff --git a/packages/sie_sdk/src/sie_sdk/types.py b/packages/sie_sdk/src/sie_sdk/types.py
index 8f678e897..297203866 100644
--- a/packages/sie_sdk/src/sie_sdk/types.py
+++ b/packages/sie_sdk/src/sie_sdk/types.py
@@ -297,6 +297,8 @@ class WorkerInfo(TypedDict, total=False):
loaded_models: List of model names loaded on this worker.
memory_used_bytes: Total GPU memory in use.
memory_total_bytes: Total GPU memory available.
+ bundle: Bundle name this worker serves.
+ bundle_config_hash: Config hash for bundle config awareness gating.
"""
name: str
@@ -308,6 +310,8 @@ class WorkerInfo(TypedDict, total=False):
loaded_models: list[str]
memory_used_bytes: int
memory_total_bytes: int
+ bundle: str
+ bundle_config_hash: str
class CapacityInfo(TypedDict, total=False):
@@ -575,6 +579,30 @@ class ModelConfig(TypedDict, total=False):
adapter_options_runtime: dict[str, Any] | None
+class AdaptiveBatchingStatus(TypedDict, total=False):
+ """Adaptive batching state for a single model on a worker.
+
+ Absent from ModelStatus when adaptive batching is disabled for this model.
+
+ Attributes:
+ calibrated: Whether auto-calibration has completed.
+ target_p50_ms: Current SLO target (may be auto-calibrated). None before calibration.
+ wait_ms: Current dynamic max_batch_wait_ms.
+ batch_cost: Current dynamic max_batch_cost.
+ p50_ms: Observed rolling p50 latency. None if not enough samples.
+ headroom_ms: target - observed. None if either is None.
+ fill_ratio: Mean batch fill ratio (actual_cost / max_cost). None if no samples.
+ """
+
+ calibrated: bool
+ target_p50_ms: float | None
+ wait_ms: float
+ batch_cost: int
+ p50_ms: float | None
+ headroom_ms: float | None
+ fill_ratio: float | None
+
+
class ModelStatus(TypedDict, total=False):
"""Status of a single model on a worker.
@@ -586,6 +614,7 @@ class ModelStatus(TypedDict, total=False):
config: Model configuration details.
queue_depth: Number of requests in queue.
queue_pending_items: Same as queue_depth (for compatibility).
+ adaptive_batching: Adaptive batching state. Absent when disabled.
"""
name: str
@@ -595,6 +624,7 @@ class ModelStatus(TypedDict, total=False):
config: ModelConfig
queue_depth: int
queue_pending_items: int
+ adaptive_batching: AdaptiveBatchingStatus
class WorkerStatusMessage(TypedDict, total=False):
@@ -611,12 +641,20 @@ class WorkerStatusMessage(TypedDict, total=False):
name: Worker name/identifier.
machine_profile: Machine profile for routing. In K8s: from SIE_MACHINE_PROFILE env var
(e.g., "l4-spot"). Standalone: detected GPU type (e.g., "l4").
+ pool_name: NATS work-queue pool name (from SIE_POOL env var, e.g., "l4-spot-default").
+ Used by the router in queue mode to publish to the correct JetStream subject.
+ Empty string when not in queue mode or not set.
gpu_count: Number of GPUs on this worker.
bundle: Dependency bundle this worker is running (e.g., "default").
+ bundle_config_hash: SHA-256 hash of the serialized model configs/profiles
+ assigned to this worker's bundle. Used by routers to gate routing on
+ config awareness. Empty string when not yet computed.
loaded_models: List of model names currently loaded.
server: Server metadata (version, uptime, etc.).
gpus: Per-GPU metrics (includes gpu_type for each GPU).
models: Per-model status.
+ max_batch_requests: Maximum number of requests the worker can batch in a
+ single inference call (minimum across loaded models).
counters: Prometheus counter values for QPS calculation.
histograms: Prometheus histogram data for latency percentiles.
"""
@@ -625,12 +663,15 @@ class WorkerStatusMessage(TypedDict, total=False):
ready: bool
name: str
machine_profile: str
+ pool_name: str
gpu_count: int
bundle: str
+ bundle_config_hash: str
loaded_models: list[str]
server: ServerInfo
gpus: list[GPUMetrics]
models: list[ModelStatus]
+ max_batch_requests: int
counters: dict[str, dict[str, float]]
histograms: dict[str, dict[str, dict[str, Any]]]
diff --git a/packages/sie_sdk/tests/client/test_sync.py b/packages/sie_sdk/tests/client/test_sync.py
index 861dc88a0..f5e01c5cf 100644
--- a/packages/sie_sdk/tests/client/test_sync.py
+++ b/packages/sie_sdk/tests/client/test_sync.py
@@ -393,6 +393,50 @@ class TestListModels:
assert "dense" in models[0]["outputs"]
client.close()
+ def test_get_model_returns_info(self) -> None:
+ """get_model returns ModelInfo for a specific model."""
+ mock_response = MagicMock()
+ mock_response.status_code = 200
+ mock_response.json.return_value = {
+ "name": "BAAI/bge-m3",
+ "loaded": True,
+ "inputs": ["text"],
+ "outputs": ["dense", "sparse", "multivector"],
+ "dims": {"dense": 1024, "sparse": 250002, "multivector": 1024},
+ "max_sequence_length": 8192,
+ }
+
+ with patch("sie_sdk.client.sync.httpx.Client") as mock_client:
+ mock_client.return_value.get.return_value = mock_response
+ client = SIEClient("http://localhost:8080")
+ info = client.get_model("BAAI/bge-m3")
+
+ assert info["name"] == "BAAI/bge-m3"
+ assert info["dims"]["dense"] == 1024
+ assert info["dims"]["multivector"] == 1024
+ assert info["loaded"] is True
+ mock_client.return_value.get.assert_called_once_with(
+ "/v1/models/BAAI/bge-m3",
+ headers={"Accept": "application/json"},
+ )
+ client.close()
+
+ def test_get_model_not_found_raises(self) -> None:
+ """get_model raises RequestError for unknown model."""
+ mock_response = MagicMock()
+ mock_response.status_code = 404
+ mock_response.json.return_value = {
+ "detail": {"code": "MODEL_NOT_FOUND", "message": "Model 'foo' not found"},
+ }
+ mock_response.text = '{"detail": {"code": "MODEL_NOT_FOUND"}}'
+
+ with patch("sie_sdk.client.sync.httpx.Client") as mock_client:
+ mock_client.return_value.get.return_value = mock_response
+ client = SIEClient("http://localhost:8080")
+ with pytest.raises(RequestError):
+ client.get_model("foo")
+ client.close()
+
class TestContextManager:
"""Tests for context manager protocol."""
diff --git a/packages/sie_sdk/tests/test_storage_write.py b/packages/sie_sdk/tests/test_storage_write.py
new file mode 100644
index 000000000..3b92142ee
--- /dev/null
+++ b/packages/sie_sdk/tests/test_storage_write.py
@@ -0,0 +1,139 @@
+"""Tests for write_text and write_text_if_match in storage backends."""
+
+from pathlib import Path
+
+import pytest
+from sie_sdk.storage import LocalBackend, StorageBackend
+
+
+class TestLocalBackendWriteText:
+ """Tests for LocalBackend.write_text()."""
+
+ def test_write_text_creates_new_file(self, tmp_path: Path) -> None:
+ """write_text creates a file that didn't exist before."""
+ backend = LocalBackend()
+ target = tmp_path / "new_file.txt"
+
+ backend.write_text(str(target), "hello world")
+
+ assert target.exists()
+ assert target.read_text() == "hello world"
+
+ def test_write_text_overwrites_existing_content(self, tmp_path: Path) -> None:
+ """write_text replaces previous file content entirely."""
+ backend = LocalBackend()
+ target = tmp_path / "overwrite.txt"
+ target.write_text("old content")
+
+ backend.write_text(str(target), "new content")
+
+ assert target.read_text() == "new content"
+
+ def test_write_text_creates_parent_directories(self, tmp_path: Path) -> None:
+ """write_text creates intermediate parent dirs if they don't exist."""
+ backend = LocalBackend()
+ target = tmp_path / "deeply" / "nested" / "dir" / "file.txt"
+
+ backend.write_text(str(target), "nested content")
+
+ assert target.exists()
+ assert target.read_text() == "nested content"
+
+
+class TestLocalBackendWriteTextIfMatch:
+ """Tests for LocalBackend.write_text_if_match() (atomic CAS)."""
+
+ def test_succeeds_when_content_matches(self, tmp_path: Path) -> None:
+ """CAS write succeeds when file content matches expected."""
+ backend = LocalBackend()
+ target = tmp_path / "cas.txt"
+ target.write_text("epoch=1")
+
+ result = backend.write_text_if_match(str(target), "epoch=2", "epoch=1")
+
+ assert result is True
+ assert target.read_text() == "epoch=2"
+
+ def test_fails_when_content_does_not_match(self, tmp_path: Path) -> None:
+ """CAS write fails when file content differs from expected."""
+ backend = LocalBackend()
+ target = tmp_path / "cas_fail.txt"
+ target.write_text("epoch=5")
+
+ result = backend.write_text_if_match(str(target), "epoch=6", "epoch=3")
+
+ assert result is False
+ # Content unchanged
+ assert target.read_text() == "epoch=5"
+
+ def test_first_write_empty_expected_file_does_not_exist(self, tmp_path: Path) -> None:
+ """CAS with empty expected content succeeds when file doesn't exist.
+
+ write_text_if_match creates the file via touch() then checks that
+ the content is empty (matching the empty expected_content).
+ """
+ backend = LocalBackend()
+ target = tmp_path / "first_write.txt"
+
+ result = backend.write_text_if_match(str(target), "epoch=1", "")
+
+ assert result is True
+ assert target.read_text() == "epoch=1"
+
+ def test_first_write_creates_parent_directories(self, tmp_path: Path) -> None:
+ """CAS write creates parent directories for new files."""
+ backend = LocalBackend()
+ target = tmp_path / "nested" / "dir" / "epoch.txt"
+
+ result = backend.write_text_if_match(str(target), "epoch=1", "")
+
+ assert result is True
+ assert target.exists()
+
+ def test_empty_expected_fails_when_file_has_content(self, tmp_path: Path) -> None:
+ """CAS with empty expected fails when file already has content."""
+ backend = LocalBackend()
+ target = tmp_path / "nonempty.txt"
+ target.write_text("existing")
+
+ result = backend.write_text_if_match(str(target), "new", "")
+
+ assert result is False
+ assert target.read_text() == "existing" # Unchanged
+
+
+class TestStorageBackendWriteTextIfMatch:
+ """Tests for base StorageBackend.write_text_if_match()."""
+
+ def test_base_class_raises_not_implemented(self) -> None:
+ """Base StorageBackend.write_text_if_match raises NotImplementedError."""
+
+ # Create a minimal concrete subclass to test the base method
+ class StubBackend(StorageBackend):
+ def list_dirs(self, path):
+ return iter([])
+
+ def list_files(self, path, pattern="*"):
+ return iter([])
+
+ def download_file(self, src, dst):
+ pass
+
+ def exists(self, path):
+ return False
+
+ def read_text(self, path):
+ return ""
+
+ def write_text(self, path, content):
+ pass
+
+ def upload_file(self, src, dst):
+ pass
+
+ def upload_directory(self, src, dst):
+ return 0
+
+ stub = StubBackend()
+ with pytest.raises(NotImplementedError, match="StubBackend must override write_text_if_match"):
+ stub.write_text_if_match("/some/path", "new", "old")
diff --git a/packages/sie_server/pyproject.toml b/packages/sie_server/pyproject.toml
index 15896edef..fce3ec21f 100644
--- a/packages/sie_server/pyproject.toml
+++ b/packages/sie_server/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "sie-server"
-version = "0.1.9"
+version = "0.1.10"
description = "Search Inference Engine - GPU inference server for search workloads"
requires-python = ">=3.12,<3.13"
license = { text = "Apache-2.0" }
@@ -39,6 +39,8 @@ dependencies = [
"packaging>=24,<25",
# Hot-reload
"watchdog>=6,<7",
+ # NATS pub/sub for config notifications
+ "nats-py>=2.9,<3",
# Observability
"opentelemetry-api>=1.28,<2",
"opentelemetry-sdk>=1.28,<2",
diff --git a/packages/sie_server/src/sie_server/adapters/_flash_base.py b/packages/sie_server/src/sie_server/adapters/_flash_base.py
new file mode 100644
index 000000000..542b2bbba
--- /dev/null
+++ b/packages/sie_server/src/sie_server/adapters/_flash_base.py
@@ -0,0 +1,160 @@
+from __future__ import annotations
+
+import gc
+import importlib
+import logging
+from typing import TYPE_CHECKING, Any, ClassVar
+
+from sie_server.adapters.base import ModelAdapter
+
+if TYPE_CHECKING:
+ import torch
+
+logger = logging.getLogger(__name__)
+
+
+def _import_adapter_class(adapter_path: str) -> type[ModelAdapter]:
+ """Import an adapter class from a 'module:ClassName' string.
+
+ Uses the same resolution logic as ``loader._import_builtin_adapter`` but
+ accepts the **short form** used in the fallback table (e.g.
+ ``"sentence_transformer:SentenceTransformerDenseAdapter"``). The
+ ``sie_server.adapters.`` prefix is prepended automatically.
+
+ Args:
+ adapter_path: ``"module:ClassName"`` or
+ ``"sie_server.adapters.module:ClassName"`` string.
+
+ Returns:
+ The adapter class.
+
+ Raises:
+ ImportError: If module or class cannot be found.
+ """
+ if ":" not in adapter_path:
+ msg = f"Invalid adapter_path '{adapter_path}': expected 'module:ClassName'"
+ raise ImportError(msg)
+
+ module_path, class_name = adapter_path.rsplit(":", 1)
+
+ # Allow both short form ("sentence_transformer:Foo") and full form
+ if not module_path.startswith("sie_server."):
+ module_path = f"sie_server.adapters.{module_path}"
+
+ module = importlib.import_module(module_path)
+ if not hasattr(module, class_name):
+ msg = f"Adapter class '{class_name}' not found in module '{module_path}'"
+ raise ImportError(msg)
+
+ return getattr(module, class_name)
+
+
+class FlashBaseAdapter(ModelAdapter):
+ """Thin base class for all flash-attention adapters.
+
+ Provides:
+ - Declarative fallback: set ``fallback_adapter_path`` and optionally
+ ``fallback_kwargs_overrides`` instead of overriding ``create_for_device``.
+ - Common ``unload()`` with gc + cache clearing.
+ - ``_resolve_dtype()`` for compute precision mapping.
+ - ``get_preprocessor()`` returning ``CharCountPreprocessor``.
+
+ Subclasses with custom fallback logic (e.g. SPLADEFlashAdapter) can still
+ override ``create_for_device()`` directly.
+ """
+
+ # -- Declarative fallback ------------------------------------------------
+ # Subclasses set these to enable automatic flash -> non-flash fallback.
+ fallback_adapter_path: ClassVar[str | None] = None
+ fallback_kwargs_overrides: ClassVar[dict[str, Any]] = {}
+
+ @classmethod
+ def create_for_device(cls, device: str, **kwargs: Any) -> ModelAdapter:
+ """Factory method for device-aware adapter instantiation.
+
+ When ``fallback_adapter_path`` is ``None`` the adapter is always
+ returned as-is (no fallback). Otherwise the standard CUDA +
+ flash-attn check runs and falls back to the declared class on
+ incompatible hardware.
+ """
+ if cls.fallback_adapter_path is None:
+ return cls(**kwargs)
+
+ # Import lazily to avoid circular deps (core.inference -> core.loader -> base)
+ from sie_server.core.inference import is_flash_attention_available
+
+ if device.startswith("cuda") and is_flash_attention_available():
+ return cls(**kwargs)
+
+ # Resolve fallback class from string path
+ fallback_class = _import_adapter_class(cls.fallback_adapter_path)
+ merged = {**kwargs, **cls.fallback_kwargs_overrides}
+
+ if not device.startswith("cuda"):
+ logger.info(
+ "%s requires CUDA. Using %s for device '%s'. "
+ "For optimal performance, use a Linux system with NVIDIA GPU.",
+ cls.__name__,
+ fallback_class.__name__,
+ device,
+ )
+ else:
+ logger.warning(
+ "Flash Attention unavailable (requires Ampere+ GPU and flash-attn package). "
+ "Using %s for device '%s'. "
+ "To install on Linux: pip install sie-server[flash-attn]",
+ fallback_class.__name__,
+ device,
+ )
+
+ return fallback_class(**merged)
+
+ # -- Common unload -------------------------------------------------------
+ def unload(self) -> None:
+ """Unload model weights and free GPU memory."""
+ import torch as _torch
+
+ device = getattr(self, "_device", None)
+
+ # Clear standard fields
+ for attr in ("_model", "_tokenizer"):
+ if getattr(self, attr, None) is not None:
+ setattr(self, attr, None)
+
+ # Clear subclass-specific fields
+ for attr in self._extra_fields_to_clear():
+ if hasattr(self, attr):
+ setattr(self, attr, None)
+
+ self._device = None
+
+ gc.collect()
+ if device and str(device).startswith("cuda"):
+ _torch.cuda.empty_cache()
+
+ def _extra_fields_to_clear(self) -> list[str]:
+ """Override to list additional instance attributes to clear on unload."""
+ return []
+
+ # -- Shared utilities ----------------------------------------------------
+ def _resolve_dtype(self) -> torch.dtype:
+ """Map ``self._compute_precision`` to a ``torch.dtype``."""
+ import torch as _torch
+
+ dtype_map: dict[str, torch.dtype] = {
+ "float16": _torch.float16,
+ "bfloat16": _torch.bfloat16,
+ "float32": _torch.float32,
+ }
+ return dtype_map.get(
+ getattr(self, "_compute_precision", "float16"),
+ _torch.float16,
+ )
+
+ def get_preprocessor(self) -> Any:
+ """Return ``CharCountPreprocessor`` for cost estimation."""
+ from sie_server.core.preprocessor import CharCountPreprocessor
+
+ return CharCountPreprocessor(
+ model_name=getattr(self, "_model_name_or_path", ""),
+ )
diff --git a/packages/sie_server/src/sie_server/adapters/_utils.py b/packages/sie_server/src/sie_server/adapters/_utils.py
new file mode 100644
index 000000000..2b64048a4
--- /dev/null
+++ b/packages/sie_server/src/sie_server/adapters/_utils.py
@@ -0,0 +1,146 @@
+from __future__ import annotations
+
+from typing import TYPE_CHECKING, Any
+
+if TYPE_CHECKING:
+ import torch
+
+ from sie_server.types.inputs import Item
+
+
+# ---------------------------------------------------------------------------
+# RoPE utilities (eliminates 7 identical copies)
+# ---------------------------------------------------------------------------
+
+
+def rotate_half(x: torch.Tensor) -> torch.Tensor:
+ """Rotate half the hidden dims of the input for RoPE."""
+ x1 = x[..., : x.shape[-1] // 2]
+ x2 = x[..., x.shape[-1] // 2 :]
+ import torch as _torch
+
+ return _torch.cat((-x2, x1), dim=-1)
+
+
+def apply_rotary_pos_emb(
+ q: torch.Tensor,
+ k: torch.Tensor,
+ cos: torch.Tensor,
+ sin: torch.Tensor,
+) -> tuple[torch.Tensor, torch.Tensor]:
+ """Apply Rotary Position Embedding to query and key tensors.
+
+ Args:
+ q: Query tensor ``[total_tokens, num_heads, head_dim]``.
+ k: Key tensor ``[total_tokens, num_kv_heads, head_dim]``.
+ cos: Cosine part ``[total_tokens, head_dim]``.
+ sin: Sine part ``[total_tokens, head_dim]``.
+
+ Returns:
+ Rotated query and key tensors.
+ """
+ cos = cos.unsqueeze(1).to(q.dtype)
+ sin = sin.unsqueeze(1).to(q.dtype)
+ q_embed = (q * cos) + (rotate_half(q) * sin)
+ k_embed = (k * cos) + (rotate_half(k) * sin)
+ return q_embed, k_embed
+
+
+# ---------------------------------------------------------------------------
+# Output type validation (eliminates 9+ copies)
+# ---------------------------------------------------------------------------
+
+
+def validate_output_types(
+ output_types: list[str],
+ supported: set[str],
+ adapter_name: str,
+) -> None:
+ """Raise ``ValueError`` if any requested output type is unsupported."""
+ unsupported = set(output_types) - supported
+ if unsupported:
+ msg = f"Unsupported output types: {unsupported}. {adapter_name} only supports {supported!r}."
+ raise ValueError(msg)
+
+
+# ---------------------------------------------------------------------------
+# Text extraction (eliminates 9+ copies)
+# ---------------------------------------------------------------------------
+
+
+def extract_texts(
+ items: list[Item],
+ instruction: str | None,
+ *,
+ is_query: bool,
+ query_template: str | None = None,
+ doc_template: str | None = None,
+ always_apply_template: bool = False,
+ err_msg: str = "Item must have text",
+) -> list[str]:
+ """Extract text from items, applying query/doc templates.
+
+ Args:
+ items: List of input items.
+ instruction: Optional instruction string.
+ is_query: Whether items are queries (selects template).
+ query_template: Template for queries, e.g. ``"query: {text}"``.
+ doc_template: Template for documents, e.g. ``"passage: {text}"``.
+ always_apply_template: If ``True``, always apply the selected
+ template even when there is no instruction. This matches
+ the Nomic adapter behavior where task prefixes are mandatory.
+ err_msg: Error message when ``item.text`` is ``None``.
+
+ Returns:
+ List of formatted text strings.
+ """
+ texts: list[str] = []
+ template = query_template if is_query else doc_template
+
+ for item in items:
+ if item.text is None:
+ raise ValueError(err_msg)
+
+ text = item.text
+
+ if template and (instruction or always_apply_template):
+ text = template.format(text=text, instruction=instruction or "")
+ elif instruction:
+ text = f"{instruction} {text}"
+
+ texts.append(text)
+ return texts
+
+
+def extract_text(item: Item, *, err_msg: str = "Item must have text") -> str:
+ """Extract text from a single item (cross-encoder use)."""
+ if item.text is None:
+ raise ValueError(err_msg)
+ return item.text
+
+
+# ---------------------------------------------------------------------------
+# Runtime options resolution (eliminates 5+ copies)
+# ---------------------------------------------------------------------------
+
+
+def resolve_embedding_options(
+ options: dict[str, Any] | None,
+ *,
+ default_normalize: bool,
+ default_pooling: str,
+ default_query_template: str | None,
+ default_doc_template: str | None,
+) -> tuple[bool, str, str | None, str | None]:
+ """Resolve runtime options with adapter defaults as fallback.
+
+ Returns:
+ ``(normalize, pooling, query_template, doc_template)``
+ """
+ opts = options or {}
+ return (
+ opts.get("normalize", default_normalize),
+ opts.get("pooling", default_pooling),
+ opts.get("query_template", default_query_template),
+ opts.get("doc_template", default_doc_template),
+ )
diff --git a/packages/sie_server/src/sie_server/adapters/bert_flash_cross_encoder/__init__.py b/packages/sie_server/src/sie_server/adapters/bert_flash_cross_encoder/__init__.py
index 897d92f53..563f9ef56 100644
--- a/packages/sie_server/src/sie_server/adapters/bert_flash_cross_encoder/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/bert_flash_cross_encoder/__init__.py
@@ -56,7 +56,7 @@ class BertFlashCrossEncoderAdapter(ModelAdapter):
model_name_or_path: str | Path,
*,
trust_remote_code: bool = False,
- max_length: int = 512,
+ max_seq_length: int = 512,
compute_precision: ComputePrecision = "float16",
**kwargs: Any,
) -> None:
@@ -65,14 +65,14 @@ class BertFlashCrossEncoderAdapter(ModelAdapter):
Args:
model_name_or_path: HuggingFace model ID or local path.
trust_remote_code: Whether to trust remote code.
- max_length: Maximum sequence length for query+document.
+ max_seq_length: Maximum sequence length for query+document.
compute_precision: Compute precision (float16, bfloat16, float32).
**kwargs: Additional arguments (ignored).
"""
_ = kwargs
self._model_name_or_path = str(model_name_or_path)
self._trust_remote_code = trust_remote_code
- self._max_length = max_length
+ self._max_seq_length = max_seq_length
self._compute_precision = compute_precision
# Loaded state
@@ -270,7 +270,7 @@ class BertFlashCrossEncoderAdapter(ModelAdapter):
self._tokenizer(
q,
d,
- max_length=self._max_length,
+ max_length=self._max_seq_length,
truncation=True,
return_tensors="pt",
)
@@ -341,7 +341,7 @@ class BertFlashCrossEncoderAdapter(ModelAdapter):
raise RuntimeError(_ERR_NOT_LOADED)
opts = options or {}
- max_length = opts.get("max_length", self._max_length)
+ max_length = opts.get("max_seq_length", self._max_seq_length)
# Build (query, doc) pairs
pairs = []
diff --git a/packages/sie_server/src/sie_server/adapters/florence2/__init__.py b/packages/sie_server/src/sie_server/adapters/florence2/__init__.py
index 5a3eb5fbd..34c3ffb8a 100644
--- a/packages/sie_server/src/sie_server/adapters/florence2/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/florence2/__init__.py
@@ -28,7 +28,7 @@ from transformers import PreTrainedModel
from sie_server.adapters.base import ModelAdapter, ModelCapabilities, ModelDims
from sie_server.core.inference_output import EncodeOutput, ExtractOutput
-from sie_server.types.responses import Entity
+from sie_server.types.responses import DetectedObject, Entity
if TYPE_CHECKING:
from sie_server.types.inputs import Item
@@ -292,8 +292,9 @@ class Florence2Adapter(ModelAdapter):
# Fallback to inline preprocessing
all_entities = []
+ all_objects = []
for item in items:
- entities = self._extract_single(
+ entities, objects = self._extract_single(
item,
prompt=prompt,
task=task,
@@ -301,8 +302,13 @@ class Florence2Adapter(ModelAdapter):
num_beams=num_beams,
)
all_entities.append(entities)
+ all_objects.append(objects)
- return ExtractOutput(entities=all_entities)
+ has_objects = any(objs for objs in all_objects)
+ return ExtractOutput(
+ entities=all_entities,
+ objects=all_objects if has_objects else None,
+ )
def _extract_preprocessed(
self,
@@ -331,6 +337,7 @@ class Florence2Adapter(ModelAdapter):
from sie_server.core.prepared import Florence2Payload, PreparedItem
all_entities = []
+ all_objects = []
for i, prepared in enumerate(prepared_items):
# Extract payload
@@ -341,7 +348,7 @@ class Florence2Adapter(ModelAdapter):
if not isinstance(payload, Florence2Payload):
# Fallback to inline preprocessing if payload is wrong type
- entities = self._extract_single(
+ entities, objects = self._extract_single(
items[i],
prompt=task,
task=task,
@@ -349,6 +356,7 @@ class Florence2Adapter(ModelAdapter):
num_beams=num_beams,
)
all_entities.append(entities)
+ all_objects.append(objects)
continue
# Move tensors to device with correct dtype
@@ -384,10 +392,15 @@ class Florence2Adapter(ModelAdapter):
)
# Convert to SIE format
- entities = self._convert_output(parsed, task, payload.original_size)
+ entities, objects = self._convert_output(parsed, task, payload.original_size)
all_entities.append(entities)
+ all_objects.append(objects)
- return ExtractOutput(entities=all_entities)
+ has_objects = any(objs for objs in all_objects)
+ return ExtractOutput(
+ entities=all_entities,
+ objects=all_objects if has_objects else None,
+ )
def _build_prompt(
self,
@@ -424,7 +437,7 @@ class Florence2Adapter(ModelAdapter):
task: str,
max_new_tokens: int,
num_beams: int,
- ) -> list[Entity]:
+ ) -> tuple[list[Entity], list[DetectedObject]]:
"""Extract from a single item.
Args:
@@ -435,7 +448,7 @@ class Florence2Adapter(ModelAdapter):
num_beams: Beam search width.
Returns:
- List of entities extracted from the item.
+ Tuple of (entities, detected_objects) extracted from the item.
"""
from PIL import Image as PILImage
@@ -497,7 +510,7 @@ class Florence2Adapter(ModelAdapter):
parsed: dict[str, Any],
task: str,
image_size: tuple[int, int],
- ) -> list[Entity]:
+ ) -> tuple[list[Entity], list[DetectedObject]]:
"""Convert Florence-2 output to SIE extraction format.
Args:
@@ -506,9 +519,10 @@ class Florence2Adapter(ModelAdapter):
image_size: Original image size (width, height).
Returns:
- List of entities extracted from the output.
+ Tuple of (entities, detected_objects) extracted from the output.
"""
entities: list[Entity] = []
+ objects: list[DetectedObject] = []
task_output = parsed.get(task, {})
@@ -537,10 +551,9 @@ class Florence2Adapter(ModelAdapter):
for bbox, label in zip(bboxes, labels, strict=False):
# Normalize bbox
norm_bbox = self._normalize_bbox(bbox, image_size)
- entities.append(
- Entity(
- text=label or "object",
- label="object",
+ objects.append(
+ DetectedObject(
+ label=label or "object",
score=1.0,
bbox=[int(b) for b in norm_bbox], # Convert to int list
)
@@ -579,7 +592,7 @@ class Florence2Adapter(ModelAdapter):
)
)
- return entities
+ return entities, objects
def _quad_to_bbox(
self,
diff --git a/packages/sie_server/src/sie_server/adapters/glirel/__init__.py b/packages/sie_server/src/sie_server/adapters/glirel/__init__.py
index be8517a54..62d81a1a5 100644
--- a/packages/sie_server/src/sie_server/adapters/glirel/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/glirel/__init__.py
@@ -20,7 +20,7 @@ from sie_server.adapters.base import ModelAdapter, ModelCapabilities, ModelDims
from sie_server.core.inference_output import ExtractOutput
from sie_server.core.preprocessor import CharCountPreprocessor
from sie_server.types.inputs import Item
-from sie_server.types.responses import Entity
+from sie_server.types.responses import Entity, Relation
# Compute precision type (for interface compatibility)
ComputePrecision = Literal["float16", "bfloat16", "float32"]
@@ -186,13 +186,15 @@ class GLiRELAdapter(ModelAdapter):
raise ValueError(_ERR_REQUIRES_LABELS)
all_entities = []
+ all_relations = []
for item in items:
text = self._extract_text(item)
entities = self._extract_entities(item)
if not entities:
- # No entities provided - return empty list
+ # No entities provided - return empty lists
all_entities.append([])
+ all_relations.append([])
continue
# Convert entities to GLiREL format: [[start_char, end_char, type, text], ...]
@@ -210,7 +212,7 @@ class GLiRELAdapter(ModelAdapter):
# GLiREL prediction - v1.0+ API takes text directly
with torch.inference_mode():
- relations = self._model.predict_relations(
+ raw_relations = self._model.predict_relations(
text=text,
labels=labels,
threshold=effective_threshold,
@@ -218,10 +220,9 @@ class GLiRELAdapter(ModelAdapter):
top_k=effective_top_k,
)
- # Convert to our format
- # For GLiREL, we convert relations to entities with relation info in the text/label
- item_entities = []
- for rel in relations:
+ # Convert to proper Relation objects
+ item_relations = []
+ for rel in raw_relations:
# Extract head/tail text (GLiREL v1.0+ returns strings, strip extra whitespace)
head_text = rel.get("head_text", "")
tail_text = rel.get("tail_text", "")
@@ -229,20 +230,18 @@ class GLiRELAdapter(ModelAdapter):
head_text = " ".join(head_text)
if isinstance(tail_text, list):
tail_text = " ".join(tail_text)
- head_text = head_text.strip()
- tail_text = tail_text.strip()
- # Create an entity representing the relation triple
- relation_label = rel.get("label", "")
- item_entities.append(
- Entity(
- text=f"{head_text} -> {tail_text}",
- label=f"relation:{relation_label}",
+ item_relations.append(
+ Relation(
+ head=head_text.strip(),
+ tail=tail_text.strip(),
+ relation=rel.get("label", ""),
score=float(rel.get("score", 0.0)),
)
)
- # Also add input entities
+ # Echo input entities
+ item_entities = []
for ent in entities:
item_entities.append(
Entity(
@@ -255,8 +254,9 @@ class GLiRELAdapter(ModelAdapter):
)
all_entities.append(item_entities)
+ all_relations.append(item_relations)
- return ExtractOutput(entities=all_entities)
+ return ExtractOutput(entities=all_entities, relations=all_relations)
def _extract_text(self, item: Item) -> str:
"""Extract text from an item."""
diff --git a/packages/sie_server/src/sie_server/adapters/grounding_dino/__init__.py b/packages/sie_server/src/sie_server/adapters/grounding_dino/__init__.py
index 5f546e060..7175aa4c2 100644
--- a/packages/sie_server/src/sie_server/adapters/grounding_dino/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/grounding_dino/__init__.py
@@ -39,7 +39,7 @@ from PIL import Image as PILImage
from sie_server.adapters.base import ModelAdapter, ModelCapabilities, ModelDims
from sie_server.core.inference_output import EncodeOutput, ExtractOutput
from sie_server.types.inputs import ImageInput
-from sie_server.types.responses import Entity
+from sie_server.types.responses import DetectedObject
if TYPE_CHECKING:
from PIL.Image import Image
@@ -222,7 +222,7 @@ class GroundingDINOAdapter(ModelAdapter):
valid_items = [p for p in prepared_items if hasattr(p, "payload") and p.payload is not None]
if not valid_items:
- return ExtractOutput(entities=[[] for _ in range(n_items)])
+ return ExtractOutput(entities=[[] for _ in range(n_items)], objects=[[] for _ in range(n_items)])
# Stack pixel values and collect metadata
pixel_values = torch.stack([p.payload.pixel_values for p in valid_items])
@@ -250,7 +250,7 @@ class GroundingDINOAdapter(ModelAdapter):
image_indices.append(idx)
if not images:
- return ExtractOutput(entities=[[] for _ in range(n_items)])
+ return ExtractOutput(entities=[[] for _ in range(n_items)], objects=[[] for _ in range(n_items)])
# Batched inference with PIL images
batch_results = self._detect_batch(
@@ -262,11 +262,11 @@ class GroundingDINOAdapter(ModelAdapter):
)
# Map results back to original item positions
- all_entities: list[list[Entity]] = [[] for _ in range(n_items)]
+ all_objects: list[list[DetectedObject]] = [[] for _ in range(n_items)]
for result_idx, item_idx in enumerate(image_indices):
- all_entities[item_idx] = batch_results[result_idx]
+ all_objects[item_idx] = batch_results[result_idx]
- return ExtractOutput(entities=all_entities)
+ return ExtractOutput(entities=[[] for _ in range(n_items)], objects=all_objects)
def _detect_batch(
self,
@@ -278,7 +278,7 @@ class GroundingDINOAdapter(ModelAdapter):
pixel_values: torch.Tensor | None = None,
original_sizes: list[tuple[int, int]] | None = None,
images: list[Image] | None = None,
- ) -> list[list[Entity]]:
+ ) -> list[list[DetectedObject]]:
"""Run batched detection on multiple images.
Supports two modes:
@@ -295,7 +295,7 @@ class GroundingDINOAdapter(ModelAdapter):
images: List of PIL Images (fallback if pixel_values not provided).
Returns:
- List of entity lists, one per input image.
+ List of detected object lists, one per input image.
"""
processor = self._processor
model = self._model
@@ -356,11 +356,11 @@ class GroundingDINOAdapter(ModelAdapter):
target_sizes=target_sizes,
)
- # Convert results to Entity format
- return [self._results_to_entities(result) for result in results]
+ # Convert results to DetectedObject format
+ return [self._results_to_objects(result) for result in results]
- def _results_to_entities(self, result: dict[str, Any]) -> list[Entity]:
- """Convert post-processed detection result to Entity list."""
+ def _results_to_objects(self, result: dict[str, Any]) -> list[DetectedObject]:
+ """Convert post-processed detection result to DetectedObject list."""
boxes = result["boxes"]
scores = result["scores"]
result_labels = result.get("text_labels", result.get("labels", []))
@@ -369,22 +369,21 @@ class GroundingDINOAdapter(ModelAdapter):
if n_detections == 0:
return []
- entities = []
+ objects = []
for i in range(n_detections):
box = boxes[i]
x1, y1, x2, y2 = box.tolist()
label_text = result_labels[i]
- entities.append(
- Entity(
- text=label_text,
- label="object", # Category type, consistent with Florence2
+ objects.append(
+ DetectedObject(
+ label=label_text,
score=float(scores[i]),
bbox=[int(x1), int(y1), int(x2 - x1), int(y2 - y1)],
)
)
- return entities
+ return objects
def _extract_image(self, item: Item) -> Image | None:
"""Extract PIL Image from item.
diff --git a/packages/sie_server/src/sie_server/adapters/jina_flash_cross_encoder/__init__.py b/packages/sie_server/src/sie_server/adapters/jina_flash_cross_encoder/__init__.py
index c08a33a74..c3102d2e1 100644
--- a/packages/sie_server/src/sie_server/adapters/jina_flash_cross_encoder/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/jina_flash_cross_encoder/__init__.py
@@ -52,7 +52,7 @@ class JinaFlashCrossEncoderAdapter(ModelAdapter):
model_name_or_path: str | Path,
*,
trust_remote_code: bool = True,
- max_length: int = 8192,
+ max_seq_length: int = 8192,
compute_precision: ComputePrecision = "bfloat16",
**kwargs: Any,
) -> None:
@@ -61,14 +61,14 @@ class JinaFlashCrossEncoderAdapter(ModelAdapter):
Args:
model_name_or_path: HuggingFace model ID or local path.
trust_remote_code: Whether to trust remote code (required for Jina).
- max_length: Maximum sequence length for query+document.
+ max_seq_length: Maximum sequence length for query+document.
compute_precision: Compute precision (bfloat16 recommended for Jina).
**kwargs: Additional arguments (ignored).
"""
_ = kwargs
self._model_name_or_path = str(model_name_or_path)
self._trust_remote_code = trust_remote_code
- self._max_length = max_length
+ self._max_seq_length = max_seq_length
self._compute_precision = compute_precision
# Loaded state
@@ -211,7 +211,7 @@ class JinaFlashCrossEncoderAdapter(ModelAdapter):
encodings = self._tokenizer(
[p[0] for p in pairs],
[p[1] for p in pairs],
- max_length=self._max_length,
+ max_length=self._max_seq_length,
truncation=True,
padding=True,
return_tensors="pt",
@@ -260,7 +260,7 @@ class JinaFlashCrossEncoderAdapter(ModelAdapter):
raise RuntimeError(_ERR_NOT_LOADED)
opts = options or {}
- max_length = opts.get("max_length", self._max_length)
+ max_length = opts.get("max_seq_length", self._max_seq_length)
# Build (query, doc) pairs
pairs = []
diff --git a/packages/sie_server/src/sie_server/adapters/modernbert_flash_cross_encoder/__init__.py b/packages/sie_server/src/sie_server/adapters/modernbert_flash_cross_encoder/__init__.py
index 4876fdb07..35fad1336 100644
--- a/packages/sie_server/src/sie_server/adapters/modernbert_flash_cross_encoder/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/modernbert_flash_cross_encoder/__init__.py
@@ -62,7 +62,7 @@ class ModernBertFlashCrossEncoderAdapter(ModelAdapter):
model_name_or_path: str | Path,
*,
trust_remote_code: bool = True,
- max_length: int = 8192,
+ max_seq_length: int = 8192,
compute_precision: ComputePrecision = "bfloat16",
**kwargs: Any,
) -> None:
@@ -71,14 +71,14 @@ class ModernBertFlashCrossEncoderAdapter(ModelAdapter):
Args:
model_name_or_path: HuggingFace model ID or local path.
trust_remote_code: Whether to trust remote code.
- max_length: Maximum sequence length for query+document.
+ max_seq_length: Maximum sequence length for query+document.
compute_precision: Compute precision (bfloat16 recommended for ModernBERT).
**kwargs: Additional arguments (ignored).
"""
_ = kwargs
self._model_name_or_path = str(model_name_or_path)
self._trust_remote_code = trust_remote_code
- self._max_length = max_length
+ self._max_seq_length = max_seq_length
self._compute_precision = compute_precision
# Loaded state
@@ -240,7 +240,7 @@ class ModernBertFlashCrossEncoderAdapter(ModelAdapter):
self._tokenizer(
q,
d,
- max_length=self._max_length,
+ max_length=self._max_seq_length,
truncation=True,
return_tensors="pt",
)
@@ -304,7 +304,7 @@ class ModernBertFlashCrossEncoderAdapter(ModelAdapter):
raise RuntimeError(_ERR_NOT_LOADED)
opts = options or {}
- max_length = opts.get("max_length", self._max_length)
+ max_length = opts.get("max_seq_length", self._max_seq_length)
# Build (query, doc) pairs
pairs = []
diff --git a/packages/sie_server/src/sie_server/adapters/owlv2/__init__.py b/packages/sie_server/src/sie_server/adapters/owlv2/__init__.py
index e400cdf58..eb7d0cedd 100644
--- a/packages/sie_server/src/sie_server/adapters/owlv2/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/owlv2/__init__.py
@@ -41,7 +41,7 @@ from PIL import Image as PILImage
from sie_server.adapters.base import ModelAdapter, ModelCapabilities, ModelDims
from sie_server.core.inference_output import EncodeOutput, ExtractOutput
-from sie_server.types.responses import Entity
+from sie_server.types.responses import DetectedObject
if TYPE_CHECKING:
from PIL.Image import Image
@@ -222,7 +222,7 @@ class Owlv2Adapter(ModelAdapter):
valid_items = [p for p in prepared_items if hasattr(p, "payload") and p.payload is not None]
if not valid_items:
- return ExtractOutput(entities=[[] for _ in range(n_items)])
+ return ExtractOutput(entities=[[] for _ in range(n_items)], objects=[[] for _ in range(n_items)])
# Stack pixel values and collect metadata
pixel_values = torch.stack([p.payload.pixel_values for p in valid_items])
@@ -249,7 +249,7 @@ class Owlv2Adapter(ModelAdapter):
image_indices.append(idx)
if not images:
- return ExtractOutput(entities=[[] for _ in range(n_items)])
+ return ExtractOutput(entities=[[] for _ in range(n_items)], objects=[[] for _ in range(n_items)])
# Batched inference with PIL images
batch_results = self._detect_batch(
@@ -260,11 +260,11 @@ class Owlv2Adapter(ModelAdapter):
)
# Map results back to original item positions
- all_entities: list[list[Entity]] = [[] for _ in range(n_items)]
+ all_objects: list[list[DetectedObject]] = [[] for _ in range(n_items)]
for result_idx, item_idx in enumerate(image_indices):
- all_entities[item_idx] = batch_results[result_idx]
+ all_objects[item_idx] = batch_results[result_idx]
- return ExtractOutput(entities=all_entities)
+ return ExtractOutput(entities=[[] for _ in range(n_items)], objects=all_objects)
def _detect_batch(
self,
@@ -275,7 +275,7 @@ class Owlv2Adapter(ModelAdapter):
pixel_values: torch.Tensor | None = None,
original_sizes: list[tuple[int, int]] | None = None,
images: list[Image] | None = None,
- ) -> list[list[Entity]]:
+ ) -> list[list[DetectedObject]]:
"""Run batched detection on multiple images.
Supports two modes:
@@ -291,7 +291,7 @@ class Owlv2Adapter(ModelAdapter):
images: List of PIL Images (fallback if pixel_values not provided).
Returns:
- List of entity lists, one per input image.
+ List of detected object lists, one per input image.
"""
processor = self._processor
model = self._model
@@ -370,11 +370,11 @@ class Owlv2Adapter(ModelAdapter):
threshold=score_threshold,
)
- # Convert results to Entity format
- return [self._results_to_entities(result, labels) for result in results]
+ # Convert results to DetectedObject format
+ return [self._results_to_objects(result, labels) for result in results]
- def _results_to_entities(self, result: dict[str, Any], labels: list[str]) -> list[Entity]:
- """Convert post-processed detection result to Entity list."""
+ def _results_to_objects(self, result: dict[str, Any], labels: list[str]) -> list[DetectedObject]:
+ """Convert post-processed detection result to DetectedObject list."""
boxes = result["boxes"]
scores = result["scores"]
label_indices = result["labels"]
@@ -384,23 +384,22 @@ class Owlv2Adapter(ModelAdapter):
return []
n_labels = len(labels)
- entities = []
+ objects = []
for i in range(n_detections):
box = boxes[i]
x1, y1, x2, y2 = box.tolist()
label_idx = label_indices[i].item()
label_text = labels[label_idx] if label_idx < n_labels else f"class_{label_idx}"
- entities.append(
- Entity(
- text=label_text,
- label="object", # Category type, consistent with Florence2
+ objects.append(
+ DetectedObject(
+ label=label_text,
score=float(scores[i]),
bbox=[int(x1), int(y1), int(x2 - x1), int(y2 - y1)],
)
)
- return entities
+ return objects
def _extract_image(self, item: Item) -> Image | None:
"""Extract PIL Image from item.
diff --git a/packages/sie_server/src/sie_server/adapters/qwen2_flash_cross_encoder/__init__.py b/packages/sie_server/src/sie_server/adapters/qwen2_flash_cross_encoder/__init__.py
index 4052a4518..20328ba1e 100644
--- a/packages/sie_server/src/sie_server/adapters/qwen2_flash_cross_encoder/__init__.py
+++ b/packages/sie_server/src/sie_server/adapters/qwen2_flash_cross_encoder/__init__.py
@@ -79,7 +79,7 @@ class Qwen2FlashCrossEncoderAdapter(ModelAdapter):
model_name_or_path: str | Path,
*,
trust_remote_code: bool = False,
- max_length: int = 8192,
+ max_seq_length: int = 8192,
compute_precision: ComputePrecision = "bfloat16",
**kwargs: Any,
) -> None:
@@ -88,14 +88,14 @@ class Qwen2FlashCrossEncoderAdapter(ModelAdapter):
Args:
model_name_or_path: HuggingFace model ID or local path.
trust_remote_code: Whether to trust remote code.
- max_length: Maximum sequence length for query+document.
+ max_seq_length: Maximum sequence length for query+document.
compute_precision: Compute precision (bfloat16 recommended).
**kwargs: Additional arguments (ignored).
"""
_ = kwargs
self._model_name_or_path = str(model_name_or_path)
self._trust_remote_code = trust_remote_code
- self._max_length = max_length
+ self._max_seq_length = max_seq_length
self._compute_precision = compute_precision
# Loaded state
@@ -336,7 +336,7 @@ class Qwen2FlashCrossEncoderAdapter(ModelAdapter):
raise RuntimeError(_ERR_NOT_LOADED)
opts = options or {}
- max_length = opts.get("max_length", self._max_length)
+ max_length = opts.get("max_seq_length", self._max_seq_length)
# Build input sequences with chat template
all_input_ids = []
@@ -399,9 +399,9 @@ class Qwen2FlashCrossEncoderAdapter(ModelAdapter):
Args:
query: Query text.
document: Document text.
- max_length: Maximum sequence length override (defaults to self._max_length).
+ max_length: Maximum sequence length override (defaults to self._max_seq_length).
"""
- effective_max_length = max_length if max_length is not None else self._max_length
+ effective_max_length = max_length if max_length is not None else self._max_seq_length
# Tokenize query and document
query_prompt = f"query: {query}"
diff --git a/packages/sie_server/src/sie_server/api/extract.py b/packages/sie_server/src/sie_server/api/extract.py
index a0d9925a4..3b41b14f9 100644
--- a/packages/sie_server/src/sie_server/api/extract.py
+++ b/packages/sie_server/src/sie_server/api/extract.py
@@ -26,6 +26,7 @@ from sie_server.types.openapi import ExtractResponseModel
from sie_server.types.requests import ExtractRequest
from sie_server.types.responses import (
Classification,
+ DetectedObject,
Entity,
ErrorCode,
ExtractResponse,
@@ -204,12 +205,24 @@ def _build_response(
)
)
+ # Convert object dicts to DetectedObject objects
+ objects = []
+ for obj in result.get("objects", []):
+ objects.append(
+ DetectedObject(
+ label=obj["label"],
+ score=obj.get("score", 1.0),
+ bbox=obj["bbox"],
+ )
+ )
+
results.append(
ExtractResult(
id=item_id,
entities=entities,
relations=relations,
classifications=classifications,
+ objects=objects,
data=result.get("data", {}),
)
)
diff --git a/packages/sie_server/src/sie_server/api/ws.py b/packages/sie_server/src/sie_server/api/ws.py
index e7947e02b..3fefd163e 100644
--- a/packages/sie_server/src/sie_server/api/ws.py
+++ b/packages/sie_server/src/sie_server/api/ws.py
@@ -2,6 +2,8 @@ from __future__ import annotations
import asyncio
import getpass
+import hashlib
+import json
import logging
import os
import time
@@ -18,6 +20,7 @@ from sie_sdk.types import (
WorkerStatusMessage,
)
+from sie_server.core.batcher import BatchConfig
from sie_server.core.readiness import is_ready
from sie_server.observability.gpu import get_gpu_metrics
from sie_server.observability.prometheus import collect_prometheus_metrics
@@ -120,6 +123,19 @@ def get_model_status(registry: ModelRegistry) -> list[ModelStatus]:
# queue_depth is the same as pending_count for our design
model_info["queue_depth"] = loaded_model.worker.pending_count
+ # Adaptive batching state (via snapshot API)
+ adaptive_state = loaded_model.worker.get_adaptive_state()
+ if adaptive_state is not None:
+ model_info["adaptive_batching"] = {
+ "calibrated": adaptive_state.calibrated,
+ "target_p50_ms": adaptive_state.target_p50_ms,
+ "wait_ms": adaptive_state.current_wait_ms,
+ "batch_cost": adaptive_state.current_batch_cost,
+ "p50_ms": adaptive_state.observed_p50_ms,
+ "headroom_ms": adaptive_state.headroom_ms,
+ "fill_ratio": adaptive_state.fill_ratio,
+ }
+
models.append(model_info)
# Sort by memory usage (highest first) like `top`
@@ -127,6 +143,76 @@ def get_model_status(registry: ModelRegistry) -> list[ModelStatus]:
return models
+def _compute_bundle_config_hash(registry: ModelRegistry, bundle_id: str) -> str:
+ """Compute SHA-256 hash of model configs assigned to this worker's bundle.
+
+ The hash covers serialized model configs (sie_id + profiles) for models
+ routable to the given bundle. Bundle metadata is excluded (immutable at
+ runtime).
+
+ Args:
+ registry: The model registry.
+ bundle_id: The bundle identifier to scope configs to.
+
+ Returns:
+ Hex-encoded SHA-256 hash string, or empty string if no configs.
+ """
+ configs = registry.get_configs_snapshot(bundle_id)
+ if not configs:
+ return ""
+
+ # Deterministic serialization matching router's compute_bundle_config_hash:
+ # both sides hash [{"sie_id": name, "profiles": [{name, config}]}]
+ # where config contains routable fields (adapter_path, max_batch_tokens, etc.).
+ _hash_fields = ("adapter_path", "max_batch_tokens", "compute_precision", "adapter_options")
+ items = []
+ for config in sorted(configs.values(), key=lambda c: c.sie_id):
+ profiles_for_hash = []
+ for pname in sorted(config.profiles.keys()):
+ profile = config.profiles[pname]
+ # Normalize adapter_options to a plain dict or None.
+ # Pydantic models serialize default AdapterOptions() as
+ # {"loadtime": {}, "runtime": {}} which would mismatch
+ # the router's raw dict (None when not set). Treat a
+ # default/empty AdapterOptions the same as None.
+ adapter_opts_raw = None
+ if profile.adapter_options:
+ dumped = profile.adapter_options.model_dump(mode="json")
+ # Treat all-empty-sub-dicts as None (matches router's raw None)
+ if any(v for v in dumped.values()):
+ adapter_opts_raw = dumped
+ profile_dict = {
+ "adapter_path": profile.adapter_path,
+ "max_batch_tokens": profile.max_batch_tokens,
+ "compute_precision": profile.compute_precision,
+ "adapter_options": adapter_opts_raw,
+ }
+ profiles_for_hash.append({"name": pname, "config": profile_dict})
+ items.append({"sie_id": config.sie_id, "profiles": profiles_for_hash})
+
+ serialized = json.dumps(items, sort_keys=True, separators=(",", ":"))
+ return hashlib.sha256(serialized.encode()).hexdigest()
+
+
+# Cache of bundle config hashes. Populated by _compute_bundle_config_hash
+# and invalidated when the registry is mutated.
+_bundle_config_hash_cache: dict[str, tuple[int, str]] = {}
+
+
+def compute_bundle_config_hash_cached(registry: ModelRegistry, bundle_id: str) -> str:
+ """Return cached bundle config hash, recomputing only when configs change.
+
+ Uses the registry's config version (mutation counter) to detect staleness.
+ """
+ version = getattr(registry, "_config_version", 0)
+ cached = _bundle_config_hash_cache.get(bundle_id)
+ if cached is not None and cached[0] == version:
+ return cached[1]
+ result = _compute_bundle_config_hash(registry, bundle_id)
+ _bundle_config_hash_cache[bundle_id] = (version, result)
+ return result
+
+
async def build_status_message(registry: ModelRegistry) -> WorkerStatusMessage:
"""Build the complete status message.
@@ -172,10 +258,14 @@ async def build_status_message(registry: ModelRegistry) -> WorkerStatusMessage:
# Bundle: from environment variable (set by CLI --bundle flag)
bundle = os.environ.get("SIE_BUNDLE", "default")
+ # Compute bundle_config_hash from loaded model configs
+ bundle_config_hash = compute_bundle_config_hash_cached(registry, bundle)
+
# Machine profile: env var if set, otherwise detected GPU type (for standalone workers)
# - In K8s: SIE_MACHINE_PROFILE is set via downward API (e.g., "l4-spot")
# - Standalone: No env var, so use detected GPU type (e.g., "l4") for direct SDK routing
machine_profile = os.environ.get("SIE_MACHINE_PROFILE") or gpu_type or ""
+ pool_name = os.environ.get("SIE_POOL", "")
# Worker name: use hostname or pod name if available
worker_name = os.environ.get("HOSTNAME", os.environ.get("POD_NAME", ""))
@@ -183,16 +273,29 @@ async def build_status_message(registry: ModelRegistry) -> WorkerStatusMessage:
# Loaded models: list of model names with state="loaded"
loaded_models = [m["name"] for m in model_status if m["state"] == "loaded"]
+ # Compute aggregate max_batch_requests across loaded models.
+ # The router uses this for fill-first scoring to know worker batch capacity.
+ # Use the minimum across loaded models (conservative: GPU batch is model-specific).
+ # Snapshot _loaded to avoid RuntimeError from concurrent mutation during iteration.
+ loaded_snapshot = list(registry._loaded.values())
+ loaded_model_workers = [lm.worker for lm in loaded_snapshot if lm.worker is not None]
+ if loaded_model_workers:
+ max_batch_requests = min(w._batch_config.max_batch_requests for w in loaded_model_workers)
+ else:
+ max_batch_requests = BatchConfig().max_batch_requests
+
return WorkerStatusMessage(
timestamp=time.time(),
ready=is_ready(),
name=worker_name,
# Router-friendly fields
- # machine_profile: used for routing (env var or detected GPU type for standalone)
machine_profile=machine_profile,
+ pool_name=pool_name,
gpu_count=gpu_count,
bundle=bundle,
+ bundle_config_hash=bundle_config_hash,
loaded_models=loaded_models,
+ max_batch_requests=max_batch_requests,
# Detailed fields (for TUI, router model selection, debugging)
# Note: queue_depth is per-model in models array, not aggregated
server=server_info,
diff --git a/packages/sie_server/src/sie_server/app/app_factory.py b/packages/sie_server/src/sie_server/app/app_factory.py
index a2b3936e2..cdc0d2f5e 100644
--- a/packages/sie_server/src/sie_server/app/app_factory.py
+++ b/packages/sie_server/src/sie_server/app/app_factory.py
@@ -1,9 +1,11 @@
import logging
+import os
from collections.abc import AsyncGenerator, Callable
from contextlib import asynccontextmanager
from typing import Any
import torch
+import yaml
from fastapi import FastAPI
from sie_server.api.encode import router as encode_router
@@ -19,10 +21,13 @@ from sie_server.api.ws import init_server_start_time
from sie_server.api.ws import router as ws_router
from sie_server.app.app_state_config import AppStateConfig
from sie_server.config.engine import EngineConfig
+from sie_server.config.model import ModelConfig, ProfileConfig, Tasks
from sie_server.core.memory import MemoryConfig
from sie_server.core.readiness import mark_not_ready, mark_ready
from sie_server.core.registry import ModelRegistry
from sie_server.core.shutdown import ShutdownMiddleware, ShutdownState, setup_signal_handlers
+from sie_server.nats_pull_loop import NatsPullLoop
+from sie_server.nats_subscriber import NatsSubscriber
from sie_server.observability.gpu import _init_nvml, shutdown_nvml
from sie_server.observability.tracing import setup_tracing
@@ -78,10 +83,14 @@ class AppFactory:
async with (
cls._nvml(),
cls._model_registry(config) as registry,
+ cls._nats_subscriber(registry) as nats_sub,
+ cls._nats_pull_loop(registry, nats_sub) as pull_loop,
cls._graceful_shutdown(shutdown_state),
cls._readiness_handling(),
):
app.state.registry = registry
+ app.state.nats_subscriber = nats_sub
+ app.state.nats_pull_loop = pull_loop
yield
return lifespan
@@ -121,6 +130,121 @@ class AppFactory:
logger.info("Shutting down, unloading models")
await registry.unload_all_async()
+ @classmethod
+ @asynccontextmanager
+ async def _nats_subscriber(cls, registry: ModelRegistry) -> AsyncGenerator[NatsSubscriber | None, None]:
+ """For optional NATS subscriber lifecycle.
+
+ Only starts if SIE_NATS_URL is set. Connection failures are non-fatal —
+ the server starts normally without NATS.
+ """
+ nats_url = os.environ.get("SIE_NATS_URL")
+ if not nats_url:
+ yield None
+ return
+
+ async def on_model_config(model_id: str, config_yaml: str) -> None:
+ try:
+ raw = yaml.safe_load(config_yaml)
+ if not isinstance(raw, dict):
+ logger.warning("NATS config for '%s' is not a dict, ignoring", model_id)
+ return
+
+ # Try full ModelConfig parsing (works for complete configs with tasks, hf_id, etc.)
+ try:
+ model_config = ModelConfig(**raw)
+ registry.add_config(model_config)
+ logger.info("Added full model config from NATS: %s", model_config.sie_id)
+ return
+ except Exception: # noqa: BLE001 — fallback to lightweight path
+ logger.debug("Full ModelConfig parse failed for '%s', trying minimal path", model_id)
+
+ # Fallback: minimal config from Config API (sie_id + profiles only).
+ # Create a stub ModelConfig with required fields filled in from the profile.
+ sie_id = raw.get("sie_id", model_id)
+ profiles_raw = raw.get("profiles", {})
+ if not profiles_raw:
+ logger.warning("NATS config for '%s' has no profiles, ignoring", model_id)
+ return
+
+ # Fallback to sie_id as hf_id (satisfies ModelConfig validator)
+
+ # Build a minimal valid ModelConfig
+ profiles = {}
+ for pname, pdata in profiles_raw.items():
+ profiles[pname] = ProfileConfig(
+ adapter_path=pdata.get("adapter_path"),
+ max_batch_tokens=pdata.get("max_batch_tokens"),
+ extends=pdata.get("extends"),
+ )
+
+ # Build a stub ModelConfig for profile/hash tracking.
+ # This config may not be loadable — it's used to register the model
+ # in the registry so the config hash updates and routing can reference it.
+ # Actual model loading will use the full config pushed by the adapter.
+ model_config = ModelConfig(
+ sie_id=sie_id,
+ hf_id=raw.get("hf_id", sie_id),
+ tasks=Tasks(),
+ profiles=profiles,
+ )
+ registry.add_config(model_config)
+ logger.info("Added minimal model config from NATS: %s", sie_id)
+
+ except Exception:
+ logger.exception("Failed to apply NATS config for model '%s'", model_id)
+
+ subscriber = NatsSubscriber(nats_url=nats_url, on_model_config=on_model_config)
+ await subscriber.start()
+ try:
+ yield subscriber
+ finally:
+ await subscriber.stop()
+
+ @classmethod
+ @asynccontextmanager
+ async def _nats_pull_loop(
+ cls, registry: ModelRegistry, nats_subscriber: NatsSubscriber | None
+ ) -> AsyncGenerator[NatsPullLoop | None, None]:
+ """For optional NATS pull loop lifecycle.
+
+ Only starts when SIE_CLUSTER_ROUTING=queue and a NATS connection exists.
+ """
+ if os.environ.get("SIE_CLUSTER_ROUTING") != "queue":
+ yield None
+ return
+
+ if nats_subscriber is None:
+ raise RuntimeError("SIE_CLUSTER_ROUTING=queue but no NATS subscriber available — cannot start pull loop")
+
+ nc = nats_subscriber.nc
+ if nc is None:
+ raise RuntimeError("SIE_CLUSTER_ROUTING=queue but NATS connection is None — cannot start pull loop")
+ js = nc.jetstream()
+ bundle_id = os.environ.get("SIE_BUNDLE", "default")
+ pool_name = os.environ.get("SIE_POOL", "_default")
+ payload_store_url = os.environ.get("SIE_PAYLOAD_STORE_URL")
+
+ pull_loop = NatsPullLoop(
+ nc=nc,
+ js=js,
+ registry=registry,
+ bundle_id=bundle_id,
+ pool_name=pool_name,
+ payload_store_url=payload_store_url,
+ )
+ await pull_loop.start()
+
+ # Register pull loop reconnect handler via NatsSubscriber's public API.
+ # This is invoked by the NATS client's reconnected_cb chain, ensuring
+ # pull subscriptions are re-created after NATS reconnect.
+ nats_subscriber.add_reconnect_handler(pull_loop.handle_reconnect)
+
+ try:
+ yield pull_loop
+ finally:
+ await pull_loop.stop()
+
@classmethod
@asynccontextmanager
async def _nvml(cls) -> AsyncGenerator[None, None]:
diff --git a/packages/sie_server/src/sie_server/config/engine.py b/packages/sie_server/src/sie_server/config/engine.py
index 291f39a99..769b0a69a 100644
--- a/packages/sie_server/src/sie_server/config/engine.py
+++ b/packages/sie_server/src/sie_server/config/engine.py
@@ -9,7 +9,7 @@ See DESIGN.md Section 10.1 for full specification.
from pathlib import Path
from typing import Annotated, Literal
-from pydantic import Field
+from pydantic import BaseModel, Field, model_validator
from pydantic_settings import BaseSettings, SettingsConfigDict
# Attention backend options
@@ -19,6 +19,89 @@ AttentionBackend = Literal["auto", "flash_attention_2", "sdpa", "eager"]
ComputePrecision = Literal["float16", "bfloat16", "float32"]
+class AdaptiveBatchingConfig(BaseModel):
+ """Configuration for adaptive batch control.
+
+ When enabled, the server dynamically adjusts ``max_batch_wait_ms`` and
+ ``max_batch_cost`` (token limit) per model based on observed p50 latency
+ and GPU saturation (batch fill ratio).
+
+ The latency target (``target_p50_ms``) can be set explicitly or left as
+ ``null`` for auto-calibration. When null, the controller measures
+ inference-only p50 during the first N requests and derives the target
+ as ``inference_p50 × calibration_multiplier``.
+ """
+
+ enabled: Annotated[
+ bool,
+ Field(description="Enable adaptive batch wait control"),
+ ] = True
+ target_p50_ms: Annotated[
+ float | None,
+ Field(
+ gt=0,
+ description="Latency SLO: desired p50 in milliseconds. "
+ "null = auto-calibrate from observed inference latency.",
+ ),
+ ] = None
+ calibration_multiplier: Annotated[
+ float,
+ Field(
+ gt=1,
+ description="Auto-calibration: target = inference_p50 * multiplier",
+ ),
+ ] = 1.5
+ min_target_p50_ms: Annotated[
+ float,
+ Field(ge=1, description="Floor for auto-calibrated target"),
+ ] = 5.0
+ max_target_p50_ms: Annotated[
+ float,
+ Field(ge=10, description="Ceiling for auto-calibrated target"),
+ ] = 500.0
+ min_wait_ms: Annotated[
+ float,
+ Field(ge=0.1, description="Minimum batch wait time in milliseconds"),
+ ] = 1.0
+ max_wait_ms: Annotated[
+ float,
+ Field(ge=1, description="Maximum batch wait time in milliseconds"),
+ ] = 50.0
+ gain: Annotated[
+ float,
+ Field(gt=0, le=1, description="Proportional controller gain (0.1=slow, 0.5=aggressive)"),
+ ] = 0.3
+ integral_gain: Annotated[
+ float,
+ Field(
+ ge=0,
+ le=1,
+ description="Integral controller gain. 0 = proportional-only.",
+ ),
+ ] = 0.05
+ window_size: Annotated[
+ int,
+ Field(ge=10, description="Rolling latency sample window size"),
+ ] = 200
+ update_interval: Annotated[
+ int,
+ Field(ge=1, description="Batches between controller updates"),
+ ] = 10
+
+ @model_validator(mode="after")
+ def validate_invariants(self) -> "AdaptiveBatchingConfig":
+ """Check cross-field invariants."""
+ if self.min_wait_ms > self.max_wait_ms:
+ msg = f"min_wait_ms ({self.min_wait_ms}) must be <= max_wait_ms ({self.max_wait_ms})"
+ raise ValueError(msg)
+ if self.min_target_p50_ms > self.max_target_p50_ms:
+ msg = (
+ f"min_target_p50_ms ({self.min_target_p50_ms}) must be <= max_target_p50_ms ({self.max_target_p50_ms})"
+ )
+ raise ValueError(msg)
+ return self
+
+
class EngineConfig(BaseSettings):
"""Engine configuration loaded from engine.yaml or environment variables.
@@ -40,9 +123,9 @@ class EngineConfig(BaseSettings):
Field(description="Maximum requests per batch"),
] = 64
max_batch_wait_ms: Annotated[
- int,
+ float,
Field(description="Maximum milliseconds to wait for batch to fill"),
- ] = 10
+ ] = 10.0
max_concurrent_requests: Annotated[
int,
Field(description="Maximum concurrent requests (queue size)"),
@@ -96,6 +179,12 @@ class EngineConfig(BaseSettings):
Field(description="Enable detailed batch instrumentation for debugging"),
] = False
+ # Adaptive batching
+ adaptive_batching: Annotated[
+ AdaptiveBatchingConfig,
+ Field(description="Adaptive batch wait controller settings"),
+ ] = AdaptiveBatchingConfig()
+
# Paths
models_dir: Annotated[
Path,
diff --git a/packages/sie_server/src/sie_server/config/model.py b/packages/sie_server/src/sie_server/config/model.py
index 050542462..46f25ca01 100644
--- a/packages/sie_server/src/sie_server/config/model.py
+++ b/packages/sie_server/src/sie_server/config/model.py
@@ -62,6 +62,26 @@ class AdapterOptions(BaseModel):
runtime: dict[str, Any] = Field(default_factory=dict)
+class ProfileAdaptiveBatching(BaseModel):
+ """Per-model adaptive batching overrides.
+
+ All fields are optional. None means inherit from engine config or parent
+ profile. This enables fieldwise merge: a child profile can override one
+ field while inheriting the rest from the parent or engine defaults.
+ """
+
+ model_config = ConfigDict(extra="forbid")
+
+ target_p50_ms: float | None = None
+ calibration_multiplier: float | None = None
+ min_target_p50_ms: float | None = None
+ max_target_p50_ms: float | None = None
+ min_wait_ms: float | None = None
+ max_wait_ms: float | None = None
+ gain: float | None = None
+ integral_gain: float | None = None
+
+
class ProfileConfig(BaseModel):
model_config = ConfigDict(extra="forbid")
@@ -70,6 +90,7 @@ class ProfileConfig(BaseModel):
compute_precision: ComputePrecision | None = None
adapter_path: str | None = None
adapter_options: AdapterOptions = AdapterOptions()
+ adaptive_batching: ProfileAdaptiveBatching | None = None
class ResolvedProfile(BaseModel):
@@ -80,6 +101,37 @@ class ResolvedProfile(BaseModel):
adapter_path: str
loadtime: MappingProxyType[str, Any]
runtime: MappingProxyType[str, Any]
+ adaptive_batching: ProfileAdaptiveBatching | None = None
+
+
+def _merge_profile_adaptive_batching(
+ parent: ProfileAdaptiveBatching | None,
+ child: ProfileAdaptiveBatching | None,
+) -> ProfileAdaptiveBatching | None:
+ """Merge child adaptive batching overrides onto parent, fieldwise.
+
+ None fields in child inherit from parent. If both are None, returns None.
+ """
+ if parent is None and child is None:
+ return None
+ if parent is None:
+ return child
+ if child is None:
+ return parent
+
+ # Fieldwise merge: child overrides parent per-field
+ return ProfileAdaptiveBatching(
+ target_p50_ms=child.target_p50_ms if child.target_p50_ms is not None else parent.target_p50_ms,
+ calibration_multiplier=child.calibration_multiplier
+ if child.calibration_multiplier is not None
+ else parent.calibration_multiplier,
+ min_target_p50_ms=child.min_target_p50_ms if child.min_target_p50_ms is not None else parent.min_target_p50_ms,
+ max_target_p50_ms=child.max_target_p50_ms if child.max_target_p50_ms is not None else parent.max_target_p50_ms,
+ min_wait_ms=child.min_wait_ms if child.min_wait_ms is not None else parent.min_wait_ms,
+ max_wait_ms=child.max_wait_ms if child.max_wait_ms is not None else parent.max_wait_ms,
+ gain=child.gain if child.gain is not None else parent.gain,
+ integral_gain=child.integral_gain if child.integral_gain is not None else parent.integral_gain,
+ )
class ModelConfig(BaseModel):
@@ -161,6 +213,7 @@ class ModelConfig(BaseModel):
adapter_path=profile.adapter_path,
loadtime=MappingProxyType(dict(profile.adapter_options.loadtime)),
runtime=MappingProxyType(dict(profile.adapter_options.runtime)),
+ adaptive_batching=profile.adaptive_batching,
)
# Resolve via parent — validators guarantee parent exists and has no chaining
@@ -188,6 +241,9 @@ class ModelConfig(BaseModel):
if profile.adapter_options.runtime:
runtime = dict(profile.adapter_options.runtime)
+ # Adaptive batching: fieldwise merge (child overrides parent per-field)
+ adaptive_batching = _merge_profile_adaptive_batching(parent.adaptive_batching, profile.adaptive_batching)
+
if max_batch_tokens is None:
msg = f"Resolved profile '{name}': max_batch_tokens must be set"
raise ValueError(msg)
@@ -201,6 +257,7 @@ class ModelConfig(BaseModel):
adapter_path=adapter_path,
loadtime=MappingProxyType(loadtime),
runtime=MappingProxyType(runtime),
+ adaptive_batching=adaptive_batching,
)
@property
diff --git a/packages/sie_server/src/sie_server/core/adaptive_batching.py b/packages/sie_server/src/sie_server/core/adaptive_batching.py
new file mode 100644
index 000000000..1b6765d28
--- /dev/null
+++ b/packages/sie_server/src/sie_server/core/adaptive_batching.py
@@ -0,0 +1,364 @@
+from __future__ import annotations
+
+import logging
+import time
+from collections import deque
+from dataclasses import dataclass, field
+
+logger = logging.getLogger(__name__)
+
+
+@dataclass(slots=True)
+class LatencyTracker:
+ """Rolling percentile tracker for request latencies.
+
+ Maintains a fixed-size window of recent latency samples and computes
+ exact percentiles by sorting. A deque of 200 samples is trivial to
+ sort (~1us) and gives exact results without approximation structures.
+ """
+
+ window_size: int = 200
+ min_samples: int = 10
+ _samples: deque[float] = field(default_factory=deque)
+
+ def __post_init__(self) -> None:
+ self._samples = deque(maxlen=self.window_size)
+
+ def record(self, total_ms: float) -> None:
+ """Record a latency sample in milliseconds."""
+ self._samples.append(total_ms)
+
+ def percentile(self, p: float) -> float | None:
+ """Compute the p-th percentile (0–100) of recent samples.
+
+ Returns None if fewer than min_samples have been recorded.
+ """
+ n = len(self._samples)
+ if n < self.min_samples:
+ return None
+ sorted_samples = sorted(self._samples)
+ # Use nearest-rank method
+ idx = int(p / 100.0 * (n - 1))
+ return sorted_samples[idx]
+
+ def p50(self) -> float | None:
+ """Return the median (p50) of recent samples."""
+ return self.percentile(50)
+
+ def p90(self) -> float | None:
+ return self.percentile(90)
+
+ def p99(self) -> float | None:
+ return self.percentile(99)
+
+ @property
+ def sample_count(self) -> int:
+ return len(self._samples)
+
+ def reset(self) -> None:
+ """Clear all samples."""
+ self._samples.clear()
+
+
+@dataclass(slots=True)
+class BatchEfficiencyTracker:
+ """Tracks batch fill ratios to measure GPU saturation.
+
+ Records (actual_batch_cost / max_batch_cost) for recent batches.
+ A fill ratio near 1.0 means the GPU is fully saturated.
+ A fill ratio near 0 means batches are flushing nearly empty.
+ """
+
+ window_size: int = 50
+ _fill_ratios: deque[float] = field(default_factory=deque)
+
+ def __post_init__(self) -> None:
+ self._fill_ratios = deque(maxlen=self.window_size)
+
+ def record(self, actual_cost: int, max_cost: int) -> None:
+ """Record a batch fill ratio."""
+ if max_cost > 0:
+ self._fill_ratios.append(actual_cost / max_cost)
+
+ def mean_fill_ratio(self) -> float | None:
+ """Return the mean fill ratio, or None if no samples."""
+ if not self._fill_ratios:
+ return None
+ return sum(self._fill_ratios) / len(self._fill_ratios)
+
+ @property
+ def sample_count(self) -> int:
+ return len(self._fill_ratios)
+
+ def reset(self) -> None:
+ self._fill_ratios.clear()
+
+
+@dataclass(frozen=True, slots=True)
+class AdaptiveBatchState:
+ """Immutable snapshot of adaptive controller state.
+
+ Used by WebSocket status and router health to expose controller
+ internals without coupling to private fields.
+ """
+
+ enabled: bool
+ calibrated: bool
+ target_p50_ms: float | None
+ current_wait_ms: float
+ current_batch_cost: int
+ observed_p50_ms: float | None
+ headroom_ms: float | None
+ fill_ratio: float | None
+ integral: float
+
+
+@dataclass(slots=True)
+class AdaptiveBatchController:
+ """PI controller that adjusts batch wait and batch cost to maximize GPU
+ saturation while respecting a latency SLO.
+
+ Three knobs:
+ 1. **max_batch_wait_ms** — how long to wait for items before flushing.
+ Adjusted by a PI (proportional-integral) controller based on the gap
+ between target and observed p50 latency.
+ 2. **max_batch_cost** — token/cost limit per batch. Adjusted by a
+ proportional-only controller gated on batch fill ratio.
+ 3. **target_p50_ms** — the latency SLO. Either set explicitly or
+ auto-calibrated from observed inference latency.
+
+ Auto-calibration:
+ When ``target_p50_ms`` is None, the controller measures inference-only
+ p50 (GPU forward pass, excluding queue/batch wait) during the first N
+ requests and derives the target as ``inference_p50 × calibration_multiplier``.
+ This avoids a feedback loop where conservative initial settings inflate
+ early latency and poison the target.
+
+ PI controller (wait knob):
+ The integral term is time-normalized (``error × dt``) so Ki is stable
+ across traffic rates. Saturation-aware anti-windup prevents integral
+ accumulation when the output is clamped in the direction the error
+ pushes. Idle decay prevents stale error from carrying into the next
+ burst after a long idle period.
+
+ Proportional-only controller (cost knob):
+ Only adjusts when ``fill_ratio >= threshold`` (GPU is saturated at
+ the current limit). This prevents wasteful increases when batches
+ aren't filling. No integral term needed — the gating condition
+ acts as a form of conditional integration.
+ """
+
+ # Latency target — None means auto-calibrate from inference latency
+ target_p50_ms: float | None = None
+
+ # Auto-calibration parameters
+ calibration_multiplier: float = 1.5
+ min_target_p50_ms: float = 5.0
+ max_target_p50_ms: float = 500.0
+
+ # Wait time bounds
+ min_wait_ms: float = 1.0
+ max_wait_ms: float = 50.0
+
+ # Batch cost bounds (token limit)
+ min_batch_cost: int = 256
+ max_batch_cost: int = 65536
+
+ # Controller tuning
+ gain: float = 0.3
+ integral_gain: float = 0.05
+ cost_gain: float = 0.15
+ update_interval: int = 10
+ fill_ratio_threshold: float = 0.7
+
+ # Current state
+ _current_wait_ms: float = 10.0
+ _current_batch_cost: int = 16384
+ _steps_since_update: int = 0
+
+ # Calibration state
+ _auto_calibrate: bool = False # True if target_p50_ms was originally None
+ _calibrated: bool = False
+ _inference_tracker: LatencyTracker = field(default_factory=lambda: LatencyTracker(window_size=50, min_samples=10))
+
+ # PI integral state
+ _integral: float = 0.0
+ _integral_max: float = 20.0
+ _last_step_time: float | None = None
+
+ def __post_init__(self) -> None:
+ if self.target_p50_ms is None:
+ self._auto_calibrate = True
+ else:
+ self._calibrated = True
+
+ def record_inference_sample(self, inference_ms: float) -> None:
+ """Record an inference-only latency sample for auto-calibration.
+
+ Only collects samples before calibration completes. After calibration,
+ this is a no-op.
+
+ Args:
+ inference_ms: GPU forward pass time from RequestTiming.inference_ms.
+ """
+ if not self._calibrated:
+ self._inference_tracker.record(inference_ms)
+
+ def step(
+ self,
+ observed_p50_ms: float | None,
+ fill_ratio: float | None,
+ ) -> tuple[float, int]:
+ """Advance the controller and return (new_wait_ms, new_batch_cost).
+
+ Args:
+ observed_p50_ms: Current rolling p50 latency (total_ms), or None
+ if not enough samples yet.
+ fill_ratio: Mean batch fill ratio (0.0–1.0), or None.
+
+ Returns:
+ Tuple of (max_batch_wait_ms, max_batch_cost).
+ """
+ self._steps_since_update += 1
+ if self._steps_since_update < self.update_interval:
+ return self._current_wait_ms, self._current_batch_cost
+
+ self._steps_since_update = 0
+
+ # --- Auto-calibration phase ---
+ if not self._calibrated:
+ inference_p50 = self._inference_tracker.p50()
+ if inference_p50 is not None:
+ self.target_p50_ms = _clamp(
+ inference_p50 * self.calibration_multiplier,
+ self.min_target_p50_ms,
+ self.max_target_p50_ms,
+ )
+ self._calibrated = True
+ self._integral = 0.0
+ self._last_step_time = None
+ logger.info(
+ "Auto-calibrated: target_p50_ms=%.1fms (inference_p50=%.1fms x %.1f, clamped to [%.1f, %.1f])",
+ self.target_p50_ms,
+ inference_p50,
+ self.calibration_multiplier,
+ self.min_target_p50_ms,
+ self.max_target_p50_ms,
+ )
+ # Hold knobs at initial values until calibrated
+ return self._current_wait_ms, self._current_batch_cost
+
+ if observed_p50_ms is None or self.target_p50_ms is None:
+ return self._current_wait_ms, self._current_batch_cost
+
+ target = self.target_p50_ms
+ headroom_ms = target - observed_p50_ms
+ headroom_frac = headroom_ms / target # normalized (-inf, 1)
+
+ # --- Compute dt for time-normalized integral ---
+ now = time.monotonic()
+ if self._last_step_time is not None:
+ dt_s = min(now - self._last_step_time, 5.0) # cap idle gap
+ else:
+ dt_s = 0.0 # first step after calibration, no integral contribution
+ self._last_step_time = now
+
+ # --- Idle decay: prevent stale error from carrying into next burst ---
+ if dt_s > 2.0:
+ decay_factor = 0.5 ** (dt_s - 2.0)
+ self._integral *= decay_factor
+
+ # --- Saturation-aware anti-windup ---
+ # Only integrate when the output is NOT saturated in the direction
+ # the error would push it. This prevents overshoot after recovery.
+ output_at_max = self._current_wait_ms >= self.max_wait_ms
+ output_at_min = self._current_wait_ms <= self.min_wait_ms
+
+ can_integrate = True
+ if output_at_max and headroom_ms > 0:
+ can_integrate = False
+ if output_at_min and headroom_ms < 0:
+ can_integrate = False
+
+ if can_integrate and self.integral_gain > 0:
+ self._integral += headroom_ms * dt_s
+ self._integral = _clamp(self._integral, -self._integral_max, self._integral_max)
+
+ # --- Knob 1: batch wait (PI controller) ---
+ wait_adjustment = headroom_ms * self.gain + self._integral * self.integral_gain
+ new_wait = self._current_wait_ms + wait_adjustment
+ self._current_wait_ms = _clamp(new_wait, self.min_wait_ms, self.max_wait_ms)
+
+ # --- Knob 2: batch cost (proportional-only, gated on fill ratio) ---
+ if fill_ratio is not None and fill_ratio >= self.fill_ratio_threshold:
+ cost_adjustment = self._current_batch_cost * headroom_frac * self.cost_gain
+ new_cost = self._current_batch_cost + cost_adjustment
+ self._current_batch_cost = int(_clamp(new_cost, self.min_batch_cost, self.max_batch_cost))
+
+ logger.debug(
+ "Adaptive batch: p50=%.1fms (target=%.1f), headroom=%.1fms, integral=%.2f, fill=%.2f, wait=%.1fms, cost=%d",
+ observed_p50_ms,
+ target,
+ headroom_ms,
+ self._integral,
+ fill_ratio or 0.0,
+ self._current_wait_ms,
+ self._current_batch_cost,
+ )
+
+ return self._current_wait_ms, self._current_batch_cost
+
+ @property
+ def current_wait_ms(self) -> float:
+ return self._current_wait_ms
+
+ @property
+ def current_batch_cost(self) -> int:
+ return self._current_batch_cost
+
+ @property
+ def calibrated(self) -> bool:
+ return self._calibrated
+
+ def snapshot(
+ self,
+ observed_p50_ms: float | None = None,
+ fill_ratio: float | None = None,
+ ) -> AdaptiveBatchState:
+ """Return an immutable snapshot of the controller state."""
+ target = self.target_p50_ms
+ headroom = None
+ if target is not None and observed_p50_ms is not None:
+ headroom = target - observed_p50_ms
+ return AdaptiveBatchState(
+ enabled=True,
+ calibrated=self._calibrated,
+ target_p50_ms=target,
+ current_wait_ms=self._current_wait_ms,
+ current_batch_cost=self._current_batch_cost,
+ observed_p50_ms=observed_p50_ms,
+ headroom_ms=headroom,
+ fill_ratio=fill_ratio,
+ integral=self._integral,
+ )
+
+ def reset(self) -> None:
+ """Reset the controller to its initial state."""
+ self._current_wait_ms = _clamp(10.0, self.min_wait_ms, self.max_wait_ms)
+ self._current_batch_cost = int(_clamp(16384, self.min_batch_cost, self.max_batch_cost))
+ self._steps_since_update = 0
+ self._integral = 0.0
+ self._last_step_time = None
+ if self._auto_calibrate:
+ self._calibrated = False
+ self.target_p50_ms = None
+ self._inference_tracker.reset()
+ # If target was explicit, _calibrated stays True
+
+
+# Keep backward compat alias
+BatchWaitController = AdaptiveBatchController
+
+
+def _clamp(value: float, lo: float, hi: float) -> float:
+ return max(lo, min(hi, value))
diff --git a/packages/sie_server/src/sie_server/core/batcher.py b/packages/sie_server/src/sie_server/core/batcher.py
index f1e1737cc..f75e64eab 100644
--- a/packages/sie_server/src/sie_server/core/batcher.py
+++ b/packages/sie_server/src/sie_server/core/batcher.py
@@ -127,10 +127,11 @@ class BatchConfig:
self,
max_batch_cost: int = 16384,
max_batch_requests: int = 64,
- max_batch_wait_ms: int = 10,
+ max_batch_wait_ms: float = 10.0,
*,
max_batch_tokens: int | None = None, # Backward compatibility alias
coalesce_ms: float = 2.0,
+ coalesce_ratio: float = 0.2,
) -> None:
"""Initialize batch configuration.
@@ -139,10 +140,15 @@ class BatchConfig:
max_batch_requests: Maximum requests per batch.
max_batch_wait_ms: Maximum wait time before yielding batch.
max_batch_tokens: Alias for max_batch_cost (backward compatibility).
- coalesce_ms: Idle coalescing window. If no new items arrive within
- this period, yield the batch even if max_batch_wait_ms hasn't
- expired. Detects end-of-burst to avoid waiting the full timeout
- when all concurrent requests have already been submitted.
+ coalesce_ms: Idle coalescing window ceiling. If no new items arrive
+ within this period, yield the batch even if max_batch_wait_ms
+ hasn't expired. The actual coalescing window may be smaller;
+ see effective_coalesce_ms.
+ coalesce_ratio: Coalesce window as a fraction of max_batch_wait_ms.
+ The effective coalesce window is
+ ``min(coalesce_ms, max_batch_wait_ms * coalesce_ratio)``.
+ This keeps coalesce proportional when the adaptive controller
+ changes max_batch_wait_ms. Default 0.2 (20%).
"""
# Allow max_batch_tokens as an alias for max_batch_cost
if max_batch_tokens is not None:
@@ -152,6 +158,17 @@ class BatchConfig:
self.max_batch_requests = max_batch_requests
self.max_batch_wait_ms = max_batch_wait_ms
self.coalesce_ms = coalesce_ms
+ self.coalesce_ratio = coalesce_ratio
+
+ @property
+ def effective_coalesce_ms(self) -> float:
+ """Coalesce window, scaled proportionally to max_batch_wait_ms.
+
+ Returns ``min(coalesce_ms, max_batch_wait_ms * coalesce_ratio)``
+ so the window stays proportional when the adaptive controller
+ changes max_batch_wait_ms. The base ``coalesce_ms`` acts as a ceiling.
+ """
+ return min(self.coalesce_ms, self.max_batch_wait_ms * self.coalesce_ratio)
@property
def max_batch_tokens(self) -> int:
@@ -225,14 +242,17 @@ class BatchFormer[I: HasCost, T]:
"""Check if the coalescing window has expired (no new items recently).
Returns True when items are pending and no new items have arrived
- within the coalescing period. This detects the end of a burst —
- all concurrent requests have been submitted, so waiting longer
- won't add more items to the batch.
+ within the effective coalescing period. This detects the end of a
+ burst — all concurrent requests have been submitted, so waiting
+ longer won't add more items to the batch.
+
+ Uses effective_coalesce_ms which scales proportionally with
+ max_batch_wait_ms to stay relevant across the adaptive range.
"""
if self._last_submit_time is None or not self._pending:
return False
elapsed_ms = (time.monotonic() - self._last_submit_time) * 1000
- return elapsed_ms >= self._config.coalesce_ms
+ return elapsed_ms >= self._config.effective_coalesce_ms
def _should_yield_batch(self) -> bool:
"""Check if batch should be yielded (full, timeout, or coalesced)."""
@@ -320,17 +340,28 @@ class BatchFormer[I: HasCost, T]:
Returns the shorter of:
- Time remaining in the batch formation window (max_batch_wait_ms)
- - The coalescing period (coalesce_ms) — ensures we re-check frequently
- enough to detect when a burst has settled
+ - Time remaining until the coalesce window expires (based on when the
+ last item was submitted, not a fixed polling interval)
+
+ This ensures precise coalesce detection: the sleep duration is exactly
+ the time until coalesce fires, rather than polling every coalesce_ms.
"""
if self._first_request_time is None:
return None # Wait indefinitely for first request
- elapsed_ms = (time.monotonic() - self._first_request_time) * 1000
+ now = time.monotonic()
+ elapsed_ms = (now - self._first_request_time) * 1000
batch_remaining_ms = max(0, self._config.max_batch_wait_ms - elapsed_ms)
- # Cap at coalesce period so we detect burst completion quickly
- effective_ms = min(batch_remaining_ms, self._config.coalesce_ms)
+ # Compute actual time remaining until coalesce fires
+ coalesce_ms = self._config.effective_coalesce_ms
+ if self._last_submit_time is not None:
+ since_last_submit_ms = (now - self._last_submit_time) * 1000
+ coalesce_remaining_ms = max(0, coalesce_ms - since_last_submit_ms)
+ else:
+ coalesce_remaining_ms = coalesce_ms
+
+ effective_ms = min(batch_remaining_ms, coalesce_remaining_ms)
return effective_ms / 1000 # Convert to seconds
def _extract_batch(self) -> FormattedBatch[I, T]:
diff --git a/packages/sie_server/src/sie_server/core/inference_output.py b/packages/sie_server/src/sie_server/core/inference_output.py
index dfaaa52b9..ca175255f 100644
--- a/packages/sie_server/src/sie_server/core/inference_output.py
+++ b/packages/sie_server/src/sie_server/core/inference_output.py
@@ -23,7 +23,7 @@ from typing import TYPE_CHECKING, Any
import numpy as np
if TYPE_CHECKING:
- from sie_server.types.responses import Classification, Entity
+ from sie_server.types.responses import Classification, DetectedObject, Entity, Relation
@dataclass
@@ -129,17 +129,23 @@ class ScoreOutput:
@dataclass
class ExtractOutput:
- """Batched output from adapter.extract() - entities/structured data/classifications.
+ """Batched output from adapter.extract() - entities/relations/classifications/objects.
Attributes:
entities: Extracted entities per item. Each is list[Entity].
classifications: Classification results per item. Each is list[Classification].
None when the adapter does not produce classifications.
+ relations: Extracted relations per item. Each is list[Relation].
+ None when the adapter does not produce relations.
+ objects: Detected objects per item. Each is list[DetectedObject].
+ None when the adapter does not produce object detections.
batch_size: Number of items processed.
"""
entities: list[list[Entity]] # len=batch
classifications: list[list[Classification]] | None = None # len=batch or None
+ relations: list[list[Relation]] | None = None # len=batch or None
+ objects: list[list[DetectedObject]] | None = None # len=batch or None
# Metadata
batch_size: int = 0
@@ -155,3 +161,11 @@ class ExtractOutput:
if self.classifications is not None and len(self.classifications) != self.batch_size:
msg = f"classifications list length {len(self.classifications)} != batch_size {self.batch_size}"
raise ValueError(msg)
+
+ if self.relations is not None and len(self.relations) != self.batch_size:
+ msg = f"relations list length {len(self.relations)} != batch_size {self.batch_size}"
+ raise ValueError(msg)
+
+ if self.objects is not None and len(self.objects) != self.batch_size:
+ msg = f"objects list length {len(self.objects)} != batch_size {self.batch_size}"
+ raise ValueError(msg)
diff --git a/packages/sie_server/src/sie_server/core/model_loader.py b/packages/sie_server/src/sie_server/core/model_loader.py
index c98e920ce..9dc6fa6d1 100644
--- a/packages/sie_server/src/sie_server/core/model_loader.py
+++ b/packages/sie_server/src/sie_server/core/model_loader.py
@@ -9,10 +9,11 @@ from pathlib import Path
from typing import TYPE_CHECKING, Any
from sie_server.adapters.base import ModelAdapter
-from sie_server.config.model import ModelConfig
+from sie_server.config.model import ModelConfig, ProfileAdaptiveBatching
from sie_server.core.inference import AttentionBackend, ComputePrecision
from sie_server.core.loader import load_adapter
from sie_server.core.worker import ModelWorker, WorkerConfig
+from sie_server.core.worker.types import AdaptiveBatchingParams
from sie_server.observability.metrics import set_model_loaded, set_model_memory
if TYPE_CHECKING:
@@ -91,11 +92,12 @@ class ModelLoader:
default_compute_precision: ComputePrecision = "float16",
attention_backend: AttentionBackend = "auto",
max_batch_requests: int | None = None,
- max_batch_wait_ms: int | None = None,
+ max_batch_wait_ms: float | None = None,
max_queue_size: int | None = None,
instrumentation: bool = False,
max_loras_per_model: int = DEFAULT_MAX_LORAS,
disk_cache_manager: ModelDiskCacheManager | None = None,
+ adaptive_batching: AdaptiveBatchingParams | None = None,
) -> None:
"""Initialize the model loader.
@@ -116,6 +118,7 @@ class ModelLoader:
self._instrumentation = instrumentation
self._max_loras_per_model = max_loras_per_model
self._disk_cache = disk_cache_manager
+ self._adaptive_batching = adaptive_batching or AdaptiveBatchingParams()
self._load_executor = ThreadPoolExecutor(max_workers=1, thread_name_prefix="model-load")
def update_configs(self, configs: dict[str, ModelConfig]) -> None:
@@ -392,12 +395,17 @@ class ModelLoader:
# Create worker for the adapter with postprocessor support
resolved = config.resolve_profile("default")
+
+ # Merge per-model adaptive batching overrides onto engine defaults
+ adaptive_params = _merge_adaptive_params(self._adaptive_batching, resolved.adaptive_batching)
+
worker_config = WorkerConfig(
max_batch_tokens=resolved.max_batch_tokens,
max_batch_requests=self._max_batch_requests or WorkerConfig().max_batch_requests,
max_batch_wait_ms=self._max_batch_wait_ms or WorkerConfig().max_batch_wait_ms,
max_queue_size=self._max_queue_size or WorkerConfig().max_queue_size,
instrumentation=self._instrumentation,
+ adaptive_batching=adaptive_params,
)
worker = ModelWorker(
adapter,
@@ -504,3 +512,35 @@ class ModelLoader:
def shutdown(self) -> None:
"""Shutdown the loader's thread pool."""
self._load_executor.shutdown(wait=False)
+
+
+def _merge_adaptive_params(
+ engine: AdaptiveBatchingParams,
+ profile: ProfileAdaptiveBatching | None,
+) -> AdaptiveBatchingParams:
+ """Merge per-model profile overrides onto engine-level adaptive params.
+
+ None fields in the profile fall through to engine defaults.
+ If profile is None, returns the engine params unchanged.
+ """
+ if profile is None:
+ return engine
+ return AdaptiveBatchingParams(
+ enabled=engine.enabled,
+ target_p50_ms=profile.target_p50_ms if profile.target_p50_ms is not None else engine.target_p50_ms,
+ calibration_multiplier=profile.calibration_multiplier
+ if profile.calibration_multiplier is not None
+ else engine.calibration_multiplier,
+ min_target_p50_ms=profile.min_target_p50_ms
+ if profile.min_target_p50_ms is not None
+ else engine.min_target_p50_ms,
+ max_target_p50_ms=profile.max_target_p50_ms
+ if profile.max_target_p50_ms is not None
+ else engine.max_target_p50_ms,
+ min_wait_ms=profile.min_wait_ms if profile.min_wait_ms is not None else engine.min_wait_ms,
+ max_wait_ms=profile.max_wait_ms if profile.max_wait_ms is not None else engine.max_wait_ms,
+ gain=profile.gain if profile.gain is not None else engine.gain,
+ integral_gain=profile.integral_gain if profile.integral_gain is not None else engine.integral_gain,
+ window_size=engine.window_size,
+ update_interval=engine.update_interval,
+ )
diff --git a/packages/sie_server/src/sie_server/core/registry.py b/packages/sie_server/src/sie_server/core/registry.py
index 8924debae..9bf2a90ea 100644
--- a/packages/sie_server/src/sie_server/core/registry.py
+++ b/packages/sie_server/src/sie_server/core/registry.py
@@ -31,6 +31,7 @@ from sie_server.core.model_loader import DEFAULT_MAX_LORAS, LoadedModel, ModelLo
from sie_server.core.postprocessor_registry import PostprocessorRegistry
from sie_server.core.preprocessor_registry import PreprocessorRegistry
from sie_server.core.worker import ModelWorker
+from sie_server.core.worker.types import AdaptiveBatchingParams
logger = logging.getLogger(__name__)
@@ -127,6 +128,10 @@ class ModelRegistry:
# Hot reloader (created lazily when started)
self._hot_reloader: HotReloader | None = None
+ # Monotonic config mutation counter used by bundle_config_hash cache
+ # in ws.py to detect when configs change and the hash must be recomputed.
+ self._config_version: int = 0
+
if self._models_dir is not None:
self._load_configs_from_dir(self._models_dir)
logger.info("Initializing model registry from %s", self._models_dir)
@@ -135,6 +140,24 @@ class ModelRegistry:
logger.info("No models directory specified, starting with empty registry")
# Model loader - handles the actual loading workflow
+ # Convert engine adaptive_batching config to worker params
+ adaptive_params = None
+ if engine_config and engine_config.adaptive_batching.enabled:
+ ab = engine_config.adaptive_batching
+ adaptive_params = AdaptiveBatchingParams(
+ enabled=True,
+ target_p50_ms=ab.target_p50_ms,
+ calibration_multiplier=ab.calibration_multiplier,
+ min_target_p50_ms=ab.min_target_p50_ms,
+ max_target_p50_ms=ab.max_target_p50_ms,
+ min_wait_ms=ab.min_wait_ms,
+ max_wait_ms=ab.max_wait_ms,
+ gain=ab.gain,
+ integral_gain=ab.integral_gain,
+ window_size=ab.window_size,
+ update_interval=ab.update_interval,
+ )
+
self._loader = ModelLoader(
preprocessor_registry=self._preprocessor_registry,
postprocessor_registry=self._postprocessor_registry,
@@ -147,6 +170,7 @@ class ModelRegistry:
instrumentation=engine_config.instrumentation if engine_config else False,
max_loras_per_model=engine_config.max_loras_per_model if engine_config else DEFAULT_MAX_LORAS,
disk_cache_manager=self._disk_cache_manager,
+ adaptive_batching=adaptive_params,
)
def _load_configs_from_dir(self, models_dir: str) -> None:
@@ -166,6 +190,8 @@ class ModelRegistry:
else:
self._configs = all_configs
+ self._config_version += 1
+
# Track model directories for adapter loading (local only)
# For cloud models, we use the cached config directory
if not is_cloud_path(models_dir):
@@ -698,6 +724,24 @@ class ModelRegistry:
for name in list(self._loaded.keys()):
await self._do_unload(name)
+ def get_configs_snapshot(self, bundle_id: str | None = None) -> dict[str, ModelConfig]:
+ """Return a shallow copy of the current model configs.
+
+ Thread-safe snapshot for reading configs without holding internal locks.
+
+ Args:
+ bundle_id: If provided, only return configs that belong to this
+ worker's model filter (the set of models matched to the bundle
+ at startup). When *None*, all configs are returned.
+
+ Returns:
+ Copy of the configs dict, optionally filtered.
+ """
+ configs = dict(self._configs)
+ if bundle_id is not None and self._model_filter is not None:
+ configs = {k: v for k, v in configs.items() if k in self._model_filter}
+ return configs
+
def add_config(self, config: ModelConfig, model_dir: Path | None = None) -> None:
"""Add a model config to the registry.
@@ -708,8 +752,11 @@ class ModelRegistry:
model_dir: Optional directory for custom adapter resolution.
"""
self._configs[config.sie_id] = config
+ if self._model_filter is not None:
+ self._model_filter.add(config.sie_id)
if model_dir is not None:
self._model_dirs[config.sie_id] = model_dir
+ self._config_version += 1
def get_model_info(self, name: str) -> dict[str, Any]:
"""Get information about a model.
diff --git a/packages/sie_server/src/sie_server/core/worker/handlers/extract.py b/packages/sie_server/src/sie_server/core/worker/handlers/extract.py
index 9c8ec09eb..c3135de57 100644
--- a/packages/sie_server/src/sie_server/core/worker/handlers/extract.py
+++ b/packages/sie_server/src/sie_server/core/worker/handlers/extract.py
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
from sie_server.core.batcher import HasCost
from sie_server.core.worker.types import RequestMetadata
from sie_server.types.inputs import Item
- from sie_server.types.responses import Classification
+ from sie_server.types.responses import Classification, DetectedObject, Relation
class ExtractHandler(OperationHandler[ExtractOutput]):
@@ -89,9 +89,13 @@ class ExtractHandler(OperationHandler[ExtractOutput]):
Single-item ExtractOutput.
"""
classifications = [output.classifications[index]] if output.classifications is not None else None
+ relations = [output.relations[index]] if output.relations is not None else None
+ objects = [output.objects[index]] if output.objects is not None else None
return ExtractOutput(
entities=[output.entities[index]],
classifications=classifications,
+ relations=relations,
+ objects=objects,
batch_size=1,
)
@@ -123,7 +127,31 @@ class ExtractHandler(OperationHandler[ExtractOutput]):
p_cls = partials[i].classifications
classifications.append(p_cls[0] if p_cls is not None else [])
- return ExtractOutput(entities=entities, classifications=classifications, batch_size=batch_size)
+ # Reassemble relations if any partial has them
+ has_relations = any(p.relations is not None for p in partials.values())
+ relations: list[list[Relation]] | None = None
+ if has_relations:
+ relations = []
+ for i in range(batch_size):
+ p_rel = partials[i].relations
+ relations.append(p_rel[0] if p_rel is not None else [])
+
+ # Reassemble objects if any partial has them
+ has_objects = any(p.objects is not None for p in partials.values())
+ objects: list[list[DetectedObject]] | None = None
+ if has_objects:
+ objects = []
+ for i in range(batch_size):
+ p_obj = partials[i].objects
+ objects.append(p_obj[0] if p_obj is not None else [])
+
+ return ExtractOutput(
+ entities=entities,
+ classifications=classifications,
+ relations=relations,
+ objects=objects,
+ batch_size=batch_size,
+ )
@classmethod
def format_output(cls, output: ExtractOutput) -> list[dict[str, Any]]:
@@ -135,5 +163,13 @@ class ExtractHandler(OperationHandler[ExtractOutput]):
item["classifications"] = list(output.classifications[i])
else:
item["classifications"] = []
+ if output.relations is not None:
+ item["relations"] = list(output.relations[i])
+ else:
+ item["relations"] = []
+ if output.objects is not None:
+ item["objects"] = list(output.objects[i])
+ else:
+ item["objects"] = []
results.append(item)
return results
diff --git a/packages/sie_server/src/sie_server/core/worker/model_worker.py b/packages/sie_server/src/sie_server/core/worker/model_worker.py
index bed8113f5..3ba91f655 100644
--- a/packages/sie_server/src/sie_server/core/worker/model_worker.py
+++ b/packages/sie_server/src/sie_server/core/worker/model_worker.py
@@ -26,6 +26,12 @@ from collections.abc import Sequence
from concurrent.futures import ThreadPoolExecutor
from typing import TYPE_CHECKING, Any
+from sie_server.core.adaptive_batching import (
+ AdaptiveBatchController,
+ AdaptiveBatchState,
+ BatchEfficiencyTracker,
+ LatencyTracker,
+)
from sie_server.core.batcher import BatchConfig, BatchFormer, FormattedBatch, HasCost
from sie_server.core.timing import RequestTiming
from sie_server.core.worker.handlers import EncodeHandler, ExtractHandler, OperationHandler, ScoreHandler
@@ -37,6 +43,56 @@ from sie_server.core.worker.types import (
WorkerStats,
)
+try:
+ from prometheus_client import Gauge, Histogram
+
+ GPU_BATCH_ITEMS = Histogram(
+ "sie_gpu_batch_items",
+ "Number of items per GPU batch",
+ ["model"],
+ buckets=[1, 2, 4, 8, 16, 32, 64, 128, 256, 512],
+ )
+ GPU_BATCH_TOKENS = Histogram(
+ "sie_gpu_batch_tokens",
+ "Number of tokens per GPU batch",
+ ["model"],
+ buckets=[64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768],
+ )
+ ADAPTIVE_BATCH_WAIT = Gauge(
+ "sie_adaptive_batch_wait_ms",
+ "Current dynamic max_batch_wait_ms from adaptive controller",
+ ["model"],
+ )
+ ADAPTIVE_P50 = Gauge(
+ "sie_adaptive_p50_ms",
+ "Observed rolling p50 latency from adaptive controller",
+ ["model"],
+ )
+ ADAPTIVE_HEADROOM = Gauge(
+ "sie_adaptive_headroom_ms",
+ "Latency headroom (target_p50 - observed_p50)",
+ ["model"],
+ )
+ ADAPTIVE_BATCH_COST = Gauge(
+ "sie_adaptive_batch_cost",
+ "Current dynamic max_batch_cost (tokens) from adaptive controller",
+ ["model"],
+ )
+ ADAPTIVE_FILL_RATIO = Gauge(
+ "sie_adaptive_fill_ratio",
+ "Mean batch fill ratio (actual_cost / max_cost)",
+ ["model"],
+ )
+ ADAPTIVE_BATCH_EFFICIENCY = Histogram(
+ "sie_adaptive_batch_efficiency",
+ "Batch request efficiency: actual_batch_size / max_batch_requests",
+ ["model"],
+ buckets=[0.01, 0.05, 0.1, 0.2, 0.3, 0.5, 0.7, 0.9, 1.0],
+ )
+ _HAS_BATCH_METRICS = True
+except ImportError:
+ _HAS_BATCH_METRICS = False
+
if TYPE_CHECKING:
from sie_server.adapters.base import ModelAdapter
from sie_server.core.postprocessor_registry import PostprocessorRegistry
@@ -123,6 +179,36 @@ class ModelWorker:
thread_name_prefix="inference",
)
+ # Adaptive batching controller (optional, off by default)
+ ab = self._config.adaptive_batching
+ if ab.enabled:
+ self._latency_tracker: LatencyTracker | None = LatencyTracker(
+ window_size=ab.window_size,
+ )
+ self._efficiency_tracker: BatchEfficiencyTracker | None = BatchEfficiencyTracker()
+ self._adaptive_controller: AdaptiveBatchController | None = AdaptiveBatchController(
+ target_p50_ms=ab.target_p50_ms,
+ calibration_multiplier=ab.calibration_multiplier,
+ min_target_p50_ms=ab.min_target_p50_ms,
+ max_target_p50_ms=ab.max_target_p50_ms,
+ min_wait_ms=ab.min_wait_ms,
+ max_wait_ms=ab.max_wait_ms,
+ min_batch_cost=min(256, self._config.max_batch_tokens),
+ max_batch_cost=max(
+ min(256, self._config.max_batch_tokens), self._config.max_batch_tokens * 4
+ ), # allow up to 4x growth
+ gain=ab.gain,
+ integral_gain=ab.integral_gain,
+ cost_gain=ab.gain * 0.5, # cost knob is more conservative
+ update_interval=ab.update_interval,
+ _current_wait_ms=self._config.max_batch_wait_ms,
+ _current_batch_cost=self._config.max_batch_tokens,
+ )
+ else:
+ self._latency_tracker = None
+ self._efficiency_tracker = None
+ self._adaptive_controller = None
+
# Background task and control
self._running = False
self._stopping = False # True when graceful stop has begun
@@ -158,6 +244,14 @@ class ModelWorker:
"""Return number of pending requests across all batchers."""
return sum(b.pending_count for b in self._batchers.values())
+ def get_adaptive_state(self) -> AdaptiveBatchState | None:
+ """Return immutable snapshot of adaptive controller state, or None if disabled."""
+ if self._adaptive_controller is None:
+ return None
+ observed = self._latency_tracker.p50() if self._latency_tracker else None
+ fill = self._efficiency_tracker.mean_fill_ratio() if self._efficiency_tracker else None
+ return self._adaptive_controller.snapshot(observed_p50_ms=observed, fill_ratio=fill)
+
@property
def pending_tokens(self) -> int:
"""Return total tokens in pending requests across all batchers."""
@@ -187,7 +281,25 @@ class ModelWorker:
self._process_loop(),
name="model-worker-process",
)
- logger.info("ModelWorker started")
+ if self._adaptive_controller is not None:
+ target_str = (
+ f"{self._adaptive_controller.target_p50_ms:.0f}ms"
+ if self._adaptive_controller.target_p50_ms is not None
+ else "auto-calibrate"
+ )
+ logger.info(
+ "ModelWorker started (adaptive batching: target_p50=%s, gain=%.2f, "
+ "integral_gain=%.3f, wait=[%.1f, %.1f]ms, cost=[%d, %d])",
+ target_str,
+ self._adaptive_controller.gain,
+ self._adaptive_controller.integral_gain,
+ self._adaptive_controller.min_wait_ms,
+ self._adaptive_controller.max_wait_ms,
+ self._adaptive_controller.min_batch_cost,
+ self._adaptive_controller.max_batch_cost,
+ )
+ else:
+ logger.info("ModelWorker started")
async def stop(self) -> None:
"""Stop the background processing task.
@@ -454,7 +566,9 @@ class ModelWorker:
# Batch Processing
# =========================================================================
- async def _get_next_batch_fcfs(self) -> tuple[str | None, FormattedBatch[HasCost, RequestMetadata]]:
+ async def _get_next_batch_fcfs(
+ self, was_idle: bool = True
+ ) -> tuple[str | None, FormattedBatch[HasCost, RequestMetadata], bool]:
"""Get next batch using FCFS (First-Come-First-Serve) selection.
Selects the batcher whose first pending request has waited the longest.
@@ -465,10 +579,17 @@ class ModelWorker:
unnecessary latency at low concurrency while preserving batching
efficiency when requests arrive during inference.
+ Args:
+ was_idle: Whether the worker was idle before this call. When True,
+ dispatches immediately without waiting for batch formation.
+ When False, uses the normal timeout/coalesce mechanism to
+ accumulate a proper batch.
+
Returns:
- Tuple of (lora_name, batch) where lora_name is None for base model.
+ Tuple of (lora_name, batch, was_idle) where lora_name is None for
+ base model and was_idle indicates whether the worker had to poll
+ (was truly idle).
"""
- was_idle = True
while True:
oldest_lora: str | None = None
oldest_time: float = float("inf")
@@ -485,7 +606,7 @@ class ModelWorker:
# Found a batcher with pending items - get batch from it
selected_lora = oldest_lora if oldest_lora is not None else None
batch = await self._batchers[selected_lora].get_batch(immediate=was_idle)
- return selected_lora, batch
+ return selected_lora, batch, was_idle
# No batchers have pending items - worker is idle
was_idle = True
@@ -494,19 +615,25 @@ class ModelWorker:
# Check if we should stop
if not self._running:
# Return empty batch to exit gracefully
- return None, FormattedBatch(items=[], metadata=[], total_cost=0)
+ return None, FormattedBatch(items=[], metadata=[], total_cost=0), was_idle
async def _process_loop(self) -> None:
"""Background loop that processes batches using FCFS across LoRAs."""
logger.debug("Process loop started")
+ # Track idle state across iterations. When idle, the next batch is
+ # dispatched immediately (low-concurrency optimization). When busy
+ # (just finished inference + drain), we let BatchFormer's
+ # timeout/coalesce mechanism accumulate a proper batch.
+ was_idle = True
+
while self._running:
try:
# Track time waiting for batch
batch_wait_start = time.monotonic()
# Wait for next batch using FCFS selection across LoRA batchers
- active_lora, batch = await self._get_next_batch_fcfs()
+ active_lora, batch, was_idle = await self._get_next_batch_fcfs(was_idle)
# Skip empty batches (can happen during shutdown)
if batch.size == 0:
@@ -526,12 +653,24 @@ class ModelWorker:
# during GPU inference, bypassing the coalesce/timeout wait.
# This keeps the GPU saturated without re-entering the batch
# formation loop.
+ drained = False
batcher = self._batchers.get(active_lora)
while batcher is not None:
drain_batch = await batcher.try_drain()
if drain_batch is None or drain_batch.size == 0:
break
+ drained = True
await self._process_batch(drain_batch)
+ if _HAS_BATCH_METRICS:
+ _label_name = self._model_name or "unknown"
+ GPU_BATCH_ITEMS.labels(model=_label_name).observe(drain_batch.size)
+ GPU_BATCH_TOKENS.labels(model=_label_name).observe(drain_batch.total_tokens)
+
+ # Determine idle state for next iteration.
+ # Worker was busy if we drained items or processed a multi-item
+ # batch — meaning requests are actively arriving and the next
+ # batch should use timeout/coalesce to accumulate properly.
+ was_idle = not drained and batch.size <= 1
inference_ms = (time.monotonic() - inference_start) * 1000
@@ -552,6 +691,44 @@ class ModelWorker:
unique_requests = len({id(m) for m in batch.metadata})
self._stats.requests_per_batch.append(unique_requests)
+ if _HAS_BATCH_METRICS:
+ _label_name = self._model_name or "unknown"
+ GPU_BATCH_ITEMS.labels(model=_label_name).observe(batch.size)
+ GPU_BATCH_TOKENS.labels(model=_label_name).observe(batch.total_tokens)
+ if self._batch_config.max_batch_requests > 0:
+ ADAPTIVE_BATCH_EFFICIENCY.labels(model=_label_name).observe(
+ batch.size / self._batch_config.max_batch_requests
+ )
+
+ # Track batch efficiency for adaptive controller
+ if self._efficiency_tracker is not None:
+ self._efficiency_tracker.record(batch.total_cost, self._batch_config.max_batch_cost)
+
+ # Step adaptive controller after processing.
+ # Note: mutating _batch_config in-place is safe here because
+ # both assignments happen synchronously (no await between them)
+ # on the single event-loop thread. BatchFormer reads these
+ # fields only under its own async lock, which cannot interleave
+ # with this synchronous block.
+ if self._adaptive_controller is not None and self._latency_tracker is not None:
+ observed_p50 = self._latency_tracker.p50()
+ fill_ratio = self._efficiency_tracker.mean_fill_ratio() if self._efficiency_tracker else None
+ new_wait, new_cost = self._adaptive_controller.step(observed_p50, fill_ratio)
+ self._batch_config.max_batch_wait_ms = new_wait
+ self._batch_config.max_batch_cost = new_cost
+
+ if _HAS_BATCH_METRICS:
+ _label = self._model_name or "unknown"
+ ADAPTIVE_BATCH_WAIT.labels(model=_label).set(new_wait)
+ ADAPTIVE_BATCH_COST.labels(model=_label).set(new_cost)
+ if observed_p50 is not None:
+ ADAPTIVE_P50.labels(model=_label).set(observed_p50)
+ target = self._adaptive_controller.target_p50_ms
+ if target is not None:
+ ADAPTIVE_HEADROOM.labels(model=_label).set(target - observed_p50)
+ if fill_ratio is not None:
+ ADAPTIVE_FILL_RATIO.labels(model=_label).set(fill_ratio)
+
# Log every 10 batches at INFO level for visibility
if self._stats.batches_processed % 10 == 0:
lora_info = f", lora={active_lora}" if active_lora else ""
@@ -786,3 +963,14 @@ class ModelWorker:
if not metadata.future.done():
worker_result = WorkerResult(output=output, timing=metadata.timing)
metadata.future.set_result(worker_result)
+
+ # Feed latency sample to adaptive controller
+ if self._latency_tracker is not None:
+ self._latency_tracker.record(metadata.timing.total_ms)
+
+ # Feed inference-only sample for auto-calibration.
+ # Uses inference_ms (GPU forward pass) not total_ms to
+ # avoid a feedback loop where queue/batch wait inflates
+ # the calibration target.
+ if self._adaptive_controller is not None and not self._adaptive_controller.calibrated:
+ self._adaptive_controller.record_inference_sample(metadata.timing.inference_ms)
diff --git a/packages/sie_server/src/sie_server/core/worker/types.py b/packages/sie_server/src/sie_server/core/worker/types.py
index 2608bbe25..e4c3d0931 100644
--- a/packages/sie_server/src/sie_server/core/worker/types.py
+++ b/packages/sie_server/src/sie_server/core/worker/types.py
@@ -84,15 +84,37 @@ class QueueFullError(Exception):
"""Raised when the worker queue is full and cannot accept more requests."""
+@dataclass
+class AdaptiveBatchingParams:
+ """Parameters for adaptive batch wait control (passed from EngineConfig).
+
+ ``target_p50_ms=None`` means auto-calibrate from observed inference latency.
+ An explicit float value means use that as a fixed SLO target.
+ """
+
+ enabled: bool = False
+ target_p50_ms: float | None = None
+ calibration_multiplier: float = 1.5
+ min_target_p50_ms: float = 5.0
+ max_target_p50_ms: float = 500.0
+ min_wait_ms: float = 1.0
+ max_wait_ms: float = 50.0
+ gain: float = 0.3
+ integral_gain: float = 0.05
+ window_size: int = 200
+ update_interval: int = 10
+
+
@dataclass
class WorkerConfig:
"""Configuration for ModelWorker."""
max_batch_tokens: int = 16384
max_batch_requests: int = 256
- max_batch_wait_ms: int = 10
+ max_batch_wait_ms: float = 10.0
max_queue_size: int = 1000 # Maximum pending items in queue (0 = unlimited)
instrumentation: bool = False
+ adaptive_batching: AdaptiveBatchingParams = field(default_factory=AdaptiveBatchingParams)
@dataclass
diff --git a/packages/sie_server/src/sie_server/nats_pull_loop.py b/packages/sie_server/src/sie_server/nats_pull_loop.py
new file mode 100644
index 000000000..9d6ae877f
--- /dev/null
+++ b/packages/sie_server/src/sie_server/nats_pull_loop.py
@@ -0,0 +1,1423 @@
+from __future__ import annotations
+
+import asyncio
+import concurrent.futures
+import contextlib
+import logging
+import os
+import threading
+import time
+from pathlib import Path
+from typing import Any
+
+import msgpack
+import msgpack_numpy
+import nats
+import nats.errors
+import nats.js.errors
+from nats.aio.client import Client as NATSClient
+from nats.js import JetStreamContext
+from nats.js.api import (
+ AckPolicy,
+ ConsumerConfig,
+ DiscardPolicy,
+ RetentionPolicy,
+ StorageType,
+ StreamConfig,
+)
+from sie_sdk.queue_types import (
+ WORK_SUBJECT_PREFIX,
+ WorkItem,
+ WorkResult,
+ denormalize_model_id,
+ work_consumer_name,
+ work_pool_stream_name,
+ work_pool_stream_subjects,
+ work_stream_name,
+)
+
+from sie_server.core.adaptive_batching import LatencyTracker
+from sie_server.core.inference_output import ScoreOutput
+from sie_server.core.prepared import ExtractPreparedItem, ScorePreparedItem
+from sie_server.core.registry import ModelRegistry
+from sie_server.core.timing import RequestTiming
+from sie_server.core.worker.handlers.extract import ExtractHandler
+from sie_server.types.inputs import Item
+
+msgpack_numpy.patch()
+
+logger = logging.getLogger(__name__)
+
+# Default ACK wait in seconds — nats.py converts to nanoseconds internally.
+_ACK_WAIT_S = 30
+
+# Default batch budget — controls how many NATS messages a single fetch()
+# returns. This is the primary driver of GPU batch size in queue mode:
+# the pull loop groups fetched messages by model and dispatches them as a
+# single GPU forward pass. Configurable via SIE_NATS_FETCH_BUDGET.
+_DEFAULT_BATCH_BUDGET = int(os.environ.get("SIE_NATS_FETCH_BUDGET", "64"))
+
+# Maximum concurrent batch-processing tasks to avoid ACK timeout storms.
+_MAX_CONCURRENT_BATCHES = 4
+
+# TTL (seconds) for caching the bundle config hash.
+_CONFIG_HASH_CACHE_TTL_S = 5.0
+
+# Interval (seconds) between retries for models whose initial subscription failed.
+_FAILED_MODEL_RETRY_INTERVAL = 30.0
+
+# Graceful drain timeout (seconds) — matches _ACK_WAIT_S so in-flight batches
+# have time to finish and ACK before the pull loop shuts down.
+_DRAIN_TIMEOUT_S = 30.0
+
+# NAK delay (seconds) for items targeting unloaded models.
+# JetStream redelivers after this delay, giving time for loading to complete.
+# Configurable via SIE_NAK_DELAY_S; with max_deliver=20, the default gives
+# ~100s total retry budget — enough for cold model downloads.
+_NAK_DELAY_S = float(os.environ.get("SIE_NAK_DELAY_S", "5.0"))
+
+# Maximum delivery attempts before a message is sent to the DLQ.
+# Configurable via SIE_MAX_DELIVER; must be high enough to cover model load
+# times (10-60s+ for cold HuggingFace downloads).
+_MAX_DELIVER = int(os.environ.get("SIE_MAX_DELIVER", "20"))
+
+_MIN_SUBJECT_PARTS = 4 # sie.work.{model}.{pool}
+
+# Dynamic fetch timeout bounds. With the pool-level stream design (single
+# subscription per pool), idle polling cost is just one NATS fetch RPC per
+# cycle — much lower than the old O(N-models) design. The max can be kept
+# very tight to minimise head-of-line delay at low concurrency.
+#
+# At 1ms minimum, the worker checks for new messages every 1ms when busy.
+# At 20ms maximum, the worst-case idle delay is 20ms (avg ~10ms).
+# This translates to ~50 idle polls/sec to NATS — negligible load.
+_MIN_FETCH_TIMEOUT_S = 0.001 # 1ms — near-instant when messages flow
+_MAX_FETCH_TIMEOUT_S = 0.02 # 20ms — tight idle delay
+_BACKOFF_GROWTH = 2.0 # 1ms → 2ms → 4ms → 8ms → 16ms → 20ms (5 steps)
+
+# Thrashing detection: if a model is background-loaded this many times
+# within this window, log a warning suggesting separate bundles.
+_THRASH_WINDOW_S = 300.0 # 5 minutes
+_THRASH_THRESHOLD = 4 # 4 loads in 5 minutes = thrashing
+
+# Max age (seconds) for messages in the pool-level stream.
+# Configurable via SIE_STREAM_MAX_AGE_S to give headroom for slow model loads.
+_DEFAULT_STREAM_MAX_AGE_S = int(os.environ.get("SIE_STREAM_MAX_AGE_S", "120"))
+
+# Thread pool for S3 payload fetches — avoids exhausting the default
+# asyncio thread pool when fetching many large payloads concurrently.
+_PAYLOAD_THREAD_POOL = concurrent.futures.ThreadPoolExecutor(max_workers=16, thread_name_prefix="payload-fetch")
+
+
+# Map numpy dtype to the wire-format dtype string expected by the SDK.
+_NP_DTYPE_MAP = {"float32": "float32", "float16": "float16", "int8": "int8", "uint8": "binary"}
+
+
+def _wrap_encode_output(output: dict, config: Any) -> dict:
+ """Wrap raw numpy arrays from ``EncodeHandler.format_output`` into the
+ ``DenseVector``/``SparseVector`` wire format that the SDK expects.
+
+ The HTTP path does this via ``encode.py:_build_response_items`` + Pydantic
+ ``EncodeResult``. In the queue path the worker must produce the same shape
+ *before* msgpack-serializing, because the router embeds the blob as-is.
+ """
+ import numpy as np # noqa: PLC0415
+
+ wrapped = dict(output)
+
+ if "dense" in wrapped and isinstance(wrapped["dense"], np.ndarray):
+ arr = wrapped["dense"]
+ encode_task = getattr(config, "tasks", None)
+ encode_task = getattr(encode_task, "encode", None)
+ dense_cfg = getattr(encode_task, "dense", None) if encode_task else None
+ dense_dim = dense_cfg.dim if dense_cfg else None
+
+ is_binary = arr.dtype == np.uint8 and dense_dim and arr.shape[0] < dense_dim
+ dims = dense_dim if dense_dim is not None else arr.shape[0]
+ dtype = "binary" if is_binary else _NP_DTYPE_MAP.get(str(arr.dtype), "float32")
+
+ wrapped["dense"] = {"dims": int(dims), "dtype": dtype, "values": arr}
+
+ if "sparse" in wrapped and isinstance(wrapped["sparse"], dict):
+ # sparse already comes as {"indices": ndarray, "values": ndarray}
+ pass
+
+ if "multivector" in wrapped and isinstance(wrapped["multivector"], np.ndarray):
+ arr = wrapped["multivector"]
+ wrapped["multivector"] = {"values": arr}
+
+ return wrapped
+
+
+# ---------------------------------------------------------------------------
+# Metrics (optional — gracefully degrade if prometheus_client not installed)
+# ---------------------------------------------------------------------------
+
+try:
+ from prometheus_client import Counter, Histogram
+
+ PULL_ITEMS_FETCHED = Histogram(
+ "sie_pull_loop_items_fetched",
+ "Number of items fetched per pull cycle",
+ ["model"],
+ buckets=[1, 2, 4, 8, 16, 32, 64, 128, 256],
+ )
+ PULL_BATCH_PROCESS_SECONDS = Histogram(
+ "sie_pull_loop_batch_process_seconds",
+ "Time to process a pulled batch (seconds)",
+ ["model", "operation"],
+ buckets=[0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0],
+ )
+ PULL_QUEUE_WAIT_SECONDS = Histogram(
+ "sie_pull_loop_queue_wait_seconds",
+ "Time items waited in NATS queue before being pulled (seconds)",
+ ["model"],
+ buckets=[0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0],
+ )
+ PULL_CONFIG_HASH_MISMATCHES = Counter(
+ "sie_pull_loop_config_hash_mismatches_total",
+ "Config hash mismatches detected (log-only, items still processed)",
+ ["model"],
+ )
+ PULL_NAK_UNLOADED = Counter(
+ "sie_pull_loop_nak_unloaded_total",
+ "Work items NAKed because the target model is not loaded",
+ ["model"],
+ )
+ PULL_MODEL_LOADS = Counter(
+ "sie_pull_loop_model_loads_total",
+ "Background model loads triggered by demand",
+ ["model"],
+ )
+ _HAS_METRICS = True
+except ImportError:
+ _HAS_METRICS = False
+
+
+# ---------------------------------------------------------------------------
+# Minimal payload store (read-only) — avoids cross-package import from
+# ``sie_router.payload_store``.
+# ---------------------------------------------------------------------------
+
+
+class _PayloadStore:
+ """Read-only payload fetcher (local filesystem or S3)."""
+
+ async def get(self, key: str) -> bytes:
+ raise NotImplementedError
+
+
+class _LocalPayloadStore(_PayloadStore):
+ def __init__(self, base_dir: str) -> None:
+ self._base_dir = Path(base_dir)
+
+ def _safe_path(self, key: str) -> Path:
+ """Resolve key to a path inside base_dir, rejecting traversal."""
+ target = (self._base_dir / key).resolve()
+ base = self._base_dir.resolve()
+ try:
+ target.relative_to(base)
+ except ValueError:
+ raise ValueError(f"Path traversal detected: {key}") from None
+ return target
+
+ async def get(self, key: str) -> bytes:
+ path = self._safe_path(key)
+ loop = asyncio.get_running_loop()
+ try:
+ return await loop.run_in_executor(_PAYLOAD_THREAD_POOL, path.read_bytes)
+ except FileNotFoundError:
+ raise KeyError(f"Payload not found: {key}") from None
+
+
+class _S3PayloadStore(_PayloadStore):
+ def __init__(self, bucket: str, prefix: str = "payloads") -> None:
+ self._bucket = bucket
+ self._prefix = prefix
+ self._client: object | None = None
+ self._client_lock = threading.Lock()
+
+ def _get_client(self) -> object:
+ """Get or create a cached boto3 S3 client (thread-safe)."""
+ if self._client is None:
+ with self._client_lock:
+ if self._client is None:
+ import boto3 # noqa: PLC0415
+
+ self._client = boto3.client("s3")
+ return self._client
+
+ async def get(self, key: str) -> bytes:
+ full_key = f"{self._prefix}/{key}" if self._prefix else key
+
+ def _fetch() -> bytes:
+ client = self._get_client()
+ response = client.get_object(Bucket=self._bucket, Key=full_key) # type: ignore[union-attr]
+ body = response["Body"]
+ try:
+ return body.read()
+ finally:
+ body.close()
+
+ try:
+ loop = asyncio.get_running_loop()
+ return await loop.run_in_executor(_PAYLOAD_THREAD_POOL, _fetch)
+ except KeyError:
+ raise
+ except Exception as e:
+ import botocore.exceptions # noqa: PLC0415 — optional dep, lazy import
+
+ if isinstance(e, botocore.exceptions.ClientError):
+ error_code = e.response.get("Error", {}).get("Code", "")
+ if error_code in ("NoSuchKey", "404"):
+ raise KeyError(f"Payload not found: {key}") from e
+ raise
+
+
+class _GCSPayloadStore(_PayloadStore):
+ """Read-only GCS payload store for the worker pull loop."""
+
+ def __init__(self, bucket: str, prefix: str) -> None:
+ self._bucket_name = bucket
+ self._prefix = prefix
+ self._client: Any = None
+
+ def _get_bucket(self) -> Any:
+ if self._client is None:
+ try:
+ from google.cloud import storage # noqa: PLC0415
+ except ImportError:
+ raise ImportError(
+ "google-cloud-storage is required for GCS payload stores. Install the google-cloud-storage package"
+ ) from None
+ client = storage.Client()
+ self._client = client.bucket(self._bucket_name)
+ return self._client
+
+ async def get(self, key: str) -> bytes:
+ bucket = self._get_bucket()
+ full_key = f"{self._prefix}/{key}" if self._prefix else key
+ blob = bucket.blob(full_key)
+ try:
+ data: bytes = await asyncio.to_thread(blob.download_as_bytes)
+ return data
+ except Exception as e:
+ _not_found = None
+ with contextlib.suppress(ImportError):
+ from google.api_core.exceptions import NotFound # noqa: PLC0415
+
+ _not_found = NotFound
+ if _not_found is not None and isinstance(e, _not_found):
+ raise KeyError(f"Payload not found: {key}") from e
+ raise
+
+
+def _create_payload_store(url: str | None) -> _PayloadStore | None:
+ """Create a read-only payload store from a URL."""
+ if not url:
+ return None
+ if url.startswith("s3://"):
+ parts = url[5:].split("/", 1)
+ bucket = parts[0]
+ prefix = parts[1] if len(parts) > 1 else "payloads"
+ return _S3PayloadStore(bucket=bucket, prefix=prefix)
+ if url.startswith("gs://"):
+ parts = url[5:].split("/", 1)
+ bucket = parts[0]
+ prefix = parts[1] if len(parts) > 1 else "payloads"
+ return _GCSPayloadStore(bucket=bucket, prefix=prefix)
+ if "://" in url:
+ raise ValueError(
+ f"Unsupported payload store URL scheme: {url!r}. "
+ "Supported: 's3://bucket/prefix', 'gs://bucket/prefix', or a local filesystem path."
+ )
+ return _LocalPayloadStore(base_dir=url)
+
+
+class NatsPullLoop:
+ """Pull work items from NATS JetStream and feed to ModelWorker.
+
+ One pull loop per worker process. The loop round-robins across models
+ in the worker's bundle, pulling items from each model's JetStream
+ subject and submitting them to the appropriate ModelWorker.
+ """
+
+ def __init__(
+ self,
+ nc: NATSClient,
+ js: JetStreamContext,
+ registry: ModelRegistry,
+ bundle_id: str,
+ pool_name: str,
+ payload_store_url: str | None = None,
+ ) -> None:
+ self._nc = nc
+ self._js = js
+ self._registry = registry
+ self._bundle_id = bundle_id
+ self._pool_name = pool_name
+ self._payload_store_url = payload_store_url
+ self._subscriptions: dict[str, Any] = {} # model_id → PullSubscription
+ self._running = False
+ self._pull_task: asyncio.Task[None] | None = None
+ self._in_flight_tasks: set[asyncio.Task[None]] = set()
+ self._payload_store: _PayloadStore | None = None
+ self._worker_id = os.environ.get("HOSTNAME", os.environ.get("POD_NAME", "worker"))
+ self._failed_models: set[str] = set()
+ self._config_hash_cache: str | None = None
+ self._config_hash_cache_time: float = 0.0
+ self._batch_sem = asyncio.Semaphore(_MAX_CONCURRENT_BATCHES)
+
+ # Reactive model loading state
+ self._loading_models: set[str] = set() # Models currently being loaded
+ self._load_tasks: dict[str, asyncio.Task[None]] = {} # model → background load task
+ self._load_history: list[tuple[str, float]] = [] # (model_id, timestamp) for thrash detection
+
+ # Adaptive fetch timeout: tracks queue-path latency (time from
+ # router publish to result publish) and adjusts fetch_timeout to
+ # balance item accumulation (throughput) vs head-of-line delay.
+ # When latency is under the target, the timeout can increase to
+ # allow more items to accumulate → larger GPU batches. When over
+ # the target, the timeout shrinks for faster pickup.
+ self._queue_latency_tracker = LatencyTracker(window_size=200, min_samples=10)
+
+ async def start(self) -> None:
+ """Start the pull loop.
+
+ Creates a single multiplexed JetStream consumer for the worker's
+ pool and begins pulling work items for all models.
+ """
+ self._running = True
+ self._payload_store = _create_payload_store(self._payload_store_url)
+
+ # Migrate: remove legacy per-model streams that overlap with the
+ # new pool-level stream subjects. ``add_stream`` will reject the
+ # pool stream if any per-model stream has an overlapping subject.
+ await self._migrate_per_model_streams()
+
+ # Create the single pool-level stream + consumer
+ await self._ensure_pool_subscription()
+
+ # Start the main pull loop
+ self._pull_task = asyncio.create_task(self._run())
+ logger.info(
+ "NatsPullLoop started (bundle=%s, pool=%s, models=%d, stream=%s)",
+ self._bundle_id,
+ self._pool_name,
+ len(self._registry.model_names),
+ work_pool_stream_name(self._pool_name),
+ )
+
+ async def stop(self) -> None:
+ """Stop the pull loop gracefully.
+
+ Cancels the pull task and waits for in-flight processing to complete.
+ """
+ self._running = False
+
+ # Cancel the main pull loop
+ if self._pull_task is not None:
+ self._pull_task.cancel()
+ try:
+ await self._pull_task
+ except asyncio.CancelledError:
+ pass
+ self._pull_task = None
+
+ # Wait for in-flight tasks to complete (graceful drain).
+ # Do NOT cancel — let current batches finish, ACK, and drain cleanly.
+ # Items processed during drain are ACKed normally; no GPU work wasted.
+ if self._in_flight_tasks:
+ logger.info("Draining %d in-flight tasks", len(self._in_flight_tasks))
+ _done, pending = await asyncio.wait(self._in_flight_tasks, timeout=_DRAIN_TIMEOUT_S)
+ if pending:
+ logger.warning("Drain timeout: %d tasks still pending, cancelling", len(pending))
+ for task in pending:
+ task.cancel()
+ await asyncio.gather(*pending, return_exceptions=True)
+ self._in_flight_tasks.clear()
+
+ # Cancel background model load tasks
+ for load_task in self._load_tasks.values():
+ load_task.cancel()
+ if self._load_tasks:
+ await asyncio.gather(*self._load_tasks.values(), return_exceptions=True)
+ self._load_tasks.clear()
+ self._loading_models.clear()
+
+ for sub in self._subscriptions.values():
+ try:
+ await sub.unsubscribe()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to unsubscribe during shutdown")
+ self._subscriptions.clear()
+
+ if hasattr(self, "_pool_sub"):
+ try:
+ await self._pool_sub.unsubscribe()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to unsubscribe pool sub during shutdown")
+
+ logger.info("NatsPullLoop stopped")
+
+ async def handle_reconnect(self) -> None:
+ """Re-create pull subscriptions after NATS reconnect.
+
+ After a NATS server restart, existing subscriptions may be invalid.
+ This clears them and re-creates consumers for all known models.
+ """
+ # Unsubscribe stale subscriptions (best-effort)
+ for sub in self._subscriptions.values():
+ try:
+ await sub.unsubscribe()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to unsubscribe during reconnect")
+ self._subscriptions.clear()
+
+ # Unsubscribe stale pool subscription (best-effort)
+ if hasattr(self, "_pool_sub"):
+ try:
+ await self._pool_sub.unsubscribe()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to unsubscribe old pool sub during reconnect")
+
+ # Re-create the pool subscription
+ await self._ensure_pool_subscription()
+ logger.info("NatsPullLoop reconnected — re-created pool subscription")
+
+ async def add_model(self, model_id: str) -> None:
+ """No-op in multiplexed mode — the pool subscription already covers all models.
+
+ Kept for API compatibility.
+ """
+
+ # -- Pool-level multiplexed stream/consumer --------------------------------
+
+ async def _migrate_per_model_streams(self) -> None:
+ """Delete legacy per-model streams that overlap with the pool stream.
+
+ The old design created ``WORK_{model_id}`` streams per model.
+ The new pool-level stream ``WORK_POOL_{pool}`` uses ``sie.work.*.{pool}``
+ which overlaps. NATS rejects streams with overlapping subjects, so we
+ must clean up old streams before creating the pool stream.
+ """
+ model_ids = list(self._registry.model_names)
+ deleted = 0
+ for model_id in model_ids:
+ stream_name = work_stream_name(model_id)
+ try:
+ await self._js.delete_stream(stream_name)
+ deleted += 1
+ except Exception: # noqa: BLE001, S110
+ pass # Stream may not exist — that's fine
+ if deleted:
+ logger.info("Migrated: deleted %d legacy per-model streams", deleted)
+
+ async def _ensure_pool_subscription(self) -> None:
+ """Create the single pool-level stream and pull consumer.
+
+ One stream captures ``sie.work.*.{pool}`` (all models for this pool).
+ One durable consumer pulls from it. This replaces the old O(N-models)
+ per-model subscription loop with a single fetch point.
+ """
+ stream_name = work_pool_stream_name(self._pool_name)
+ subjects = work_pool_stream_subjects(self._pool_name)
+ consumer_name = work_consumer_name(self._bundle_id, self._pool_name)
+
+ config = StreamConfig(
+ name=stream_name,
+ subjects=subjects,
+ retention=RetentionPolicy.WORK_QUEUE,
+ max_age=_DEFAULT_STREAM_MAX_AGE_S,
+ max_msgs=100_000,
+ storage=StorageType.MEMORY,
+ num_replicas=1,
+ discard=DiscardPolicy.NEW,
+ )
+
+ try:
+ await self._js.add_stream(config)
+ logger.info(
+ "Pool stream created/verified: %s (subjects=%s, max_age=%ds)",
+ stream_name,
+ subjects,
+ _DEFAULT_STREAM_MAX_AGE_S,
+ )
+ except Exception:
+ logger.exception("Failed to create pool stream: %s", stream_name)
+ raise
+
+ # Filter subject: all models for this pool
+ filter_subject = f"{WORK_SUBJECT_PREFIX}.*.{self._pool_name}"
+
+ consumer_config = ConsumerConfig(
+ durable_name=consumer_name,
+ filter_subject=filter_subject,
+ ack_policy=AckPolicy.EXPLICIT,
+ ack_wait=_ACK_WAIT_S,
+ max_deliver=_MAX_DELIVER,
+ max_ack_pending=1000,
+ )
+
+ try:
+ sub = await self._js.pull_subscribe(
+ subject=filter_subject,
+ durable=consumer_name,
+ stream=stream_name,
+ config=consumer_config,
+ )
+ except nats.js.errors.BadRequestError:
+ logger.warning(
+ "Consumer %s config mismatch (likely max_deliver upgrade), recreating",
+ consumer_name,
+ )
+ await self._js.delete_consumer(stream_name, consumer_name)
+ sub = await self._js.pull_subscribe(
+ subject=filter_subject,
+ durable=consumer_name,
+ stream=stream_name,
+ config=consumer_config,
+ )
+ except Exception:
+ logger.exception("Failed to create pool consumer: %s", consumer_name)
+ raise
+
+ self._pool_sub = sub
+ logger.info(
+ "Pool consumer created: %s on stream %s (filter=%s)",
+ consumer_name,
+ stream_name,
+ filter_subject,
+ )
+
+ def _get_batch_budget(self, model_id: str) -> int:
+ """Get the batch budget for a model from its BatchConfig.
+
+ Accesses ModelWorker._batch_config (private) — falls back to
+ _DEFAULT_BATCH_BUDGET if unavailable.
+ """
+ try:
+ worker = self._registry.get_worker(model_id)
+ if worker is not None and hasattr(worker, "_batch_config"):
+ return worker._batch_config.max_batch_requests
+ except (KeyError, AttributeError):
+ pass
+ return _DEFAULT_BATCH_BUDGET
+
+ def _check_config_hash(self, model_id: str, wi: WorkItem) -> bool: # noqa: ARG002
+ """Log-only soft check of bundle_config_hash — always returns True.
+
+ Compares the hash from the work item against the local config.
+ Mismatches are logged but do not reject the item, because hash
+ computation differs between router and worker registries.
+ """
+ expected_hash = wi.get("bundle_config_hash")
+ if not expected_hash:
+ return True # No hash set — backward compatible
+
+ # Use cached hash (recompute every _CONFIG_HASH_CACHE_TTL_S seconds)
+ now = time.monotonic()
+ if self._config_hash_cache is None or (now - self._config_hash_cache_time) > _CONFIG_HASH_CACHE_TTL_S:
+ try:
+ from sie_server.api.ws import _compute_bundle_config_hash # noqa: PLC0415
+
+ self._config_hash_cache = _compute_bundle_config_hash(self._registry, self._bundle_id)
+ self._config_hash_cache_time = now
+ except Exception: # noqa: BLE001
+ logger.debug("Could not compute config hash for validation", exc_info=True)
+ return True
+
+ if self._config_hash_cache and self._config_hash_cache != expected_hash:
+ # Log-only: hash computation differs between router and worker
+ # registries (different model filtering). Allow processing to
+ # proceed — the hash is a soft check, not a hard gate.
+ logger.debug(
+ "Config hash mismatch for %s (router=%s, worker=%s) — processing anyway",
+ wi.get("work_item_id"),
+ expected_hash[:8],
+ self._config_hash_cache[:8],
+ )
+
+ return True
+
+ def _extract_model_id(self, msg: Any) -> str | None:
+ """Extract model_id from the NATS message subject.
+
+ Subject format: ``sie.work.{normalized_model_id}.{pool_name}``
+ We reverse the normalization to recover the original model_id.
+ """
+ subject = msg.subject # e.g., "sie.work.BAAI__bge-m3.l4"
+ parts = subject.split(".")
+ if len(parts) < _MIN_SUBJECT_PARTS:
+ return None
+ normalized = parts[2] # e.g., "BAAI__bge-m3"
+ return denormalize_model_id(normalized)
+
+ def _adaptive_fetch_timeout(self, current: float) -> float:
+ """Adjust fetch timeout based on observed queue-path latency.
+
+ Under load, when latency is below the target SLO, increase the
+ timeout to allow more items to accumulate in the queue → bigger
+ GPU batches → better throughput. When over SLO, decrease for
+ faster pickup → lower latency at the cost of smaller batches.
+
+ At idle (not enough samples), fall back to the static adaptive
+ backoff (caller handles that case).
+ """
+ observed = self._queue_latency_tracker.p50()
+ if observed is None:
+ return _MIN_FETCH_TIMEOUT_S # Not enough samples — reset to minimum
+
+ # Target: 50ms by default (matches EngineConfig default).
+ # In production, this should be configurable per pool.
+ target = float(os.environ.get("SIE_ADAPTIVE_TARGET_P50_MS", "50"))
+
+ headroom_ms = target - observed
+ gain = 0.2 # Conservative gain for fetch timeout
+
+ # Convert headroom to a timeout adjustment:
+ # +headroom → increase timeout (we can afford to wait → bigger batches)
+ # -headroom → decrease timeout (over SLO → pick up faster)
+ adjustment_s = headroom_ms * gain / 1000.0 # ms → seconds
+ new_timeout = current + adjustment_s
+ return max(_MIN_FETCH_TIMEOUT_S, min(_MAX_FETCH_TIMEOUT_S, new_timeout))
+
+ async def _run(self) -> None:
+ """Main pull loop — single-consumer multiplexed design.
+
+ Pulls from the single pool-level consumer, groups messages by
+ model_id (extracted from the NATS subject), and dispatches
+ per-model batches for processing with fair scheduling.
+
+ This eliminates the O(N-models) sequential scan of the old design.
+ One ``fetch()`` call replaces 83+ per-model fetches.
+
+ **Fair dispatch:** When a batch contains multiple models, each
+ model's messages are capped at the model's batch budget. Excess
+ messages are NAK'd for redelivery, preventing a hot model from
+ monopolising the GPU.
+
+ **Adaptive fetch timeout:** When the latency tracker has enough
+ samples, the fetch timeout is adjusted based on observed p50 vs
+ the target SLO. Under load with headroom, the timeout grows to
+ allow item accumulation (throughput). Over SLO, it shrinks.
+ At idle, static backoff applies (1ms → 20ms).
+ """
+ fetch_timeout = _MIN_FETCH_TIMEOUT_S
+
+ while self._running:
+ # Check completed background load tasks
+ self._reap_load_tasks()
+
+ try:
+ messages = await self._pool_sub.fetch(batch=_DEFAULT_BATCH_BUDGET, timeout=fetch_timeout)
+ except nats.errors.TimeoutError:
+ # No items — back off
+ fetch_timeout = min(fetch_timeout * _BACKOFF_GROWTH, _MAX_FETCH_TIMEOUT_S)
+ continue
+ except Exception: # noqa: BLE001
+ logger.warning("Pool pull error", exc_info=True)
+ fetch_timeout = min(fetch_timeout * _BACKOFF_GROWTH, _MAX_FETCH_TIMEOUT_S)
+ await asyncio.sleep(fetch_timeout)
+ continue
+
+ if not messages:
+ fetch_timeout = min(fetch_timeout * _BACKOFF_GROWTH, _MAX_FETCH_TIMEOUT_S)
+ continue
+
+ # Adjust fetch timeout — use adaptive controller if we have
+ # enough latency samples, otherwise reset to minimum.
+ fetch_timeout = self._adaptive_fetch_timeout(fetch_timeout)
+
+ # Group messages by model_id (extracted from subject)
+ model_groups: dict[str, list[Any]] = {}
+ for msg in messages:
+ model_id = self._extract_model_id(msg)
+ if model_id is None:
+ logger.warning("Could not extract model_id from subject: %s", msg.subject)
+ try:
+ await msg.nak()
+ except Exception: # noqa: BLE001, S110
+ pass
+ continue
+ model_groups.setdefault(model_id, []).append(msg)
+
+ # Fair dispatch: round-robin across models, capping per-model batch
+ for model_id, model_msgs in model_groups.items():
+ # Skip models currently loading — NAK for redelivery
+ if model_id in self._loading_models:
+ for m in model_msgs:
+ try:
+ await m.nak(delay=_NAK_DELAY_S)
+ except Exception: # noqa: BLE001, S110
+ pass
+ continue
+
+ # Check if model is loaded
+ if not self._registry.is_loaded(model_id):
+ await self._handle_unloaded_model(model_id, model_msgs)
+ continue
+
+ # Apply per-model batch cap for fairness. If more messages
+ # arrived than the model's batch budget, NAK the excess so
+ # they are redelivered (possibly to another worker).
+ budget = self._get_batch_budget(model_id)
+ dispatch_msgs = model_msgs[:budget]
+ overflow = model_msgs[budget:]
+ for m in overflow:
+ try:
+ await m.nak(delay=0.1) # fast redeliver
+ except Exception: # noqa: BLE001, S110
+ pass
+
+ if _HAS_METRICS:
+ PULL_ITEMS_FETCHED.labels(model=model_id).observe(len(dispatch_msgs))
+
+ # Limit concurrent batch processing
+ await self._batch_sem.acquire()
+
+ async def _guarded_process(msgs: list[Any], mdl: str) -> None:
+ try:
+ await self._process_messages(mdl, msgs)
+ finally:
+ self._batch_sem.release()
+
+ task = asyncio.create_task(_guarded_process(dispatch_msgs, model_id))
+ self._in_flight_tasks.add(task)
+ task.add_done_callback(self._in_flight_tasks.discard)
+
+ def _reap_load_tasks(self) -> None:
+ """Check completed background load tasks and clean up state."""
+ for model_id in list(self._load_tasks):
+ task = self._load_tasks[model_id]
+ if not task.done():
+ continue
+
+ self._loading_models.discard(model_id)
+ del self._load_tasks[model_id]
+
+ try:
+ exc = task.exception()
+ except asyncio.CancelledError:
+ logger.debug("Background model load cancelled for %s", model_id)
+ continue
+ if exc is not None:
+ logger.warning("Background model load failed for %s: %s", model_id, exc)
+ else:
+ logger.info("Model %s loaded via background demand, now pulling", model_id)
+
+ async def _handle_unloaded_model(self, model_id: str, messages: list[Any]) -> None:
+ """Handle items pulled for a model that isn't loaded yet.
+
+ NAKs all items with a delay so JetStream redelivers them after
+ the model has had time to load. Triggers a background load if
+ one isn't already in progress.
+
+ Uses a longer NAK delay when a load is already in progress to
+ conserve the delivery budget (max_deliver) for slow model loads.
+ """
+ already_loading = model_id in self._loading_models
+ nak_delay = _NAK_DELAY_S * 2 if already_loading else _NAK_DELAY_S
+
+ for msg in messages:
+ try:
+ await msg.nak(delay=nak_delay)
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to NAK message for unloaded model %s", model_id)
+
+ if _HAS_METRICS:
+ PULL_NAK_UNLOADED.labels(model=model_id).inc(len(messages))
+
+ logger.info(
+ "NAKed %d items for unloaded model %s (redeliver in %.0fs, loading=%s)",
+ len(messages),
+ model_id,
+ nak_delay,
+ already_loading,
+ )
+
+ # Trigger background load if not already in progress
+ if model_id not in self._loading_models:
+ self._check_thrashing(model_id)
+ self._loading_models.add(model_id)
+ load_task = asyncio.create_task(self._background_load_model(model_id))
+ self._load_tasks[model_id] = load_task
+
+ if _HAS_METRICS:
+ PULL_MODEL_LOADS.labels(model=model_id).inc()
+
+ logger.info("Triggered background load for model %s", model_id)
+
+ async def _background_load_model(self, model_id: str) -> None:
+ """Load a model in the background without blocking the pull loop.
+
+ ``registry.load_async()`` serializes loads via an internal lock,
+ runs the actual GPU loading in a thread pool, and may evict LRU
+ models to free memory. If the evicted model was being served,
+ the pull loop will discover ``is_loaded() == False`` on the next
+ iteration and NAK its items — no race condition.
+ """
+ try:
+ device = self._registry.device
+ await self._registry.load_async(model_id, device)
+ self._load_history.append((model_id, time.monotonic()))
+ except Exception:
+ logger.warning("Background load failed for model %s", model_id, exc_info=True)
+ self._loading_models.discard(model_id)
+ raise
+
+ def _check_thrashing(self, model_id: str) -> None:
+ """Detect and warn about model load/evict thrashing.
+
+ If any model has been background-loaded ``_THRASH_THRESHOLD`` or
+ more times within ``_THRASH_WINDOW_S``, log a warning. This
+ indicates the GPU cannot hold all in-demand models simultaneously
+ and the operator should use separate bundles or add GPU capacity.
+ """
+ now = time.monotonic()
+ cutoff = now - _THRASH_WINDOW_S
+
+ # Prune old entries
+ self._load_history = [(m, t) for m, t in self._load_history if t > cutoff]
+
+ # Count recent loads for this model
+ recent = sum(1 for m, _ in self._load_history if m == model_id)
+ if recent >= _THRASH_THRESHOLD:
+ logger.warning(
+ "Model thrashing detected: %s loaded %d times in the last %.0fs. "
+ "GPU memory cannot hold all in-demand models simultaneously. "
+ "Consider using separate bundles per model or adding GPU capacity.",
+ model_id,
+ recent,
+ _THRASH_WINDOW_S,
+ )
+
+ async def _process_messages(self, model_id: str, messages: list[Any]) -> None:
+ """Process a batch of pulled NATS messages for a model.
+
+ Groups encode/extract items into batches for optimal GPU utilization.
+ Score items are submitted concurrently for cross-request batching.
+ """
+ work_items: list[tuple[WorkItem, Any]] = [] # (work_item, nats_msg)
+
+ for msg in messages:
+ try:
+ wi: WorkItem = msgpack.unpackb(msg.data, raw=False)
+ # Validate reply_subject to prevent injection attacks.
+ # Only accept subjects under the _INBOX prefix.
+ reply_subj = wi.get("reply_subject", "")
+ if reply_subj and not reply_subj.startswith("_INBOX."):
+ logger.warning(
+ "Rejecting work item with suspicious reply_subject: %s",
+ reply_subj[:60],
+ )
+ await msg.ack() # Consume to prevent redelivery
+ continue
+ work_items.append((wi, msg))
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to deserialize work item", exc_info=True)
+ await msg.nak()
+
+ if not work_items:
+ return
+
+ # Record queue wait times
+ if _HAS_METRICS:
+ for wi, _ in work_items:
+ queue_wait_s = time.time() - wi.get("timestamp", time.time())
+ if queue_wait_s > 0:
+ PULL_QUEUE_WAIT_SECONDS.labels(model=model_id).observe(queue_wait_s)
+
+ # Validate bundle_config_hash — log-only soft check (never NAKs)
+ for wi, _ in work_items:
+ self._check_config_hash(model_id, wi)
+ valid_items = work_items
+
+ if not valid_items:
+ return
+
+ # Group by operation for batch processing
+ encode_items: list[tuple[WorkItem, Any]] = []
+ score_items: list[tuple[WorkItem, Any]] = []
+ extract_items: list[tuple[WorkItem, Any]] = []
+
+ for wi, msg in valid_items:
+ op = wi.get("operation", "encode")
+ if op == "encode":
+ encode_items.append((wi, msg))
+ elif op == "score":
+ score_items.append((wi, msg))
+ elif op == "extract":
+ extract_items.append((wi, msg))
+ else:
+ logger.warning("Unknown operation %s for %s", op, wi.get("work_item_id"))
+ await self._publish_error(wi, "unknown_operation", f"Unknown operation: {op}")
+ await msg.ack()
+
+ # Process batches concurrently
+ tasks: list[Any] = []
+ if encode_items:
+ tasks.append(self._process_encode_batch(model_id, encode_items))
+ if score_items:
+ # Score items submitted concurrently for BatchFormer cross-request batching
+ tasks.append(self._process_score_batch(model_id, score_items))
+ if extract_items:
+ tasks.append(self._process_extract_batch(model_id, extract_items))
+
+ await asyncio.gather(*tasks)
+
+ async def _process_encode_batch(self, model_id: str, items_msgs: list[tuple[WorkItem, Any]]) -> None:
+ """Process a batch of encode work items through EncodePipeline."""
+ from sie_server.core.encode_pipeline import EncodePipeline # noqa: PLC0415
+
+ batch_start = time.monotonic()
+
+ # Resolve all item payloads (with fetch timing)
+ resolved: list[tuple[WorkItem, Any, Item, float]] = [] # (..., payload_fetch_ms)
+ for wi, msg in items_msgs:
+ fetch_start = time.monotonic()
+ item = await self._resolve_item(wi)
+ fetch_ms = (time.monotonic() - fetch_start) * 1000 if wi.get("payload_ref") else 0.0
+ if item is None:
+ await self._publish_error(wi, "payload_error", "Failed to resolve item payload")
+ await msg.ack()
+ continue
+ resolved.append((wi, msg, item, fetch_ms))
+
+ if not resolved:
+ return
+
+ try:
+ config = self._registry.get_config(model_id)
+ except KeyError:
+ # Model config not found or model evicted mid-batch — NAK for redelivery.
+ # Another worker (or this one after re-loading) will process them.
+ for wi, msg, _, _fm in resolved:
+ try:
+ await msg.nak(delay=_NAK_DELAY_S)
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to NAK message for evicted model %s", model_id)
+ return
+
+ # Group items by encode params to handle heterogeneous batches.
+ # Items from different API requests may have different output_types,
+ # instruction, is_query, or options — these cannot be mixed in a
+ # single EncodePipeline.run_encode() call.
+ groups: dict[tuple, list[tuple[WorkItem, Any, Item, float]]] = {}
+ for wi, msg, item, fetch_ms in resolved:
+ output_types = tuple(wi.get("output_types") or ["dense"])
+ instruction = wi.get("instruction")
+ is_query = wi.get("is_query", False)
+ # options dict is not hashable — use sorted tuple of items
+ options = wi.get("options") or {}
+ options_key = msgpack.packb(options, use_bin_type=True) if options else b""
+ key = (output_types, instruction, is_query, options_key)
+ groups.setdefault(key, []).append((wi, msg, item, fetch_ms))
+
+ # Process each sub-batch
+ for (output_types_t, instruction, is_query, options_key), group in groups.items():
+ output_types = list(output_types_t)
+ options = msgpack.unpackb(options_key, raw=False) if options_key else {}
+ all_items = [item for _, _, item, _ in group]
+ queue_times = [(time.time() - wi.get("timestamp", time.time())) * 1000 for wi, _, _, _ in group]
+ fetch_times = [fm for _, _, _, fm in group]
+
+ try:
+ formatted_outputs, timing = await EncodePipeline.run_encode(
+ registry=self._registry,
+ model=model_id,
+ items=all_items,
+ output_types=output_types,
+ instruction=instruction,
+ config=config,
+ is_query=is_query,
+ options=options,
+ )
+
+ for idx, (wi, msg, _, _fm) in enumerate(group):
+ output = formatted_outputs[idx] if idx < len(formatted_outputs) else {}
+ # Wrap raw numpy arrays in the DenseVector/SparseVector wire
+ # format that the SDK client expects:
+ # dense → {"dims": N, "dtype": str, "values": ndarray}
+ # sparse → {"indices": ndarray, "values": ndarray}
+ # This matches ``encode.py:_build_response_items`` on the HTTP path.
+ output = _wrap_encode_output(output, config)
+ result_data = msgpack.packb(output, use_bin_type=True)
+ reply_subject = wi.get("reply_subject", "")
+ if reply_subject:
+ result: WorkResult = {
+ "work_item_id": wi.get("work_item_id", ""),
+ "request_id": wi.get("request_id", ""),
+ "item_index": wi.get("item_index", 0),
+ "success": True,
+ "result_msgpack": result_data,
+ "queue_ms": queue_times[idx],
+ "processing_ms": 0.0,
+ "worker_id": self._worker_id,
+ }
+ if timing.inference_ms is not None:
+ result["inference_ms"] = timing.inference_ms
+ if timing.tokenization_ms > 0:
+ result["tokenization_ms"] = timing.tokenization_ms
+ if timing.postprocessing_ms > 0:
+ result["postprocessing_ms"] = timing.postprocessing_ms
+ result["payload_fetch_ms"] = fetch_times[idx]
+ result_bytes = msgpack.packb(result, use_bin_type=True)
+ try:
+ await self._nc.publish(reply_subject, result_bytes)
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to publish result for %s", wi.get("work_item_id"), exc_info=True)
+ continue # Don't ACK — let JetStream redeliver
+
+ # Feed adaptive latency tracker: total queue-path
+ # latency = queue wait + inference + postprocessing.
+ total_ms = queue_times[idx] + (timing.inference_ms or 0) + timing.postprocessing_ms
+ self._queue_latency_tracker.record(total_ms)
+
+ await msg.ack()
+
+ except asyncio.CancelledError:
+ # Worker was evicted (model unloaded) mid-batch — NAK for redelivery
+ logger.info("Encode batch cancelled (model %s likely evicted) — NAKing items", model_id)
+ for wi, msg, _, _fm in group:
+ try:
+ await msg.nak(delay=_NAK_DELAY_S)
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to NAK message for evicted model %s", model_id)
+ except Exception as e: # noqa: BLE001
+ logger.warning("Encode sub-batch failed for model %s: %s", model_id, e)
+ for wi, msg, _, _fm in group:
+ await self._publish_error(wi, "inference_error", str(e))
+ await msg.ack()
+
+ if _HAS_METRICS:
+ elapsed = time.monotonic() - batch_start
+ PULL_BATCH_PROCESS_SECONDS.labels(model=model_id, operation="encode").observe(elapsed)
+
+ async def _process_score_batch(self, model_id: str, items_msgs: list[tuple[WorkItem, Any]]) -> None:
+ """Process score items concurrently for BatchFormer cross-request batching."""
+ batch_start = time.monotonic()
+
+ async def _process_one(wi: WorkItem, msg: Any) -> None:
+ try:
+ await self._process_single_score(model_id, wi, msg)
+ except Exception: # noqa: BLE001
+ logger.warning("Score failed for %s", wi.get("work_item_id"), exc_info=True)
+ try:
+ await self._publish_error(wi, "internal_error", "Unexpected processing failure")
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to publish error result for %s", wi.get("work_item_id"))
+ try:
+ await msg.ack()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to ACK message for %s", wi.get("work_item_id"))
+
+ await asyncio.gather(*(_process_one(wi, msg) for wi, msg in items_msgs))
+
+ if _HAS_METRICS:
+ elapsed = time.monotonic() - batch_start
+ PULL_BATCH_PROCESS_SECONDS.labels(model=model_id, operation="score").observe(elapsed)
+
+ async def _process_extract_batch(self, model_id: str, items_msgs: list[tuple[WorkItem, Any]]) -> None:
+ """Process extract items individually but concurrently."""
+ batch_start = time.monotonic()
+
+ # Extract items go through worker.submit_extract individually
+ # but concurrent submission lets BatchFormer batch them
+ async def _process_one(wi: WorkItem, msg: Any) -> None:
+ try:
+ fetch_start = time.monotonic()
+ item = await self._resolve_item(wi)
+ fetch_ms = (time.monotonic() - fetch_start) * 1000 if wi.get("payload_ref") else 0.0
+ if item is None:
+ await self._publish_error(wi, "payload_error", "Failed to resolve item payload")
+ await msg.ack()
+ return
+ await self._process_single_extract(model_id, wi, msg, item, fetch_ms)
+ except Exception: # noqa: BLE001
+ logger.warning("Extract failed for %s", wi.get("work_item_id"), exc_info=True)
+ try:
+ await self._publish_error(wi, "internal_error", "Unexpected processing failure")
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to publish error result for %s", wi.get("work_item_id"))
+ try:
+ await msg.ack()
+ except Exception: # noqa: BLE001
+ logger.debug("Failed to ACK message for %s", wi.get("work_item_id"))
+
+ await asyncio.gather(*(_process_one(wi, msg) for wi, msg in items_msgs))
+
+ if _HAS_METRICS:
+ elapsed = time.monotonic() - batch_start
+ PULL_BATCH_PROCESS_SECONDS.labels(model=model_id, operation="extract").observe(elapsed)
+
+ async def _process_single_score(
+ self,
+ model_id: str,
+ wi: WorkItem,
+ msg: Any,
+ ) -> None:
+ """Run the score pipeline for a single item, ACK, and publish result."""
+ queue_ms = (time.time() - wi.get("timestamp", time.time())) * 1000
+
+ # Start the model worker (lazy loading)
+ try:
+ worker = await self._registry.start_worker(model_id)
+ except (KeyError, RuntimeError) as e:
+ logger.info("Model %s not available for score: %s — NAKing", model_id, e)
+ await msg.nak(delay=_NAK_DELAY_S)
+ return
+
+ query = wi.get("query_item")
+ items = wi.get("score_items")
+
+ # Resolve offloaded score payload
+ payload_fetch_ms = 0.0
+ if query is None and wi.get("query_payload_ref"):
+ ref_key: str = wi["query_payload_ref"] # type: ignore[assignment]
+ fetch_start = time.monotonic()
+ payload_data = await self._fetch_payload(ref_key)
+ payload_fetch_ms = (time.monotonic() - fetch_start) * 1000
+ if payload_data:
+ decoded = msgpack.unpackb(payload_data, raw=False)
+ query = decoded.get("query")
+ items = decoded.get("items")
+
+ if query is None or items is None:
+ await self._publish_error(wi, "payload_error", "Missing query or items for score")
+ await msg.ack()
+ return
+
+ query_item = self._dict_to_item(query) if isinstance(query, dict) else query
+ score_items = [self._dict_to_item(it) if isinstance(it, dict) else it for it in items]
+
+ instruction = wi.get("instruction")
+ options = wi.get("options") or {}
+
+ try:
+ timing = RequestTiming()
+
+ # Build prepared items with cost (query + doc char count)
+ query_text = query_item.text
+ query_len = len(query_text) if query_text else 0
+ timing.start_tokenization()
+ prepared_items = []
+ for i, it in enumerate(score_items):
+ item_text = it.text
+ doc_len = len(item_text) if item_text else 0
+ prepared_items.append(ScorePreparedItem(cost=query_len + doc_len, original_index=i))
+ timing.end_tokenization()
+
+ # Submit to worker and await result
+ future = await worker.submit_score(
+ prepared_items=prepared_items,
+ query=query_item,
+ items=score_items,
+ instruction=instruction,
+ options=options,
+ timing=timing,
+ )
+ worker_result = await future
+
+ # Extract scores and build ranked ScoreEntry list.
+ # The router wraps this in {"model": ..., "items": <blob>}, so
+ # result_data must be the scores list, not a full ScoreResponse.
+ score_output: ScoreOutput = worker_result.output # type: ignore[assignment]
+ raw_scores = [float(score_output.scores[i]) for i in range(score_output.batch_size)]
+
+ scored_items = []
+ for i, sc in enumerate(raw_scores):
+ item_id = score_items[i].id if score_items[i].id is not None else f"item-{i}"
+ scored_items.append((item_id, sc))
+ scored_items.sort(key=lambda x: x[1], reverse=True)
+
+ score_entries = [
+ {"item_id": item_id, "score": sc, "rank": rank} for rank, (item_id, sc) in enumerate(scored_items)
+ ]
+ result_data = msgpack.packb(score_entries, use_bin_type=True)
+ inference_ms = timing.inference_ms
+ except Exception as e: # noqa: BLE001
+ logger.warning("Score failed for %s: %s", wi.get("work_item_id"), e)
+ await self._publish_error(wi, "inference_error", str(e))
+ await msg.ack()
+ return
+
+ # Publish result
+ reply_subject = wi.get("reply_subject", "")
+ if reply_subject and result_data is not None:
+ result: WorkResult = {
+ "work_item_id": wi.get("work_item_id", ""),
+ "request_id": wi.get("request_id", ""),
+ "item_index": wi.get("item_index", 0),
+ "success": True,
+ "result_msgpack": result_data,
+ "queue_ms": queue_ms,
+ "processing_ms": 0.0,
+ "worker_id": self._worker_id,
+ }
+ if inference_ms is not None:
+ result["inference_ms"] = inference_ms
+ if timing.tokenization_ms > 0:
+ result["tokenization_ms"] = timing.tokenization_ms
+ if timing.postprocessing_ms > 0:
+ result["postprocessing_ms"] = timing.postprocessing_ms
+ if payload_fetch_ms > 0:
+ result["payload_fetch_ms"] = payload_fetch_ms
+ result_bytes = msgpack.packb(result, use_bin_type=True)
+ try:
+ await self._nc.publish(reply_subject, result_bytes)
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to publish result for %s", wi.get("work_item_id"), exc_info=True)
+ return # Don't ACK — let JetStream redeliver
+
+ await msg.ack()
+
+ async def _process_single_extract(
+ self,
+ model_id: str,
+ wi: WorkItem,
+ msg: Any,
+ item: Item,
+ payload_fetch_ms: float = 0.0,
+ ) -> None:
+ """Run the extract pipeline for a single item, ACK, and publish result."""
+ queue_ms = (time.time() - wi.get("timestamp", time.time())) * 1000
+
+ # Start the model worker (lazy loading)
+ try:
+ worker = await self._registry.start_worker(model_id)
+ except (KeyError, RuntimeError) as e:
+ logger.info("Model %s not available for extract: %s — NAKing", model_id, e)
+ await msg.nak(delay=_NAK_DELAY_S)
+ return
+
+ labels = wi.get("labels")
+ output_schema = wi.get("output_schema")
+ instruction = wi.get("instruction")
+ options = wi.get("options") or {}
+
+ try:
+ timing = RequestTiming()
+
+ # Build prepared items with cost (character count)
+ timing.start_tokenization()
+ text = item.text
+ char_count = len(text) if text else 0
+ prepared_items = [ExtractPreparedItem(cost=char_count, original_index=0)]
+ timing.end_tokenization()
+
+ # Submit to worker and await result
+ future = await worker.submit_extract(
+ prepared_items=prepared_items,
+ items=[item],
+ labels=labels,
+ output_schema=output_schema,
+ instruction=instruction,
+ options=options,
+ timing=timing,
+ )
+ worker_result = await future
+
+ # Format output using ExtractHandler (matches api/extract.py)
+ extraction_results = ExtractHandler.format_output(worker_result.output) # type: ignore[arg-type]
+ result_data = msgpack.packb(extraction_results[0] if extraction_results else {}, use_bin_type=True)
+ inference_ms = timing.inference_ms
+ except Exception as e: # noqa: BLE001
+ logger.warning("Extract failed for %s: %s", wi.get("work_item_id"), e)
+ await self._publish_error(wi, "inference_error", str(e))
+ await msg.ack()
+ return
+
+ # Publish result
+ reply_subject = wi.get("reply_subject", "")
+ if reply_subject and result_data is not None:
+ result: WorkResult = {
+ "work_item_id": wi.get("work_item_id", ""),
+ "request_id": wi.get("request_id", ""),
+ "item_index": wi.get("item_index", 0),
+ "success": True,
+ "result_msgpack": result_data,
+ "queue_ms": queue_ms,
+ "processing_ms": 0.0,
+ "worker_id": self._worker_id,
+ }
+ if inference_ms is not None:
+ result["inference_ms"] = inference_ms
+ if timing.tokenization_ms > 0:
+ result["tokenization_ms"] = timing.tokenization_ms
+ if timing.postprocessing_ms > 0:
+ result["postprocessing_ms"] = timing.postprocessing_ms
+ if payload_fetch_ms > 0:
+ result["payload_fetch_ms"] = payload_fetch_ms
+ result_bytes = msgpack.packb(result, use_bin_type=True)
+ try:
+ await self._nc.publish(reply_subject, result_bytes)
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to publish result for %s", wi.get("work_item_id"), exc_info=True)
+ return # Don't ACK — let JetStream redeliver
+
+ await msg.ack()
+
+ async def _resolve_item(self, wi: WorkItem) -> Item | None:
+ """Resolve a work item's payload (inline or from payload store)."""
+ item_data = wi.get("item")
+ if item_data is not None:
+ if isinstance(item_data, dict):
+ return self._dict_to_item(item_data)
+ return item_data
+
+ # Fetch from payload store
+ payload_ref = wi.get("payload_ref")
+ if payload_ref:
+ payload_bytes = await self._fetch_payload(payload_ref)
+ if payload_bytes:
+ item_dict = msgpack.unpackb(payload_bytes, raw=False)
+ return self._dict_to_item(item_dict)
+
+ return None
+
+ @staticmethod
+ def _dict_to_item(d: dict) -> Item:
+ """Convert a dict (from SDK wire format) to an Item.
+
+ The SDK sends ``content`` while the server ``Item`` struct expects
+ ``text``. Map the field and drop any other unknown keys so that the
+ ``Item`` constructor doesn't raise.
+ """
+ if "content" in d and "text" not in d:
+ d = {**d, "text": d.pop("content")}
+ known = set(Item.__struct_fields__)
+ return Item(**{k: v for k, v in d.items() if k in known})
+
+ async def _fetch_payload(self, ref_key: str) -> bytes | None:
+ """Fetch payload from the cached payload store."""
+ if self._payload_store is None:
+ logger.warning("Payload ref %s but no payload store configured", ref_key)
+ return None
+
+ try:
+ return await self._payload_store.get(ref_key)
+ except KeyError:
+ logger.warning("Payload not found: %s", ref_key)
+ return None
+
+ async def _publish_error(self, wi: WorkItem, error_code: str, error_msg: str) -> None:
+ """Publish an error result to the reply subject."""
+ reply_subject = wi.get("reply_subject", "")
+ if not reply_subject:
+ return
+
+ result: WorkResult = {
+ "work_item_id": wi.get("work_item_id", ""),
+ "request_id": wi.get("request_id", ""),
+ "item_index": wi.get("item_index", 0),
+ "success": False,
+ "error": error_msg,
+ "error_code": error_code,
+ "worker_id": self._worker_id,
+ }
+ result_bytes = msgpack.packb(result, use_bin_type=True)
+ try:
+ await self._nc.publish(reply_subject, result_bytes)
+ except Exception: # noqa: BLE001
+ logger.warning("Failed to publish error result for %s", wi.get("work_item_id"))
diff --git a/packages/sie_server/src/sie_server/nats_subscriber.py b/packages/sie_server/src/sie_server/nats_subscriber.py
new file mode 100644
index 000000000..9079f94e3
--- /dev/null
+++ b/packages/sie_server/src/sie_server/nats_subscriber.py
@@ -0,0 +1,231 @@
+from __future__ import annotations
+
+import json
+import logging
+import os
+from collections.abc import Awaitable, Callable
+from typing import Any
+
+import nats
+
+logger = logging.getLogger(__name__)
+
+_BUNDLE_SUBJECT = "sie.config.models.{bundle_id}"
+
+# Characters that are invalid in NATS subject tokens
+_NATS_WILDCARD_CHARS = frozenset({"*", ">", " "})
+
+
+def _validate_bundle_id(bundle_id: str) -> str:
+ """Validate bundle_id does not contain NATS wildcard characters.
+
+ NATS subjects use '*' and '>' as wildcards, and '.' as a token
+ separator. If bundle_id contains these, subscriptions would match
+ unintended subjects.
+
+ Args:
+ bundle_id: The bundle identifier to validate.
+
+ Returns:
+ The validated bundle_id.
+
+ Raises:
+ ValueError: If bundle_id contains wildcard characters.
+ """
+ invalid = _NATS_WILDCARD_CHARS & set(bundle_id)
+ if invalid:
+ msg = f"bundle_id contains invalid NATS characters: {invalid!r}"
+ raise ValueError(msg)
+ if "." in bundle_id:
+ msg = "bundle_id contains '.' which is a NATS subject token separator"
+ raise ValueError(msg)
+ return bundle_id
+
+
+class NatsSubscriber:
+ """Worker-side NATS subscriber for config notifications.
+
+ Subscribes to the bundle-scoped subject and applies config changes
+ to the worker's model registry.
+
+ Args:
+ bundle_id: This worker's bundle identifier.
+ nats_url: NATS connection URL.
+ on_model_config: Async callback when a new model config is received.
+ Signature: async def callback(model_id: str, config_yaml: str) -> None
+ The callback should parse the YAML and add the config to the
+ worker's model registry.
+ """
+
+ def __repr__(self) -> str:
+ return (
+ f"NatsSubscriber(bundle_id={self._bundle_id!r}, nats_url={self._nats_url!r}, connected={self._connected})"
+ )
+
+ def __init__(
+ self,
+ bundle_id: str | None = None,
+ nats_url: str | None = None,
+ on_model_config: Callable[[str, str], Awaitable[None]] | None = None,
+ ) -> None:
+ self._bundle_id = _validate_bundle_id(bundle_id or os.environ.get("SIE_BUNDLE", "default"))
+ self._nats_url = nats_url or os.environ.get("SIE_NATS_URL", "nats://localhost:4222")
+ self._on_model_config: Callable[[str, str], Awaitable[None]] | None = on_model_config
+ self._model_epochs: dict[str, int] = {}
+ self._nc: Any = None
+ self._sub: Any = None
+ self._connected = False
+ self._extra_reconnect_handlers: list[Callable[[], Awaitable[None]]] = []
+
+ @property
+ def connected(self) -> bool:
+ """Whether NATS connection is active."""
+ return self._connected and self._nc is not None and self._nc.is_connected
+
+ @property
+ def nc(self) -> Any:
+ """The underlying NATS connection, or None if not connected."""
+ return self._nc
+
+ def add_reconnect_handler(self, handler: Callable[[], Awaitable[None]]) -> None:
+ """Register an additional handler to run after NATS reconnect.
+
+ Handlers are invoked in registration order after the subscriber's
+ own reconnect logic (clearing epoch watermarks).
+ """
+ self._extra_reconnect_handlers.append(handler)
+
+ async def start(self) -> None:
+ """Connect to NATS and subscribe to bundle subject.
+
+ Does not raise on failure — worker operates without NATS
+ (config changes from API won't be received until reconnect).
+ """
+ try:
+ self._nc = await nats.connect(
+ self._nats_url,
+ reconnected_cb=self._handle_reconnect,
+ disconnected_cb=self._handle_disconnect,
+ error_cb=self._handle_error,
+ max_reconnect_attempts=-1,
+ reconnect_time_wait=2,
+ )
+ self._connected = True
+
+ subject = _BUNDLE_SUBJECT.format(bundle_id=self._bundle_id)
+ self._sub = await self._nc.subscribe(subject, cb=self._handle_notification)
+
+ logger.info(
+ "NATS subscriber started: bundle=%s, subject=%s, url=%s",
+ self._bundle_id,
+ subject,
+ self._nats_url,
+ )
+
+ except Exception: # noqa: BLE001 — graceful degradation when NATS unavailable
+ self._connected = False
+ logger.warning(
+ "Failed to connect to NATS at %s — worker will not receive config notifications",
+ self._nats_url,
+ exc_info=True,
+ )
+
+ async def stop(self) -> None:
+ """Disconnect from NATS."""
+ if self._nc:
+ try:
+ await self._nc.drain()
+ except Exception: # noqa: BLE001 — best-effort cleanup
+ logger.debug("Failed to drain NATS connection", exc_info=True)
+ self._nc = None
+ self._sub = None
+ self._connected = False
+ logger.info("NATS subscriber stopped")
+
+ async def _handle_notification(self, msg: Any) -> None:
+ """Handle incoming config notification on bundle subject."""
+ try:
+ data = json.loads(msg.data.decode())
+
+ if not isinstance(data, dict):
+ logger.warning("Dropping non-dict NATS notification: %s", type(data).__name__)
+ return
+
+ model_id = data.get("model_id", "")
+ profiles_added = data.get("profiles_added", [])
+ model_config_yaml = data.get("model_config", "")
+ epoch = data.get("epoch", 0)
+ router_id = data.get("router_id", "unknown")
+
+ logger.info(
+ "Received config notification: model=%s, profiles=%s, epoch=%d, from=%s",
+ model_id,
+ profiles_added,
+ epoch,
+ router_id,
+ )
+
+ # Epoch high-water-mark: reject stale notifications that arrive
+ # out of order. Since add_model_config is append-only (profiles
+ # cannot be removed), this only prevents redundant re-application.
+ if self._on_model_config and model_config_yaml:
+ last_epoch = self._model_epochs.get(model_id, -1)
+ if epoch <= last_epoch:
+ logger.debug(
+ "Dropping stale notification for %s: epoch %d <= %d",
+ model_id,
+ epoch,
+ last_epoch,
+ )
+ return
+ try:
+ await self._on_model_config(model_id, model_config_yaml)
+ except Exception:
+ logger.exception(
+ "Failed to apply config for model %s (epoch %d) — will retry on next notification",
+ model_id,
+ epoch,
+ )
+ return
+ self._model_epochs[model_id] = epoch
+
+ except json.JSONDecodeError:
+ logger.warning("Dropping malformed NATS notification (invalid JSON)")
+ except Exception:
+ logger.exception("Failed to handle config notification")
+
+ async def _handle_reconnect(self) -> None:
+ """Handle NATS reconnection.
+
+ Clears per-model epoch watermarks so notifications received after
+ reconnect are not rejected as stale. Workers do not pull config
+ from the object store (design non-goal), so any notifications
+ missed during the disconnect are lost until the next config
+ mutation or a manual resync.
+
+ Also invokes any registered extra reconnect handlers (e.g.,
+ NatsPullLoop.handle_reconnect).
+ """
+ stale_count = len(self._model_epochs)
+ self._model_epochs.clear()
+ logger.info(
+ "NATS subscriber reconnected — cleared %d model epoch watermarks; "
+ "notifications missed during disconnect will not be recovered automatically",
+ stale_count,
+ )
+ self._connected = True
+ for handler in self._extra_reconnect_handlers:
+ try:
+ await handler()
+ except Exception:
+ logger.exception("Extra reconnect handler failed")
+ raise
+
+ async def _handle_disconnect(self) -> None:
+ """Handle NATS disconnection."""
+ self._connected = False
+ logger.warning("NATS subscriber disconnected — config notifications paused")
+
+ async def _handle_error(self, e: Exception) -> None:
+ """Handle NATS errors."""
+ logger.error("NATS subscriber error: %s", e)
diff --git a/packages/sie_server/tests/adapters/test_florence2.py b/packages/sie_server/tests/adapters/test_florence2.py
index 98c5c590e..0a5ca30bd 100644
--- a/packages/sie_server/tests/adapters/test_florence2.py
+++ b/packages/sie_server/tests/adapters/test_florence2.py
@@ -133,16 +133,17 @@ class TestFlorence2Adapter:
}
image_size = (100, 100)
- entities = adapter._convert_output(parsed, "<OCR_WITH_REGION>", image_size)
+ entities, objects = adapter._convert_output(parsed, "<OCR_WITH_REGION>", image_size)
assert len(entities) == 1
assert entities[0]["text"] == "Hello"
assert entities[0]["label"] == "text"
assert entities[0]["score"] == 1.0
assert entities[0]["bbox"] is not None
+ assert len(objects) == 0
def test_convert_output_object_detection(self, adapter: Florence2Adapter) -> None:
- """Convert output handles OD format."""
+ """Convert output handles OD format as DetectedObject."""
parsed = {
"<OD>": {
"bboxes": [[10.0, 20.0, 80.0, 90.0]],
@@ -151,10 +152,10 @@ class TestFlorence2Adapter:
}
image_size = (100, 100)
- entities = adapter._convert_output(parsed, "<OD>", image_size)
+ entities, objects = adapter._convert_output(parsed, "<OD>", image_size)
- assert len(entities) == 1
- assert entities[0]["text"] == "car" # Detected class is in text field
- assert entities[0]["label"] == "object" # Entity type is "object"
- assert entities[0]["score"] == 1.0
- assert entities[0]["bbox"] is not None
+ assert len(entities) == 0
+ assert len(objects) == 1
+ assert objects[0]["label"] == "car"
+ assert objects[0]["score"] == 1.0
+ assert objects[0]["bbox"] is not None
diff --git a/packages/sie_server/tests/adapters/test_grounding_dino.py b/packages/sie_server/tests/adapters/test_grounding_dino.py
index b248429d9..e6584d9f5 100644
--- a/packages/sie_server/tests/adapters/test_grounding_dino.py
+++ b/packages/sie_server/tests/adapters/test_grounding_dino.py
@@ -150,14 +150,16 @@ class TestGroundingDINOAdapter:
# Verify result structure
assert isinstance(result, ExtractOutput)
assert len(result.entities) == 1
- assert len(result.entities[0]) == 1
+ assert len(result.entities[0]) == 0 # Entities empty for detection adapters
+ assert result.objects is not None
+ assert len(result.objects) == 1
+ assert len(result.objects[0]) == 1
- entity = result.entities[0][0]
- assert isinstance(entity, dict) # Entity is a TypedDict
- assert entity["text"] == "cat" # text contains the class name
- assert entity["label"] == "object" # label is the category type
- assert entity["score"] == pytest.approx(0.85, rel=1e-5)
- assert entity["bbox"] == [10, 20, 100, 200] # x, y, width, height
+ obj = result.objects[0][0]
+ assert isinstance(obj, dict) # DetectedObject is a TypedDict
+ assert obj["label"] == "cat"
+ assert obj["score"] == pytest.approx(0.85, rel=1e-5)
+ assert obj["bbox"] == [10, 20, 100, 200] # x, y, width, height
@pytest.mark.integration
@@ -188,12 +190,14 @@ class TestGroundingDINOIntegration:
assert isinstance(result, ExtractOutput)
assert len(result.entities) == 1
+ assert len(result.entities[0]) == 0 # Detection adapters produce objects, not entities
+ assert result.objects is not None
+ assert len(result.objects) == 1
# May or may not detect anything in a solid color image
# Just verify structure is correct
- for entity in result.entities[0]:
- # Entities may be dicts or TypedDicts
- assert "label" in entity
- assert "score" in entity
- assert "bbox" in entity
- if entity["bbox"]:
- assert len(entity["bbox"]) == 4
+ for obj in result.objects[0]:
+ assert "label" in obj
+ assert "score" in obj
+ assert "bbox" in obj
+ if obj["bbox"]:
+ assert len(obj["bbox"]) == 4
diff --git a/packages/sie_server/tests/adapters/test_runtime_options.py b/packages/sie_server/tests/adapters/test_runtime_options.py
index 59d9fd53b..6bc859eab 100644
--- a/packages/sie_server/tests/adapters/test_runtime_options.py
+++ b/packages/sie_server/tests/adapters/test_runtime_options.py
@@ -503,7 +503,7 @@ class TestScoreRuntimeOptions:
"""Tests for score runtime options wiring.
Verifies that all cross-encoder adapters accept options in score_pairs(),
- and that flash CE adapters consume max_length from options.
+ and that flash CE adapters consume max_seq_length from options.
"""
# ---- Helper ----
@@ -549,7 +549,7 @@ class TestScoreRuntimeOptions:
params = self._get_param_names(cls, "score_pairs")
assert "options" in params, f"{class_name}.score_pairs() missing 'options' parameter"
- # ---- Flash CE adapters resolve options and consume max_length ----
+ # ---- Flash CE adapters resolve options and consume max_seq_length ----
_FLASH_CE_ADAPTERS: ClassVar[list[tuple[str, str]]] = [
("bert_flash_cross_encoder", "BertFlashCrossEncoderAdapter"),
@@ -582,19 +582,19 @@ class TestScoreRuntimeOptions:
_FLASH_CE_ADAPTERS,
ids=[m for m, _ in _FLASH_CE_ADAPTERS],
)
- def test_flash_ce_consumes_max_length_from_options(
+ def test_flash_ce_consumes_max_seq_length_from_options(
self,
module_name: str,
class_name: str,
) -> None:
- """Flash CE adapters' score_pairs() must read max_length from options."""
+ """Flash CE adapters' score_pairs() must read max_seq_length from options."""
import inspect
cls = self._get_adapter_class(module_name, class_name)
source = inspect.getsource(cls.score_pairs)
- assert 'opts.get("max_length"' in source or "opts.get('max_length'" in source, (
- f"{class_name}.score_pairs() does not read max_length from options — "
- "per-request max_length override will not work."
+ assert 'opts.get("max_seq_length"' in source or "opts.get('max_seq_length'" in source, (
+ f"{class_name}.score_pairs() does not read max_seq_length from options — "
+ "per-request max_seq_length override will not work."
)
# ---- Base class score()/score_pairs() accept options ----
diff --git a/packages/sie_server/tests/app/test_app_factory.py b/packages/sie_server/tests/app/test_app_factory.py
index 3bea57e15..1f2059c72 100644
--- a/packages/sie_server/tests/app/test_app_factory.py
+++ b/packages/sie_server/tests/app/test_app_factory.py
@@ -1,5 +1,7 @@
"""Tests for the FastAPI app factory."""
+from unittest.mock import MagicMock
+
import pytest
from fastapi import FastAPI
from fastapi.testclient import TestClient
@@ -39,3 +41,28 @@ class TestAppFactory:
assert "/healthz" in paths
assert "/readyz" in paths
+
+
+class TestNatsPullLoopGuard:
+ """Tests for _nats_pull_loop RuntimeError when NATS is None."""
+
+ @pytest.mark.asyncio
+ async def test_nats_pull_loop_raises_when_nats_is_none(self, monkeypatch) -> None:
+ """SIE_CLUSTER_ROUTING=queue with no NATS subscriber raises RuntimeError."""
+ monkeypatch.setenv("SIE_CLUSTER_ROUTING", "queue")
+
+ registry = MagicMock()
+
+ with pytest.raises(RuntimeError, match="no NATS subscriber available"):
+ async with AppFactory._nats_pull_loop(registry, None):
+ pass # pragma: no cover
+
+ @pytest.mark.asyncio
+ async def test_nats_pull_loop_yields_none_when_not_queue(self, monkeypatch) -> None:
+ """When SIE_CLUSTER_ROUTING != queue, _nats_pull_loop yields None."""
+ monkeypatch.delenv("SIE_CLUSTER_ROUTING", raising=False)
+
+ registry = MagicMock()
+
+ async with AppFactory._nats_pull_loop(registry, None) as pull_loop:
+ assert pull_loop is None
diff --git a/packages/sie_server/tests/core/test_adaptive_batching.py b/packages/sie_server/tests/core/test_adaptive_batching.py
new file mode 100644
index 000000000..5cb145b15
--- /dev/null
+++ b/packages/sie_server/tests/core/test_adaptive_batching.py
@@ -0,0 +1,893 @@
+"""Tests for adaptive batching: LatencyTracker, BatchEfficiencyTracker, AdaptiveBatchController."""
+
+import asyncio
+import time
+from unittest.mock import MagicMock
+
+import numpy as np
+import pytest
+from sie_server.core.adaptive_batching import (
+ AdaptiveBatchController,
+ BatchEfficiencyTracker,
+ LatencyTracker,
+)
+from sie_server.core.inference_output import EncodeOutput
+from sie_server.core.prepared import make_text_item
+from sie_server.core.worker import ModelWorker, WorkerConfig
+from sie_server.core.worker.types import AdaptiveBatchingParams
+from sie_server.types.inputs import Item
+
+
+class TestLatencyTracker:
+ """Tests for LatencyTracker rolling percentile calculator."""
+
+ def test_empty_returns_none(self) -> None:
+ tracker = LatencyTracker()
+ assert tracker.p50() is None
+ assert tracker.p90() is None
+ assert tracker.p99() is None
+
+ def test_below_min_samples_returns_none(self) -> None:
+ tracker = LatencyTracker(min_samples=10)
+ for i in range(9):
+ tracker.record(float(i))
+ assert tracker.p50() is None
+
+ def test_at_min_samples_returns_value(self) -> None:
+ tracker = LatencyTracker(min_samples=10)
+ for i in range(10):
+ tracker.record(float(i))
+ assert tracker.p50() is not None
+
+ def test_p50_simple(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in [10.0, 20.0, 30.0, 40.0, 50.0]:
+ tracker.record(v)
+ assert tracker.p50() == 30.0
+
+ def test_p50_even_count(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in [10.0, 20.0, 30.0, 40.0]:
+ tracker.record(v)
+ assert tracker.p50() == 20.0
+
+ def test_p90(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in range(1, 101):
+ tracker.record(float(v))
+ assert tracker.p90() == 90.0
+
+ def test_p99(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in range(1, 101):
+ tracker.record(float(v))
+ assert tracker.p99() == 99.0
+
+ def test_rolling_window(self) -> None:
+ tracker = LatencyTracker(window_size=5, min_samples=1)
+ for v in [100.0, 200.0, 300.0, 400.0, 500.0]:
+ tracker.record(v)
+ assert tracker.p50() == 300.0
+ for v in [1.0, 2.0, 3.0, 4.0, 5.0]:
+ tracker.record(v)
+ assert tracker.p50() == 3.0
+
+ def test_window_size_respected(self) -> None:
+ tracker = LatencyTracker(window_size=10, min_samples=1)
+ for i in range(100):
+ tracker.record(float(i))
+ assert tracker.sample_count == 10
+
+ def test_sample_count(self) -> None:
+ tracker = LatencyTracker()
+ assert tracker.sample_count == 0
+ tracker.record(1.0)
+ assert tracker.sample_count == 1
+
+ def test_reset(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in range(20):
+ tracker.record(float(v))
+ tracker.reset()
+ assert tracker.sample_count == 0
+ assert tracker.p50() is None
+
+ def test_single_value(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ tracker.record(42.0)
+ assert tracker.p50() == 42.0
+
+ def test_percentile_zero(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in [10.0, 20.0, 30.0]:
+ tracker.record(v)
+ assert tracker.percentile(0) == 10.0
+
+ def test_percentile_100(self) -> None:
+ tracker = LatencyTracker(min_samples=1)
+ for v in [10.0, 20.0, 30.0]:
+ tracker.record(v)
+ assert tracker.percentile(100) == 30.0
+
+
+class TestBatchEfficiencyTracker:
+ """Tests for BatchEfficiencyTracker."""
+
+ def test_empty(self) -> None:
+ tracker = BatchEfficiencyTracker()
+ assert tracker.mean_fill_ratio() is None
+ assert tracker.sample_count == 0
+
+ def test_full_batch(self) -> None:
+ tracker = BatchEfficiencyTracker()
+ tracker.record(1000, 1000)
+ assert tracker.mean_fill_ratio() == pytest.approx(1.0)
+
+ def test_half_batch(self) -> None:
+ tracker = BatchEfficiencyTracker()
+ tracker.record(500, 1000)
+ assert tracker.mean_fill_ratio() == pytest.approx(0.5)
+
+ def test_mean_of_multiple(self) -> None:
+ tracker = BatchEfficiencyTracker()
+ tracker.record(500, 1000) # 0.5
+ tracker.record(1000, 1000) # 1.0
+ assert tracker.mean_fill_ratio() == pytest.approx(0.75)
+
+ def test_rolling_window(self) -> None:
+ tracker = BatchEfficiencyTracker(window_size=3)
+ tracker.record(100, 1000) # 0.1
+ tracker.record(200, 1000) # 0.2
+ tracker.record(300, 1000) # 0.3
+ assert tracker.mean_fill_ratio() == pytest.approx(0.2)
+ tracker.record(900, 1000) # pushes out 0.1
+ # window: [0.2, 0.3, 0.9]
+ assert tracker.mean_fill_ratio() == pytest.approx((0.2 + 0.3 + 0.9) / 3)
+
+ def test_zero_max_cost(self) -> None:
+ tracker = BatchEfficiencyTracker()
+ tracker.record(100, 0) # should be ignored
+ assert tracker.sample_count == 0
+
+ def test_reset(self) -> None:
+ tracker = BatchEfficiencyTracker()
+ tracker.record(500, 1000)
+ tracker.reset()
+ assert tracker.sample_count == 0
+
+
+class TestAdaptiveBatchController:
+ """Tests for the dual-knob AdaptiveBatchController."""
+
+ def test_no_update_before_interval(self) -> None:
+ ctrl = AdaptiveBatchController(update_interval=10, _current_wait_ms=10.0)
+ for _ in range(9):
+ wait, _cost = ctrl.step(observed_p50_ms=100.0, fill_ratio=0.5)
+ assert wait == 10.0
+
+ def test_updates_at_interval(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ update_interval=5,
+ gain=0.3,
+ _current_wait_ms=10.0,
+ )
+ for _ in range(4):
+ ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ wait, _ = ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ # headroom = 20, adj = 20 * 0.3 = 6.0, new_wait = 16.0
+ assert wait == pytest.approx(16.0)
+
+ def test_increases_wait_when_under_target(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.5,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+ wait, _ = ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ assert wait == pytest.approx(20.0)
+
+ def test_decreases_wait_when_over_target(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.5,
+ update_interval=1,
+ _current_wait_ms=20.0,
+ )
+ wait, _ = ctrl.step(observed_p50_ms=80.0, fill_ratio=0.5)
+ assert wait == pytest.approx(5.0)
+
+ def test_holds_steady_at_target(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.5,
+ update_interval=1,
+ _current_wait_ms=15.0,
+ )
+ wait, _ = ctrl.step(observed_p50_ms=50.0, fill_ratio=0.5)
+ assert wait == pytest.approx(15.0)
+
+ def test_clamps_wait_to_min(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=10.0,
+ min_wait_ms=2.0,
+ gain=1.0,
+ update_interval=1,
+ _current_wait_ms=5.0,
+ )
+ wait, _ = ctrl.step(observed_p50_ms=100.0, fill_ratio=0.5)
+ assert wait == 2.0
+
+ def test_clamps_wait_to_max(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=100.0,
+ max_wait_ms=30.0,
+ gain=1.0,
+ update_interval=1,
+ _current_wait_ms=25.0,
+ )
+ wait, _ = ctrl.step(observed_p50_ms=10.0, fill_ratio=0.5)
+ assert wait == 30.0
+
+ def test_none_observed_holds_steady(self) -> None:
+ ctrl = AdaptiveBatchController(update_interval=1, _current_wait_ms=10.0, _current_batch_cost=8192)
+ wait, cost = ctrl.step(observed_p50_ms=None, fill_ratio=None)
+ assert wait == 10.0
+ assert cost == 8192
+
+ # ── Batch cost knob tests ──
+
+ def test_cost_increases_when_saturated_and_headroom(self) -> None:
+ """When fill_ratio > threshold and under SLO, cost should increase."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=100.0,
+ cost_gain=0.5,
+ fill_ratio_threshold=0.7,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ _current_batch_cost=10000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=50.0, fill_ratio=0.9)
+ # headroom_frac = (100-50)/100 = 0.5
+ # cost_adj = 10000 * 0.5 * 0.5 = 2500
+ # new_cost = 10000 + 2500 = 12500
+ assert cost == 12500
+
+ def test_cost_stable_when_not_saturated(self) -> None:
+ """When fill_ratio < threshold but under SLO, cost should NOT increase."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=100.0,
+ cost_gain=0.5,
+ fill_ratio_threshold=0.7,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ _current_batch_cost=10000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=50.0, fill_ratio=0.3)
+ # Under SLO but not saturated → cost stays same
+ assert cost == 10000
+
+ def test_cost_decreases_when_over_slo_and_saturated(self) -> None:
+ """When over SLO and GPU saturated, cost decreases."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ cost_gain=0.5,
+ fill_ratio_threshold=0.7,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ _current_batch_cost=10000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=100.0, fill_ratio=0.9)
+ # headroom_frac = (50-100)/50 = -1.0
+ # cost_adj = 10000 * -1.0 * 0.5 = -5000
+ # new_cost = 10000 - 5000 = 5000
+ assert cost == 5000
+
+ def test_cost_stable_when_over_slo_but_not_saturated(self) -> None:
+ """When over SLO but batches aren't filling, cost stays — problem is elsewhere."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ cost_gain=0.5,
+ fill_ratio_threshold=0.7,
+ update_interval=1,
+ _current_batch_cost=10000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=100.0, fill_ratio=0.3)
+ assert cost == 10000
+
+ def test_cost_clamps_to_min(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=10.0,
+ min_batch_cost=256,
+ cost_gain=1.0,
+ fill_ratio_threshold=0.7,
+ update_interval=1,
+ _current_batch_cost=1000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=1000.0, fill_ratio=0.9)
+ assert cost == 256
+
+ def test_cost_clamps_to_max(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=1000.0,
+ max_batch_cost=20000,
+ cost_gain=1.0,
+ fill_ratio_threshold=0.5,
+ update_interval=1,
+ _current_batch_cost=15000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=10.0, fill_ratio=0.9)
+ assert cost == 20000
+
+ def test_cost_stable_with_none_fill_ratio(self) -> None:
+ """Cost doesn't grow when fill_ratio is None (even with headroom)."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=100.0,
+ update_interval=1,
+ _current_batch_cost=10000,
+ )
+ _, cost = ctrl.step(observed_p50_ms=50.0, fill_ratio=None)
+ assert cost == 10000
+
+ # ── Combined behavior ──
+
+ def test_convergence_both_knobs(self) -> None:
+ """Under steady load with headroom and saturation, both knobs grow."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=100.0,
+ min_wait_ms=1.0,
+ max_wait_ms=50.0,
+ min_batch_cost=256,
+ max_batch_cost=65536,
+ gain=0.3,
+ cost_gain=0.1,
+ fill_ratio_threshold=0.7,
+ update_interval=1,
+ _current_wait_ms=5.0,
+ _current_batch_cost=4096,
+ )
+ for _ in range(20):
+ wait, cost = ctrl.step(observed_p50_ms=40.0, fill_ratio=0.85)
+ assert wait > 5.0
+ assert cost > 4096
+
+ def test_over_slo_both_knobs_decrease(self) -> None:
+ """When over SLO, both knobs decrease."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.3,
+ cost_gain=0.1,
+ update_interval=1,
+ _current_wait_ms=30.0,
+ _current_batch_cost=16384,
+ )
+ for _ in range(20):
+ wait, cost = ctrl.step(observed_p50_ms=100.0, fill_ratio=0.9)
+ assert wait < 30.0
+ assert cost < 16384
+
+ def test_current_properties(self) -> None:
+ ctrl = AdaptiveBatchController(_current_wait_ms=15.0, _current_batch_cost=8192)
+ assert ctrl.current_wait_ms == 15.0
+ assert ctrl.current_batch_cost == 8192
+
+ def test_reset(self) -> None:
+ ctrl = AdaptiveBatchController(
+ min_wait_ms=2.0,
+ max_wait_ms=40.0,
+ min_batch_cost=512,
+ max_batch_cost=32768,
+ update_interval=1,
+ _current_wait_ms=30.0,
+ _current_batch_cost=20000,
+ )
+ ctrl.step(observed_p50_ms=100.0, fill_ratio=0.5)
+ ctrl.reset()
+ assert ctrl.current_wait_ms == 10.0
+ assert ctrl.current_batch_cost == 16384
+ assert ctrl._steps_since_update == 0
+
+ def test_sequential_adjustments(self) -> None:
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.1,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+ w1, _ = ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ assert w1 == pytest.approx(12.0)
+ w2, _ = ctrl.step(observed_p50_ms=40.0, fill_ratio=0.5)
+ assert w2 == pytest.approx(13.0)
+ w3, _ = ctrl.step(observed_p50_ms=60.0, fill_ratio=0.5)
+ assert w3 == pytest.approx(12.0)
+
+
+class TestAdaptiveBatchingWorkerIntegration:
+ """Integration tests: adaptive controller wired into ModelWorker."""
+
+ @pytest.fixture
+ def slow_adapter(self) -> MagicMock:
+ mock = MagicMock()
+
+ def _slow_encode(items: list, *args: object, **kwargs: object) -> EncodeOutput:
+ time.sleep(0.02)
+ return EncodeOutput(
+ dense=np.array([[0.1, 0.2, 0.3]] * len(items)),
+ batch_size=len(items),
+ )
+
+ mock.encode.side_effect = _slow_encode
+ return mock
+
+ @pytest.fixture
+ def adaptive_config(self) -> WorkerConfig:
+ return WorkerConfig(
+ max_batch_tokens=16384,
+ max_batch_requests=64,
+ max_batch_wait_ms=10,
+ adaptive_batching=AdaptiveBatchingParams(
+ enabled=True,
+ target_p50_ms=100.0,
+ min_wait_ms=1.0,
+ max_wait_ms=40.0,
+ gain=0.5,
+ window_size=20,
+ update_interval=2,
+ ),
+ )
+
+ @pytest.mark.asyncio
+ async def test_controller_created_when_enabled(self, slow_adapter: MagicMock) -> None:
+ config = WorkerConfig(
+ adaptive_batching=AdaptiveBatchingParams(enabled=True, target_p50_ms=50.0),
+ )
+ worker = ModelWorker(slow_adapter, config)
+ assert worker._latency_tracker is not None
+ assert worker._efficiency_tracker is not None
+ assert worker._adaptive_controller is not None
+ assert worker._adaptive_controller.target_p50_ms == 50.0
+
+ @pytest.mark.asyncio
+ async def test_controller_not_created_when_disabled(self, slow_adapter: MagicMock) -> None:
+ worker = ModelWorker(slow_adapter, WorkerConfig())
+ assert worker._latency_tracker is None
+ assert worker._adaptive_controller is None
+
+ @pytest.mark.asyncio
+ async def test_latency_samples_recorded(self, slow_adapter: MagicMock, adaptive_config: WorkerConfig) -> None:
+ worker = ModelWorker(slow_adapter, adaptive_config, model_name="test-model")
+ await worker.start()
+ try:
+ items = [Item(text="hello")]
+ prepared = [make_text_item([1, 2, 3], 0)]
+ futures = []
+ for _ in range(5):
+ f = await worker.submit(prepared, items, ["dense"])
+ futures.append(f)
+ for f in futures:
+ await asyncio.wait_for(f, timeout=5.0)
+ assert worker._latency_tracker is not None
+ assert worker._latency_tracker.sample_count >= 5
+ finally:
+ await worker.stop()
+
+ @pytest.mark.asyncio
+ async def test_batch_params_adjust(self, slow_adapter: MagicMock, adaptive_config: WorkerConfig) -> None:
+ """Both batch wait and batch cost change after controller steps."""
+ worker = ModelWorker(slow_adapter, adaptive_config, model_name="test-model")
+ initial_wait = worker._batch_config.max_batch_wait_ms
+ await worker.start()
+ try:
+ items = [Item(text="hello")]
+ prepared = [make_text_item([1, 2, 3], 0)]
+ futures = []
+ for _ in range(30):
+ f = await worker.submit(prepared, items, ["dense"])
+ futures.append(f)
+ for f in futures:
+ await asyncio.wait_for(f, timeout=5.0)
+ current_wait = worker._batch_config.max_batch_wait_ms
+ assert current_wait != initial_wait or worker._adaptive_controller is not None
+ finally:
+ await worker.stop()
+
+ @pytest.mark.asyncio
+ async def test_default_config_no_adaptive(self, slow_adapter: MagicMock) -> None:
+ worker = ModelWorker(slow_adapter, WorkerConfig())
+ await worker.start()
+ try:
+ items = [Item(text="hello")]
+ prepared = [make_text_item([1, 2, 3], 0)]
+ f = await worker.submit(prepared, items, ["dense"])
+ await asyncio.wait_for(f, timeout=5.0)
+ assert worker._batch_config.max_batch_wait_ms == 10
+ finally:
+ await worker.stop()
+
+ @pytest.mark.asyncio
+ async def test_efficiency_tracker_records(self, slow_adapter: MagicMock, adaptive_config: WorkerConfig) -> None:
+ """Efficiency tracker gets samples after batch processing."""
+ worker = ModelWorker(slow_adapter, adaptive_config, model_name="test-model")
+ await worker.start()
+ try:
+ items = [Item(text="hello")]
+ prepared = [make_text_item([1, 2, 3], 0)]
+ futures = []
+ for _ in range(10):
+ f = await worker.submit(prepared, items, ["dense"])
+ futures.append(f)
+ for f in futures:
+ await asyncio.wait_for(f, timeout=5.0)
+ assert worker._efficiency_tracker is not None
+ assert worker._efficiency_tracker.sample_count > 0
+ finally:
+ await worker.stop()
+
+
+class TestAutoCalibration:
+ """Tests for auto-calibration of target_p50_ms from inference latency."""
+
+ def test_auto_calibrate_fires_on_first_valid_p50(self) -> None:
+ """target_p50_ms=None → auto-calibrate after min_samples inference observations."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ calibration_multiplier=1.5,
+ update_interval=1,
+ )
+ assert not ctrl.calibrated
+ assert ctrl.target_p50_ms is None
+
+ # Feed inference samples
+ for _ in range(10):
+ ctrl.record_inference_sample(20.0) # 20ms inference
+
+ # Step should trigger calibration
+ ctrl.step(observed_p50_ms=25.0, fill_ratio=0.5)
+ assert ctrl.calibrated
+ # target = 20.0 * 1.5 = 30.0
+ assert ctrl.target_p50_ms == pytest.approx(30.0)
+
+ def test_calibration_clamps_target(self) -> None:
+ """Calibrated target is clamped to [min_target, max_target]."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ calibration_multiplier=1.5,
+ min_target_p50_ms=10.0,
+ max_target_p50_ms=100.0,
+ update_interval=1,
+ )
+ # Very fast inference → 2ms * 1.5 = 3ms → clamped to 10ms
+ for _ in range(10):
+ ctrl.record_inference_sample(2.0)
+ ctrl.step(observed_p50_ms=5.0, fill_ratio=0.5)
+ assert ctrl.target_p50_ms == 10.0
+
+ def test_calibration_clamps_target_high(self) -> None:
+ """Calibrated target is clamped at the ceiling."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ calibration_multiplier=2.0,
+ min_target_p50_ms=5.0,
+ max_target_p50_ms=100.0,
+ update_interval=1,
+ )
+ # Slow inference → 200ms * 2.0 = 400ms → clamped to 100ms
+ for _ in range(10):
+ ctrl.record_inference_sample(200.0)
+ ctrl.step(observed_p50_ms=250.0, fill_ratio=0.5)
+ assert ctrl.target_p50_ms == 100.0
+
+ def test_explicit_target_skips_calibration(self) -> None:
+ """target_p50_ms=30.0 → _calibrated=True, no inference samples collected."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=30.0,
+ update_interval=1,
+ )
+ assert ctrl.calibrated
+ assert ctrl.target_p50_ms == 30.0
+
+ # Inference samples are ignored
+ for _ in range(20):
+ ctrl.record_inference_sample(10.0)
+ ctrl.step(observed_p50_ms=25.0, fill_ratio=0.5)
+ assert ctrl.target_p50_ms == pytest.approx(30.0) # unchanged
+
+ def test_controller_holds_knobs_during_calibration(self) -> None:
+ """Before calibration, step() returns initial values without adjustment."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ _current_batch_cost=16384,
+ )
+ # Not enough samples yet
+ for _ in range(5):
+ ctrl.record_inference_sample(20.0)
+ wait, cost = ctrl.step(observed_p50_ms=50.0, fill_ratio=0.8)
+ # Should hold at initial values
+ assert wait == 10.0
+ assert cost == 16384
+ assert not ctrl.calibrated
+
+ def test_calibration_resets_integral(self) -> None:
+ """Integral is reset to 0 when auto-calibration fires."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ integral_gain=0.1,
+ update_interval=1,
+ )
+ # Manually set some integral state
+ ctrl._integral = 5.0
+ ctrl._last_step_time = time.monotonic()
+
+ for _ in range(10):
+ ctrl.record_inference_sample(20.0)
+ ctrl.step(observed_p50_ms=25.0, fill_ratio=0.5)
+ assert ctrl.calibrated
+ assert ctrl._integral == 0.0
+ assert ctrl._last_step_time is None
+
+ def test_inference_samples_stop_after_calibration(self) -> None:
+ """After calibration, record_inference_sample is a no-op."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ update_interval=1,
+ )
+ for _ in range(10):
+ ctrl.record_inference_sample(20.0)
+ ctrl.step(observed_p50_ms=25.0, fill_ratio=0.5)
+ assert ctrl.calibrated
+
+ before = ctrl._inference_tracker.sample_count
+ ctrl.record_inference_sample(999.0)
+ assert ctrl._inference_tracker.sample_count == before
+
+ def test_snapshot_before_calibration(self) -> None:
+ """Snapshot works before calibration — target is None."""
+ ctrl = AdaptiveBatchController(target_p50_ms=None)
+ snap = ctrl.snapshot(observed_p50_ms=None, fill_ratio=None)
+ assert snap.enabled is True
+ assert snap.calibrated is False
+ assert snap.target_p50_ms is None
+ assert snap.headroom_ms is None
+
+
+class TestPIController:
+ """Tests for time-based PI controller with saturation-aware anti-windup."""
+
+ def test_integral_gain_zero_is_pure_proportional(self) -> None:
+ """integral_gain=0 produces identical behavior to P-only."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.3,
+ integral_gain=0.0,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+ wait, _ = ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ # Pure proportional: headroom=20, adj=20*0.3=6, new=16
+ assert wait == pytest.approx(16.0)
+
+ def test_integral_accumulates_over_time(self) -> None:
+ """Integral contributes time-normalized error to the adjustment."""
+ from unittest.mock import patch
+
+ t0 = 1000.0
+ # Two calls: first step (sets _last_step_time), second step (dt=0.05s)
+ timestamps = iter([t0, t0 + 0.05])
+
+ with patch("sie_server.core.adaptive_batching.time") as mock_time:
+ mock_time.monotonic.side_effect = lambda: next(timestamps)
+
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.0, # disable proportional to isolate integral
+ integral_gain=1.0,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+ # First step: dt=0 (no previous time), so no integral contribution
+ ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ first_wait = ctrl.current_wait_ms
+ assert first_wait == 10.0 # No change on first step (dt=0)
+
+ # Second step: dt=0.05s, headroom=20ms
+ # integral += 20 * 0.05 = 1.0
+ # adjustment = 0 (P) + 1.0 * 1.0 (I) = 1.0
+ ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ assert ctrl.current_wait_ms == pytest.approx(11.0)
+
+ def test_anti_windup_at_max(self) -> None:
+ """Integral does not accumulate when output is at max and error is positive."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=100.0,
+ gain=0.0,
+ integral_gain=0.1,
+ max_wait_ms=50.0,
+ update_interval=1,
+ _current_wait_ms=50.0, # at max
+ )
+ ctrl._last_step_time = time.monotonic() - 1.0 # 1s ago
+
+ ctrl.step(observed_p50_ms=30.0, fill_ratio=0.5)
+ # Headroom is positive (70ms), output at max → should NOT integrate
+ assert ctrl._integral == 0.0
+
+ def test_anti_windup_at_min(self) -> None:
+ """Integral does not accumulate when output is at min and error is negative."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=10.0,
+ gain=0.0,
+ integral_gain=0.1,
+ min_wait_ms=1.0,
+ update_interval=1,
+ _current_wait_ms=1.0, # at min
+ )
+ ctrl._last_step_time = time.monotonic() - 1.0
+
+ ctrl.step(observed_p50_ms=50.0, fill_ratio=0.5)
+ # Headroom is negative (-40ms), output at min → should NOT integrate
+ assert ctrl._integral == 0.0
+
+ def test_anti_windup_allows_recovery(self) -> None:
+ """Integral CAN accumulate when output is at max but error would decrease it."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=10.0,
+ gain=0.0,
+ integral_gain=0.1,
+ max_wait_ms=50.0,
+ update_interval=1,
+ _current_wait_ms=50.0, # at max
+ )
+ ctrl._last_step_time = time.monotonic() - 1.0
+
+ ctrl.step(observed_p50_ms=50.0, fill_ratio=0.5)
+ # Headroom is negative (-40ms) → error wants to decrease → allowed even at max
+ assert ctrl._integral < 0
+
+ def test_idle_decay(self) -> None:
+ """After a long idle period (dt > 2s), integral decays exponentially."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.0,
+ integral_gain=0.1,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+ # Set up some accumulated integral
+ ctrl._integral = 10.0
+ ctrl._last_step_time = time.monotonic() - 4.0 # 4s ago → dt=4s, decay for 2s
+
+ ctrl.step(observed_p50_ms=50.0, fill_ratio=0.5)
+ # decay_factor = 0.5 ** (4-2) = 0.25, integral should be ~2.5 before new contribution
+ assert ctrl._integral < 5.0 # substantially decayed
+
+ def test_pi_reduces_steady_state_bias(self) -> None:
+ """PI controller converges closer to target than P-only over multiple steps.
+
+ PI reduces steady-state bias in the operating region compared with
+ P-only. The plant is nonlinear so exact convergence is not guaranteed.
+ """
+ # P-only
+ p_ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.1,
+ integral_gain=0.0,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+ # PI
+ pi_ctrl = AdaptiveBatchController(
+ target_p50_ms=50.0,
+ gain=0.1,
+ integral_gain=0.05,
+ update_interval=1,
+ _current_wait_ms=10.0,
+ )
+
+ # Simulate steady traffic with fixed observed p50
+ for _ in range(50):
+ p_ctrl.step(observed_p50_ms=45.0, fill_ratio=0.5)
+ pi_ctrl.step(observed_p50_ms=45.0, fill_ratio=0.5)
+ time.sleep(0.001) # small dt for integral
+
+ # Both should increase wait (headroom=5ms)
+ assert p_ctrl.current_wait_ms > 10.0
+ assert pi_ctrl.current_wait_ms > 10.0
+ # PI should have accumulated integral and moved further
+ assert pi_ctrl.current_wait_ms >= p_ctrl.current_wait_ms
+
+ def test_reset_preserves_calibration_for_explicit_target(self) -> None:
+ """Reset with explicit target keeps _calibrated=True."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=30.0,
+ integral_gain=0.1,
+ _current_wait_ms=25.0,
+ )
+ ctrl._integral = 5.0
+ ctrl.reset()
+ assert ctrl.calibrated # explicit target stays calibrated
+ assert ctrl._integral == 0.0
+
+ def test_reset_clears_calibration_for_auto(self) -> None:
+ """Reset with target_p50_ms=None clears calibration state."""
+ ctrl = AdaptiveBatchController(
+ target_p50_ms=None,
+ update_interval=1,
+ )
+ for _ in range(10):
+ ctrl.record_inference_sample(20.0)
+ ctrl.step(observed_p50_ms=25.0, fill_ratio=0.5)
+ assert ctrl.calibrated
+
+ ctrl.reset()
+ assert not ctrl.calibrated
+ assert ctrl._inference_tracker.sample_count == 0
+
+
+class TestProfileAdaptiveBatchingMerge:
+ """Tests for per-model profile adaptive batching overrides."""
+
+ def test_profile_override_target(self) -> None:
+ """Profile-level target_p50_ms overrides engine default."""
+ from sie_server.config.model import ProfileAdaptiveBatching, _merge_profile_adaptive_batching
+
+ parent = None
+ child = ProfileAdaptiveBatching(target_p50_ms=30.0)
+ result = _merge_profile_adaptive_batching(parent, child)
+ assert result is not None
+ assert result.target_p50_ms == 30.0
+
+ def test_both_none_returns_none(self) -> None:
+ from sie_server.config.model import _merge_profile_adaptive_batching
+
+ assert _merge_profile_adaptive_batching(None, None) is None
+
+ def test_child_inherits_parent(self) -> None:
+ """Child with no adaptive_batching inherits parent's."""
+ from sie_server.config.model import ProfileAdaptiveBatching, _merge_profile_adaptive_batching
+
+ parent = ProfileAdaptiveBatching(target_p50_ms=40.0, gain=0.3)
+ result = _merge_profile_adaptive_batching(parent, None)
+ assert result is not None
+ assert result.target_p50_ms == 40.0
+ assert result.gain == 0.3
+
+ def test_fieldwise_merge(self) -> None:
+ """Child overrides one field, inherits parent's other fields."""
+ from sie_server.config.model import ProfileAdaptiveBatching, _merge_profile_adaptive_batching
+
+ parent = ProfileAdaptiveBatching(target_p50_ms=40.0, gain=0.3)
+ child = ProfileAdaptiveBatching(gain=0.2)
+ result = _merge_profile_adaptive_batching(parent, child)
+ assert result is not None
+ assert result.target_p50_ms == 40.0 # inherited from parent
+ assert result.gain == 0.2 # overridden by child
+
+ def test_engine_merge_with_profile(self) -> None:
+ """Full merge: engine defaults + profile overrides."""
+ from sie_server.config.model import ProfileAdaptiveBatching
+ from sie_server.core.model_loader import _merge_adaptive_params
+
+ engine = AdaptiveBatchingParams(
+ enabled=True,
+ target_p50_ms=None,
+ gain=0.3,
+ integral_gain=0.05,
+ )
+ profile = ProfileAdaptiveBatching(target_p50_ms=25.0)
+
+ result = _merge_adaptive_params(engine, profile)
+ assert result.target_p50_ms == 25.0 # from profile
+ assert result.gain == 0.3 # from engine
+ assert result.integral_gain == 0.05 # from engine
+ assert result.enabled is True # always from engine
+
+ def test_engine_merge_none_profile(self) -> None:
+ """No profile overrides → engine params unchanged."""
+ from sie_server.core.model_loader import _merge_adaptive_params
+
+ engine = AdaptiveBatchingParams(enabled=True, target_p50_ms=None, gain=0.3)
+ result = _merge_adaptive_params(engine, None)
+ assert result is engine
diff --git a/packages/sie_server/tests/core/test_batcher.py b/packages/sie_server/tests/core/test_batcher.py
index aaea51704..8e385820b 100644
--- a/packages/sie_server/tests/core/test_batcher.py
+++ b/packages/sie_server/tests/core/test_batcher.py
@@ -431,7 +431,10 @@ class TestImmediateDispatch:
@pytest.mark.asyncio
async def test_immediate_false_waits_for_timeout(self) -> None:
"""get_batch(immediate=False) waits for timeout as usual."""
- config = BatchConfig(max_batch_wait_ms=50, max_batch_requests=10, coalesce_ms=100)
+ # Use coalesce_ratio=1.0 to disable proportional scaling so the raw
+ # coalesce_ms (100) is used. This ensures the batch timeout (50ms)
+ # is the binding constraint, not the effective coalesce.
+ config = BatchConfig(max_batch_wait_ms=50, max_batch_requests=10, coalesce_ms=100, coalesce_ratio=1.0)
batcher: BatchFormer[TextPreparedItem, str] = BatchFormer(config)
item = make_text_item([1, 2, 3])
@@ -445,6 +448,8 @@ class TestImmediateDispatch:
# Should wait at least close to the timeout (coalesce_ms > max_batch_wait_ms
# so the batch timeout is the binding constraint, not coalescing)
assert elapsed_ms >= 40
+ # Should not wait excessively beyond the batch timeout
+ assert elapsed_ms <= 150 # 50ms timeout + generous margin for CI jitter
@pytest.mark.asyncio
async def test_immediate_empty_waits_for_first_request(self) -> None:
@@ -757,3 +762,184 @@ class TestCollateBatch:
assert result["input_ids"][0] == [1, 0, 0]
assert result["input_ids"][1] == [2, 3, 0]
assert result["input_ids"][2] == [4, 5, 6]
+
+
+class TestCoalescePrecision:
+ """Tests for coalesce timing precision (Finding 2 fix)."""
+
+ @pytest.mark.asyncio
+ async def test_coalesce_fires_near_deadline(self) -> None:
+ """Batch yields within a tight window after the last submit + coalesce_ms.
+
+ With the precise timeout fix, the batcher should wake up close to
+ the exact coalesce deadline rather than polling every coalesce_ms.
+ """
+ coalesce = 20.0
+ config = BatchConfig(
+ max_batch_wait_ms=200,
+ max_batch_requests=100,
+ coalesce_ms=coalesce,
+ )
+ batcher: BatchFormer[TextPreparedItem, str] = BatchFormer(config)
+
+ item = make_text_item([1, 2, 3])
+ await batcher.submit(item, "req-1")
+
+ start = time.monotonic()
+ batch = await batcher.get_batch()
+ elapsed_ms = (time.monotonic() - start) * 1000
+
+ assert batch.size == 1
+ # Should fire close to coalesce_ms (within 10ms tolerance for CI)
+ assert elapsed_ms >= coalesce * 0.8, f"Fired too early: {elapsed_ms:.1f}ms"
+ assert elapsed_ms < coalesce * 2.5, f"Fired too late: {elapsed_ms:.1f}ms"
+
+ @pytest.mark.asyncio
+ async def test_coalesce_resets_on_new_submit(self) -> None:
+ """Coalesce window resets when a new item arrives.
+
+ If items arrive at t=0, t=15ms with coalesce_ms=20ms, the batch
+ should yield at ~t=35ms (15ms + 20ms), not at t=20ms.
+ """
+ coalesce = 30.0
+ config = BatchConfig(
+ max_batch_wait_ms=200,
+ max_batch_requests=100,
+ coalesce_ms=coalesce,
+ )
+ batcher: BatchFormer[TextPreparedItem, str] = BatchFormer(config)
+
+ async def staggered_submits() -> None:
+ await batcher.submit(make_text_item([1], 0), "first")
+ await asyncio.sleep(0.015) # 15ms gap
+ await batcher.submit(make_text_item([2], 1), "second")
+
+ submit_task = asyncio.create_task(staggered_submits())
+
+ start = time.monotonic()
+ batch = await asyncio.wait_for(batcher.get_batch(), timeout=1.0)
+ elapsed_ms = (time.monotonic() - start) * 1000
+
+ await submit_task
+
+ assert batch.size == 2
+ # Should fire ~15ms (second submit) + ~30ms (coalesce) = ~45ms
+ assert elapsed_ms >= 35, f"Fired too early: {elapsed_ms:.1f}ms"
+ assert elapsed_ms < 80, f"Fired too late: {elapsed_ms:.1f}ms"
+
+
+class TestCoalesceVsTimeout:
+ """Tests for coalesce and timeout interaction."""
+
+ @pytest.mark.asyncio
+ async def test_timeout_fires_when_shorter_than_coalesce(self) -> None:
+ """When max_batch_wait_ms < coalesce_ms, timeout is the binding constraint."""
+ config = BatchConfig(
+ max_batch_wait_ms=20,
+ max_batch_requests=100,
+ coalesce_ms=100, # coalesce ceiling much larger than timeout
+ )
+ batcher: BatchFormer[TextPreparedItem, str] = BatchFormer(config)
+
+ await batcher.submit(make_text_item([1]), "req-1")
+
+ start = time.monotonic()
+ batch = await batcher.get_batch()
+ elapsed_ms = (time.monotonic() - start) * 1000
+
+ assert batch.size == 1
+ # Should fire at batch timeout (~20ms), not coalesce (~100ms)
+ assert elapsed_ms < 50, f"Waited too long: {elapsed_ms:.1f}ms"
+
+ @pytest.mark.asyncio
+ async def test_coalesce_fires_when_shorter_than_timeout(self) -> None:
+ """When coalesce_ms < max_batch_wait_ms, coalesce detects end-of-burst."""
+ config = BatchConfig(
+ max_batch_wait_ms=200,
+ max_batch_requests=100,
+ coalesce_ms=15,
+ )
+ batcher: BatchFormer[TextPreparedItem, str] = BatchFormer(config)
+
+ await batcher.submit(make_text_item([1]), "req-1")
+
+ start = time.monotonic()
+ batch = await batcher.get_batch()
+ elapsed_ms = (time.monotonic() - start) * 1000
+
+ assert batch.size == 1
+ # Should fire at coalesce (~15ms), well before timeout (200ms)
+ assert elapsed_ms < 50, f"Waited too long: {elapsed_ms:.1f}ms"
+ assert elapsed_ms >= 10, f"Fired too early: {elapsed_ms:.1f}ms"
+
+
+class TestEffectiveCoalesce:
+ """Tests for proportional coalesce scaling (effective_coalesce_ms)."""
+
+ def test_default_scaling(self) -> None:
+ """With default ratio (0.2), effective coalesce is 20% of batch wait."""
+ config = BatchConfig(max_batch_wait_ms=50, coalesce_ms=20.0)
+ # 50 * 0.2 = 10, min(20, 10) = 10
+ assert config.effective_coalesce_ms == 10.0
+
+ def test_ceiling_respected(self) -> None:
+ """When ratio * wait > coalesce_ms, coalesce_ms is the ceiling."""
+ config = BatchConfig(max_batch_wait_ms=50, coalesce_ms=5.0)
+ # 50 * 0.2 = 10, min(5, 10) = 5
+ assert config.effective_coalesce_ms == 5.0
+
+ def test_scales_with_adaptive_wait(self) -> None:
+ """Effective coalesce tracks changes to max_batch_wait_ms."""
+ config = BatchConfig(max_batch_wait_ms=10, coalesce_ms=20.0)
+ # Initial: 10 * 0.2 = 2, min(20, 2) = 2
+ assert config.effective_coalesce_ms == 2.0
+
+ # Simulate adaptive controller increasing wait
+ config.max_batch_wait_ms = 50.0
+ # 50 * 0.2 = 10, min(20, 10) = 10
+ assert config.effective_coalesce_ms == 10.0
+
+ # Simulate adaptive controller decreasing wait
+ config.max_batch_wait_ms = 2.0
+ # 2 * 0.2 = 0.4, min(20, 0.4) = 0.4
+ assert config.effective_coalesce_ms == pytest.approx(0.4)
+
+ def test_custom_ratio(self) -> None:
+ """Custom coalesce_ratio is respected."""
+ config = BatchConfig(max_batch_wait_ms=100, coalesce_ms=50.0, coalesce_ratio=0.1)
+ # 100 * 0.1 = 10, min(50, 10) = 10
+ assert config.effective_coalesce_ms == 10.0
+
+ def test_zero_wait_gives_zero_coalesce(self) -> None:
+ """When max_batch_wait_ms is 0 (or near-zero), coalesce is effectively 0."""
+ config = BatchConfig(max_batch_wait_ms=0, coalesce_ms=5.0)
+ assert config.effective_coalesce_ms == 0.0
+
+ @pytest.mark.asyncio
+ async def test_effective_coalesce_used_in_batcher(self) -> None:
+ """BatchFormer uses effective_coalesce_ms, not raw coalesce_ms.
+
+ With max_batch_wait_ms=100 and coalesce_ms=50, ratio=0.2:
+ effective_coalesce = min(50, 100*0.2) = 20ms.
+ Batch should yield at ~20ms, not ~50ms.
+ """
+ config = BatchConfig(
+ max_batch_wait_ms=200,
+ max_batch_requests=100,
+ coalesce_ms=50.0,
+ coalesce_ratio=0.2,
+ )
+ # effective_coalesce = min(50, 200*0.2) = 40ms
+ assert config.effective_coalesce_ms == 40.0
+
+ batcher: BatchFormer[TextPreparedItem, str] = BatchFormer(config)
+ await batcher.submit(make_text_item([1]), "req-1")
+
+ start = time.monotonic()
+ batch = await batcher.get_batch()
+ elapsed_ms = (time.monotonic() - start) * 1000
+
+ assert batch.size == 1
+ # Should fire near effective_coalesce (40ms), well before timeout (200ms)
+ assert elapsed_ms < 80, f"Waited too long: {elapsed_ms:.1f}ms"
+ assert elapsed_ms >= 30, f"Fired too early: {elapsed_ms:.1f}ms"
diff --git a/packages/sie_server/tests/core/test_worker_options.py b/packages/sie_server/tests/core/test_worker_options.py
index c746db1b8..10d69e536 100644
--- a/packages/sie_server/tests/core/test_worker_options.py
+++ b/packages/sie_server/tests/core/test_worker_options.py
@@ -206,7 +206,7 @@ class TestModelWorkerScoreOptionsThreading:
try:
prepared = ScorePreparedItem(cost=50, original_index=0)
- runtime_options = {"max_length": 256}
+ runtime_options = {"max_seq_length": 256}
future = await worker.submit_score(
[prepared],
@@ -277,13 +277,13 @@ class TestModelWorkerScoreOptionsThreading:
[prepared1],
Item(text="query 1"),
[Item(text="doc 1")],
- options={"max_length": 256},
+ options={"max_seq_length": 256},
)
future2 = await worker.submit_score(
[prepared2],
Item(text="query 2"),
[Item(text="doc 2")],
- options={"max_length": 512},
+ options={"max_seq_length": 512},
)
await asyncio.gather(future1, future2)
@@ -293,8 +293,8 @@ class TestModelWorkerScoreOptionsThreading:
# Verify each call got the right options
call_options = [call.kwargs.get("options") for call in mock_adapter.score_pairs.call_args_list]
- assert {"max_length": 256} in call_options
- assert {"max_length": 512} in call_options
+ assert {"max_seq_length": 256} in call_options
+ assert {"max_seq_length": 512} in call_options
finally:
await worker.stop()
diff --git a/packages/sie_server/tests/test_nats_pull_loop.py b/packages/sie_server/tests/test_nats_pull_loop.py
new file mode 100644
index 000000000..62773c0a1
--- /dev/null
+++ b/packages/sie_server/tests/test_nats_pull_loop.py
@@ -0,0 +1,418 @@
+from __future__ import annotations
+
+import asyncio
+import time
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import msgpack
+import numpy as np
+import pytest
+from sie_server.core.inference_output import ExtractOutput, ScoreOutput
+from sie_server.core.timing import RequestTiming
+from sie_server.core.worker.types import WorkerResult
+from sie_server.nats_pull_loop import NatsPullLoop
+from sie_server.types.inputs import Item
+
+
+def _make_work_item(**overrides) -> dict:
+ """Build a minimal WorkItem dict with required fields."""
+ wi = {
+ "work_item_id": "req-1.0",
+ "request_id": "req-1",
+ "item_index": 0,
+ "total_items": 1,
+ "operation": "encode",
+ "model_id": "test/model",
+ "profile_id": "default",
+ "pool_name": "_default",
+ "router_id": "router-1",
+ "reply_subject": "_INBOX.router-1.req-1",
+ "timestamp": time.time(),
+ }
+ wi.update(overrides)
+ return wi
+
+
+def _make_loop(
+ *,
+ registry: MagicMock | None = None,
+ nc: AsyncMock | None = None,
+ js: AsyncMock | None = None,
+ payload_store_url: str | None = None,
+) -> NatsPullLoop:
+ """Create a NatsPullLoop with mocked dependencies."""
+ if nc is None:
+ nc = AsyncMock()
+ if js is None:
+ js = AsyncMock()
+ if registry is None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ return NatsPullLoop(
+ nc=nc,
+ js=js,
+ registry=registry,
+ bundle_id="default",
+ pool_name="_default",
+ payload_store_url=payload_store_url,
+ )
+
+
+def _make_msg(wi: dict) -> AsyncMock:
+ """Wrap a WorkItem dict into a mock NATS message with serialized data."""
+ msg = AsyncMock()
+ msg.data = msgpack.packb(wi, use_bin_type=True)
+ return msg
+
+
+def _published_result(nc_mock: AsyncMock) -> dict:
+ """Extract the first published WorkResult from the mock nc.publish calls."""
+ nc_mock.publish.assert_called_once()
+ _subject, data = nc_mock.publish.call_args.args
+ return msgpack.unpackb(data, raw=False)
+
+
+class TestProcessEncodeItem:
+ """Verify encode item goes through EncodePipeline.run_encode, result published."""
+
+ @pytest.mark.asyncio
+ async def test_process_encode_item(self) -> None:
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.start_worker = AsyncMock(return_value=MagicMock())
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="encode",
+ item={"text": "hello world"},
+ output_types=["dense"],
+ )
+ msg = _make_msg(wi)
+
+ fake_output = [{"dense": [0.1, 0.2]}]
+ fake_timing = RequestTiming()
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ return_value=(fake_output, fake_timing),
+ ) as mock_encode:
+ await loop._process_messages("test/model", [msg])
+
+ mock_encode.assert_called_once()
+ call_kwargs = mock_encode.call_args.kwargs
+ assert call_kwargs["model"] == "test/model"
+ assert call_kwargs["output_types"] == ["dense"]
+ assert call_kwargs["registry"] is registry
+ # Batch API passes a list of Item objects
+ assert len(call_kwargs["items"]) == 1
+ assert call_kwargs["items"][0].text == "hello world"
+
+ result = _published_result(nc)
+ assert result["success"] is True
+ assert result["work_item_id"] == "req-1.0"
+ # The inner result_msgpack contains the formatted_output[0]
+ inner = msgpack.unpackb(result["result_msgpack"], raw=False)
+ assert inner == {"dense": [0.1, 0.2]}
+ msg.ack.assert_awaited_once()
+
+
+class TestProcessScoreItem:
+ """Verify score item skips _resolve_item, calls worker.submit_score."""
+
+ @pytest.mark.asyncio
+ async def test_process_score_item(self) -> None:
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ # Create mock worker with submit_score returning an awaitable future
+ mock_worker = AsyncMock()
+ score_output = ScoreOutput(scores=np.array([0.95, 0.42], dtype=np.float32))
+ worker_result = WorkerResult(output=score_output, timing=RequestTiming())
+ future: asyncio.Future[WorkerResult] = asyncio.Future()
+ future.set_result(worker_result)
+ mock_worker.submit_score = AsyncMock(return_value=future)
+ registry.start_worker = AsyncMock(return_value=mock_worker)
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="score",
+ query_item={"text": "What is ML?"},
+ score_items=[{"text": "ML is AI."}, {"text": "Cooking recipe."}],
+ )
+ msg = _make_msg(wi)
+
+ await loop._process_messages("test/model", [msg])
+
+ # Verify submit_score was called
+ mock_worker.submit_score.assert_awaited_once()
+ call_kwargs = mock_worker.submit_score.call_args.kwargs
+ assert isinstance(call_kwargs["query"], Item)
+ assert call_kwargs["query"].text == "What is ML?"
+ assert len(call_kwargs["items"]) == 2
+
+ # Verify result published
+ result = _published_result(nc)
+ assert result["success"] is True
+ scores = msgpack.unpackb(result["result_msgpack"], raw=False)
+ assert len(scores) == 2
+ assert abs(scores[0]["score"] - 0.95) < 0.01
+ assert abs(scores[1]["score"] - 0.42) < 0.01
+ msg.ack.assert_awaited_once()
+
+ @pytest.mark.asyncio
+ async def test_score_item_no_resolve_item(self) -> None:
+ """Score work items with query_item/score_items DON'T go through _resolve_item."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ mock_worker = AsyncMock()
+ score_output = ScoreOutput(scores=np.array([0.5], dtype=np.float32))
+ worker_result = WorkerResult(output=score_output, timing=RequestTiming())
+ future: asyncio.Future[WorkerResult] = asyncio.Future()
+ future.set_result(worker_result)
+ mock_worker.submit_score = AsyncMock(return_value=future)
+ registry.start_worker = AsyncMock(return_value=mock_worker)
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="score",
+ query_item={"text": "query"},
+ score_items=[{"text": "doc"}],
+ # Note: no "item" field — _resolve_item would fail for score
+ # if it were called, since there's no item/payload_ref.
+ )
+ msg = _make_msg(wi)
+
+ with patch.object(loop, "_resolve_item", new_callable=AsyncMock) as mock_resolve:
+ await loop._process_messages("test/model", [msg])
+ mock_resolve.assert_not_called()
+
+ # Score should still succeed
+ result = _published_result(nc)
+ assert result["success"] is True
+
+ @pytest.mark.asyncio
+ async def test_score_with_payload_ref(self) -> None:
+ """Score with offloaded payload fetches from store."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ mock_worker = AsyncMock()
+ score_output = ScoreOutput(scores=np.array([0.8], dtype=np.float32))
+ worker_result = WorkerResult(output=score_output, timing=RequestTiming())
+ future: asyncio.Future[WorkerResult] = asyncio.Future()
+ future.set_result(worker_result)
+ mock_worker.submit_score = AsyncMock(return_value=future)
+ registry.start_worker = AsyncMock(return_value=mock_worker)
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ # Set up payload store mock
+ payload_data = msgpack.packb(
+ {
+ "query": {"text": "offloaded query"},
+ "items": [{"text": "offloaded doc"}],
+ },
+ use_bin_type=True,
+ )
+ mock_store = AsyncMock()
+ mock_store.get = AsyncMock(return_value=payload_data)
+ loop._payload_store = mock_store
+
+ wi = _make_work_item(
+ operation="score",
+ # No inline query_item/score_items — use payload ref
+ query_payload_ref="payloads/abc123",
+ )
+ msg = _make_msg(wi)
+
+ await loop._process_messages("test/model", [msg])
+
+ # Verify payload was fetched
+ mock_store.get.assert_awaited_once_with("payloads/abc123")
+
+ # Verify submit_score received resolved items
+ call_kwargs = mock_worker.submit_score.call_args.kwargs
+ assert call_kwargs["query"].text == "offloaded query"
+ assert len(call_kwargs["items"]) == 1
+ assert call_kwargs["items"][0].text == "offloaded doc"
+
+ result = _published_result(nc)
+ assert result["success"] is True
+
+
+class TestProcessExtractItem:
+ """Verify extract item calls worker.submit_extract, result published."""
+
+ @pytest.mark.asyncio
+ async def test_process_extract_item(self) -> None:
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ mock_worker = AsyncMock()
+ extract_output = ExtractOutput(
+ entities=[[{"text": "Alice", "label": "person", "score": 0.99, "start": 0, "end": 5}]]
+ )
+ worker_result = WorkerResult(output=extract_output, timing=RequestTiming())
+ future: asyncio.Future[WorkerResult] = asyncio.Future()
+ future.set_result(worker_result)
+ mock_worker.submit_extract = AsyncMock(return_value=future)
+ registry.start_worker = AsyncMock(return_value=mock_worker)
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="extract",
+ item={"text": "Alice works at Acme."},
+ labels=["person", "organization"],
+ )
+ msg = _make_msg(wi)
+
+ await loop._process_messages("test/model", [msg])
+
+ # Verify submit_extract was called
+ mock_worker.submit_extract.assert_awaited_once()
+ call_kwargs = mock_worker.submit_extract.call_args.kwargs
+ assert len(call_kwargs["items"]) == 1
+ assert call_kwargs["items"][0].text == "Alice works at Acme."
+ assert call_kwargs["labels"] == ["person", "organization"]
+
+ # Verify result published
+ result = _published_result(nc)
+ assert result["success"] is True
+ inner = msgpack.unpackb(result["result_msgpack"], raw=False)
+ assert "entities" in inner
+ msg.ack.assert_awaited_once()
+
+
+class TestErrorPaths:
+ """Verify error conditions publish error results."""
+
+ @pytest.mark.asyncio
+ async def test_unknown_operation_publishes_error(self) -> None:
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.start_worker = AsyncMock(return_value=MagicMock())
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="summarize",
+ item={"text": "some text"},
+ )
+ msg = _make_msg(wi)
+
+ await loop._process_messages("test/model", [msg])
+
+ result = _published_result(nc)
+ assert result["success"] is False
+ assert result["error_code"] == "unknown_operation"
+ assert "summarize" in result["error"]
+ msg.ack.assert_awaited_once()
+
+ @pytest.mark.asyncio
+ async def test_model_not_found_naks_for_redelivery(self) -> None:
+ """When start_worker raises KeyError (model evicted), items are NAKed."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.start_worker = AsyncMock(side_effect=KeyError("test/model"))
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="score",
+ query_item={"text": "hello"},
+ score_items=[{"text": "world"}],
+ )
+ msg = _make_msg(wi)
+
+ await loop._process_messages("test/model", [msg])
+
+ # Item should be NAKed (not ACKed with error) for redelivery
+ msg.nak.assert_awaited_once()
+ msg.ack.assert_not_awaited()
+ # No result published — item goes back to queue
+ nc.publish.assert_not_awaited()
+
+ @pytest.mark.asyncio
+ async def test_get_config_key_error_naks_for_redelivery(self) -> None:
+ """When get_config raises KeyError (model evicted), items are NAKed."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.side_effect = KeyError("test/model")
+ registry.start_worker = AsyncMock(return_value=MagicMock())
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ wi = _make_work_item(
+ operation="encode",
+ item={"text": "hello"},
+ )
+ msg = _make_msg(wi)
+
+ await loop._process_messages("test/model", [msg])
+
+ # Item should be NAKed (not ACKed with error) for redelivery
+ msg.nak.assert_awaited_once()
+ msg.ack.assert_not_awaited()
+ nc.publish.assert_not_awaited()
+
+
+class TestBatchProcessing:
+ """Verify _process_messages processes all messages in a batch."""
+
+ @pytest.mark.asyncio
+ async def test_batch_processes_all_messages(self) -> None:
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.start_worker = AsyncMock(return_value=MagicMock())
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ fake_timing = RequestTiming()
+
+ # Create 5 encode messages
+ messages = []
+ fake_outputs = []
+ for i in range(5):
+ wi = _make_work_item(
+ work_item_id=f"req-{i}.0",
+ item={"text": f"text {i}"},
+ output_types=["dense"],
+ )
+ messages.append(_make_msg(wi))
+ fake_outputs.append({"dense": [float(i)]})
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ return_value=(fake_outputs, fake_timing),
+ ):
+ await loop._process_messages("test/model", messages)
+
+ # All 5 messages should be acked
+ assert sum(1 for m in messages if m.ack.await_count > 0) == 5
+ # All 5 results should be published
+ assert nc.publish.await_count == 5
diff --git a/packages/sie_server/tests/test_nats_pull_loop_batching.py b/packages/sie_server/tests/test_nats_pull_loop_batching.py
new file mode 100644
index 000000000..ab2aa6c91
--- /dev/null
+++ b/packages/sie_server/tests/test_nats_pull_loop_batching.py
@@ -0,0 +1,1116 @@
+from __future__ import annotations
+
+import asyncio
+import logging
+import time
+from unittest.mock import AsyncMock, MagicMock, patch
+
+import msgpack
+import pytest
+from sie_server.core.timing import RequestTiming
+from sie_server.nats_pull_loop import (
+ _DEFAULT_BATCH_BUDGET,
+ _MAX_CONCURRENT_BATCHES,
+ _NAK_DELAY_S,
+ _THRASH_THRESHOLD,
+ NatsPullLoop,
+)
+
+
+def _make_work_item(**overrides) -> dict:
+ """Build a minimal WorkItem dict with required fields."""
+ wi = {
+ "work_item_id": "req-1.0",
+ "request_id": "req-1",
+ "item_index": 0,
+ "total_items": 1,
+ "operation": "encode",
+ "model_id": "test/model",
+ "profile_id": "default",
+ "pool_name": "_default",
+ "router_id": "router-1",
+ "reply_subject": "_INBOX.router-1.req-1",
+ "timestamp": time.time(),
+ }
+ wi.update(overrides)
+ return wi
+
+
+def _make_loop(
+ *,
+ registry: MagicMock | None = None,
+ nc: AsyncMock | None = None,
+ js: AsyncMock | None = None,
+ payload_store_url: str | None = None,
+) -> NatsPullLoop:
+ """Create a NatsPullLoop with mocked dependencies."""
+ if nc is None:
+ nc = AsyncMock()
+ if js is None:
+ js = AsyncMock()
+ if registry is None:
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ return NatsPullLoop(
+ nc=nc,
+ js=js,
+ registry=registry,
+ bundle_id="default",
+ pool_name="_default",
+ payload_store_url=payload_store_url,
+ )
+
+
+def _make_msg(wi: dict) -> AsyncMock:
+ """Wrap a WorkItem dict into a mock NATS message with serialized data."""
+ msg = AsyncMock()
+ msg.data = msgpack.packb(wi, use_bin_type=True)
+ return msg
+
+
+def _published_results(nc_mock: AsyncMock) -> list[dict]:
+ """Extract all published WorkResults from the mock nc.publish calls."""
+ results = []
+ for call in nc_mock.publish.call_args_list:
+ _subject, data = call.args
+ results.append(msgpack.unpackb(data, raw=False))
+ return results
+
+
+class TestEncodeBatching:
+ """Verify encode items are sub-grouped by encode params for separate pipeline calls."""
+
+ @pytest.mark.asyncio
+ async def test_encode_batch_groups_by_output_types(self) -> None:
+ """Items with different output_types should be processed in separate sub-batches."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ fake_timing = RequestTiming()
+
+ # 2 items with ["dense"], 1 with ["dense", "sparse"]
+ messages = [
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ item={"text": "item A"},
+ output_types=["dense"],
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.1",
+ item_index=1,
+ item={"text": "item B"},
+ output_types=["dense"],
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.2",
+ item_index=2,
+ item={"text": "item C"},
+ output_types=["dense", "sparse"],
+ )
+ ),
+ ]
+
+ call_items_counts: list[int] = []
+
+ async def mock_run_encode(**kwargs):
+ n = len(kwargs["items"])
+ call_items_counts.append(n)
+ fake_outputs = [{"dense": [0.1]} for _ in range(n)]
+ return fake_outputs, fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ await loop._process_messages("test/model", messages)
+
+ assert mock_encode.call_count == 2
+ assert sorted(call_items_counts) == [1, 2]
+
+ @pytest.mark.asyncio
+ async def test_encode_batch_groups_by_instruction(self) -> None:
+ """Items with different instruction values should be in separate sub-batches."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ messages = [
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ item={"text": "a"},
+ output_types=["dense"],
+ instruction="query:",
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.1",
+ item_index=1,
+ item={"text": "b"},
+ output_types=["dense"],
+ instruction="query:",
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.2",
+ item_index=2,
+ item={"text": "c"},
+ output_types=["dense"],
+ instruction="passage:",
+ )
+ ),
+ ]
+
+ call_instructions: list[str | None] = []
+
+ async def mock_run_encode(**kwargs):
+ call_instructions.append(kwargs.get("instruction"))
+ n = len(kwargs["items"])
+ return [{"dense": [0.1]} for _ in range(n)], fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ await loop._process_messages("test/model", messages)
+
+ assert mock_encode.call_count == 2
+ assert sorted(call_instructions) == ["passage:", "query:"]
+
+ @pytest.mark.asyncio
+ async def test_encode_batch_groups_by_is_query(self) -> None:
+ """Items with is_query=True vs False should be in separate sub-batches."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ messages = [
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ item={"text": "query"},
+ output_types=["dense"],
+ is_query=True,
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.1",
+ item_index=1,
+ item={"text": "doc1"},
+ output_types=["dense"],
+ is_query=False,
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.2",
+ item_index=2,
+ item={"text": "doc2"},
+ output_types=["dense"],
+ is_query=False,
+ )
+ ),
+ ]
+
+ call_is_query_values: list[bool] = []
+
+ async def mock_run_encode(**kwargs):
+ call_is_query_values.append(kwargs.get("is_query", False))
+ n = len(kwargs["items"])
+ return [{"dense": [0.1]} for _ in range(n)], fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ await loop._process_messages("test/model", messages)
+
+ assert mock_encode.call_count == 2
+ assert sorted(call_is_query_values) == [False, True]
+
+ @pytest.mark.asyncio
+ async def test_encode_batch_groups_by_options(self) -> None:
+ """Items with different options dicts (e.g., different LoRA adapters) get separate calls."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ messages = [
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ item={"text": "a"},
+ output_types=["dense"],
+ options={"lora": "adapter-a"},
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.1",
+ item_index=1,
+ item={"text": "b"},
+ output_types=["dense"],
+ options={"lora": "adapter-b"},
+ )
+ ),
+ ]
+
+ call_options: list[dict] = []
+
+ async def mock_run_encode(**kwargs):
+ call_options.append(kwargs.get("options", {}))
+ n = len(kwargs["items"])
+ return [{"dense": [0.1]} for _ in range(n)], fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ await loop._process_messages("test/model", messages)
+
+ assert mock_encode.call_count == 2
+ assert {"lora": "adapter-a"} in call_options
+ assert {"lora": "adapter-b"} in call_options
+
+ @pytest.mark.asyncio
+ async def test_encode_batch_homogeneous_single_call(self) -> None:
+ """All items with identical params should result in a single run_encode call."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ messages = []
+ for i in range(5):
+ messages.append(
+ _make_msg(
+ _make_work_item(
+ work_item_id=f"req-1.{i}",
+ item_index=i,
+ item={"text": f"text {i}"},
+ output_types=["dense"],
+ instruction="query:",
+ is_query=True,
+ options={"pooling": "mean"},
+ )
+ )
+ )
+
+ async def mock_run_encode(**kwargs):
+ n = len(kwargs["items"])
+ return [{"dense": [float(i)]} for i in range(n)], fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ await loop._process_messages("test/model", messages)
+
+ # All 5 items have identical params — single call
+ mock_encode.assert_called_once()
+ assert len(mock_encode.call_args.kwargs["items"]) == 5
+
+ # All 5 results published
+ assert nc.publish.await_count == 5
+
+
+class TestConfigHash:
+ """Verify bundle_config_hash validation behavior."""
+
+ @pytest.mark.asyncio
+ async def test_config_hash_mismatch_logs_but_processes(self) -> None:
+ """Items with wrong bundle_config_hash are still processed (soft check)."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ # Pre-seed a known config hash
+ loop._config_hash_cache = "correct-hash-abc"
+ loop._config_hash_cache_time = time.monotonic()
+
+ fake_timing = RequestTiming()
+
+ wi = _make_work_item(
+ item={"text": "hello"},
+ output_types=["dense"],
+ bundle_config_hash="wrong-hash-xyz",
+ )
+ msg = _make_msg(wi)
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ return_value=([{"dense": [0.1]}], fake_timing),
+ ) as mock_encode:
+ await loop._process_messages("test/model", [msg])
+
+ # Config hash mismatch is now a soft check — item is still processed
+ mock_encode.assert_called_once()
+
+ # Message should be ACKed (processed, not NAKed)
+ msg.ack.assert_awaited_once()
+
+ @pytest.mark.asyncio
+ async def test_config_hash_empty_passes_through(self) -> None:
+ """Items without bundle_config_hash pass through (backward compat)."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ loop._config_hash_cache = "some-hash"
+ loop._config_hash_cache_time = time.monotonic()
+
+ fake_timing = RequestTiming()
+
+ # No bundle_config_hash field in the work item
+ wi = _make_work_item(
+ item={"text": "hello"},
+ output_types=["dense"],
+ )
+ msg = _make_msg(wi)
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ return_value=([{"dense": [0.1]}], fake_timing),
+ ) as mock_encode:
+ await loop._process_messages("test/model", [msg])
+
+ # Should pass through — no hash means backward compat
+ mock_encode.assert_called_once()
+
+ msg.ack.assert_awaited_once()
+
+ @pytest.mark.asyncio
+ async def test_config_hash_cached(self) -> None:
+ """Hash is only computed once per TTL window, not per-message."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ # Force cache to be stale so _check_config_hash will recompute
+ loop._config_hash_cache = None
+ loop._config_hash_cache_time = 0.0
+
+ # Create 3 messages with matching hash
+ messages = []
+ for i in range(3):
+ wi = _make_work_item(
+ work_item_id=f"req-1.{i}",
+ item_index=i,
+ item={"text": f"text {i}"},
+ output_types=["dense"],
+ bundle_config_hash="hash-abc",
+ )
+ messages.append(_make_msg(wi))
+
+ with (
+ patch(
+ "sie_server.api.ws._compute_bundle_config_hash",
+ return_value="hash-abc",
+ ) as mock_compute_hash,
+ patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ return_value=([{"dense": [0.1]} for _ in range(3)], fake_timing),
+ ),
+ ):
+ await loop._process_messages("test/model", messages)
+
+ # Hash should be computed only once (cached for subsequent checks)
+ mock_compute_hash.assert_called_once()
+
+
+class TestConcurrencyLimits:
+ """Verify batch semaphore limits concurrent processing."""
+
+ @pytest.mark.asyncio
+ async def test_batch_semaphore_limits_concurrency(self) -> None:
+ """_MAX_CONCURRENT_BATCHES limits how many batches process simultaneously."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ # Verify the semaphore was initialized with the correct value
+ assert loop._batch_sem._value == _MAX_CONCURRENT_BATCHES
+
+ # Acquire all permits
+ for _ in range(_MAX_CONCURRENT_BATCHES):
+ acquired = loop._batch_sem.acquire()
+ # Semaphore.acquire is a coroutine
+ await acquired
+
+ # Next acquire should block (semaphore exhausted)
+ # We test this by checking the value is 0
+ assert loop._batch_sem._value == 0
+
+ # Release one and verify it becomes available
+ loop._batch_sem.release()
+ assert loop._batch_sem._value == 1
+
+
+class TestGracefulDrain:
+ """Verify stop() drains in-flight tasks properly."""
+
+ @pytest.mark.asyncio
+ async def test_graceful_drain_waits_for_inflight(self) -> None:
+ """stop() waits for in-flight tasks to complete before returning."""
+ nc = AsyncMock()
+ js = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, js=js, registry=registry)
+ loop._running = True
+ loop._pull_task = None # No main pull task to cancel
+
+ task_completed = False
+
+ async def slow_task():
+ nonlocal task_completed
+ await asyncio.sleep(0.05)
+ task_completed = True
+
+ task = asyncio.create_task(slow_task())
+ loop._in_flight_tasks.add(task)
+ task.add_done_callback(loop._in_flight_tasks.discard)
+
+ await loop.stop()
+
+ # Task should have completed (waited, not cancelled)
+ assert task_completed
+
+ @pytest.mark.asyncio
+ async def test_graceful_drain_timeout_cancels(self) -> None:
+ """If tasks don't complete within drain timeout, they are cancelled."""
+ nc = AsyncMock()
+ js = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, js=js, registry=registry)
+ loop._running = True
+ loop._pull_task = None
+
+ task_cancelled = False
+
+ async def stuck_task():
+ nonlocal task_cancelled
+ try:
+ # This task runs longer than drain timeout
+ await asyncio.sleep(999)
+ except asyncio.CancelledError:
+ task_cancelled = True
+ raise
+
+ task = asyncio.create_task(stuck_task())
+ loop._in_flight_tasks.add(task)
+ task.add_done_callback(loop._in_flight_tasks.discard)
+
+ # Temporarily reduce drain timeout for test speed
+ with patch("sie_server.nats_pull_loop._DRAIN_TIMEOUT_S", 0.01):
+ await loop.stop()
+
+ assert task_cancelled
+
+
+class TestMixedOperations:
+ """Verify batches with mixed operation types are routed correctly."""
+
+ @pytest.mark.asyncio
+ async def test_mixed_operations_processed_separately(self) -> None:
+ """A pull batch containing encode, score, and extract items triggers all processors."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.start_worker = AsyncMock(return_value=MagicMock())
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ encode_msg = _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ operation="encode",
+ item={"text": "encode me"},
+ output_types=["dense"],
+ )
+ )
+ score_msg = _make_msg(
+ _make_work_item(
+ work_item_id="req-2.0",
+ item_index=0,
+ operation="score",
+ query_item={"text": "q"},
+ score_items=[{"text": "d"}],
+ )
+ )
+ extract_msg = _make_msg(
+ _make_work_item(
+ work_item_id="req-3.0",
+ item_index=0,
+ operation="extract",
+ item={"text": "extract me"},
+ labels=["PER"],
+ )
+ )
+
+ with (
+ patch.object(
+ loop,
+ "_process_encode_batch",
+ new_callable=AsyncMock,
+ ) as mock_encode_batch,
+ patch.object(
+ loop,
+ "_process_score_batch",
+ new_callable=AsyncMock,
+ ) as mock_score_batch,
+ patch.object(
+ loop,
+ "_process_extract_batch",
+ new_callable=AsyncMock,
+ ) as mock_extract_batch,
+ ):
+ await loop._process_messages("test/model", [encode_msg, score_msg, extract_msg])
+
+ mock_encode_batch.assert_called_once()
+ mock_score_batch.assert_called_once()
+ mock_extract_batch.assert_called_once()
+
+ # Verify correct items were routed to each processor
+ encode_items = mock_encode_batch.call_args[0][1]
+ assert len(encode_items) == 1
+ assert encode_items[0][0]["operation"] == "encode"
+
+ score_items = mock_score_batch.call_args[0][1]
+ assert len(score_items) == 1
+ assert score_items[0][0]["operation"] == "score"
+
+ extract_items = mock_extract_batch.call_args[0][1]
+ assert len(extract_items) == 1
+ assert extract_items[0][0]["operation"] == "extract"
+
+
+class TestBatchBudget:
+ """Verify _get_batch_budget returns correct values."""
+
+ def test_batch_budget_from_worker_config(self) -> None:
+ """_get_batch_budget returns the worker's max_batch_requests."""
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+
+ # Mock a worker with a batch config
+ mock_worker = MagicMock()
+ mock_worker._batch_config.max_batch_requests = 128
+ registry.get_worker.return_value = mock_worker
+
+ loop = _make_loop(registry=registry)
+ budget = loop._get_batch_budget("test/model")
+
+ assert budget == 128
+
+ def test_batch_budget_default_when_no_worker(self) -> None:
+ """When worker is not loaded yet, returns _DEFAULT_BATCH_BUDGET."""
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_worker.return_value = None
+
+ loop = _make_loop(registry=registry)
+ budget = loop._get_batch_budget("test/model")
+
+ assert budget == _DEFAULT_BATCH_BUDGET
+
+ def test_batch_budget_default_on_key_error(self) -> None:
+ """When get_worker raises KeyError, returns _DEFAULT_BATCH_BUDGET."""
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_worker.side_effect = KeyError("test/model")
+
+ loop = _make_loop(registry=registry)
+ budget = loop._get_batch_budget("test/model")
+
+ assert budget == _DEFAULT_BATCH_BUDGET
+
+
+class TestReactiveModelLoading:
+ """Verify reactive model loading, eviction handling, backoff, and thrashing detection."""
+
+ @pytest.mark.asyncio
+ async def test_unloaded_model_naks_items_with_delay(self) -> None:
+ """All items for an unloaded model are NAKed with delay; background load task created."""
+ loop = _make_loop()
+
+ msg1 = AsyncMock()
+ msg2 = AsyncMock()
+ msg3 = AsyncMock()
+
+ await loop._handle_unloaded_model("test/model", [msg1, msg2, msg3])
+
+ # All 3 messages NAKed with delay
+ msg1.nak.assert_awaited_once_with(delay=_NAK_DELAY_S)
+ msg2.nak.assert_awaited_once_with(delay=_NAK_DELAY_S)
+ msg3.nak.assert_awaited_once_with(delay=_NAK_DELAY_S)
+
+ # No messages ACKed
+ msg1.ack.assert_not_awaited()
+ msg2.ack.assert_not_awaited()
+ msg3.ack.assert_not_awaited()
+
+ # Background load task was created
+ assert "test/model" in loop._loading_models
+ assert "test/model" in loop._load_tasks
+
+ @pytest.mark.asyncio
+ async def test_unloaded_model_triggers_background_load(self) -> None:
+ """_handle_unloaded_model calls registry.load_async for the model."""
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.device = "cpu"
+ registry.load_async = AsyncMock()
+
+ loop = _make_loop(registry=registry)
+
+ msg = AsyncMock()
+ await loop._handle_unloaded_model("test/model", [msg])
+
+ # Wait for the background load task to complete
+ load_task = loop._load_tasks["test/model"]
+ await load_task
+
+ registry.load_async.assert_awaited_once_with("test/model", "cpu")
+
+ # After task completes and reap runs, model is cleaned up
+ loop._reap_load_tasks()
+ assert "test/model" not in loop._loading_models
+
+ @pytest.mark.asyncio
+ async def test_second_demand_does_not_double_load(self) -> None:
+ """A second _handle_unloaded_model call while loading does not trigger a second load."""
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.device = "cpu"
+
+ # Make load_async block until we release it
+ load_started = asyncio.Event()
+ load_release = asyncio.Event()
+
+ async def slow_load(model_id: str, device: str) -> None:
+ load_started.set()
+ await load_release.wait()
+
+ registry.load_async = AsyncMock(side_effect=slow_load)
+
+ loop = _make_loop(registry=registry)
+
+ msg1 = AsyncMock()
+ msg2 = AsyncMock()
+
+ # First demand — starts loading
+ await loop._handle_unloaded_model("test/model", [msg1])
+ await load_started.wait()
+
+ # Second demand — should NOT trigger another load
+ await loop._handle_unloaded_model("test/model", [msg2])
+
+ # load_async called only once
+ registry.load_async.assert_awaited_once()
+
+ # Both messages were still NAKed
+ msg1.nak.assert_awaited_once()
+ msg2.nak.assert_awaited_once()
+
+ # Clean up
+ load_release.set()
+ await loop._load_tasks["test/model"]
+
+ @pytest.mark.asyncio
+ async def test_failed_load_allows_retry(self) -> None:
+ """A failed background load is cleaned up and allows a retry."""
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.device = "cpu"
+ registry.load_async = AsyncMock(side_effect=RuntimeError("GPU OOM"))
+
+ loop = _make_loop(registry=registry)
+
+ msg1 = AsyncMock()
+ await loop._handle_unloaded_model("test/model", [msg1])
+
+ # Wait for the load task to finish (it will fail)
+ load_task = loop._load_tasks["test/model"]
+ with pytest.raises(RuntimeError, match="GPU OOM"):
+ await load_task
+
+ # Reap completed (failed) tasks
+ loop._reap_load_tasks()
+ assert "test/model" not in loop._loading_models
+ assert "test/model" not in loop._load_tasks
+
+ # Reset the mock to succeed this time and try again
+ registry.load_async = AsyncMock()
+ msg2 = AsyncMock()
+ await loop._handle_unloaded_model("test/model", [msg2])
+
+ # A new load task was created
+ assert "test/model" in loop._loading_models
+ assert "test/model" in loop._load_tasks
+
+ # Clean up
+ await loop._load_tasks["test/model"]
+
+ def test_thrashing_detection(self, caplog: pytest.LogCaptureFixture) -> None:
+ """_check_thrashing logs a warning when a model is loaded too frequently."""
+ loop = _make_loop()
+
+ now = time.monotonic()
+ # Populate load history with THRASH_THRESHOLD entries within the window
+ loop._load_history = [("test/model", now - i) for i in range(_THRASH_THRESHOLD)]
+
+ with caplog.at_level(logging.WARNING, logger="sie_server.nats_pull_loop"):
+ loop._check_thrashing("test/model")
+
+ assert any("thrashing" in record.message.lower() for record in caplog.records)
+ assert any("test/model" in record.message for record in caplog.records)
+
+ @pytest.mark.asyncio
+ async def test_encode_cancelled_error_naks(self) -> None:
+ """CancelledError during encode NAKs items instead of ACKing with error."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ msg = _make_msg(
+ _make_work_item(
+ operation="encode",
+ item={"text": "hello"},
+ output_types=["dense"],
+ )
+ )
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=asyncio.CancelledError,
+ ):
+ await loop._process_messages("test/model", [msg])
+
+ # Message should be NAKed (eviction path), not ACKed
+ msg.nak.assert_awaited()
+ # No results published (error or otherwise)
+ nc.publish.assert_not_called()
+
+ @pytest.mark.asyncio
+ async def test_score_model_evicted_naks(self) -> None:
+ """KeyError from start_worker (model evicted) NAKs the score message."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+ registry.start_worker = AsyncMock(side_effect=KeyError("test/model"))
+
+ loop = _make_loop(nc=nc, registry=registry)
+
+ msg = _make_msg(
+ _make_work_item(
+ operation="score",
+ query_item={"text": "q"},
+ score_items=[{"text": "d"}],
+ )
+ )
+
+ await loop._process_messages("test/model", [msg])
+
+ msg.nak.assert_awaited()
+
+ @pytest.mark.asyncio
+ async def test_reap_load_tasks_cleans_completed(self) -> None:
+ """_reap_load_tasks removes completed tasks from both tracking structures."""
+ loop = _make_loop()
+
+ # Create and await a task so it's done
+ async def noop() -> None:
+ pass
+
+ task = asyncio.create_task(noop())
+ await task # Let it complete
+
+ loop._load_tasks["test/model"] = task
+ loop._loading_models.add("test/model")
+
+ loop._reap_load_tasks()
+
+ assert "test/model" not in loop._loading_models
+ assert "test/model" not in loop._load_tasks
+
+ @pytest.mark.asyncio
+ async def test_reap_load_tasks_handles_cancelled_task(self) -> None:
+ """_reap_load_tasks cleans up a cancelled-but-done task without raising."""
+ loop = _make_loop()
+
+ async def long_sleep() -> None:
+ await asyncio.sleep(999)
+
+ task = asyncio.create_task(long_sleep())
+ # Cancel and let the cancellation propagate
+ task.cancel()
+ # Gather with return_exceptions so we don't re-raise
+ await asyncio.gather(task, return_exceptions=True)
+
+ # Task is now done + cancelled
+ assert task.done()
+ assert task.cancelled()
+
+ loop._load_tasks["cancelled/model"] = task
+ loop._loading_models.add("cancelled/model")
+
+ # _reap_load_tasks should handle the CancelledError branch without raising
+ loop._reap_load_tasks()
+
+ assert "cancelled/model" not in loop._loading_models
+ assert "cancelled/model" not in loop._load_tasks
+
+ @pytest.mark.asyncio
+ async def test_stop_cancels_load_tasks(self) -> None:
+ """stop() cancels in-progress background load tasks."""
+ nc = AsyncMock()
+ js = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, js=js, registry=registry)
+ loop._running = True
+ loop._pull_task = None
+
+ task_cancelled = False
+
+ async def long_running_load() -> None:
+ nonlocal task_cancelled
+ try:
+ await asyncio.sleep(999)
+ except asyncio.CancelledError:
+ task_cancelled = True
+ raise
+
+ load_task = asyncio.create_task(long_running_load())
+ loop._load_tasks["test/model"] = load_task
+ loop._loading_models.add("test/model")
+
+ # Yield to let the task start running before we stop
+ await asyncio.sleep(0)
+
+ await loop.stop()
+
+ # Yield to let cancellation propagate fully
+ await asyncio.sleep(0)
+
+ assert task_cancelled
+ assert len(loop._load_tasks) == 0
+ assert len(loop._loading_models) == 0
+
+
+class TestPayloadStoreFactory:
+ """Tests for _create_payload_store factory function."""
+
+ def test_gs_url_returns_gcs_store(self) -> None:
+ """gs:// URLs return a _GCSPayloadStore."""
+ from sie_server.nats_pull_loop import _create_payload_store, _GCSPayloadStore
+
+ store = _create_payload_store("gs://my-bucket/payloads")
+ assert isinstance(store, _GCSPayloadStore)
+ assert store._bucket_name == "my-bucket"
+ assert store._prefix == "payloads"
+
+ def test_s3_url_returns_s3_store(self) -> None:
+ """s3:// URLs return an _S3PayloadStore."""
+ from sie_server.nats_pull_loop import _create_payload_store, _S3PayloadStore
+
+ store = _create_payload_store("s3://my-bucket/payloads")
+ assert isinstance(store, _S3PayloadStore)
+ assert store._bucket == "my-bucket"
+ assert store._prefix == "payloads"
+
+ def test_local_path_returns_local_store(self) -> None:
+ """Local paths return a _LocalPayloadStore."""
+ from sie_server.nats_pull_loop import _create_payload_store, _LocalPayloadStore
+
+ store = _create_payload_store("/tmp/payloads") # noqa: S108
+ assert isinstance(store, _LocalPayloadStore)
+
+ def test_none_returns_none(self) -> None:
+ """None URL returns None."""
+ from sie_server.nats_pull_loop import _create_payload_store
+
+ assert _create_payload_store(None) is None
+
+ def test_empty_string_returns_none(self) -> None:
+ """Empty string URL returns None."""
+ from sie_server.nats_pull_loop import _create_payload_store
+
+ assert _create_payload_store("") is None
+
+
+class TestOptionsGroupingNestedDicts:
+ """Verify options grouping handles nested dicts (e.g., adapter_options with lists)."""
+
+ @pytest.mark.asyncio
+ async def test_nested_options_group_correctly(self) -> None:
+ """Items with nested options dicts (lists, nested dicts) group correctly and don't crash."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ # Items with nested options containing lists and nested dicts
+ messages = [
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ item={"text": "a"},
+ output_types=["dense"],
+ options={"adapter_options": {"lora": [1, 2, 3]}, "pooling": "mean"},
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.1",
+ item_index=1,
+ item={"text": "b"},
+ output_types=["dense"],
+ options={"adapter_options": {"lora": [1, 2, 3]}, "pooling": "mean"},
+ )
+ ),
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.2",
+ item_index=2,
+ item={"text": "c"},
+ output_types=["dense"],
+ options={"adapter_options": {"lora": [4, 5]}, "pooling": "cls"},
+ )
+ ),
+ ]
+
+ call_counts: list[int] = []
+
+ async def mock_run_encode(**kwargs):
+ n = len(kwargs["items"])
+ call_counts.append(n)
+ return [{"dense": [0.1]} for _ in range(n)], fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ await loop._process_messages("test/model", messages)
+
+ # 2 groups: first two items share options, third has different options
+ assert mock_encode.call_count == 2
+ assert sorted(call_counts) == [1, 2]
+
+ @pytest.mark.asyncio
+ async def test_deeply_nested_options_do_not_crash(self) -> None:
+ """Options with deeply nested structures (dict of dict of list) don't TypeError."""
+ nc = AsyncMock()
+ registry = MagicMock()
+ registry.model_names = ["test/model"]
+ registry.get_config.return_value = MagicMock()
+
+ loop = _make_loop(nc=nc, registry=registry)
+ fake_timing = RequestTiming()
+
+ deep_options = {
+ "adapter": {
+ "weights": {"layer_0": [0.1, 0.2], "layer_1": [0.3, 0.4]},
+ "mode": "inference",
+ }
+ }
+
+ messages = [
+ _make_msg(
+ _make_work_item(
+ work_item_id="req-1.0",
+ item_index=0,
+ item={"text": "deep"},
+ output_types=["dense"],
+ options=deep_options,
+ )
+ ),
+ ]
+
+ async def mock_run_encode(**kwargs):
+ n = len(kwargs["items"])
+ return [{"dense": [0.1]} for _ in range(n)], fake_timing
+
+ with patch(
+ "sie_server.core.encode_pipeline.EncodePipeline.run_encode",
+ new_callable=AsyncMock,
+ side_effect=mock_run_encode,
+ ) as mock_encode:
+ # Should not raise TypeError from tuple(sorted(...)) on nested dicts
+ await loop._process_messages("test/model", messages)
+ mock_encode.assert_called_once()
diff --git a/packages/sie_ts_sdk/package.json b/packages/sie_ts_sdk/package.json
index cd9d1a612..8a44a6784 100644
--- a/packages/sie_ts_sdk/package.json
+++ b/packages/sie_ts_sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@superlinked/sie-sdk",
- "version": "0.1.9",
+ "version": "0.1.10",
"description": "Official TypeScript SDK for SIE (Search Inference Engine)",
"type": "module",
"main": "./dist/index.cjs",
diff --git a/packages/sie_ts_sdk/src/client.ts b/packages/sie_ts_sdk/src/client.ts
index 2aca5fc47..cfaa069e9 100644
--- a/packages/sie_ts_sdk/src/client.ts
+++ b/packages/sie_ts_sdk/src/client.ts
@@ -298,6 +298,40 @@ export class SIEClient {
}));
}
+ /**
+ * Get details for a specific model.
+ *
+ * Returns model metadata including dimensions, supported inputs/outputs,
+ * loaded status, and max sequence length. This is a lightweight call that
+ * reads from model config — it does not load the model or trigger inference.
+ *
+ * @param name - Model name (e.g., "BAAI/bge-m3")
+ * @returns Model information
+ */
+ async getModel(name: string): Promise<ModelInfo> {
+ const response = await this.requestJson(`/v1/models/${encodeURIComponent(name)}`, "GET");
+
+ interface WireModelInfo {
+ name: string;
+ loaded: boolean;
+ inputs: string[];
+ outputs: string[];
+ dims?: { dense?: number; sparse?: number; multivector?: number };
+ max_sequence_length?: number;
+ }
+
+ const data = (await response.json()) as WireModelInfo;
+
+ return {
+ name: data.name,
+ loaded: data.loaded,
+ inputs: data.inputs,
+ outputs: data.outputs,
+ dims: data.dims,
+ maxSequenceLength: data.max_sequence_length,
+ };
+ }
+
/**
* Stream real-time status updates from a worker or router.
*
@@ -420,10 +454,6 @@ export class SIEClient {
items,
};
- if (options.topK !== undefined) {
- body.top_k = options.topK;
- }
-
const waitForCapacity = options.waitForCapacity ?? this.defaultWaitForCapacity;
const { pool, gpu } = this.parseGpuParam(options.gpu);
diff --git a/packages/sie_ts_sdk/src/encoding.ts b/packages/sie_ts_sdk/src/encoding.ts
new file mode 100644
index 000000000..988b32fcd
--- /dev/null
+++ b/packages/sie_ts_sdk/src/encoding.ts
@@ -0,0 +1,113 @@
+/**
+ * Helpers for converting SIE encode results to plain JavaScript types.
+ *
+ * These functions bridge SDK result types (Float32Array, typed dicts) to the
+ * plain `number[]` / object formats that framework integrations and vector
+ * databases expect.
+ *
+ * @example
+ * ```typescript
+ * import { SIEClient, denseEmbedding, sparseEmbedding } from "@superlinked/sie-sdk";
+ *
+ * const client = new SIEClient("http://localhost:8080");
+ * const result = await client.encode("BAAI/bge-m3", { text: "hello" });
+ * const vec = denseEmbedding(result); // number[]
+ * const sp = sparseEmbedding(result); // { indices: number[], values: number[] }
+ * ```
+ */
+
+import type { EncodeResult, SparseResult } from "./types.js";
+import { toNumberArray } from "./types.js";
+
+/** Sparse vector in `{ indices, values }` format. */
+export interface SparseVector {
+ indices: number[];
+ values: number[];
+}
+
+/**
+ * Extract the dense embedding from an encode result as `number[]`.
+ *
+ * @param result - An {@link EncodeResult} from `client.encode()`.
+ * @param strict - If `true` (default), throw when dense is missing. If `false`, return `[]`.
+ * @returns The dense vector as a plain JavaScript number array.
+ */
+export function denseEmbedding(result: EncodeResult, strict = true): number[] {
+ const dense = result.dense;
+ if (!dense) {
+ if (strict) {
+ throw new Error("Encode result missing dense embedding");
+ }
+ return [];
+ }
+ return toNumberArray(dense);
+}
+
+/**
+ * Extract the sparse embedding from an encode result.
+ *
+ * @param result - An {@link EncodeResult} from `client.encode()`.
+ * @returns Object with `indices: number[]` and `values: number[]`. Empty arrays if sparse is absent.
+ */
+export function sparseEmbedding(result: EncodeResult): SparseVector {
+ const sparse = result.sparse;
+ if (!sparse) {
+ return { indices: [], values: [] };
+ }
+ return {
+ indices: toNumberArray(sparse.indices),
+ values: toNumberArray(sparse.values),
+ };
+}
+
+/**
+ * Extract the sparse embedding as a `Map<number, number>` (token index → weight).
+ *
+ * Useful for ChromaDB which expects sparse embeddings in this format.
+ *
+ * @param result - An {@link EncodeResult} from `client.encode()`.
+ * @returns Map from integer token indices to float weights. Empty map if sparse is absent.
+ */
+export function sparseEmbeddingMap(result: EncodeResult): Map<number, number> {
+ const sparse = result.sparse;
+ if (!sparse) {
+ return new Map();
+ }
+ const indices = toNumberArray(sparse.indices);
+ const values = toNumberArray(sparse.values);
+ const map = new Map<number, number>();
+ for (let i = 0; i < indices.length; i++) {
+ map.set(indices[i]!, values[i]!);
+ }
+ return map;
+}
+
+/**
+ * Convert a raw sparse sub-object to plain JavaScript arrays.
+ *
+ * Unlike {@link sparseEmbedding}, this takes the sparse value itself
+ * (already extracted from the result) — useful inside named-vector
+ * loops where you've already pulled `result.sparse`.
+ *
+ * @param sparse - A {@link SparseResult} with `indices` and `values` typed arrays.
+ * @returns Object with `indices: number[]` and `values: number[]`.
+ */
+export function normalizeSparseVector(sparse: SparseResult): SparseVector {
+ return {
+ indices: toNumberArray(sparse.indices),
+ values: toNumberArray(sparse.values),
+ };
+}
+
+/**
+ * Convert a multivector (ColBERT) result to `number[][]`.
+ *
+ * SIE returns multivectors as `Float32Array[]`. Vector databases expect
+ * nested plain JavaScript arrays.
+ *
+ * @param raw - Array of Float32Array token vectors.
+ * @returns Nested array of number vectors.
+ */
+export function multivectorEmbedding(raw: Float32Array[]): number[][] {
+ return raw.map((v) => toNumberArray(v));
+}
diff --git a/packages/sie_ts_sdk/src/index.ts b/packages/sie_ts_sdk/src/index.ts
index 93b44d576..3a4bb8b32 100644
--- a/packages/sie_ts_sdk/src/index.ts
+++ b/packages/sie_ts_sdk/src/index.ts
@@ -35,6 +35,9 @@ export type {
ScoreEntry,
ScoreResult,
Entity,
+ Relation,
+ Classification,
+ DetectedObject,
ExtractResult,
// Model and cluster info
ModelDims,
@@ -68,6 +71,16 @@ export type {
// Utility functions
export { toNumberArray, toFloat32Array } from "./types.js";
+// Encoding result helpers (for integrations)
+export {
+ denseEmbedding,
+ sparseEmbedding,
+ sparseEmbeddingMap,
+ normalizeSparseVector,
+ multivectorEmbedding,
+ type SparseVector,
+} from "./encoding.js";
+
// Errors
export {
SIEError,
diff --git a/packages/sie_ts_sdk/src/internal/parsing.ts b/packages/sie_ts_sdk/src/internal/parsing.ts
index 426aec5b5..e36742f43 100644
--- a/packages/sie_ts_sdk/src/internal/parsing.ts
+++ b/packages/sie_ts_sdk/src/internal/parsing.ts
@@ -6,9 +6,12 @@ import { ProvisioningError, RequestError, ServerError } from "../errors.js";
import { unpackMessage } from "../msgpack.js";
import type {
CapacityInfo,
+ Classification,
+ DetectedObject,
EncodeResult,
Entity,
ExtractResult,
+ Relation,
ScoreEntry,
ScoreResult,
WorkerInfo,
@@ -169,9 +172,30 @@ interface WireEntity {
bbox?: number[];
}
+interface WireRelation {
+ head: string;
+ tail: string;
+ relation: string;
+ score: number;
+}
+
+interface WireClassification {
+ label: string;
+ score: number;
+}
+
+interface WireDetectedObject {
+ label: string;
+ score: number;
+ bbox: number[];
+}
+
interface WireExtractResult {
id?: string;
entities: WireEntity[];
+ relations?: WireRelation[];
+ classifications?: WireClassification[];
+ objects?: WireDetectedObject[];
}
/**
@@ -274,6 +298,27 @@ export function parseExtractResult(data: WireExtractResult): ExtractResult {
return {
id: data.id,
entities: data.entities.map(parseEntity),
+ relations: (data.relations ?? []).map(
+ (r: WireRelation): Relation => ({
+ head: r.head,
+ tail: r.tail,
+ relation: r.relation,
+ score: r.score,
+ }),
+ ),
+ classifications: (data.classifications ?? []).map(
+ (c: WireClassification): Classification => ({
+ label: c.label,
+ score: c.score,
+ }),
+ ),
+ objects: (data.objects ?? []).map(
+ (o: WireDetectedObject): DetectedObject => ({
+ label: o.label,
+ score: o.score,
+ bbox: o.bbox,
+ }),
+ ),
};
}
diff --git a/packages/sie_ts_sdk/src/types.ts b/packages/sie_ts_sdk/src/types.ts
index 1e2e41236..38ce056cd 100644
--- a/packages/sie_ts_sdk/src/types.ts
+++ b/packages/sie_ts_sdk/src/types.ts
@@ -156,6 +156,42 @@ export interface Entity {
bbox?: number[];
}
+/**
+ * A relation triple between two entities.
+ */
+export interface Relation {
+ /** Head entity text */
+ head: string;
+ /** Tail entity text */
+ tail: string;
+ /** Relation type label (e.g., "works_at", "founded_by") */
+ relation: string;
+ /** Confidence score */
+ score: number;
+}
+
+/**
+ * A text classification result.
+ */
+export interface Classification {
+ /** Classification label (e.g., "positive", "negative") */
+ label: string;
+ /** Confidence score */
+ score: number;
+}
+
+/**
+ * A detected object with bounding box.
+ */
+export interface DetectedObject {
+ /** Object class label (e.g., "person", "car") */
+ label: string;
+ /** Confidence score */
+ score: number;
+ /** Bounding box [x, y, width, height] */
+ bbox: number[];
+}
+
/**
* Result of extraction for a single item.
*/
@@ -164,6 +200,12 @@ export interface ExtractResult {
id?: string;
/** List of extracted entities */
entities: Entity[];
+ /** List of extracted relation triples */
+ relations: Relation[];
+ /** List of classification results */
+ classifications: Classification[];
+ /** List of detected objects */
+ objects: DetectedObject[];
}
/**
@@ -374,8 +416,6 @@ export interface EncodeOptions {
* Options for score operation.
*/
export interface ScoreOptions {
- /** Return only top K results */
- topK?: number;
/** GPU type for this request */
gpu?: string;
/** Whether to wait for capacity */
diff --git a/packages/sie_ts_sdk/src/version.ts b/packages/sie_ts_sdk/src/version.ts
index aa27892d4..dba734296 100644
--- a/packages/sie_ts_sdk/src/version.ts
+++ b/packages/sie_ts_sdk/src/version.ts
@@ -1 +1 @@
-export const SDK_VERSION = "0.1.9"; // x-release-please-version
+export const SDK_VERSION = "0.1.10"; // x-release-please-version
diff --git a/packages/sie_ts_sdk/tests/client.test.ts b/packages/sie_ts_sdk/tests/client.test.ts
index 3a9868a34..9c0b7d8fa 100644
--- a/packages/sie_ts_sdk/tests/client.test.ts
+++ b/packages/sie_ts_sdk/tests/client.test.ts
@@ -693,28 +693,6 @@ describe("SIEClient.score() - reranking", () => {
);
});
- it("should support topK option", async () => {
- mockFetch.mockResolvedValueOnce(
- createMsgpackResponse({
- model: "bge-reranker-v2",
- scores: [
- { item_id: "doc-1", score: 0.9, rank: 0 },
- { item_id: "doc-2", score: 0.8, rank: 1 },
- ],
- }),
- );
-
- await client.score("bge-reranker-v2", { text: "query" }, [{ text: "doc1" }, { text: "doc2" }], {
- topK: 2,
- });
-
- const fetchCall = mockFetch.mock.calls[0];
- const body = fetchCall?.[1]?.body as Uint8Array;
- const parsed = unpackMessage<{ top_k?: number }>(body);
-
- expect(parsed.top_k).toBe(2);
- });
-
it("should echo query ID if provided", async () => {
mockFetch.mockResolvedValueOnce(
createMsgpackResponse({
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5b512c872..83e16e95a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -34,6 +34,31 @@ importers:
specifier: ^2.1.8
version: 2.1.9(@types/[email protected])
+ integrations/sie_ts_lancedb:
+ dependencies:
+ '@superlinked/sie-sdk':
+ specifier: workspace:*
+ version: link:../../packages/sie_ts_sdk
+ devDependencies:
+ '@biomejs/biome':
+ specifier: ^1.9.4
+ version: 1.9.4
+ '@lancedb/lancedb':
+ specifier: ^0.17.0
+ version: 0.17.0([email protected])
+ apache-arrow:
+ specifier: ^18.0.0
+ version: 18.1.0
+ tsup:
+ specifier: ^8.3.5
+ typescript:
+ specifier: ^5.7.2
+ version: 5.9.3
+ vitest:
+ specifier: ^2.1.8
+ version: 2.1.9(@types/[email protected])
+
integrations/sie_ts_langchain:
dependencies:
'@superlinked/sie-sdk':
@@ -918,6 +943,62 @@ packages:
'@js-sdsl/[email protected]':
resolution: {integrity: sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==}
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-lYzjA9ZX5VEr2TjSIVS2CutI+VjD0InnoyI2cbPESM3qIrjR+qOLG5dt2TFRzQZdzAbWHaB61Mr43yZv//KUag==}
+ engines: {node: '>= 18'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-yZeTQth/y2IoOWCAViK5V0ZWUWII1Me5eICJUkXw+0U62IMniOsQUbVXQOPViTe/9hyvlIS3GFw6gAqBZETuaA==}
+ engines: {node: '>= 18'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-AZ+jkFqzzDmOUEuQVRz5Qc+PxEGD7CLnmvHaK05dx+yMg//767n1ffUO8YcNGuYeaWwq5SjAvVBT1azbOvME2w==}
+ engines: {node: '>= 18'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-2MBtQuX9BFO14WC49Tsp5W8IajKf7q+/0CNOYvESTqsz8QXGZhMMxeipiTcLGpECV18zkSuhBYibeeo5IXxviQ==}
+ engines: {node: '>= 18'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-xkGZef0z3idtvij+dflB827zq9Crrb2BvXIESzygl5Y8WzsfwioNKlcAZ5LKHfVSh+seQcPGj7AmXZaPX8f38Q==}
+ engines: {node: '>= 18'}
+ cpu: [x64]
+ os: [linux]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-PktOkmJrM+WTpf3AIgQjD3kiFNO27APDuxvpacOgqWC0lGmFOFcxtJoUYarhiylD0prfUQLXdVW+6hawuTg4rQ==}
+ engines: {node: '>= 18'}
+ cpu: [x64]
+ os: [linux]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-NrBUokcsqHEkNgVoiS0oa4iUhY+Zkra4SW32nk5n3bzdaeyQ4tEDiqBUJVcu51POqVh86ngDtNSlt+UpSnCBQA==}
+ engines: {node: '>= 18'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-D5e56RDnKzCr41XriNQyeycAWpE2UMZJF5oVocIaFnwqje0emtOWXieVUpRb1it8Tycc76VCNxvjXvMDNhAD0Q==}
+ engines: {node: '>= 18'}
+ cpu: [x64]
+ os: [win32]
+
+ '@lancedb/[email protected]':
+ resolution: {integrity: sha512-AgQ4dqHBjoEpVdND5tmzhy0OJxwP4gJnEjOz3jVh7ip+8EYhR44wO6XbEhpxvvGfXyyepDrulo3bpL1323eNSg==}
+ engines: {node: '>= 18'}
+ cpu: [x64, arm64]
+ os: [darwin, linux, win32]
+ peerDependencies:
+ apache-arrow: '>=15.0.0 <=18.1.0'
+
'@langchain/[email protected]':
resolution: {integrity: sha512-vcJDV2vk1AlCwSh3aBm/urQ1ZrlXFFBocv11bz/NBUfLWD5/UDNMzwPdaAd2dKvNmTWa9FM2lirLU3+JCf4cRA==}
engines: {node: '>=18'}
@@ -1467,6 +1548,15 @@ packages:
'@so-ric/[email protected]':
resolution: {integrity: sha512-/KiKkpHNOBgkFJwu9sh48LkHSMYGyuTcSFK/qMBdnOAlrRJzRSXAOFB5qwzaVQuDl8wAvHVMkaASQDReTahxuw==}
+ resolution: {integrity: sha512-jI/VAmtdjB/RnI8GTnokyX7Ug8c+g+ffD6QRLa6XQewtnGyukKkKSk3wLTM3b5cjt1jNh9x0jfVlagdN2gDKQg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-uv0aG6R0Y8WHZLTamZwtfsDLVRnOa+n+n5rEvFWL5Na5gZ8V2Teab/duDPFzIIIhs9qizDpcavCusCLJZu62Kw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-BwR5KP3Es/CSht0xqBcUXS3qCAUVXwpRKsV2+arxeb65atasuXG9LykC9Ab10Cw3s2raH92ZqOeILaQbsB2ACg==}
+
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
@@ -1482,6 +1572,9 @@ packages:
resolution: {integrity: sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==}
+
resolution: {integrity: sha512-1N9SBnWYOJTrNZCdh/yJE+t910Y128BoyY+zBLWhL3r0TYzlTmFdXrPwHL9DyFZmlEXNQQolTZh3KHV31QDhyA==}
@@ -1601,6 +1694,10 @@ packages:
resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}
+ resolution: {integrity: sha512-v/ShMp57iBnBp4lDgV8Jx3d3Q5/Hac25FWmQ98eMahUiHPXcvwIMKJD0hBIgclm/FCG+LwPkAKtkRO1O/W0YGg==}
+ hasBin: true
+
resolution: {integrity: sha512-tLIEcj5GuR2RSTnxNKdkK0dJ/GrC7P38sUkiDmDuHfsHmbagTFAxDVIBltoklXEVIQ/f14IL8IMJ5pn9Hez1Ew==}
@@ -1612,6 +1709,14 @@ packages:
resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
+ resolution: {integrity: sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-SGDvmg6QTYiTxCBkYVmThcoa67uLl35pyzRHdpCGBOcqFy6BtwnphoFPk7LhJshD+Yk1Kt35WGWeZPTgwR4Fhw==}
+ engines: {node: '>=12.17'}
+
resolution: {integrity: sha512-7IZuOxwxTWs3U+JjH8aBxhA6RM3tOFjEDKgxhvnNpHLjVIKEaxl4hqFd+g0eSNtz7QnHUZJQffaz7JCariC0MQ==}
engines: {node: '>=18'}
@@ -1751,6 +1856,10 @@ packages:
resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}
engines: {node: '>=10'}
@@ -1840,6 +1949,14 @@ packages:
resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==}
engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==}
+ engines: {node: '>=4.0.0'}
+
+ resolution: {integrity: sha512-85UdvzTNx/+s5CkSgBm/0hzP80RFHAa7PsfeADE5ezZF3uHz3/Tqj9gIKGT9PTtpycc3Ua64T0oVulGfKxzfqg==}
+ engines: {node: '>=12.20.0'}
+
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
engines: {node: '>= 6'}
@@ -2084,12 +2201,19 @@ packages:
resolution: {integrity: sha512-Lo6UPdMKKc9Ond7yjG2vq0mnocspOLh1oV6+XZdtfdexacvMSz5xm3WoQhTAdoR2+UqPlyMNqcqfecipoD+l/A==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==}
+ engines: {node: '>=4.0.0'}
+
resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==}
resolution: {integrity: sha512-c7CZADjRcl6j0PlvFy0ZqXQ67qSEZfrVPynmnL+2zPc+NtMvrF8Y0QceMo7QqnSPc7+uWjUIAbvCQ5WIKlMVdQ==}
+ resolution: {integrity: sha512-dLVCAISd5mhls514keQzmEG6QHmUUsNuWsb4tFafIUwvvgDjXhtfAYSKOzt5SWOy+qByV5pbsDZ+Vb7HUOBEdA==}
+
resolution: {integrity: sha512-MI1qs7Lo4Syw0EOzUl0xjs2lsoeqFku44KpngfIduHBYvzm8h2+7K8YMQh1JtVVVrUvhLpNwqVi4DERegUJhPQ==}
@@ -2328,6 +2452,10 @@ packages:
resolution: {integrity: sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==}
+ resolution: {integrity: sha512-2WHyXj3OfHSgNyuzDbSxI1w2jgw5gkWSWhS7Qg4bWXx1nLk3jnbwfUeS0PSba3IzpTUWdHxBieELUzXRjQB2zg==}
+ engines: {node: '>=0.8'}
+
resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==}
@@ -2934,6 +3062,9 @@ packages:
resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}
engines: {node: '>= 14.18.0'}
+ resolution: {integrity: sha512-urBwgfrvVP/eAyXx4hluJivBKzuEbSQs9rKWCrCkbSxNv8mxPcUZKeuoF3Uy4mJl3Lwprp6yy5/39VWigZ4K6Q==}
+
resolution: {integrity: sha512-BZx9DsT4FAgXDTOdgJIc5eY6ECIXMwtlSPQoPglF20ycSWigttDDe88AozEsPPT4OWk5NujroGSBC1phw5uU+w==}
@@ -3132,6 +3263,10 @@ packages:
resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-iK5/YhZxq5GO5z8wb0bY1317uDF3Zjpha0QFFLA8/trAoiLbQD0HUbMesEaxyzUgDxi2QlcbM8IvqOlEjgoXBA==}
+ engines: {node: '>=12.17'}
+
resolution: {integrity: sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==}
@@ -3267,6 +3402,14 @@ packages:
engines: {node: '>=14.17'}
hasBin: true
+ resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==}
+ engines: {node: '>=12.17'}
+
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
@@ -3424,6 +3567,10 @@ packages:
resolution: {integrity: sha512-LZNJgPzfKR+/J3cHkxcpHKpKKvGfDZVPS4hfJCc4cCG0CgYzvlD6yE/S3CIL/Yt91ak327YCpiF/0MyeZHEHKA==}
engines: {node: '>= 12.0.0'}
+ resolution: {integrity: sha512-0yweIbkINJodk27gX9LBGMzyQdBDan3s/dEAiwBOj+Mf0PPyWL6/rikalkv8EeD0E8jm4o5RXEOrFTP3NXbhJg==}
+ engines: {node: '>=12.17'}
+
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
engines: {node: '>=10'}
@@ -4539,6 +4686,44 @@ snapshots:
'@js-sdsl/[email protected]': {}
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ '@lancedb/[email protected]':
+ optional: true
+
+ dependencies:
+ apache-arrow: 18.1.0
+ reflect-metadata: 0.2.2
+ optionalDependencies:
+ '@lancedb/lancedb-darwin-arm64': 0.17.0
+ '@lancedb/lancedb-darwin-x64': 0.17.0
+ '@lancedb/lancedb-linux-arm64-gnu': 0.17.0
+ '@lancedb/lancedb-linux-arm64-musl': 0.17.0
+ '@lancedb/lancedb-linux-x64-gnu': 0.17.0
+ '@lancedb/lancedb-linux-x64-musl': 0.17.0
+ '@lancedb/lancedb-win32-arm64-msvc': 0.17.0
+ '@lancedb/lancedb-win32-x64-msvc': 0.17.0
+
dependencies:
'@cfworker/json-schema': 4.1.1
@@ -5507,6 +5692,14 @@ snapshots:
color: 5.0.3
text-hex: 1.0.0
+ dependencies:
+ tslib: 2.8.1
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
'@types/[email protected]': {}
'@types/[email protected]': {}
@@ -5522,6 +5715,10 @@ snapshots:
dependencies:
undici-types: 5.26.5
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 6.21.0
+
dependencies:
undici-types: 6.21.0
@@ -5651,6 +5848,18 @@ snapshots:
+ dependencies:
+ '@swc/helpers': 0.5.21
+ '@types/command-line-args': 5.2.3
+ '@types/command-line-usage': 5.0.4
+ '@types/node': 20.19.39
+ command-line-args: 5.2.1
+ command-line-usage: 7.0.4
+ flatbuffers: 24.12.23
+ json-bignum: 0.0.3
+ tslib: 2.8.1
+
optional: true
@@ -5664,6 +5873,10 @@ snapshots:
dependencies:
sprintf-js: 1.0.3
+
+
dependencies:
ws: 8.18.3
@@ -5800,6 +6013,10 @@ snapshots:
loupe: 3.2.1
pathval: 2.0.1
+ dependencies:
+ chalk: 4.1.2
+
dependencies:
ansi-styles: 4.3.0
@@ -5902,6 +6119,20 @@ snapshots:
dependencies:
delayed-stream: 1.0.0
+ dependencies:
+ array-back: 3.1.0
+ find-replace: 3.0.0
+ lodash.camelcase: 4.3.0
+ typical: 4.0.0
+
+ dependencies:
+ array-back: 6.2.3
+ chalk-template: 0.4.0
+ table-layout: 4.1.1
+ typical: 7.3.0
+
@@ -6157,6 +6388,10 @@ snapshots:
to-arraybuffer: 1.0.1
tough-cookie: 4.1.4
+ dependencies:
+ array-back: 3.1.0
+
dependencies:
magic-string: 0.30.21
@@ -6165,6 +6400,8 @@ snapshots:
+
@@ -6456,6 +6693,8 @@ snapshots:
dependencies:
bignumber.js: 9.3.1
+
@@ -7136,6 +7375,8 @@ snapshots:
+
dependencies:
type-fest: 4.41.0
@@ -7398,6 +7639,11 @@ snapshots:
dependencies:
has-flag: 4.0.0
+ dependencies:
+ array-back: 6.2.3
+ wordwrapjs: 5.1.1
+
dependencies:
chownr: 1.1.4
@@ -7561,6 +7807,10 @@ snapshots:
+
+
@@ -7724,6 +7974,8 @@ snapshots:
triple-beam: 1.4.1
winston-transport: 4.9.0
+
dependencies:
ansi-styles: 4.3.0
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index b56c6c855..7c05394a7 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -3,3 +3,4 @@ packages:
- "integrations/sie_ts_langchain"
- "integrations/sie_ts_llamaindex"
- "integrations/sie_ts_chroma"
+ - "integrations/sie_ts_lancedb"
diff --git a/pyproject.toml b/pyproject.toml
index 9b78a9367..67588e794 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -98,6 +98,7 @@ members = [
"integrations/sie_llamaindex",
"integrations/sie_qdrant",
"integrations/sie_weaviate",
+ "integrations/sie_lancedb",
]
[tool.pytest.ini_options]
diff --git a/uv.lock b/uv.lock
index 5e4ff58ca..f169350f8 100644
--- a/uv.lock
+++ b/uv.lock
@@ -1,4 +1,5 @@
version = 1
+revision = 3
requires-python = "==3.12.*"
resolution-markers = [
"platform_machine != 'aarch64' and sys_platform == 'linux'",
@@ -16,6 +17,7 @@ members = [
"sie-crewai",
"sie-dspy",
"sie-haystack",
+ "sie-lancedb",
"sie-langchain",
"sie-llamaindex",
"sie-qdrant",
@@ -39,18 +41,18 @@ dependencies = [
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
{ name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ca/14/787e5498cd062640f0f3d92ef4ae4063174f76f9afd29d13fc52a319daae/accelerate-1.13.0.tar.gz", hash = "sha256:d631b4e0f5b3de4aff2d7e9e6857d164810dfc3237d54d017f075122d057b236", size = 402835 }
+sdist = { url = "https://files.pythonhosted.org/packages/ca/14/787e5498cd062640f0f3d92ef4ae4063174f76f9afd29d13fc52a319daae/accelerate-1.13.0.tar.gz", hash = "sha256:d631b4e0f5b3de4aff2d7e9e6857d164810dfc3237d54d017f075122d057b236", size = 402835, upload-time = "2026-03-04T19:34:12.359Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7e/46/02ac5e262d4af18054b3e922b2baedbb2a03289ee792162de60a865defc5/accelerate-1.13.0-py3-none-any.whl", hash = "sha256:cf1a3efb96c18f7b152eb0fa7490f3710b19c3f395699358f08decca2b8b62e0", size = 383744 },
+ { url = "https://files.pythonhosted.org/packages/7e/46/02ac5e262d4af18054b3e922b2baedbb2a03289ee792162de60a865defc5/accelerate-1.13.0-py3-none-any.whl", hash = "sha256:cf1a3efb96c18f7b152eb0fa7490f3710b19c3f395699358f08decca2b8b62e0", size = 383744, upload-time = "2026-03-04T19:34:10.313Z" },
]
[[package]]
name = "aiohappyeyeballs"
version = "2.6.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz", hash = "sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558", size = 22760 }
+sdist = { url = "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz", hash = "sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558", size = 22760, upload-time = "2025-03-12T01:42:48.764Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0f/15/5bf3b99495fb160b63f95972b81750f18f7f4e02ad051373b669d17d44f2/aiohappyeyeballs-2.6.1-py3-none-any.whl", hash = "sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8", size = 15265 },
+ { url = "https://files.pythonhosted.org/packages/0f/15/5bf3b99495fb160b63f95972b81750f18f7f4e02ad051373b669d17d44f2/aiohappyeyeballs-2.6.1-py3-none-any.whl", hash = "sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8", size = 15265, upload-time = "2025-03-12T01:42:47.083Z" },
]
[[package]]
@@ -66,25 +68,25 @@ dependencies = [
{ name = "propcache" },
{ name = "yarl" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/50/42/32cf8e7704ceb4481406eb87161349abb46a57fee3f008ba9cb610968646/aiohttp-3.13.3.tar.gz", hash = "sha256:a949eee43d3782f2daae4f4a2819b2cb9b0c5d3b7f7a927067cc84dafdbb9f88", size = 7844556 }
+sdist = { url = "https://files.pythonhosted.org/packages/50/42/32cf8e7704ceb4481406eb87161349abb46a57fee3f008ba9cb610968646/aiohttp-3.13.3.tar.gz", hash = "sha256:a949eee43d3782f2daae4f4a2819b2cb9b0c5d3b7f7a927067cc84dafdbb9f88", size = 7844556, upload-time = "2026-01-03T17:33:05.204Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a0/be/4fc11f202955a69e0db803a12a062b8379c970c7c84f4882b6da17337cc1/aiohttp-3.13.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b903a4dfee7d347e2d87697d0713be59e0b87925be030c9178c5faa58ea58d5c", size = 739732 },
- { url = "https://files.pythonhosted.org/packages/97/2c/621d5b851f94fa0bb7430d6089b3aa970a9d9b75196bc93bb624b0db237a/aiohttp-3.13.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a45530014d7a1e09f4a55f4f43097ba0fd155089372e105e4bff4ca76cb1b168", size = 494293 },
- { url = "https://files.pythonhosted.org/packages/5d/43/4be01406b78e1be8320bb8316dc9c42dbab553d281c40364e0f862d5661c/aiohttp-3.13.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:27234ef6d85c914f9efeb77ff616dbf4ad2380be0cda40b4db086ffc7ddd1b7d", size = 493533 },
- { url = "https://files.pythonhosted.org/packages/8d/a8/5a35dc56a06a2c90d4742cbf35294396907027f80eea696637945a106f25/aiohttp-3.13.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d32764c6c9aafb7fb55366a224756387cd50bfa720f32b88e0e6fa45b27dcf29", size = 1737839 },
- { url = "https://files.pythonhosted.org/packages/bf/62/4b9eeb331da56530bf2e198a297e5303e1c1ebdceeb00fe9b568a65c5a0c/aiohttp-3.13.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b1a6102b4d3ebc07dad44fbf07b45bb600300f15b552ddf1851b5390202ea2e3", size = 1703932 },
- { url = "https://files.pythonhosted.org/packages/7c/f6/af16887b5d419e6a367095994c0b1332d154f647e7dc2bd50e61876e8e3d/aiohttp-3.13.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c014c7ea7fb775dd015b2d3137378b7be0249a448a1612268b5a90c2d81de04d", size = 1771906 },
- { url = "https://files.pythonhosted.org/packages/ce/83/397c634b1bcc24292fa1e0c7822800f9f6569e32934bdeef09dae7992dfb/aiohttp-3.13.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2b8d8ddba8f95ba17582226f80e2de99c7a7948e66490ef8d947e272a93e9463", size = 1871020 },
- { url = "https://files.pythonhosted.org/packages/86/f6/a62cbbf13f0ac80a70f71b1672feba90fdb21fd7abd8dbf25c0105fb6fa3/aiohttp-3.13.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9ae8dd55c8e6c4257eae3a20fd2c8f41edaea5992ed67156642493b8daf3cecc", size = 1755181 },
- { url = "https://files.pythonhosted.org/packages/0a/87/20a35ad487efdd3fba93d5843efdfaa62d2f1479eaafa7453398a44faf13/aiohttp-3.13.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:01ad2529d4b5035578f5081606a465f3b814c542882804e2e8cda61adf5c71bf", size = 1561794 },
- { url = "https://files.pythonhosted.org/packages/de/95/8fd69a66682012f6716e1bc09ef8a1a2a91922c5725cb904689f112309c4/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bb4f7475e359992b580559e008c598091c45b5088f28614e855e42d39c2f1033", size = 1697900 },
- { url = "https://files.pythonhosted.org/packages/e5/66/7b94b3b5ba70e955ff597672dad1691333080e37f50280178967aff68657/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c19b90316ad3b24c69cd78d5c9b4f3aa4497643685901185b65166293d36a00f", size = 1728239 },
- { url = "https://files.pythonhosted.org/packages/47/71/6f72f77f9f7d74719692ab65a2a0252584bf8d5f301e2ecb4c0da734530a/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:96d604498a7c782cb15a51c406acaea70d8c027ee6b90c569baa6e7b93073679", size = 1740527 },
- { url = "https://files.pythonhosted.org/packages/fa/b4/75ec16cbbd5c01bdaf4a05b19e103e78d7ce1ef7c80867eb0ace42ff4488/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:084911a532763e9d3dd95adf78a78f4096cd5f58cdc18e6fdbc1b58417a45423", size = 1554489 },
- { url = "https://files.pythonhosted.org/packages/52/8f/bc518c0eea29f8406dcf7ed1f96c9b48e3bc3995a96159b3fc11f9e08321/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7a4a94eb787e606d0a09404b9c38c113d3b099d508021faa615d70a0131907ce", size = 1767852 },
- { url = "https://files.pythonhosted.org/packages/9d/f2/a07a75173124f31f11ea6f863dc44e6f09afe2bca45dd4e64979490deab1/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:87797e645d9d8e222e04160ee32aa06bc5c163e8499f24db719e7852ec23093a", size = 1722379 },
- { url = "https://files.pythonhosted.org/packages/3c/4a/1a3fee7c21350cac78e5c5cef711bac1b94feca07399f3d406972e2d8fcd/aiohttp-3.13.3-cp312-cp312-win32.whl", hash = "sha256:b04be762396457bef43f3597c991e192ee7da460a4953d7e647ee4b1c28e7046", size = 428253 },
- { url = "https://files.pythonhosted.org/packages/d9/b7/76175c7cb4eb73d91ad63c34e29fc4f77c9386bba4a65b53ba8e05ee3c39/aiohttp-3.13.3-cp312-cp312-win_amd64.whl", hash = "sha256:e3531d63d3bdfa7e3ac5e9b27b2dd7ec9df3206a98e0b3445fa906f233264c57", size = 455407 },
+ { url = "https://files.pythonhosted.org/packages/a0/be/4fc11f202955a69e0db803a12a062b8379c970c7c84f4882b6da17337cc1/aiohttp-3.13.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b903a4dfee7d347e2d87697d0713be59e0b87925be030c9178c5faa58ea58d5c", size = 739732, upload-time = "2026-01-03T17:30:14.23Z" },
+ { url = "https://files.pythonhosted.org/packages/97/2c/621d5b851f94fa0bb7430d6089b3aa970a9d9b75196bc93bb624b0db237a/aiohttp-3.13.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a45530014d7a1e09f4a55f4f43097ba0fd155089372e105e4bff4ca76cb1b168", size = 494293, upload-time = "2026-01-03T17:30:15.96Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/43/4be01406b78e1be8320bb8316dc9c42dbab553d281c40364e0f862d5661c/aiohttp-3.13.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:27234ef6d85c914f9efeb77ff616dbf4ad2380be0cda40b4db086ffc7ddd1b7d", size = 493533, upload-time = "2026-01-03T17:30:17.431Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/a8/5a35dc56a06a2c90d4742cbf35294396907027f80eea696637945a106f25/aiohttp-3.13.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d32764c6c9aafb7fb55366a224756387cd50bfa720f32b88e0e6fa45b27dcf29", size = 1737839, upload-time = "2026-01-03T17:30:19.422Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/62/4b9eeb331da56530bf2e198a297e5303e1c1ebdceeb00fe9b568a65c5a0c/aiohttp-3.13.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b1a6102b4d3ebc07dad44fbf07b45bb600300f15b552ddf1851b5390202ea2e3", size = 1703932, upload-time = "2026-01-03T17:30:21.756Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/f6/af16887b5d419e6a367095994c0b1332d154f647e7dc2bd50e61876e8e3d/aiohttp-3.13.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c014c7ea7fb775dd015b2d3137378b7be0249a448a1612268b5a90c2d81de04d", size = 1771906, upload-time = "2026-01-03T17:30:23.932Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/83/397c634b1bcc24292fa1e0c7822800f9f6569e32934bdeef09dae7992dfb/aiohttp-3.13.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2b8d8ddba8f95ba17582226f80e2de99c7a7948e66490ef8d947e272a93e9463", size = 1871020, upload-time = "2026-01-03T17:30:26Z" },
+ { url = "https://files.pythonhosted.org/packages/86/f6/a62cbbf13f0ac80a70f71b1672feba90fdb21fd7abd8dbf25c0105fb6fa3/aiohttp-3.13.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9ae8dd55c8e6c4257eae3a20fd2c8f41edaea5992ed67156642493b8daf3cecc", size = 1755181, upload-time = "2026-01-03T17:30:27.554Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/87/20a35ad487efdd3fba93d5843efdfaa62d2f1479eaafa7453398a44faf13/aiohttp-3.13.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:01ad2529d4b5035578f5081606a465f3b814c542882804e2e8cda61adf5c71bf", size = 1561794, upload-time = "2026-01-03T17:30:29.254Z" },
+ { url = "https://files.pythonhosted.org/packages/de/95/8fd69a66682012f6716e1bc09ef8a1a2a91922c5725cb904689f112309c4/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bb4f7475e359992b580559e008c598091c45b5088f28614e855e42d39c2f1033", size = 1697900, upload-time = "2026-01-03T17:30:31.033Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/66/7b94b3b5ba70e955ff597672dad1691333080e37f50280178967aff68657/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c19b90316ad3b24c69cd78d5c9b4f3aa4497643685901185b65166293d36a00f", size = 1728239, upload-time = "2026-01-03T17:30:32.703Z" },
+ { url = "https://files.pythonhosted.org/packages/47/71/6f72f77f9f7d74719692ab65a2a0252584bf8d5f301e2ecb4c0da734530a/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:96d604498a7c782cb15a51c406acaea70d8c027ee6b90c569baa6e7b93073679", size = 1740527, upload-time = "2026-01-03T17:30:34.695Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/b4/75ec16cbbd5c01bdaf4a05b19e103e78d7ce1ef7c80867eb0ace42ff4488/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:084911a532763e9d3dd95adf78a78f4096cd5f58cdc18e6fdbc1b58417a45423", size = 1554489, upload-time = "2026-01-03T17:30:36.864Z" },
+ { url = "https://files.pythonhosted.org/packages/52/8f/bc518c0eea29f8406dcf7ed1f96c9b48e3bc3995a96159b3fc11f9e08321/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7a4a94eb787e606d0a09404b9c38c113d3b099d508021faa615d70a0131907ce", size = 1767852, upload-time = "2026-01-03T17:30:39.433Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/f2/a07a75173124f31f11ea6f863dc44e6f09afe2bca45dd4e64979490deab1/aiohttp-3.13.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:87797e645d9d8e222e04160ee32aa06bc5c163e8499f24db719e7852ec23093a", size = 1722379, upload-time = "2026-01-03T17:30:41.081Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/4a/1a3fee7c21350cac78e5c5cef711bac1b94feca07399f3d406972e2d8fcd/aiohttp-3.13.3-cp312-cp312-win32.whl", hash = "sha256:b04be762396457bef43f3597c991e192ee7da460a4953d7e647ee4b1c28e7046", size = 428253, upload-time = "2026-01-03T17:30:42.644Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/b7/76175c7cb4eb73d91ad63c34e29fc4f77c9386bba4a65b53ba8e05ee3c39/aiohttp-3.13.3-cp312-cp312-win_amd64.whl", hash = "sha256:e3531d63d3bdfa7e3ac5e9b27b2dd7ec9df3206a98e0b3445fa906f233264c57", size = 455407, upload-time = "2026-01-03T17:30:44.195Z" },
]
[[package]]
@@ -95,18 +97,18 @@ dependencies = [
{ name = "frozenlist" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007 }
+sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007, upload-time = "2025-07-03T22:54:43.528Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490 },
+ { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490, upload-time = "2025-07-03T22:54:42.156Z" },
]
[[package]]
name = "aiosqlite"
version = "0.22.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/4e/8a/64761f4005f17809769d23e518d915db74e6310474e733e3593cfc854ef1/aiosqlite-0.22.1.tar.gz", hash = "sha256:043e0bd78d32888c0a9ca90fc788b38796843360c855a7262a532813133a0650", size = 14821 }
+sdist = { url = "https://files.pythonhosted.org/packages/4e/8a/64761f4005f17809769d23e518d915db74e6310474e733e3593cfc854ef1/aiosqlite-0.22.1.tar.gz", hash = "sha256:043e0bd78d32888c0a9ca90fc788b38796843360c855a7262a532813133a0650", size = 14821, upload-time = "2025-12-23T19:25:43.997Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/00/b7/e3bf5133d697a08128598c8d0abc5e16377b51465a33756de24fa7dee953/aiosqlite-0.22.1-py3-none-any.whl", hash = "sha256:21c002eb13823fad740196c5a2e9d8e62f6243bd9e7e4a1f87fb5e44ecb4fceb", size = 17405 },
+ { url = "https://files.pythonhosted.org/packages/00/b7/e3bf5133d697a08128598c8d0abc5e16377b51465a33756de24fa7dee953/aiosqlite-0.22.1-py3-none-any.whl", hash = "sha256:21c002eb13823fad740196c5a2e9d8e62f6243bd9e7e4a1f87fb5e44ecb4fceb", size = 17405, upload-time = "2025-12-23T19:25:42.139Z" },
]
[[package]]
@@ -118,27 +120,27 @@ dependencies = [
{ name = "sqlalchemy" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/94/13/8b084e0f2efb0275a1d534838844926f798bd766566b1375174e2448cd31/alembic-1.18.4.tar.gz", hash = "sha256:cb6e1fd84b6174ab8dbb2329f86d631ba9559dd78df550b57804d607672cedbc", size = 2056725 }
+sdist = { url = "https://files.pythonhosted.org/packages/94/13/8b084e0f2efb0275a1d534838844926f798bd766566b1375174e2448cd31/alembic-1.18.4.tar.gz", hash = "sha256:cb6e1fd84b6174ab8dbb2329f86d631ba9559dd78df550b57804d607672cedbc", size = 2056725, upload-time = "2026-02-10T16:00:47.195Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d2/29/6533c317b74f707ea28f8d633734dbda2119bbadfc61b2f3640ba835d0f7/alembic-1.18.4-py3-none-any.whl", hash = "sha256:a5ed4adcf6d8a4cb575f3d759f071b03cd6e5c7618eb796cb52497be25bfe19a", size = 263893 },
+ { url = "https://files.pythonhosted.org/packages/d2/29/6533c317b74f707ea28f8d633734dbda2119bbadfc61b2f3640ba835d0f7/alembic-1.18.4-py3-none-any.whl", hash = "sha256:a5ed4adcf6d8a4cb575f3d759f071b03cd6e5c7618eb796cb52497be25bfe19a", size = 263893, upload-time = "2026-02-10T16:00:49.997Z" },
]
[[package]]
name = "annotated-doc"
version = "0.0.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288 }
+sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303 },
+ { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" },
]
[[package]]
name = "annotated-types"
version = "0.7.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081 }
+sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643 },
+ { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" },
]
[[package]]
@@ -149,45 +151,45 @@ dependencies = [
{ name = "idna" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/96/f0/5eb65b2bb0d09ac6776f2eb54adee6abe8228ea05b20a5ad0e4945de8aac/anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703", size = 228685 }
+sdist = { url = "https://files.pythonhosted.org/packages/96/f0/5eb65b2bb0d09ac6776f2eb54adee6abe8228ea05b20a5ad0e4945de8aac/anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703", size = 228685, upload-time = "2026-01-06T11:45:21.246Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/38/0e/27be9fdef66e72d64c0cdc3cc2823101b80585f8119b5c112c2e8f5f7dab/anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c", size = 113592 },
+ { url = "https://files.pythonhosted.org/packages/38/0e/27be9fdef66e72d64c0cdc3cc2823101b80585f8119b5c112c2e8f5f7dab/anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c", size = 113592, upload-time = "2026-01-06T11:45:19.497Z" },
]
[[package]]
name = "appdirs"
version = "1.4.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40/appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41", size = 13470 }
+sdist = { url = "https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40/appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41", size = 13470, upload-time = "2020-05-11T07:59:51.037Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128", size = 9566 },
+ { url = "https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128", size = 9566, upload-time = "2020-05-11T07:59:49.499Z" },
]
[[package]]
name = "appnope"
version = "0.1.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/35/5d/752690df9ef5b76e169e68d6a129fa6d08a7100ca7f754c89495db3c6019/appnope-0.1.4.tar.gz", hash = "sha256:1de3860566df9caf38f01f86f65e0e13e379af54f9e4bee1e66b48f2efffd1ee", size = 4170 }
+sdist = { url = "https://files.pythonhosted.org/packages/35/5d/752690df9ef5b76e169e68d6a129fa6d08a7100ca7f754c89495db3c6019/appnope-0.1.4.tar.gz", hash = "sha256:1de3860566df9caf38f01f86f65e0e13e379af54f9e4bee1e66b48f2efffd1ee", size = 4170, upload-time = "2024-02-06T09:43:11.258Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/81/29/5ecc3a15d5a33e31b26c11426c45c501e439cb865d0bff96315d86443b78/appnope-0.1.4-py2.py3-none-any.whl", hash = "sha256:502575ee11cd7a28c0205f379b525beefebab9d161b7c964670864014ed7213c", size = 4321 },
+ { url = "https://files.pythonhosted.org/packages/81/29/5ecc3a15d5a33e31b26c11426c45c501e439cb865d0bff96315d86443b78/appnope-0.1.4-py2.py3-none-any.whl", hash = "sha256:502575ee11cd7a28c0205f379b525beefebab9d161b7c964670864014ed7213c", size = 4321, upload-time = "2024-02-06T09:43:09.663Z" },
]
[[package]]
name = "asgiref"
version = "3.11.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/63/40/f03da1264ae8f7cfdbf9146542e5e7e8100a4c66ab48e791df9a03d3f6c0/asgiref-3.11.1.tar.gz", hash = "sha256:5f184dc43b7e763efe848065441eac62229c9f7b0475f41f80e207a114eda4ce", size = 38550 }
+sdist = { url = "https://files.pythonhosted.org/packages/63/40/f03da1264ae8f7cfdbf9146542e5e7e8100a4c66ab48e791df9a03d3f6c0/asgiref-3.11.1.tar.gz", hash = "sha256:5f184dc43b7e763efe848065441eac62229c9f7b0475f41f80e207a114eda4ce", size = 38550, upload-time = "2026-02-03T13:30:14.33Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5c/0a/a72d10ed65068e115044937873362e6e32fab1b7dce0046aeb224682c989/asgiref-3.11.1-py3-none-any.whl", hash = "sha256:e8667a091e69529631969fd45dc268fa79b99c92c5fcdda727757e52146ec133", size = 24345 },
+ { url = "https://files.pythonhosted.org/packages/5c/0a/a72d10ed65068e115044937873362e6e32fab1b7dce0046aeb224682c989/asgiref-3.11.1-py3-none-any.whl", hash = "sha256:e8667a091e69529631969fd45dc268fa79b99c92c5fcdda727757e52146ec133", size = 24345, upload-time = "2026-02-03T13:30:13.039Z" },
]
[[package]]
name = "asttokens"
version = "3.0.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/be/a5/8e3f9b6771b0b408517c82d97aed8f2036509bc247d46114925e32fe33f0/asttokens-3.0.1.tar.gz", hash = "sha256:71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7", size = 62308 }
+sdist = { url = "https://files.pythonhosted.org/packages/be/a5/8e3f9b6771b0b408517c82d97aed8f2036509bc247d46114925e32fe33f0/asttokens-3.0.1.tar.gz", hash = "sha256:71a4ee5de0bde6a31d64f6b13f2293ac190344478f081c3d1bccfcf5eacb0cb7", size = 62308, upload-time = "2025-11-15T16:43:48.578Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d2/39/e7eaf1799466a4aef85b6a4fe7bd175ad2b1c6345066aa33f1f58d4b18d0/asttokens-3.0.1-py3-none-any.whl", hash = "sha256:15a3ebc0f43c2d0a50eeafea25e19046c68398e487b9f1f5b517f7c0f40f976a", size = 27047 },
+ { url = "https://files.pythonhosted.org/packages/d2/39/e7eaf1799466a4aef85b6a4fe7bd175ad2b1c6345066aa33f1f58d4b18d0/asttokens-3.0.1-py3-none-any.whl", hash = "sha256:15a3ebc0f43c2d0a50eeafea25e19046c68398e487b9f1f5b517f7c0f40f976a", size = 27047, upload-time = "2025-11-15T16:43:16.109Z" },
]
[[package]]
@@ -197,18 +199,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ff/67/7ea59c3e69eaeee42e7fc91a5be67ca5849c8979acac2b920249760c6af2/asyncer-0.0.8.tar.gz", hash = "sha256:a589d980f57e20efb07ed91d0dbe67f1d2fd343e7142c66d3a099f05c620739c", size = 18217 }
+sdist = { url = "https://files.pythonhosted.org/packages/ff/67/7ea59c3e69eaeee42e7fc91a5be67ca5849c8979acac2b920249760c6af2/asyncer-0.0.8.tar.gz", hash = "sha256:a589d980f57e20efb07ed91d0dbe67f1d2fd343e7142c66d3a099f05c620739c", size = 18217, upload-time = "2024-08-24T23:15:36.449Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8a/04/15b6ca6b7842eda2748bda0a0af73f2d054e9344320f8bba01f994294bcb/asyncer-0.0.8-py3-none-any.whl", hash = "sha256:5920d48fc99c8f8f0f1576e1882f5022885589c5fcbc46ce4224ec3e53776eeb", size = 9209 },
+ { url = "https://files.pythonhosted.org/packages/8a/04/15b6ca6b7842eda2748bda0a0af73f2d054e9344320f8bba01f994294bcb/asyncer-0.0.8-py3-none-any.whl", hash = "sha256:5920d48fc99c8f8f0f1576e1882f5022885589c5fcbc46ce4224ec3e53776eeb", size = 9209, upload-time = "2024-08-24T23:15:35.317Z" },
]
[[package]]
name = "attrs"
version = "25.4.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/6b/5c/685e6633917e101e5dcb62b9dd76946cbb57c26e133bae9e0cd36033c0a9/attrs-25.4.0.tar.gz", hash = "sha256:16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11", size = 934251 }
+sdist = { url = "https://files.pythonhosted.org/packages/6b/5c/685e6633917e101e5dcb62b9dd76946cbb57c26e133bae9e0cd36033c0a9/attrs-25.4.0.tar.gz", hash = "sha256:16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11", size = 934251, upload-time = "2025-10-06T13:54:44.725Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3a/2a/7cc015f5b9f5db42b7d48157e23356022889fc354a2813c15934b7cb5c0e/attrs-25.4.0-py3-none-any.whl", hash = "sha256:adcf7e2a1fb3b36ac48d97835bb6d8ade15b8dcce26aba8bf1d14847b57a3373", size = 67615 },
+ { url = "https://files.pythonhosted.org/packages/3a/2a/7cc015f5b9f5db42b7d48157e23356022889fc354a2813c15934b7cb5c0e/attrs-25.4.0-py3-none-any.whl", hash = "sha256:adcf7e2a1fb3b36ac48d97835bb6d8ade15b8dcce26aba8bf1d14847b57a3373", size = 67615, upload-time = "2025-10-06T13:54:43.17Z" },
]
[[package]]
@@ -218,18 +220,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "cryptography" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/af/98/00d3dd826d46959ad8e32af2dbb2398868fd9fd0683c26e56d0789bd0e68/authlib-1.6.9.tar.gz", hash = "sha256:d8f2421e7e5980cc1ddb4e32d3f5fa659cfaf60d8eaf3281ebed192e4ab74f04", size = 165134 }
+sdist = { url = "https://files.pythonhosted.org/packages/af/98/00d3dd826d46959ad8e32af2dbb2398868fd9fd0683c26e56d0789bd0e68/authlib-1.6.9.tar.gz", hash = "sha256:d8f2421e7e5980cc1ddb4e32d3f5fa659cfaf60d8eaf3281ebed192e4ab74f04", size = 165134, upload-time = "2026-03-02T07:44:01.998Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/53/23/b65f568ed0c22f1efacb744d2db1a33c8068f384b8c9b482b52ebdbc3ef6/authlib-1.6.9-py2.py3-none-any.whl", hash = "sha256:f08b4c14e08f0861dc18a32357b33fbcfd2ea86cfe3fe149484b4d764c4a0ac3", size = 244197 },
+ { url = "https://files.pythonhosted.org/packages/53/23/b65f568ed0c22f1efacb744d2db1a33c8068f384b8c9b482b52ebdbc3ef6/authlib-1.6.9-py2.py3-none-any.whl", hash = "sha256:f08b4c14e08f0861dc18a32357b33fbcfd2ea86cfe3fe149484b4d764c4a0ac3", size = 244197, upload-time = "2026-03-02T07:44:00.307Z" },
]
[[package]]
name = "backoff"
version = "2.2.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/47/d7/5bbeb12c44d7c4f2fb5b56abce497eb5ed9f34d85701de869acedd602619/backoff-2.2.1.tar.gz", hash = "sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba", size = 17001 }
+sdist = { url = "https://files.pythonhosted.org/packages/47/d7/5bbeb12c44d7c4f2fb5b56abce497eb5ed9f34d85701de869acedd602619/backoff-2.2.1.tar.gz", hash = "sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba", size = 17001, upload-time = "2022-10-05T19:19:32.061Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/df/73/b6e24bd22e6720ca8ee9a85a0c4a2971af8497d8f3193fa05390cbd46e09/backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8", size = 15148 },
+ { url = "https://files.pythonhosted.org/packages/df/73/b6e24bd22e6720ca8ee9a85a0c4a2971af8497d8f3193fa05390cbd46e09/backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8", size = 15148, upload-time = "2022-10-05T19:19:30.546Z" },
]
[[package]]
@@ -244,47 +246,47 @@ dependencies = [
{ name = "platformdirs" },
{ name = "pydantic" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/47/5d/54c79aaaa9aa1278af24cae98d81d6ef635ad840f046bc2ccb5041ddeb1b/banks-2.4.1.tar.gz", hash = "sha256:8cbf1553f14c44d4f7e9c2064ad9212ce53ee4da000b2f8308d548b60db56655", size = 188033 }
+sdist = { url = "https://files.pythonhosted.org/packages/47/5d/54c79aaaa9aa1278af24cae98d81d6ef635ad840f046bc2ccb5041ddeb1b/banks-2.4.1.tar.gz", hash = "sha256:8cbf1553f14c44d4f7e9c2064ad9212ce53ee4da000b2f8308d548b60db56655", size = 188033, upload-time = "2026-02-17T11:21:14.855Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b8/5a/f38b49e8b225b0c774e97c9495e52ab9ccdf6d82bde68c513bd736820eb2/banks-2.4.1-py3-none-any.whl", hash = "sha256:40e6d9b6e9b69fb403fa31f2853b3297e4919c1b6f2179b2119d2d4473c6ed13", size = 35032 },
+ { url = "https://files.pythonhosted.org/packages/b8/5a/f38b49e8b225b0c774e97c9495e52ab9ccdf6d82bde68c513bd736820eb2/banks-2.4.1-py3-none-any.whl", hash = "sha256:40e6d9b6e9b69fb403fa31f2853b3297e4919c1b6f2179b2119d2d4473c6ed13", size = 35032, upload-time = "2026-02-17T11:21:13.236Z" },
]
[[package]]
name = "bcrypt"
version = "5.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d4/36/3329e2518d70ad8e2e5817d5a4cac6bba05a47767ec416c7d020a965f408/bcrypt-5.0.0.tar.gz", hash = "sha256:f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd", size = 25386 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/84/29/6237f151fbfe295fe3e074ecc6d44228faa1e842a81f6d34a02937ee1736/bcrypt-5.0.0-cp38-abi3-macosx_10_12_universal2.whl", hash = "sha256:fc746432b951e92b58317af8e0ca746efe93e66555f1b40888865ef5bf56446b", size = 494553 },
- { url = "https://files.pythonhosted.org/packages/45/b6/4c1205dde5e464ea3bd88e8742e19f899c16fa8916fb8510a851fae985b5/bcrypt-5.0.0-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c2388ca94ffee269b6038d48747f4ce8df0ffbea43f31abfa18ac72f0218effb", size = 275009 },
- { url = "https://files.pythonhosted.org/packages/3b/71/427945e6ead72ccffe77894b2655b695ccf14ae1866cd977e185d606dd2f/bcrypt-5.0.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:560ddb6ec730386e7b3b26b8b4c88197aaed924430e7b74666a586ac997249ef", size = 278029 },
- { url = "https://files.pythonhosted.org/packages/17/72/c344825e3b83c5389a369c8a8e58ffe1480b8a699f46c127c34580c4666b/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:d79e5c65dcc9af213594d6f7f1fa2c98ad3fc10431e7aa53c176b441943efbdd", size = 275907 },
- { url = "https://files.pythonhosted.org/packages/0b/7e/d4e47d2df1641a36d1212e5c0514f5291e1a956a7749f1e595c07a972038/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2b732e7d388fa22d48920baa267ba5d97cca38070b69c0e2d37087b381c681fd", size = 296500 },
- { url = "https://files.pythonhosted.org/packages/0f/c3/0ae57a68be2039287ec28bc463b82e4b8dc23f9d12c0be331f4782e19108/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:0c8e093ea2532601a6f686edbc2c6b2ec24131ff5c52f7610dd64fa4553b5464", size = 278412 },
- { url = "https://files.pythonhosted.org/packages/45/2b/77424511adb11e6a99e3a00dcc7745034bee89036ad7d7e255a7e47be7d8/bcrypt-5.0.0-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:5b1589f4839a0899c146e8892efe320c0fa096568abd9b95593efac50a87cb75", size = 275486 },
- { url = "https://files.pythonhosted.org/packages/43/0a/405c753f6158e0f3f14b00b462d8bca31296f7ecfc8fc8bc7919c0c7d73a/bcrypt-5.0.0-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:89042e61b5e808b67daf24a434d89bab164d4de1746b37a8d173b6b14f3db9ff", size = 277940 },
- { url = "https://files.pythonhosted.org/packages/62/83/b3efc285d4aadc1fa83db385ec64dcfa1707e890eb42f03b127d66ac1b7b/bcrypt-5.0.0-cp38-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:e3cf5b2560c7b5a142286f69bde914494b6d8f901aaa71e453078388a50881c4", size = 310776 },
- { url = "https://files.pythonhosted.org/packages/95/7d/47ee337dacecde6d234890fe929936cb03ebc4c3a7460854bbd9c97780b8/bcrypt-5.0.0-cp38-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:f632fd56fc4e61564f78b46a2269153122db34988e78b6be8b32d28507b7eaeb", size = 312922 },
- { url = "https://files.pythonhosted.org/packages/d6/3a/43d494dfb728f55f4e1cf8fd435d50c16a2d75493225b54c8d06122523c6/bcrypt-5.0.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:801cad5ccb6b87d1b430f183269b94c24f248dddbbc5c1f78b6ed231743e001c", size = 341367 },
- { url = "https://files.pythonhosted.org/packages/55/ab/a0727a4547e383e2e22a630e0f908113db37904f58719dc48d4622139b5c/bcrypt-5.0.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:3cf67a804fc66fc217e6914a5635000259fbbbb12e78a99488e4d5ba445a71eb", size = 359187 },
- { url = "https://files.pythonhosted.org/packages/1b/bb/461f352fdca663524b4643d8b09e8435b4990f17fbf4fea6bc2a90aa0cc7/bcrypt-5.0.0-cp38-abi3-win32.whl", hash = "sha256:3abeb543874b2c0524ff40c57a4e14e5d3a66ff33fb423529c88f180fd756538", size = 153752 },
- { url = "https://files.pythonhosted.org/packages/41/aa/4190e60921927b7056820291f56fc57d00d04757c8b316b2d3c0d1d6da2c/bcrypt-5.0.0-cp38-abi3-win_amd64.whl", hash = "sha256:35a77ec55b541e5e583eb3436ffbbf53b0ffa1fa16ca6782279daf95d146dcd9", size = 150881 },
- { url = "https://files.pythonhosted.org/packages/54/12/cd77221719d0b39ac0b55dbd39358db1cd1246e0282e104366ebbfb8266a/bcrypt-5.0.0-cp38-abi3-win_arm64.whl", hash = "sha256:cde08734f12c6a4e28dc6755cd11d3bdfea608d93d958fffbe95a7026ebe4980", size = 144931 },
- { url = "https://files.pythonhosted.org/packages/5d/ba/2af136406e1c3839aea9ecadc2f6be2bcd1eff255bd451dd39bcf302c47a/bcrypt-5.0.0-cp39-abi3-macosx_10_12_universal2.whl", hash = "sha256:0c418ca99fd47e9c59a301744d63328f17798b5947b0f791e9af3c1c499c2d0a", size = 495313 },
- { url = "https://files.pythonhosted.org/packages/ac/ee/2f4985dbad090ace5ad1f7dd8ff94477fe089b5fab2040bd784a3d5f187b/bcrypt-5.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ddb4e1500f6efdd402218ffe34d040a1196c072e07929b9820f363a1fd1f4191", size = 275290 },
- { url = "https://files.pythonhosted.org/packages/e4/6e/b77ade812672d15cf50842e167eead80ac3514f3beacac8902915417f8b7/bcrypt-5.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7aeef54b60ceddb6f30ee3db090351ecf0d40ec6e2abf41430997407a46d2254", size = 278253 },
- { url = "https://files.pythonhosted.org/packages/36/c4/ed00ed32f1040f7990dac7115f82273e3c03da1e1a1587a778d8cea496d8/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f0ce778135f60799d89c9693b9b398819d15f1921ba15fe719acb3178215a7db", size = 276084 },
- { url = "https://files.pythonhosted.org/packages/e7/c4/fa6e16145e145e87f1fa351bbd54b429354fd72145cd3d4e0c5157cf4c70/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a71f70ee269671460b37a449f5ff26982a6f2ba493b3eabdd687b4bf35f875ac", size = 297185 },
- { url = "https://files.pythonhosted.org/packages/24/b4/11f8a31d8b67cca3371e046db49baa7c0594d71eb40ac8121e2fc0888db0/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f8429e1c410b4073944f03bd778a9e066e7fad723564a52ff91841d278dfc822", size = 278656 },
- { url = "https://files.pythonhosted.org/packages/ac/31/79f11865f8078e192847d2cb526e3fa27c200933c982c5b2869720fa5fce/bcrypt-5.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:edfcdcedd0d0f05850c52ba3127b1fce70b9f89e0fe5ff16517df7e81fa3cbb8", size = 275662 },
- { url = "https://files.pythonhosted.org/packages/d4/8d/5e43d9584b3b3591a6f9b68f755a4da879a59712981ef5ad2a0ac1379f7a/bcrypt-5.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:611f0a17aa4a25a69362dcc299fda5c8a3d4f160e2abb3831041feb77393a14a", size = 278240 },
- { url = "https://files.pythonhosted.org/packages/89/48/44590e3fc158620f680a978aafe8f87a4c4320da81ed11552f0323aa9a57/bcrypt-5.0.0-cp39-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:db99dca3b1fdc3db87d7c57eac0c82281242d1eabf19dcb8a6b10eb29a2e72d1", size = 311152 },
- { url = "https://files.pythonhosted.org/packages/5f/85/e4fbfc46f14f47b0d20493669a625da5827d07e8a88ee460af6cd9768b44/bcrypt-5.0.0-cp39-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:5feebf85a9cefda32966d8171f5db7e3ba964b77fdfe31919622256f80f9cf42", size = 313284 },
- { url = "https://files.pythonhosted.org/packages/25/ae/479f81d3f4594456a01ea2f05b132a519eff9ab5768a70430fa1132384b1/bcrypt-5.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:3ca8a166b1140436e058298a34d88032ab62f15aae1c598580333dc21d27ef10", size = 341643 },
- { url = "https://files.pythonhosted.org/packages/df/d2/36a086dee1473b14276cd6ea7f61aef3b2648710b5d7f1c9e032c29b859f/bcrypt-5.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:61afc381250c3182d9078551e3ac3a41da14154fbff647ddf52a769f588c4172", size = 359698 },
- { url = "https://files.pythonhosted.org/packages/c0/f6/688d2cd64bfd0b14d805ddb8a565e11ca1fb0fd6817175d58b10052b6d88/bcrypt-5.0.0-cp39-abi3-win32.whl", hash = "sha256:64d7ce196203e468c457c37ec22390f1a61c85c6f0b8160fd752940ccfb3a683", size = 153725 },
- { url = "https://files.pythonhosted.org/packages/9f/b9/9d9a641194a730bda138b3dfe53f584d61c58cd5230e37566e83ec2ffa0d/bcrypt-5.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:64ee8434b0da054d830fa8e89e1c8bf30061d539044a39524ff7dec90481e5c2", size = 150912 },
- { url = "https://files.pythonhosted.org/packages/27/44/d2ef5e87509158ad2187f4dd0852df80695bb1ee0cfe0a684727b01a69e0/bcrypt-5.0.0-cp39-abi3-win_arm64.whl", hash = "sha256:f2347d3534e76bf50bca5500989d6c1d05ed64b440408057a37673282c654927", size = 144953 },
+sdist = { url = "https://files.pythonhosted.org/packages/d4/36/3329e2518d70ad8e2e5817d5a4cac6bba05a47767ec416c7d020a965f408/bcrypt-5.0.0.tar.gz", hash = "sha256:f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd", size = 25386, upload-time = "2025-09-25T19:50:47.829Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/84/29/6237f151fbfe295fe3e074ecc6d44228faa1e842a81f6d34a02937ee1736/bcrypt-5.0.0-cp38-abi3-macosx_10_12_universal2.whl", hash = "sha256:fc746432b951e92b58317af8e0ca746efe93e66555f1b40888865ef5bf56446b", size = 494553, upload-time = "2025-09-25T19:49:49.006Z" },
+ { url = "https://files.pythonhosted.org/packages/45/b6/4c1205dde5e464ea3bd88e8742e19f899c16fa8916fb8510a851fae985b5/bcrypt-5.0.0-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c2388ca94ffee269b6038d48747f4ce8df0ffbea43f31abfa18ac72f0218effb", size = 275009, upload-time = "2025-09-25T19:49:50.581Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/71/427945e6ead72ccffe77894b2655b695ccf14ae1866cd977e185d606dd2f/bcrypt-5.0.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:560ddb6ec730386e7b3b26b8b4c88197aaed924430e7b74666a586ac997249ef", size = 278029, upload-time = "2025-09-25T19:49:52.533Z" },
+ { url = "https://files.pythonhosted.org/packages/17/72/c344825e3b83c5389a369c8a8e58ffe1480b8a699f46c127c34580c4666b/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:d79e5c65dcc9af213594d6f7f1fa2c98ad3fc10431e7aa53c176b441943efbdd", size = 275907, upload-time = "2025-09-25T19:49:54.709Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/7e/d4e47d2df1641a36d1212e5c0514f5291e1a956a7749f1e595c07a972038/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2b732e7d388fa22d48920baa267ba5d97cca38070b69c0e2d37087b381c681fd", size = 296500, upload-time = "2025-09-25T19:49:56.013Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/c3/0ae57a68be2039287ec28bc463b82e4b8dc23f9d12c0be331f4782e19108/bcrypt-5.0.0-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:0c8e093ea2532601a6f686edbc2c6b2ec24131ff5c52f7610dd64fa4553b5464", size = 278412, upload-time = "2025-09-25T19:49:57.356Z" },
+ { url = "https://files.pythonhosted.org/packages/45/2b/77424511adb11e6a99e3a00dcc7745034bee89036ad7d7e255a7e47be7d8/bcrypt-5.0.0-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:5b1589f4839a0899c146e8892efe320c0fa096568abd9b95593efac50a87cb75", size = 275486, upload-time = "2025-09-25T19:49:59.116Z" },
+ { url = "https://files.pythonhosted.org/packages/43/0a/405c753f6158e0f3f14b00b462d8bca31296f7ecfc8fc8bc7919c0c7d73a/bcrypt-5.0.0-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:89042e61b5e808b67daf24a434d89bab164d4de1746b37a8d173b6b14f3db9ff", size = 277940, upload-time = "2025-09-25T19:50:00.869Z" },
+ { url = "https://files.pythonhosted.org/packages/62/83/b3efc285d4aadc1fa83db385ec64dcfa1707e890eb42f03b127d66ac1b7b/bcrypt-5.0.0-cp38-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:e3cf5b2560c7b5a142286f69bde914494b6d8f901aaa71e453078388a50881c4", size = 310776, upload-time = "2025-09-25T19:50:02.393Z" },
+ { url = "https://files.pythonhosted.org/packages/95/7d/47ee337dacecde6d234890fe929936cb03ebc4c3a7460854bbd9c97780b8/bcrypt-5.0.0-cp38-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:f632fd56fc4e61564f78b46a2269153122db34988e78b6be8b32d28507b7eaeb", size = 312922, upload-time = "2025-09-25T19:50:04.232Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/3a/43d494dfb728f55f4e1cf8fd435d50c16a2d75493225b54c8d06122523c6/bcrypt-5.0.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:801cad5ccb6b87d1b430f183269b94c24f248dddbbc5c1f78b6ed231743e001c", size = 341367, upload-time = "2025-09-25T19:50:05.559Z" },
+ { url = "https://files.pythonhosted.org/packages/55/ab/a0727a4547e383e2e22a630e0f908113db37904f58719dc48d4622139b5c/bcrypt-5.0.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:3cf67a804fc66fc217e6914a5635000259fbbbb12e78a99488e4d5ba445a71eb", size = 359187, upload-time = "2025-09-25T19:50:06.916Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/bb/461f352fdca663524b4643d8b09e8435b4990f17fbf4fea6bc2a90aa0cc7/bcrypt-5.0.0-cp38-abi3-win32.whl", hash = "sha256:3abeb543874b2c0524ff40c57a4e14e5d3a66ff33fb423529c88f180fd756538", size = 153752, upload-time = "2025-09-25T19:50:08.515Z" },
+ { url = "https://files.pythonhosted.org/packages/41/aa/4190e60921927b7056820291f56fc57d00d04757c8b316b2d3c0d1d6da2c/bcrypt-5.0.0-cp38-abi3-win_amd64.whl", hash = "sha256:35a77ec55b541e5e583eb3436ffbbf53b0ffa1fa16ca6782279daf95d146dcd9", size = 150881, upload-time = "2025-09-25T19:50:09.742Z" },
+ { url = "https://files.pythonhosted.org/packages/54/12/cd77221719d0b39ac0b55dbd39358db1cd1246e0282e104366ebbfb8266a/bcrypt-5.0.0-cp38-abi3-win_arm64.whl", hash = "sha256:cde08734f12c6a4e28dc6755cd11d3bdfea608d93d958fffbe95a7026ebe4980", size = 144931, upload-time = "2025-09-25T19:50:11.016Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/ba/2af136406e1c3839aea9ecadc2f6be2bcd1eff255bd451dd39bcf302c47a/bcrypt-5.0.0-cp39-abi3-macosx_10_12_universal2.whl", hash = "sha256:0c418ca99fd47e9c59a301744d63328f17798b5947b0f791e9af3c1c499c2d0a", size = 495313, upload-time = "2025-09-25T19:50:12.309Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/ee/2f4985dbad090ace5ad1f7dd8ff94477fe089b5fab2040bd784a3d5f187b/bcrypt-5.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ddb4e1500f6efdd402218ffe34d040a1196c072e07929b9820f363a1fd1f4191", size = 275290, upload-time = "2025-09-25T19:50:13.673Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/6e/b77ade812672d15cf50842e167eead80ac3514f3beacac8902915417f8b7/bcrypt-5.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7aeef54b60ceddb6f30ee3db090351ecf0d40ec6e2abf41430997407a46d2254", size = 278253, upload-time = "2025-09-25T19:50:15.089Z" },
+ { url = "https://files.pythonhosted.org/packages/36/c4/ed00ed32f1040f7990dac7115f82273e3c03da1e1a1587a778d8cea496d8/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f0ce778135f60799d89c9693b9b398819d15f1921ba15fe719acb3178215a7db", size = 276084, upload-time = "2025-09-25T19:50:16.699Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/c4/fa6e16145e145e87f1fa351bbd54b429354fd72145cd3d4e0c5157cf4c70/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a71f70ee269671460b37a449f5ff26982a6f2ba493b3eabdd687b4bf35f875ac", size = 297185, upload-time = "2025-09-25T19:50:18.525Z" },
+ { url = "https://files.pythonhosted.org/packages/24/b4/11f8a31d8b67cca3371e046db49baa7c0594d71eb40ac8121e2fc0888db0/bcrypt-5.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:f8429e1c410b4073944f03bd778a9e066e7fad723564a52ff91841d278dfc822", size = 278656, upload-time = "2025-09-25T19:50:19.809Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/31/79f11865f8078e192847d2cb526e3fa27c200933c982c5b2869720fa5fce/bcrypt-5.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:edfcdcedd0d0f05850c52ba3127b1fce70b9f89e0fe5ff16517df7e81fa3cbb8", size = 275662, upload-time = "2025-09-25T19:50:21.567Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/8d/5e43d9584b3b3591a6f9b68f755a4da879a59712981ef5ad2a0ac1379f7a/bcrypt-5.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:611f0a17aa4a25a69362dcc299fda5c8a3d4f160e2abb3831041feb77393a14a", size = 278240, upload-time = "2025-09-25T19:50:23.305Z" },
+ { url = "https://files.pythonhosted.org/packages/89/48/44590e3fc158620f680a978aafe8f87a4c4320da81ed11552f0323aa9a57/bcrypt-5.0.0-cp39-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:db99dca3b1fdc3db87d7c57eac0c82281242d1eabf19dcb8a6b10eb29a2e72d1", size = 311152, upload-time = "2025-09-25T19:50:24.597Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/85/e4fbfc46f14f47b0d20493669a625da5827d07e8a88ee460af6cd9768b44/bcrypt-5.0.0-cp39-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:5feebf85a9cefda32966d8171f5db7e3ba964b77fdfe31919622256f80f9cf42", size = 313284, upload-time = "2025-09-25T19:50:26.268Z" },
+ { url = "https://files.pythonhosted.org/packages/25/ae/479f81d3f4594456a01ea2f05b132a519eff9ab5768a70430fa1132384b1/bcrypt-5.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:3ca8a166b1140436e058298a34d88032ab62f15aae1c598580333dc21d27ef10", size = 341643, upload-time = "2025-09-25T19:50:28.02Z" },
+ { url = "https://files.pythonhosted.org/packages/df/d2/36a086dee1473b14276cd6ea7f61aef3b2648710b5d7f1c9e032c29b859f/bcrypt-5.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:61afc381250c3182d9078551e3ac3a41da14154fbff647ddf52a769f588c4172", size = 359698, upload-time = "2025-09-25T19:50:31.347Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/f6/688d2cd64bfd0b14d805ddb8a565e11ca1fb0fd6817175d58b10052b6d88/bcrypt-5.0.0-cp39-abi3-win32.whl", hash = "sha256:64d7ce196203e468c457c37ec22390f1a61c85c6f0b8160fd752940ccfb3a683", size = 153725, upload-time = "2025-09-25T19:50:34.384Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/b9/9d9a641194a730bda138b3dfe53f584d61c58cd5230e37566e83ec2ffa0d/bcrypt-5.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:64ee8434b0da054d830fa8e89e1c8bf30061d539044a39524ff7dec90481e5c2", size = 150912, upload-time = "2025-09-25T19:50:35.69Z" },
+ { url = "https://files.pythonhosted.org/packages/27/44/d2ef5e87509158ad2187f4dd0852df80695bb1ee0cfe0a684727b01a69e0/bcrypt-5.0.0-cp39-abi3-win_arm64.whl", hash = "sha256:f2347d3534e76bf50bca5500989d6c1d05ed64b440408057a37673282c654927", size = 144953, upload-time = "2025-09-25T19:50:37.32Z" },
]
[[package]]
@@ -295,18 +297,18 @@ dependencies = [
{ name = "soupsieve" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c3/b0/1c6a16426d389813b48d95e26898aff79abbde42ad353958ad95cc8c9b21/beautifulsoup4-4.14.3.tar.gz", hash = "sha256:6292b1c5186d356bba669ef9f7f051757099565ad9ada5dd630bd9de5fa7fb86", size = 627737 }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/b0/1c6a16426d389813b48d95e26898aff79abbde42ad353958ad95cc8c9b21/beautifulsoup4-4.14.3.tar.gz", hash = "sha256:6292b1c5186d356bba669ef9f7f051757099565ad9ada5dd630bd9de5fa7fb86", size = 627737, upload-time = "2025-11-30T15:08:26.084Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1a/39/47f9197bdd44df24d67ac8893641e16f386c984a0619ef2ee4c51fbbc019/beautifulsoup4-4.14.3-py3-none-any.whl", hash = "sha256:0918bfe44902e6ad8d57732ba310582e98da931428d231a5ecb9e7c703a735bb", size = 107721 },
+ { url = "https://files.pythonhosted.org/packages/1a/39/47f9197bdd44df24d67ac8893641e16f386c984a0619ef2ee4c51fbbc019/beautifulsoup4-4.14.3-py3-none-any.whl", hash = "sha256:0918bfe44902e6ad8d57732ba310582e98da931428d231a5ecb9e7c703a735bb", size = 107721, upload-time = "2025-11-30T15:08:24.087Z" },
]
[[package]]
name = "blinker"
version = "1.9.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/21/28/9b3f50ce0e048515135495f198351908d99540d69bfdc8c1d15b73dc55ce/blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf", size = 22460 }
+sdist = { url = "https://files.pythonhosted.org/packages/21/28/9b3f50ce0e048515135495f198351908d99540d69bfdc8c1d15b73dc55ce/blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf", size = 22460, upload-time = "2024-11-08T17:25:47.436Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38b9b52277f75bef262d8908e60d957e13c/blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc", size = 8458 },
+ { url = "https://files.pythonhosted.org/packages/10/cb/f2ad4230dc2eb1a74edf38f1a38b9b52277f75bef262d8908e60d957e13c/blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc", size = 8458, upload-time = "2024-11-08T17:25:46.184Z" },
]
[[package]]
@@ -318,9 +320,9 @@ dependencies = [
{ name = "jmespath" },
{ name = "s3transfer" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7f/2a/33d5d4b16fd97dfd629421ebed2456392eae1553cc401d9f86010c18065e/boto3-1.42.63.tar.gz", hash = "sha256:cd008cfd0d7ea30f1c5e22daf0998c55b7c6c68cb68eea05110e33fe641173d5", size = 112778 }
+sdist = { url = "https://files.pythonhosted.org/packages/7f/2a/33d5d4b16fd97dfd629421ebed2456392eae1553cc401d9f86010c18065e/boto3-1.42.63.tar.gz", hash = "sha256:cd008cfd0d7ea30f1c5e22daf0998c55b7c6c68cb68eea05110e33fe641173d5", size = 112778, upload-time = "2026-03-06T22:47:55.96Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f5/19/f1d8d2b24871d3d0ccb2cbd0b0cb64a3396d439384bd9643d2c25c641b84/boto3-1.42.63-py3-none-any.whl", hash = "sha256:d502a89a0acc701692ae020d15981f2a82e9eb3485acc651cfd0cf1a3afe79ee", size = 140554 },
+ { url = "https://files.pythonhosted.org/packages/f5/19/f1d8d2b24871d3d0ccb2cbd0b0cb64a3396d439384bd9643d2c25c641b84/boto3-1.42.63-py3-none-any.whl", hash = "sha256:d502a89a0acc701692ae020d15981f2a82e9eb3485acc651cfd0cf1a3afe79ee", size = 140554, upload-time = "2026-03-06T22:47:53.463Z" },
]
[[package]]
@@ -332,9 +334,9 @@ dependencies = [
{ name = "python-dateutil" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/af/eb/a1c042f6638ada552399a9977335a6de2668a85bf80bece193c953531236/botocore-1.42.63.tar.gz", hash = "sha256:1fdfc33cff58d21e8622cf620ba2bba3cff324557932aaf935b5374e4610f059", size = 14965362 }
+sdist = { url = "https://files.pythonhosted.org/packages/af/eb/a1c042f6638ada552399a9977335a6de2668a85bf80bece193c953531236/botocore-1.42.63.tar.gz", hash = "sha256:1fdfc33cff58d21e8622cf620ba2bba3cff324557932aaf935b5374e4610f059", size = 14965362, upload-time = "2026-03-06T22:47:44.158Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9a/60/17a2d3b94658bb999c6aee7bba6c76b271905debf0c8c8e6ac63ca8491bc/botocore-1.42.63-py3-none-any.whl", hash = "sha256:83f39d04f2b316bdfc59a3cac2d12238bde7126ac99d9a57d910dbd86d58c528", size = 14639889 },
+ { url = "https://files.pythonhosted.org/packages/9a/60/17a2d3b94658bb999c6aee7bba6c76b271905debf0c8c8e6ac63ca8491bc/botocore-1.42.63-py3-none-any.whl", hash = "sha256:83f39d04f2b316bdfc59a3cac2d12238bde7126ac99d9a57d910dbd86d58c528", size = 14639889, upload-time = "2026-03-06T22:47:39.347Z" },
]
[[package]]
@@ -346,49 +348,49 @@ dependencies = [
{ name = "packaging" },
{ name = "pyproject-hooks" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/42/18/94eaffda7b329535d91f00fe605ab1f1e5cd68b2074d03f255c7d250687d/build-1.4.0.tar.gz", hash = "sha256:f1b91b925aa322be454f8330c6fb48b465da993d1e7e7e6fa35027ec49f3c936", size = 50054 }
+sdist = { url = "https://files.pythonhosted.org/packages/42/18/94eaffda7b329535d91f00fe605ab1f1e5cd68b2074d03f255c7d250687d/build-1.4.0.tar.gz", hash = "sha256:f1b91b925aa322be454f8330c6fb48b465da993d1e7e7e6fa35027ec49f3c936", size = 50054, upload-time = "2026-01-08T16:41:47.696Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c5/0d/84a4380f930db0010168e0aa7b7a8fed9ba1835a8fbb1472bc6d0201d529/build-1.4.0-py3-none-any.whl", hash = "sha256:6a07c1b8eb6f2b311b96fcbdbce5dab5fe637ffda0fd83c9cac622e927501596", size = 24141 },
+ { url = "https://files.pythonhosted.org/packages/c5/0d/84a4380f930db0010168e0aa7b7a8fed9ba1835a8fbb1472bc6d0201d529/build-1.4.0-py3-none-any.whl", hash = "sha256:6a07c1b8eb6f2b311b96fcbdbce5dab5fe637ffda0fd83c9cac622e927501596", size = 24141, upload-time = "2026-01-08T16:41:46.453Z" },
]
[[package]]
name = "cachetools"
version = "7.0.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a1/cc/eb3fd22f3b96b8b70ce456d0854ef08434e5ca79c02bf8db3fc07ccfca87/cachetools-7.0.4.tar.gz", hash = "sha256:7042c0e4eea87812f04744ce6ee9ed3de457875eb1f82d8a206c46d6e48b6734", size = 37379 }
+sdist = { url = "https://files.pythonhosted.org/packages/a1/cc/eb3fd22f3b96b8b70ce456d0854ef08434e5ca79c02bf8db3fc07ccfca87/cachetools-7.0.4.tar.gz", hash = "sha256:7042c0e4eea87812f04744ce6ee9ed3de457875eb1f82d8a206c46d6e48b6734", size = 37379, upload-time = "2026-03-08T21:37:17.133Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/83/bc/72adfb3f2ed19eb0317f89ea9b1eeccc670ae46bc394ec2c4ba1dd8c22b7/cachetools-7.0.4-py3-none-any.whl", hash = "sha256:0c8bb1b9ec8194fa4d764accfde602dfe52f70d0f311e62792d4c3f8c051b1e9", size = 13900 },
+ { url = "https://files.pythonhosted.org/packages/83/bc/72adfb3f2ed19eb0317f89ea9b1eeccc670ae46bc394ec2c4ba1dd8c22b7/cachetools-7.0.4-py3-none-any.whl", hash = "sha256:0c8bb1b9ec8194fa4d764accfde602dfe52f70d0f311e62792d4c3f8c051b1e9", size = 13900, upload-time = "2026-03-08T21:37:15.805Z" },
]
[[package]]
name = "cbor"
version = "1.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/9b/99/01c6a987c920500189eb74a291bd3a388e6c7cf85736bb6b066d9833315e/cbor-1.0.0.tar.gz", hash = "sha256:13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6", size = 20096 }
+sdist = { url = "https://files.pythonhosted.org/packages/9b/99/01c6a987c920500189eb74a291bd3a388e6c7cf85736bb6b066d9833315e/cbor-1.0.0.tar.gz", hash = "sha256:13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6", size = 20096, upload-time = "2016-02-09T23:11:12.726Z" }
[[package]]
name = "cbor2"
-version = "5.8.0"
+version = "5.9.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d9/8e/8b4fdde28e42ffcd741a37f4ffa9fb59cd4fe01625b544dfcfd9ccb54f01/cbor2-5.8.0.tar.gz", hash = "sha256:b19c35fcae9688ac01ef75bad5db27300c2537eb4ee00ed07e05d8456a0d4931", size = 107825 }
+sdist = { url = "https://files.pythonhosted.org/packages/bd/cb/09939728be094d155b5d4ac262e39877875f5f7e36eea66beb359f647bd0/cbor2-5.9.0.tar.gz", hash = "sha256:85c7a46279ac8f226e1059275221e6b3d0e370d2bb6bd0500f9780781615bcea", size = 111231, upload-time = "2026-03-22T15:56:50.638Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2f/4f/3a16e3e8fd7e5fd86751a4f1aad218a8d19a96e75ec3989c3e95a8fe1d8f/cbor2-5.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4b3f91fa699a5ce22470e973601c62dd9d55dc3ca20ee446516ac075fcab27c9", size = 70270 },
- { url = "https://files.pythonhosted.org/packages/38/81/0d0cf0796fe8081492a61c45278f03def21a929535a492dd97c8438f5dbe/cbor2-5.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:518c118a5e00001854adb51f3164e647aa99b6a9877d2a733a28cb5c0a4d6857", size = 286242 },
- { url = "https://files.pythonhosted.org/packages/7b/a9/fdab6c10190cfb8d639e01f2b168f2406fc847a2a6bc00e7de78c3381d0a/cbor2-5.8.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cff2a1999e49cd51c23d1b6786a012127fd8f722c5946e82bd7ab3eb307443f3", size = 285412 },
- { url = "https://files.pythonhosted.org/packages/31/59/746a8e630996217a3afd523f583fcf7e3d16640d63f9a03f0f4e4f74b5b1/cbor2-5.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4c4492160212374973cdc14e46f0565f2462721ef922b40f7ea11e7d613dfb2a", size = 278041 },
- { url = "https://files.pythonhosted.org/packages/0f/a3/f3bbeb6dedd45c6e0cddd627ea790dea295eaf82c83f0e2159b733365ebd/cbor2-5.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:546c7c7c4c6bcdc54a59242e0e82cea8f332b17b4465ae628718fef1fce401ca", size = 278185 },
- { url = "https://files.pythonhosted.org/packages/67/e5/9013d6b857ceb6cdb2851ffb5a887f53f2bab934a528c9d6fa73d9989d84/cbor2-5.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:074f0fa7535dd7fdee247c2c99f679d94f3aa058ccb1ccf4126cc72d6d89cbae", size = 69817 },
- { url = "https://files.pythonhosted.org/packages/a8/ab/7aa94ba3d44ecbc3a97bdb2fb6a8298063fe2e0b611e539a6fe41e36da20/cbor2-5.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:f95fed480b2a0d843f294d2a1ef4cc0f6a83c7922927f9f558e1f5a8dc54b7ca", size = 64923 },
- { url = "https://files.pythonhosted.org/packages/d6/4f/101071f880b4da05771128c0b89f41e334cff044dee05fb013c8f4be661c/cbor2-5.8.0-py3-none-any.whl", hash = "sha256:3727d80f539567b03a7aa11890e57798c67092c38df9e6c23abb059e0f65069c", size = 24374 },
+ { url = "https://files.pythonhosted.org/packages/ee/39/72d8a5a4b06565561ec28f4fcb41aff7bb77f51705c01f00b8254a2aca4f/cbor2-5.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1f223dffb1bcdd2764665f04c1152943d9daa4bc124a576cd8dee1cad4264313", size = 71223, upload-time = "2026-03-22T15:56:13.68Z" },
+ { url = "https://files.pythonhosted.org/packages/09/fd/7ddf3d3153b54c69c3be77172b8d9aa3a9d74f62a7fbde614d53eaeed9a4/cbor2-5.9.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae6c706ac1d85a0b3cb3395308fd0c4d55e3202b4760773675957e93cdff45fc", size = 287865, upload-time = "2026-03-22T15:56:14.813Z" },
+ { url = "https://files.pythonhosted.org/packages/db/9d/7ede2cc42f9bb4260492e7d29d2aab781eacbbcfb09d983de1e695077199/cbor2-5.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4cd43d8fc374b31643b2830910f28177a606a7bc84975a62675dd3f2e320fc7b", size = 288246, upload-time = "2026-03-22T15:56:16.113Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/9d/588ebc7c5bc5843f609b05fe07be8575c7dec987735b0bbc908ac9c1264a/cbor2-5.9.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4aa07b392cc3d76fb31c08a46a226b58c320d1c172ff3073e864409ced7bc50f", size = 280214, upload-time = "2026-03-22T15:56:17.519Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/a1/6fc8f4b15c6a27e7fbb7966c30c2b4b18c274a3221fa2f5e6235502d34bc/cbor2-5.9.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:971d425b3a23b75953d8853d5f9911bdeefa09d759ee3b5e6b07b5ff3cbd9073", size = 282162, upload-time = "2026-03-22T15:56:18.975Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/20/9a22cfe08be16ddfeef2542cf4eeed1b29f3f57ddbba0b42f7e0bb8331fd/cbor2-5.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:34a6cb15e6ab6a8eae94ad2041731cd3ef786af43a8df99f847969af5b902ee7", size = 70049, upload-time = "2026-03-22T15:56:20.502Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/9e/695f92d09006614034e25a9f5b10620f3b219f79c1bec3c37b7c6f27a7a9/cbor2-5.9.0-cp312-cp312-win_arm64.whl", hash = "sha256:7d1ddc4541e7367ac58c2470cc0df847f7137167fe4f5729e2d3cc0b993d7da4", size = 65382, upload-time = "2026-03-22T15:56:21.526Z" },
+ { url = "https://files.pythonhosted.org/packages/42/ff/b83492b096fbef26e9cb62c1a4bf2d3cef579ea7b33138c6c37c4ae66f67/cbor2-5.9.0-py3-none-any.whl", hash = "sha256:27695cbd70c90b8de5c4a284642c2836449b14e2c2e07e3ffe0744cb7669a01b", size = 24627, upload-time = "2026-03-22T15:56:48.847Z" },
]
[[package]]
name = "certifi"
version = "2026.2.25"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/af/2d/7bf41579a8986e348fa033a31cdd0e4121114f6bce2457e8876010b092dd/certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7", size = 155029 }
+sdist = { url = "https://files.pythonhosted.org/packages/af/2d/7bf41579a8986e348fa033a31cdd0e4121114f6bce2457e8876010b092dd/certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7", size = 155029, upload-time = "2026-02-25T02:54:17.342Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9a/3c/c17fb3ca2d9c3acff52e30b309f538586f9f5b9c9cf454f3845fc9af4881/certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa", size = 153684 },
+ { url = "https://files.pythonhosted.org/packages/9a/3c/c17fb3ca2d9c3acff52e30b309f538586f9f5b9c9cf454f3845fc9af4881/certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa", size = 153684, upload-time = "2026-02-25T02:54:15.766Z" },
]
[[package]]
@@ -398,54 +400,54 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pycparser", marker = "implementation_name != 'PyPy'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588 }
+sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588, upload-time = "2025-09-08T23:24:04.541Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271 },
- { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048 },
- { url = "https://files.pythonhosted.org/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529 },
- { url = "https://files.pythonhosted.org/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097 },
- { url = "https://files.pythonhosted.org/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983 },
- { url = "https://files.pythonhosted.org/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519 },
- { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572 },
- { url = "https://files.pythonhosted.org/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963 },
- { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361 },
- { url = "https://files.pythonhosted.org/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932 },
- { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557 },
- { url = "https://files.pythonhosted.org/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762 },
+ { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271, upload-time = "2025-09-08T23:22:44.795Z" },
+ { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048, upload-time = "2025-09-08T23:22:45.938Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529, upload-time = "2025-09-08T23:22:47.349Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097, upload-time = "2025-09-08T23:22:48.677Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983, upload-time = "2025-09-08T23:22:50.06Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519, upload-time = "2025-09-08T23:22:51.364Z" },
+ { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572, upload-time = "2025-09-08T23:22:52.902Z" },
+ { url = "https://files.pythonhosted.org/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963, upload-time = "2025-09-08T23:22:54.518Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361, upload-time = "2025-09-08T23:22:55.867Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932, upload-time = "2025-09-08T23:22:57.188Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557, upload-time = "2025-09-08T23:22:58.351Z" },
+ { url = "https://files.pythonhosted.org/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762, upload-time = "2025-09-08T23:22:59.668Z" },
]
[[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 }
+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 },
+ { 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]]
name = "charset-normalizer"
version = "3.4.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/1d/35/02daf95b9cd686320bb622eb148792655c9412dbb9b67abb5694e5910a24/charset_normalizer-3.4.5.tar.gz", hash = "sha256:95adae7b6c42a6c5b5b559b1a99149f090a57128155daeea91732c8d970d8644", size = 134804 }
+sdist = { url = "https://files.pythonhosted.org/packages/1d/35/02daf95b9cd686320bb622eb148792655c9412dbb9b67abb5694e5910a24/charset_normalizer-3.4.5.tar.gz", hash = "sha256:95adae7b6c42a6c5b5b559b1a99149f090a57128155daeea91732c8d970d8644", size = 134804, upload-time = "2026-03-06T06:03:19.46Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9c/b6/9ee9c1a608916ca5feae81a344dffbaa53b26b90be58cc2159e3332d44ec/charset_normalizer-3.4.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed97c282ee4f994ef814042423a529df9497e3c666dca19be1d4cd1129dc7ade", size = 280976 },
- { url = "https://files.pythonhosted.org/packages/f8/d8/a54f7c0b96f1df3563e9190f04daf981e365a9b397eedfdfb5dbef7e5c6c/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0294916d6ccf2d069727d65973c3a1ca477d68708db25fd758dd28b0827cff54", size = 189356 },
- { url = "https://files.pythonhosted.org/packages/42/69/2bf7f76ce1446759a5787cb87d38f6a61eb47dbbdf035cfebf6347292a65/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dc57a0baa3eeedd99fafaef7511b5a6ef4581494e8168ee086031744e2679467", size = 206369 },
- { url = "https://files.pythonhosted.org/packages/10/9c/949d1a46dab56b959d9a87272482195f1840b515a3380e39986989a893ae/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ed1a9a204f317ef879b32f9af507d47e49cd5e7f8e8d5d96358c98373314fc60", size = 203285 },
- { url = "https://files.pythonhosted.org/packages/67/5c/ae30362a88b4da237d71ea214a8c7eb915db3eec941adda511729ac25fa2/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7ad83b8f9379176c841f8865884f3514d905bcd2a9a3b210eaa446e7d2223e4d", size = 196274 },
- { url = "https://files.pythonhosted.org/packages/b2/07/c9f2cb0e46cb6d64fdcc4f95953747b843bb2181bda678dc4e699b8f0f9a/charset_normalizer-3.4.5-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:a118e2e0b5ae6b0120d5efa5f866e58f2bb826067a646431da4d6a2bdae7950e", size = 184715 },
- { url = "https://files.pythonhosted.org/packages/36/64/6b0ca95c44fddf692cd06d642b28f63009d0ce325fad6e9b2b4d0ef86a52/charset_normalizer-3.4.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:754f96058e61a5e22e91483f823e07df16416ce76afa4ebf306f8e1d1296d43f", size = 193426 },
- { url = "https://files.pythonhosted.org/packages/50/bc/a730690d726403743795ca3f5bb2baf67838c5fea78236098f324b965e40/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0c300cefd9b0970381a46394902cd18eaf2aa00163f999590ace991989dcd0fc", size = 191780 },
- { url = "https://files.pythonhosted.org/packages/97/4f/6c0bc9af68222b22951552d73df4532b5be6447cee32d58e7e8c74ecbb7b/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c108f8619e504140569ee7de3f97d234f0fbae338a7f9f360455071ef9855a95", size = 185805 },
- { url = "https://files.pythonhosted.org/packages/dd/b9/a523fb9b0ee90814b503452b2600e4cbc118cd68714d57041564886e7325/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:d1028de43596a315e2720a9849ee79007ab742c06ad8b45a50db8cdb7ed4a82a", size = 208342 },
- { url = "https://files.pythonhosted.org/packages/4d/61/c59e761dee4464050713e50e27b58266cc8e209e518c0b378c1580c959ba/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:19092dde50335accf365cce21998a1c6dd8eafd42c7b226eb54b2747cdce2fac", size = 193661 },
- { url = "https://files.pythonhosted.org/packages/1c/43/729fa30aad69783f755c5ad8649da17ee095311ca42024742701e202dc59/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4354e401eb6dab9aed3c7b4030514328a6c748d05e1c3e19175008ca7de84fb1", size = 204819 },
- { url = "https://files.pythonhosted.org/packages/87/33/d9b442ce5a91b96fc0840455a9e49a611bbadae6122778d0a6a79683dd31/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a68766a3c58fde7f9aaa22b3786276f62ab2f594efb02d0a1421b6282e852e98", size = 198080 },
- { url = "https://files.pythonhosted.org/packages/56/5a/b8b5a23134978ee9885cee2d6995f4c27cc41f9baded0a9685eabc5338f0/charset_normalizer-3.4.5-cp312-cp312-win32.whl", hash = "sha256:1827734a5b308b65ac54e86a618de66f935a4f63a8a462ff1e19a6788d6c2262", size = 132630 },
- { url = "https://files.pythonhosted.org/packages/70/53/e44a4c07e8904500aec95865dc3f6464dc3586a039ef0df606eb3ac38e35/charset_normalizer-3.4.5-cp312-cp312-win_amd64.whl", hash = "sha256:728c6a963dfab66ef865f49286e45239384249672cd598576765acc2a640a636", size = 142856 },
- { url = "https://files.pythonhosted.org/packages/ea/aa/c5628f7cad591b1cf45790b7a61483c3e36cf41349c98af7813c483fd6e8/charset_normalizer-3.4.5-cp312-cp312-win_arm64.whl", hash = "sha256:75dfd1afe0b1647449e852f4fb428195a7ed0588947218f7ba929f6538487f02", size = 132982 },
- { url = "https://files.pythonhosted.org/packages/c5/60/3a621758945513adfd4db86827a5bafcc615f913dbd0b4c2ed64a65731be/charset_normalizer-3.4.5-py3-none-any.whl", hash = "sha256:9db5e3fcdcee89a78c04dffb3fe33c79f77bd741a624946db2591c81b2fc85b0", size = 55455 },
+ { url = "https://files.pythonhosted.org/packages/9c/b6/9ee9c1a608916ca5feae81a344dffbaa53b26b90be58cc2159e3332d44ec/charset_normalizer-3.4.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ed97c282ee4f994ef814042423a529df9497e3c666dca19be1d4cd1129dc7ade", size = 280976, upload-time = "2026-03-06T06:01:15.276Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/d8/a54f7c0b96f1df3563e9190f04daf981e365a9b397eedfdfb5dbef7e5c6c/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0294916d6ccf2d069727d65973c3a1ca477d68708db25fd758dd28b0827cff54", size = 189356, upload-time = "2026-03-06T06:01:16.511Z" },
+ { url = "https://files.pythonhosted.org/packages/42/69/2bf7f76ce1446759a5787cb87d38f6a61eb47dbbdf035cfebf6347292a65/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:dc57a0baa3eeedd99fafaef7511b5a6ef4581494e8168ee086031744e2679467", size = 206369, upload-time = "2026-03-06T06:01:17.853Z" },
+ { url = "https://files.pythonhosted.org/packages/10/9c/949d1a46dab56b959d9a87272482195f1840b515a3380e39986989a893ae/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ed1a9a204f317ef879b32f9af507d47e49cd5e7f8e8d5d96358c98373314fc60", size = 203285, upload-time = "2026-03-06T06:01:19.473Z" },
+ { url = "https://files.pythonhosted.org/packages/67/5c/ae30362a88b4da237d71ea214a8c7eb915db3eec941adda511729ac25fa2/charset_normalizer-3.4.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7ad83b8f9379176c841f8865884f3514d905bcd2a9a3b210eaa446e7d2223e4d", size = 196274, upload-time = "2026-03-06T06:01:20.728Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/07/c9f2cb0e46cb6d64fdcc4f95953747b843bb2181bda678dc4e699b8f0f9a/charset_normalizer-3.4.5-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:a118e2e0b5ae6b0120d5efa5f866e58f2bb826067a646431da4d6a2bdae7950e", size = 184715, upload-time = "2026-03-06T06:01:22.194Z" },
+ { url = "https://files.pythonhosted.org/packages/36/64/6b0ca95c44fddf692cd06d642b28f63009d0ce325fad6e9b2b4d0ef86a52/charset_normalizer-3.4.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:754f96058e61a5e22e91483f823e07df16416ce76afa4ebf306f8e1d1296d43f", size = 193426, upload-time = "2026-03-06T06:01:23.795Z" },
+ { url = "https://files.pythonhosted.org/packages/50/bc/a730690d726403743795ca3f5bb2baf67838c5fea78236098f324b965e40/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0c300cefd9b0970381a46394902cd18eaf2aa00163f999590ace991989dcd0fc", size = 191780, upload-time = "2026-03-06T06:01:25.053Z" },
+ { url = "https://files.pythonhosted.org/packages/97/4f/6c0bc9af68222b22951552d73df4532b5be6447cee32d58e7e8c74ecbb7b/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:c108f8619e504140569ee7de3f97d234f0fbae338a7f9f360455071ef9855a95", size = 185805, upload-time = "2026-03-06T06:01:26.294Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/b9/a523fb9b0ee90814b503452b2600e4cbc118cd68714d57041564886e7325/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:d1028de43596a315e2720a9849ee79007ab742c06ad8b45a50db8cdb7ed4a82a", size = 208342, upload-time = "2026-03-06T06:01:27.55Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/61/c59e761dee4464050713e50e27b58266cc8e209e518c0b378c1580c959ba/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:19092dde50335accf365cce21998a1c6dd8eafd42c7b226eb54b2747cdce2fac", size = 193661, upload-time = "2026-03-06T06:01:29.051Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/43/729fa30aad69783f755c5ad8649da17ee095311ca42024742701e202dc59/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4354e401eb6dab9aed3c7b4030514328a6c748d05e1c3e19175008ca7de84fb1", size = 204819, upload-time = "2026-03-06T06:01:30.298Z" },
+ { url = "https://files.pythonhosted.org/packages/87/33/d9b442ce5a91b96fc0840455a9e49a611bbadae6122778d0a6a79683dd31/charset_normalizer-3.4.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a68766a3c58fde7f9aaa22b3786276f62ab2f594efb02d0a1421b6282e852e98", size = 198080, upload-time = "2026-03-06T06:01:31.478Z" },
+ { url = "https://files.pythonhosted.org/packages/56/5a/b8b5a23134978ee9885cee2d6995f4c27cc41f9baded0a9685eabc5338f0/charset_normalizer-3.4.5-cp312-cp312-win32.whl", hash = "sha256:1827734a5b308b65ac54e86a618de66f935a4f63a8a462ff1e19a6788d6c2262", size = 132630, upload-time = "2026-03-06T06:01:33.056Z" },
+ { url = "https://files.pythonhosted.org/packages/70/53/e44a4c07e8904500aec95865dc3f6464dc3586a039ef0df606eb3ac38e35/charset_normalizer-3.4.5-cp312-cp312-win_amd64.whl", hash = "sha256:728c6a963dfab66ef865f49286e45239384249672cd598576765acc2a640a636", size = 142856, upload-time = "2026-03-06T06:01:34.489Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/aa/c5628f7cad591b1cf45790b7a61483c3e36cf41349c98af7813c483fd6e8/charset_normalizer-3.4.5-cp312-cp312-win_arm64.whl", hash = "sha256:75dfd1afe0b1647449e852f4fb428195a7ed0588947218f7ba929f6538487f02", size = 132982, upload-time = "2026-03-06T06:01:35.641Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/60/3a621758945513adfd4db86827a5bafcc615f913dbd0b4c2ed64a65731be/charset_normalizer-3.4.5-py3-none-any.whl", hash = "sha256:9db5e3fcdcee89a78c04dffb3fe33c79f77bd741a624946db2591c81b2fc85b0", size = 55455, upload-time = "2026-03-06T06:03:17.827Z" },
]
[[package]]
@@ -456,9 +458,9 @@ dependencies = [
{ name = "chromadb" },
{ name = "haystack-ai" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2a/57/d916b976cd920afbd441e6d0bd682695dda52112f61ecb46d3b5789be82d/chroma_haystack-4.1.1.tar.gz", hash = "sha256:f9b2ab3dee22d134622873b0411773ca9eed8798832afa91f455b63efa6c0f1e", size = 237507 }
+sdist = { url = "https://files.pythonhosted.org/packages/2a/57/d916b976cd920afbd441e6d0bd682695dda52112f61ecb46d3b5789be82d/chroma_haystack-4.1.1.tar.gz", hash = "sha256:f9b2ab3dee22d134622873b0411773ca9eed8798832afa91f455b63efa6c0f1e", size = 237507, upload-time = "2026-02-10T14:55:21.966Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/91/36/0f841594bfb25bd57da366932782c437f739b496c6c865e664f87f8b51ad/chroma_haystack-4.1.1-py3-none-any.whl", hash = "sha256:8ddf5ce13f500f0543655ad4d2e1fccb5b640948ad0d1e2bcca64cb9fb8a1b51", size = 21526 },
+ { url = "https://files.pythonhosted.org/packages/91/36/0f841594bfb25bd57da366932782c437f739b496c6c865e664f87f8b51ad/chroma_haystack-4.1.1-py3-none-any.whl", hash = "sha256:8ddf5ce13f500f0543655ad4d2e1fccb5b640948ad0d1e2bcca64cb9fb8a1b51", size = 21526, upload-time = "2026-02-10T14:55:22.859Z" },
]
[[package]]
@@ -494,13 +496,13 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "uvicorn", extra = ["standard"] },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7f/48/11851dddeadad6abe36ee071fedc99b5bdd2c324df3afa8cb952ae02798b/chromadb-1.1.1.tar.gz", hash = "sha256:ebfce0122753e306a76f1e291d4ddaebe5f01b5979b97ae0bc80b1d4024ff223", size = 1338109 }
+sdist = { url = "https://files.pythonhosted.org/packages/7f/48/11851dddeadad6abe36ee071fedc99b5bdd2c324df3afa8cb952ae02798b/chromadb-1.1.1.tar.gz", hash = "sha256:ebfce0122753e306a76f1e291d4ddaebe5f01b5979b97ae0bc80b1d4024ff223", size = 1338109, upload-time = "2025-10-05T02:49:14.834Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/39/59/0d881a9b7eb63d8d2446cf67fcbb53fb8ae34991759d2b6024a067e90a9a/chromadb-1.1.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:27fe0e25ef0f83fb09c30355ab084fe6f246808a7ea29e8c19e85cf45785b90d", size = 19175479 },
- { url = "https://files.pythonhosted.org/packages/94/4f/5a9fa317c84c98e70af48f74b00aa25589626c03a0428b4381b2095f3d73/chromadb-1.1.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:95aed58869683f12e7dcbf68b039fe5f576dbe9d1b86b8f4d014c9d077ccafd2", size = 18267188 },
- { url = "https://files.pythonhosted.org/packages/45/1a/02defe2f1c8d1daedb084bbe85f5b6083510a3ba192ed57797a3649a4310/chromadb-1.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:06776dad41389a00e7d63d936c3a15c179d502becaf99f75745ee11b062c9b6a", size = 18855754 },
- { url = "https://files.pythonhosted.org/packages/5a/0d/80be82717e5dc19839af24558494811b6f2af2b261a8f21c51b872193b09/chromadb-1.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bba0096a7f5e975875ead23a91c0d41d977fbd3767f60d3305a011b0ace7afd3", size = 19893681 },
- { url = "https://files.pythonhosted.org/packages/2d/6e/956e62975305a4e31daf6114a73b3b0683a8f36f8d70b20aabd466770edb/chromadb-1.1.1-cp39-abi3-win_amd64.whl", hash = "sha256:a77aa026a73a18181fd89bbbdb86191c9a82fd42aa0b549ff18d8cae56394c8b", size = 19844042 },
+ { url = "https://files.pythonhosted.org/packages/39/59/0d881a9b7eb63d8d2446cf67fcbb53fb8ae34991759d2b6024a067e90a9a/chromadb-1.1.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:27fe0e25ef0f83fb09c30355ab084fe6f246808a7ea29e8c19e85cf45785b90d", size = 19175479, upload-time = "2025-10-05T02:49:12.525Z" },
+ { url = "https://files.pythonhosted.org/packages/94/4f/5a9fa317c84c98e70af48f74b00aa25589626c03a0428b4381b2095f3d73/chromadb-1.1.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:95aed58869683f12e7dcbf68b039fe5f576dbe9d1b86b8f4d014c9d077ccafd2", size = 18267188, upload-time = "2025-10-05T02:49:09.236Z" },
+ { url = "https://files.pythonhosted.org/packages/45/1a/02defe2f1c8d1daedb084bbe85f5b6083510a3ba192ed57797a3649a4310/chromadb-1.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:06776dad41389a00e7d63d936c3a15c179d502becaf99f75745ee11b062c9b6a", size = 18855754, upload-time = "2025-10-05T02:49:03.299Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/0d/80be82717e5dc19839af24558494811b6f2af2b261a8f21c51b872193b09/chromadb-1.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bba0096a7f5e975875ead23a91c0d41d977fbd3767f60d3305a011b0ace7afd3", size = 19893681, upload-time = "2025-10-05T02:49:06.481Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/6e/956e62975305a4e31daf6114a73b3b0683a8f36f8d70b20aabd466770edb/chromadb-1.1.1-cp39-abi3-win_amd64.whl", hash = "sha256:a77aa026a73a18181fd89bbbdb86191c9a82fd42aa0b549ff18d8cae56394c8b", size = 19844042, upload-time = "2025-10-05T02:49:16.925Z" },
]
[[package]]
@@ -510,27 +512,27 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a", size = 295065 }
+sdist = { url = "https://files.pythonhosted.org/packages/3d/fa/656b739db8587d7b5dfa22e22ed02566950fbfbcdc20311993483657a5c0/click-8.3.1.tar.gz", hash = "sha256:12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a", size = 295065, upload-time = "2025-11-15T20:45:42.706Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6", size = 108274 },
+ { url = "https://files.pythonhosted.org/packages/98/78/01c019cdb5d6498122777c1a43056ebb3ebfeef2076d9d026bfe15583b2b/click-8.3.1-py3-none-any.whl", hash = "sha256:981153a64e25f12d547d3426c367a4857371575ee7ad18df2a6183ab0545b2a6", size = 108274, upload-time = "2025-11-15T20:45:41.139Z" },
]
[[package]]
name = "cloudpickle"
version = "3.1.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/27/fb/576f067976d320f5f0114a8d9fa1215425441bb35627b1993e5afd8111e5/cloudpickle-3.1.2.tar.gz", hash = "sha256:7fda9eb655c9c230dab534f1983763de5835249750e85fbcef43aaa30a9a2414", size = 22330 }
+sdist = { url = "https://files.pythonhosted.org/packages/27/fb/576f067976d320f5f0114a8d9fa1215425441bb35627b1993e5afd8111e5/cloudpickle-3.1.2.tar.gz", hash = "sha256:7fda9eb655c9c230dab534f1983763de5835249750e85fbcef43aaa30a9a2414", size = 22330, upload-time = "2025-11-03T09:25:26.604Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/88/39/799be3f2f0f38cc727ee3b4f1445fe6d5e4133064ec2e4115069418a5bb6/cloudpickle-3.1.2-py3-none-any.whl", hash = "sha256:9acb47f6afd73f60dc1df93bb801b472f05ff42fa6c84167d25cb206be1fbf4a", size = 22228 },
+ { url = "https://files.pythonhosted.org/packages/88/39/799be3f2f0f38cc727ee3b4f1445fe6d5e4133064ec2e4115069418a5bb6/cloudpickle-3.1.2-py3-none-any.whl", hash = "sha256:9acb47f6afd73f60dc1df93bb801b472f05ff42fa6c84167d25cb206be1fbf4a", size = 22228, upload-time = "2025-11-03T09:25:25.534Z" },
]
[[package]]
name = "colorama"
version = "0.4.6"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 },
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
]
[[package]]
@@ -540,18 +542,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a2/61/f083b5ac52e505dfc1c624eafbf8c7589a0d7f32daa398d2e7590efa5fda/colorlog-6.10.1.tar.gz", hash = "sha256:eb4ae5cb65fe7fec7773c2306061a8e63e02efc2c72eba9d27b0fa23c94f1321", size = 17162 }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/61/f083b5ac52e505dfc1c624eafbf8c7589a0d7f32daa398d2e7590efa5fda/colorlog-6.10.1.tar.gz", hash = "sha256:eb4ae5cb65fe7fec7773c2306061a8e63e02efc2c72eba9d27b0fa23c94f1321", size = 17162, upload-time = "2025-10-16T16:14:11.978Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/6d/c1/e419ef3723a074172b68aaa89c9f3de486ed4c2399e2dbd8113a4fdcaf9e/colorlog-6.10.1-py3-none-any.whl", hash = "sha256:2d7e8348291948af66122cff006c9f8da6255d224e7cf8e37d8de2df3bad8c9c", size = 11743 },
+ { url = "https://files.pythonhosted.org/packages/6d/c1/e419ef3723a074172b68aaa89c9f3de486ed4c2399e2dbd8113a4fdcaf9e/colorlog-6.10.1-py3-none-any.whl", hash = "sha256:2d7e8348291948af66122cff006c9f8da6255d224e7cf8e37d8de2df3bad8c9c", size = 11743, upload-time = "2025-10-16T16:14:10.512Z" },
]
[[package]]
name = "comm"
version = "0.2.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319 }
+sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319, upload-time = "2025-07-25T14:02:04.452Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294 },
+ { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294, upload-time = "2025-07-25T14:02:02.896Z" },
]
[[package]]
@@ -561,43 +563,43 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/58/01/1253e6698a07380cd31a736d248a3f2a50a7c88779a1813da27503cadc2a/contourpy-1.3.3.tar.gz", hash = "sha256:083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880", size = 13466174 }
+sdist = { url = "https://files.pythonhosted.org/packages/58/01/1253e6698a07380cd31a736d248a3f2a50a7c88779a1813da27503cadc2a/contourpy-1.3.3.tar.gz", hash = "sha256:083e12155b210502d0bca491432bb04d56dc3432f95a979b429f2848c3dbe880", size = 13466174, upload-time = "2025-07-26T12:03:12.549Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/be/45/adfee365d9ea3d853550b2e735f9d66366701c65db7855cd07621732ccfc/contourpy-1.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b08a32ea2f8e42cf1d4be3169a98dd4be32bafe4f22b6c4cb4ba810fa9e5d2cb", size = 293419 },
- { url = "https://files.pythonhosted.org/packages/53/3e/405b59cfa13021a56bba395a6b3aca8cec012b45bf177b0eaf7a202cde2c/contourpy-1.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:556dba8fb6f5d8742f2923fe9457dbdd51e1049c4a43fd3986a0b14a1d815fc6", size = 273979 },
- { url = "https://files.pythonhosted.org/packages/d4/1c/a12359b9b2ca3a845e8f7f9ac08bdf776114eb931392fcad91743e2ea17b/contourpy-1.3.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92d9abc807cf7d0e047b95ca5d957cf4792fcd04e920ca70d48add15c1a90ea7", size = 332653 },
- { url = "https://files.pythonhosted.org/packages/63/12/897aeebfb475b7748ea67b61e045accdfcf0d971f8a588b67108ed7f5512/contourpy-1.3.3-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b2e8faa0ed68cb29af51edd8e24798bb661eac3bd9f65420c1887b6ca89987c8", size = 379536 },
- { url = "https://files.pythonhosted.org/packages/43/8a/a8c584b82deb248930ce069e71576fc09bd7174bbd35183b7943fb1064fd/contourpy-1.3.3-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:626d60935cf668e70a5ce6ff184fd713e9683fb458898e4249b63be9e28286ea", size = 384397 },
- { url = "https://files.pythonhosted.org/packages/cc/8f/ec6289987824b29529d0dfda0d74a07cec60e54b9c92f3c9da4c0ac732de/contourpy-1.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d00e655fcef08aba35ec9610536bfe90267d7ab5ba944f7032549c55a146da1", size = 362601 },
- { url = "https://files.pythonhosted.org/packages/05/0a/a3fe3be3ee2dceb3e615ebb4df97ae6f3828aa915d3e10549ce016302bd1/contourpy-1.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:451e71b5a7d597379ef572de31eeb909a87246974d960049a9848c3bc6c41bf7", size = 1331288 },
- { url = "https://files.pythonhosted.org/packages/33/1d/acad9bd4e97f13f3e2b18a3977fe1b4a37ecf3d38d815333980c6c72e963/contourpy-1.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:459c1f020cd59fcfe6650180678a9993932d80d44ccde1fa1868977438f0b411", size = 1403386 },
- { url = "https://files.pythonhosted.org/packages/cf/8f/5847f44a7fddf859704217a99a23a4f6417b10e5ab1256a179264561540e/contourpy-1.3.3-cp312-cp312-win32.whl", hash = "sha256:023b44101dfe49d7d53932be418477dba359649246075c996866106da069af69", size = 185018 },
- { url = "https://files.pythonhosted.org/packages/19/e8/6026ed58a64563186a9ee3f29f41261fd1828f527dd93d33b60feca63352/contourpy-1.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:8153b8bfc11e1e4d75bcb0bff1db232f9e10b274e0929de9d608027e0d34ff8b", size = 226567 },
- { url = "https://files.pythonhosted.org/packages/d1/e2/f05240d2c39a1ed228d8328a78b6f44cd695f7ef47beb3e684cf93604f86/contourpy-1.3.3-cp312-cp312-win_arm64.whl", hash = "sha256:07ce5ed73ecdc4a03ffe3e1b3e3c1166db35ae7584be76f65dbbe28a7791b0cc", size = 193655 },
+ { url = "https://files.pythonhosted.org/packages/be/45/adfee365d9ea3d853550b2e735f9d66366701c65db7855cd07621732ccfc/contourpy-1.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b08a32ea2f8e42cf1d4be3169a98dd4be32bafe4f22b6c4cb4ba810fa9e5d2cb", size = 293419, upload-time = "2025-07-26T12:01:21.16Z" },
+ { url = "https://files.pythonhosted.org/packages/53/3e/405b59cfa13021a56bba395a6b3aca8cec012b45bf177b0eaf7a202cde2c/contourpy-1.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:556dba8fb6f5d8742f2923fe9457dbdd51e1049c4a43fd3986a0b14a1d815fc6", size = 273979, upload-time = "2025-07-26T12:01:22.448Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/1c/a12359b9b2ca3a845e8f7f9ac08bdf776114eb931392fcad91743e2ea17b/contourpy-1.3.3-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92d9abc807cf7d0e047b95ca5d957cf4792fcd04e920ca70d48add15c1a90ea7", size = 332653, upload-time = "2025-07-26T12:01:24.155Z" },
+ { url = "https://files.pythonhosted.org/packages/63/12/897aeebfb475b7748ea67b61e045accdfcf0d971f8a588b67108ed7f5512/contourpy-1.3.3-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b2e8faa0ed68cb29af51edd8e24798bb661eac3bd9f65420c1887b6ca89987c8", size = 379536, upload-time = "2025-07-26T12:01:25.91Z" },
+ { url = "https://files.pythonhosted.org/packages/43/8a/a8c584b82deb248930ce069e71576fc09bd7174bbd35183b7943fb1064fd/contourpy-1.3.3-cp312-cp312-manylinux_2_26_s390x.manylinux_2_28_s390x.whl", hash = "sha256:626d60935cf668e70a5ce6ff184fd713e9683fb458898e4249b63be9e28286ea", size = 384397, upload-time = "2025-07-26T12:01:27.152Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/8f/ec6289987824b29529d0dfda0d74a07cec60e54b9c92f3c9da4c0ac732de/contourpy-1.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d00e655fcef08aba35ec9610536bfe90267d7ab5ba944f7032549c55a146da1", size = 362601, upload-time = "2025-07-26T12:01:28.808Z" },
+ { url = "https://files.pythonhosted.org/packages/05/0a/a3fe3be3ee2dceb3e615ebb4df97ae6f3828aa915d3e10549ce016302bd1/contourpy-1.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:451e71b5a7d597379ef572de31eeb909a87246974d960049a9848c3bc6c41bf7", size = 1331288, upload-time = "2025-07-26T12:01:31.198Z" },
+ { url = "https://files.pythonhosted.org/packages/33/1d/acad9bd4e97f13f3e2b18a3977fe1b4a37ecf3d38d815333980c6c72e963/contourpy-1.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:459c1f020cd59fcfe6650180678a9993932d80d44ccde1fa1868977438f0b411", size = 1403386, upload-time = "2025-07-26T12:01:33.947Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/8f/5847f44a7fddf859704217a99a23a4f6417b10e5ab1256a179264561540e/contourpy-1.3.3-cp312-cp312-win32.whl", hash = "sha256:023b44101dfe49d7d53932be418477dba359649246075c996866106da069af69", size = 185018, upload-time = "2025-07-26T12:01:35.64Z" },
+ { url = "https://files.pythonhosted.org/packages/19/e8/6026ed58a64563186a9ee3f29f41261fd1828f527dd93d33b60feca63352/contourpy-1.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:8153b8bfc11e1e4d75bcb0bff1db232f9e10b274e0929de9d608027e0d34ff8b", size = 226567, upload-time = "2025-07-26T12:01:36.804Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/e2/f05240d2c39a1ed228d8328a78b6f44cd695f7ef47beb3e684cf93604f86/contourpy-1.3.3-cp312-cp312-win_arm64.whl", hash = "sha256:07ce5ed73ecdc4a03ffe3e1b3e3c1166db35ae7584be76f65dbbe28a7791b0cc", size = 193655, upload-time = "2025-07-26T12:01:37.999Z" },
]
[[package]]
name = "coverage"
version = "7.13.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/24/56/95b7e30fa389756cb56630faa728da46a27b8c6eb46f9d557c68fff12b65/coverage-7.13.4.tar.gz", hash = "sha256:e5c8f6ed1e61a8b2dcdf31eb0b9bbf0130750ca79c1c49eb898e2ad86f5ccc91", size = 827239 }
+sdist = { url = "https://files.pythonhosted.org/packages/24/56/95b7e30fa389756cb56630faa728da46a27b8c6eb46f9d557c68fff12b65/coverage-7.13.4.tar.gz", hash = "sha256:e5c8f6ed1e61a8b2dcdf31eb0b9bbf0130750ca79c1c49eb898e2ad86f5ccc91", size = 827239, upload-time = "2026-02-09T12:59:03.86Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d1/81/4ce2fdd909c5a0ed1f6dedb88aa57ab79b6d1fbd9b588c1ac7ef45659566/coverage-7.13.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:02231499b08dabbe2b96612993e5fc34217cdae907a51b906ac7fca8027a4459", size = 219449 },
- { url = "https://files.pythonhosted.org/packages/5d/96/5238b1efc5922ddbdc9b0db9243152c09777804fb7c02ad1741eb18a11c0/coverage-7.13.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40aa8808140e55dc022b15d8aa7f651b6b3d68b365ea0398f1441e0b04d859c3", size = 219810 },
- { url = "https://files.pythonhosted.org/packages/78/72/2f372b726d433c9c35e56377cf1d513b4c16fe51841060d826b95caacec1/coverage-7.13.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5b856a8ccf749480024ff3bd7310adaef57bf31fd17e1bfc404b7940b6986634", size = 251308 },
- { url = "https://files.pythonhosted.org/packages/5d/a0/2ea570925524ef4e00bb6c82649f5682a77fac5ab910a65c9284de422600/coverage-7.13.4-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c048ea43875fbf8b45d476ad79f179809c590ec7b79e2035c662e7afa3192e3", size = 254052 },
- { url = "https://files.pythonhosted.org/packages/e8/ac/45dc2e19a1939098d783c846e130b8f862fbb50d09e0af663988f2f21973/coverage-7.13.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b7b38448866e83176e28086674fe7368ab8590e4610fb662b44e345b86d63ffa", size = 255165 },
- { url = "https://files.pythonhosted.org/packages/2d/4d/26d236ff35abc3b5e63540d3386e4c3b192168c1d96da5cb2f43c640970f/coverage-7.13.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:de6defc1c9badbf8b9e67ae90fd00519186d6ab64e5cc5f3d21359c2a9b2c1d3", size = 257432 },
- { url = "https://files.pythonhosted.org/packages/ec/55/14a966c757d1348b2e19caf699415a2a4c4f7feaa4bbc6326a51f5c7dd1b/coverage-7.13.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7eda778067ad7ffccd23ecffce537dface96212576a07924cbf0d8799d2ded5a", size = 251716 },
- { url = "https://files.pythonhosted.org/packages/77/33/50116647905837c66d28b2af1321b845d5f5d19be9655cb84d4a0ea806b4/coverage-7.13.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e87f6c587c3f34356c3759f0420693e35e7eb0e2e41e4c011cb6ec6ecbbf1db7", size = 253089 },
- { url = "https://files.pythonhosted.org/packages/c2/b4/8efb11a46e3665d92635a56e4f2d4529de6d33f2cb38afd47d779d15fc99/coverage-7.13.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:8248977c2e33aecb2ced42fef99f2d319e9904a36e55a8a68b69207fb7e43edc", size = 251232 },
- { url = "https://files.pythonhosted.org/packages/51/24/8cd73dd399b812cc76bb0ac260e671c4163093441847ffe058ac9fda1e32/coverage-7.13.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:25381386e80ae727608e662474db537d4df1ecd42379b5ba33c84633a2b36d47", size = 255299 },
- { url = "https://files.pythonhosted.org/packages/03/94/0a4b12f1d0e029ce1ccc1c800944a9984cbe7d678e470bb6d3c6bc38a0da/coverage-7.13.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:ee756f00726693e5ba94d6df2bdfd64d4852d23b09bb0bc700e3b30e6f333985", size = 250796 },
- { url = "https://files.pythonhosted.org/packages/73/44/6002fbf88f6698ca034360ce474c406be6d5a985b3fdb3401128031eef6b/coverage-7.13.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fdfc1e28e7c7cdce44985b3043bc13bbd9c747520f94a4d7164af8260b3d91f0", size = 252673 },
- { url = "https://files.pythonhosted.org/packages/de/c6/a0279f7c00e786be75a749a5674e6fa267bcbd8209cd10c9a450c655dfa7/coverage-7.13.4-cp312-cp312-win32.whl", hash = "sha256:01d4cbc3c283a17fc1e42d614a119f7f438eabb593391283adca8dc86eff1246", size = 221990 },
- { url = "https://files.pythonhosted.org/packages/77/4e/c0a25a425fcf5557d9abd18419c95b63922e897bc86c1f327f155ef234a9/coverage-7.13.4-cp312-cp312-win_amd64.whl", hash = "sha256:9401ebc7ef522f01d01d45532c68c5ac40fb27113019b6b7d8b208f6e9baa126", size = 222800 },
- { url = "https://files.pythonhosted.org/packages/47/ac/92da44ad9a6f4e3a7debd178949d6f3769bedca33830ce9b1dcdab589a37/coverage-7.13.4-cp312-cp312-win_arm64.whl", hash = "sha256:b1ec7b6b6e93255f952e27ab58fbc68dcc468844b16ecbee881aeb29b6ab4d8d", size = 221415 },
- { url = "https://files.pythonhosted.org/packages/0d/4a/331fe2caf6799d591109bb9c08083080f6de90a823695d412a935622abb2/coverage-7.13.4-py3-none-any.whl", hash = "sha256:1af1641e57cf7ba1bd67d677c9abdbcd6cc2ab7da3bca7fa1e2b7e50e65f2ad0", size = 211242 },
+ { url = "https://files.pythonhosted.org/packages/d1/81/4ce2fdd909c5a0ed1f6dedb88aa57ab79b6d1fbd9b588c1ac7ef45659566/coverage-7.13.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:02231499b08dabbe2b96612993e5fc34217cdae907a51b906ac7fca8027a4459", size = 219449, upload-time = "2026-02-09T12:56:54.889Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/96/5238b1efc5922ddbdc9b0db9243152c09777804fb7c02ad1741eb18a11c0/coverage-7.13.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40aa8808140e55dc022b15d8aa7f651b6b3d68b365ea0398f1441e0b04d859c3", size = 219810, upload-time = "2026-02-09T12:56:56.33Z" },
+ { url = "https://files.pythonhosted.org/packages/78/72/2f372b726d433c9c35e56377cf1d513b4c16fe51841060d826b95caacec1/coverage-7.13.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5b856a8ccf749480024ff3bd7310adaef57bf31fd17e1bfc404b7940b6986634", size = 251308, upload-time = "2026-02-09T12:56:57.858Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/a0/2ea570925524ef4e00bb6c82649f5682a77fac5ab910a65c9284de422600/coverage-7.13.4-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c048ea43875fbf8b45d476ad79f179809c590ec7b79e2035c662e7afa3192e3", size = 254052, upload-time = "2026-02-09T12:56:59.754Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/ac/45dc2e19a1939098d783c846e130b8f862fbb50d09e0af663988f2f21973/coverage-7.13.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b7b38448866e83176e28086674fe7368ab8590e4610fb662b44e345b86d63ffa", size = 255165, upload-time = "2026-02-09T12:57:01.287Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/4d/26d236ff35abc3b5e63540d3386e4c3b192168c1d96da5cb2f43c640970f/coverage-7.13.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:de6defc1c9badbf8b9e67ae90fd00519186d6ab64e5cc5f3d21359c2a9b2c1d3", size = 257432, upload-time = "2026-02-09T12:57:02.637Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/55/14a966c757d1348b2e19caf699415a2a4c4f7feaa4bbc6326a51f5c7dd1b/coverage-7.13.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7eda778067ad7ffccd23ecffce537dface96212576a07924cbf0d8799d2ded5a", size = 251716, upload-time = "2026-02-09T12:57:04.056Z" },
+ { url = "https://files.pythonhosted.org/packages/77/33/50116647905837c66d28b2af1321b845d5f5d19be9655cb84d4a0ea806b4/coverage-7.13.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e87f6c587c3f34356c3759f0420693e35e7eb0e2e41e4c011cb6ec6ecbbf1db7", size = 253089, upload-time = "2026-02-09T12:57:05.503Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/b4/8efb11a46e3665d92635a56e4f2d4529de6d33f2cb38afd47d779d15fc99/coverage-7.13.4-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:8248977c2e33aecb2ced42fef99f2d319e9904a36e55a8a68b69207fb7e43edc", size = 251232, upload-time = "2026-02-09T12:57:06.879Z" },
+ { url = "https://files.pythonhosted.org/packages/51/24/8cd73dd399b812cc76bb0ac260e671c4163093441847ffe058ac9fda1e32/coverage-7.13.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:25381386e80ae727608e662474db537d4df1ecd42379b5ba33c84633a2b36d47", size = 255299, upload-time = "2026-02-09T12:57:08.245Z" },
+ { url = "https://files.pythonhosted.org/packages/03/94/0a4b12f1d0e029ce1ccc1c800944a9984cbe7d678e470bb6d3c6bc38a0da/coverage-7.13.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:ee756f00726693e5ba94d6df2bdfd64d4852d23b09bb0bc700e3b30e6f333985", size = 250796, upload-time = "2026-02-09T12:57:10.142Z" },
+ { url = "https://files.pythonhosted.org/packages/73/44/6002fbf88f6698ca034360ce474c406be6d5a985b3fdb3401128031eef6b/coverage-7.13.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fdfc1e28e7c7cdce44985b3043bc13bbd9c747520f94a4d7164af8260b3d91f0", size = 252673, upload-time = "2026-02-09T12:57:12.197Z" },
+ { url = "https://files.pythonhosted.org/packages/de/c6/a0279f7c00e786be75a749a5674e6fa267bcbd8209cd10c9a450c655dfa7/coverage-7.13.4-cp312-cp312-win32.whl", hash = "sha256:01d4cbc3c283a17fc1e42d614a119f7f438eabb593391283adca8dc86eff1246", size = 221990, upload-time = "2026-02-09T12:57:14.085Z" },
+ { url = "https://files.pythonhosted.org/packages/77/4e/c0a25a425fcf5557d9abd18419c95b63922e897bc86c1f327f155ef234a9/coverage-7.13.4-cp312-cp312-win_amd64.whl", hash = "sha256:9401ebc7ef522f01d01d45532c68c5ac40fb27113019b6b7d8b208f6e9baa126", size = 222800, upload-time = "2026-02-09T12:57:15.944Z" },
+ { url = "https://files.pythonhosted.org/packages/47/ac/92da44ad9a6f4e3a7debd178949d6f3769bedca33830ce9b1dcdab589a37/coverage-7.13.4-cp312-cp312-win_arm64.whl", hash = "sha256:b1ec7b6b6e93255f952e27ab58fbc68dcc468844b16ecbee881aeb29b6ab4d8d", size = 221415, upload-time = "2026-02-09T12:57:17.497Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/4a/331fe2caf6799d591109bb9c08083080f6de90a823695d412a935622abb2/coverage-7.13.4-py3-none-any.whl", hash = "sha256:1af1641e57cf7ba1bd67d677c9abdbcd6cc2ab7da3bca7fa1e2b7e50e65f2ad0", size = 211242, upload-time = "2026-02-09T12:59:02.032Z" },
]
[[package]]
@@ -630,9 +632,9 @@ dependencies = [
{ name = "tomli-w" },
{ name = "uv" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1e/c4/37f5e8e0ccb2804a3e2acc0ccf58f82dc9415a08fad71a3868cdf830c669/crewai-1.6.1.tar.gz", hash = "sha256:b7d73a8a333abf71b30ab20c54086004cd0c016dfd86bba9c035ad5eb31e22a7", size = 4177912 }
+sdist = { url = "https://files.pythonhosted.org/packages/1e/c4/37f5e8e0ccb2804a3e2acc0ccf58f82dc9415a08fad71a3868cdf830c669/crewai-1.6.1.tar.gz", hash = "sha256:b7d73a8a333abf71b30ab20c54086004cd0c016dfd86bba9c035ad5eb31e22a7", size = 4177912, upload-time = "2025-11-29T01:58:25.573Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/06/87/8ab9924b79025165ed7f1b04a90f9b80137d18ceae9b8e34445a8495320c/crewai-1.6.1-py3-none-any.whl", hash = "sha256:8cec403ab89183bda28b830c722b6bc22457a2151a6aa46f07730e6fe7ab2723", size = 642861 },
+ { url = "https://files.pythonhosted.org/packages/06/87/8ab9924b79025165ed7f1b04a90f9b80137d18ceae9b8e34445a8495320c/crewai-1.6.1-py3-none-any.whl", hash = "sha256:8cec403ab89183bda28b830c722b6bc22457a2151a6aa46f07730e6fe7ab2723", size = 642861, upload-time = "2025-11-29T01:58:23.232Z" },
]
[[package]]
@@ -651,9 +653,9 @@ dependencies = [
{ name = "tiktoken" },
{ name = "youtube-transcript-api" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f4/e2/039d47c1d5266a807c9f4f8d4b927fab1ebfb60989ec6b65fcd88070a510/crewai_tools-1.6.1.tar.gz", hash = "sha256:8724400b85b0a97de09fe681b1d0bf4334e3e68bcf5ede8a056e2beed0227907", size = 805758 }
+sdist = { url = "https://files.pythonhosted.org/packages/f4/e2/039d47c1d5266a807c9f4f8d4b927fab1ebfb60989ec6b65fcd88070a510/crewai_tools-1.6.1.tar.gz", hash = "sha256:8724400b85b0a97de09fe681b1d0bf4334e3e68bcf5ede8a056e2beed0227907", size = 805758, upload-time = "2025-11-29T01:58:29.613Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9a/d1/38d0bc01712cf086cd80fe778ed15ff9b57dc5cf4c0b11f1f40d88d4b50a/crewai_tools-1.6.1-py3-none-any.whl", hash = "sha256:62996840db257af9c471f9f4191b4268cb4dd7006b381670b968ac55973e08af", size = 764950 },
+ { url = "https://files.pythonhosted.org/packages/9a/d1/38d0bc01712cf086cd80fe778ed15ff9b57dc5cf4c0b11f1f40d88d4b50a/crewai_tools-1.6.1-py3-none-any.whl", hash = "sha256:62996840db257af9c471f9f4191b4268cb4dd7006b381670b968ac55973e08af", size = 764950, upload-time = "2025-11-29T01:58:27.441Z" },
]
[[package]]
@@ -663,45 +665,45 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "cffi", marker = "platform_python_implementation != 'PyPy'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/60/04/ee2a9e8542e4fa2773b81771ff8349ff19cdd56b7258a0cc442639052edb/cryptography-46.0.5.tar.gz", hash = "sha256:abace499247268e3757271b2f1e244b36b06f8515cf27c4d49468fc9eb16e93d", size = 750064 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/f7/81/b0bb27f2ba931a65409c6b8a8b358a7f03c0e46eceacddff55f7c84b1f3b/cryptography-46.0.5-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:351695ada9ea9618b3500b490ad54c739860883df6c1f555e088eaf25b1bbaad", size = 7176289 },
- { url = "https://files.pythonhosted.org/packages/ff/9e/6b4397a3e3d15123de3b1806ef342522393d50736c13b20ec4c9ea6693a6/cryptography-46.0.5-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c18ff11e86df2e28854939acde2d003f7984f721eba450b56a200ad90eeb0e6b", size = 4275637 },
- { url = "https://files.pythonhosted.org/packages/63/e7/471ab61099a3920b0c77852ea3f0ea611c9702f651600397ac567848b897/cryptography-46.0.5-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d7e3d356b8cd4ea5aff04f129d5f66ebdc7b6f8eae802b93739ed520c47c79b", size = 4424742 },
- { url = "https://files.pythonhosted.org/packages/37/53/a18500f270342d66bf7e4d9f091114e31e5ee9e7375a5aba2e85a91e0044/cryptography-46.0.5-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:50bfb6925eff619c9c023b967d5b77a54e04256c4281b0e21336a130cd7fc263", size = 4277528 },
- { url = "https://files.pythonhosted.org/packages/22/29/c2e812ebc38c57b40e7c583895e73c8c5adb4d1e4a0cc4c5a4fdab2b1acc/cryptography-46.0.5-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:803812e111e75d1aa73690d2facc295eaefd4439be1023fefc4995eaea2af90d", size = 4947993 },
- { url = "https://files.pythonhosted.org/packages/6b/e7/237155ae19a9023de7e30ec64e5d99a9431a567407ac21170a046d22a5a3/cryptography-46.0.5-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ee190460e2fbe447175cda91b88b84ae8322a104fc27766ad09428754a618ed", size = 4456855 },
- { url = "https://files.pythonhosted.org/packages/2d/87/fc628a7ad85b81206738abbd213b07702bcbdada1dd43f72236ef3cffbb5/cryptography-46.0.5-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:f145bba11b878005c496e93e257c1e88f154d278d2638e6450d17e0f31e558d2", size = 3984635 },
- { url = "https://files.pythonhosted.org/packages/84/29/65b55622bde135aedf4565dc509d99b560ee4095e56989e815f8fd2aa910/cryptography-46.0.5-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:e9251e3be159d1020c4030bd2e5f84d6a43fe54b6c19c12f51cde9542a2817b2", size = 4277038 },
- { url = "https://files.pythonhosted.org/packages/bc/36/45e76c68d7311432741faf1fbf7fac8a196a0a735ca21f504c75d37e2558/cryptography-46.0.5-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:47fb8a66058b80e509c47118ef8a75d14c455e81ac369050f20ba0d23e77fee0", size = 4912181 },
- { url = "https://files.pythonhosted.org/packages/6d/1a/c1ba8fead184d6e3d5afcf03d569acac5ad063f3ac9fb7258af158f7e378/cryptography-46.0.5-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:4c3341037c136030cb46e4b1e17b7418ea4cbd9dd207e4a6f3b2b24e0d4ac731", size = 4456482 },
- { url = "https://files.pythonhosted.org/packages/f9/e5/3fb22e37f66827ced3b902cf895e6a6bc1d095b5b26be26bd13c441fdf19/cryptography-46.0.5-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:890bcb4abd5a2d3f852196437129eb3667d62630333aacc13dfd470fad3aaa82", size = 4405497 },
- { url = "https://files.pythonhosted.org/packages/1a/df/9d58bb32b1121a8a2f27383fabae4d63080c7ca60b9b5c88be742be04ee7/cryptography-46.0.5-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:80a8d7bfdf38f87ca30a5391c0c9ce4ed2926918e017c29ddf643d0ed2778ea1", size = 4667819 },
- { url = "https://files.pythonhosted.org/packages/ea/ed/325d2a490c5e94038cdb0117da9397ece1f11201f425c4e9c57fe5b9f08b/cryptography-46.0.5-cp311-abi3-win32.whl", hash = "sha256:60ee7e19e95104d4c03871d7d7dfb3d22ef8a9b9c6778c94e1c8fcc8365afd48", size = 3028230 },
- { url = "https://files.pythonhosted.org/packages/e9/5a/ac0f49e48063ab4255d9e3b79f5def51697fce1a95ea1370f03dc9db76f6/cryptography-46.0.5-cp311-abi3-win_amd64.whl", hash = "sha256:38946c54b16c885c72c4f59846be9743d699eee2b69b6988e0a00a01f46a61a4", size = 3480909 },
- { url = "https://files.pythonhosted.org/packages/e2/fa/a66aa722105ad6a458bebd64086ca2b72cdd361fed31763d20390f6f1389/cryptography-46.0.5-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:4108d4c09fbbf2789d0c926eb4152ae1760d5a2d97612b92d508d96c861e4d31", size = 7170514 },
- { url = "https://files.pythonhosted.org/packages/0f/04/c85bdeab78c8bc77b701bf0d9bdcf514c044e18a46dcff330df5448631b0/cryptography-46.0.5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7d1f30a86d2757199cb2d56e48cce14deddf1f9c95f1ef1b64ee91ea43fe2e18", size = 4275349 },
- { url = "https://files.pythonhosted.org/packages/5c/32/9b87132a2f91ee7f5223b091dc963055503e9b442c98fc0b8a5ca765fab0/cryptography-46.0.5-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:039917b0dc418bb9f6edce8a906572d69e74bd330b0b3fea4f79dab7f8ddd235", size = 4420667 },
- { url = "https://files.pythonhosted.org/packages/a1/a6/a7cb7010bec4b7c5692ca6f024150371b295ee1c108bdc1c400e4c44562b/cryptography-46.0.5-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:ba2a27ff02f48193fc4daeadf8ad2590516fa3d0adeeb34336b96f7fa64c1e3a", size = 4276980 },
- { url = "https://files.pythonhosted.org/packages/8e/7c/c4f45e0eeff9b91e3f12dbd0e165fcf2a38847288fcfd889deea99fb7b6d/cryptography-46.0.5-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:61aa400dce22cb001a98014f647dc21cda08f7915ceb95df0c9eaf84b4b6af76", size = 4939143 },
- { url = "https://files.pythonhosted.org/packages/37/19/e1b8f964a834eddb44fa1b9a9976f4e414cbb7aa62809b6760c8803d22d1/cryptography-46.0.5-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ce58ba46e1bc2aac4f7d9290223cead56743fa6ab94a5d53292ffaac6a91614", size = 4453674 },
- { url = "https://files.pythonhosted.org/packages/db/ed/db15d3956f65264ca204625597c410d420e26530c4e2943e05a0d2f24d51/cryptography-46.0.5-cp38-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:420d0e909050490d04359e7fdb5ed7e667ca5c3c402b809ae2563d7e66a92229", size = 3978801 },
- { url = "https://files.pythonhosted.org/packages/41/e2/df40a31d82df0a70a0daf69791f91dbb70e47644c58581d654879b382d11/cryptography-46.0.5-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:582f5fcd2afa31622f317f80426a027f30dc792e9c80ffee87b993200ea115f1", size = 4276755 },
- { url = "https://files.pythonhosted.org/packages/33/45/726809d1176959f4a896b86907b98ff4391a8aa29c0aaaf9450a8a10630e/cryptography-46.0.5-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:bfd56bb4b37ed4f330b82402f6f435845a5f5648edf1ad497da51a8452d5d62d", size = 4901539 },
- { url = "https://files.pythonhosted.org/packages/99/0f/a3076874e9c88ecb2ecc31382f6e7c21b428ede6f55aafa1aa272613e3cd/cryptography-46.0.5-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:a3d507bb6a513ca96ba84443226af944b0f7f47dcc9a399d110cd6146481d24c", size = 4452794 },
- { url = "https://files.pythonhosted.org/packages/02/ef/ffeb542d3683d24194a38f66ca17c0a4b8bf10631feef44a7ef64e631b1a/cryptography-46.0.5-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9f16fbdf4da055efb21c22d81b89f155f02ba420558db21288b3d0035bafd5f4", size = 4404160 },
- { url = "https://files.pythonhosted.org/packages/96/93/682d2b43c1d5f1406ed048f377c0fc9fc8f7b0447a478d5c65ab3d3a66eb/cryptography-46.0.5-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ced80795227d70549a411a4ab66e8ce307899fad2220ce5ab2f296e687eacde9", size = 4667123 },
- { url = "https://files.pythonhosted.org/packages/45/2d/9c5f2926cb5300a8eefc3f4f0b3f3df39db7f7ce40c8365444c49363cbda/cryptography-46.0.5-cp38-abi3-win32.whl", hash = "sha256:02f547fce831f5096c9a567fd41bc12ca8f11df260959ecc7c3202555cc47a72", size = 3010220 },
- { url = "https://files.pythonhosted.org/packages/48/ef/0c2f4a8e31018a986949d34a01115dd057bf536905dca38897bacd21fac3/cryptography-46.0.5-cp38-abi3-win_amd64.whl", hash = "sha256:556e106ee01aa13484ce9b0239bca667be5004efb0aabbed28d353df86445595", size = 3467050 },
+sdist = { url = "https://files.pythonhosted.org/packages/60/04/ee2a9e8542e4fa2773b81771ff8349ff19cdd56b7258a0cc442639052edb/cryptography-46.0.5.tar.gz", hash = "sha256:abace499247268e3757271b2f1e244b36b06f8515cf27c4d49468fc9eb16e93d", size = 750064, upload-time = "2026-02-10T19:18:38.255Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f7/81/b0bb27f2ba931a65409c6b8a8b358a7f03c0e46eceacddff55f7c84b1f3b/cryptography-46.0.5-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:351695ada9ea9618b3500b490ad54c739860883df6c1f555e088eaf25b1bbaad", size = 7176289, upload-time = "2026-02-10T19:17:08.274Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/9e/6b4397a3e3d15123de3b1806ef342522393d50736c13b20ec4c9ea6693a6/cryptography-46.0.5-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c18ff11e86df2e28854939acde2d003f7984f721eba450b56a200ad90eeb0e6b", size = 4275637, upload-time = "2026-02-10T19:17:10.53Z" },
+ { url = "https://files.pythonhosted.org/packages/63/e7/471ab61099a3920b0c77852ea3f0ea611c9702f651600397ac567848b897/cryptography-46.0.5-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d7e3d356b8cd4ea5aff04f129d5f66ebdc7b6f8eae802b93739ed520c47c79b", size = 4424742, upload-time = "2026-02-10T19:17:12.388Z" },
+ { url = "https://files.pythonhosted.org/packages/37/53/a18500f270342d66bf7e4d9f091114e31e5ee9e7375a5aba2e85a91e0044/cryptography-46.0.5-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:50bfb6925eff619c9c023b967d5b77a54e04256c4281b0e21336a130cd7fc263", size = 4277528, upload-time = "2026-02-10T19:17:13.853Z" },
+ { url = "https://files.pythonhosted.org/packages/22/29/c2e812ebc38c57b40e7c583895e73c8c5adb4d1e4a0cc4c5a4fdab2b1acc/cryptography-46.0.5-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:803812e111e75d1aa73690d2facc295eaefd4439be1023fefc4995eaea2af90d", size = 4947993, upload-time = "2026-02-10T19:17:15.618Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/e7/237155ae19a9023de7e30ec64e5d99a9431a567407ac21170a046d22a5a3/cryptography-46.0.5-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ee190460e2fbe447175cda91b88b84ae8322a104fc27766ad09428754a618ed", size = 4456855, upload-time = "2026-02-10T19:17:17.221Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/87/fc628a7ad85b81206738abbd213b07702bcbdada1dd43f72236ef3cffbb5/cryptography-46.0.5-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:f145bba11b878005c496e93e257c1e88f154d278d2638e6450d17e0f31e558d2", size = 3984635, upload-time = "2026-02-10T19:17:18.792Z" },
+ { url = "https://files.pythonhosted.org/packages/84/29/65b55622bde135aedf4565dc509d99b560ee4095e56989e815f8fd2aa910/cryptography-46.0.5-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:e9251e3be159d1020c4030bd2e5f84d6a43fe54b6c19c12f51cde9542a2817b2", size = 4277038, upload-time = "2026-02-10T19:17:20.256Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/36/45e76c68d7311432741faf1fbf7fac8a196a0a735ca21f504c75d37e2558/cryptography-46.0.5-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:47fb8a66058b80e509c47118ef8a75d14c455e81ac369050f20ba0d23e77fee0", size = 4912181, upload-time = "2026-02-10T19:17:21.825Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/1a/c1ba8fead184d6e3d5afcf03d569acac5ad063f3ac9fb7258af158f7e378/cryptography-46.0.5-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:4c3341037c136030cb46e4b1e17b7418ea4cbd9dd207e4a6f3b2b24e0d4ac731", size = 4456482, upload-time = "2026-02-10T19:17:25.133Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/e5/3fb22e37f66827ced3b902cf895e6a6bc1d095b5b26be26bd13c441fdf19/cryptography-46.0.5-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:890bcb4abd5a2d3f852196437129eb3667d62630333aacc13dfd470fad3aaa82", size = 4405497, upload-time = "2026-02-10T19:17:26.66Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/df/9d58bb32b1121a8a2f27383fabae4d63080c7ca60b9b5c88be742be04ee7/cryptography-46.0.5-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:80a8d7bfdf38f87ca30a5391c0c9ce4ed2926918e017c29ddf643d0ed2778ea1", size = 4667819, upload-time = "2026-02-10T19:17:28.569Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/ed/325d2a490c5e94038cdb0117da9397ece1f11201f425c4e9c57fe5b9f08b/cryptography-46.0.5-cp311-abi3-win32.whl", hash = "sha256:60ee7e19e95104d4c03871d7d7dfb3d22ef8a9b9c6778c94e1c8fcc8365afd48", size = 3028230, upload-time = "2026-02-10T19:17:30.518Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/5a/ac0f49e48063ab4255d9e3b79f5def51697fce1a95ea1370f03dc9db76f6/cryptography-46.0.5-cp311-abi3-win_amd64.whl", hash = "sha256:38946c54b16c885c72c4f59846be9743d699eee2b69b6988e0a00a01f46a61a4", size = 3480909, upload-time = "2026-02-10T19:17:32.083Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/fa/a66aa722105ad6a458bebd64086ca2b72cdd361fed31763d20390f6f1389/cryptography-46.0.5-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:4108d4c09fbbf2789d0c926eb4152ae1760d5a2d97612b92d508d96c861e4d31", size = 7170514, upload-time = "2026-02-10T19:17:56.267Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/04/c85bdeab78c8bc77b701bf0d9bdcf514c044e18a46dcff330df5448631b0/cryptography-46.0.5-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7d1f30a86d2757199cb2d56e48cce14deddf1f9c95f1ef1b64ee91ea43fe2e18", size = 4275349, upload-time = "2026-02-10T19:17:58.419Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/32/9b87132a2f91ee7f5223b091dc963055503e9b442c98fc0b8a5ca765fab0/cryptography-46.0.5-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:039917b0dc418bb9f6edce8a906572d69e74bd330b0b3fea4f79dab7f8ddd235", size = 4420667, upload-time = "2026-02-10T19:18:00.619Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/a6/a7cb7010bec4b7c5692ca6f024150371b295ee1c108bdc1c400e4c44562b/cryptography-46.0.5-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:ba2a27ff02f48193fc4daeadf8ad2590516fa3d0adeeb34336b96f7fa64c1e3a", size = 4276980, upload-time = "2026-02-10T19:18:02.379Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/7c/c4f45e0eeff9b91e3f12dbd0e165fcf2a38847288fcfd889deea99fb7b6d/cryptography-46.0.5-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:61aa400dce22cb001a98014f647dc21cda08f7915ceb95df0c9eaf84b4b6af76", size = 4939143, upload-time = "2026-02-10T19:18:03.964Z" },
+ { url = "https://files.pythonhosted.org/packages/37/19/e1b8f964a834eddb44fa1b9a9976f4e414cbb7aa62809b6760c8803d22d1/cryptography-46.0.5-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3ce58ba46e1bc2aac4f7d9290223cead56743fa6ab94a5d53292ffaac6a91614", size = 4453674, upload-time = "2026-02-10T19:18:05.588Z" },
+ { url = "https://files.pythonhosted.org/packages/db/ed/db15d3956f65264ca204625597c410d420e26530c4e2943e05a0d2f24d51/cryptography-46.0.5-cp38-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:420d0e909050490d04359e7fdb5ed7e667ca5c3c402b809ae2563d7e66a92229", size = 3978801, upload-time = "2026-02-10T19:18:07.167Z" },
+ { url = "https://files.pythonhosted.org/packages/41/e2/df40a31d82df0a70a0daf69791f91dbb70e47644c58581d654879b382d11/cryptography-46.0.5-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:582f5fcd2afa31622f317f80426a027f30dc792e9c80ffee87b993200ea115f1", size = 4276755, upload-time = "2026-02-10T19:18:09.813Z" },
+ { url = "https://files.pythonhosted.org/packages/33/45/726809d1176959f4a896b86907b98ff4391a8aa29c0aaaf9450a8a10630e/cryptography-46.0.5-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:bfd56bb4b37ed4f330b82402f6f435845a5f5648edf1ad497da51a8452d5d62d", size = 4901539, upload-time = "2026-02-10T19:18:11.263Z" },
+ { url = "https://files.pythonhosted.org/packages/99/0f/a3076874e9c88ecb2ecc31382f6e7c21b428ede6f55aafa1aa272613e3cd/cryptography-46.0.5-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:a3d507bb6a513ca96ba84443226af944b0f7f47dcc9a399d110cd6146481d24c", size = 4452794, upload-time = "2026-02-10T19:18:12.914Z" },
+ { url = "https://files.pythonhosted.org/packages/02/ef/ffeb542d3683d24194a38f66ca17c0a4b8bf10631feef44a7ef64e631b1a/cryptography-46.0.5-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9f16fbdf4da055efb21c22d81b89f155f02ba420558db21288b3d0035bafd5f4", size = 4404160, upload-time = "2026-02-10T19:18:14.375Z" },
+ { url = "https://files.pythonhosted.org/packages/96/93/682d2b43c1d5f1406ed048f377c0fc9fc8f7b0447a478d5c65ab3d3a66eb/cryptography-46.0.5-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ced80795227d70549a411a4ab66e8ce307899fad2220ce5ab2f296e687eacde9", size = 4667123, upload-time = "2026-02-10T19:18:15.886Z" },
+ { url = "https://files.pythonhosted.org/packages/45/2d/9c5f2926cb5300a8eefc3f4f0b3f3df39db7f7ce40c8365444c49363cbda/cryptography-46.0.5-cp38-abi3-win32.whl", hash = "sha256:02f547fce831f5096c9a567fd41bc12ca8f11df260959ecc7c3202555cc47a72", size = 3010220, upload-time = "2026-02-10T19:18:17.361Z" },
+ { url = "https://files.pythonhosted.org/packages/48/ef/0c2f4a8e31018a986949d34a01115dd057bf536905dca38897bacd21fac3/cryptography-46.0.5-cp38-abi3-win_amd64.whl", hash = "sha256:556e106ee01aa13484ce9b0239bca667be5004efb0aabbed28d353df86445595", size = 3467050, upload-time = "2026-02-10T19:18:18.899Z" },
]
[[package]]
name = "cycler"
version = "0.12.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c", size = 7615 }
+sdist = { url = "https://files.pythonhosted.org/packages/a9/95/a3dbbb5028f35eafb79008e7522a75244477d2838f38cbb722248dabc2a8/cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c", size = 7615, upload-time = "2023-10-07T05:32:18.335Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321 },
+ { url = "https://files.pythonhosted.org/packages/e7/05/c19819d5e3d95294a6f5947fb9b9629efb316b96de511b418c53d245aae6/cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30", size = 8321, upload-time = "2023-10-07T05:32:16.783Z" },
]
[[package]]
@@ -713,9 +715,9 @@ dependencies = [
{ name = "protobuf" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/8b/6d/abe91ddf26be80619a02ddfc34ee3cd92da285967fff0173fcff54c433c3/databricks_sdk-0.97.0.tar.gz", hash = "sha256:e3d0e0d283963f72fc2b995dd97a6c0e988062214cd28aca4e1a5ff71c264dcb", size = 871058 }
+sdist = { url = "https://files.pythonhosted.org/packages/8b/6d/abe91ddf26be80619a02ddfc34ee3cd92da285967fff0173fcff54c433c3/databricks_sdk-0.97.0.tar.gz", hash = "sha256:e3d0e0d283963f72fc2b995dd97a6c0e988062214cd28aca4e1a5ff71c264dcb", size = 871058, upload-time = "2026-03-09T08:16:10.07Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0a/02/11e9893cf1a6c0b495260838582a2a2a6037e1e6ce2c32164cf9e7a2353a/databricks_sdk-0.97.0-py3-none-any.whl", hash = "sha256:fbb758e3374ce5b7f697182781c0b8904e341eac4a3722a07138cacde09d4e7b", size = 822045 },
+ { url = "https://files.pythonhosted.org/packages/0a/02/11e9893cf1a6c0b495260838582a2a2a6037e1e6ce2c32164cf9e7a2353a/databricks_sdk-0.97.0-py3-none-any.whl", hash = "sha256:fbb758e3374ce5b7f697182781c0b8904e341eac4a3722a07138cacde09d4e7b", size = 822045, upload-time = "2026-03-09T08:16:08.044Z" },
]
[[package]]
@@ -726,9 +728,9 @@ dependencies = [
{ name = "marshmallow" },
{ name = "typing-inspect" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/64/a4/f71d9cf3a5ac257c993b5ca3f93df5f7fb395c725e7f1e6479d2514173c3/dataclasses_json-0.6.7.tar.gz", hash = "sha256:b6b3e528266ea45b9535223bc53ca645f5208833c29229e847b3f26a1cc55fc0", size = 32227 }
+sdist = { url = "https://files.pythonhosted.org/packages/64/a4/f71d9cf3a5ac257c993b5ca3f93df5f7fb395c725e7f1e6479d2514173c3/dataclasses_json-0.6.7.tar.gz", hash = "sha256:b6b3e528266ea45b9535223bc53ca645f5208833c29229e847b3f26a1cc55fc0", size = 32227, upload-time = "2024-06-09T16:20:19.103Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c3/be/d0d44e092656fe7a06b55e6103cbce807cdbdee17884a5367c68c9860853/dataclasses_json-0.6.7-py3-none-any.whl", hash = "sha256:0dbf33f26c8d5305befd61b39d2b3414e8a407bedc2834dea9b8d642666fb40a", size = 28686 },
+ { url = "https://files.pythonhosted.org/packages/c3/be/d0d44e092656fe7a06b55e6103cbce807cdbdee17884a5367c68c9860853/dataclasses_json-0.6.7-py3-none-any.whl", hash = "sha256:0dbf33f26c8d5305befd61b39d2b3414e8a407bedc2834dea9b8d642666fb40a", size = 28686, upload-time = "2024-06-09T16:20:16.715Z" },
]
[[package]]
@@ -750,40 +752,40 @@ dependencies = [
{ name = "tqdm" },
{ name = "xxhash" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1a/89/d3d6fef58a488f8569c82fd293ab7cbd4250244d67f425dcae64c63800ea/datasets-3.6.0.tar.gz", hash = "sha256:1b2bf43b19776e2787e181cfd329cb0ca1a358ea014780c3581e0f276375e041", size = 569336 }
+sdist = { url = "https://files.pythonhosted.org/packages/1a/89/d3d6fef58a488f8569c82fd293ab7cbd4250244d67f425dcae64c63800ea/datasets-3.6.0.tar.gz", hash = "sha256:1b2bf43b19776e2787e181cfd329cb0ca1a358ea014780c3581e0f276375e041", size = 569336, upload-time = "2025-05-07T15:15:02.659Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/20/34/a08b0ee99715eaba118cbe19a71f7b5e2425c2718ef96007c325944a1152/datasets-3.6.0-py3-none-any.whl", hash = "sha256:25000c4a2c0873a710df127d08a202a06eab7bf42441a6bc278b499c2f72cd1b", size = 491546 },
+ { url = "https://files.pythonhosted.org/packages/20/34/a08b0ee99715eaba118cbe19a71f7b5e2425c2718ef96007c325944a1152/datasets-3.6.0-py3-none-any.whl", hash = "sha256:25000c4a2c0873a710df127d08a202a06eab7bf42441a6bc278b499c2f72cd1b", size = 491546, upload-time = "2025-05-07T15:14:59.742Z" },
]
[[package]]
name = "debugpy"
version = "1.8.20"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/e0/b7/cd8080344452e4874aae67c40d8940e2b4d47b01601a8fd9f44786c757c7/debugpy-1.8.20.tar.gz", hash = "sha256:55bc8701714969f1ab89a6d5f2f3d40c36f91b2cbe2f65d98bf8196f6a6a2c33", size = 1645207 }
+sdist = { url = "https://files.pythonhosted.org/packages/e0/b7/cd8080344452e4874aae67c40d8940e2b4d47b01601a8fd9f44786c757c7/debugpy-1.8.20.tar.gz", hash = "sha256:55bc8701714969f1ab89a6d5f2f3d40c36f91b2cbe2f65d98bf8196f6a6a2c33", size = 1645207, upload-time = "2026-01-29T23:03:28.199Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/14/57/7f34f4736bfb6e00f2e4c96351b07805d83c9a7b33d28580ae01374430f7/debugpy-1.8.20-cp312-cp312-macosx_15_0_universal2.whl", hash = "sha256:4ae3135e2089905a916909ef31922b2d733d756f66d87345b3e5e52b7a55f13d", size = 2550686 },
- { url = "https://files.pythonhosted.org/packages/ab/78/b193a3975ca34458f6f0e24aaf5c3e3da72f5401f6054c0dfd004b41726f/debugpy-1.8.20-cp312-cp312-manylinux_2_34_x86_64.whl", hash = "sha256:88f47850a4284b88bd2bfee1f26132147d5d504e4e86c22485dfa44b97e19b4b", size = 4310588 },
- { url = "https://files.pythonhosted.org/packages/c1/55/f14deb95eaf4f30f07ef4b90a8590fc05d9e04df85ee379712f6fb6736d7/debugpy-1.8.20-cp312-cp312-win32.whl", hash = "sha256:4057ac68f892064e5f98209ab582abfee3b543fb55d2e87610ddc133a954d390", size = 5331372 },
- { url = "https://files.pythonhosted.org/packages/a1/39/2bef246368bd42f9bd7cba99844542b74b84dacbdbea0833e610f384fee8/debugpy-1.8.20-cp312-cp312-win_amd64.whl", hash = "sha256:a1a8f851e7cf171330679ef6997e9c579ef6dd33c9098458bd9986a0f4ca52e3", size = 5372835 },
- { url = "https://files.pythonhosted.org/packages/e0/c3/7f67dea8ccf8fdcb9c99033bbe3e90b9e7395415843accb81428c441be2d/debugpy-1.8.20-py2.py3-none-any.whl", hash = "sha256:5be9bed9ae3be00665a06acaa48f8329d2b9632f15fd09f6a9a8c8d9907e54d7", size = 5337658 },
+ { url = "https://files.pythonhosted.org/packages/14/57/7f34f4736bfb6e00f2e4c96351b07805d83c9a7b33d28580ae01374430f7/debugpy-1.8.20-cp312-cp312-macosx_15_0_universal2.whl", hash = "sha256:4ae3135e2089905a916909ef31922b2d733d756f66d87345b3e5e52b7a55f13d", size = 2550686, upload-time = "2026-01-29T23:03:42.023Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/78/b193a3975ca34458f6f0e24aaf5c3e3da72f5401f6054c0dfd004b41726f/debugpy-1.8.20-cp312-cp312-manylinux_2_34_x86_64.whl", hash = "sha256:88f47850a4284b88bd2bfee1f26132147d5d504e4e86c22485dfa44b97e19b4b", size = 4310588, upload-time = "2026-01-29T23:03:43.314Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/55/f14deb95eaf4f30f07ef4b90a8590fc05d9e04df85ee379712f6fb6736d7/debugpy-1.8.20-cp312-cp312-win32.whl", hash = "sha256:4057ac68f892064e5f98209ab582abfee3b543fb55d2e87610ddc133a954d390", size = 5331372, upload-time = "2026-01-29T23:03:45.526Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/39/2bef246368bd42f9bd7cba99844542b74b84dacbdbea0833e610f384fee8/debugpy-1.8.20-cp312-cp312-win_amd64.whl", hash = "sha256:a1a8f851e7cf171330679ef6997e9c579ef6dd33c9098458bd9986a0f4ca52e3", size = 5372835, upload-time = "2026-01-29T23:03:47.245Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/c3/7f67dea8ccf8fdcb9c99033bbe3e90b9e7395415843accb81428c441be2d/debugpy-1.8.20-py2.py3-none-any.whl", hash = "sha256:5be9bed9ae3be00665a06acaa48f8329d2b9632f15fd09f6a9a8c8d9907e54d7", size = 5337658, upload-time = "2026-01-29T23:04:17.404Z" },
]
[[package]]
name = "decorator"
version = "5.2.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/43/fa/6d96a0978d19e17b68d634497769987b16c8f4cd0a7a05048bec693caa6b/decorator-5.2.1.tar.gz", hash = "sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360", size = 56711 }
+sdist = { url = "https://files.pythonhosted.org/packages/43/fa/6d96a0978d19e17b68d634497769987b16c8f4cd0a7a05048bec693caa6b/decorator-5.2.1.tar.gz", hash = "sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360", size = 56711, upload-time = "2025-02-24T04:41:34.073Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4e/8c/f3147f5c4b73e7550fe5f9352eaa956ae838d5c51eb58e7a25b9f3e2643b/decorator-5.2.1-py3-none-any.whl", hash = "sha256:d316bb415a2d9e2d2b3abcc4084c6502fc09240e292cd76a76afc106a1c8e04a", size = 9190 },
+ { url = "https://files.pythonhosted.org/packages/4e/8c/f3147f5c4b73e7550fe5f9352eaa956ae838d5c51eb58e7a25b9f3e2643b/decorator-5.2.1-py3-none-any.whl", hash = "sha256:d316bb415a2d9e2d2b3abcc4084c6502fc09240e292cd76a76afc106a1c8e04a", size = 9190, upload-time = "2025-02-24T04:41:32.565Z" },
]
[[package]]
name = "defusedxml"
version = "0.7.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", size = 75520 }
+sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", size = 75520, upload-time = "2021-03-08T10:59:26.269Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61", size = 25604 },
+ { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61", size = 25604, upload-time = "2021-03-08T10:59:24.45Z" },
]
[[package]]
@@ -793,9 +795,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "wrapt" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/49/85/12f0a49a7c4ffb70572b6c2ef13c90c88fd190debda93b23f026b25f9634/deprecated-1.3.1.tar.gz", hash = "sha256:b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223", size = 2932523 }
+sdist = { url = "https://files.pythonhosted.org/packages/49/85/12f0a49a7c4ffb70572b6c2ef13c90c88fd190debda93b23f026b25f9634/deprecated-1.3.1.tar.gz", hash = "sha256:b1b50e0ff0c1fddaa5708a2c6b0a6588bb09b892825ab2b214ac9ea9d92a5223", size = 2932523, upload-time = "2025-10-30T08:19:02.757Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl", hash = "sha256:597bfef186b6f60181535a29fbe44865ce137a5079f295b479886c82729d5f3f", size = 11298 },
+ { url = "https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl", hash = "sha256:597bfef186b6f60181535a29fbe44865ce137a5079f295b479886c82729d5f3f", size = 11298, upload-time = "2025-10-30T08:19:00.758Z" },
]
[[package]]
@@ -805,54 +807,54 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "packaging" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5a/d3/8ae2869247df154b64c1884d7346d412fed0c49df84db635aab2d1c40e62/deprecation-2.1.0.tar.gz", hash = "sha256:72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff", size = 173788 }
+sdist = { url = "https://files.pythonhosted.org/packages/5a/d3/8ae2869247df154b64c1884d7346d412fed0c49df84db635aab2d1c40e62/deprecation-2.1.0.tar.gz", hash = "sha256:72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff", size = 173788, upload-time = "2020-04-20T14:23:38.738Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/02/c3/253a89ee03fc9b9682f1541728eb66db7db22148cd94f89ab22528cd1e1b/deprecation-2.1.0-py2.py3-none-any.whl", hash = "sha256:a10811591210e1fb0e768a8c25517cabeabcba6f0bf96564f8ff45189f90b14a", size = 11178 },
+ { url = "https://files.pythonhosted.org/packages/02/c3/253a89ee03fc9b9682f1541728eb66db7db22148cd94f89ab22528cd1e1b/deprecation-2.1.0-py2.py3-none-any.whl", hash = "sha256:a10811591210e1fb0e768a8c25517cabeabcba6f0bf96564f8ff45189f90b14a", size = 11178, upload-time = "2020-04-20T14:23:36.581Z" },
]
[[package]]
name = "dill"
version = "0.3.8"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/17/4d/ac7ffa80c69ea1df30a8aa11b3578692a5118e7cd1aa157e3ef73b092d15/dill-0.3.8.tar.gz", hash = "sha256:3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca", size = 184847 }
+sdist = { url = "https://files.pythonhosted.org/packages/17/4d/ac7ffa80c69ea1df30a8aa11b3578692a5118e7cd1aa157e3ef73b092d15/dill-0.3.8.tar.gz", hash = "sha256:3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca", size = 184847, upload-time = "2024-01-27T23:42:16.145Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c9/7a/cef76fd8438a42f96db64ddaa85280485a9c395e7df3db8158cfec1eee34/dill-0.3.8-py3-none-any.whl", hash = "sha256:c36ca9ffb54365bdd2f8eb3eff7d2a21237f8452b57ace88b1ac615b7e815bd7", size = 116252 },
+ { url = "https://files.pythonhosted.org/packages/c9/7a/cef76fd8438a42f96db64ddaa85280485a9c395e7df3db8158cfec1eee34/dill-0.3.8-py3-none-any.whl", hash = "sha256:c36ca9ffb54365bdd2f8eb3eff7d2a21237f8452b57ace88b1ac615b7e815bd7", size = 116252, upload-time = "2024-01-27T23:42:14.239Z" },
]
[[package]]
name = "dirtyjson"
version = "1.0.8"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/db/04/d24f6e645ad82ba0ef092fa17d9ef7a21953781663648a01c9371d9e8e98/dirtyjson-1.0.8.tar.gz", hash = "sha256:90ca4a18f3ff30ce849d100dcf4a003953c79d3a2348ef056f1d9c22231a25fd", size = 30782 }
+sdist = { url = "https://files.pythonhosted.org/packages/db/04/d24f6e645ad82ba0ef092fa17d9ef7a21953781663648a01c9371d9e8e98/dirtyjson-1.0.8.tar.gz", hash = "sha256:90ca4a18f3ff30ce849d100dcf4a003953c79d3a2348ef056f1d9c22231a25fd", size = 30782, upload-time = "2022-11-28T23:32:33.319Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/68/69/1bcf70f81de1b4a9f21b3a62ec0c83bdff991c88d6cc2267d02408457e88/dirtyjson-1.0.8-py3-none-any.whl", hash = "sha256:125e27248435a58acace26d5c2c4c11a1c0de0a9c5124c5a94ba78e517d74f53", size = 25197 },
+ { url = "https://files.pythonhosted.org/packages/68/69/1bcf70f81de1b4a9f21b3a62ec0c83bdff991c88d6cc2267d02408457e88/dirtyjson-1.0.8-py3-none-any.whl", hash = "sha256:125e27248435a58acace26d5c2c4c11a1c0de0a9c5124c5a94ba78e517d74f53", size = 25197, upload-time = "2022-11-28T23:32:31.219Z" },
]
[[package]]
name = "diskcache"
version = "5.6.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6/diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc", size = 67916 }
+sdist = { url = "https://files.pythonhosted.org/packages/3f/21/1c1ffc1a039ddcc459db43cc108658f32c57d271d7289a2794e401d0fdb6/diskcache-5.6.3.tar.gz", hash = "sha256:2c3a3fa2743d8535d832ec61c2054a1641f41775aa7c556758a109941e33e4fc", size = 67916, upload-time = "2023-08-31T06:12:00.316Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19", size = 45550 },
+ { url = "https://files.pythonhosted.org/packages/3f/27/4570e78fc0bf5ea0ca45eb1de3818a23787af9b390c0b0a0033a1b8236f9/diskcache-5.6.3-py3-none-any.whl", hash = "sha256:5e31b2d5fbad117cc363ebaf6b689474db18a1f6438bc82358b024abd4c2ca19", size = 45550, upload-time = "2023-08-31T06:11:58.822Z" },
]
[[package]]
name = "distlib"
version = "0.4.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/96/8e/709914eb2b5749865801041647dc7f4e6d00b549cfe88b65ca192995f07c/distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d", size = 614605 }
+sdist = { url = "https://files.pythonhosted.org/packages/96/8e/709914eb2b5749865801041647dc7f4e6d00b549cfe88b65ca192995f07c/distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d", size = 614605, upload-time = "2025-07-17T16:52:00.465Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/33/6b/e0547afaf41bf2c42e52430072fa5658766e3d65bd4b03a563d1b6336f57/distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16", size = 469047 },
+ { url = "https://files.pythonhosted.org/packages/33/6b/e0547afaf41bf2c42e52430072fa5658766e3d65bd4b03a563d1b6336f57/distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16", size = 469047, upload-time = "2025-07-17T16:51:58.613Z" },
]
[[package]]
name = "distro"
version = "1.9.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed", size = 60722 }
+sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed", size = 60722, upload-time = "2023-12-24T09:54:32.31Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277 },
+ { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277, upload-time = "2023-12-24T09:54:30.421Z" },
]
[[package]]
@@ -864,27 +866,27 @@ dependencies = [
{ name = "requests" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/91/9b/4a2ea29aeba62471211598dac5d96825bb49348fa07e906ea930394a83ce/docker-7.1.0.tar.gz", hash = "sha256:ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c", size = 117834 }
+sdist = { url = "https://files.pythonhosted.org/packages/91/9b/4a2ea29aeba62471211598dac5d96825bb49348fa07e906ea930394a83ce/docker-7.1.0.tar.gz", hash = "sha256:ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c", size = 117834, upload-time = "2024-05-23T11:13:57.216Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0", size = 147774 },
+ { url = "https://files.pythonhosted.org/packages/e3/26/57c6fb270950d476074c087527a558ccb6f4436657314bfb6cdf484114c4/docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0", size = 147774, upload-time = "2024-05-23T11:13:55.01Z" },
]
[[package]]
name = "docstring-parser"
version = "0.17.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/b2/9d/c3b43da9515bd270df0f80548d9944e389870713cc1fe2b8fb35fe2bcefd/docstring_parser-0.17.0.tar.gz", hash = "sha256:583de4a309722b3315439bb31d64ba3eebada841f2e2cee23b99df001434c912", size = 27442 }
+sdist = { url = "https://files.pythonhosted.org/packages/b2/9d/c3b43da9515bd270df0f80548d9944e389870713cc1fe2b8fb35fe2bcefd/docstring_parser-0.17.0.tar.gz", hash = "sha256:583de4a309722b3315439bb31d64ba3eebada841f2e2cee23b99df001434c912", size = 27442, upload-time = "2025-07-21T07:35:01.868Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896 },
+ { url = "https://files.pythonhosted.org/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896, upload-time = "2025-07-21T07:35:00.684Z" },
]
[[package]]
name = "docutils"
version = "0.22.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ae/b6/03bb70946330e88ffec97aefd3ea75ba575cb2e762061e0e62a213befee8/docutils-0.22.4.tar.gz", hash = "sha256:4db53b1fde9abecbb74d91230d32ab626d94f6badfc575d6db9194a49df29968", size = 2291750 }
+sdist = { url = "https://files.pythonhosted.org/packages/ae/b6/03bb70946330e88ffec97aefd3ea75ba575cb2e762061e0e62a213befee8/docutils-0.22.4.tar.gz", hash = "sha256:4db53b1fde9abecbb74d91230d32ab626d94f6badfc575d6db9194a49df29968", size = 2291750, upload-time = "2025-12-18T19:00:26.443Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/02/10/5da547df7a391dcde17f59520a231527b8571e6f46fc8efb02ccb370ab12/docutils-0.22.4-py3-none-any.whl", hash = "sha256:d0013f540772d1420576855455d050a2180186c91c15779301ac2ccb3eeb68de", size = 633196 },
+ { url = "https://files.pythonhosted.org/packages/02/10/5da547df7a391dcde17f59520a231527b8571e6f46fc8efb02ccb370ab12/docutils-0.22.4-py3-none-any.whl", hash = "sha256:d0013f540772d1420576855455d050a2180186c91c15779301ac2ccb3eeb68de", size = 633196, upload-time = "2025-12-18T19:00:18.077Z" },
]
[[package]]
@@ -913,45 +915,45 @@ dependencies = [
{ name = "tqdm" },
{ name = "ujson" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2c/37/3e6c6929a39ef96ce20f2eb3773f2743267c52f02e55059b1f11bef40ebf/dspy-2.6.13.tar.gz", hash = "sha256:66aa1919364f631ee48abad8e9c387d83e0884805106b79ec5b22cb023bbaf04", size = 194148 }
+sdist = { url = "https://files.pythonhosted.org/packages/2c/37/3e6c6929a39ef96ce20f2eb3773f2743267c52f02e55059b1f11bef40ebf/dspy-2.6.13.tar.gz", hash = "sha256:66aa1919364f631ee48abad8e9c387d83e0884805106b79ec5b22cb023bbaf04", size = 194148, upload-time = "2025-03-19T05:17:58.444Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9e/27/2a2832ca6111e219c7bacd15d82fc32b6e77ecabf31a4234e54f131a8e28/dspy-2.6.13-py3-none-any.whl", hash = "sha256:3151dd5125f2db7ab453fa27349262ad3f9602e95d8bdd298b53ec622d4352a3", size = 247632 },
+ { url = "https://files.pythonhosted.org/packages/9e/27/2a2832ca6111e219c7bacd15d82fc32b6e77ecabf31a4234e54f131a8e28/dspy-2.6.13-py3-none-any.whl", hash = "sha256:3151dd5125f2db7ab453fa27349262ad3f9602e95d8bdd298b53ec622d4352a3", size = 247632, upload-time = "2025-03-19T05:17:56.665Z" },
]
[[package]]
name = "durationpy"
version = "0.10"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/9d/a4/e44218c2b394e31a6dd0d6b095c4e1f32d0be54c2a4b250032d717647bab/durationpy-0.10.tar.gz", hash = "sha256:1fa6893409a6e739c9c72334fc65cca1f355dbdd93405d30f726deb5bde42fba", size = 3335 }
+sdist = { url = "https://files.pythonhosted.org/packages/9d/a4/e44218c2b394e31a6dd0d6b095c4e1f32d0be54c2a4b250032d717647bab/durationpy-0.10.tar.gz", hash = "sha256:1fa6893409a6e739c9c72334fc65cca1f355dbdd93405d30f726deb5bde42fba", size = 3335, upload-time = "2025-05-17T13:52:37.26Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b0/0d/9feae160378a3553fa9a339b0e9c1a048e147a4127210e286ef18b730f03/durationpy-0.10-py3-none-any.whl", hash = "sha256:3b41e1b601234296b4fb368338fdcd3e13e0b4fb5b67345948f4f2bf9868b286", size = 3922 },
+ { url = "https://files.pythonhosted.org/packages/b0/0d/9feae160378a3553fa9a339b0e9c1a048e147a4127210e286ef18b730f03/durationpy-0.10-py3-none-any.whl", hash = "sha256:3b41e1b601234296b4fb368338fdcd3e13e0b4fb5b67345948f4f2bf9868b286", size = 3922, upload-time = "2025-05-17T13:52:36.463Z" },
]
[[package]]
name = "einops"
version = "0.8.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/2c/77/850bef8d72ffb9219f0b1aac23fbc1bf7d038ee6ea666f331fa273031aa2/einops-0.8.2.tar.gz", hash = "sha256:609da665570e5e265e27283aab09e7f279ade90c4f01bcfca111f3d3e13f2827", size = 56261 }
+sdist = { url = "https://files.pythonhosted.org/packages/2c/77/850bef8d72ffb9219f0b1aac23fbc1bf7d038ee6ea666f331fa273031aa2/einops-0.8.2.tar.gz", hash = "sha256:609da665570e5e265e27283aab09e7f279ade90c4f01bcfca111f3d3e13f2827", size = 56261, upload-time = "2026-01-26T04:13:17.638Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2a/09/f8d8f8f31e4483c10a906437b4ce31bdf3d6d417b73fe33f1a8b59e34228/einops-0.8.2-py3-none-any.whl", hash = "sha256:54058201ac7087911181bfec4af6091bb59380360f069276601256a76af08193", size = 65638 },
+ { url = "https://files.pythonhosted.org/packages/2a/09/f8d8f8f31e4483c10a906437b4ce31bdf3d6d417b73fe33f1a8b59e34228/einops-0.8.2-py3-none-any.whl", hash = "sha256:54058201ac7087911181bfec4af6091bb59380360f069276601256a76af08193", size = 65638, upload-time = "2026-01-26T04:13:18.546Z" },
]
[[package]]
name = "et-xmlfile"
version = "2.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d3/38/af70d7ab1ae9d4da450eeec1fa3918940a5fafb9055e934af8d6eb0c2313/et_xmlfile-2.0.0.tar.gz", hash = "sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54", size = 17234 }
+sdist = { url = "https://files.pythonhosted.org/packages/d3/38/af70d7ab1ae9d4da450eeec1fa3918940a5fafb9055e934af8d6eb0c2313/et_xmlfile-2.0.0.tar.gz", hash = "sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54", size = 17234, upload-time = "2024-10-25T17:25:40.039Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c1/8b/5fe2cc11fee489817272089c4203e679c63b570a5aaeb18d852ae3cbba6a/et_xmlfile-2.0.0-py3-none-any.whl", hash = "sha256:7a91720bc756843502c3b7504c77b8fe44217c85c537d85037f0f536151b2caa", size = 18059 },
+ { url = "https://files.pythonhosted.org/packages/c1/8b/5fe2cc11fee489817272089c4203e679c63b570a5aaeb18d852ae3cbba6a/et_xmlfile-2.0.0-py3-none-any.whl", hash = "sha256:7a91720bc756843502c3b7504c77b8fe44217c85c537d85037f0f536151b2caa", size = 18059, upload-time = "2024-10-25T17:25:39.051Z" },
]
[[package]]
name = "executing"
version = "2.2.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/cc/28/c14e053b6762b1044f34a13aab6859bbf40456d37d23aa286ac24cfd9a5d/executing-2.2.1.tar.gz", hash = "sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4", size = 1129488 }
+sdist = { url = "https://files.pythonhosted.org/packages/cc/28/c14e053b6762b1044f34a13aab6859bbf40456d37d23aa286ac24cfd9a5d/executing-2.2.1.tar.gz", hash = "sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4", size = 1129488, upload-time = "2025-09-01T09:48:10.866Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317 },
+ { url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317, upload-time = "2025-09-01T09:48:08.5Z" },
]
[[package]]
@@ -965,9 +967,9 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "typing-inspection" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/e7/7b/f8e0211e9380f7195ba3f3d40c292594fd81ba8ec4629e3854c353aaca45/fastapi-0.135.1.tar.gz", hash = "sha256:d04115b508d936d254cea545b7312ecaa58a7b3a0f84952535b4c9afae7668cd", size = 394962 }
+sdist = { url = "https://files.pythonhosted.org/packages/e7/7b/f8e0211e9380f7195ba3f3d40c292594fd81ba8ec4629e3854c353aaca45/fastapi-0.135.1.tar.gz", hash = "sha256:d04115b508d936d254cea545b7312ecaa58a7b3a0f84952535b4c9afae7668cd", size = 394962, upload-time = "2026-03-01T18:18:29.369Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e4/72/42e900510195b23a56bde950d26a51f8b723846bfcaa0286e90287f0422b/fastapi-0.135.1-py3-none-any.whl", hash = "sha256:46e2fc5745924b7c840f71ddd277382af29ce1cdb7d5eab5bf697e3fb9999c9e", size = 116999 },
+ { url = "https://files.pythonhosted.org/packages/e4/72/42e900510195b23a56bde950d26a51f8b723846bfcaa0286e90287f0422b/fastapi-0.135.1-py3-none-any.whl", hash = "sha256:46e2fc5745924b7c840f71ddd277382af29ce1cdb7d5eab5bf697e3fb9999c9e", size = 116999, upload-time = "2026-03-01T18:18:30.831Z" },
]
[[package]]
@@ -986,46 +988,46 @@ dependencies = [
{ name = "tokenizers" },
{ name = "tqdm" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4c/c2/9c708680de1b54480161e0505f9d6d3d8eb47a1dc1a1f7f3c5106ba355d2/fastembed-0.7.4.tar.gz", hash = "sha256:8b8a4ea860ca295002f4754e8f5820a636e1065a9444959e18d5988d7f27093b", size = 68807 }
+sdist = { url = "https://files.pythonhosted.org/packages/4c/c2/9c708680de1b54480161e0505f9d6d3d8eb47a1dc1a1f7f3c5106ba355d2/fastembed-0.7.4.tar.gz", hash = "sha256:8b8a4ea860ca295002f4754e8f5820a636e1065a9444959e18d5988d7f27093b", size = 68807, upload-time = "2025-12-05T12:08:10.447Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/3b/8da01492bc8b69184257d0c951bf0e77aec8ce110f06d8ce16c6ed9084f7/fastembed-0.7.4-py3-none-any.whl", hash = "sha256:79250a775f70bd6addb0e054204df042b5029ecae501e40e5bbd08e75844ad83", size = 108491 },
+ { url = "https://files.pythonhosted.org/packages/10/3b/8da01492bc8b69184257d0c951bf0e77aec8ce110f06d8ce16c6ed9084f7/fastembed-0.7.4-py3-none-any.whl", hash = "sha256:79250a775f70bd6addb0e054204df042b5029ecae501e40e5bbd08e75844ad83", size = 108491, upload-time = "2025-12-05T12:08:09.059Z" },
]
[[package]]
name = "fastuuid"
version = "0.14.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/c3/7d/d9daedf0f2ebcacd20d599928f8913e9d2aea1d56d2d355a93bfa2b611d7/fastuuid-0.14.0.tar.gz", hash = "sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26", size = 18232 }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/7d/d9daedf0f2ebcacd20d599928f8913e9d2aea1d56d2d355a93bfa2b611d7/fastuuid-0.14.0.tar.gz", hash = "sha256:178947fc2f995b38497a74172adee64fdeb8b7ec18f2a5934d037641ba265d26", size = 18232, upload-time = "2025-10-19T22:19:22.402Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/02/a2/e78fcc5df65467f0d207661b7ef86c5b7ac62eea337c0c0fcedbeee6fb13/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77e94728324b63660ebf8adb27055e92d2e4611645bf12ed9d88d30486471d0a", size = 510164 },
- { url = "https://files.pythonhosted.org/packages/2b/b3/c846f933f22f581f558ee63f81f29fa924acd971ce903dab1a9b6701816e/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:caa1f14d2102cb8d353096bc6ef6c13b2c81f347e6ab9d6fbd48b9dea41c153d", size = 261837 },
- { url = "https://files.pythonhosted.org/packages/54/ea/682551030f8c4fa9a769d9825570ad28c0c71e30cf34020b85c1f7ee7382/fastuuid-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d23ef06f9e67163be38cece704170486715b177f6baae338110983f99a72c070", size = 251370 },
- { url = "https://files.pythonhosted.org/packages/14/dd/5927f0a523d8e6a76b70968e6004966ee7df30322f5fc9b6cdfb0276646a/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0c9ec605ace243b6dbe3bd27ebdd5d33b00d8d1d3f580b39fdd15cd96fd71796", size = 277766 },
- { url = "https://files.pythonhosted.org/packages/16/6e/c0fb547eef61293153348f12e0f75a06abb322664b34a1573a7760501336/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:808527f2407f58a76c916d6aa15d58692a4a019fdf8d4c32ac7ff303b7d7af09", size = 278105 },
- { url = "https://files.pythonhosted.org/packages/2d/b1/b9c75e03b768f61cf2e84ee193dc18601aeaf89a4684b20f2f0e9f52b62c/fastuuid-0.14.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2fb3c0d7fef6674bbeacdd6dbd386924a7b60b26de849266d1ff6602937675c8", size = 301564 },
- { url = "https://files.pythonhosted.org/packages/fc/fa/f7395fdac07c7a54f18f801744573707321ca0cee082e638e36452355a9d/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab3f5d36e4393e628a4df337c2c039069344db5f4b9d2a3c9cea48284f1dd741", size = 459659 },
- { url = "https://files.pythonhosted.org/packages/66/49/c9fd06a4a0b1f0f048aacb6599e7d96e5d6bc6fa680ed0d46bf111929d1b/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b9a0ca4f03b7e0b01425281ffd44e99d360e15c895f1907ca105854ed85e2057", size = 478430 },
- { url = "https://files.pythonhosted.org/packages/be/9c/909e8c95b494e8e140e8be6165d5fc3f61fdc46198c1554df7b3e1764471/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8", size = 450894 },
- { url = "https://files.pythonhosted.org/packages/90/eb/d29d17521976e673c55ef7f210d4cdd72091a9ec6755d0fd4710d9b3c871/fastuuid-0.14.0-cp312-cp312-win32.whl", hash = "sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176", size = 154374 },
- { url = "https://files.pythonhosted.org/packages/cc/fc/f5c799a6ea6d877faec0472d0b27c079b47c86b1cdc577720a5386483b36/fastuuid-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397", size = 156550 },
+ { url = "https://files.pythonhosted.org/packages/02/a2/e78fcc5df65467f0d207661b7ef86c5b7ac62eea337c0c0fcedbeee6fb13/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:77e94728324b63660ebf8adb27055e92d2e4611645bf12ed9d88d30486471d0a", size = 510164, upload-time = "2025-10-19T22:31:45.635Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/b3/c846f933f22f581f558ee63f81f29fa924acd971ce903dab1a9b6701816e/fastuuid-0.14.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:caa1f14d2102cb8d353096bc6ef6c13b2c81f347e6ab9d6fbd48b9dea41c153d", size = 261837, upload-time = "2025-10-19T22:38:38.53Z" },
+ { url = "https://files.pythonhosted.org/packages/54/ea/682551030f8c4fa9a769d9825570ad28c0c71e30cf34020b85c1f7ee7382/fastuuid-0.14.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d23ef06f9e67163be38cece704170486715b177f6baae338110983f99a72c070", size = 251370, upload-time = "2025-10-19T22:40:26.07Z" },
+ { url = "https://files.pythonhosted.org/packages/14/dd/5927f0a523d8e6a76b70968e6004966ee7df30322f5fc9b6cdfb0276646a/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0c9ec605ace243b6dbe3bd27ebdd5d33b00d8d1d3f580b39fdd15cd96fd71796", size = 277766, upload-time = "2025-10-19T22:37:23.779Z" },
+ { url = "https://files.pythonhosted.org/packages/16/6e/c0fb547eef61293153348f12e0f75a06abb322664b34a1573a7760501336/fastuuid-0.14.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:808527f2407f58a76c916d6aa15d58692a4a019fdf8d4c32ac7ff303b7d7af09", size = 278105, upload-time = "2025-10-19T22:26:56.821Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/b1/b9c75e03b768f61cf2e84ee193dc18601aeaf89a4684b20f2f0e9f52b62c/fastuuid-0.14.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2fb3c0d7fef6674bbeacdd6dbd386924a7b60b26de849266d1ff6602937675c8", size = 301564, upload-time = "2025-10-19T22:30:31.604Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/fa/f7395fdac07c7a54f18f801744573707321ca0cee082e638e36452355a9d/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab3f5d36e4393e628a4df337c2c039069344db5f4b9d2a3c9cea48284f1dd741", size = 459659, upload-time = "2025-10-19T22:31:32.341Z" },
+ { url = "https://files.pythonhosted.org/packages/66/49/c9fd06a4a0b1f0f048aacb6599e7d96e5d6bc6fa680ed0d46bf111929d1b/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:b9a0ca4f03b7e0b01425281ffd44e99d360e15c895f1907ca105854ed85e2057", size = 478430, upload-time = "2025-10-19T22:26:22.962Z" },
+ { url = "https://files.pythonhosted.org/packages/be/9c/909e8c95b494e8e140e8be6165d5fc3f61fdc46198c1554df7b3e1764471/fastuuid-0.14.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:3acdf655684cc09e60fb7e4cf524e8f42ea760031945aa8086c7eae2eeeabeb8", size = 450894, upload-time = "2025-10-19T22:27:01.647Z" },
+ { url = "https://files.pythonhosted.org/packages/90/eb/d29d17521976e673c55ef7f210d4cdd72091a9ec6755d0fd4710d9b3c871/fastuuid-0.14.0-cp312-cp312-win32.whl", hash = "sha256:9579618be6280700ae36ac42c3efd157049fe4dd40ca49b021280481c78c3176", size = 154374, upload-time = "2025-10-19T22:29:19.879Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/fc/f5c799a6ea6d877faec0472d0b27c079b47c86b1cdc577720a5386483b36/fastuuid-0.14.0-cp312-cp312-win_amd64.whl", hash = "sha256:d9e4332dc4ba054434a9594cbfaf7823b57993d7d8e7267831c3e059857cf397", size = 156550, upload-time = "2025-10-19T22:27:49.658Z" },
]
[[package]]
name = "filelock"
version = "3.25.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/77/18/a1fd2231c679dcb9726204645721b12498aeac28e1ad0601038f94b42556/filelock-3.25.0.tar.gz", hash = "sha256:8f00faf3abf9dc730a1ffe9c354ae5c04e079ab7d3a683b7c32da5dd05f26af3", size = 40158 }
+sdist = { url = "https://files.pythonhosted.org/packages/77/18/a1fd2231c679dcb9726204645721b12498aeac28e1ad0601038f94b42556/filelock-3.25.0.tar.gz", hash = "sha256:8f00faf3abf9dc730a1ffe9c354ae5c04e079ab7d3a683b7c32da5dd05f26af3", size = 40158, upload-time = "2026-03-01T15:08:45.916Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f9/0b/de6f54d4a8bedfe8645c41497f3c18d749f0bd3218170c667bf4b81d0cdd/filelock-3.25.0-py3-none-any.whl", hash = "sha256:5ccf8069f7948f494968fc0713c10e5c182a9c9d9eef3a636307a20c2490f047", size = 26427 },
+ { url = "https://files.pythonhosted.org/packages/f9/0b/de6f54d4a8bedfe8645c41497f3c18d749f0bd3218170c667bf4b81d0cdd/filelock-3.25.0-py3-none-any.whl", hash = "sha256:5ccf8069f7948f494968fc0713c10e5c182a9c9d9eef3a636307a20c2490f047", size = 26427, upload-time = "2026-03-01T15:08:44.593Z" },
]
[[package]]
name = "filetype"
version = "1.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/bb/29/745f7d30d47fe0f251d3ad3dc2978a23141917661998763bebb6da007eb1/filetype-1.2.0.tar.gz", hash = "sha256:66b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb", size = 998020 }
+sdist = { url = "https://files.pythonhosted.org/packages/bb/29/745f7d30d47fe0f251d3ad3dc2978a23141917661998763bebb6da007eb1/filetype-1.2.0.tar.gz", hash = "sha256:66b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb", size = 998020, upload-time = "2022-11-02T17:34:04.141Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/18/79/1b8fa1bb3568781e84c9200f951c735f3f157429f44be0495da55894d620/filetype-1.2.0-py2.py3-none-any.whl", hash = "sha256:7ce71b6880181241cf7ac8697a2f1eb6a8bd9b429f7ad6d27b8db9ba5f1c2d25", size = 19970 },
+ { url = "https://files.pythonhosted.org/packages/18/79/1b8fa1bb3568781e84c9200f951c735f3f157429f44be0495da55894d620/filetype-1.2.0-py2.py3-none-any.whl", hash = "sha256:7ce71b6880181241cf7ac8697a2f1eb6a8bd9b429f7ad6d27b8db9ba5f1c2d25", size = 19970, upload-time = "2022-11-02T17:34:01.425Z" },
]
[[package]]
@@ -1044,7 +1046,7 @@ dependencies = [
{ name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
{ name = "transformers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/36/5f/a5e20bb601f83f4abd491e0aec2b991d23f54fefa135b64e4203b3cb59d6/FlagEmbedding-1.3.5.tar.gz", hash = "sha256:a0714cb8dd03f38e74b84530684c47ad8e0442ab1f4cbb7b0bcd4017dafb9f9c", size = 163889 }
+sdist = { url = "https://files.pythonhosted.org/packages/36/5f/a5e20bb601f83f4abd491e0aec2b991d23f54fefa135b64e4203b3cb59d6/FlagEmbedding-1.3.5.tar.gz", hash = "sha256:a0714cb8dd03f38e74b84530684c47ad8e0442ab1f4cbb7b0bcd4017dafb9f9c", size = 163889, upload-time = "2025-05-28T07:03:56.693Z" }
[[package]]
name = "flash-attn"
@@ -1076,9 +1078,9 @@ dependencies = [
{ name = "markupsafe" },
{ name = "werkzeug" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/26/00/35d85dcce6c57fdc871f3867d465d780f302a175ea360f62533f12b27e2b/flask-3.1.3.tar.gz", hash = "sha256:0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb", size = 759004 }
+sdist = { url = "https://files.pythonhosted.org/packages/26/00/35d85dcce6c57fdc871f3867d465d780f302a175ea360f62533f12b27e2b/flask-3.1.3.tar.gz", hash = "sha256:0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb", size = 759004, upload-time = "2026-02-19T05:00:57.678Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7f/9c/34f6962f9b9e9c71f6e5ed806e0d0ff03c9d1b0b2340088a0cf4bce09b18/flask-3.1.3-py3-none-any.whl", hash = "sha256:f4bcbefc124291925f1a26446da31a5178f9483862233b23c0c96a20701f670c", size = 103424 },
+ { url = "https://files.pythonhosted.org/packages/7f/9c/34f6962f9b9e9c71f6e5ed806e0d0ff03c9d1b0b2340088a0cf4bce09b18/flask-3.1.3-py3-none-any.whl", hash = "sha256:f4bcbefc124291925f1a26446da31a5178f9483862233b23c0c96a20701f670c", size = 103424, upload-time = "2026-02-19T05:00:56.027Z" },
]
[[package]]
@@ -1089,9 +1091,9 @@ dependencies = [
{ name = "flask" },
{ name = "werkzeug" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/70/74/0fc0fa68d62f21daef41017dafab19ef4b36551521260987eb3a5394c7ba/flask_cors-6.0.2.tar.gz", hash = "sha256:6e118f3698249ae33e429760db98ce032a8bf9913638d085ca0f4c5534ad2423", size = 13472 }
+sdist = { url = "https://files.pythonhosted.org/packages/70/74/0fc0fa68d62f21daef41017dafab19ef4b36551521260987eb3a5394c7ba/flask_cors-6.0.2.tar.gz", hash = "sha256:6e118f3698249ae33e429760db98ce032a8bf9913638d085ca0f4c5534ad2423", size = 13472, upload-time = "2025-12-12T20:31:42.861Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4f/af/72ad54402e599152de6d067324c46fe6a4f531c7c65baf7e96c63db55eaf/flask_cors-6.0.2-py3-none-any.whl", hash = "sha256:e57544d415dfd7da89a9564e1e3a9e515042df76e12130641ca6f3f2f03b699a", size = 13257 },
+ { url = "https://files.pythonhosted.org/packages/4f/af/72ad54402e599152de6d067324c46fe6a4f531c7c65baf7e96c63db55eaf/flask_cors-6.0.2-py3-none-any.whl", hash = "sha256:e57544d415dfd7da89a9564e1e3a9e515042df76e12130641ca6f3f2f03b699a", size = 13257, upload-time = "2025-12-12T20:31:41.3Z" },
]
[[package]]
@@ -1099,58 +1101,58 @@ name = "flatbuffers"
version = "25.12.19"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e8/2d/d2a548598be01649e2d46231d151a6c56d10b964d94043a335ae56ea2d92/flatbuffers-25.12.19-py2.py3-none-any.whl", hash = "sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4", size = 26661 },
+ { url = "https://files.pythonhosted.org/packages/e8/2d/d2a548598be01649e2d46231d151a6c56d10b964d94043a335ae56ea2d92/flatbuffers-25.12.19-py2.py3-none-any.whl", hash = "sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4", size = 26661, upload-time = "2025-12-19T23:16:13.622Z" },
]
[[package]]
name = "fonttools"
version = "4.62.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/5a/96/686339e0fda8142b7ebed39af53f4a5694602a729662f42a6209e3be91d0/fonttools-4.62.0.tar.gz", hash = "sha256:0dc477c12b8076b4eb9af2e440421b0433ffa9e1dcb39e0640a6c94665ed1098", size = 3579521 }
+sdist = { url = "https://files.pythonhosted.org/packages/5a/96/686339e0fda8142b7ebed39af53f4a5694602a729662f42a6209e3be91d0/fonttools-4.62.0.tar.gz", hash = "sha256:0dc477c12b8076b4eb9af2e440421b0433ffa9e1dcb39e0640a6c94665ed1098", size = 3579521, upload-time = "2026-03-09T16:50:06.217Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ab/9d/7ad1ffc080619f67d0b1e0fa6a0578f0be077404f13fd8e448d1616a94a3/fonttools-4.62.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:22bde4dc12a9e09b5ced77f3b5053d96cf10c4976c6ac0dee293418ef289d221", size = 2870004 },
- { url = "https://files.pythonhosted.org/packages/4d/8b/ba59069a490f61b737e064c3129453dbd28ee38e81d56af0d04d7e6b4de4/fonttools-4.62.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7199c73b326bad892f1cb53ffdd002128bfd58a89b8f662204fbf1daf8d62e85", size = 2414662 },
- { url = "https://files.pythonhosted.org/packages/8c/8c/c52a4310de58deeac7e9ea800892aec09b00bb3eb0c53265b31ec02be115/fonttools-4.62.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d732938633681d6e2324e601b79e93f7f72395ec8681f9cdae5a8c08bc167e72", size = 5032975 },
- { url = "https://files.pythonhosted.org/packages/0b/a1/d16318232964d786907b9b3613b8409f74cf0be2da400854509d3a864e43/fonttools-4.62.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:31a804c16d76038cc4e3826e07678efb0a02dc4f15396ea8e07088adbfb2578e", size = 4988544 },
- { url = "https://files.pythonhosted.org/packages/b2/8d/7e745ca3e65852adc5e52a83dc213fe1b07d61cb5b394970fcd4b1199d1e/fonttools-4.62.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:090e74ac86e68c20150e665ef8e7e0c20cb9f8b395302c9419fa2e4d332c3b51", size = 4971296 },
- { url = "https://files.pythonhosted.org/packages/e6/d4/b717a4874175146029ca1517e85474b1af80c9d9a306fc3161e71485eea5/fonttools-4.62.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8f086120e8be9e99ca1288aa5ce519833f93fe0ec6ebad2380c1dee18781f0b5", size = 5122503 },
- { url = "https://files.pythonhosted.org/packages/cb/4b/92cfcba4bf8373f51c49c5ae4b512ead6fbda7d61a0e8c35a369d0db40a0/fonttools-4.62.0-cp312-cp312-win32.whl", hash = "sha256:37a73e5e38fd05c637daede6ffed5f3496096be7df6e4a3198d32af038f87527", size = 2281060 },
- { url = "https://files.pythonhosted.org/packages/cd/06/cc96468781a4dc8ae2f14f16f32b32f69bde18cb9384aad27ccc7adf76f7/fonttools-4.62.0-cp312-cp312-win_amd64.whl", hash = "sha256:658ab837c878c4d2a652fcbb319547ea41693890e6434cf619e66f79387af3b8", size = 2331193 },
- { url = "https://files.pythonhosted.org/packages/9c/57/c2487c281dde03abb2dec244fd67059b8d118bd30a653cbf69e94084cb23/fonttools-4.62.0-py3-none-any.whl", hash = "sha256:75064f19a10c50c74b336aa5ebe7b1f89fd0fb5255807bfd4b0c6317098f4af3", size = 1152427 },
+ { url = "https://files.pythonhosted.org/packages/ab/9d/7ad1ffc080619f67d0b1e0fa6a0578f0be077404f13fd8e448d1616a94a3/fonttools-4.62.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:22bde4dc12a9e09b5ced77f3b5053d96cf10c4976c6ac0dee293418ef289d221", size = 2870004, upload-time = "2026-03-09T16:48:50.837Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/8b/ba59069a490f61b737e064c3129453dbd28ee38e81d56af0d04d7e6b4de4/fonttools-4.62.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7199c73b326bad892f1cb53ffdd002128bfd58a89b8f662204fbf1daf8d62e85", size = 2414662, upload-time = "2026-03-09T16:48:53.295Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/8c/c52a4310de58deeac7e9ea800892aec09b00bb3eb0c53265b31ec02be115/fonttools-4.62.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d732938633681d6e2324e601b79e93f7f72395ec8681f9cdae5a8c08bc167e72", size = 5032975, upload-time = "2026-03-09T16:48:55.718Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/a1/d16318232964d786907b9b3613b8409f74cf0be2da400854509d3a864e43/fonttools-4.62.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:31a804c16d76038cc4e3826e07678efb0a02dc4f15396ea8e07088adbfb2578e", size = 4988544, upload-time = "2026-03-09T16:48:57.715Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/8d/7e745ca3e65852adc5e52a83dc213fe1b07d61cb5b394970fcd4b1199d1e/fonttools-4.62.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:090e74ac86e68c20150e665ef8e7e0c20cb9f8b395302c9419fa2e4d332c3b51", size = 4971296, upload-time = "2026-03-09T16:48:59.678Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/d4/b717a4874175146029ca1517e85474b1af80c9d9a306fc3161e71485eea5/fonttools-4.62.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8f086120e8be9e99ca1288aa5ce519833f93fe0ec6ebad2380c1dee18781f0b5", size = 5122503, upload-time = "2026-03-09T16:49:02.464Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/4b/92cfcba4bf8373f51c49c5ae4b512ead6fbda7d61a0e8c35a369d0db40a0/fonttools-4.62.0-cp312-cp312-win32.whl", hash = "sha256:37a73e5e38fd05c637daede6ffed5f3496096be7df6e4a3198d32af038f87527", size = 2281060, upload-time = "2026-03-09T16:49:04.385Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/06/cc96468781a4dc8ae2f14f16f32b32f69bde18cb9384aad27ccc7adf76f7/fonttools-4.62.0-cp312-cp312-win_amd64.whl", hash = "sha256:658ab837c878c4d2a652fcbb319547ea41693890e6434cf619e66f79387af3b8", size = 2331193, upload-time = "2026-03-09T16:49:06.598Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/57/c2487c281dde03abb2dec244fd67059b8d118bd30a653cbf69e94084cb23/fonttools-4.62.0-py3-none-any.whl", hash = "sha256:75064f19a10c50c74b336aa5ebe7b1f89fd0fb5255807bfd4b0c6317098f4af3", size = 1152427, upload-time = "2026-03-09T16:50:04.074Z" },
]
[[package]]
name = "frozenlist"
version = "1.8.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875 }
+sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875, upload-time = "2025-10-06T05:38:17.865Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782 },
- { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594 },
- { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448 },
- { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411 },
- { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014 },
- { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909 },
- { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049 },
- { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485 },
- { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619 },
- { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320 },
- { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820 },
- { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518 },
- { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096 },
- { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985 },
- { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591 },
- { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102 },
- { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409 },
+ { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782, upload-time = "2025-10-06T05:36:06.649Z" },
+ { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594, upload-time = "2025-10-06T05:36:07.69Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448, upload-time = "2025-10-06T05:36:08.78Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411, upload-time = "2025-10-06T05:36:09.801Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014, upload-time = "2025-10-06T05:36:11.394Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909, upload-time = "2025-10-06T05:36:12.598Z" },
+ { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049, upload-time = "2025-10-06T05:36:14.065Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485, upload-time = "2025-10-06T05:36:15.39Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619, upload-time = "2025-10-06T05:36:16.558Z" },
+ { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320, upload-time = "2025-10-06T05:36:17.821Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820, upload-time = "2025-10-06T05:36:19.046Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518, upload-time = "2025-10-06T05:36:20.763Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096, upload-time = "2025-10-06T05:36:22.129Z" },
+ { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985, upload-time = "2025-10-06T05:36:23.661Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591, upload-time = "2025-10-06T05:36:24.958Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102, upload-time = "2025-10-06T05:36:26.333Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409, upload-time = "2025-10-06T05:38:16.721Z" },
]
[[package]]
name = "fsspec"
version = "2025.3.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/34/f4/5721faf47b8c499e776bc34c6a8fc17efdf7fdef0b00f398128bc5dcb4ac/fsspec-2025.3.0.tar.gz", hash = "sha256:a935fd1ea872591f2b5148907d103488fc523295e6c64b835cfad8c3eca44972", size = 298491 }
+sdist = { url = "https://files.pythonhosted.org/packages/34/f4/5721faf47b8c499e776bc34c6a8fc17efdf7fdef0b00f398128bc5dcb4ac/fsspec-2025.3.0.tar.gz", hash = "sha256:a935fd1ea872591f2b5148907d103488fc523295e6c64b835cfad8c3eca44972", size = 298491, upload-time = "2025-03-07T21:47:56.461Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/56/53/eb690efa8513166adef3e0669afd31e95ffde69fb3c52ec2ac7223ed6018/fsspec-2025.3.0-py3-none-any.whl", hash = "sha256:efb87af3efa9103f94ca91a7f8cb7a4df91af9f74fc106c9c7ea0efd7277c1b3", size = 193615 },
+ { url = "https://files.pythonhosted.org/packages/56/53/eb690efa8513166adef3e0669afd31e95ffde69fb3c52ec2ac7223ed6018/fsspec-2025.3.0-py3-none-any.whl", hash = "sha256:efb87af3efa9103f94ca91a7f8cb7a4df91af9f74fc106c9c7ea0efd7277c1b3", size = 193615, upload-time = "2025-03-07T21:47:54.809Z" },
]
[package.optional-dependencies]
@@ -1165,9 +1167,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "smmap" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/72/94/63b0fc47eb32792c7ba1fe1b694daec9a63620db1e313033d18140c2320a/gitdb-4.0.12.tar.gz", hash = "sha256:5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571", size = 394684 }
+sdist = { url = "https://files.pythonhosted.org/packages/72/94/63b0fc47eb32792c7ba1fe1b694daec9a63620db1e313033d18140c2320a/gitdb-4.0.12.tar.gz", hash = "sha256:5ef71f855d191a3326fcfbc0d5da835f26b13fbcba60c32c21091c349ffdb571", size = 394684, upload-time = "2025-01-02T07:20:46.413Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl", hash = "sha256:67073e15955400952c6565cc3e707c554a4eea2e428946f7a4c162fab9bd9bcf", size = 62794 },
+ { url = "https://files.pythonhosted.org/packages/a0/61/5c78b91c3143ed5c14207f463aecfc8f9dbb5092fb2869baf37c273b2705/gitdb-4.0.12-py3-none-any.whl", hash = "sha256:67073e15955400952c6565cc3e707c554a4eea2e428946f7a4c162fab9bd9bcf", size = 62794, upload-time = "2025-01-02T07:20:43.624Z" },
]
[[package]]
@@ -1177,9 +1179,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "gitdb" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/df/b5/59d16470a1f0dfe8c793f9ef56fd3826093fc52b3bd96d6b9d6c26c7e27b/gitpython-3.1.46.tar.gz", hash = "sha256:400124c7d0ef4ea03f7310ac2fbf7151e09ff97f2a3288d64a440c584a29c37f", size = 215371 }
+sdist = { url = "https://files.pythonhosted.org/packages/df/b5/59d16470a1f0dfe8c793f9ef56fd3826093fc52b3bd96d6b9d6c26c7e27b/gitpython-3.1.46.tar.gz", hash = "sha256:400124c7d0ef4ea03f7310ac2fbf7151e09ff97f2a3288d64a440c584a29c37f", size = 215371, upload-time = "2026-01-01T15:37:32.073Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/6a/09/e21df6aef1e1ffc0c816f0522ddc3f6dcded766c3261813131c78a704470/gitpython-3.1.46-py3-none-any.whl", hash = "sha256:79812ed143d9d25b6d176a10bb511de0f9c67b1fa641d82097b0ab90398a2058", size = 208620 },
+ { url = "https://files.pythonhosted.org/packages/6a/09/e21df6aef1e1ffc0c816f0522ddc3f6dcded766c3261813131c78a704470/gitpython-3.1.46-py3-none-any.whl", hash = "sha256:79812ed143d9d25b6d176a10bb511de0f9c67b1fa641d82097b0ab90398a2058", size = 208620, upload-time = "2026-01-01T15:37:30.574Z" },
]
[[package]]
@@ -1193,9 +1195,9 @@ dependencies = [
{ name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
{ name = "transformers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f5/f6/dae3851957243e0359c9c06387be430ec1df0d804a270c5eddd00e63ff44/gliclass-0.1.15.tar.gz", hash = "sha256:9f2d578dd0b898c8d48ae9e377a70c72b9e3e24bd0adc047a14455eca273eba9", size = 46286 }
+sdist = { url = "https://files.pythonhosted.org/packages/f5/f6/dae3851957243e0359c9c06387be430ec1df0d804a270c5eddd00e63ff44/gliclass-0.1.15.tar.gz", hash = "sha256:9f2d578dd0b898c8d48ae9e377a70c72b9e3e24bd0adc047a14455eca273eba9", size = 46286, upload-time = "2026-02-17T12:29:14.145Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/af/5a/000a5e4bc52d4ca65dd03ad8ac3b29a8a80f66bd4171b71406bb99c7d8fa/gliclass-0.1.15-py3-none-any.whl", hash = "sha256:d457364fc79c286909ea378ffd1a000aac676e924cdd7a9bbbb58acc83d9ceb4", size = 47410 },
+ { url = "https://files.pythonhosted.org/packages/af/5a/000a5e4bc52d4ca65dd03ad8ac3b29a8a80f66bd4171b71406bb99c7d8fa/gliclass-0.1.15-py3-none-any.whl", hash = "sha256:d457364fc79c286909ea378ffd1a000aac676e924cdd7a9bbbb58acc83d9ceb4", size = 47410, upload-time = "2026-02-17T12:29:12.377Z" },
]
[[package]]
@@ -1211,9 +1213,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "transformers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ae/0c/e57098620506889a94d24814a38ee983f5f6aad9f34d815b3f0e5afde8b1/gliner-0.2.25.tar.gz", hash = "sha256:ac5a8c7e4f17f837969e3594f2bf95dc05ba05a01780a16f79d5d443b3b0b98f", size = 172559 }
+sdist = { url = "https://files.pythonhosted.org/packages/ae/0c/e57098620506889a94d24814a38ee983f5f6aad9f34d815b3f0e5afde8b1/gliner-0.2.25.tar.gz", hash = "sha256:ac5a8c7e4f17f837969e3594f2bf95dc05ba05a01780a16f79d5d443b3b0b98f", size = 172559, upload-time = "2026-02-11T14:33:35.372Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/cd/9b/2381015e2e0398b174bd4d0cf5d00e64d55d969d520700a10c4602a06b88/gliner-0.2.25-py3-none-any.whl", hash = "sha256:57c6406352e52bc8977c7819f6b131418c250d633045a31e436b45fc0b39d656", size = 163875 },
+ { url = "https://files.pythonhosted.org/packages/cd/9b/2381015e2e0398b174bd4d0cf5d00e64d55d969d520700a10c4602a06b88/gliner-0.2.25-py3-none-any.whl", hash = "sha256:57c6406352e52bc8977c7819f6b131418c250d633045a31e436b45fc0b39d656", size = 163875, upload-time = "2026-02-11T14:33:29.451Z" },
]
[[package]]
@@ -1229,9 +1231,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "transformers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/aa/17/366a8bcdf3631af9f11b989c3387b952cf3fd3b786df95952e826d64374a/glirel-1.2.1.tar.gz", hash = "sha256:96e0636810c6f020707a515d4f08aa36b7950c7d06030b5fe149b86d716e00e4", size = 49623 }
+sdist = { url = "https://files.pythonhosted.org/packages/aa/17/366a8bcdf3631af9f11b989c3387b952cf3fd3b786df95952e826d64374a/glirel-1.2.1.tar.gz", hash = "sha256:96e0636810c6f020707a515d4f08aa36b7950c7d06030b5fe149b86d716e00e4", size = 49623, upload-time = "2025-04-11T10:10:58.396Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2f/62/fce91d0f41f493d1fb69db3df828aa6c2a76390a4a38db5db6a40b3b2150/glirel-1.2.1-py3-none-any.whl", hash = "sha256:ecbe2f955d8f2a406931022a10753e889761de7a736ec4090187830e49689aaf", size = 54298 },
+ { url = "https://files.pythonhosted.org/packages/2f/62/fce91d0f41f493d1fb69db3df828aa6c2a76390a4a38db5db6a40b3b2150/glirel-1.2.1-py3-none-any.whl", hash = "sha256:ecbe2f955d8f2a406931022a10753e889761de7a736ec4090187830e49689aaf", size = 54298, upload-time = "2025-04-11T10:10:57.277Z" },
]
[[package]]
@@ -1245,9 +1247,9 @@ dependencies = [
{ name = "protobuf" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/22/98/586ec94553b569080caef635f98a3723db36a38eac0e3d7eb3ea9d2e4b9a/google_api_core-2.30.0.tar.gz", hash = "sha256:02edfa9fab31e17fc0befb5f161b3bf93c9096d99aed584625f38065c511ad9b", size = 176959 }
+sdist = { url = "https://files.pythonhosted.org/packages/22/98/586ec94553b569080caef635f98a3723db36a38eac0e3d7eb3ea9d2e4b9a/google_api_core-2.30.0.tar.gz", hash = "sha256:02edfa9fab31e17fc0befb5f161b3bf93c9096d99aed584625f38065c511ad9b", size = 176959, upload-time = "2026-02-18T20:28:11.926Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/45/27/09c33d67f7e0dcf06d7ac17d196594e66989299374bfb0d4331d1038e76b/google_api_core-2.30.0-py3-none-any.whl", hash = "sha256:80be49ee937ff9aba0fd79a6eddfde35fe658b9953ab9b79c57dd7061afa8df5", size = 173288 },
+ { url = "https://files.pythonhosted.org/packages/45/27/09c33d67f7e0dcf06d7ac17d196594e66989299374bfb0d4331d1038e76b/google_api_core-2.30.0-py3-none-any.whl", hash = "sha256:80be49ee937ff9aba0fd79a6eddfde35fe658b9953ab9b79c57dd7061afa8df5", size = 173288, upload-time = "2026-02-18T20:28:10.367Z" },
]
[[package]]
@@ -1259,9 +1261,9 @@ dependencies = [
{ name = "pyasn1-modules" },
{ name = "rsa" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7d/59/7371175bfd949abfb1170aa076352131d7281bd9449c0f978604fc4431c3/google_auth-2.49.0.tar.gz", hash = "sha256:9cc2d9259d3700d7a257681f81052db6737495a1a46b610597f4b8bafe5286ae", size = 333444 }
+sdist = { url = "https://files.pythonhosted.org/packages/7d/59/7371175bfd949abfb1170aa076352131d7281bd9449c0f978604fc4431c3/google_auth-2.49.0.tar.gz", hash = "sha256:9cc2d9259d3700d7a257681f81052db6737495a1a46b610597f4b8bafe5286ae", size = 333444, upload-time = "2026-03-06T21:53:06.07Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/37/45/de64b823b639103de4b63dd193480dce99526bd36be6530c2dba85bf7817/google_auth-2.49.0-py3-none-any.whl", hash = "sha256:f893ef7307f19cf53700b7e2f61b5a6affe3aa0edf9943b13788920ab92d8d87", size = 240676 },
+ { url = "https://files.pythonhosted.org/packages/37/45/de64b823b639103de4b63dd193480dce99526bd36be6530c2dba85bf7817/google_auth-2.49.0-py3-none-any.whl", hash = "sha256:f893ef7307f19cf53700b7e2f61b5a6affe3aa0edf9943b13788920ab92d8d87", size = 240676, upload-time = "2026-03-06T21:52:38.304Z" },
]
[[package]]
@@ -1272,9 +1274,9 @@ dependencies = [
{ name = "google-api-core" },
{ name = "google-auth" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a6/03/ef0bc99d0e0faf4fdbe67ac445e18cdaa74824fd93cd069e7bb6548cb52d/google_cloud_core-2.5.0.tar.gz", hash = "sha256:7c1b7ef5c92311717bd05301aa1a91ffbc565673d3b0b4163a52d8413a186963", size = 36027 }
+sdist = { url = "https://files.pythonhosted.org/packages/a6/03/ef0bc99d0e0faf4fdbe67ac445e18cdaa74824fd93cd069e7bb6548cb52d/google_cloud_core-2.5.0.tar.gz", hash = "sha256:7c1b7ef5c92311717bd05301aa1a91ffbc565673d3b0b4163a52d8413a186963", size = 36027, upload-time = "2025-10-29T23:17:39.513Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/89/20/bfa472e327c8edee00f04beecc80baeddd2ab33ee0e86fd7654da49d45e9/google_cloud_core-2.5.0-py3-none-any.whl", hash = "sha256:67d977b41ae6c7211ee830c7912e41003ea8194bff15ae7d72fd6f51e57acabc", size = 29469 },
+ { url = "https://files.pythonhosted.org/packages/89/20/bfa472e327c8edee00f04beecc80baeddd2ab33ee0e86fd7654da49d45e9/google_cloud_core-2.5.0-py3-none-any.whl", hash = "sha256:67d977b41ae6c7211ee830c7912e41003ea8194bff15ae7d72fd6f51e57acabc", size = 29469, upload-time = "2025-10-29T23:17:38.548Z" },
]
[[package]]
@@ -1289,22 +1291,22 @@ dependencies = [
{ name = "google-resumable-media" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/36/76/4d965702e96bb67976e755bed9828fa50306dca003dbee08b67f41dd265e/google_cloud_storage-2.19.0.tar.gz", hash = "sha256:cd05e9e7191ba6cb68934d8eb76054d9be4562aa89dbc4236feee4d7d51342b2", size = 5535488 }
+sdist = { url = "https://files.pythonhosted.org/packages/36/76/4d965702e96bb67976e755bed9828fa50306dca003dbee08b67f41dd265e/google_cloud_storage-2.19.0.tar.gz", hash = "sha256:cd05e9e7191ba6cb68934d8eb76054d9be4562aa89dbc4236feee4d7d51342b2", size = 5535488, upload-time = "2024-12-05T01:35:06.49Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d5/94/6db383d8ee1adf45dc6c73477152b82731fa4c4a46d9c1932cc8757e0fd4/google_cloud_storage-2.19.0-py2.py3-none-any.whl", hash = "sha256:aeb971b5c29cf8ab98445082cbfe7b161a1f48ed275822f59ed3f1524ea54fba", size = 131787 },
+ { url = "https://files.pythonhosted.org/packages/d5/94/6db383d8ee1adf45dc6c73477152b82731fa4c4a46d9c1932cc8757e0fd4/google_cloud_storage-2.19.0-py2.py3-none-any.whl", hash = "sha256:aeb971b5c29cf8ab98445082cbfe7b161a1f48ed275822f59ed3f1524ea54fba", size = 131787, upload-time = "2024-12-05T01:35:04.736Z" },
]
[[package]]
name = "google-crc32c"
version = "1.8.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/03/41/4b9c02f99e4c5fb477122cd5437403b552873f014616ac1d19ac8221a58d/google_crc32c-1.8.0.tar.gz", hash = "sha256:a428e25fb7691024de47fecfbff7ff957214da51eddded0da0ae0e0f03a2cf79", size = 14192 }
+sdist = { url = "https://files.pythonhosted.org/packages/03/41/4b9c02f99e4c5fb477122cd5437403b552873f014616ac1d19ac8221a58d/google_crc32c-1.8.0.tar.gz", hash = "sha256:a428e25fb7691024de47fecfbff7ff957214da51eddded0da0ae0e0f03a2cf79", size = 14192, upload-time = "2025-12-16T00:35:25.142Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e9/5f/7307325b1198b59324c0fa9807cafb551afb65e831699f2ce211ad5c8240/google_crc32c-1.8.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:4b8286b659c1335172e39563ab0a768b8015e88e08329fa5321f774275fc3113", size = 31300 },
- { url = "https://files.pythonhosted.org/packages/21/8e/58c0d5d86e2220e6a37befe7e6a94dd2f6006044b1a33edf1ff6d9f7e319/google_crc32c-1.8.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:2a3dc3318507de089c5384cc74d54318401410f82aa65b2d9cdde9d297aca7cb", size = 30867 },
- { url = "https://files.pythonhosted.org/packages/ce/a9/a780cc66f86335a6019f557a8aaca8fbb970728f0efd2430d15ff1beae0e/google_crc32c-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:14f87e04d613dfa218d6135e81b78272c3b904e2a7053b841481b38a7d901411", size = 33364 },
- { url = "https://files.pythonhosted.org/packages/21/3f/3457ea803db0198c9aaca2dd373750972ce28a26f00544b6b85088811939/google_crc32c-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cb5c869c2923d56cb0c8e6bcdd73c009c36ae39b652dbe46a05eb4ef0ad01454", size = 33740 },
- { url = "https://files.pythonhosted.org/packages/df/c0/87c2073e0c72515bb8733d4eef7b21548e8d189f094b5dad20b0ecaf64f6/google_crc32c-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:3cc0c8912038065eafa603b238abf252e204accab2a704c63b9e14837a854962", size = 34437 },
+ { url = "https://files.pythonhosted.org/packages/e9/5f/7307325b1198b59324c0fa9807cafb551afb65e831699f2ce211ad5c8240/google_crc32c-1.8.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:4b8286b659c1335172e39563ab0a768b8015e88e08329fa5321f774275fc3113", size = 31300, upload-time = "2025-12-16T00:21:56.723Z" },
+ { url = "https://files.pythonhosted.org/packages/21/8e/58c0d5d86e2220e6a37befe7e6a94dd2f6006044b1a33edf1ff6d9f7e319/google_crc32c-1.8.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:2a3dc3318507de089c5384cc74d54318401410f82aa65b2d9cdde9d297aca7cb", size = 30867, upload-time = "2025-12-16T00:38:31.302Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/a9/a780cc66f86335a6019f557a8aaca8fbb970728f0efd2430d15ff1beae0e/google_crc32c-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:14f87e04d613dfa218d6135e81b78272c3b904e2a7053b841481b38a7d901411", size = 33364, upload-time = "2025-12-16T00:40:22.96Z" },
+ { url = "https://files.pythonhosted.org/packages/21/3f/3457ea803db0198c9aaca2dd373750972ce28a26f00544b6b85088811939/google_crc32c-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cb5c869c2923d56cb0c8e6bcdd73c009c36ae39b652dbe46a05eb4ef0ad01454", size = 33740, upload-time = "2025-12-16T00:40:23.96Z" },
+ { url = "https://files.pythonhosted.org/packages/df/c0/87c2073e0c72515bb8733d4eef7b21548e8d189f094b5dad20b0ecaf64f6/google_crc32c-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:3cc0c8912038065eafa603b238abf252e204accab2a704c63b9e14837a854962", size = 34437, upload-time = "2025-12-16T00:35:21.395Z" },
]
[[package]]
@@ -1314,9 +1316,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "google-crc32c" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/64/d7/520b62a35b23038ff005e334dba3ffc75fcf583bee26723f1fd8fd4b6919/google_resumable_media-2.8.0.tar.gz", hash = "sha256:f1157ed8b46994d60a1bc432544db62352043113684d4e030ee02e77ebe9a1ae", size = 2163265 }
+sdist = { url = "https://files.pythonhosted.org/packages/64/d7/520b62a35b23038ff005e334dba3ffc75fcf583bee26723f1fd8fd4b6919/google_resumable_media-2.8.0.tar.gz", hash = "sha256:f1157ed8b46994d60a1bc432544db62352043113684d4e030ee02e77ebe9a1ae", size = 2163265, upload-time = "2025-11-17T15:38:06.659Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1f/0b/93afde9cfe012260e9fe1522f35c9b72d6ee222f316586b1f23ecf44d518/google_resumable_media-2.8.0-py3-none-any.whl", hash = "sha256:dd14a116af303845a8d932ddae161a26e86cc229645bc98b39f026f9b1717582", size = 81340 },
+ { url = "https://files.pythonhosted.org/packages/1f/0b/93afde9cfe012260e9fe1522f35c9b72d6ee222f316586b1f23ecf44d518/google_resumable_media-2.8.0-py3-none-any.whl", hash = "sha256:dd14a116af303845a8d932ddae161a26e86cc229645bc98b39f026f9b1717582", size = 81340, upload-time = "2025-11-17T15:38:05.594Z" },
]
[[package]]
@@ -1326,9 +1328,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "protobuf" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/99/96/a0205167fa0154f4a542fd6925bdc63d039d88dab3588b875078107e6f06/googleapis_common_protos-1.73.0.tar.gz", hash = "sha256:778d07cd4fbeff84c6f7c72102f0daf98fa2bfd3fa8bea426edc545588da0b5a", size = 147323 }
+sdist = { url = "https://files.pythonhosted.org/packages/99/96/a0205167fa0154f4a542fd6925bdc63d039d88dab3588b875078107e6f06/googleapis_common_protos-1.73.0.tar.gz", hash = "sha256:778d07cd4fbeff84c6f7c72102f0daf98fa2bfd3fa8bea426edc545588da0b5a", size = 147323, upload-time = "2026-03-06T21:53:09.727Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/69/28/23eea8acd65972bbfe295ce3666b28ac510dfcb115fac089d3edb0feb00a/googleapis_common_protos-1.73.0-py3-none-any.whl", hash = "sha256:dfdaaa2e860f242046be561e6d6cb5c5f1541ae02cfbcb034371aadb2942b4e8", size = 297578 },
+ { url = "https://files.pythonhosted.org/packages/69/28/23eea8acd65972bbfe295ce3666b28ac510dfcb115fac089d3edb0feb00a/googleapis_common_protos-1.73.0-py3-none-any.whl", hash = "sha256:dfdaaa2e860f242046be561e6d6cb5c5f1541ae02cfbcb034371aadb2942b4e8", size = 297578, upload-time = "2026-03-06T21:52:33.933Z" },
]
[[package]]
@@ -1341,18 +1343,18 @@ dependencies = [
{ name = "python-dateutil" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/cc/f6/bf62ff950c317ed03e77f3f6ddd7e34aaa98fe89d79ebd660c55343d8054/graphene-3.4.3.tar.gz", hash = "sha256:2a3786948ce75fe7e078443d37f609cbe5bb36ad8d6b828740ad3b95ed1a0aaa", size = 44739 }
+sdist = { url = "https://files.pythonhosted.org/packages/cc/f6/bf62ff950c317ed03e77f3f6ddd7e34aaa98fe89d79ebd660c55343d8054/graphene-3.4.3.tar.gz", hash = "sha256:2a3786948ce75fe7e078443d37f609cbe5bb36ad8d6b828740ad3b95ed1a0aaa", size = 44739, upload-time = "2024-11-09T20:44:25.757Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/66/e0/61d8e98007182e6b2aca7cf65904721fb2e4bce0192272ab9cb6f69d8812/graphene-3.4.3-py2.py3-none-any.whl", hash = "sha256:820db6289754c181007a150db1f7fff544b94142b556d12e3ebc777a7bf36c71", size = 114894 },
+ { url = "https://files.pythonhosted.org/packages/66/e0/61d8e98007182e6b2aca7cf65904721fb2e4bce0192272ab9cb6f69d8812/graphene-3.4.3-py2.py3-none-any.whl", hash = "sha256:820db6289754c181007a150db1f7fff544b94142b556d12e3ebc777a7bf36c71", size = 114894, upload-time = "2024-11-09T20:44:23.851Z" },
]
[[package]]
name = "graphql-core"
version = "3.2.8"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/68/c5/36aa96205c3ecbb3d34c7c24189e4553c7ca2ebc7e1dd07432339b980272/graphql_core-3.2.8.tar.gz", hash = "sha256:015457da5d996c924ddf57a43f4e959b0b94fb695b85ed4c29446e508ed65cf3", size = 513181 }
+sdist = { url = "https://files.pythonhosted.org/packages/68/c5/36aa96205c3ecbb3d34c7c24189e4553c7ca2ebc7e1dd07432339b980272/graphql_core-3.2.8.tar.gz", hash = "sha256:015457da5d996c924ddf57a43f4e959b0b94fb695b85ed4c29446e508ed65cf3", size = 513181, upload-time = "2026-03-05T19:55:37.332Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/86/41/cb887d9afc5dabd78feefe6ccbaf83ff423c206a7a1b7aeeac05120b2125/graphql_core-3.2.8-py3-none-any.whl", hash = "sha256:cbee07bee1b3ed5e531723685369039f32ff815ef60166686e0162f540f1520c", size = 207349 },
+ { url = "https://files.pythonhosted.org/packages/86/41/cb887d9afc5dabd78feefe6ccbaf83ff423c206a7a1b7aeeac05120b2125/graphql_core-3.2.8-py3-none-any.whl", hash = "sha256:cbee07bee1b3ed5e531723685369039f32ff815ef60166686e0162f540f1520c", size = 207349, upload-time = "2026-03-05T19:55:35.911Z" },
]
[[package]]
@@ -1362,26 +1364,26 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "graphql-core" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/d1/13/98fbf8d67552f102488ffc16c6f559ce71ea15f6294728d33928ab5ff14d/graphql-relay-3.2.0.tar.gz", hash = "sha256:1ff1c51298356e481a0be009ccdff249832ce53f30559c1338f22a0e0d17250c", size = 50027 }
+sdist = { url = "https://files.pythonhosted.org/packages/d1/13/98fbf8d67552f102488ffc16c6f559ce71ea15f6294728d33928ab5ff14d/graphql-relay-3.2.0.tar.gz", hash = "sha256:1ff1c51298356e481a0be009ccdff249832ce53f30559c1338f22a0e0d17250c", size = 50027, upload-time = "2022-04-16T11:03:45.447Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/74/16/a4cf06adbc711bd364a73ce043b0b08d8fa5aae3df11b6ee4248bcdad2e0/graphql_relay-3.2.0-py3-none-any.whl", hash = "sha256:c9b22bd28b170ba1fe674c74384a8ff30a76c8e26f88ac3aa1584dd3179953e5", size = 16940 },
+ { url = "https://files.pythonhosted.org/packages/74/16/a4cf06adbc711bd364a73ce043b0b08d8fa5aae3df11b6ee4248bcdad2e0/graphql_relay-3.2.0-py3-none-any.whl", hash = "sha256:c9b22bd28b170ba1fe674c74384a8ff30a76c8e26f88ac3aa1584dd3179953e5", size = 16940, upload-time = "2022-04-16T11:03:43.895Z" },
]
[[package]]
name = "greenlet"
version = "3.3.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a3/51/1664f6b78fc6ebbd98019a1fd730e83fa78f2db7058f72b1463d3612b8db/greenlet-3.3.2.tar.gz", hash = "sha256:2eaf067fc6d886931c7962e8c6bede15d2f01965560f3359b27c80bde2d151f2", size = 188267 }
+sdist = { url = "https://files.pythonhosted.org/packages/a3/51/1664f6b78fc6ebbd98019a1fd730e83fa78f2db7058f72b1463d3612b8db/greenlet-3.3.2.tar.gz", hash = "sha256:2eaf067fc6d886931c7962e8c6bede15d2f01965560f3359b27c80bde2d151f2", size = 188267, upload-time = "2026-02-20T20:54:15.531Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ea/ab/1608e5a7578e62113506740b88066bf09888322a311cff602105e619bd87/greenlet-3.3.2-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:ac8d61d4343b799d1e526db579833d72f23759c71e07181c2d2944e429eb09cd", size = 280358 },
- { url = "https://files.pythonhosted.org/packages/a5/23/0eae412a4ade4e6623ff7626e38998cb9b11e9ff1ebacaa021e4e108ec15/greenlet-3.3.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3ceec72030dae6ac0c8ed7591b96b70410a8be370b6a477b1dbc072856ad02bd", size = 601217 },
- { url = "https://files.pythonhosted.org/packages/f8/16/5b1678a9c07098ecb9ab2dd159fafaf12e963293e61ee8d10ecb55273e5e/greenlet-3.3.2-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a2a5be83a45ce6188c045bcc44b0ee037d6a518978de9a5d97438548b953a1ac", size = 611792 },
- { url = "https://files.pythonhosted.org/packages/5c/c5/cc09412a29e43406eba18d61c70baa936e299bc27e074e2be3806ed29098/greenlet-3.3.2-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ae9e21c84035c490506c17002f5c8ab25f980205c3e61ddb3a2a2a2e6c411fcb", size = 626250 },
- { url = "https://files.pythonhosted.org/packages/50/1f/5155f55bd71cabd03765a4aac9ac446be129895271f73872c36ebd4b04b6/greenlet-3.3.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:43e99d1749147ac21dde49b99c9abffcbc1e2d55c67501465ef0930d6e78e070", size = 613875 },
- { url = "https://files.pythonhosted.org/packages/fc/dd/845f249c3fcd69e32df80cdab059b4be8b766ef5830a3d0aa9d6cad55beb/greenlet-3.3.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4c956a19350e2c37f2c48b336a3afb4bff120b36076d9d7fb68cb44e05d95b79", size = 1571467 },
- { url = "https://files.pythonhosted.org/packages/2a/50/2649fe21fcc2b56659a452868e695634722a6655ba245d9f77f5656010bf/greenlet-3.3.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6c6f8ba97d17a1e7d664151284cb3315fc5f8353e75221ed4324f84eb162b395", size = 1640001 },
- { url = "https://files.pythonhosted.org/packages/9b/40/cc802e067d02af8b60b6771cea7d57e21ef5e6659912814babb42b864713/greenlet-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:34308836d8370bddadb41f5a7ce96879b72e2fdfb4e87729330c6ab52376409f", size = 231081 },
- { url = "https://files.pythonhosted.org/packages/58/2e/fe7f36ff1982d6b10a60d5e0740c759259a7d6d2e1dc41da6d96de32fff6/greenlet-3.3.2-cp312-cp312-win_arm64.whl", hash = "sha256:d3a62fa76a32b462a97198e4c9e99afb9ab375115e74e9a83ce180e7a496f643", size = 230331 },
+ { url = "https://files.pythonhosted.org/packages/ea/ab/1608e5a7578e62113506740b88066bf09888322a311cff602105e619bd87/greenlet-3.3.2-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:ac8d61d4343b799d1e526db579833d72f23759c71e07181c2d2944e429eb09cd", size = 280358, upload-time = "2026-02-20T20:17:43.971Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/23/0eae412a4ade4e6623ff7626e38998cb9b11e9ff1ebacaa021e4e108ec15/greenlet-3.3.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3ceec72030dae6ac0c8ed7591b96b70410a8be370b6a477b1dbc072856ad02bd", size = 601217, upload-time = "2026-02-20T20:47:31.462Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/16/5b1678a9c07098ecb9ab2dd159fafaf12e963293e61ee8d10ecb55273e5e/greenlet-3.3.2-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a2a5be83a45ce6188c045bcc44b0ee037d6a518978de9a5d97438548b953a1ac", size = 611792, upload-time = "2026-02-20T20:55:58.423Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/c5/cc09412a29e43406eba18d61c70baa936e299bc27e074e2be3806ed29098/greenlet-3.3.2-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ae9e21c84035c490506c17002f5c8ab25f980205c3e61ddb3a2a2a2e6c411fcb", size = 626250, upload-time = "2026-02-20T21:02:46.596Z" },
+ { url = "https://files.pythonhosted.org/packages/50/1f/5155f55bd71cabd03765a4aac9ac446be129895271f73872c36ebd4b04b6/greenlet-3.3.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:43e99d1749147ac21dde49b99c9abffcbc1e2d55c67501465ef0930d6e78e070", size = 613875, upload-time = "2026-02-20T20:21:01.102Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/dd/845f249c3fcd69e32df80cdab059b4be8b766ef5830a3d0aa9d6cad55beb/greenlet-3.3.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4c956a19350e2c37f2c48b336a3afb4bff120b36076d9d7fb68cb44e05d95b79", size = 1571467, upload-time = "2026-02-20T20:49:33.495Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/50/2649fe21fcc2b56659a452868e695634722a6655ba245d9f77f5656010bf/greenlet-3.3.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6c6f8ba97d17a1e7d664151284cb3315fc5f8353e75221ed4324f84eb162b395", size = 1640001, upload-time = "2026-02-20T20:21:09.154Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/40/cc802e067d02af8b60b6771cea7d57e21ef5e6659912814babb42b864713/greenlet-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:34308836d8370bddadb41f5a7ce96879b72e2fdfb4e87729330c6ab52376409f", size = 231081, upload-time = "2026-02-20T20:17:28.121Z" },
+ { url = "https://files.pythonhosted.org/packages/58/2e/fe7f36ff1982d6b10a60d5e0740c759259a7d6d2e1dc41da6d96de32fff6/greenlet-3.3.2-cp312-cp312-win_arm64.whl", hash = "sha256:d3a62fa76a32b462a97198e4c9e99afb9ab375115e74e9a83ce180e7a496f643", size = 230331, upload-time = "2026-02-20T20:17:23.34Z" },
]
[[package]]
@@ -1392,9 +1394,9 @@ dependencies = [
{ name = "griffecli" },
{ name = "griffelib" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/04/56/28a0accac339c164b52a92c6cfc45a903acc0c174caa5c1713803467b533/griffe-2.0.0.tar.gz", hash = "sha256:c68979cd8395422083a51ea7cf02f9c119d889646d99b7b656ee43725de1b80f", size = 293906 }
+sdist = { url = "https://files.pythonhosted.org/packages/04/56/28a0accac339c164b52a92c6cfc45a903acc0c174caa5c1713803467b533/griffe-2.0.0.tar.gz", hash = "sha256:c68979cd8395422083a51ea7cf02f9c119d889646d99b7b656ee43725de1b80f", size = 293906, upload-time = "2026-03-23T21:06:53.402Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8b/94/ee21d41e7eb4f823b94603b9d40f86d3c7fde80eacc2c3c71845476dddaa/griffe-2.0.0-py3-none-any.whl", hash = "sha256:5418081135a391c3e6e757a7f3f156f1a1a746cc7b4023868ff7d5e2f9a980aa", size = 5214 },
+ { url = "https://files.pythonhosted.org/packages/8b/94/ee21d41e7eb4f823b94603b9d40f86d3c7fde80eacc2c3c71845476dddaa/griffe-2.0.0-py3-none-any.whl", hash = "sha256:5418081135a391c3e6e757a7f3f156f1a1a746cc7b4023868ff7d5e2f9a980aa", size = 5214, upload-time = "2026-02-09T19:09:44.105Z" },
]
[[package]]
@@ -1405,18 +1407,18 @@ dependencies = [
{ name = "colorama" },
{ name = "griffelib" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a4/f8/2e129fd4a86e52e58eefe664de05e7d502decf766e7316cc9e70fdec3e18/griffecli-2.0.0.tar.gz", hash = "sha256:312fa5ebb4ce6afc786356e2d0ce85b06c1c20d45abc42d74f0cda65e159f6ef", size = 56213 }
+sdist = { url = "https://files.pythonhosted.org/packages/a4/f8/2e129fd4a86e52e58eefe664de05e7d502decf766e7316cc9e70fdec3e18/griffecli-2.0.0.tar.gz", hash = "sha256:312fa5ebb4ce6afc786356e2d0ce85b06c1c20d45abc42d74f0cda65e159f6ef", size = 56213, upload-time = "2026-03-23T21:06:54.8Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e6/ed/d93f7a447bbf7a935d8868e9617cbe1cadf9ee9ee6bd275d3040fbf93d60/griffecli-2.0.0-py3-none-any.whl", hash = "sha256:9f7cd9ee9b21d55e91689358978d2385ae65c22f307a63fb3269acf3f21e643d", size = 9345 },
+ { url = "https://files.pythonhosted.org/packages/e6/ed/d93f7a447bbf7a935d8868e9617cbe1cadf9ee9ee6bd275d3040fbf93d60/griffecli-2.0.0-py3-none-any.whl", hash = "sha256:9f7cd9ee9b21d55e91689358978d2385ae65c22f307a63fb3269acf3f21e643d", size = 9345, upload-time = "2026-02-09T19:09:42.554Z" },
]
[[package]]
name = "griffelib"
version = "2.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ad/06/eccbd311c9e2b3ca45dbc063b93134c57a1ccc7607c5e545264ad092c4a9/griffelib-2.0.0.tar.gz", hash = "sha256:e504d637a089f5cab9b5daf18f7645970509bf4f53eda8d79ed71cce8bd97934", size = 166312 }
+sdist = { url = "https://files.pythonhosted.org/packages/ad/06/eccbd311c9e2b3ca45dbc063b93134c57a1ccc7607c5e545264ad092c4a9/griffelib-2.0.0.tar.gz", hash = "sha256:e504d637a089f5cab9b5daf18f7645970509bf4f53eda8d79ed71cce8bd97934", size = 166312, upload-time = "2026-03-23T21:06:55.954Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4d/51/c936033e16d12b627ea334aaaaf42229c37620d0f15593456ab69ab48161/griffelib-2.0.0-py3-none-any.whl", hash = "sha256:01284878c966508b6d6f1dbff9b6fa607bc062d8261c5c7253cb285b06422a7f", size = 142004 },
+ { url = "https://files.pythonhosted.org/packages/4d/51/c936033e16d12b627ea334aaaaf42229c37620d0f15593456ab69ab48161/griffelib-2.0.0-py3-none-any.whl", hash = "sha256:01284878c966508b6d6f1dbff9b6fa607bc062d8261c5c7253cb285b06422a7f", size = 142004, upload-time = "2026-02-09T19:09:40.561Z" },
]
[[package]]
@@ -1426,18 +1428,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/06/8a/3d098f35c143a89520e568e6539cc098fcd294495910e359889ce8741c84/grpcio-1.78.0.tar.gz", hash = "sha256:7382b95189546f375c174f53a5fa873cef91c4b8005faa05cc5b3beea9c4f1c5", size = 12852416 }
+sdist = { url = "https://files.pythonhosted.org/packages/06/8a/3d098f35c143a89520e568e6539cc098fcd294495910e359889ce8741c84/grpcio-1.78.0.tar.gz", hash = "sha256:7382b95189546f375c174f53a5fa873cef91c4b8005faa05cc5b3beea9c4f1c5", size = 12852416, upload-time = "2026-02-06T09:57:18.093Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4e/f4/7384ed0178203d6074446b3c4f46c90a22ddf7ae0b3aee521627f54cfc2a/grpcio-1.78.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:f9ab915a267fc47c7e88c387a3a28325b58c898e23d4995f765728f4e3dedb97", size = 5913985 },
- { url = "https://files.pythonhosted.org/packages/81/ed/be1caa25f06594463f685b3790b320f18aea49b33166f4141bfdc2bfb236/grpcio-1.78.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:3f8904a8165ab21e07e58bf3e30a73f4dffc7a1e0dbc32d51c61b5360d26f43e", size = 11811853 },
- { url = "https://files.pythonhosted.org/packages/24/a7/f06d151afc4e64b7e3cc3e872d331d011c279aaab02831e40a81c691fb65/grpcio-1.78.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:859b13906ce098c0b493af92142ad051bf64c7870fa58a123911c88606714996", size = 6475766 },
- { url = "https://files.pythonhosted.org/packages/8a/a8/4482922da832ec0082d0f2cc3a10976d84a7424707f25780b82814aafc0a/grpcio-1.78.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:b2342d87af32790f934a79c3112641e7b27d63c261b8b4395350dad43eff1dc7", size = 7170027 },
- { url = "https://files.pythonhosted.org/packages/54/bf/f4a3b9693e35d25b24b0b39fa46d7d8a3c439e0a3036c3451764678fec20/grpcio-1.78.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:12a771591ae40bc65ba67048fa52ef4f0e6db8279e595fd349f9dfddeef571f9", size = 6690766 },
- { url = "https://files.pythonhosted.org/packages/c7/b9/521875265cc99fe5ad4c5a17010018085cae2810a928bf15ebe7d8bcd9cc/grpcio-1.78.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:185dea0d5260cbb2d224c507bf2a5444d5abbb1fa3594c1ed7e4c709d5eb8383", size = 7266161 },
- { url = "https://files.pythonhosted.org/packages/05/86/296a82844fd40a4ad4a95f100b55044b4f817dece732bf686aea1a284147/grpcio-1.78.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:51b13f9aed9d59ee389ad666b8c2214cc87b5de258fa712f9ab05f922e3896c6", size = 8253303 },
- { url = "https://files.pythonhosted.org/packages/f3/e4/ea3c0caf5468537f27ad5aab92b681ed7cc0ef5f8c9196d3fd42c8c2286b/grpcio-1.78.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fd5f135b1bd58ab088930b3c613455796dfa0393626a6972663ccdda5b4ac6ce", size = 7698222 },
- { url = "https://files.pythonhosted.org/packages/d7/47/7f05f81e4bb6b831e93271fb12fd52ba7b319b5402cbc101d588f435df00/grpcio-1.78.0-cp312-cp312-win32.whl", hash = "sha256:94309f498bcc07e5a7d16089ab984d42ad96af1d94b5a4eb966a266d9fcabf68", size = 4066123 },
- { url = "https://files.pythonhosted.org/packages/ad/e7/d6914822c88aa2974dbbd10903d801a28a19ce9cd8bad7e694cbbcf61528/grpcio-1.78.0-cp312-cp312-win_amd64.whl", hash = "sha256:9566fe4ababbb2610c39190791e5b829869351d14369603702e890ef3ad2d06e", size = 4797657 },
+ { url = "https://files.pythonhosted.org/packages/4e/f4/7384ed0178203d6074446b3c4f46c90a22ddf7ae0b3aee521627f54cfc2a/grpcio-1.78.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:f9ab915a267fc47c7e88c387a3a28325b58c898e23d4995f765728f4e3dedb97", size = 5913985, upload-time = "2026-02-06T09:55:26.832Z" },
+ { url = "https://files.pythonhosted.org/packages/81/ed/be1caa25f06594463f685b3790b320f18aea49b33166f4141bfdc2bfb236/grpcio-1.78.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:3f8904a8165ab21e07e58bf3e30a73f4dffc7a1e0dbc32d51c61b5360d26f43e", size = 11811853, upload-time = "2026-02-06T09:55:29.224Z" },
+ { url = "https://files.pythonhosted.org/packages/24/a7/f06d151afc4e64b7e3cc3e872d331d011c279aaab02831e40a81c691fb65/grpcio-1.78.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:859b13906ce098c0b493af92142ad051bf64c7870fa58a123911c88606714996", size = 6475766, upload-time = "2026-02-06T09:55:31.825Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/a8/4482922da832ec0082d0f2cc3a10976d84a7424707f25780b82814aafc0a/grpcio-1.78.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:b2342d87af32790f934a79c3112641e7b27d63c261b8b4395350dad43eff1dc7", size = 7170027, upload-time = "2026-02-06T09:55:34.7Z" },
+ { url = "https://files.pythonhosted.org/packages/54/bf/f4a3b9693e35d25b24b0b39fa46d7d8a3c439e0a3036c3451764678fec20/grpcio-1.78.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:12a771591ae40bc65ba67048fa52ef4f0e6db8279e595fd349f9dfddeef571f9", size = 6690766, upload-time = "2026-02-06T09:55:36.902Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/b9/521875265cc99fe5ad4c5a17010018085cae2810a928bf15ebe7d8bcd9cc/grpcio-1.78.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:185dea0d5260cbb2d224c507bf2a5444d5abbb1fa3594c1ed7e4c709d5eb8383", size = 7266161, upload-time = "2026-02-06T09:55:39.824Z" },
+ { url = "https://files.pythonhosted.org/packages/05/86/296a82844fd40a4ad4a95f100b55044b4f817dece732bf686aea1a284147/grpcio-1.78.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:51b13f9aed9d59ee389ad666b8c2214cc87b5de258fa712f9ab05f922e3896c6", size = 8253303, upload-time = "2026-02-06T09:55:42.353Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/e4/ea3c0caf5468537f27ad5aab92b681ed7cc0ef5f8c9196d3fd42c8c2286b/grpcio-1.78.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fd5f135b1bd58ab088930b3c613455796dfa0393626a6972663ccdda5b4ac6ce", size = 7698222, upload-time = "2026-02-06T09:55:44.629Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/47/7f05f81e4bb6b831e93271fb12fd52ba7b319b5402cbc101d588f435df00/grpcio-1.78.0-cp312-cp312-win32.whl", hash = "sha256:94309f498bcc07e5a7d16089ab984d42ad96af1d94b5a4eb966a266d9fcabf68", size = 4066123, upload-time = "2026-02-06T09:55:47.644Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/e7/d6914822c88aa2974dbbd10903d801a28a19ce9cd8bad7e694cbbcf61528/grpcio-1.78.0-cp312-cp312-win_amd64.whl", hash = "sha256:9566fe4ababbb2610c39190791e5b829869351d14369603702e890ef3ad2d06e", size = 4797657, upload-time = "2026-02-06T09:55:49.86Z" },
]
[[package]]
@@ -1448,9 +1450,9 @@ dependencies = [
{ name = "h2" },
{ name = "multidict" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5b/28/5a2c299ec82a876a252c5919aa895a6f1d1d35c96417c5ce4a4660dc3a80/grpclib-0.4.9.tar.gz", hash = "sha256:cc589c330fa81004c6400a52a566407574498cb5b055fa927013361e21466c46", size = 84798 }
+sdist = { url = "https://files.pythonhosted.org/packages/5b/28/5a2c299ec82a876a252c5919aa895a6f1d1d35c96417c5ce4a4660dc3a80/grpclib-0.4.9.tar.gz", hash = "sha256:cc589c330fa81004c6400a52a566407574498cb5b055fa927013361e21466c46", size = 84798, upload-time = "2025-12-14T22:23:14.349Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5c/90/b0cbbd9efcc82816c58f31a34963071aa19fb792a212a5d9caf8e0fc3097/grpclib-0.4.9-py3-none-any.whl", hash = "sha256:7762ec1c8ed94dfad597475152dd35cbd11aecaaca2f243e29702435ca24cf0e", size = 77063 },
+ { url = "https://files.pythonhosted.org/packages/5c/90/b0cbbd9efcc82816c58f31a34963071aa19fb792a212a5d9caf8e0fc3097/grpclib-0.4.9-py3-none-any.whl", hash = "sha256:7762ec1c8ed94dfad597475152dd35cbd11aecaaca2f243e29702435ca24cf0e", size = 77063, upload-time = "2025-12-14T22:23:13.224Z" },
]
[[package]]
@@ -1460,18 +1462,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "packaging" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/66/13/ef67f59f6a7896fdc2c1d62b5665c5219d6b0a9a1784938eb9a28e55e128/gunicorn-25.1.0.tar.gz", hash = "sha256:1426611d959fa77e7de89f8c0f32eed6aa03ee735f98c01efba3e281b1c47616", size = 594377 }
+sdist = { url = "https://files.pythonhosted.org/packages/66/13/ef67f59f6a7896fdc2c1d62b5665c5219d6b0a9a1784938eb9a28e55e128/gunicorn-25.1.0.tar.gz", hash = "sha256:1426611d959fa77e7de89f8c0f32eed6aa03ee735f98c01efba3e281b1c47616", size = 594377, upload-time = "2026-02-13T11:09:58.989Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/da/73/4ad5b1f6a2e21cf1e85afdaad2b7b1a933985e2f5d679147a1953aaa192c/gunicorn-25.1.0-py3-none-any.whl", hash = "sha256:d0b1236ccf27f72cfe14bce7caadf467186f19e865094ca84221424e839b8b8b", size = 197067 },
+ { url = "https://files.pythonhosted.org/packages/da/73/4ad5b1f6a2e21cf1e85afdaad2b7b1a933985e2f5d679147a1953aaa192c/gunicorn-25.1.0-py3-none-any.whl", hash = "sha256:d0b1236ccf27f72cfe14bce7caadf467186f19e865094ca84221424e839b8b8b", size = 197067, upload-time = "2026-02-13T11:09:57.146Z" },
]
[[package]]
name = "h11"
version = "0.16.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250 }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515 },
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
]
[[package]]
@@ -1482,9 +1484,9 @@ dependencies = [
{ name = "hpack" },
{ name = "hyperframe" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1d/17/afa56379f94ad0fe8defd37d6eb3f89a25404ffc71d4d848893d270325fc/h2-4.3.0.tar.gz", hash = "sha256:6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1", size = 2152026 }
+sdist = { url = "https://files.pythonhosted.org/packages/1d/17/afa56379f94ad0fe8defd37d6eb3f89a25404ffc71d4d848893d270325fc/h2-4.3.0.tar.gz", hash = "sha256:6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1", size = 2152026, upload-time = "2025-08-23T18:12:19.778Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/69/b2/119f6e6dcbd96f9069ce9a2665e0146588dc9f88f29549711853645e736a/h2-4.3.0-py3-none-any.whl", hash = "sha256:c438f029a25f7945c69e0ccf0fb951dc3f73a5f6412981daee861431b70e2bdd", size = 61779 },
+ { url = "https://files.pythonhosted.org/packages/69/b2/119f6e6dcbd96f9069ce9a2665e0146588dc9f88f29549711853645e736a/h2-4.3.0-py3-none-any.whl", hash = "sha256:c438f029a25f7945c69e0ccf0fb951dc3f73a5f6412981daee861431b70e2bdd", size = 61779, upload-time = "2025-08-23T18:12:17.779Z" },
]
[[package]]
@@ -1511,9 +1513,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7b/d8/d50f23d037153f89ec68853320417cd15b871e2fb56eb3ebab53b1185260/haystack_ai-2.25.2.tar.gz", hash = "sha256:e1be0ed36a379605c2cfbb7140585b77c56e2aa053339ab5d1d75826b48c44ec", size = 465994 }
+sdist = { url = "https://files.pythonhosted.org/packages/7b/d8/d50f23d037153f89ec68853320417cd15b871e2fb56eb3ebab53b1185260/haystack_ai-2.25.2.tar.gz", hash = "sha256:e1be0ed36a379605c2cfbb7140585b77c56e2aa053339ab5d1d75826b48c44ec", size = 465994, upload-time = "2026-03-05T11:28:21.083Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/58/cc/0c84e3842b10ba771e4ce06ab37782989a99f0498477c6caebebd155ee4b/haystack_ai-2.25.2-py3-none-any.whl", hash = "sha256:7079d585ea8358650366292a89e75e52ed0e4fd850f584e90cb496bd4d3b1a62", size = 680139 },
+ { url = "https://files.pythonhosted.org/packages/58/cc/0c84e3842b10ba771e4ce06ab37782989a99f0498477c6caebebd155ee4b/haystack_ai-2.25.2-py3-none-any.whl", hash = "sha256:7079d585ea8358650366292a89e75e52ed0e4fd850f584e90cb496bd4d3b1a62", size = 680139, upload-time = "2026-03-05T11:28:22.694Z" },
]
[[package]]
@@ -1523,55 +1525,55 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "haystack-ai" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/71/a3/02eb86716f4856072feb852555f2d23855bb20c993264dcf4e83dfe87a8a/haystack_experimental-0.19.0.tar.gz", hash = "sha256:194f9074f9184a20d2f4efa7b5082dd33118bc886f87937d13e33616cd549067", size = 45328 }
+sdist = { url = "https://files.pythonhosted.org/packages/71/a3/02eb86716f4856072feb852555f2d23855bb20c993264dcf4e83dfe87a8a/haystack_experimental-0.19.0.tar.gz", hash = "sha256:194f9074f9184a20d2f4efa7b5082dd33118bc886f87937d13e33616cd549067", size = 45328, upload-time = "2026-02-05T08:31:33.862Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/58/c4/6719e1b03b72ab31729b556a47fe3df1ab7fa233b1d01182f0c5ddadfda6/haystack_experimental-0.19.0-py3-none-any.whl", hash = "sha256:ebe1691a4b8d06f934bad792ff95fb4b6858a2ae08f08519e9cf35b7b439b4bd", size = 63150 },
+ { url = "https://files.pythonhosted.org/packages/58/c4/6719e1b03b72ab31729b556a47fe3df1ab7fa233b1d01182f0c5ddadfda6/haystack_experimental-0.19.0-py3-none-any.whl", hash = "sha256:ebe1691a4b8d06f934bad792ff95fb4b6858a2ae08f08519e9cf35b7b439b4bd", size = 63150, upload-time = "2026-02-05T08:31:34.683Z" },
]
[[package]]
name = "hf-transfer"
version = "0.1.9"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/1a/eb/8fc64f40388c29ce8ce3b2b180a089d4d6b25b1d0d232d016704cb852104/hf_transfer-0.1.9.tar.gz", hash = "sha256:035572865dab29d17e783fbf1e84cf1cb24f3fcf8f1b17db1cfc7fdf139f02bf", size = 25201 }
+sdist = { url = "https://files.pythonhosted.org/packages/1a/eb/8fc64f40388c29ce8ce3b2b180a089d4d6b25b1d0d232d016704cb852104/hf_transfer-0.1.9.tar.gz", hash = "sha256:035572865dab29d17e783fbf1e84cf1cb24f3fcf8f1b17db1cfc7fdf139f02bf", size = 25201, upload-time = "2025-01-07T10:05:12.947Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/81/f5/461d2e5f307e5048289b1168d5c642ae3bb2504e88dff1a38b92ed990a21/hf_transfer-0.1.9-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:e66acf91df4a8b72f60223059df3003062a5ae111757187ed1a06750a30e911b", size = 1393046 },
- { url = "https://files.pythonhosted.org/packages/41/ba/8d9fd9f1083525edfcb389c93738c802f3559cb749324090d7109c8bf4c2/hf_transfer-0.1.9-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:8669dbcc7a3e2e8d61d42cd24da9c50d57770bd74b445c65123291ca842a7e7a", size = 1348126 },
- { url = "https://files.pythonhosted.org/packages/8e/a2/cd7885bc9959421065a6fae0fe67b6c55becdeda4e69b873e52976f9a9f0/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8fd0167c4407a3bc4cdd0307e65ada2294ec04f1813d8a69a5243e379b22e9d8", size = 3728604 },
- { url = "https://files.pythonhosted.org/packages/f6/2e/a072cf196edfeda3310c9a5ade0a0fdd785e6154b3ce24fc738c818da2a7/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ee8b10afedcb75f71091bcc197c526a6ebf5c58bbbadb34fdeee6160f55f619f", size = 3064995 },
- { url = "https://files.pythonhosted.org/packages/c2/84/aec9ef4c0fab93c1ea2b1badff38c78b4b2f86f0555b26d2051dbc920cde/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5828057e313de59300dd1abb489444bc452efe3f479d3c55b31a8f680936ba42", size = 3580908 },
- { url = "https://files.pythonhosted.org/packages/29/63/b560d39651a56603d64f1a0212d0472a44cbd965db2fa62b99d99cb981bf/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc6bd19e1cc177c66bdef15ef8636ad3bde79d5a4f608c158021153b4573509d", size = 3400839 },
- { url = "https://files.pythonhosted.org/packages/d6/d8/f87ea6f42456254b48915970ed98e993110521e9263472840174d32c880d/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdca9bfb89e6f8f281890cc61a8aff2d3cecaff7e1a4d275574d96ca70098557", size = 3552664 },
- { url = "https://files.pythonhosted.org/packages/d6/56/1267c39b65fc8f4e2113b36297320f102718bf5799b544a6cbe22013aa1d/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:89a23f58b7b7effbc047b8ca286f131b17728c99a9f972723323003ffd1bb916", size = 4073732 },
- { url = "https://files.pythonhosted.org/packages/82/1a/9c748befbe3decf7cb415e34f8a0c3789a0a9c55910dea73d581e48c0ce5/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:dc7fff1345980d6c0ebb92c811d24afa4b98b3e07ed070c8e38cc91fd80478c5", size = 3390096 },
- { url = "https://files.pythonhosted.org/packages/72/85/4c03da147b6b4b7cb12e074d3d44eee28604a387ed0eaf7eaaead5069c57/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:1a6bd16c667ebe89a069ca163060127a794fa3a3525292c900b8c8cc47985b0d", size = 3664743 },
- { url = "https://files.pythonhosted.org/packages/e7/6e/e597b04f753f1b09e6893075d53a82a30c13855cbaa791402695b01e369f/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:d2fde99d502093ade3ab1b53f80da18480e9902aa960dab7f74fb1b9e5bc5746", size = 3695243 },
- { url = "https://files.pythonhosted.org/packages/09/89/d4e234727a26b2546c8fb70a276cd924260d60135f2165bf8b9ed67bb9a4/hf_transfer-0.1.9-cp38-abi3-win32.whl", hash = "sha256:435cc3cdc8524ce57b074032b8fd76eed70a4224d2091232fa6a8cef8fd6803e", size = 1086605 },
- { url = "https://files.pythonhosted.org/packages/a1/14/f1e15b851d1c2af5b0b1a82bf8eb10bda2da62d98180220ba6fd8879bb5b/hf_transfer-0.1.9-cp38-abi3-win_amd64.whl", hash = "sha256:16f208fc678911c37e11aa7b586bc66a37d02e636208f18b6bc53d29b5df40ad", size = 1160240 },
+ { url = "https://files.pythonhosted.org/packages/81/f5/461d2e5f307e5048289b1168d5c642ae3bb2504e88dff1a38b92ed990a21/hf_transfer-0.1.9-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:e66acf91df4a8b72f60223059df3003062a5ae111757187ed1a06750a30e911b", size = 1393046, upload-time = "2025-01-07T10:04:51.003Z" },
+ { url = "https://files.pythonhosted.org/packages/41/ba/8d9fd9f1083525edfcb389c93738c802f3559cb749324090d7109c8bf4c2/hf_transfer-0.1.9-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:8669dbcc7a3e2e8d61d42cd24da9c50d57770bd74b445c65123291ca842a7e7a", size = 1348126, upload-time = "2025-01-07T10:04:45.712Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/a2/cd7885bc9959421065a6fae0fe67b6c55becdeda4e69b873e52976f9a9f0/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8fd0167c4407a3bc4cdd0307e65ada2294ec04f1813d8a69a5243e379b22e9d8", size = 3728604, upload-time = "2025-01-07T10:04:14.173Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/2e/a072cf196edfeda3310c9a5ade0a0fdd785e6154b3ce24fc738c818da2a7/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ee8b10afedcb75f71091bcc197c526a6ebf5c58bbbadb34fdeee6160f55f619f", size = 3064995, upload-time = "2025-01-07T10:04:18.663Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/84/aec9ef4c0fab93c1ea2b1badff38c78b4b2f86f0555b26d2051dbc920cde/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5828057e313de59300dd1abb489444bc452efe3f479d3c55b31a8f680936ba42", size = 3580908, upload-time = "2025-01-07T10:04:32.834Z" },
+ { url = "https://files.pythonhosted.org/packages/29/63/b560d39651a56603d64f1a0212d0472a44cbd965db2fa62b99d99cb981bf/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc6bd19e1cc177c66bdef15ef8636ad3bde79d5a4f608c158021153b4573509d", size = 3400839, upload-time = "2025-01-07T10:04:26.122Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/d8/f87ea6f42456254b48915970ed98e993110521e9263472840174d32c880d/hf_transfer-0.1.9-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdca9bfb89e6f8f281890cc61a8aff2d3cecaff7e1a4d275574d96ca70098557", size = 3552664, upload-time = "2025-01-07T10:04:40.123Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/56/1267c39b65fc8f4e2113b36297320f102718bf5799b544a6cbe22013aa1d/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:89a23f58b7b7effbc047b8ca286f131b17728c99a9f972723323003ffd1bb916", size = 4073732, upload-time = "2025-01-07T10:04:55.624Z" },
+ { url = "https://files.pythonhosted.org/packages/82/1a/9c748befbe3decf7cb415e34f8a0c3789a0a9c55910dea73d581e48c0ce5/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:dc7fff1345980d6c0ebb92c811d24afa4b98b3e07ed070c8e38cc91fd80478c5", size = 3390096, upload-time = "2025-01-07T10:04:59.98Z" },
+ { url = "https://files.pythonhosted.org/packages/72/85/4c03da147b6b4b7cb12e074d3d44eee28604a387ed0eaf7eaaead5069c57/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:1a6bd16c667ebe89a069ca163060127a794fa3a3525292c900b8c8cc47985b0d", size = 3664743, upload-time = "2025-01-07T10:05:05.416Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/6e/e597b04f753f1b09e6893075d53a82a30c13855cbaa791402695b01e369f/hf_transfer-0.1.9-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:d2fde99d502093ade3ab1b53f80da18480e9902aa960dab7f74fb1b9e5bc5746", size = 3695243, upload-time = "2025-01-07T10:05:11.411Z" },
+ { url = "https://files.pythonhosted.org/packages/09/89/d4e234727a26b2546c8fb70a276cd924260d60135f2165bf8b9ed67bb9a4/hf_transfer-0.1.9-cp38-abi3-win32.whl", hash = "sha256:435cc3cdc8524ce57b074032b8fd76eed70a4224d2091232fa6a8cef8fd6803e", size = 1086605, upload-time = "2025-01-07T10:05:18.873Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/14/f1e15b851d1c2af5b0b1a82bf8eb10bda2da62d98180220ba6fd8879bb5b/hf_transfer-0.1.9-cp38-abi3-win_amd64.whl", hash = "sha256:16f208fc678911c37e11aa7b586bc66a37d02e636208f18b6bc53d29b5df40ad", size = 1160240, upload-time = "2025-01-07T10:05:14.324Z" },
]
[[package]]
name = "hf-xet"
version = "1.3.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/8b/cb/9bb543bd987ffa1ee48202cc96a756951b734b79a542335c566148ade36c/hf_xet-1.3.2.tar.gz", hash = "sha256:e130ee08984783d12717444e538587fa2119385e5bd8fc2bb9f930419b73a7af", size = 643646 }
+sdist = { url = "https://files.pythonhosted.org/packages/8b/cb/9bb543bd987ffa1ee48202cc96a756951b734b79a542335c566148ade36c/hf_xet-1.3.2.tar.gz", hash = "sha256:e130ee08984783d12717444e538587fa2119385e5bd8fc2bb9f930419b73a7af", size = 643646, upload-time = "2026-02-27T17:26:08.051Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d8/28/dbb024e2e3907f6f3052847ca7d1a2f7a3972fafcd53ff79018977fcb3e4/hf_xet-1.3.2-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:f93b7595f1d8fefddfede775c18b5c9256757824f7f6832930b49858483cd56f", size = 3763961 },
- { url = "https://files.pythonhosted.org/packages/e4/71/b99aed3823c9d1795e4865cf437d651097356a3f38c7d5877e4ac544b8e4/hf_xet-1.3.2-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:a85d3d43743174393afe27835bde0cd146e652b5fcfdbcd624602daef2ef3259", size = 3526171 },
- { url = "https://files.pythonhosted.org/packages/9d/ca/907890ce6ef5598b5920514f255ed0a65f558f820515b18db75a51b2f878/hf_xet-1.3.2-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7c2a054a97c44e136b1f7f5a78f12b3efffdf2eed3abc6746fc5ea4b39511633", size = 4180750 },
- { url = "https://files.pythonhosted.org/packages/8c/ad/bc7f41f87173d51d0bce497b171c4ee0cbde1eed2d7b4216db5d0ada9f50/hf_xet-1.3.2-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:06b724a361f670ae557836e57801b82c75b534812e351a87a2c739f77d1e0635", size = 3961035 },
- { url = "https://files.pythonhosted.org/packages/73/38/600f4dda40c4a33133404d9fe644f1d35ff2d9babb4d0435c646c63dd107/hf_xet-1.3.2-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:305f5489d7241a47e0458ef49334be02411d1d0f480846363c1c8084ed9916f7", size = 4161378 },
- { url = "https://files.pythonhosted.org/packages/00/b3/7bc1ff91d1ac18420b7ad1e169b618b27c00001b96310a89f8a9294fe509/hf_xet-1.3.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:06cdbde243c85f39a63b28e9034321399c507bcd5e7befdd17ed2ccc06dfe14e", size = 4398020 },
- { url = "https://files.pythonhosted.org/packages/2b/0b/99bfd948a3ed3620ab709276df3ad3710dcea61976918cce8706502927af/hf_xet-1.3.2-cp37-abi3-win_amd64.whl", hash = "sha256:9298b47cce6037b7045ae41482e703c471ce36b52e73e49f71226d2e8e5685a1", size = 3641624 },
- { url = "https://files.pythonhosted.org/packages/cc/02/9a6e4ca1f3f73a164c0cd48e41b3cc56585dcc37e809250de443d673266f/hf_xet-1.3.2-cp37-abi3-win_arm64.whl", hash = "sha256:83d8ec273136171431833a6957e8f3af496bee227a0fe47c7b8b39c106d1749a", size = 3503976 },
+ { url = "https://files.pythonhosted.org/packages/d8/28/dbb024e2e3907f6f3052847ca7d1a2f7a3972fafcd53ff79018977fcb3e4/hf_xet-1.3.2-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:f93b7595f1d8fefddfede775c18b5c9256757824f7f6832930b49858483cd56f", size = 3763961, upload-time = "2026-02-27T17:25:52.537Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/71/b99aed3823c9d1795e4865cf437d651097356a3f38c7d5877e4ac544b8e4/hf_xet-1.3.2-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:a85d3d43743174393afe27835bde0cd146e652b5fcfdbcd624602daef2ef3259", size = 3526171, upload-time = "2026-02-27T17:25:50.968Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/ca/907890ce6ef5598b5920514f255ed0a65f558f820515b18db75a51b2f878/hf_xet-1.3.2-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7c2a054a97c44e136b1f7f5a78f12b3efffdf2eed3abc6746fc5ea4b39511633", size = 4180750, upload-time = "2026-02-27T17:25:43.125Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/ad/bc7f41f87173d51d0bce497b171c4ee0cbde1eed2d7b4216db5d0ada9f50/hf_xet-1.3.2-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:06b724a361f670ae557836e57801b82c75b534812e351a87a2c739f77d1e0635", size = 3961035, upload-time = "2026-02-27T17:25:41.837Z" },
+ { url = "https://files.pythonhosted.org/packages/73/38/600f4dda40c4a33133404d9fe644f1d35ff2d9babb4d0435c646c63dd107/hf_xet-1.3.2-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:305f5489d7241a47e0458ef49334be02411d1d0f480846363c1c8084ed9916f7", size = 4161378, upload-time = "2026-02-27T17:26:00.365Z" },
+ { url = "https://files.pythonhosted.org/packages/00/b3/7bc1ff91d1ac18420b7ad1e169b618b27c00001b96310a89f8a9294fe509/hf_xet-1.3.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:06cdbde243c85f39a63b28e9034321399c507bcd5e7befdd17ed2ccc06dfe14e", size = 4398020, upload-time = "2026-02-27T17:26:03.977Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/0b/99bfd948a3ed3620ab709276df3ad3710dcea61976918cce8706502927af/hf_xet-1.3.2-cp37-abi3-win_amd64.whl", hash = "sha256:9298b47cce6037b7045ae41482e703c471ce36b52e73e49f71226d2e8e5685a1", size = 3641624, upload-time = "2026-02-27T17:26:13.542Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/02/9a6e4ca1f3f73a164c0cd48e41b3cc56585dcc37e809250de443d673266f/hf_xet-1.3.2-cp37-abi3-win_arm64.whl", hash = "sha256:83d8ec273136171431833a6957e8f3af496bee227a0fe47c7b8b39c106d1749a", size = 3503976, upload-time = "2026-02-27T17:26:12.123Z" },
]
[[package]]
name = "hpack"
version = "4.1.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/2c/48/71de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8/hpack-4.1.0.tar.gz", hash = "sha256:ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca", size = 51276 }
+sdist = { url = "https://files.pythonhosted.org/packages/2c/48/71de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8/hpack-4.1.0.tar.gz", hash = "sha256:ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca", size = 51276, upload-time = "2025-01-22T21:44:58.347Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/07/c6/80c95b1b2b94682a72cbdbfb85b81ae2daffa4291fbfa1b1464502ede10d/hpack-4.1.0-py3-none-any.whl", hash = "sha256:157ac792668d995c657d93111f46b4535ed114f0c9c8d672271bbec7eae1b496", size = 34357 },
+ { url = "https://files.pythonhosted.org/packages/07/c6/80c95b1b2b94682a72cbdbfb85b81ae2daffa4291fbfa1b1464502ede10d/hpack-4.1.0-py3-none-any.whl", hash = "sha256:157ac792668d995c657d93111f46b4535ed114f0c9c8d672271bbec7eae1b496", size = 34357, upload-time = "2025-01-22T21:44:56.92Z" },
]
[[package]]
@@ -1582,24 +1584,24 @@ dependencies = [
{ name = "certifi" },
{ name = "h11" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484 }
+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784 },
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
]
[[package]]
name = "httptools"
version = "0.7.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/b5/46/120a669232c7bdedb9d52d4aeae7e6c7dfe151e99dc70802e2fc7a5e1993/httptools-0.7.1.tar.gz", hash = "sha256:abd72556974f8e7c74a259655924a717a2365b236c882c3f6f8a45fe94703ac9", size = 258961 }
+sdist = { url = "https://files.pythonhosted.org/packages/b5/46/120a669232c7bdedb9d52d4aeae7e6c7dfe151e99dc70802e2fc7a5e1993/httptools-0.7.1.tar.gz", hash = "sha256:abd72556974f8e7c74a259655924a717a2365b236c882c3f6f8a45fe94703ac9", size = 258961, upload-time = "2025-10-10T03:55:08.559Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/53/7f/403e5d787dc4942316e515e949b0c8a013d84078a915910e9f391ba9b3ed/httptools-0.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:38e0c83a2ea9746ebbd643bdfb521b9aa4a91703e2cd705c20443405d2fd16a5", size = 206280 },
- { url = "https://files.pythonhosted.org/packages/2a/0d/7f3fd28e2ce311ccc998c388dd1c53b18120fda3b70ebb022b135dc9839b/httptools-0.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f25bbaf1235e27704f1a7b86cd3304eabc04f569c828101d94a0e605ef7205a5", size = 110004 },
- { url = "https://files.pythonhosted.org/packages/84/a6/b3965e1e146ef5762870bbe76117876ceba51a201e18cc31f5703e454596/httptools-0.7.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c15f37ef679ab9ecc06bfc4e6e8628c32a8e4b305459de7cf6785acd57e4d03", size = 517655 },
- { url = "https://files.pythonhosted.org/packages/11/7d/71fee6f1844e6fa378f2eddde6c3e41ce3a1fb4b2d81118dd544e3441ec0/httptools-0.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fe6e96090df46b36ccfaf746f03034e5ab723162bc51b0a4cf58305324036f2", size = 511440 },
- { url = "https://files.pythonhosted.org/packages/22/a5/079d216712a4f3ffa24af4a0381b108aa9c45b7a5cc6eb141f81726b1823/httptools-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f72fdbae2dbc6e68b8239defb48e6a5937b12218e6ffc2c7846cc37befa84362", size = 495186 },
- { url = "https://files.pythonhosted.org/packages/e9/9e/025ad7b65278745dee3bd0ebf9314934c4592560878308a6121f7f812084/httptools-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e99c7b90a29fd82fea9ef57943d501a16f3404d7b9ee81799d41639bdaae412c", size = 499192 },
- { url = "https://files.pythonhosted.org/packages/6d/de/40a8f202b987d43afc4d54689600ff03ce65680ede2f31df348d7f368b8f/httptools-0.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:3e14f530fefa7499334a79b0cf7e7cd2992870eb893526fb097d51b4f2d0f321", size = 86694 },
+ { url = "https://files.pythonhosted.org/packages/53/7f/403e5d787dc4942316e515e949b0c8a013d84078a915910e9f391ba9b3ed/httptools-0.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:38e0c83a2ea9746ebbd643bdfb521b9aa4a91703e2cd705c20443405d2fd16a5", size = 206280, upload-time = "2025-10-10T03:54:39.274Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/0d/7f3fd28e2ce311ccc998c388dd1c53b18120fda3b70ebb022b135dc9839b/httptools-0.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f25bbaf1235e27704f1a7b86cd3304eabc04f569c828101d94a0e605ef7205a5", size = 110004, upload-time = "2025-10-10T03:54:40.403Z" },
+ { url = "https://files.pythonhosted.org/packages/84/a6/b3965e1e146ef5762870bbe76117876ceba51a201e18cc31f5703e454596/httptools-0.7.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c15f37ef679ab9ecc06bfc4e6e8628c32a8e4b305459de7cf6785acd57e4d03", size = 517655, upload-time = "2025-10-10T03:54:41.347Z" },
+ { url = "https://files.pythonhosted.org/packages/11/7d/71fee6f1844e6fa378f2eddde6c3e41ce3a1fb4b2d81118dd544e3441ec0/httptools-0.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fe6e96090df46b36ccfaf746f03034e5ab723162bc51b0a4cf58305324036f2", size = 511440, upload-time = "2025-10-10T03:54:42.452Z" },
+ { url = "https://files.pythonhosted.org/packages/22/a5/079d216712a4f3ffa24af4a0381b108aa9c45b7a5cc6eb141f81726b1823/httptools-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f72fdbae2dbc6e68b8239defb48e6a5937b12218e6ffc2c7846cc37befa84362", size = 495186, upload-time = "2025-10-10T03:54:43.937Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/9e/025ad7b65278745dee3bd0ebf9314934c4592560878308a6121f7f812084/httptools-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e99c7b90a29fd82fea9ef57943d501a16f3404d7b9ee81799d41639bdaae412c", size = 499192, upload-time = "2025-10-10T03:54:45.003Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/de/40a8f202b987d43afc4d54689600ff03ce65680ede2f31df348d7f368b8f/httptools-0.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:3e14f530fefa7499334a79b0cf7e7cd2992870eb893526fb097d51b4f2d0f321", size = 86694, upload-time = "2025-10-10T03:54:45.923Z" },
]
[[package]]
@@ -1612,9 +1614,9 @@ dependencies = [
{ name = "httpcore" },
{ name = "idna" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406 }
+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517 },
+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
]
[package.optional-dependencies]
@@ -1626,18 +1628,18 @@ http2 = [
name = "httpx-sse"
version = "0.4.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/0f/4c/751061ffa58615a32c31b2d82e8482be8dd4a89154f003147acee90f2be9/httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d", size = 15943 }
+sdist = { url = "https://files.pythonhosted.org/packages/0f/4c/751061ffa58615a32c31b2d82e8482be8dd4a89154f003147acee90f2be9/httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d", size = 15943, upload-time = "2025-10-10T21:48:22.271Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960 },
+ { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960, upload-time = "2025-10-10T21:48:21.158Z" },
]
[[package]]
name = "huey"
version = "2.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/fe/29/3428d52eb8e85025e264a291641a9f9d6407cc1e51d1b630f6ac5815999a/huey-2.6.0.tar.gz", hash = "sha256:8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6", size = 221068 }
+sdist = { url = "https://files.pythonhosted.org/packages/fe/29/3428d52eb8e85025e264a291641a9f9d6407cc1e51d1b630f6ac5815999a/huey-2.6.0.tar.gz", hash = "sha256:8d11f8688999d65266af1425b831f6e3773e99415027177b8734b0ffd5e251f6", size = 221068, upload-time = "2026-01-06T03:01:02.055Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1a/34/fae9ac8f1c3a552fd3f7ff652b94c78d219dedc5fce0c0a4232457760a00/huey-2.6.0-py3-none-any.whl", hash = "sha256:1b9df9d370b49c6d5721ba8a01ac9a787cf86b3bdc584e4679de27b920395c3f", size = 76951 },
+ { url = "https://files.pythonhosted.org/packages/1a/34/fae9ac8f1c3a552fd3f7ff652b94c78d219dedc5fce0c0a4232457760a00/huey-2.6.0-py3-none-any.whl", hash = "sha256:1b9df9d370b49c6d5721ba8a01ac9a787cf86b3bdc584e4679de27b920395c3f", size = 76951, upload-time = "2026-01-06T03:01:00.808Z" },
]
[[package]]
@@ -1654,9 +1656,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7c/b7/8cb61d2eece5fb05a83271da168186721c450eb74e3c31f7ef3169fa475b/huggingface_hub-0.36.2.tar.gz", hash = "sha256:1934304d2fb224f8afa3b87007d58501acfda9215b334eed53072dd5e815ff7a", size = 649782 }
+sdist = { url = "https://files.pythonhosted.org/packages/7c/b7/8cb61d2eece5fb05a83271da168186721c450eb74e3c31f7ef3169fa475b/huggingface_hub-0.36.2.tar.gz", hash = "sha256:1934304d2fb224f8afa3b87007d58501acfda9215b334eed53072dd5e815ff7a", size = 649782, upload-time = "2026-02-06T09:24:13.098Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a8/af/48ac8483240de756d2438c380746e7130d1c6f75802ef22f3c6d49982787/huggingface_hub-0.36.2-py3-none-any.whl", hash = "sha256:48f0c8eac16145dfce371e9d2d7772854a4f591bcb56c9cf548accf531d54270", size = 566395 },
+ { url = "https://files.pythonhosted.org/packages/a8/af/48ac8483240de756d2438c380746e7130d1c6f75802ef22f3c6d49982787/huggingface_hub-0.36.2-py3-none-any.whl", hash = "sha256:48f0c8eac16145dfce371e9d2d7772854a4f591bcb56c9cf548accf531d54270", size = 566395, upload-time = "2026-02-06T09:24:11.133Z" },
]
[package.optional-dependencies]
@@ -1668,46 +1670,46 @@ hf-transfer = [
name = "hyperframe"
version = "6.1.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/02/e7/94f8232d4a74cc99514c13a9f995811485a6903d48e5d952771ef6322e30/hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08", size = 26566 }
+sdist = { url = "https://files.pythonhosted.org/packages/02/e7/94f8232d4a74cc99514c13a9f995811485a6903d48e5d952771ef6322e30/hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08", size = 26566, upload-time = "2025-01-22T21:41:49.302Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007 },
+ { url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007, upload-time = "2025-01-22T21:41:47.295Z" },
]
[[package]]
name = "identify"
version = "2.6.17"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/57/84/376a3b96e5a8d33a7aa2c5b3b31a4b3c364117184bf0b17418055f6ace66/identify-2.6.17.tar.gz", hash = "sha256:f816b0b596b204c9fdf076ded172322f2723cf958d02f9c3587504834c8ff04d", size = 99579 }
+sdist = { url = "https://files.pythonhosted.org/packages/57/84/376a3b96e5a8d33a7aa2c5b3b31a4b3c364117184bf0b17418055f6ace66/identify-2.6.17.tar.gz", hash = "sha256:f816b0b596b204c9fdf076ded172322f2723cf958d02f9c3587504834c8ff04d", size = 99579, upload-time = "2026-03-01T20:04:12.702Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/40/66/71c1227dff78aaeb942fed29dd5651f2aec166cc7c9aeea3e8b26a539b7d/identify-2.6.17-py2.py3-none-any.whl", hash = "sha256:be5f8412d5ed4b20f2bd41a65f920990bdccaa6a4a18a08f1eefdcd0bdd885f0", size = 99382 },
+ { url = "https://files.pythonhosted.org/packages/40/66/71c1227dff78aaeb942fed29dd5651f2aec166cc7c9aeea3e8b26a539b7d/identify-2.6.17-py2.py3-none-any.whl", hash = "sha256:be5f8412d5ed4b20f2bd41a65f920990bdccaa6a4a18a08f1eefdcd0bdd885f0", size = 99382, upload-time = "2026-03-01T20:04:11.439Z" },
]
[[package]]
name = "idna"
version = "3.11"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582 }
+sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008 },
+ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" },
]
[[package]]
name = "ijson"
version = "3.5.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f4/57/60d1a6a512f2f0508d0bc8b4f1cc5616fd3196619b66bd6a01f9155a1292/ijson-3.5.0.tar.gz", hash = "sha256:94688760720e3f5212731b3cb8d30267f9a045fb38fb3870254e7b9504246f31", size = 68658 }
+sdist = { url = "https://files.pythonhosted.org/packages/f4/57/60d1a6a512f2f0508d0bc8b4f1cc5616fd3196619b66bd6a01f9155a1292/ijson-3.5.0.tar.gz", hash = "sha256:94688760720e3f5212731b3cb8d30267f9a045fb38fb3870254e7b9504246f31", size = 68658, upload-time = "2026-02-24T03:58:30.974Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/aa/17/9c63c7688025f3a8c47ea717b8306649c8c7244e49e20a2be4e3515dc75c/ijson-3.5.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1ebefbe149a6106cc848a3eaf536af51a9b5ccc9082de801389f152dba6ab755", size = 88536 },
- { url = "https://files.pythonhosted.org/packages/6f/dd/e15c2400244c117b06585452ebc63ae254f5a6964f712306afd1422daae0/ijson-3.5.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:19e30d9f00f82e64de689c0b8651b9cfed879c184b139d7e1ea5030cec401c21", size = 60499 },
- { url = "https://files.pythonhosted.org/packages/77/a9/bf4fe3538a0c965f16b406f180a06105b875da83f0743e36246be64ef550/ijson-3.5.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a04a33ee78a6f27b9b8528c1ca3c207b1df3b8b867a4cf2fcc4109986f35c227", size = 60330 },
- { url = "https://files.pythonhosted.org/packages/31/76/6f91bdb019dd978fce1bc5ea1cd620cfc096d258126c91db2c03a20a7f34/ijson-3.5.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:7d48dc2984af02eb3c56edfb3f13b3f62f2f3e4fe36f058c8cfc75d93adf4fed", size = 138977 },
- { url = "https://files.pythonhosted.org/packages/11/be/bbc983059e48a54b0121ee60042979faed7674490bbe7b2c41560db3f436/ijson-3.5.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f1e73a44844d9adbca9cf2c4132cd875933e83f3d4b23881fcaf82be83644c7d", size = 149785 },
- { url = "https://files.pythonhosted.org/packages/6d/81/2fee58f9024a3449aee83edfa7167fb5ccd7e1af2557300e28531bb68e16/ijson-3.5.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7389a56b8562a19948bdf1d7bae3a2edc8c7f86fb59834dcb1c4c722818e645a", size = 149729 },
- { url = "https://files.pythonhosted.org/packages/c7/56/f1706761fcc096c9d414b3dcd000b1e6e5c24364c21cfba429837f98ee8d/ijson-3.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3176f23f8ebec83f374ed0c3b4e5a0c4db7ede54c005864efebbed46da123608", size = 150697 },
- { url = "https://files.pythonhosted.org/packages/d9/6e/ee0d9c875a0193b632b3e9ccd1b22a50685fb510256ad57ba483b6529f77/ijson-3.5.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6babd88e508630c6ef86c9bebaaf13bb2fb8ec1d8f8868773a03c20253f599bc", size = 142873 },
- { url = "https://files.pythonhosted.org/packages/d2/bf/f9d4399d0e6e3fd615035290a71e97c843f17f329b43638c0a01cf112d73/ijson-3.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:dc1b3836b174b6db2fa8319f1926fb5445abd195dc963368092103f8579cb8ed", size = 151583 },
- { url = "https://files.pythonhosted.org/packages/b2/71/a7254a065933c0e2ffd3586f46187d84830d3d7b6f41cfa5901820a4f87d/ijson-3.5.0-cp312-cp312-win32.whl", hash = "sha256:6673de9395fb9893c1c79a43becd8c8fbee0a250be6ea324bfd1487bb5e9ee4c", size = 53079 },
- { url = "https://files.pythonhosted.org/packages/8f/7b/2edca79b359fc9f95d774616867a03ecccdf333797baf5b3eea79733918c/ijson-3.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:f4f7fabd653459dcb004175235f310435959b1bb5dfa8878578391c6cc9ad944", size = 55500 },
+ { url = "https://files.pythonhosted.org/packages/aa/17/9c63c7688025f3a8c47ea717b8306649c8c7244e49e20a2be4e3515dc75c/ijson-3.5.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1ebefbe149a6106cc848a3eaf536af51a9b5ccc9082de801389f152dba6ab755", size = 88536, upload-time = "2026-02-24T03:57:06.809Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/dd/e15c2400244c117b06585452ebc63ae254f5a6964f712306afd1422daae0/ijson-3.5.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:19e30d9f00f82e64de689c0b8651b9cfed879c184b139d7e1ea5030cec401c21", size = 60499, upload-time = "2026-02-24T03:57:09.155Z" },
+ { url = "https://files.pythonhosted.org/packages/77/a9/bf4fe3538a0c965f16b406f180a06105b875da83f0743e36246be64ef550/ijson-3.5.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a04a33ee78a6f27b9b8528c1ca3c207b1df3b8b867a4cf2fcc4109986f35c227", size = 60330, upload-time = "2026-02-24T03:57:10.574Z" },
+ { url = "https://files.pythonhosted.org/packages/31/76/6f91bdb019dd978fce1bc5ea1cd620cfc096d258126c91db2c03a20a7f34/ijson-3.5.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:7d48dc2984af02eb3c56edfb3f13b3f62f2f3e4fe36f058c8cfc75d93adf4fed", size = 138977, upload-time = "2026-02-24T03:57:11.932Z" },
+ { url = "https://files.pythonhosted.org/packages/11/be/bbc983059e48a54b0121ee60042979faed7674490bbe7b2c41560db3f436/ijson-3.5.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f1e73a44844d9adbca9cf2c4132cd875933e83f3d4b23881fcaf82be83644c7d", size = 149785, upload-time = "2026-02-24T03:57:13.255Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/81/2fee58f9024a3449aee83edfa7167fb5ccd7e1af2557300e28531bb68e16/ijson-3.5.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7389a56b8562a19948bdf1d7bae3a2edc8c7f86fb59834dcb1c4c722818e645a", size = 149729, upload-time = "2026-02-24T03:57:14.191Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/56/f1706761fcc096c9d414b3dcd000b1e6e5c24364c21cfba429837f98ee8d/ijson-3.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3176f23f8ebec83f374ed0c3b4e5a0c4db7ede54c005864efebbed46da123608", size = 150697, upload-time = "2026-02-24T03:57:15.855Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/6e/ee0d9c875a0193b632b3e9ccd1b22a50685fb510256ad57ba483b6529f77/ijson-3.5.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6babd88e508630c6ef86c9bebaaf13bb2fb8ec1d8f8868773a03c20253f599bc", size = 142873, upload-time = "2026-02-24T03:57:16.831Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/bf/f9d4399d0e6e3fd615035290a71e97c843f17f329b43638c0a01cf112d73/ijson-3.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:dc1b3836b174b6db2fa8319f1926fb5445abd195dc963368092103f8579cb8ed", size = 151583, upload-time = "2026-02-24T03:57:17.757Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/71/a7254a065933c0e2ffd3586f46187d84830d3d7b6f41cfa5901820a4f87d/ijson-3.5.0-cp312-cp312-win32.whl", hash = "sha256:6673de9395fb9893c1c79a43becd8c8fbee0a250be6ea324bfd1487bb5e9ee4c", size = 53079, upload-time = "2026-02-24T03:57:18.703Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/7b/2edca79b359fc9f95d774616867a03ecccdf333797baf5b3eea79733918c/ijson-3.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:f4f7fabd653459dcb004175235f310435959b1bb5dfa8878578391c6cc9ad944", size = 55500, upload-time = "2026-02-24T03:57:20.428Z" },
]
[[package]]
@@ -1717,27 +1719,27 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "zipp" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107 }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107, upload-time = "2025-12-21T10:00:19.278Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865 },
+ { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865, upload-time = "2025-12-21T10:00:18.329Z" },
]
[[package]]
name = "importlib-resources"
version = "6.5.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/cf/8c/f834fbf984f691b4f7ff60f50b514cc3de5cc08abfc3295564dd89c5e2e7/importlib_resources-6.5.2.tar.gz", hash = "sha256:185f87adef5bcc288449d98fb4fba07cea78bc036455dd44c5fc4a2fe78fed2c", size = 44693 }
+sdist = { url = "https://files.pythonhosted.org/packages/cf/8c/f834fbf984f691b4f7ff60f50b514cc3de5cc08abfc3295564dd89c5e2e7/importlib_resources-6.5.2.tar.gz", hash = "sha256:185f87adef5bcc288449d98fb4fba07cea78bc036455dd44c5fc4a2fe78fed2c", size = 44693, upload-time = "2025-01-03T18:51:56.698Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a4/ed/1f1afb2e9e7f38a545d628f864d562a5ae64fe6f7a10e28ffb9b185b4e89/importlib_resources-6.5.2-py3-none-any.whl", hash = "sha256:789cfdc3ed28c78b67a06acb8126751ced69a3d5f79c095a98298cd8a760ccec", size = 37461 },
+ { url = "https://files.pythonhosted.org/packages/a4/ed/1f1afb2e9e7f38a545d628f864d562a5ae64fe6f7a10e28ffb9b185b4e89/importlib_resources-6.5.2-py3-none-any.whl", hash = "sha256:789cfdc3ed28c78b67a06acb8126751ced69a3d5f79c095a98298cd8a760ccec", size = 37461, upload-time = "2025-01-03T18:51:54.306Z" },
]
[[package]]
name = "iniconfig"
version = "2.3.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503 }
+sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484 },
+ { 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]]
@@ -1748,9 +1750,9 @@ dependencies = [
{ name = "lxml" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f4/5e/a4bb6ec32d790b31291dff330396dcfe08cac3ddda8480123708182f4d0f/inscriptis-2.7.1.tar.gz", hash = "sha256:16517bab88ac2c8f01d58748bf070256e8af7a3fac96d1e317b01371d04a3c6e", size = 1084802 }
+sdist = { url = "https://files.pythonhosted.org/packages/f4/5e/a4bb6ec32d790b31291dff330396dcfe08cac3ddda8480123708182f4d0f/inscriptis-2.7.1.tar.gz", hash = "sha256:16517bab88ac2c8f01d58748bf070256e8af7a3fac96d1e317b01371d04a3c6e", size = 1084802, upload-time = "2026-02-27T19:27:07.357Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/99/15/4ac989bf4019271fa688d9f95c7b01088958306b4fdc6929f9fa042a6e81/inscriptis-2.7.1-py3-none-any.whl", hash = "sha256:fd41d122e92b646527bca413e9e0270793d42c11fbe8045e388686199b6f30ca", size = 45588 },
+ { url = "https://files.pythonhosted.org/packages/99/15/4ac989bf4019271fa688d9f95c7b01088958306b4fdc6929f9fa042a6e81/inscriptis-2.7.1-py3-none-any.whl", hash = "sha256:fd41d122e92b646527bca413e9e0270793d42c11fbe8045e388686199b6f30ca", size = 45588, upload-time = "2026-02-27T19:27:09.306Z" },
]
[[package]]
@@ -1771,9 +1773,9 @@ dependencies = [
{ name = "tenacity" },
{ name = "typer" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0b/ef/986d059424db204ed57b29d8c07fda35de2a2c72dee8ea7994bc90a6f767/instructor-1.14.5.tar.gz", hash = "sha256:fcb6432867f2fe4a5986e8bf389dcc64ed2ad4039a12a2dff85464e51c2f171a", size = 69950754 }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/ef/986d059424db204ed57b29d8c07fda35de2a2c72dee8ea7994bc90a6f767/instructor-1.14.5.tar.gz", hash = "sha256:fcb6432867f2fe4a5986e8bf389dcc64ed2ad4039a12a2dff85464e51c2f171a", size = 69950754, upload-time = "2026-01-29T14:18:50.454Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/45/04/e442e1356c97b03a6d30d2b462f7c0bdfbf207e75f6833815fd1225a75b4/instructor-1.14.5-py3-none-any.whl", hash = "sha256:2a5a31222b008c0989be1cc001e33a237f49506e80ac5833f6d36d7690bae7b1", size = 177445 },
+ { url = "https://files.pythonhosted.org/packages/45/04/e442e1356c97b03a6d30d2b462f7c0bdfbf207e75f6833815fd1225a75b4/instructor-1.14.5-py3-none-any.whl", hash = "sha256:2a5a31222b008c0989be1cc001e33a237f49506e80ac5833f6d36d7690bae7b1", size = 177445, upload-time = "2026-01-29T14:18:53.641Z" },
]
[[package]]
@@ -1795,14 +1797,14 @@ dependencies = [
{ name = "tornado" },
{ name = "traitlets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ca/8d/b68b728e2d06b9e0051019640a40a9eb7a88fcd82c2e1b5ce70bef5ff044/ipykernel-7.2.0.tar.gz", hash = "sha256:18ed160b6dee2cbb16e5f3575858bc19d8f1fe6046a9a680c708494ce31d909e", size = 176046 }
+sdist = { url = "https://files.pythonhosted.org/packages/ca/8d/b68b728e2d06b9e0051019640a40a9eb7a88fcd82c2e1b5ce70bef5ff044/ipykernel-7.2.0.tar.gz", hash = "sha256:18ed160b6dee2cbb16e5f3575858bc19d8f1fe6046a9a680c708494ce31d909e", size = 176046, upload-time = "2026-02-06T16:43:27.403Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/82/b9/e73d5d9f405cba7706c539aa8b311b49d4c2f3d698d9c12f815231169c71/ipykernel-7.2.0-py3-none-any.whl", hash = "sha256:3bbd4420d2b3cc105cbdf3756bfc04500b1e52f090a90716851f3916c62e1661", size = 118788 },
+ { url = "https://files.pythonhosted.org/packages/82/b9/e73d5d9f405cba7706c539aa8b311b49d4c2f3d698d9c12f815231169c71/ipykernel-7.2.0-py3-none-any.whl", hash = "sha256:3bbd4420d2b3cc105cbdf3756bfc04500b1e52f090a90716851f3916c62e1661", size = 118788, upload-time = "2026-02-06T16:43:25.149Z" },
]
[[package]]
name = "ipython"
-version = "9.11.0"
+version = "9.12.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
@@ -1816,9 +1818,9 @@ dependencies = [
{ name = "stack-data" },
{ name = "traitlets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/86/28/a4698eda5a8928a45d6b693578b135b753e14fa1c2b36ee9441e69a45576/ipython-9.11.0.tar.gz", hash = "sha256:2a94bc4406b22ecc7e4cb95b98450f3ea493a76bec8896cda11b78d7752a6667", size = 4427354 }
+sdist = { url = "https://files.pythonhosted.org/packages/3a/73/7114f80a8f9cabdb13c27732dce24af945b2923dcab80723602f7c8bc2d8/ipython-9.12.0.tar.gz", hash = "sha256:01daa83f504b693ba523b5a407246cabde4eb4513285a3c6acaff11a66735ee4", size = 4428879, upload-time = "2026-03-27T09:42:45.312Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b2/90/45c72becc57158facc6a6404f663b77bbcea2519ca57f760e2879ae1315d/ipython-9.11.0-py3-none-any.whl", hash = "sha256:6922d5bcf944c6e525a76a0a304451b60a2b6f875e86656d8bc2dfda5d710e19", size = 624222 },
+ { url = "https://files.pythonhosted.org/packages/59/22/906c8108974c673ebef6356c506cebb6870d48cedea3c41e949e2dd556bb/ipython-9.12.0-py3-none-any.whl", hash = "sha256:0f2701e8ee86e117e37f50563205d36feaa259d2e08d4a6bc6b6d74b18ce128d", size = 625661, upload-time = "2026-03-27T09:42:42.831Z" },
]
[[package]]
@@ -1828,9 +1830,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pygments" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393 }
+sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393, upload-time = "2025-01-17T11:24:34.505Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074 },
+ { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074, upload-time = "2025-01-17T11:24:33.271Z" },
]
[[package]]
@@ -1854,18 +1856,18 @@ dependencies = [
{ name = "warc3-wet-clueweb09" },
{ name = "zlib-state" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/80/c6/f02811c51fec845ee87a10bb3675516a2d71935b203e5ddb80b7eb59b1da/ir_datasets-0.5.11.tar.gz", hash = "sha256:06c90af634ae5063c813286b35065debca1a974d26e136403d899f3ecd7ad463", size = 758463 }
+sdist = { url = "https://files.pythonhosted.org/packages/80/c6/f02811c51fec845ee87a10bb3675516a2d71935b203e5ddb80b7eb59b1da/ir_datasets-0.5.11.tar.gz", hash = "sha256:06c90af634ae5063c813286b35065debca1a974d26e136403d899f3ecd7ad463", size = 758463, upload-time = "2025-06-24T07:58:31.375Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/81/38/73fa582d6997362d9b4901b2a8ba1177b2d2896aa59ab8d069a3884e2e0d/ir_datasets-0.5.11-py3-none-any.whl", hash = "sha256:ae78549e5a7fa45e50462b7acb9f0765fc344fec6054108bf3dd063050555206", size = 866095 },
+ { url = "https://files.pythonhosted.org/packages/81/38/73fa582d6997362d9b4901b2a8ba1177b2d2896aa59ab8d069a3884e2e0d/ir_datasets-0.5.11-py3-none-any.whl", hash = "sha256:ae78549e5a7fa45e50462b7acb9f0765fc344fec6054108bf3dd063050555206", size = 866095, upload-time = "2025-06-24T07:58:29.958Z" },
]
[[package]]
name = "itsdangerous"
version = "2.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/9c/cb/8ac0172223afbccb63986cc25049b154ecfb5e85932587206f42317be31d/itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173", size = 54410 }
+sdist = { url = "https://files.pythonhosted.org/packages/9c/cb/8ac0172223afbccb63986cc25049b154ecfb5e85932587206f42317be31d/itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173", size = 54410, upload-time = "2024-04-16T21:28:15.614Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/04/96/92447566d16df59b2a776c0fb82dbc4d9e07cd95062562af01e408583fc4/itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef", size = 16234 },
+ { url = "https://files.pythonhosted.org/packages/04/96/92447566d16df59b2a776c0fb82dbc4d9e07cd95062562af01e408583fc4/itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef", size = 16234, upload-time = "2024-04-16T21:28:14.499Z" },
]
[[package]]
@@ -1875,9 +1877,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "parso" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/72/3a/79a912fbd4d8dd6fbb02bf69afd3bb72cf0c729bb3063c6f4498603db17a/jedi-0.19.2.tar.gz", hash = "sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0", size = 1231287 }
+sdist = { url = "https://files.pythonhosted.org/packages/72/3a/79a912fbd4d8dd6fbb02bf69afd3bb72cf0c729bb3063c6f4498603db17a/jedi-0.19.2.tar.gz", hash = "sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0", size = 1231287, upload-time = "2024-11-11T01:41:42.873Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c0/5a/9cac0c82afec3d09ccd97c8b6502d48f165f9124db81b4bcb90b4af974ee/jedi-0.19.2-py2.py3-none-any.whl", hash = "sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9", size = 1572278 },
+ { url = "https://files.pythonhosted.org/packages/c0/5a/9cac0c82afec3d09ccd97c8b6502d48f165f9124db81b4bcb90b4af974ee/jedi-0.19.2-py2.py3-none-any.whl", hash = "sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9", size = 1572278, upload-time = "2024-11-11T01:41:40.175Z" },
]
[[package]]
@@ -1887,66 +1889,70 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "markupsafe" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115 }
+sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899 },
+ { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" },
]
[[package]]
name = "jiter"
version = "0.11.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a3/68/0357982493a7b20925aece061f7fb7a2678e3b232f8d73a6edb7e5304443/jiter-0.11.1.tar.gz", hash = "sha256:849dcfc76481c0ea0099391235b7ca97d7279e0fa4c86005457ac7c88e8b76dc", size = 168385 }
+sdist = { url = "https://files.pythonhosted.org/packages/a3/68/0357982493a7b20925aece061f7fb7a2678e3b232f8d73a6edb7e5304443/jiter-0.11.1.tar.gz", hash = "sha256:849dcfc76481c0ea0099391235b7ca97d7279e0fa4c86005457ac7c88e8b76dc", size = 168385, upload-time = "2025-10-17T11:31:15.186Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/15/8b/318e8af2c904a9d29af91f78c1e18f0592e189bbdb8a462902d31fe20682/jiter-0.11.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:c92148eec91052538ce6823dfca9525f5cfc8b622d7f07e9891a280f61b8c96c", size = 305655 },
- { url = "https://files.pythonhosted.org/packages/f7/29/6c7de6b5d6e511d9e736312c0c9bfcee8f9b6bef68182a08b1d78767e627/jiter-0.11.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ecd4da91b5415f183a6be8f7158d127bdd9e6a3174138293c0d48d6ea2f2009d", size = 315645 },
- { url = "https://files.pythonhosted.org/packages/ac/5f/ef9e5675511ee0eb7f98dd8c90509e1f7743dbb7c350071acae87b0145f3/jiter-0.11.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7e3ac25c00b9275684d47aa42febaa90a9958e19fd1726c4ecf755fbe5e553b", size = 348003 },
- { url = "https://files.pythonhosted.org/packages/56/1b/abe8c4021010b0a320d3c62682769b700fb66f92c6db02d1a1381b3db025/jiter-0.11.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:57d7305c0a841858f866cd459cd9303f73883fb5e097257f3d4a3920722c69d4", size = 365122 },
- { url = "https://files.pythonhosted.org/packages/2a/2d/4a18013939a4f24432f805fbd5a19893e64650b933edb057cd405275a538/jiter-0.11.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e86fa10e117dce22c547f31dd6d2a9a222707d54853d8de4e9a2279d2c97f239", size = 488360 },
- { url = "https://files.pythonhosted.org/packages/f0/77/38124f5d02ac4131f0dfbcfd1a19a0fac305fa2c005bc4f9f0736914a1a4/jiter-0.11.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ae5ef1d48aec7e01ee8420155d901bb1d192998fa811a65ebb82c043ee186711", size = 376884 },
- { url = "https://files.pythonhosted.org/packages/7b/43/59fdc2f6267959b71dd23ce0bd8d4aeaf55566aa435a5d00f53d53c7eb24/jiter-0.11.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eb68e7bf65c990531ad8715e57d50195daf7c8e6f1509e617b4e692af1108939", size = 358827 },
- { url = "https://files.pythonhosted.org/packages/7d/d0/b3cc20ff5340775ea3bbaa0d665518eddecd4266ba7244c9cb480c0c82ec/jiter-0.11.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:43b30c8154ded5845fa454ef954ee67bfccce629b2dea7d01f795b42bc2bda54", size = 385171 },
- { url = "https://files.pythonhosted.org/packages/d2/bc/94dd1f3a61f4dc236f787a097360ec061ceeebebf4ea120b924d91391b10/jiter-0.11.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:586cafbd9dd1f3ce6a22b4a085eaa6be578e47ba9b18e198d4333e598a91db2d", size = 518359 },
- { url = "https://files.pythonhosted.org/packages/7e/8c/12ee132bd67e25c75f542c227f5762491b9a316b0dad8e929c95076f773c/jiter-0.11.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:677cc2517d437a83bb30019fd4cf7cad74b465914c56ecac3440d597ac135250", size = 509205 },
- { url = "https://files.pythonhosted.org/packages/39/d5/9de848928ce341d463c7e7273fce90ea6d0ea4343cd761f451860fa16b59/jiter-0.11.1-cp312-cp312-win32.whl", hash = "sha256:fa992af648fcee2b850a3286a35f62bbbaeddbb6dbda19a00d8fbc846a947b6e", size = 205448 },
- { url = "https://files.pythonhosted.org/packages/ee/b0/8002d78637e05009f5e3fb5288f9d57d65715c33b5d6aa20fd57670feef5/jiter-0.11.1-cp312-cp312-win_amd64.whl", hash = "sha256:88b5cae9fa51efeb3d4bd4e52bfd4c85ccc9cac44282e2a9640893a042ba4d87", size = 204285 },
- { url = "https://files.pythonhosted.org/packages/9f/a2/bb24d5587e4dff17ff796716542f663deee337358006a80c8af43ddc11e5/jiter-0.11.1-cp312-cp312-win_arm64.whl", hash = "sha256:9a6cae1ab335551917f882f2c3c1efe7617b71b4c02381e4382a8fc80a02588c", size = 188712 },
+ { url = "https://files.pythonhosted.org/packages/15/8b/318e8af2c904a9d29af91f78c1e18f0592e189bbdb8a462902d31fe20682/jiter-0.11.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:c92148eec91052538ce6823dfca9525f5cfc8b622d7f07e9891a280f61b8c96c", size = 305655, upload-time = "2025-10-17T11:29:18.859Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/29/6c7de6b5d6e511d9e736312c0c9bfcee8f9b6bef68182a08b1d78767e627/jiter-0.11.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ecd4da91b5415f183a6be8f7158d127bdd9e6a3174138293c0d48d6ea2f2009d", size = 315645, upload-time = "2025-10-17T11:29:20.889Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/5f/ef9e5675511ee0eb7f98dd8c90509e1f7743dbb7c350071acae87b0145f3/jiter-0.11.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7e3ac25c00b9275684d47aa42febaa90a9958e19fd1726c4ecf755fbe5e553b", size = 348003, upload-time = "2025-10-17T11:29:22.712Z" },
+ { url = "https://files.pythonhosted.org/packages/56/1b/abe8c4021010b0a320d3c62682769b700fb66f92c6db02d1a1381b3db025/jiter-0.11.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:57d7305c0a841858f866cd459cd9303f73883fb5e097257f3d4a3920722c69d4", size = 365122, upload-time = "2025-10-17T11:29:24.408Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/2d/4a18013939a4f24432f805fbd5a19893e64650b933edb057cd405275a538/jiter-0.11.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e86fa10e117dce22c547f31dd6d2a9a222707d54853d8de4e9a2279d2c97f239", size = 488360, upload-time = "2025-10-17T11:29:25.724Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/77/38124f5d02ac4131f0dfbcfd1a19a0fac305fa2c005bc4f9f0736914a1a4/jiter-0.11.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ae5ef1d48aec7e01ee8420155d901bb1d192998fa811a65ebb82c043ee186711", size = 376884, upload-time = "2025-10-17T11:29:27.056Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/43/59fdc2f6267959b71dd23ce0bd8d4aeaf55566aa435a5d00f53d53c7eb24/jiter-0.11.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eb68e7bf65c990531ad8715e57d50195daf7c8e6f1509e617b4e692af1108939", size = 358827, upload-time = "2025-10-17T11:29:28.698Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/d0/b3cc20ff5340775ea3bbaa0d665518eddecd4266ba7244c9cb480c0c82ec/jiter-0.11.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:43b30c8154ded5845fa454ef954ee67bfccce629b2dea7d01f795b42bc2bda54", size = 385171, upload-time = "2025-10-17T11:29:30.078Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/bc/94dd1f3a61f4dc236f787a097360ec061ceeebebf4ea120b924d91391b10/jiter-0.11.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:586cafbd9dd1f3ce6a22b4a085eaa6be578e47ba9b18e198d4333e598a91db2d", size = 518359, upload-time = "2025-10-17T11:29:31.464Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/8c/12ee132bd67e25c75f542c227f5762491b9a316b0dad8e929c95076f773c/jiter-0.11.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:677cc2517d437a83bb30019fd4cf7cad74b465914c56ecac3440d597ac135250", size = 509205, upload-time = "2025-10-17T11:29:32.895Z" },
+ { url = "https://files.pythonhosted.org/packages/39/d5/9de848928ce341d463c7e7273fce90ea6d0ea4343cd761f451860fa16b59/jiter-0.11.1-cp312-cp312-win32.whl", hash = "sha256:fa992af648fcee2b850a3286a35f62bbbaeddbb6dbda19a00d8fbc846a947b6e", size = 205448, upload-time = "2025-10-17T11:29:34.217Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/b0/8002d78637e05009f5e3fb5288f9d57d65715c33b5d6aa20fd57670feef5/jiter-0.11.1-cp312-cp312-win_amd64.whl", hash = "sha256:88b5cae9fa51efeb3d4bd4e52bfd4c85ccc9cac44282e2a9640893a042ba4d87", size = 204285, upload-time = "2025-10-17T11:29:35.446Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/a2/bb24d5587e4dff17ff796716542f663deee337358006a80c8af43ddc11e5/jiter-0.11.1-cp312-cp312-win_arm64.whl", hash = "sha256:9a6cae1ab335551917f882f2c3c1efe7617b71b4c02381e4382a8fc80a02588c", size = 188712, upload-time = "2025-10-17T11:29:37.027Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/bc/950dd7f170c6394b6fdd73f989d9e729bd98907bcc4430ef080a72d06b77/jiter-0.11.1-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:0d4d6993edc83cf75e8c6828a8d6ce40a09ee87e38c7bfba6924f39e1337e21d", size = 302626, upload-time = "2025-10-17T11:31:09.645Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/65/43d7971ca82ee100b7b9b520573eeef7eabc0a45d490168ebb9a9b5bb8b2/jiter-0.11.1-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:f78d151c83a87a6cf5461d5ee55bc730dd9ae227377ac6f115b922989b95f838", size = 297034, upload-time = "2025-10-17T11:31:10.975Z" },
+ { url = "https://files.pythonhosted.org/packages/19/4c/000e1e0c0c67e96557a279f8969487ea2732d6c7311698819f977abae837/jiter-0.11.1-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9022974781155cd5521d5cb10997a03ee5e31e8454c9d999dcdccd253f2353f", size = 337328, upload-time = "2025-10-17T11:31:12.399Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/71/71408b02c6133153336d29fa3ba53000f1e1a3f78bb2fc2d1a1865d2e743/jiter-0.11.1-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18c77aaa9117510d5bdc6a946baf21b1f0cfa58ef04d31c8d016f206f2118960", size = 343697, upload-time = "2025-10-17T11:31:13.773Z" },
]
[[package]]
name = "jmespath"
version = "1.1.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d3/59/322338183ecda247fb5d1763a6cbe46eff7222eaeebafd9fa65d4bf5cb11/jmespath-1.1.0.tar.gz", hash = "sha256:472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d", size = 27377 }
+sdist = { url = "https://files.pythonhosted.org/packages/d3/59/322338183ecda247fb5d1763a6cbe46eff7222eaeebafd9fa65d4bf5cb11/jmespath-1.1.0.tar.gz", hash = "sha256:472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d", size = 27377, upload-time = "2026-01-22T16:35:26.279Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/14/2f/967ba146e6d58cf6a652da73885f52fc68001525b4197effc174321d70b4/jmespath-1.1.0-py3-none-any.whl", hash = "sha256:a5663118de4908c91729bea0acadca56526eb2698e83de10cd116ae0f4e97c64", size = 20419 },
+ { url = "https://files.pythonhosted.org/packages/14/2f/967ba146e6d58cf6a652da73885f52fc68001525b4197effc174321d70b4/jmespath-1.1.0-py3-none-any.whl", hash = "sha256:a5663118de4908c91729bea0acadca56526eb2698e83de10cd116ae0f4e97c64", size = 20419, upload-time = "2026-01-22T16:35:24.919Z" },
]
[[package]]
name = "joblib"
version = "1.5.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/41/f2/d34e8b3a08a9cc79a50b2208a93dce981fe615b64d5a4d4abee421d898df/joblib-1.5.3.tar.gz", hash = "sha256:8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3", size = 331603 }
+sdist = { url = "https://files.pythonhosted.org/packages/41/f2/d34e8b3a08a9cc79a50b2208a93dce981fe615b64d5a4d4abee421d898df/joblib-1.5.3.tar.gz", hash = "sha256:8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3", size = 331603, upload-time = "2025-12-15T08:41:46.427Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7b/91/984aca2ec129e2757d1e4e3c81c3fcda9d0f85b74670a094cc443d9ee949/joblib-1.5.3-py3-none-any.whl", hash = "sha256:5fc3c5039fc5ca8c0276333a188bbd59d6b7ab37fe6632daa76bc7f9ec18e713", size = 309071 },
+ { url = "https://files.pythonhosted.org/packages/7b/91/984aca2ec129e2757d1e4e3c81c3fcda9d0f85b74670a094cc443d9ee949/joblib-1.5.3-py3-none-any.whl", hash = "sha256:5fc3c5039fc5ca8c0276333a188bbd59d6b7ab37fe6632daa76bc7f9ec18e713", size = 309071, upload-time = "2025-12-15T08:41:44.973Z" },
]
[[package]]
name = "json-repair"
version = "0.25.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/66/cb/50b0bbc3e504ef875aea0062cdc108077e4923fb8c1209c70c80dc043933/json_repair-0.25.2.tar.gz", hash = "sha256:161a56d7e6bbfd4cad3a614087e3e0dbd0e10d402dd20dc7db418432428cb32b", size = 20458 }
+sdist = { url = "https://files.pythonhosted.org/packages/66/cb/50b0bbc3e504ef875aea0062cdc108077e4923fb8c1209c70c80dc043933/json_repair-0.25.2.tar.gz", hash = "sha256:161a56d7e6bbfd4cad3a614087e3e0dbd0e10d402dd20dc7db418432428cb32b", size = 20458, upload-time = "2024-06-27T16:26:15.492Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/aa/43/ac6691c7b5aa7191c964a04ae926d2bb06d9297dba1f2287df5b85cb3715/json_repair-0.25.2-py3-none-any.whl", hash = "sha256:51d67295c3184b6c41a3572689661c6128cef6cfc9fb04db63130709adfc5bf0", size = 12740 },
+ { url = "https://files.pythonhosted.org/packages/aa/43/ac6691c7b5aa7191c964a04ae926d2bb06d9297dba1f2287df5b85cb3715/json_repair-0.25.2-py3-none-any.whl", hash = "sha256:51d67295c3184b6c41a3572689661c6128cef6cfc9fb04db63130709adfc5bf0", size = 12740, upload-time = "2024-06-27T16:26:13.823Z" },
]
[[package]]
name = "json5"
version = "0.13.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/77/e8/a3f261a66e4663f22700bc8a17c08cb83e91fbf086726e7a228398968981/json5-0.13.0.tar.gz", hash = "sha256:b1edf8d487721c0bf64d83c28e91280781f6e21f4a797d3261c7c828d4c165bf", size = 52441 }
+sdist = { url = "https://files.pythonhosted.org/packages/77/e8/a3f261a66e4663f22700bc8a17c08cb83e91fbf086726e7a228398968981/json5-0.13.0.tar.gz", hash = "sha256:b1edf8d487721c0bf64d83c28e91280781f6e21f4a797d3261c7c828d4c165bf", size = 52441, upload-time = "2026-01-01T19:42:14.99Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d7/9e/038522f50ceb7e74f1f991bf1b699f24b0c2bbe7c390dd36ad69f4582258/json5-0.13.0-py3-none-any.whl", hash = "sha256:9a08e1dd65f6a4d4c6fa82d216cf2477349ec2346a38fd70cc11d2557499fbcc", size = 36163 },
+ { url = "https://files.pythonhosted.org/packages/d7/9e/038522f50ceb7e74f1f991bf1b699f24b0c2bbe7c390dd36ad69f4582258/json5-0.13.0-py3-none-any.whl", hash = "sha256:9a08e1dd65f6a4d4c6fa82d216cf2477349ec2346a38fd70cc11d2557499fbcc", size = 36163, upload-time = "2026-01-01T19:42:13.962Z" },
]
[[package]]
@@ -1956,27 +1962,27 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "jsonpointer" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699 }
+sdist = { url = "https://files.pythonhosted.org/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699, upload-time = "2023-06-26T12:07:29.144Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898 },
+ { url = "https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898, upload-time = "2023-06-16T21:01:28.466Z" },
]
[[package]]
name = "jsonpointer"
version = "3.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/6a/0a/eebeb1fa92507ea94016a2a790b93c2ae41a7e18778f85471dc54475ed25/jsonpointer-3.0.0.tar.gz", hash = "sha256:2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef", size = 9114 }
+sdist = { url = "https://files.pythonhosted.org/packages/6a/0a/eebeb1fa92507ea94016a2a790b93c2ae41a7e18778f85471dc54475ed25/jsonpointer-3.0.0.tar.gz", hash = "sha256:2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef", size = 9114, upload-time = "2024-06-10T19:24:42.462Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/71/92/5e77f98553e9e75130c78900d000368476aed74276eb8ae8796f65f00918/jsonpointer-3.0.0-py2.py3-none-any.whl", hash = "sha256:13e088adc14fca8b6aa8177c044e12701e6ad4b28ff10e65f2267a90109c9942", size = 7595 },
+ { url = "https://files.pythonhosted.org/packages/71/92/5e77f98553e9e75130c78900d000368476aed74276eb8ae8796f65f00918/jsonpointer-3.0.0-py2.py3-none-any.whl", hash = "sha256:13e088adc14fca8b6aa8177c044e12701e6ad4b28ff10e65f2267a90109c9942", size = 7595, upload-time = "2024-06-10T19:24:40.698Z" },
]
[[package]]
name = "jsonref"
version = "1.1.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/aa/0d/c1f3277e90ccdb50d33ed5ba1ec5b3f0a242ed8c1b1a85d3afeb68464dca/jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552", size = 8814 }
+sdist = { url = "https://files.pythonhosted.org/packages/aa/0d/c1f3277e90ccdb50d33ed5ba1ec5b3f0a242ed8c1b1a85d3afeb68464dca/jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552", size = 8814, upload-time = "2023-01-16T16:10:04.455Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0c/ec/e1db9922bceb168197a558a2b8c03a7963f1afe93517ddd3cf99f202f996/jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9", size = 9425 },
+ { url = "https://files.pythonhosted.org/packages/0c/ec/e1db9922bceb168197a558a2b8c03a7963f1afe93517ddd3cf99f202f996/jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9", size = 9425, upload-time = "2023-01-16T16:10:02.255Z" },
]
[[package]]
@@ -1989,9 +1995,9 @@ dependencies = [
{ name = "referencing" },
{ name = "rpds-py" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583 }
+sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630 },
+ { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" },
]
[[package]]
@@ -2001,9 +2007,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "referencing" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855 }
+sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437 },
+ { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" },
]
[[package]]
@@ -2017,9 +2023,9 @@ dependencies = [
{ name = "tornado" },
{ name = "traitlets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/05/e4/ba649102a3bc3fbca54e7239fb924fd434c766f855693d86de0b1f2bec81/jupyter_client-8.8.0.tar.gz", hash = "sha256:d556811419a4f2d96c869af34e854e3f059b7cc2d6d01a9cd9c85c267691be3e", size = 348020 }
+sdist = { url = "https://files.pythonhosted.org/packages/05/e4/ba649102a3bc3fbca54e7239fb924fd434c766f855693d86de0b1f2bec81/jupyter_client-8.8.0.tar.gz", hash = "sha256:d556811419a4f2d96c869af34e854e3f059b7cc2d6d01a9cd9c85c267691be3e", size = 348020, upload-time = "2026-01-08T13:55:47.938Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2d/0b/ceb7694d864abc0a047649aec263878acb9f792e1fec3e676f22dc9015e3/jupyter_client-8.8.0-py3-none-any.whl", hash = "sha256:f93a5b99c5e23a507b773d3a1136bd6e16c67883ccdbd9a829b0bbdb98cd7d7a", size = 107371 },
+ { url = "https://files.pythonhosted.org/packages/2d/0b/ceb7694d864abc0a047649aec263878acb9f792e1fec3e676f22dc9015e3/jupyter_client-8.8.0-py3-none-any.whl", hash = "sha256:f93a5b99c5e23a507b773d3a1136bd6e16c67883ccdbd9a829b0bbdb98cd7d7a", size = 107371, upload-time = "2026-01-08T13:55:45.562Z" },
]
[[package]]
@@ -2030,32 +2036,36 @@ dependencies = [
{ name = "platformdirs" },
{ name = "traitlets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/02/49/9d1284d0dc65e2c757b74c6687b6d319b02f822ad039e5c512df9194d9dd/jupyter_core-5.9.1.tar.gz", hash = "sha256:4d09aaff303b9566c3ce657f580bd089ff5c91f5f89cf7d8846c3cdf465b5508", size = 89814 }
+sdist = { url = "https://files.pythonhosted.org/packages/02/49/9d1284d0dc65e2c757b74c6687b6d319b02f822ad039e5c512df9194d9dd/jupyter_core-5.9.1.tar.gz", hash = "sha256:4d09aaff303b9566c3ce657f580bd089ff5c91f5f89cf7d8846c3cdf465b5508", size = 89814, upload-time = "2025-10-16T19:19:18.444Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032 },
+ { url = "https://files.pythonhosted.org/packages/e7/e7/80988e32bf6f73919a113473a604f5a8f09094de312b9d52b79c2df7612b/jupyter_core-5.9.1-py3-none-any.whl", hash = "sha256:ebf87fdc6073d142e114c72c9e29a9d7ca03fad818c5d300ce2adc1fb0743407", size = 29032, upload-time = "2025-10-16T19:19:16.783Z" },
]
[[package]]
name = "kiwisolver"
version = "1.5.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d0/67/9c61eccb13f0bdca9307614e782fec49ffdde0f7a2314935d489fa93cd9c/kiwisolver-1.5.0.tar.gz", hash = "sha256:d4193f3d9dc3f6f79aaed0e5637f45d98850ebf01f7ca20e69457f3e8946b66a", size = 103482 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/4d/b2/818b74ebea34dabe6d0c51cb1c572e046730e64844da6ed646d5298c40ce/kiwisolver-1.5.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:4e9750bc21b886308024f8a54ccb9a2cc38ac9fa813bf4348434e3d54f337ff9", size = 123158 },
- { url = "https://files.pythonhosted.org/packages/bf/d9/405320f8077e8e1c5c4bd6adc45e1e6edf6d727b6da7f2e2533cf58bff71/kiwisolver-1.5.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:72ec46b7eba5b395e0a7b63025490d3214c11013f4aacb4f5e8d6c3041829588", size = 66388 },
- { url = "https://files.pythonhosted.org/packages/99/9f/795fedf35634f746151ca8839d05681ceb6287fbed6cc1c9bf235f7887c2/kiwisolver-1.5.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ed3a984b31da7481b103f68776f7128a89ef26ed40f4dc41a2223cda7fb24819", size = 64068 },
- { url = "https://files.pythonhosted.org/packages/c4/13/680c54afe3e65767bed7ec1a15571e1a2f1257128733851ade24abcefbcc/kiwisolver-1.5.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bb5136fb5352d3f422df33f0c879a1b0c204004324150cc3b5e3c4f310c9049f", size = 1477934 },
- { url = "https://files.pythonhosted.org/packages/c8/2f/cebfcdb60fd6a9b0f6b47a9337198bcbad6fbe15e68189b7011fd914911f/kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b2af221f268f5af85e776a73d62b0845fc8baf8ef0abfae79d29c77d0e776aaf", size = 1278537 },
- { url = "https://files.pythonhosted.org/packages/f2/0d/9b782923aada3fafb1d6b84e13121954515c669b18af0c26e7d21f579855/kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b0f172dc8ffaccb8522d7c5d899de00133f2f1ca7b0a49b7da98e901de87bf2d", size = 1296685 },
- { url = "https://files.pythonhosted.org/packages/27/70/83241b6634b04fe44e892688d5208332bde130f38e610c0418f9ede47ded/kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6ab8ba9152203feec73758dad83af9a0bbe05001eb4639e547207c40cfb52083", size = 1346024 },
- { url = "https://files.pythonhosted.org/packages/e4/db/30ed226fb271ae1a6431fc0fe0edffb2efe23cadb01e798caeb9f2ceae8f/kiwisolver-1.5.0-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:cdee07c4d7f6d72008d3f73b9bf027f4e11550224c7c50d8df1ae4a37c1402a6", size = 987241 },
- { url = "https://files.pythonhosted.org/packages/ec/bd/c314595208e4c9587652d50959ead9e461995389664e490f4dce7ff0f782/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:7c60d3c9b06fb23bd9c6139281ccbdc384297579ae037f08ae90c69f6845c0b1", size = 2227742 },
- { url = "https://files.pythonhosted.org/packages/c1/43/0499cec932d935229b5543d073c2b87c9c22846aab48881e9d8d6e742a2d/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:e315e5ec90d88e140f57696ff85b484ff68bb311e36f2c414aa4286293e6dee0", size = 2323966 },
- { url = "https://files.pythonhosted.org/packages/3d/6f/79b0d760907965acfd9d61826a3d41f8f093c538f55cd2633d3f0db269f6/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:1465387ac63576c3e125e5337a6892b9e99e0627d52317f3ca79e6930d889d15", size = 1977417 },
- { url = "https://files.pythonhosted.org/packages/ab/31/01d0537c41cb75a551a438c3c7a80d0c60d60b81f694dac83dd436aec0d0/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:530a3fd64c87cffa844d4b6b9768774763d9caa299e9b75d8eca6a4423b31314", size = 2491238 },
- { url = "https://files.pythonhosted.org/packages/e4/34/8aefdd0be9cfd00a44509251ba864f5caf2991e36772e61c408007e7f417/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1d9daea4ea6b9be74fe2f01f7fbade8d6ffab263e781274cffca0dba9be9eec9", size = 2294947 },
- { url = "https://files.pythonhosted.org/packages/ad/cf/0348374369ca588f8fe9c338fae49fa4e16eeb10ffb3d012f23a54578a9e/kiwisolver-1.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:f18c2d9782259a6dc132fdc7a63c168cbc74b35284b6d75c673958982a378384", size = 73569 },
- { url = "https://files.pythonhosted.org/packages/28/26/192b26196e2316e2bd29deef67e37cdf9870d9af8e085e521afff0fed526/kiwisolver-1.5.0-cp312-cp312-win_arm64.whl", hash = "sha256:f7c7553b13f69c1b29a5bde08ddc6d9d0c8bfb84f9ed01c30db25944aeb852a7", size = 64997 },
+sdist = { url = "https://files.pythonhosted.org/packages/d0/67/9c61eccb13f0bdca9307614e782fec49ffdde0f7a2314935d489fa93cd9c/kiwisolver-1.5.0.tar.gz", hash = "sha256:d4193f3d9dc3f6f79aaed0e5637f45d98850ebf01f7ca20e69457f3e8946b66a", size = 103482, upload-time = "2026-03-09T13:15:53.382Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4d/b2/818b74ebea34dabe6d0c51cb1c572e046730e64844da6ed646d5298c40ce/kiwisolver-1.5.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:4e9750bc21b886308024f8a54ccb9a2cc38ac9fa813bf4348434e3d54f337ff9", size = 123158, upload-time = "2026-03-09T13:13:23.127Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/d9/405320f8077e8e1c5c4bd6adc45e1e6edf6d727b6da7f2e2533cf58bff71/kiwisolver-1.5.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:72ec46b7eba5b395e0a7b63025490d3214c11013f4aacb4f5e8d6c3041829588", size = 66388, upload-time = "2026-03-09T13:13:24.765Z" },
+ { url = "https://files.pythonhosted.org/packages/99/9f/795fedf35634f746151ca8839d05681ceb6287fbed6cc1c9bf235f7887c2/kiwisolver-1.5.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ed3a984b31da7481b103f68776f7128a89ef26ed40f4dc41a2223cda7fb24819", size = 64068, upload-time = "2026-03-09T13:13:25.878Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/13/680c54afe3e65767bed7ec1a15571e1a2f1257128733851ade24abcefbcc/kiwisolver-1.5.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bb5136fb5352d3f422df33f0c879a1b0c204004324150cc3b5e3c4f310c9049f", size = 1477934, upload-time = "2026-03-09T13:13:27.166Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/2f/cebfcdb60fd6a9b0f6b47a9337198bcbad6fbe15e68189b7011fd914911f/kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b2af221f268f5af85e776a73d62b0845fc8baf8ef0abfae79d29c77d0e776aaf", size = 1278537, upload-time = "2026-03-09T13:13:28.707Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/0d/9b782923aada3fafb1d6b84e13121954515c669b18af0c26e7d21f579855/kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b0f172dc8ffaccb8522d7c5d899de00133f2f1ca7b0a49b7da98e901de87bf2d", size = 1296685, upload-time = "2026-03-09T13:13:30.528Z" },
+ { url = "https://files.pythonhosted.org/packages/27/70/83241b6634b04fe44e892688d5208332bde130f38e610c0418f9ede47ded/kiwisolver-1.5.0-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6ab8ba9152203feec73758dad83af9a0bbe05001eb4639e547207c40cfb52083", size = 1346024, upload-time = "2026-03-09T13:13:32.818Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/db/30ed226fb271ae1a6431fc0fe0edffb2efe23cadb01e798caeb9f2ceae8f/kiwisolver-1.5.0-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:cdee07c4d7f6d72008d3f73b9bf027f4e11550224c7c50d8df1ae4a37c1402a6", size = 987241, upload-time = "2026-03-09T13:13:34.435Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/bd/c314595208e4c9587652d50959ead9e461995389664e490f4dce7ff0f782/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:7c60d3c9b06fb23bd9c6139281ccbdc384297579ae037f08ae90c69f6845c0b1", size = 2227742, upload-time = "2026-03-09T13:13:36.4Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/43/0499cec932d935229b5543d073c2b87c9c22846aab48881e9d8d6e742a2d/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:e315e5ec90d88e140f57696ff85b484ff68bb311e36f2c414aa4286293e6dee0", size = 2323966, upload-time = "2026-03-09T13:13:38.204Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/6f/79b0d760907965acfd9d61826a3d41f8f093c538f55cd2633d3f0db269f6/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:1465387ac63576c3e125e5337a6892b9e99e0627d52317f3ca79e6930d889d15", size = 1977417, upload-time = "2026-03-09T13:13:39.966Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/31/01d0537c41cb75a551a438c3c7a80d0c60d60b81f694dac83dd436aec0d0/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:530a3fd64c87cffa844d4b6b9768774763d9caa299e9b75d8eca6a4423b31314", size = 2491238, upload-time = "2026-03-09T13:13:41.698Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/34/8aefdd0be9cfd00a44509251ba864f5caf2991e36772e61c408007e7f417/kiwisolver-1.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1d9daea4ea6b9be74fe2f01f7fbade8d6ffab263e781274cffca0dba9be9eec9", size = 2294947, upload-time = "2026-03-09T13:13:43.343Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/cf/0348374369ca588f8fe9c338fae49fa4e16eeb10ffb3d012f23a54578a9e/kiwisolver-1.5.0-cp312-cp312-win_amd64.whl", hash = "sha256:f18c2d9782259a6dc132fdc7a63c168cbc74b35284b6d75c673958982a378384", size = 73569, upload-time = "2026-03-09T13:13:45.792Z" },
+ { url = "https://files.pythonhosted.org/packages/28/26/192b26196e2316e2bd29deef67e37cdf9870d9af8e085e521afff0fed526/kiwisolver-1.5.0-cp312-cp312-win_arm64.whl", hash = "sha256:f7c7553b13f69c1b29a5bde08ddc6d9d0c8bfb84f9ed01c30db25944aeb852a7", size = 64997, upload-time = "2026-03-09T13:13:46.878Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/fa/2910df836372d8761bb6eff7d8bdcb1613b5c2e03f260efe7abe34d388a7/kiwisolver-1.5.0-graalpy312-graalpy250_312_native-macosx_10_13_x86_64.whl", hash = "sha256:5ae8e62c147495b01a0f4765c878e9bfdf843412446a247e28df59936e99e797", size = 130262, upload-time = "2026-03-09T13:15:35.629Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/41/c5f71f9f00aabcc71fee8b7475e3f64747282580c2fe748961ba29b18385/kiwisolver-1.5.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:f6764a4ccab3078db14a632420930f6186058750df066b8ea2a7106df91d3203", size = 138036, upload-time = "2026-03-09T13:15:36.894Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/06/7399a607f434119c6e1fdc8ec89a8d51ccccadf3341dee4ead6bd14caaf5/kiwisolver-1.5.0-graalpy312-graalpy250_312_native-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c31c13da98624f957b0fb1b5bae5383b2333c2c3f6793d9825dd5ce79b525cb7", size = 194295, upload-time = "2026-03-09T13:15:38.22Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/91/53255615acd2a1eaca307ede3c90eb550bae9c94581f8c00081b6b1c8f44/kiwisolver-1.5.0-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:1f1489f769582498610e015a8ef2d36f28f505ab3096d0e16b4858a9ec214f57", size = 75987, upload-time = "2026-03-09T13:15:39.65Z" },
]
[[package]]
@@ -2075,9 +2085,9 @@ dependencies = [
{ name = "urllib3" },
{ name = "websocket-client" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7e/bd/ffcd3104155b467347cd9b3a64eb24182e459579845196b3a200569c8912/kubernetes-31.0.0.tar.gz", hash = "sha256:28945de906c8c259c1ebe62703b56a03b714049372196f854105afe4e6d014c0", size = 916096 }
+sdist = { url = "https://files.pythonhosted.org/packages/7e/bd/ffcd3104155b467347cd9b3a64eb24182e459579845196b3a200569c8912/kubernetes-31.0.0.tar.gz", hash = "sha256:28945de906c8c259c1ebe62703b56a03b714049372196f854105afe4e6d014c0", size = 916096, upload-time = "2024-09-20T03:16:08.089Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fb/a8/17f5e28cecdbd6d48127c22abdb794740803491f422a11905c4569d8e139/kubernetes-31.0.0-py2.py3-none-any.whl", hash = "sha256:bf141e2d380c8520eada8b351f4e319ffee9636328c137aa432bc486ca1200e1", size = 1857013 },
+ { url = "https://files.pythonhosted.org/packages/fb/a8/17f5e28cecdbd6d48127c22abdb794740803491f422a11905c4569d8e139/kubernetes-31.0.0-py2.py3-none-any.whl", hash = "sha256:bf141e2d380c8520eada8b351f4e319ffee9636328c137aa432bc486ca1200e1", size = 1857013, upload-time = "2024-09-20T03:16:06.05Z" },
]
[[package]]
@@ -2087,9 +2097,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "lance-namespace-urllib3-client" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2b/c6/aec0d7752e15536564b50cf9a8926f0e5d7780aa3ab8ce8bca46daa55659/lance_namespace-0.5.2.tar.gz", hash = "sha256:566cc33091b5631793ab411f095d46c66391db0a62343cd6b4470265bb04d577", size = 10274 }
+sdist = { url = "https://files.pythonhosted.org/packages/2b/c6/aec0d7752e15536564b50cf9a8926f0e5d7780aa3ab8ce8bca46daa55659/lance_namespace-0.5.2.tar.gz", hash = "sha256:566cc33091b5631793ab411f095d46c66391db0a62343cd6b4470265bb04d577", size = 10274, upload-time = "2026-02-20T03:14:31.777Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d6/3d/737c008d8fb2861e7ce260e2ffab0d5058eae41556181f80f1a1c3b52ef5/lance_namespace-0.5.2-py3-none-any.whl", hash = "sha256:6ccaf5649bf6ee6aa92eed9c535a114b7b4eb08e89f40426f58bc1466cbcffa3", size = 12087 },
+ { url = "https://files.pythonhosted.org/packages/d6/3d/737c008d8fb2861e7ce260e2ffab0d5058eae41556181f80f1a1c3b52ef5/lance_namespace-0.5.2-py3-none-any.whl", hash = "sha256:6ccaf5649bf6ee6aa92eed9c535a114b7b4eb08e89f40426f58bc1466cbcffa3", size = 12087, upload-time = "2026-02-20T03:14:35.261Z" },
]
[[package]]
@@ -2102,9 +2112,9 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/e9/64/51622c93ec8c164483c83b68764e5e76e52286c0137a8247bc6a7fac25f4/lance_namespace_urllib3_client-0.5.2.tar.gz", hash = "sha256:8a3a238006e6eabc01fc9d385ac3de22ba933aef0ae8987558f3c3199c9b3799", size = 172578 }
+sdist = { url = "https://files.pythonhosted.org/packages/e9/64/51622c93ec8c164483c83b68764e5e76e52286c0137a8247bc6a7fac25f4/lance_namespace_urllib3_client-0.5.2.tar.gz", hash = "sha256:8a3a238006e6eabc01fc9d385ac3de22ba933aef0ae8987558f3c3199c9b3799", size = 172578, upload-time = "2026-02-20T03:14:33.031Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2a/10/f86d994498b37f7f35d0b8c2f7626a16fe4cb1949b518c1e5d5052ecf95f/lance_namespace_urllib3_client-0.5.2-py3-none-any.whl", hash = "sha256:83cefb6fd6e5df0b99b5e866ee3d46300d375b75e8af32c27bc16fbf7c1a5978", size = 300351 },
+ { url = "https://files.pythonhosted.org/packages/2a/10/f86d994498b37f7f35d0b8c2f7626a16fe4cb1949b518c1e5d5052ecf95f/lance_namespace_urllib3_client-0.5.2-py3-none-any.whl", hash = "sha256:83cefb6fd6e5df0b99b5e866ee3d46300d375b75e8af32c27bc16fbf7c1a5978", size = 300351, upload-time = "2026-02-20T03:14:34.236Z" },
]
[[package]]
@@ -2121,12 +2131,12 @@ dependencies = [
{ name = "tqdm" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/f7/77/fbb25946a234928958e016c5448343fd314bd601315f9587568321591a17/lancedb-0.29.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:bc1faf2e12addb9585569d0fb114ecc25ec3867e4e1aa6934e9343cfb5265ee4", size = 42341708 },
- { url = "https://files.pythonhosted.org/packages/cd/95/d3a7b6d0237e343ad5b2afef2bdb99423746d5c3e882a9cab68dc041c2d0/lancedb-0.29.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0fec19cfc52a5b9d98e060bd2f02a1c9df6a0bfd15b36021b6017327a41893a3", size = 44147347 },
- { url = "https://files.pythonhosted.org/packages/66/21/153a42294279c5b66d763f357808dde0899b71c5c8e41ad5ecbeeb8728df/lancedb-0.29.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:636939ab9225d435020ba17c231f5eaba15312a07813bcebcd71128204cc039f", size = 47186355 },
- { url = "https://files.pythonhosted.org/packages/a2/f7/f7041ae7d7730332b2754fe7adc2e0bd496f92bf526ac710b7eb3caf1d0a/lancedb-0.29.2-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f79b32083fcab139009db521d2f7fcd6afe4cca98a78c06c5940ff00a170cc1a", size = 44172354 },
- { url = "https://files.pythonhosted.org/packages/72/6f/c152497c18cea0f36b523fc03b8e0a48be2b120276cc15a86d79b8b83cde/lancedb-0.29.2-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:991043a28c1f49f14df2479b554a95c759a85666dc58573cc86c1b9df05db794", size = 47228009 },
- { url = "https://files.pythonhosted.org/packages/66/50/bd47bca59a87a88a4ca291a0718291422440750d84b34318048c70a537c2/lancedb-0.29.2-cp39-abi3-win_amd64.whl", hash = "sha256:101eb0ac018bb0b643dd9ea22065f6f2102e9d44c9ac58a197477ccbfbc0b9fa", size = 52028768 },
+ { url = "https://files.pythonhosted.org/packages/f7/77/fbb25946a234928958e016c5448343fd314bd601315f9587568321591a17/lancedb-0.29.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:bc1faf2e12addb9585569d0fb114ecc25ec3867e4e1aa6934e9343cfb5265ee4", size = 42341708, upload-time = "2026-02-09T06:21:31.677Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/95/d3a7b6d0237e343ad5b2afef2bdb99423746d5c3e882a9cab68dc041c2d0/lancedb-0.29.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0fec19cfc52a5b9d98e060bd2f02a1c9df6a0bfd15b36021b6017327a41893a3", size = 44147347, upload-time = "2026-02-09T06:31:02.567Z" },
+ { url = "https://files.pythonhosted.org/packages/66/21/153a42294279c5b66d763f357808dde0899b71c5c8e41ad5ecbeeb8728df/lancedb-0.29.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:636939ab9225d435020ba17c231f5eaba15312a07813bcebcd71128204cc039f", size = 47186355, upload-time = "2026-02-09T06:34:47.726Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/f7/f7041ae7d7730332b2754fe7adc2e0bd496f92bf526ac710b7eb3caf1d0a/lancedb-0.29.2-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f79b32083fcab139009db521d2f7fcd6afe4cca98a78c06c5940ff00a170cc1a", size = 44172354, upload-time = "2026-02-09T06:31:03.834Z" },
+ { url = "https://files.pythonhosted.org/packages/72/6f/c152497c18cea0f36b523fc03b8e0a48be2b120276cc15a86d79b8b83cde/lancedb-0.29.2-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:991043a28c1f49f14df2479b554a95c759a85666dc58573cc86c1b9df05db794", size = 47228009, upload-time = "2026-02-09T06:34:40.872Z" },
+ { url = "https://files.pythonhosted.org/packages/66/50/bd47bca59a87a88a4ca291a0718291422440750d84b34318048c70a537c2/lancedb-0.29.2-cp39-abi3-win_amd64.whl", hash = "sha256:101eb0ac018bb0b643dd9ea22065f6f2102e9d44c9ac58a197477ccbfbc0b9fa", size = 52028768, upload-time = "2026-02-09T07:00:02.272Z" },
]
[[package]]
@@ -2138,9 +2148,9 @@ dependencies = [
{ name = "langchain-core" },
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/dd/94/93ab8f6e96429a60da50eea2d3f3ac988852f6b8da4e817d73ec026a0bd3/langchain_chroma-0.2.6.tar.gz", hash = "sha256:ec5ca0f6f7692ac053741e076ea086c4be0cfcb5846c8693b1bcc3089c88b65e", size = 17296 }
+sdist = { url = "https://files.pythonhosted.org/packages/dd/94/93ab8f6e96429a60da50eea2d3f3ac988852f6b8da4e817d73ec026a0bd3/langchain_chroma-0.2.6.tar.gz", hash = "sha256:ec5ca0f6f7692ac053741e076ea086c4be0cfcb5846c8693b1bcc3089c88b65e", size = 17296, upload-time = "2025-09-11T19:54:47.991Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/08/bc/591e416a134f9fb766579d1ca9739f32b9d79c607a5053d34ad2b8fa7246/langchain_chroma-0.2.6-py3-none-any.whl", hash = "sha256:d7e10101b0942cd990eedb798c3d85ed3e8415a992c8a388843196f6ab97b41b", size = 12512 },
+ { url = "https://files.pythonhosted.org/packages/08/bc/591e416a134f9fb766579d1ca9739f32b9d79c607a5053d34ad2b8fa7246/langchain_chroma-0.2.6-py3-none-any.whl", hash = "sha256:d7e10101b0942cd990eedb798c3d85ed3e8415a992c8a388843196f6ab97b41b", size = 12512, upload-time = "2025-09-11T19:54:46.72Z" },
]
[[package]]
@@ -2157,9 +2167,9 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "uuid-utils" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/21/a4/24f2d787bfcf56e5990924cacefe6f6e7971a3629f97c8162fc7a2a3d851/langchain_core-0.3.83.tar.gz", hash = "sha256:a0a4c7b6ea1c446d3b432116f405dc2afa1fe7891c44140d3d5acca221909415", size = 597965 }
+sdist = { url = "https://files.pythonhosted.org/packages/21/a4/24f2d787bfcf56e5990924cacefe6f6e7971a3629f97c8162fc7a2a3d851/langchain_core-0.3.83.tar.gz", hash = "sha256:a0a4c7b6ea1c446d3b432116f405dc2afa1fe7891c44140d3d5acca221909415", size = 597965, upload-time = "2026-01-13T01:19:23.854Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5a/db/d71b80d3bd6193812485acea4001cdf86cf95a44bbf942f7a240120ff762/langchain_core-0.3.83-py3-none-any.whl", hash = "sha256:8c92506f8b53fc1958b1c07447f58c5783eb8833dd3cb6dc75607c80891ab1ae", size = 458890 },
+ { url = "https://files.pythonhosted.org/packages/5a/db/d71b80d3bd6193812485acea4001cdf86cf95a44bbf942f7a240120ff762/langchain_core-0.3.83-py3-none-any.whl", hash = "sha256:8c92506f8b53fc1958b1c07447f58c5783eb8833dd3cb6dc75607c80891ab1ae", size = 458890, upload-time = "2026-01-13T01:19:21.748Z" },
]
[[package]]
@@ -2177,27 +2187,27 @@ dependencies = [
{ name = "xxhash" },
{ name = "zstandard" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/bc/32/b3931027ff7d635a66a0edbeec9f8a285fe77b04f1f0cbbc58fd20f2555a/langsmith-0.7.14.tar.gz", hash = "sha256:95606314a8dea0ea1ff3650da4cf0433737b14c4c296579c6b770b43cb5e0b37", size = 1113666 }
+sdist = { url = "https://files.pythonhosted.org/packages/bc/32/b3931027ff7d635a66a0edbeec9f8a285fe77b04f1f0cbbc58fd20f2555a/langsmith-0.7.14.tar.gz", hash = "sha256:95606314a8dea0ea1ff3650da4cf0433737b14c4c296579c6b770b43cb5e0b37", size = 1113666, upload-time = "2026-03-06T20:13:17.308Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/6e/4f/b81ee2d06e1d69aa689b43d2b777901c060d257507806cad7cd9035d5ca4/langsmith-0.7.14-py3-none-any.whl", hash = "sha256:754dcb474a3f3f83cfefbd9694b897bce2a1a0b412bf75e256f85a64206ddcb7", size = 347350 },
+ { url = "https://files.pythonhosted.org/packages/6e/4f/b81ee2d06e1d69aa689b43d2b777901c060d257507806cad7cd9035d5ca4/langsmith-0.7.14-py3-none-any.whl", hash = "sha256:754dcb474a3f3f83cfefbd9694b897bce2a1a0b412bf75e256f85a64206ddcb7", size = 347350, upload-time = "2026-03-06T20:13:15.706Z" },
]
[[package]]
name = "lark"
version = "1.3.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/da/34/28fff3ab31ccff1fd4f6c7c7b0ceb2b6968d8ea4950663eadcb5720591a0/lark-1.3.1.tar.gz", hash = "sha256:b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905", size = 382732 }
+sdist = { url = "https://files.pythonhosted.org/packages/da/34/28fff3ab31ccff1fd4f6c7c7b0ceb2b6968d8ea4950663eadcb5720591a0/lark-1.3.1.tar.gz", hash = "sha256:b426a7a6d6d53189d318f2b6236ab5d6429eaf09259f1ca33eb716eed10d2905", size = 382732, upload-time = "2025-10-27T18:25:56.653Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/82/3d/14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7/lark-1.3.1-py3-none-any.whl", hash = "sha256:c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12", size = 113151 },
+ { url = "https://files.pythonhosted.org/packages/82/3d/14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7/lark-1.3.1-py3-none-any.whl", hash = "sha256:c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12", size = 113151, upload-time = "2025-10-27T18:25:54.882Z" },
]
[[package]]
name = "lazy-imports"
version = "1.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/25/67/04432aae0c1e2729bff14e1841f4a3fb63a9e354318e66622251487760c3/lazy_imports-1.2.0.tar.gz", hash = "sha256:3c546b3c1e7c4bf62a07f897f6179d9feda6118e71ef6ecc47a339cab3d2e2d9", size = 24470 }
+sdist = { url = "https://files.pythonhosted.org/packages/25/67/04432aae0c1e2729bff14e1841f4a3fb63a9e354318e66622251487760c3/lazy_imports-1.2.0.tar.gz", hash = "sha256:3c546b3c1e7c4bf62a07f897f6179d9feda6118e71ef6ecc47a339cab3d2e2d9", size = 24470, upload-time = "2025-12-28T13:51:51.218Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/cd/62/60ed24fa8707f10c1c5aef94791252b820be3dd6bdfc6e2fcdb08bc8912f/lazy_imports-1.2.0-py3-none-any.whl", hash = "sha256:97134d6552e2ba16f1a278e316f05313ab73b360e848e40d593d08a5c2406fdf", size = 18681 },
+ { url = "https://files.pythonhosted.org/packages/cd/62/60ed24fa8707f10c1c5aef94791252b820be3dd6bdfc6e2fcdb08bc8912f/lazy_imports-1.2.0-py3-none-any.whl", hash = "sha256:97134d6552e2ba16f1a278e316f05313ab73b360e848e40d593d08a5c2406fdf", size = 18681, upload-time = "2025-12-28T13:51:49.802Z" },
]
[[package]]
@@ -2207,9 +2217,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "uc-micro-py" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2e/c9/06ea13676ef354f0af6169587ae292d3e2406e212876a413bf9eece4eb23/linkify_it_py-2.1.0.tar.gz", hash = "sha256:43360231720999c10e9328dc3691160e27a718e280673d444c38d7d3aaa3b98b", size = 29158 }
+sdist = { url = "https://files.pythonhosted.org/packages/2e/c9/06ea13676ef354f0af6169587ae292d3e2406e212876a413bf9eece4eb23/linkify_it_py-2.1.0.tar.gz", hash = "sha256:43360231720999c10e9328dc3691160e27a718e280673d444c38d7d3aaa3b98b", size = 29158, upload-time = "2026-03-01T07:48:47.683Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b4/de/88b3be5c31b22333b3ca2f6ff1de4e863d8fe45aaea7485f591970ec1d3e/linkify_it_py-2.1.0-py3-none-any.whl", hash = "sha256:0d252c1594ecba2ecedc444053db5d3a9b7ec1b0dd929c8f1d74dce89f86c05e", size = 19878 },
+ { url = "https://files.pythonhosted.org/packages/b4/de/88b3be5c31b22333b3ca2f6ff1de4e863d8fe45aaea7485f591970ec1d3e/linkify_it_py-2.1.0-py3-none-any.whl", hash = "sha256:0d252c1594ecba2ecedc444053db5d3a9b7ec1b0dd929c8f1d74dce89f86c05e", size = 19878, upload-time = "2026-03-01T07:48:46.098Z" },
]
[[package]]
@@ -2230,9 +2240,9 @@ dependencies = [
{ name = "tiktoken" },
{ name = "tokenizers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/6c/00/49bb5c28e0dea0f5086229a2a08d5fdc6c8dc0d8e2acb2a2d1f7dd9f4b70/litellm-1.82.0.tar.gz", hash = "sha256:d388f52447daccbcaafa19a3e68d17b75f1374b5bf2cde680d65e1cd86e50d22", size = 16800355 }
+sdist = { url = "https://files.pythonhosted.org/packages/6c/00/49bb5c28e0dea0f5086229a2a08d5fdc6c8dc0d8e2acb2a2d1f7dd9f4b70/litellm-1.82.0.tar.gz", hash = "sha256:d388f52447daccbcaafa19a3e68d17b75f1374b5bf2cde680d65e1cd86e50d22", size = 16800355, upload-time = "2026-03-01T02:35:30.363Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/28/89/eb28bfcf97d6b045c400e72eb047c381594467048c237dbb6c227764084c/litellm-1.82.0-py3-none-any.whl", hash = "sha256:5496b5d4532cccdc7a095c21cbac4042f7662021c57bc1d17be4e39838929e80", size = 14911978 },
+ { url = "https://files.pythonhosted.org/packages/28/89/eb28bfcf97d6b045c400e72eb047c381594467048c237dbb6c227764084c/litellm-1.82.0-py3-none-any.whl", hash = "sha256:5496b5d4532cccdc7a095c21cbac4042f7662021c57bc1d17be4e39838929e80", size = 14911978, upload-time = "2026-03-01T02:35:26.844Z" },
]
[[package]]
@@ -2269,9 +2279,9 @@ dependencies = [
{ name = "typing-inspect" },
{ name = "wrapt" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0c/4f/7c714bdf94dd229707b43e7f8cedf3aed0a99938fd46a9ad8a418c199988/llama_index_core-0.14.15.tar.gz", hash = "sha256:3766aeeb95921b3a2af8c2a51d844f75f404215336e1639098e3652db52c68ce", size = 11593505 }
+sdist = { url = "https://files.pythonhosted.org/packages/0c/4f/7c714bdf94dd229707b43e7f8cedf3aed0a99938fd46a9ad8a418c199988/llama_index_core-0.14.15.tar.gz", hash = "sha256:3766aeeb95921b3a2af8c2a51d844f75f404215336e1639098e3652db52c68ce", size = 11593505, upload-time = "2026-02-18T19:05:48.274Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/41/9e/262f6465ee4fffa40698b3cc2177e377ce7d945d3bd8b7d9c6b09448625d/llama_index_core-0.14.15-py3-none-any.whl", hash = "sha256:e02b321c10673871a38aaefdc4a93d5ae8ec324cad4408683189e5a1aa1e3d52", size = 11937002 },
+ { url = "https://files.pythonhosted.org/packages/41/9e/262f6465ee4fffa40698b3cc2177e377ce7d945d3bd8b7d9c6b09448625d/llama_index_core-0.14.15-py3-none-any.whl", hash = "sha256:e02b321c10673871a38aaefdc4a93d5ae8ec324cad4408683189e5a1aa1e3d52", size = 11937002, upload-time = "2026-02-18T19:05:45.855Z" },
]
[[package]]
@@ -2282,9 +2292,9 @@ dependencies = [
{ name = "deprecated" },
{ name = "pydantic" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0b/45/293b89d330a989e444ade307252c190b497142761f1a6a8f20b300fefeb2/llama_index_instrumentation-0.4.3.tar.gz", hash = "sha256:6a8bd34b0c2fb9485971f952f3e5d63341eb87f8c55c82f2819a37e174494eb9", size = 48458 }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/45/293b89d330a989e444ade307252c190b497142761f1a6a8f20b300fefeb2/llama_index_instrumentation-0.4.3.tar.gz", hash = "sha256:6a8bd34b0c2fb9485971f952f3e5d63341eb87f8c55c82f2819a37e174494eb9", size = 48458, upload-time = "2026-03-03T19:01:27.146Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c0/0f/5fe062395c8d444235fc228bb2577588be4e9db6fb5f4d1b662e9ac98aee/llama_index_instrumentation-0.4.3-py3-none-any.whl", hash = "sha256:4669d5f6da4b478784a196489d4b58072cb2e6928c3781d2bddd34f36da9cac1", size = 16446 },
+ { url = "https://files.pythonhosted.org/packages/c0/0f/5fe062395c8d444235fc228bb2577588be4e9db6fb5f4d1b662e9ac98aee/llama_index_instrumentation-0.4.3-py3-none-any.whl", hash = "sha256:4669d5f6da4b478784a196489d4b58072cb2e6928c3781d2bddd34f36da9cac1", size = 16446, upload-time = "2026-03-03T19:01:28.807Z" },
]
[[package]]
@@ -2295,9 +2305,9 @@ dependencies = [
{ name = "chromadb" },
{ name = "llama-index-core" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/10/e7/19d0a81ccba54c5d0c5be46ac3a300ed86eb9e6638375d8b4ceb506bd629/llama_index_vector_stores_chroma-0.5.5.tar.gz", hash = "sha256:823865069bcea4d9de91510271ae03cd6ea8eb0106a5b5ea43ffcec03ec2a708", size = 8262 }
+sdist = { url = "https://files.pythonhosted.org/packages/10/e7/19d0a81ccba54c5d0c5be46ac3a300ed86eb9e6638375d8b4ceb506bd629/llama_index_vector_stores_chroma-0.5.5.tar.gz", hash = "sha256:823865069bcea4d9de91510271ae03cd6ea8eb0106a5b5ea43ffcec03ec2a708", size = 8262, upload-time = "2025-12-30T00:01:04.091Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a1/3e/eced8b70b63067bf1600faa003f5bcc11c67ce39fcb6efb9aa38ebcc3b05/llama_index_vector_stores_chroma-0.5.5-py3-none-any.whl", hash = "sha256:a1ca18abe2b6b90cd0bdff89fef9fb389bbd3dfb6fc74844bf9100d48d258874", size = 8078 },
+ { url = "https://files.pythonhosted.org/packages/a1/3e/eced8b70b63067bf1600faa003f5bcc11c67ce39fcb6efb9aa38ebcc3b05/llama_index_vector_stores_chroma-0.5.5-py3-none-any.whl", hash = "sha256:a1ca18abe2b6b90cd0bdff89fef9fb389bbd3dfb6fc74844bf9100d48d258874", size = 8078, upload-time = "2025-12-30T00:01:03.288Z" },
]
[[package]]
@@ -2309,21 +2319,21 @@ dependencies = [
{ name = "pydantic" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/89/9e/c885c97afd3fb5db397ede05d5c288f26539e1d5de775b97d03c523d4fde/llama_index_workflows-2.15.1.tar.gz", hash = "sha256:5e46dae2c683d3a9de800a4faf472b4aa915026b3f41bd36baba307b12cd3e7f", size = 81696 }
+sdist = { url = "https://files.pythonhosted.org/packages/89/9e/c885c97afd3fb5db397ede05d5c288f26539e1d5de775b97d03c523d4fde/llama_index_workflows-2.15.1.tar.gz", hash = "sha256:5e46dae2c683d3a9de800a4faf472b4aa915026b3f41bd36baba307b12cd3e7f", size = 81696, upload-time = "2026-03-07T17:32:05.011Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/72/fa/a1aabbce40485d741067b46c6754c1ce81792ef56445777769d3da760a5d/llama_index_workflows-2.15.1-py3-none-any.whl", hash = "sha256:a36b4a8f30e5899c33391e99bad5768b9ca8331ace75f2f5bbbc0c0d380c2a0e", size = 104505 },
+ { url = "https://files.pythonhosted.org/packages/72/fa/a1aabbce40485d741067b46c6754c1ce81792ef56445777769d3da760a5d/llama_index_workflows-2.15.1-py3-none-any.whl", hash = "sha256:a36b4a8f30e5899c33391e99bad5768b9ca8331ace75f2f5bbbc0c0d380c2a0e", size = 104505, upload-time = "2026-03-07T17:32:06.163Z" },
]
[[package]]
name = "llvmlite"
version = "0.46.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/74/cd/08ae687ba099c7e3d21fe2ea536500563ef1943c5105bf6ab4ee3829f68e/llvmlite-0.46.0.tar.gz", hash = "sha256:227c9fd6d09dce2783c18b754b7cd9d9b3b3515210c46acc2d3c5badd9870ceb", size = 193456 }
+sdist = { url = "https://files.pythonhosted.org/packages/74/cd/08ae687ba099c7e3d21fe2ea536500563ef1943c5105bf6ab4ee3829f68e/llvmlite-0.46.0.tar.gz", hash = "sha256:227c9fd6d09dce2783c18b754b7cd9d9b3b3515210c46acc2d3c5badd9870ceb", size = 193456, upload-time = "2025-12-08T18:15:36.295Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2b/f8/4db016a5e547d4e054ff2f3b99203d63a497465f81ab78ec8eb2ff7b2304/llvmlite-0.46.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6b9588ad4c63b4f0175a3984b85494f0c927c6b001e3a246a3a7fb3920d9a137", size = 37232767 },
- { url = "https://files.pythonhosted.org/packages/aa/85/4890a7c14b4fa54400945cb52ac3cd88545bbdb973c440f98ca41591cdc5/llvmlite-0.46.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3535bd2bb6a2d7ae4012681ac228e5132cdb75fefb1bcb24e33f2f3e0c865ed4", size = 56275176 },
- { url = "https://files.pythonhosted.org/packages/6a/07/3d31d39c1a1a08cd5337e78299fca77e6aebc07c059fbd0033e3edfab45c/llvmlite-0.46.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4cbfd366e60ff87ea6cc62f50bc4cd800ebb13ed4c149466f50cf2163a473d1e", size = 55128630 },
- { url = "https://files.pythonhosted.org/packages/2a/6b/d139535d7590a1bba1ceb68751bef22fadaa5b815bbdf0e858e3875726b2/llvmlite-0.46.0-cp312-cp312-win_amd64.whl", hash = "sha256:398b39db462c39563a97b912d4f2866cd37cba60537975a09679b28fbbc0fb38", size = 38138940 },
+ { url = "https://files.pythonhosted.org/packages/2b/f8/4db016a5e547d4e054ff2f3b99203d63a497465f81ab78ec8eb2ff7b2304/llvmlite-0.46.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6b9588ad4c63b4f0175a3984b85494f0c927c6b001e3a246a3a7fb3920d9a137", size = 37232767, upload-time = "2025-12-08T18:15:00.737Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/85/4890a7c14b4fa54400945cb52ac3cd88545bbdb973c440f98ca41591cdc5/llvmlite-0.46.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3535bd2bb6a2d7ae4012681ac228e5132cdb75fefb1bcb24e33f2f3e0c865ed4", size = 56275176, upload-time = "2025-12-08T18:15:03.936Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/07/3d31d39c1a1a08cd5337e78299fca77e6aebc07c059fbd0033e3edfab45c/llvmlite-0.46.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4cbfd366e60ff87ea6cc62f50bc4cd800ebb13ed4c149466f50cf2163a473d1e", size = 55128630, upload-time = "2025-12-08T18:15:07.196Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/6b/d139535d7590a1bba1ceb68751bef22fadaa5b815bbdf0e858e3875726b2/llvmlite-0.46.0-cp312-cp312-win_amd64.whl", hash = "sha256:398b39db462c39563a97b912d4f2866cd37cba60537975a09679b28fbbc0fb38", size = 38138940, upload-time = "2025-12-08T18:15:10.162Z" },
]
[[package]]
@@ -2334,73 +2344,73 @@ dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
{ name = "win32-setctime", marker = "sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/3a/05/a1dae3dffd1116099471c643b8924f5aa6524411dc6c63fdae648c4f1aca/loguru-0.7.3.tar.gz", hash = "sha256:19480589e77d47b8d85b2c827ad95d49bf31b0dcde16593892eb51dd18706eb6", size = 63559 }
+sdist = { url = "https://files.pythonhosted.org/packages/3a/05/a1dae3dffd1116099471c643b8924f5aa6524411dc6c63fdae648c4f1aca/loguru-0.7.3.tar.gz", hash = "sha256:19480589e77d47b8d85b2c827ad95d49bf31b0dcde16593892eb51dd18706eb6", size = 63559, upload-time = "2024-12-06T11:20:56.608Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0c/29/0348de65b8cc732daa3e33e67806420b2ae89bdce2b04af740289c5c6c8c/loguru-0.7.3-py3-none-any.whl", hash = "sha256:31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c", size = 61595 },
+ { url = "https://files.pythonhosted.org/packages/0c/29/0348de65b8cc732daa3e33e67806420b2ae89bdce2b04af740289c5c6c8c/loguru-0.7.3-py3-none-any.whl", hash = "sha256:31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c", size = 61595, upload-time = "2024-12-06T11:20:54.538Z" },
]
[[package]]
name = "loro"
version = "1.10.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/7d/27/ea6f3298fc87ea5f2d60ebfbca088e7d9b2ceb3993f67c83bfb81778ec01/loro-1.10.3.tar.gz", hash = "sha256:68184ab1c2ab94af6ad4aaba416d22f579cabee0b26cbb09a1f67858207bbce8", size = 68833 }
+sdist = { url = "https://files.pythonhosted.org/packages/7d/27/ea6f3298fc87ea5f2d60ebfbca088e7d9b2ceb3993f67c83bfb81778ec01/loro-1.10.3.tar.gz", hash = "sha256:68184ab1c2ab94af6ad4aaba416d22f579cabee0b26cbb09a1f67858207bbce8", size = 68833, upload-time = "2025-12-09T10:14:06.644Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/dd/b6/cfbf8088e8ca07d66e6c1eccde42e00bd61708f28e8ea0936f9582306323/loro-1.10.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:028948b48dcc5c2127f974dae4ad466ab69f0d1eeaf367a8145eb6501fb988f2", size = 3239592 },
- { url = "https://files.pythonhosted.org/packages/78/e4/7b614260bf16c5e33c0bea6ac47ab0284efd21f89f2e5e4e15cd93bead40/loro-1.10.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5253b8f436d90412b373c583f22ac9539cfb495bf88f78d4bb41daafef0830b7", size = 3045107 },
- { url = "https://files.pythonhosted.org/packages/ae/17/0a78ec341ca69d376629ff2a1b9b3511ee7dd54f2b018616ef03328024f7/loro-1.10.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:14be8a5539d49468c94d65742355dbe79745123d78bf769a23e53bf9b60dd46a", size = 3292720 },
- { url = "https://files.pythonhosted.org/packages/d4/9b/f36a4654508e9b8ddbe08a62a0ce8b8e7fd511a39b161821917530cffd8e/loro-1.10.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:91b2b9139dfc5314a0197132a53b6673fddb63738380a522d12a05cec7ad76b4", size = 3353260 },
- { url = "https://files.pythonhosted.org/packages/b4/0e/7d441ddecc7695153dbe68af4067d62e8d7607fce3747a184878456a91f6/loro-1.10.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:247897288911c712ee7746965573299fc23ce091e94456da8da371e6adae30f4", size = 3712354 },
- { url = "https://files.pythonhosted.org/packages/1c/33/10e66bb84599e61df124f76c00c5398eb59cbb6f69755f81c40f65a18344/loro-1.10.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:835abc6025eb5b6a0fe22c808472affc95e9a661b212400cfd88ba186b0d304c", size = 3422926 },
- { url = "https://files.pythonhosted.org/packages/b2/70/00dc4246d9f3c69ecbb9bc36d5ad1a359884464a44711c665cb0afb1e9de/loro-1.10.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e660853617fc29e71bb7b796e6f2c21f7722c215f593a89e95cd4d8d5a32aca0", size = 3353092 },
- { url = "https://files.pythonhosted.org/packages/19/37/60cc0353c5702e1e469b5d49d1762e782af5d5bd5e7c4e8c47556335b4c6/loro-1.10.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8059063cab57ca521012ed315a454784c20b0a86653e9014795e804e0a333659", size = 3687798 },
- { url = "https://files.pythonhosted.org/packages/88/c4/4db1887eb08dfbb305d9424fdf1004c0edf147fd53ab0aaf64a90450567a/loro-1.10.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9748359343b5fd7019ab3c2d1d583a0c13c633a4dd21d75e50e3815ab479f493", size = 3474451 },
- { url = "https://files.pythonhosted.org/packages/d8/66/10d2e00c43b05f56e96e62100f86a1261f8bbd6422605907f118a752fe61/loro-1.10.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:def7c9c2e16ad5470c9c56f096ac649dd4cd42d5936a32bb0817509a92d82467", size = 3621647 },
- { url = "https://files.pythonhosted.org/packages/47/f0/ef8cd6654b09a03684195c650b1fba00f42791fa4844ea400d94030c5615/loro-1.10.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:34b223fab58591a823f439d9a13d1a1ddac18dc4316866503c588ae8a9147cb1", size = 3667946 },
- { url = "https://files.pythonhosted.org/packages/bb/5d/960b62bf85c38d6098ea067438f037a761958f3a17ba674db0cf316b0f60/loro-1.10.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9d5fa4baceb248d771897b76d1426c7656176e82e770f6790940bc3e3812436d", size = 3565866 },
- { url = "https://files.pythonhosted.org/packages/8f/d4/0d499a5e00df13ce497263aef2494d9de9e9d1f11d8ab68f89328203befb/loro-1.10.3-cp312-cp312-win32.whl", hash = "sha256:f25ab769b84a5fbeb1f9a1111f5d28927eaeaa8f5d2d871e237f80eaca5c684e", size = 2720785 },
- { url = "https://files.pythonhosted.org/packages/1a/9b/2b5be23f1da4cf20c6ce213cfffc66bdab2ea012595abc9e3383103793d0/loro-1.10.3-cp312-cp312-win_amd64.whl", hash = "sha256:3b73b7a3a32e60c3424fc7deaf8b127af7580948e27d8bbe749e3f43508aa0a2", size = 2954650 },
+ { url = "https://files.pythonhosted.org/packages/dd/b6/cfbf8088e8ca07d66e6c1eccde42e00bd61708f28e8ea0936f9582306323/loro-1.10.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:028948b48dcc5c2127f974dae4ad466ab69f0d1eeaf367a8145eb6501fb988f2", size = 3239592, upload-time = "2025-12-09T10:11:32.505Z" },
+ { url = "https://files.pythonhosted.org/packages/78/e4/7b614260bf16c5e33c0bea6ac47ab0284efd21f89f2e5e4e15cd93bead40/loro-1.10.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5253b8f436d90412b373c583f22ac9539cfb495bf88f78d4bb41daafef0830b7", size = 3045107, upload-time = "2025-12-09T10:11:17.481Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/17/0a78ec341ca69d376629ff2a1b9b3511ee7dd54f2b018616ef03328024f7/loro-1.10.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:14be8a5539d49468c94d65742355dbe79745123d78bf769a23e53bf9b60dd46a", size = 3292720, upload-time = "2025-12-09T10:08:14.027Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/9b/f36a4654508e9b8ddbe08a62a0ce8b8e7fd511a39b161821917530cffd8e/loro-1.10.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:91b2b9139dfc5314a0197132a53b6673fddb63738380a522d12a05cec7ad76b4", size = 3353260, upload-time = "2025-12-09T10:08:48.251Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/0e/7d441ddecc7695153dbe68af4067d62e8d7607fce3747a184878456a91f6/loro-1.10.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:247897288911c712ee7746965573299fc23ce091e94456da8da371e6adae30f4", size = 3712354, upload-time = "2025-12-09T10:09:26.38Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/33/10e66bb84599e61df124f76c00c5398eb59cbb6f69755f81c40f65a18344/loro-1.10.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:835abc6025eb5b6a0fe22c808472affc95e9a661b212400cfd88ba186b0d304c", size = 3422926, upload-time = "2025-12-09T10:10:00.347Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/70/00dc4246d9f3c69ecbb9bc36d5ad1a359884464a44711c665cb0afb1e9de/loro-1.10.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e660853617fc29e71bb7b796e6f2c21f7722c215f593a89e95cd4d8d5a32aca0", size = 3353092, upload-time = "2025-12-09T10:10:55.786Z" },
+ { url = "https://files.pythonhosted.org/packages/19/37/60cc0353c5702e1e469b5d49d1762e782af5d5bd5e7c4e8c47556335b4c6/loro-1.10.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8059063cab57ca521012ed315a454784c20b0a86653e9014795e804e0a333659", size = 3687798, upload-time = "2025-12-09T10:10:33.253Z" },
+ { url = "https://files.pythonhosted.org/packages/88/c4/4db1887eb08dfbb305d9424fdf1004c0edf147fd53ab0aaf64a90450567a/loro-1.10.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9748359343b5fd7019ab3c2d1d583a0c13c633a4dd21d75e50e3815ab479f493", size = 3474451, upload-time = "2025-12-09T10:11:49.489Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/66/10d2e00c43b05f56e96e62100f86a1261f8bbd6422605907f118a752fe61/loro-1.10.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:def7c9c2e16ad5470c9c56f096ac649dd4cd42d5936a32bb0817509a92d82467", size = 3621647, upload-time = "2025-12-09T10:12:25.536Z" },
+ { url = "https://files.pythonhosted.org/packages/47/f0/ef8cd6654b09a03684195c650b1fba00f42791fa4844ea400d94030c5615/loro-1.10.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:34b223fab58591a823f439d9a13d1a1ddac18dc4316866503c588ae8a9147cb1", size = 3667946, upload-time = "2025-12-09T10:13:00.711Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/5d/960b62bf85c38d6098ea067438f037a761958f3a17ba674db0cf316b0f60/loro-1.10.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9d5fa4baceb248d771897b76d1426c7656176e82e770f6790940bc3e3812436d", size = 3565866, upload-time = "2025-12-09T10:13:35.401Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/d4/0d499a5e00df13ce497263aef2494d9de9e9d1f11d8ab68f89328203befb/loro-1.10.3-cp312-cp312-win32.whl", hash = "sha256:f25ab769b84a5fbeb1f9a1111f5d28927eaeaa8f5d2d871e237f80eaca5c684e", size = 2720785, upload-time = "2025-12-09T10:14:28.79Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/9b/2b5be23f1da4cf20c6ce213cfffc66bdab2ea012595abc9e3383103793d0/loro-1.10.3-cp312-cp312-win_amd64.whl", hash = "sha256:3b73b7a3a32e60c3424fc7deaf8b127af7580948e27d8bbe749e3f43508aa0a2", size = 2954650, upload-time = "2025-12-09T10:14:10.235Z" },
]
[[package]]
name = "lxml"
version = "6.0.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/aa/88/262177de60548e5a2bfc46ad28232c9e9cbde697bd94132aeb80364675cb/lxml-6.0.2.tar.gz", hash = "sha256:cd79f3367bd74b317dda655dc8fcfa304d9eb6e4fb06b7168c5cf27f96e0cd62", size = 4073426 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/f3/c8/8ff2bc6b920c84355146cd1ab7d181bc543b89241cfb1ebee824a7c81457/lxml-6.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a59f5448ba2ceccd06995c95ea59a7674a10de0810f2ce90c9006f3cbc044456", size = 8661887 },
- { url = "https://files.pythonhosted.org/packages/37/6f/9aae1008083bb501ef63284220ce81638332f9ccbfa53765b2b7502203cf/lxml-6.0.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:e8113639f3296706fbac34a30813929e29247718e88173ad849f57ca59754924", size = 4667818 },
- { url = "https://files.pythonhosted.org/packages/f1/ca/31fb37f99f37f1536c133476674c10b577e409c0a624384147653e38baf2/lxml-6.0.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a8bef9b9825fa8bc816a6e641bb67219489229ebc648be422af695f6e7a4fa7f", size = 4950807 },
- { url = "https://files.pythonhosted.org/packages/da/87/f6cb9442e4bada8aab5ae7e1046264f62fdbeaa6e3f6211b93f4c0dd97f1/lxml-6.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:65ea18d710fd14e0186c2f973dc60bb52039a275f82d3c44a0e42b43440ea534", size = 5109179 },
- { url = "https://files.pythonhosted.org/packages/c8/20/a7760713e65888db79bbae4f6146a6ae5c04e4a204a3c48896c408cd6ed2/lxml-6.0.2-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c371aa98126a0d4c739ca93ceffa0fd7a5d732e3ac66a46e74339acd4d334564", size = 5023044 },
- { url = "https://files.pythonhosted.org/packages/a2/b0/7e64e0460fcb36471899f75831509098f3fd7cd02a3833ac517433cb4f8f/lxml-6.0.2-cp312-cp312-manylinux_2_26_i686.manylinux_2_28_i686.whl", hash = "sha256:700efd30c0fa1a3581d80a748157397559396090a51d306ea59a70020223d16f", size = 5359685 },
- { url = "https://files.pythonhosted.org/packages/b9/e1/e5df362e9ca4e2f48ed6411bd4b3a0ae737cc842e96877f5bf9428055ab4/lxml-6.0.2-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c33e66d44fe60e72397b487ee92e01da0d09ba2d66df8eae42d77b6d06e5eba0", size = 5654127 },
- { url = "https://files.pythonhosted.org/packages/c6/d1/232b3309a02d60f11e71857778bfcd4acbdb86c07db8260caf7d008b08f8/lxml-6.0.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90a345bbeaf9d0587a3aaffb7006aa39ccb6ff0e96a57286c0cb2fd1520ea192", size = 5253958 },
- { url = "https://files.pythonhosted.org/packages/35/35/d955a070994725c4f7d80583a96cab9c107c57a125b20bb5f708fe941011/lxml-6.0.2-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:064fdadaf7a21af3ed1dcaa106b854077fbeada827c18f72aec9346847cd65d0", size = 4711541 },
- { url = "https://files.pythonhosted.org/packages/1e/be/667d17363b38a78c4bd63cfd4b4632029fd68d2c2dc81f25ce9eb5224dd5/lxml-6.0.2-cp312-cp312-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fbc74f42c3525ac4ffa4b89cbdd00057b6196bcefe8bce794abd42d33a018092", size = 5267426 },
- { url = "https://files.pythonhosted.org/packages/ea/47/62c70aa4a1c26569bc958c9ca86af2bb4e1f614e8c04fb2989833874f7ae/lxml-6.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6ddff43f702905a4e32bc24f3f2e2edfe0f8fde3277d481bffb709a4cced7a1f", size = 5064917 },
- { url = "https://files.pythonhosted.org/packages/bd/55/6ceddaca353ebd0f1908ef712c597f8570cc9c58130dbb89903198e441fd/lxml-6.0.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:6da5185951d72e6f5352166e3da7b0dc27aa70bd1090b0eb3f7f7212b53f1bb8", size = 4788795 },
- { url = "https://files.pythonhosted.org/packages/cf/e8/fd63e15da5e3fd4c2146f8bbb3c14e94ab850589beab88e547b2dbce22e1/lxml-6.0.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:57a86e1ebb4020a38d295c04fc79603c7899e0df71588043eb218722dabc087f", size = 5676759 },
- { url = "https://files.pythonhosted.org/packages/76/47/b3ec58dc5c374697f5ba37412cd2728f427d056315d124dd4b61da381877/lxml-6.0.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:2047d8234fe735ab77802ce5f2297e410ff40f5238aec569ad7c8e163d7b19a6", size = 5255666 },
- { url = "https://files.pythonhosted.org/packages/19/93/03ba725df4c3d72afd9596eef4a37a837ce8e4806010569bedfcd2cb68fd/lxml-6.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6f91fd2b2ea15a6800c8e24418c0775a1694eefc011392da73bc6cef2623b322", size = 5277989 },
- { url = "https://files.pythonhosted.org/packages/c6/80/c06de80bfce881d0ad738576f243911fccf992687ae09fd80b734712b39c/lxml-6.0.2-cp312-cp312-win32.whl", hash = "sha256:3ae2ce7d6fedfb3414a2b6c5e20b249c4c607f72cb8d2bb7cc9c6ec7c6f4e849", size = 3611456 },
- { url = "https://files.pythonhosted.org/packages/f7/d7/0cdfb6c3e30893463fb3d1e52bc5f5f99684a03c29a0b6b605cfae879cd5/lxml-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:72c87e5ee4e58a8354fb9c7c84cbf95a1c8236c127a5d1b7683f04bed8361e1f", size = 4011793 },
- { url = "https://files.pythonhosted.org/packages/ea/7b/93c73c67db235931527301ed3785f849c78991e2e34f3fd9a6663ffda4c5/lxml-6.0.2-cp312-cp312-win_arm64.whl", hash = "sha256:61cb10eeb95570153e0c0e554f58df92ecf5109f75eacad4a95baa709e26c3d6", size = 3672836 },
+sdist = { url = "https://files.pythonhosted.org/packages/aa/88/262177de60548e5a2bfc46ad28232c9e9cbde697bd94132aeb80364675cb/lxml-6.0.2.tar.gz", hash = "sha256:cd79f3367bd74b317dda655dc8fcfa304d9eb6e4fb06b7168c5cf27f96e0cd62", size = 4073426, upload-time = "2025-09-22T04:04:59.287Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f3/c8/8ff2bc6b920c84355146cd1ab7d181bc543b89241cfb1ebee824a7c81457/lxml-6.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a59f5448ba2ceccd06995c95ea59a7674a10de0810f2ce90c9006f3cbc044456", size = 8661887, upload-time = "2025-09-22T04:01:17.265Z" },
+ { url = "https://files.pythonhosted.org/packages/37/6f/9aae1008083bb501ef63284220ce81638332f9ccbfa53765b2b7502203cf/lxml-6.0.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:e8113639f3296706fbac34a30813929e29247718e88173ad849f57ca59754924", size = 4667818, upload-time = "2025-09-22T04:01:19.688Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/ca/31fb37f99f37f1536c133476674c10b577e409c0a624384147653e38baf2/lxml-6.0.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a8bef9b9825fa8bc816a6e641bb67219489229ebc648be422af695f6e7a4fa7f", size = 4950807, upload-time = "2025-09-22T04:01:21.487Z" },
+ { url = "https://files.pythonhosted.org/packages/da/87/f6cb9442e4bada8aab5ae7e1046264f62fdbeaa6e3f6211b93f4c0dd97f1/lxml-6.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:65ea18d710fd14e0186c2f973dc60bb52039a275f82d3c44a0e42b43440ea534", size = 5109179, upload-time = "2025-09-22T04:01:23.32Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/20/a7760713e65888db79bbae4f6146a6ae5c04e4a204a3c48896c408cd6ed2/lxml-6.0.2-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c371aa98126a0d4c739ca93ceffa0fd7a5d732e3ac66a46e74339acd4d334564", size = 5023044, upload-time = "2025-09-22T04:01:25.118Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/b0/7e64e0460fcb36471899f75831509098f3fd7cd02a3833ac517433cb4f8f/lxml-6.0.2-cp312-cp312-manylinux_2_26_i686.manylinux_2_28_i686.whl", hash = "sha256:700efd30c0fa1a3581d80a748157397559396090a51d306ea59a70020223d16f", size = 5359685, upload-time = "2025-09-22T04:01:27.398Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/e1/e5df362e9ca4e2f48ed6411bd4b3a0ae737cc842e96877f5bf9428055ab4/lxml-6.0.2-cp312-cp312-manylinux_2_26_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c33e66d44fe60e72397b487ee92e01da0d09ba2d66df8eae42d77b6d06e5eba0", size = 5654127, upload-time = "2025-09-22T04:01:29.629Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/d1/232b3309a02d60f11e71857778bfcd4acbdb86c07db8260caf7d008b08f8/lxml-6.0.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90a345bbeaf9d0587a3aaffb7006aa39ccb6ff0e96a57286c0cb2fd1520ea192", size = 5253958, upload-time = "2025-09-22T04:01:31.535Z" },
+ { url = "https://files.pythonhosted.org/packages/35/35/d955a070994725c4f7d80583a96cab9c107c57a125b20bb5f708fe941011/lxml-6.0.2-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:064fdadaf7a21af3ed1dcaa106b854077fbeada827c18f72aec9346847cd65d0", size = 4711541, upload-time = "2025-09-22T04:01:33.801Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/be/667d17363b38a78c4bd63cfd4b4632029fd68d2c2dc81f25ce9eb5224dd5/lxml-6.0.2-cp312-cp312-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fbc74f42c3525ac4ffa4b89cbdd00057b6196bcefe8bce794abd42d33a018092", size = 5267426, upload-time = "2025-09-22T04:01:35.639Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/47/62c70aa4a1c26569bc958c9ca86af2bb4e1f614e8c04fb2989833874f7ae/lxml-6.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6ddff43f702905a4e32bc24f3f2e2edfe0f8fde3277d481bffb709a4cced7a1f", size = 5064917, upload-time = "2025-09-22T04:01:37.448Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/55/6ceddaca353ebd0f1908ef712c597f8570cc9c58130dbb89903198e441fd/lxml-6.0.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:6da5185951d72e6f5352166e3da7b0dc27aa70bd1090b0eb3f7f7212b53f1bb8", size = 4788795, upload-time = "2025-09-22T04:01:39.165Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/e8/fd63e15da5e3fd4c2146f8bbb3c14e94ab850589beab88e547b2dbce22e1/lxml-6.0.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:57a86e1ebb4020a38d295c04fc79603c7899e0df71588043eb218722dabc087f", size = 5676759, upload-time = "2025-09-22T04:01:41.506Z" },
+ { url = "https://files.pythonhosted.org/packages/76/47/b3ec58dc5c374697f5ba37412cd2728f427d056315d124dd4b61da381877/lxml-6.0.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:2047d8234fe735ab77802ce5f2297e410ff40f5238aec569ad7c8e163d7b19a6", size = 5255666, upload-time = "2025-09-22T04:01:43.363Z" },
+ { url = "https://files.pythonhosted.org/packages/19/93/03ba725df4c3d72afd9596eef4a37a837ce8e4806010569bedfcd2cb68fd/lxml-6.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6f91fd2b2ea15a6800c8e24418c0775a1694eefc011392da73bc6cef2623b322", size = 5277989, upload-time = "2025-09-22T04:01:45.215Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/80/c06de80bfce881d0ad738576f243911fccf992687ae09fd80b734712b39c/lxml-6.0.2-cp312-cp312-win32.whl", hash = "sha256:3ae2ce7d6fedfb3414a2b6c5e20b249c4c607f72cb8d2bb7cc9c6ec7c6f4e849", size = 3611456, upload-time = "2025-09-22T04:01:48.243Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/d7/0cdfb6c3e30893463fb3d1e52bc5f5f99684a03c29a0b6b605cfae879cd5/lxml-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:72c87e5ee4e58a8354fb9c7c84cbf95a1c8236c127a5d1b7683f04bed8361e1f", size = 4011793, upload-time = "2025-09-22T04:01:50.042Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/7b/93c73c67db235931527301ed3785f849c78991e2e34f3fd9a6663ffda4c5/lxml-6.0.2-cp312-cp312-win_arm64.whl", hash = "sha256:61cb10eeb95570153e0c0e554f58df92ecf5109f75eacad4a95baa709e26c3d6", size = 3672836, upload-time = "2025-09-22T04:01:52.145Z" },
]
[[package]]
name = "lz4"
version = "4.4.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/57/51/f1b86d93029f418033dddf9b9f79c8d2641e7454080478ee2aab5123173e/lz4-4.4.5.tar.gz", hash = "sha256:5f0b9e53c1e82e88c10d7c180069363980136b9d7a8306c4dca4f760d60c39f0", size = 172886 }
+sdist = { url = "https://files.pythonhosted.org/packages/57/51/f1b86d93029f418033dddf9b9f79c8d2641e7454080478ee2aab5123173e/lz4-4.4.5.tar.gz", hash = "sha256:5f0b9e53c1e82e88c10d7c180069363980136b9d7a8306c4dca4f760d60c39f0", size = 172886, upload-time = "2025-11-03T13:02:36.061Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1b/ac/016e4f6de37d806f7cc8f13add0a46c9a7cfc41a5ddc2bc831d7954cf1ce/lz4-4.4.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:df5aa4cead2044bab83e0ebae56e0944cc7fcc1505c7787e9e1057d6d549897e", size = 207163 },
- { url = "https://files.pythonhosted.org/packages/8d/df/0fadac6e5bd31b6f34a1a8dbd4db6a7606e70715387c27368586455b7fc9/lz4-4.4.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6d0bf51e7745484d2092b3a51ae6eb58c3bd3ce0300cf2b2c14f76c536d5697a", size = 207150 },
- { url = "https://files.pythonhosted.org/packages/b7/17/34e36cc49bb16ca73fb57fbd4c5eaa61760c6b64bce91fcb4e0f4a97f852/lz4-4.4.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:7b62f94b523c251cf32aa4ab555f14d39bd1a9df385b72443fd76d7c7fb051f5", size = 1292045 },
- { url = "https://files.pythonhosted.org/packages/90/1c/b1d8e3741e9fc89ed3b5f7ef5f22586c07ed6bb04e8343c2e98f0fa7ff04/lz4-4.4.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c3ea562c3af274264444819ae9b14dbbf1ab070aff214a05e97db6896c7597e", size = 1279546 },
- { url = "https://files.pythonhosted.org/packages/55/d9/e3867222474f6c1b76e89f3bd914595af69f55bf2c1866e984c548afdc15/lz4-4.4.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24092635f47538b392c4eaeff14c7270d2c8e806bf4be2a6446a378591c5e69e", size = 1368249 },
- { url = "https://files.pythonhosted.org/packages/b2/e7/d667d337367686311c38b580d1ca3d5a23a6617e129f26becd4f5dc458df/lz4-4.4.5-cp312-cp312-win32.whl", hash = "sha256:214e37cfe270948ea7eb777229e211c601a3e0875541c1035ab408fbceaddf50", size = 88189 },
- { url = "https://files.pythonhosted.org/packages/a5/0b/a54cd7406995ab097fceb907c7eb13a6ddd49e0b231e448f1a81a50af65c/lz4-4.4.5-cp312-cp312-win_amd64.whl", hash = "sha256:713a777de88a73425cf08eb11f742cd2c98628e79a8673d6a52e3c5f0c116f33", size = 99497 },
- { url = "https://files.pythonhosted.org/packages/6a/7e/dc28a952e4bfa32ca16fa2eb026e7a6ce5d1411fcd5986cd08c74ec187b9/lz4-4.4.5-cp312-cp312-win_arm64.whl", hash = "sha256:a88cbb729cc333334ccfb52f070463c21560fca63afcf636a9f160a55fac3301", size = 91279 },
+ { url = "https://files.pythonhosted.org/packages/1b/ac/016e4f6de37d806f7cc8f13add0a46c9a7cfc41a5ddc2bc831d7954cf1ce/lz4-4.4.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:df5aa4cead2044bab83e0ebae56e0944cc7fcc1505c7787e9e1057d6d549897e", size = 207163, upload-time = "2025-11-03T13:01:45.895Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/df/0fadac6e5bd31b6f34a1a8dbd4db6a7606e70715387c27368586455b7fc9/lz4-4.4.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6d0bf51e7745484d2092b3a51ae6eb58c3bd3ce0300cf2b2c14f76c536d5697a", size = 207150, upload-time = "2025-11-03T13:01:47.205Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/17/34e36cc49bb16ca73fb57fbd4c5eaa61760c6b64bce91fcb4e0f4a97f852/lz4-4.4.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:7b62f94b523c251cf32aa4ab555f14d39bd1a9df385b72443fd76d7c7fb051f5", size = 1292045, upload-time = "2025-11-03T13:01:48.667Z" },
+ { url = "https://files.pythonhosted.org/packages/90/1c/b1d8e3741e9fc89ed3b5f7ef5f22586c07ed6bb04e8343c2e98f0fa7ff04/lz4-4.4.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c3ea562c3af274264444819ae9b14dbbf1ab070aff214a05e97db6896c7597e", size = 1279546, upload-time = "2025-11-03T13:01:50.159Z" },
+ { url = "https://files.pythonhosted.org/packages/55/d9/e3867222474f6c1b76e89f3bd914595af69f55bf2c1866e984c548afdc15/lz4-4.4.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24092635f47538b392c4eaeff14c7270d2c8e806bf4be2a6446a378591c5e69e", size = 1368249, upload-time = "2025-11-03T13:01:51.273Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/e7/d667d337367686311c38b580d1ca3d5a23a6617e129f26becd4f5dc458df/lz4-4.4.5-cp312-cp312-win32.whl", hash = "sha256:214e37cfe270948ea7eb777229e211c601a3e0875541c1035ab408fbceaddf50", size = 88189, upload-time = "2025-11-03T13:01:52.605Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/0b/a54cd7406995ab097fceb907c7eb13a6ddd49e0b231e448f1a81a50af65c/lz4-4.4.5-cp312-cp312-win_amd64.whl", hash = "sha256:713a777de88a73425cf08eb11f742cd2c98628e79a8673d6a52e3c5f0c116f33", size = 99497, upload-time = "2025-11-03T13:01:53.477Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/7e/dc28a952e4bfa32ca16fa2eb026e7a6ce5d1411fcd5986cd08c74ec187b9/lz4-4.4.5-cp312-cp312-win_arm64.whl", hash = "sha256:a88cbb729cc333334ccfb52f070463c21560fca63afcf636a9f160a55fac3301", size = 91279, upload-time = "2025-11-03T13:01:54.419Z" },
]
[[package]]
@@ -2408,7 +2418,7 @@ name = "magicattr"
version = "0.1.6"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2a/7e/76b7e0c391bee7e9273725c29c8fe41c4df62a215ce58aa8e3518baee0bb/magicattr-0.1.6-py2.py3-none-any.whl", hash = "sha256:d96b18ee45b5ee83b09c17e15d3459a64de62d538808c2f71182777dd9dbbbdf", size = 4664 },
+ { url = "https://files.pythonhosted.org/packages/2a/7e/76b7e0c391bee7e9273725c29c8fe41c4df62a215ce58aa8e3518baee0bb/magicattr-0.1.6-py2.py3-none-any.whl", hash = "sha256:d96b18ee45b5ee83b09c17e15d3459a64de62d538808c2f71182777dd9dbbbdf", size = 4664, upload-time = "2022-01-25T16:56:47.074Z" },
]
[[package]]
@@ -2418,14 +2428,14 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "markupsafe" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/9e/38/bd5b78a920a64d708fe6bc8e0a2c075e1389d53bef8413725c63ba041535/mako-1.3.10.tar.gz", hash = "sha256:99579a6f39583fa7e5630a28c3c1f440e4e97a414b80372649c0ce338da2ea28", size = 392474 }
+sdist = { url = "https://files.pythonhosted.org/packages/9e/38/bd5b78a920a64d708fe6bc8e0a2c075e1389d53bef8413725c63ba041535/mako-1.3.10.tar.gz", hash = "sha256:99579a6f39583fa7e5630a28c3c1f440e4e97a414b80372649c0ce338da2ea28", size = 392474, upload-time = "2025-04-10T12:44:31.16Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/87/fb/99f81ac72ae23375f22b7afdb7642aba97c00a713c217124420147681a2f/mako-1.3.10-py3-none-any.whl", hash = "sha256:baef24a52fc4fc514a0887ac600f9f1cff3d82c61d4d700a1fa84d597b88db59", size = 78509 },
+ { url = "https://files.pythonhosted.org/packages/87/fb/99f81ac72ae23375f22b7afdb7642aba97c00a713c217124420147681a2f/mako-1.3.10-py3-none-any.whl", hash = "sha256:baef24a52fc4fc514a0887ac600f9f1cff3d82c61d4d700a1fa84d597b88db59", size = 78509, upload-time = "2025-04-10T12:50:53.297Z" },
]
[[package]]
name = "marimo"
-version = "0.20.4"
+version = "0.21.1"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "click" },
@@ -2446,18 +2456,18 @@ dependencies = [
{ name = "uvicorn" },
{ name = "websockets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/9c/eb/3c19ce54be3440cece96bffbb2027c57d618ab336d53ef6a962f570ce468/marimo-0.20.4.tar.gz", hash = "sha256:7f46ce837953717504673e33e47fb42a619bf5f9d2000d1a3a3b1663a47c5498", size = 38336283 }
+sdist = { url = "https://files.pythonhosted.org/packages/e6/32/5e85046f1c79050cd1c29db95ed1626285c2dcd2f41b7cd60a46656770be/marimo-0.21.1.tar.gz", hash = "sha256:d18ceec8aca9b4e1def60247e1abe2fec476abeef51e2d0d5d1079ea37f86f55", size = 38367517, upload-time = "2026-03-18T15:05:54.124Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/56/62/bf2c92cc7aab69edfb3907e9bf102c37c1e16b8f4bc6ddd4258ae4c8063c/marimo-0.20.4-py3-none-any.whl", hash = "sha256:3200edd7209f470821b58deb4a45e0577889fab1052748d77088f18bef7d9dd8", size = 38752562 },
+ { url = "https://files.pythonhosted.org/packages/c8/82/69a545901f1c33fa8c1541a0ef1e4238adeb262ce77993ae892692fe967b/marimo-0.21.1-py3-none-any.whl", hash = "sha256:ad184f2ef297a5206bc3219ebbae3ea33e0ba9902ddb68c171bd2c44724db35a", size = 38785023, upload-time = "2026-03-18T15:05:49.463Z" },
]
[[package]]
name = "markdown"
version = "3.10.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/2b/f4/69fa6ed85ae003c2378ffa8f6d2e3234662abd02c10d216c0ba96081a238/markdown-3.10.2.tar.gz", hash = "sha256:994d51325d25ad8aa7ce4ebaec003febcce822c3f8c911e3b17c52f7f589f950", size = 368805 }
+sdist = { url = "https://files.pythonhosted.org/packages/2b/f4/69fa6ed85ae003c2378ffa8f6d2e3234662abd02c10d216c0ba96081a238/markdown-3.10.2.tar.gz", hash = "sha256:994d51325d25ad8aa7ce4ebaec003febcce822c3f8c911e3b17c52f7f589f950", size = 368805, upload-time = "2026-02-09T14:57:26.942Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/de/1f/77fa3081e4f66ca3576c896ae5d31c3002ac6607f9747d2e3aa49227e464/markdown-3.10.2-py3-none-any.whl", hash = "sha256:e91464b71ae3ee7afd3017d9f358ef0baf158fd9a298db92f1d4761133824c36", size = 108180 },
+ { url = "https://files.pythonhosted.org/packages/de/1f/77fa3081e4f66ca3576c896ae5d31c3002ac6607f9747d2e3aa49227e464/markdown-3.10.2-py3-none-any.whl", hash = "sha256:e91464b71ae3ee7afd3017d9f358ef0baf158fd9a298db92f1d4761133824c36", size = 108180, upload-time = "2026-02-09T14:57:25.787Z" },
]
[[package]]
@@ -2467,9 +2477,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "mdurl" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070 }
+sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070, upload-time = "2025-08-11T12:57:52.854Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321 },
+ { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321, upload-time = "2025-08-11T12:57:51.923Z" },
]
[package.optional-dependencies]
@@ -2484,19 +2494,19 @@ plugins = [
name = "markupsafe"
version = "3.0.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313 }
+sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615 },
- { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020 },
- { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332 },
- { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947 },
- { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962 },
- { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760 },
- { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529 },
- { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015 },
- { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540 },
- { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105 },
- { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906 },
+ { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615, upload-time = "2025-09-27T18:36:30.854Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020, upload-time = "2025-09-27T18:36:31.971Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332, upload-time = "2025-09-27T18:36:32.813Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947, upload-time = "2025-09-27T18:36:33.86Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962, upload-time = "2025-09-27T18:36:35.099Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760, upload-time = "2025-09-27T18:36:36.001Z" },
+ { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529, upload-time = "2025-09-27T18:36:36.906Z" },
+ { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015, upload-time = "2025-09-27T18:36:37.868Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540, upload-time = "2025-09-27T18:36:38.761Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105, upload-time = "2025-09-27T18:36:39.701Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906, upload-time = "2025-09-27T18:36:40.689Z" },
]
[[package]]
@@ -2506,9 +2516,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "packaging" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/55/79/de6c16cc902f4fc372236926b0ce2ab7845268dcc30fb2fbb7f71b418631/marshmallow-3.26.2.tar.gz", hash = "sha256:bbe2adb5a03e6e3571b573f42527c6fe926e17467833660bebd11593ab8dfd57", size = 222095 }
+sdist = { url = "https://files.pythonhosted.org/packages/55/79/de6c16cc902f4fc372236926b0ce2ab7845268dcc30fb2fbb7f71b418631/marshmallow-3.26.2.tar.gz", hash = "sha256:bbe2adb5a03e6e3571b573f42527c6fe926e17467833660bebd11593ab8dfd57", size = 222095, upload-time = "2025-12-22T06:53:53.309Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/be/2f/5108cb3ee4ba6501748c4908b908e55f42a5b66245b4cfe0c99326e1ef6e/marshmallow-3.26.2-py3-none-any.whl", hash = "sha256:013fa8a3c4c276c24d26d84ce934dc964e2aa794345a0f8c7e5a7191482c8a73", size = 50964 },
+ { url = "https://files.pythonhosted.org/packages/be/2f/5108cb3ee4ba6501748c4908b908e55f42a5b66245b4cfe0c99326e1ef6e/marshmallow-3.26.2-py3-none-any.whl", hash = "sha256:013fa8a3c4c276c24d26d84ce934dc964e2aa794345a0f8c7e5a7191482c8a73", size = 50964, upload-time = "2025-12-22T06:53:51.801Z" },
]
[[package]]
@@ -2526,15 +2536,15 @@ dependencies = [
{ name = "pyparsing" },
{ name = "python-dateutil" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/8a/76/d3c6e3a13fe484ebe7718d14e269c9569c4eb0020a968a327acb3b9a8fe6/matplotlib-3.10.8.tar.gz", hash = "sha256:2299372c19d56bcd35cf05a2738308758d32b9eaed2371898d8f5bd33f084aa3", size = 34806269 }
+sdist = { url = "https://files.pythonhosted.org/packages/8a/76/d3c6e3a13fe484ebe7718d14e269c9569c4eb0020a968a327acb3b9a8fe6/matplotlib-3.10.8.tar.gz", hash = "sha256:2299372c19d56bcd35cf05a2738308758d32b9eaed2371898d8f5bd33f084aa3", size = 34806269, upload-time = "2025-12-10T22:56:51.155Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9e/67/f997cdcbb514012eb0d10cd2b4b332667997fb5ebe26b8d41d04962fa0e6/matplotlib-3.10.8-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:64fcc24778ca0404ce0cb7b6b77ae1f4c7231cdd60e6778f999ee05cbd581b9a", size = 8260453 },
- { url = "https://files.pythonhosted.org/packages/7e/65/07d5f5c7f7c994f12c768708bd2e17a4f01a2b0f44a1c9eccad872433e2e/matplotlib-3.10.8-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b9a5ca4ac220a0cdd1ba6bcba3608547117d30468fefce49bb26f55c1a3d5c58", size = 8148321 },
- { url = "https://files.pythonhosted.org/packages/3e/f3/c5195b1ae57ef85339fd7285dfb603b22c8b4e79114bae5f4f0fcf688677/matplotlib-3.10.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3ab4aabc72de4ff77b3ec33a6d78a68227bf1123465887f9905ba79184a1cc04", size = 8716944 },
- { url = "https://files.pythonhosted.org/packages/00/f9/7638f5cc82ec8a7aa005de48622eecc3ed7c9854b96ba15bd76b7fd27574/matplotlib-3.10.8-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24d50994d8c5816ddc35411e50a86ab05f575e2530c02752e02538122613371f", size = 9550099 },
- { url = "https://files.pythonhosted.org/packages/57/61/78cd5920d35b29fd2a0fe894de8adf672ff52939d2e9b43cb83cd5ce1bc7/matplotlib-3.10.8-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:99eefd13c0dc3b3c1b4d561c1169e65fe47aab7b8158754d7c084088e2329466", size = 9613040 },
- { url = "https://files.pythonhosted.org/packages/30/4e/c10f171b6e2f44d9e3a2b96efa38b1677439d79c99357600a62cc1e9594e/matplotlib-3.10.8-cp312-cp312-win_amd64.whl", hash = "sha256:dd80ecb295460a5d9d260df63c43f4afbdd832d725a531f008dad1664f458adf", size = 8142717 },
- { url = "https://files.pythonhosted.org/packages/f1/76/934db220026b5fef85f45d51a738b91dea7d70207581063cd9bd8fafcf74/matplotlib-3.10.8-cp312-cp312-win_arm64.whl", hash = "sha256:3c624e43ed56313651bc18a47f838b60d7b8032ed348911c54906b130b20071b", size = 8012751 },
+ { url = "https://files.pythonhosted.org/packages/9e/67/f997cdcbb514012eb0d10cd2b4b332667997fb5ebe26b8d41d04962fa0e6/matplotlib-3.10.8-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:64fcc24778ca0404ce0cb7b6b77ae1f4c7231cdd60e6778f999ee05cbd581b9a", size = 8260453, upload-time = "2025-12-10T22:55:30.709Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/65/07d5f5c7f7c994f12c768708bd2e17a4f01a2b0f44a1c9eccad872433e2e/matplotlib-3.10.8-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b9a5ca4ac220a0cdd1ba6bcba3608547117d30468fefce49bb26f55c1a3d5c58", size = 8148321, upload-time = "2025-12-10T22:55:33.265Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/f3/c5195b1ae57ef85339fd7285dfb603b22c8b4e79114bae5f4f0fcf688677/matplotlib-3.10.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3ab4aabc72de4ff77b3ec33a6d78a68227bf1123465887f9905ba79184a1cc04", size = 8716944, upload-time = "2025-12-10T22:55:34.922Z" },
+ { url = "https://files.pythonhosted.org/packages/00/f9/7638f5cc82ec8a7aa005de48622eecc3ed7c9854b96ba15bd76b7fd27574/matplotlib-3.10.8-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24d50994d8c5816ddc35411e50a86ab05f575e2530c02752e02538122613371f", size = 9550099, upload-time = "2025-12-10T22:55:36.789Z" },
+ { url = "https://files.pythonhosted.org/packages/57/61/78cd5920d35b29fd2a0fe894de8adf672ff52939d2e9b43cb83cd5ce1bc7/matplotlib-3.10.8-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:99eefd13c0dc3b3c1b4d561c1169e65fe47aab7b8158754d7c084088e2329466", size = 9613040, upload-time = "2025-12-10T22:55:38.715Z" },
+ { url = "https://files.pythonhosted.org/packages/30/4e/c10f171b6e2f44d9e3a2b96efa38b1677439d79c99357600a62cc1e9594e/matplotlib-3.10.8-cp312-cp312-win_amd64.whl", hash = "sha256:dd80ecb295460a5d9d260df63c43f4afbdd832d725a531f008dad1664f458adf", size = 8142717, upload-time = "2025-12-10T22:55:41.103Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/76/934db220026b5fef85f45d51a738b91dea7d70207581063cd9bd8fafcf74/matplotlib-3.10.8-cp312-cp312-win_arm64.whl", hash = "sha256:3c624e43ed56313651bc18a47f838b60d7b8032ed348911c54906b130b20071b", size = 8012751, upload-time = "2025-12-10T22:55:42.684Z" },
]
[[package]]
@@ -2544,9 +2554,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "traitlets" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c7/74/97e72a36efd4ae2bccb3463284300f8953f199b5ffbc04cbbb0ec78f74b1/matplotlib_inline-0.2.1.tar.gz", hash = "sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe", size = 8110 }
+sdist = { url = "https://files.pythonhosted.org/packages/c7/74/97e72a36efd4ae2bccb3463284300f8953f199b5ffbc04cbbb0ec78f74b1/matplotlib_inline-0.2.1.tar.gz", hash = "sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe", size = 8110, upload-time = "2025-10-23T09:00:22.126Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/af/33/ee4519fa02ed11a94aef9559552f3b17bb863f2ecfe1a35dc7f548cde231/matplotlib_inline-0.2.1-py3-none-any.whl", hash = "sha256:d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76", size = 9516 },
+ { url = "https://files.pythonhosted.org/packages/af/33/ee4519fa02ed11a94aef9559552f3b17bb863f2ecfe1a35dc7f548cde231/matplotlib_inline-0.2.1-py3-none-any.whl", hash = "sha256:d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76", size = 9516, upload-time = "2025-10-23T09:00:20.675Z" },
]
[[package]]
@@ -2569,9 +2579,9 @@ dependencies = [
{ name = "typing-inspection" },
{ name = "uvicorn", marker = "sys_platform != 'emscripten'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/fc/6d/62e76bbb8144d6ed86e202b5edd8a4cb631e7c8130f3f4893c3f90262b10/mcp-1.26.0.tar.gz", hash = "sha256:db6e2ef491eecc1a0d93711a76f28dec2e05999f93afd48795da1c1137142c66", size = 608005 }
+sdist = { url = "https://files.pythonhosted.org/packages/fc/6d/62e76bbb8144d6ed86e202b5edd8a4cb631e7c8130f3f4893c3f90262b10/mcp-1.26.0.tar.gz", hash = "sha256:db6e2ef491eecc1a0d93711a76f28dec2e05999f93afd48795da1c1137142c66", size = 608005, upload-time = "2026-01-24T19:40:32.468Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fd/d9/eaa1f80170d2b7c5ba23f3b59f766f3a0bb41155fbc32a69adfa1adaaef9/mcp-1.26.0-py3-none-any.whl", hash = "sha256:904a21c33c25aa98ddbeb47273033c435e595bbacfdb177f4bd87f6dceebe1ca", size = 233615 },
+ { url = "https://files.pythonhosted.org/packages/fd/d9/eaa1f80170d2b7c5ba23f3b59f766f3a0bb41155fbc32a69adfa1adaaef9/mcp-1.26.0-py3-none-any.whl", hash = "sha256:904a21c33c25aa98ddbeb47273033c435e595bbacfdb177f4bd87f6dceebe1ca", size = 233615, upload-time = "2026-01-24T19:40:30.652Z" },
]
[[package]]
@@ -2581,18 +2591,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "markdown-it-py" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b2/fd/a756d36c0bfba5f6e39a1cdbdbfdd448dc02692467d83816dff4592a1ebc/mdit_py_plugins-0.5.0.tar.gz", hash = "sha256:f4918cb50119f50446560513a8e311d574ff6aaed72606ddae6d35716fe809c6", size = 44655 }
+sdist = { url = "https://files.pythonhosted.org/packages/b2/fd/a756d36c0bfba5f6e39a1cdbdbfdd448dc02692467d83816dff4592a1ebc/mdit_py_plugins-0.5.0.tar.gz", hash = "sha256:f4918cb50119f50446560513a8e311d574ff6aaed72606ddae6d35716fe809c6", size = 44655, upload-time = "2025-08-11T07:25:49.083Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fb/86/dd6e5db36df29e76c7a7699123569a4a18c1623ce68d826ed96c62643cae/mdit_py_plugins-0.5.0-py3-none-any.whl", hash = "sha256:07a08422fc1936a5d26d146759e9155ea466e842f5ab2f7d2266dd084c8dab1f", size = 57205 },
+ { url = "https://files.pythonhosted.org/packages/fb/86/dd6e5db36df29e76c7a7699123569a4a18c1623ce68d826ed96c62643cae/mdit_py_plugins-0.5.0-py3-none-any.whl", hash = "sha256:07a08422fc1936a5d26d146759e9155ea466e842f5ab2f7d2266dd084c8dab1f", size = 57205, upload-time = "2025-08-11T07:25:47.597Z" },
]
[[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 }
+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 },
+ { 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]]
@@ -2620,9 +2630,9 @@ dependencies = [
{ name = "sqlalchemy" },
{ name = "waitress", marker = "sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/8b/94/a583069259500182c070db798118aee7877d37bd1981e49af5ae9113b100/mlflow-3.10.1.tar.gz", hash = "sha256:609509ccc15eb9c17861748e537cbffa57d2caf488ff3e30efed62951a6977cf", size = 9542009 }
+sdist = { url = "https://files.pythonhosted.org/packages/8b/94/a583069259500182c070db798118aee7877d37bd1981e49af5ae9113b100/mlflow-3.10.1.tar.gz", hash = "sha256:609509ccc15eb9c17861748e537cbffa57d2caf488ff3e30efed62951a6977cf", size = 9542009, upload-time = "2026-03-05T11:15:22.677Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c2/18/ca682e740b90d5a930981cd375f878a453a713741b5b7d9c0d9516552b5e/mlflow-3.10.1-py3-none-any.whl", hash = "sha256:17bfbd76d4071498d6199c3fc53945e5f50997d14e3e2a6bfd4dc3cb8957f209", size = 10165655 },
+ { url = "https://files.pythonhosted.org/packages/c2/18/ca682e740b90d5a930981cd375f878a453a713741b5b7d9c0d9516552b5e/mlflow-3.10.1-py3-none-any.whl", hash = "sha256:17bfbd76d4071498d6199c3fc53945e5f50997d14e3e2a6bfd4dc3cb8957f209", size = 10165655, upload-time = "2026-03-05T11:15:19.541Z" },
]
[[package]]
@@ -2650,9 +2660,9 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "uvicorn" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/71/65/5b2c28e74c167ba8a5afe59399ef44291a0f140487f534db1900f09f59f6/mlflow_skinny-3.10.1.tar.gz", hash = "sha256:3d1c5c30245b6e7065b492b09dd47be7528e0a14c4266b782fe58f9bcd1e0be0", size = 2478631 }
+sdist = { url = "https://files.pythonhosted.org/packages/71/65/5b2c28e74c167ba8a5afe59399ef44291a0f140487f534db1900f09f59f6/mlflow_skinny-3.10.1.tar.gz", hash = "sha256:3d1c5c30245b6e7065b492b09dd47be7528e0a14c4266b782fe58f9bcd1e0be0", size = 2478631, upload-time = "2026-03-05T10:49:01.47Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4b/52/17460157271e70b0d8444d27f8ad730ef7d95fb82fac59dc19f11519b921/mlflow_skinny-3.10.1-py3-none-any.whl", hash = "sha256:df1dd507d8ddadf53bfab2423c76cdcafc235cd1a46921a06d1a6b4dd04b023c", size = 2987098 },
+ { url = "https://files.pythonhosted.org/packages/4b/52/17460157271e70b0d8444d27f8ad730ef7d95fb82fac59dc19f11519b921/mlflow_skinny-3.10.1-py3-none-any.whl", hash = "sha256:df1dd507d8ddadf53bfab2423c76cdcafc235cd1a46921a06d1a6b4dd04b023c", size = 2987098, upload-time = "2026-03-05T10:48:59.566Z" },
]
[[package]]
@@ -2669,38 +2679,38 @@ dependencies = [
{ name = "protobuf" },
{ name = "pydantic" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/06/7a/4c3c1b7a52a5956b1af81bdd90892019d5927460d520bd4f52063f423029/mlflow_tracing-3.10.1.tar.gz", hash = "sha256:9e54d63cf776d29bb9e2278d35bf27352b93f7b35c8fe8452e9ba5e2a3c5b78f", size = 1243515 }
+sdist = { url = "https://files.pythonhosted.org/packages/06/7a/4c3c1b7a52a5956b1af81bdd90892019d5927460d520bd4f52063f423029/mlflow_tracing-3.10.1.tar.gz", hash = "sha256:9e54d63cf776d29bb9e2278d35bf27352b93f7b35c8fe8452e9ba5e2a3c5b78f", size = 1243515, upload-time = "2026-03-05T10:46:29.164Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b6/9a/7ac1db2ed7b5e21c50fadf925a53f0c77452a8a855ee4a119b084c2fa5d3/mlflow_tracing-3.10.1-py3-none-any.whl", hash = "sha256:649c722cc58d54f1f40559023a6bd6f3f08150c3ce3c3bb27972b3e795890f47", size = 1495173 },
+ { url = "https://files.pythonhosted.org/packages/b6/9a/7ac1db2ed7b5e21c50fadf925a53f0c77452a8a855ee4a119b084c2fa5d3/mlflow_tracing-3.10.1-py3-none-any.whl", hash = "sha256:649c722cc58d54f1f40559023a6bd6f3f08150c3ce3c3bb27972b3e795890f47", size = 1495173, upload-time = "2026-03-05T10:46:27.395Z" },
]
[[package]]
name = "mmh3"
version = "5.2.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/91/1a/edb23803a168f070ded7a3014c6d706f63b90c84ccc024f89d794a3b7a6d/mmh3-5.2.1.tar.gz", hash = "sha256:bbea5b775f0ac84945191fb83f845a6fd9a21a03ea7f2e187defac7e401616ad", size = 33775 }
+sdist = { url = "https://files.pythonhosted.org/packages/91/1a/edb23803a168f070ded7a3014c6d706f63b90c84ccc024f89d794a3b7a6d/mmh3-5.2.1.tar.gz", hash = "sha256:bbea5b775f0ac84945191fb83f845a6fd9a21a03ea7f2e187defac7e401616ad", size = 33775, upload-time = "2026-03-05T15:55:57.716Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/92/94/bc5c3b573b40a328c4d141c20e399039ada95e5e2a661df3425c5165fd84/mmh3-5.2.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0cc21533878e5586b80d74c281d7f8da7932bc8ace50b8d5f6dbf7e3935f63f1", size = 56087 },
- { url = "https://files.pythonhosted.org/packages/f6/80/64a02cc3e95c3af0aaa2590849d9ed24a9f14bb93537addde688e039b7c3/mmh3-5.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4eda76074cfca2787c8cf1bec603eaebdddd8b061ad5502f85cddae998d54f00", size = 40500 },
- { url = "https://files.pythonhosted.org/packages/8b/72/e6d6602ce18adf4ddcd0e48f2e13590cc92a536199e52109f46f259d3c46/mmh3-5.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:eee884572b06bbe8a2b54f424dbd996139442cf83c76478e1ec162512e0dd2c7", size = 40034 },
- { url = "https://files.pythonhosted.org/packages/59/c2/bf4537a8e58e21886ef16477041238cab5095c836496e19fafc34b7445d2/mmh3-5.2.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0d0b7e803191db5f714d264044e06189c8ccd3219e936cc184f07106bd17fd7b", size = 97292 },
- { url = "https://files.pythonhosted.org/packages/e5/e2/51ed62063b44d10b06d975ac87af287729eeb5e3ed9772f7584a17983e90/mmh3-5.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e6c219e375f6341d0959af814296372d265a8ca1af63825f65e2e87c618f006", size = 103274 },
- { url = "https://files.pythonhosted.org/packages/75/ce/12a7524dca59eec92e5b31fdb13ede1e98eda277cf2b786cf73bfbc24e81/mmh3-5.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:26fb5b9c3946bf7f1daed7b37e0c03898a6f062149127570f8ede346390a0825", size = 106158 },
- { url = "https://files.pythonhosted.org/packages/86/1f/d3ba6dd322d01ab5d44c46c8f0c38ab6bbbf9b5e20e666dfc05bf4a23604/mmh3-5.2.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3c38d142c706201db5b2345166eeef1e7740e3e2422b470b8ba5c8727a9b4c7a", size = 113005 },
- { url = "https://files.pythonhosted.org/packages/b6/a9/15d6b6f913294ea41b44d901741298e3718e1cb89ee626b3694625826a43/mmh3-5.2.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50885073e2909251d4718634a191c49ae5f527e5e1736d738e365c3e8be8f22b", size = 120744 },
- { url = "https://files.pythonhosted.org/packages/76/b3/70b73923fd0284c439860ff5c871b20210dfdbe9a6b9dd0ee6496d77f174/mmh3-5.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b3f99e1756fc48ad507b95e5d86f2fb21b3d495012ff13e6592ebac14033f166", size = 99111 },
- { url = "https://files.pythonhosted.org/packages/dd/38/99f7f75cd27d10d8b899a1caafb9d531f3903e4d54d572220e3d8ac35e89/mmh3-5.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:62815d2c67f2dd1be76a253d88af4e1da19aeaa1820146dec52cf8bee2958b16", size = 98623 },
- { url = "https://files.pythonhosted.org/packages/fd/68/6e292c0853e204c44d2f03ea5f090be3317a0e2d9417ecb62c9eb27687df/mmh3-5.2.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8f767ba0911602ddef289404e33835a61168314ebd3c729833db2ed685824211", size = 106437 },
- { url = "https://files.pythonhosted.org/packages/dd/c6/fedd7284c459cfb58721d461fcf5607a4c1f5d9ab195d113d51d10164d16/mmh3-5.2.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:67e41a497bac88cc1de96eeba56eeb933c39d54bc227352f8455aa87c4ca4000", size = 110002 },
- { url = "https://files.pythonhosted.org/packages/3b/ac/ca8e0c19a34f5b71390171d2ff0b9f7f187550d66801a731bb68925126a4/mmh3-5.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3d74a03fb57757ece25aa4b3c1c60157a1cece37a020542785f942e2f827eed5", size = 97507 },
- { url = "https://files.pythonhosted.org/packages/df/94/6ebb9094cfc7ac5e7950776b9d13a66bb4a34f83814f32ba2abc9494fc68/mmh3-5.2.1-cp312-cp312-win32.whl", hash = "sha256:7374d6e3ef72afe49697ecd683f3da12f4fc06af2d75433d0580c6746d2fa025", size = 40773 },
- { url = "https://files.pythonhosted.org/packages/5b/3c/cd3527198cf159495966551c84a5f36805a10ac17b294f41f67b83f6a4d6/mmh3-5.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:3a9fed49c6ce4ed7e73f13182760c65c816da006debe67f37635580dfb0fae00", size = 41560 },
- { url = "https://files.pythonhosted.org/packages/15/96/6fe5ebd0f970a076e3ed5512871ce7569447b962e96c125528a2f9724470/mmh3-5.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:bbfcb95d9a744e6e2827dfc66ad10e1020e0cac255eb7f85652832d5a264c2fc", size = 39313 },
+ { url = "https://files.pythonhosted.org/packages/92/94/bc5c3b573b40a328c4d141c20e399039ada95e5e2a661df3425c5165fd84/mmh3-5.2.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0cc21533878e5586b80d74c281d7f8da7932bc8ace50b8d5f6dbf7e3935f63f1", size = 56087, upload-time = "2026-03-05T15:54:21.92Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/80/64a02cc3e95c3af0aaa2590849d9ed24a9f14bb93537addde688e039b7c3/mmh3-5.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4eda76074cfca2787c8cf1bec603eaebdddd8b061ad5502f85cddae998d54f00", size = 40500, upload-time = "2026-03-05T15:54:22.953Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/72/e6d6602ce18adf4ddcd0e48f2e13590cc92a536199e52109f46f259d3c46/mmh3-5.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:eee884572b06bbe8a2b54f424dbd996139442cf83c76478e1ec162512e0dd2c7", size = 40034, upload-time = "2026-03-05T15:54:23.943Z" },
+ { url = "https://files.pythonhosted.org/packages/59/c2/bf4537a8e58e21886ef16477041238cab5095c836496e19fafc34b7445d2/mmh3-5.2.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0d0b7e803191db5f714d264044e06189c8ccd3219e936cc184f07106bd17fd7b", size = 97292, upload-time = "2026-03-05T15:54:25.335Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/e2/51ed62063b44d10b06d975ac87af287729eeb5e3ed9772f7584a17983e90/mmh3-5.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e6c219e375f6341d0959af814296372d265a8ca1af63825f65e2e87c618f006", size = 103274, upload-time = "2026-03-05T15:54:26.44Z" },
+ { url = "https://files.pythonhosted.org/packages/75/ce/12a7524dca59eec92e5b31fdb13ede1e98eda277cf2b786cf73bfbc24e81/mmh3-5.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:26fb5b9c3946bf7f1daed7b37e0c03898a6f062149127570f8ede346390a0825", size = 106158, upload-time = "2026-03-05T15:54:28.578Z" },
+ { url = "https://files.pythonhosted.org/packages/86/1f/d3ba6dd322d01ab5d44c46c8f0c38ab6bbbf9b5e20e666dfc05bf4a23604/mmh3-5.2.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3c38d142c706201db5b2345166eeef1e7740e3e2422b470b8ba5c8727a9b4c7a", size = 113005, upload-time = "2026-03-05T15:54:29.767Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/a9/15d6b6f913294ea41b44d901741298e3718e1cb89ee626b3694625826a43/mmh3-5.2.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50885073e2909251d4718634a191c49ae5f527e5e1736d738e365c3e8be8f22b", size = 120744, upload-time = "2026-03-05T15:54:30.931Z" },
+ { url = "https://files.pythonhosted.org/packages/76/b3/70b73923fd0284c439860ff5c871b20210dfdbe9a6b9dd0ee6496d77f174/mmh3-5.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b3f99e1756fc48ad507b95e5d86f2fb21b3d495012ff13e6592ebac14033f166", size = 99111, upload-time = "2026-03-05T15:54:32.353Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/38/99f7f75cd27d10d8b899a1caafb9d531f3903e4d54d572220e3d8ac35e89/mmh3-5.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:62815d2c67f2dd1be76a253d88af4e1da19aeaa1820146dec52cf8bee2958b16", size = 98623, upload-time = "2026-03-05T15:54:33.801Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/68/6e292c0853e204c44d2f03ea5f090be3317a0e2d9417ecb62c9eb27687df/mmh3-5.2.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8f767ba0911602ddef289404e33835a61168314ebd3c729833db2ed685824211", size = 106437, upload-time = "2026-03-05T15:54:35.177Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/c6/fedd7284c459cfb58721d461fcf5607a4c1f5d9ab195d113d51d10164d16/mmh3-5.2.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:67e41a497bac88cc1de96eeba56eeb933c39d54bc227352f8455aa87c4ca4000", size = 110002, upload-time = "2026-03-05T15:54:36.673Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/ac/ca8e0c19a34f5b71390171d2ff0b9f7f187550d66801a731bb68925126a4/mmh3-5.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3d74a03fb57757ece25aa4b3c1c60157a1cece37a020542785f942e2f827eed5", size = 97507, upload-time = "2026-03-05T15:54:37.804Z" },
+ { url = "https://files.pythonhosted.org/packages/df/94/6ebb9094cfc7ac5e7950776b9d13a66bb4a34f83814f32ba2abc9494fc68/mmh3-5.2.1-cp312-cp312-win32.whl", hash = "sha256:7374d6e3ef72afe49697ecd683f3da12f4fc06af2d75433d0580c6746d2fa025", size = 40773, upload-time = "2026-03-05T15:54:40.077Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/cd3527198cf159495966551c84a5f36805a10ac17b294f41f67b83f6a4d6/mmh3-5.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:3a9fed49c6ce4ed7e73f13182760c65c816da006debe67f37635580dfb0fae00", size = 41560, upload-time = "2026-03-05T15:54:41.148Z" },
+ { url = "https://files.pythonhosted.org/packages/15/96/6fe5ebd0f970a076e3ed5512871ce7569447b962e96c125528a2f9724470/mmh3-5.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:bbfcb95d9a744e6e2827dfc66ad10e1020e0cac255eb7f85652832d5a264c2fc", size = 39313, upload-time = "2026-03-05T15:54:42.171Z" },
]
[[package]]
name = "modal"
-version = "1.3.5"
+version = "1.4.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "aiohttp" },
@@ -2718,44 +2728,44 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "watchfiles" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/32/fd/f4a684209dab54d7dc9d92f48d779b30d04aa8b4c6dd1395d6c61967ee34/modal-1.3.5.tar.gz", hash = "sha256:2e320e7dbc8995ce0769796a9027248a8b976b519469cc4599d6855a1a53a123", size = 655193 }
+sdist = { url = "https://files.pythonhosted.org/packages/b8/31/70526ac8d7546253edec8d3f7f99ffb2ae00519a0c68d394eaa48b96c4a6/modal-1.4.0.tar.gz", hash = "sha256:340743f7284fded151c84d54bb6fc545f68f93e064656364c198dadc9d0421df", size = 682472, upload-time = "2026-03-25T21:41:35.946Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/39/aa5c773a4dddef833f1c846bb4204b442588b99a1d15ab7818157e66b32c/modal-1.3.5-py3-none-any.whl", hash = "sha256:67e5d3635c2c355d63b3e30f9012dd2bc9c38d5747349335c7ba9da65edca1cb", size = 755272 },
+ { url = "https://files.pythonhosted.org/packages/a4/eb/e0f8154f4f9a80552b4d2ff962994714f907c1298c60783d80697bc12e66/modal-1.4.0-py3-none-any.whl", hash = "sha256:eb41eb52d3cc472ad04cff0f7957ca41d9a53961eca46f2058b3039934d6ff49", size = 784602, upload-time = "2026-03-25T21:41:34.136Z" },
]
[[package]]
name = "more-itertools"
version = "10.8.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ea/5d/38b681d3fce7a266dd9ab73c66959406d565b3e85f21d5e66e1181d93721/more_itertools-10.8.0.tar.gz", hash = "sha256:f638ddf8a1a0d134181275fb5d58b086ead7c6a72429ad725c67503f13ba30bd", size = 137431 }
+sdist = { url = "https://files.pythonhosted.org/packages/ea/5d/38b681d3fce7a266dd9ab73c66959406d565b3e85f21d5e66e1181d93721/more_itertools-10.8.0.tar.gz", hash = "sha256:f638ddf8a1a0d134181275fb5d58b086ead7c6a72429ad725c67503f13ba30bd", size = 137431, upload-time = "2025-09-02T15:23:11.018Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a4/8e/469e5a4a2f5855992e425f3cb33804cc07bf18d48f2db061aec61ce50270/more_itertools-10.8.0-py3-none-any.whl", hash = "sha256:52d4362373dcf7c52546bc4af9a86ee7c4579df9a8dc268be0a2f949d376cc9b", size = 69667 },
+ { url = "https://files.pythonhosted.org/packages/a4/8e/469e5a4a2f5855992e425f3cb33804cc07bf18d48f2db061aec61ce50270/more_itertools-10.8.0-py3-none-any.whl", hash = "sha256:52d4362373dcf7c52546bc4af9a86ee7c4579df9a8dc268be0a2f949d376cc9b", size = 69667, upload-time = "2025-09-02T15:23:09.635Z" },
]
[[package]]
name = "mpmath"
version = "1.3.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106 }
+sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198 },
+ { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" },
]
[[package]]
name = "msgpack"
version = "1.1.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/4d/f2/bfb55a6236ed8725a96b0aa3acbd0ec17588e6a2c3b62a93eb513ed8783f/msgpack-1.1.2.tar.gz", hash = "sha256:3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e", size = 173581 }
+sdist = { url = "https://files.pythonhosted.org/packages/4d/f2/bfb55a6236ed8725a96b0aa3acbd0ec17588e6a2c3b62a93eb513ed8783f/msgpack-1.1.2.tar.gz", hash = "sha256:3b60763c1373dd60f398488069bcdc703cd08a711477b5d480eecc9f9626f47e", size = 173581, upload-time = "2025-10-08T09:15:56.596Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ad/bd/8b0d01c756203fbab65d265859749860682ccd2a59594609aeec3a144efa/msgpack-1.1.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:70a0dff9d1f8da25179ffcf880e10cf1aad55fdb63cd59c9a49a1b82290062aa", size = 81939 },
- { url = "https://files.pythonhosted.org/packages/34/68/ba4f155f793a74c1483d4bdef136e1023f7bcba557f0db4ef3db3c665cf1/msgpack-1.1.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:446abdd8b94b55c800ac34b102dffd2f6aa0ce643c55dfc017ad89347db3dbdb", size = 85064 },
- { url = "https://files.pythonhosted.org/packages/f2/60/a064b0345fc36c4c3d2c743c82d9100c40388d77f0b48b2f04d6041dbec1/msgpack-1.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c63eea553c69ab05b6747901b97d620bb2a690633c77f23feb0c6a947a8a7b8f", size = 417131 },
- { url = "https://files.pythonhosted.org/packages/65/92/a5100f7185a800a5d29f8d14041f61475b9de465ffcc0f3b9fba606e4505/msgpack-1.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:372839311ccf6bdaf39b00b61288e0557916c3729529b301c52c2d88842add42", size = 427556 },
- { url = "https://files.pythonhosted.org/packages/f5/87/ffe21d1bf7d9991354ad93949286f643b2bb6ddbeab66373922b44c3b8cc/msgpack-1.1.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2929af52106ca73fcb28576218476ffbb531a036c2adbcf54a3664de124303e9", size = 404920 },
- { url = "https://files.pythonhosted.org/packages/ff/41/8543ed2b8604f7c0d89ce066f42007faac1eaa7d79a81555f206a5cdb889/msgpack-1.1.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:be52a8fc79e45b0364210eef5234a7cf8d330836d0a64dfbb878efa903d84620", size = 415013 },
- { url = "https://files.pythonhosted.org/packages/41/0d/2ddfaa8b7e1cee6c490d46cb0a39742b19e2481600a7a0e96537e9c22f43/msgpack-1.1.2-cp312-cp312-win32.whl", hash = "sha256:1fff3d825d7859ac888b0fbda39a42d59193543920eda9d9bea44d958a878029", size = 65096 },
- { url = "https://files.pythonhosted.org/packages/8c/ec/d431eb7941fb55a31dd6ca3404d41fbb52d99172df2e7707754488390910/msgpack-1.1.2-cp312-cp312-win_amd64.whl", hash = "sha256:1de460f0403172cff81169a30b9a92b260cb809c4cb7e2fc79ae8d0510c78b6b", size = 72708 },
- { url = "https://files.pythonhosted.org/packages/c5/31/5b1a1f70eb0e87d1678e9624908f86317787b536060641d6798e3cf70ace/msgpack-1.1.2-cp312-cp312-win_arm64.whl", hash = "sha256:be5980f3ee0e6bd44f3a9e9dea01054f175b50c3e6cdb692bc9424c0bbb8bf69", size = 64119 },
+ { url = "https://files.pythonhosted.org/packages/ad/bd/8b0d01c756203fbab65d265859749860682ccd2a59594609aeec3a144efa/msgpack-1.1.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:70a0dff9d1f8da25179ffcf880e10cf1aad55fdb63cd59c9a49a1b82290062aa", size = 81939, upload-time = "2025-10-08T09:15:01.472Z" },
+ { url = "https://files.pythonhosted.org/packages/34/68/ba4f155f793a74c1483d4bdef136e1023f7bcba557f0db4ef3db3c665cf1/msgpack-1.1.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:446abdd8b94b55c800ac34b102dffd2f6aa0ce643c55dfc017ad89347db3dbdb", size = 85064, upload-time = "2025-10-08T09:15:03.764Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/60/a064b0345fc36c4c3d2c743c82d9100c40388d77f0b48b2f04d6041dbec1/msgpack-1.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c63eea553c69ab05b6747901b97d620bb2a690633c77f23feb0c6a947a8a7b8f", size = 417131, upload-time = "2025-10-08T09:15:05.136Z" },
+ { url = "https://files.pythonhosted.org/packages/65/92/a5100f7185a800a5d29f8d14041f61475b9de465ffcc0f3b9fba606e4505/msgpack-1.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:372839311ccf6bdaf39b00b61288e0557916c3729529b301c52c2d88842add42", size = 427556, upload-time = "2025-10-08T09:15:06.837Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/87/ffe21d1bf7d9991354ad93949286f643b2bb6ddbeab66373922b44c3b8cc/msgpack-1.1.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2929af52106ca73fcb28576218476ffbb531a036c2adbcf54a3664de124303e9", size = 404920, upload-time = "2025-10-08T09:15:08.179Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/41/8543ed2b8604f7c0d89ce066f42007faac1eaa7d79a81555f206a5cdb889/msgpack-1.1.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:be52a8fc79e45b0364210eef5234a7cf8d330836d0a64dfbb878efa903d84620", size = 415013, upload-time = "2025-10-08T09:15:09.83Z" },
+ { url = "https://files.pythonhosted.org/packages/41/0d/2ddfaa8b7e1cee6c490d46cb0a39742b19e2481600a7a0e96537e9c22f43/msgpack-1.1.2-cp312-cp312-win32.whl", hash = "sha256:1fff3d825d7859ac888b0fbda39a42d59193543920eda9d9bea44d958a878029", size = 65096, upload-time = "2025-10-08T09:15:11.11Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/ec/d431eb7941fb55a31dd6ca3404d41fbb52d99172df2e7707754488390910/msgpack-1.1.2-cp312-cp312-win_amd64.whl", hash = "sha256:1de460f0403172cff81169a30b9a92b260cb809c4cb7e2fc79ae8d0510c78b6b", size = 72708, upload-time = "2025-10-08T09:15:12.554Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/31/5b1a1f70eb0e87d1678e9624908f86317787b536060641d6798e3cf70ace/msgpack-1.1.2-cp312-cp312-win_arm64.whl", hash = "sha256:be5980f3ee0e6bd44f3a9e9dea01054f175b50c3e6cdb692bc9424c0bbb8bf69", size = 64119, upload-time = "2025-10-08T09:15:13.589Z" },
]
[[package]]
@@ -2766,25 +2776,25 @@ dependencies = [
{ name = "msgpack" },
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/08/94/61e8aee142733ebfdc400a05bdac6e1763c4514bba3b42743d223f388450/msgpack-numpy-0.4.8.tar.gz", hash = "sha256:c667d3180513422f9c7545be5eec5d296dcbb357e06f72ed39cc683797556e69", size = 10923 }
+sdist = { url = "https://files.pythonhosted.org/packages/08/94/61e8aee142733ebfdc400a05bdac6e1763c4514bba3b42743d223f388450/msgpack-numpy-0.4.8.tar.gz", hash = "sha256:c667d3180513422f9c7545be5eec5d296dcbb357e06f72ed39cc683797556e69", size = 10923, upload-time = "2022-06-09T03:43:08.739Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9b/5d/f25ac7d4fb77cbd53ddc6d05d833c6bf52b12770a44fa9a447eed470ca9a/msgpack_numpy-0.4.8-py2.py3-none-any.whl", hash = "sha256:773c19d4dfbae1b3c7b791083e2caf66983bb19b40901646f61d8731554ae3da", size = 6919 },
+ { url = "https://files.pythonhosted.org/packages/9b/5d/f25ac7d4fb77cbd53ddc6d05d833c6bf52b12770a44fa9a447eed470ca9a/msgpack_numpy-0.4.8-py2.py3-none-any.whl", hash = "sha256:773c19d4dfbae1b3c7b791083e2caf66983bb19b40901646f61d8731554ae3da", size = 6919, upload-time = "2022-06-09T03:43:06.82Z" },
]
[[package]]
name = "msgspec"
version = "0.20.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ea/9c/bfbd12955a49180cbd234c5d29ec6f74fe641698f0cd9df154a854fc8a15/msgspec-0.20.0.tar.gz", hash = "sha256:692349e588fde322875f8d3025ac01689fead5901e7fb18d6870a44519d62a29", size = 317862 }
+sdist = { url = "https://files.pythonhosted.org/packages/ea/9c/bfbd12955a49180cbd234c5d29ec6f74fe641698f0cd9df154a854fc8a15/msgspec-0.20.0.tar.gz", hash = "sha256:692349e588fde322875f8d3025ac01689fead5901e7fb18d6870a44519d62a29", size = 317862, upload-time = "2025-11-24T03:56:28.934Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d9/6f/1e25eee957e58e3afb2a44b94fa95e06cebc4c236193ed0de3012fff1e19/msgspec-0.20.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2aba22e2e302e9231e85edc24f27ba1f524d43c223ef5765bd8624c7df9ec0a5", size = 196391 },
- { url = "https://files.pythonhosted.org/packages/7f/ee/af51d090ada641d4b264992a486435ba3ef5b5634bc27e6eb002f71cef7d/msgspec-0.20.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:716284f898ab2547fedd72a93bb940375de9fbfe77538f05779632dc34afdfde", size = 188644 },
- { url = "https://files.pythonhosted.org/packages/49/d6/9709ee093b7742362c2934bfb1bbe791a1e09bed3ea5d8a18ce552fbfd73/msgspec-0.20.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:558ed73315efa51b1538fa8f1d3b22c8c5ff6d9a2a62eff87d25829b94fc5054", size = 218852 },
- { url = "https://files.pythonhosted.org/packages/5c/a2/488517a43ccf5a4b6b6eca6dd4ede0bd82b043d1539dd6bb908a19f8efd3/msgspec-0.20.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:509ac1362a1d53aa66798c9b9fd76872d7faa30fcf89b2fba3bcbfd559d56eb0", size = 224937 },
- { url = "https://files.pythonhosted.org/packages/d5/e8/49b832808aa23b85d4f090d1d2e48a4e3834871415031ed7c5fe48723156/msgspec-0.20.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1353c2c93423602e7dea1aa4c92f3391fdfc25ff40e0bacf81d34dbc68adb870", size = 222858 },
- { url = "https://files.pythonhosted.org/packages/9f/56/1dc2fa53685dca9c3f243a6cbecd34e856858354e455b77f47ebd76cf5bf/msgspec-0.20.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cb33b5eb5adb3c33d749684471c6a165468395d7aa02d8867c15103b81e1da3e", size = 227248 },
- { url = "https://files.pythonhosted.org/packages/5a/51/aba940212c23b32eedce752896205912c2668472ed5b205fc33da28a6509/msgspec-0.20.0-cp312-cp312-win_amd64.whl", hash = "sha256:fb1d934e435dd3a2b8cf4bbf47a8757100b4a1cfdc2afdf227541199885cdacb", size = 190024 },
- { url = "https://files.pythonhosted.org/packages/41/ad/3b9f259d94f183daa9764fef33fdc7010f7ecffc29af977044fa47440a83/msgspec-0.20.0-cp312-cp312-win_arm64.whl", hash = "sha256:00648b1e19cf01b2be45444ba9dc961bd4c056ffb15706651e64e5d6ec6197b7", size = 175390 },
+ { url = "https://files.pythonhosted.org/packages/d9/6f/1e25eee957e58e3afb2a44b94fa95e06cebc4c236193ed0de3012fff1e19/msgspec-0.20.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2aba22e2e302e9231e85edc24f27ba1f524d43c223ef5765bd8624c7df9ec0a5", size = 196391, upload-time = "2025-11-24T03:55:32.677Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/ee/af51d090ada641d4b264992a486435ba3ef5b5634bc27e6eb002f71cef7d/msgspec-0.20.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:716284f898ab2547fedd72a93bb940375de9fbfe77538f05779632dc34afdfde", size = 188644, upload-time = "2025-11-24T03:55:33.934Z" },
+ { url = "https://files.pythonhosted.org/packages/49/d6/9709ee093b7742362c2934bfb1bbe791a1e09bed3ea5d8a18ce552fbfd73/msgspec-0.20.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:558ed73315efa51b1538fa8f1d3b22c8c5ff6d9a2a62eff87d25829b94fc5054", size = 218852, upload-time = "2025-11-24T03:55:35.575Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/a2/488517a43ccf5a4b6b6eca6dd4ede0bd82b043d1539dd6bb908a19f8efd3/msgspec-0.20.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:509ac1362a1d53aa66798c9b9fd76872d7faa30fcf89b2fba3bcbfd559d56eb0", size = 224937, upload-time = "2025-11-24T03:55:36.859Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/e8/49b832808aa23b85d4f090d1d2e48a4e3834871415031ed7c5fe48723156/msgspec-0.20.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1353c2c93423602e7dea1aa4c92f3391fdfc25ff40e0bacf81d34dbc68adb870", size = 222858, upload-time = "2025-11-24T03:55:38.187Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/56/1dc2fa53685dca9c3f243a6cbecd34e856858354e455b77f47ebd76cf5bf/msgspec-0.20.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cb33b5eb5adb3c33d749684471c6a165468395d7aa02d8867c15103b81e1da3e", size = 227248, upload-time = "2025-11-24T03:55:39.496Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/51/aba940212c23b32eedce752896205912c2668472ed5b205fc33da28a6509/msgspec-0.20.0-cp312-cp312-win_amd64.whl", hash = "sha256:fb1d934e435dd3a2b8cf4bbf47a8757100b4a1cfdc2afdf227541199885cdacb", size = 190024, upload-time = "2025-11-24T03:55:40.829Z" },
+ { url = "https://files.pythonhosted.org/packages/41/ad/3b9f259d94f183daa9764fef33fdc7010f7ecffc29af977044fa47440a83/msgspec-0.20.0-cp312-cp312-win_arm64.whl", hash = "sha256:00648b1e19cf01b2be45444ba9dc961bd4c056ffb15706651e64e5d6ec6197b7", size = 175390, upload-time = "2025-11-24T03:55:42.05Z" },
]
[[package]]
@@ -2820,27 +2830,27 @@ image = [
name = "multidict"
version = "6.7.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/1a/c2/c2d94cbe6ac1753f3fc980da97b3d930efe1da3af3c9f5125354436c073d/multidict-6.7.1.tar.gz", hash = "sha256:ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d", size = 102010 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/8d/9c/f20e0e2cf80e4b2e4b1c365bf5fe104ee633c751a724246262db8f1a0b13/multidict-6.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a90f75c956e32891a4eda3639ce6dd86e87105271f43d43442a3aedf3cddf172", size = 76893 },
- { url = "https://files.pythonhosted.org/packages/fe/cf/18ef143a81610136d3da8193da9d80bfe1cb548a1e2d1c775f26b23d024a/multidict-6.7.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fccb473e87eaa1382689053e4a4618e7ba7b9b9b8d6adf2027ee474597128cd", size = 45456 },
- { url = "https://files.pythonhosted.org/packages/a9/65/1caac9d4cd32e8433908683446eebc953e82d22b03d10d41a5f0fefe991b/multidict-6.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0fa96985700739c4c7853a43c0b3e169360d6855780021bfc6d0f1ce7c123e7", size = 43872 },
- { url = "https://files.pythonhosted.org/packages/cf/3b/d6bd75dc4f3ff7c73766e04e705b00ed6dbbaccf670d9e05a12b006f5a21/multidict-6.7.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cb2a55f408c3043e42b40cc8eecd575afa27b7e0b956dfb190de0f8499a57a53", size = 251018 },
- { url = "https://files.pythonhosted.org/packages/fd/80/c959c5933adedb9ac15152e4067c702a808ea183a8b64cf8f31af8ad3155/multidict-6.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb0ce7b2a32d09892b3dd6cc44877a0d02a33241fafca5f25c8b6b62374f8b75", size = 258883 },
- { url = "https://files.pythonhosted.org/packages/86/85/7ed40adafea3d4f1c8b916e3b5cc3a8e07dfcdcb9cd72800f4ed3ca1b387/multidict-6.7.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c3a32d23520ee37bf327d1e1a656fec76a2edd5c038bf43eddfa0572ec49c60b", size = 242413 },
- { url = "https://files.pythonhosted.org/packages/d2/57/b8565ff533e48595503c785f8361ff9a4fde4d67de25c207cd0ba3befd03/multidict-6.7.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c90fed18bffc0189ba814749fdcc102b536e83a9f738a9003e569acd540a733", size = 268404 },
- { url = "https://files.pythonhosted.org/packages/e0/50/9810c5c29350f7258180dfdcb2e52783a0632862eb334c4896ac717cebcb/multidict-6.7.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:da62917e6076f512daccfbbde27f46fed1c98fee202f0559adec8ee0de67f71a", size = 269456 },
- { url = "https://files.pythonhosted.org/packages/f3/8d/5e5be3ced1d12966fefb5c4ea3b2a5b480afcea36406559442c6e31d4a48/multidict-6.7.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfde23ef6ed9db7eaee6c37dcec08524cb43903c60b285b172b6c094711b3961", size = 256322 },
- { url = "https://files.pythonhosted.org/packages/31/6e/d8a26d81ac166a5592782d208dd90dfdc0a7a218adaa52b45a672b46c122/multidict-6.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3758692429e4e32f1ba0df23219cd0b4fc0a52f476726fff9337d1a57676a582", size = 253955 },
- { url = "https://files.pythonhosted.org/packages/59/4c/7c672c8aad41534ba619bcd4ade7a0dc87ed6b8b5c06149b85d3dd03f0cd/multidict-6.7.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:398c1478926eca669f2fd6a5856b6de9c0acf23a2cb59a14c0ba5844fa38077e", size = 251254 },
- { url = "https://files.pythonhosted.org/packages/7b/bd/84c24de512cbafbdbc39439f74e967f19570ce7924e3007174a29c348916/multidict-6.7.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c102791b1c4f3ab36ce4101154549105a53dc828f016356b3e3bcae2e3a039d3", size = 252059 },
- { url = "https://files.pythonhosted.org/packages/fa/ba/f5449385510825b73d01c2d4087bf6d2fccc20a2d42ac34df93191d3dd03/multidict-6.7.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:a088b62bd733e2ad12c50dad01b7d0166c30287c166e137433d3b410add807a6", size = 263588 },
- { url = "https://files.pythonhosted.org/packages/d7/11/afc7c677f68f75c84a69fe37184f0f82fce13ce4b92f49f3db280b7e92b3/multidict-6.7.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3d51ff4785d58d3f6c91bdbffcb5e1f7ddfda557727043aa20d20ec4f65e324a", size = 259642 },
- { url = "https://files.pythonhosted.org/packages/2b/17/ebb9644da78c4ab36403739e0e6e0e30ebb135b9caf3440825001a0bddcb/multidict-6.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc5907494fccf3e7d3f94f95c91d6336b092b5fc83811720fae5e2765890dfba", size = 251377 },
- { url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887 },
- { url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053 },
- { url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307 },
- { url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319 },
+sdist = { url = "https://files.pythonhosted.org/packages/1a/c2/c2d94cbe6ac1753f3fc980da97b3d930efe1da3af3c9f5125354436c073d/multidict-6.7.1.tar.gz", hash = "sha256:ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d", size = 102010, upload-time = "2026-01-26T02:46:45.979Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8d/9c/f20e0e2cf80e4b2e4b1c365bf5fe104ee633c751a724246262db8f1a0b13/multidict-6.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a90f75c956e32891a4eda3639ce6dd86e87105271f43d43442a3aedf3cddf172", size = 76893, upload-time = "2026-01-26T02:43:52.754Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/cf/18ef143a81610136d3da8193da9d80bfe1cb548a1e2d1c775f26b23d024a/multidict-6.7.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fccb473e87eaa1382689053e4a4618e7ba7b9b9b8d6adf2027ee474597128cd", size = 45456, upload-time = "2026-01-26T02:43:53.893Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/65/1caac9d4cd32e8433908683446eebc953e82d22b03d10d41a5f0fefe991b/multidict-6.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0fa96985700739c4c7853a43c0b3e169360d6855780021bfc6d0f1ce7c123e7", size = 43872, upload-time = "2026-01-26T02:43:55.041Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/3b/d6bd75dc4f3ff7c73766e04e705b00ed6dbbaccf670d9e05a12b006f5a21/multidict-6.7.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cb2a55f408c3043e42b40cc8eecd575afa27b7e0b956dfb190de0f8499a57a53", size = 251018, upload-time = "2026-01-26T02:43:56.198Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/80/c959c5933adedb9ac15152e4067c702a808ea183a8b64cf8f31af8ad3155/multidict-6.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb0ce7b2a32d09892b3dd6cc44877a0d02a33241fafca5f25c8b6b62374f8b75", size = 258883, upload-time = "2026-01-26T02:43:57.499Z" },
+ { url = "https://files.pythonhosted.org/packages/86/85/7ed40adafea3d4f1c8b916e3b5cc3a8e07dfcdcb9cd72800f4ed3ca1b387/multidict-6.7.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c3a32d23520ee37bf327d1e1a656fec76a2edd5c038bf43eddfa0572ec49c60b", size = 242413, upload-time = "2026-01-26T02:43:58.755Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/57/b8565ff533e48595503c785f8361ff9a4fde4d67de25c207cd0ba3befd03/multidict-6.7.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c90fed18bffc0189ba814749fdcc102b536e83a9f738a9003e569acd540a733", size = 268404, upload-time = "2026-01-26T02:44:00.216Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/50/9810c5c29350f7258180dfdcb2e52783a0632862eb334c4896ac717cebcb/multidict-6.7.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:da62917e6076f512daccfbbde27f46fed1c98fee202f0559adec8ee0de67f71a", size = 269456, upload-time = "2026-01-26T02:44:02.202Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/8d/5e5be3ced1d12966fefb5c4ea3b2a5b480afcea36406559442c6e31d4a48/multidict-6.7.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfde23ef6ed9db7eaee6c37dcec08524cb43903c60b285b172b6c094711b3961", size = 256322, upload-time = "2026-01-26T02:44:03.56Z" },
+ { url = "https://files.pythonhosted.org/packages/31/6e/d8a26d81ac166a5592782d208dd90dfdc0a7a218adaa52b45a672b46c122/multidict-6.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3758692429e4e32f1ba0df23219cd0b4fc0a52f476726fff9337d1a57676a582", size = 253955, upload-time = "2026-01-26T02:44:04.845Z" },
+ { url = "https://files.pythonhosted.org/packages/59/4c/7c672c8aad41534ba619bcd4ade7a0dc87ed6b8b5c06149b85d3dd03f0cd/multidict-6.7.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:398c1478926eca669f2fd6a5856b6de9c0acf23a2cb59a14c0ba5844fa38077e", size = 251254, upload-time = "2026-01-26T02:44:06.133Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/bd/84c24de512cbafbdbc39439f74e967f19570ce7924e3007174a29c348916/multidict-6.7.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c102791b1c4f3ab36ce4101154549105a53dc828f016356b3e3bcae2e3a039d3", size = 252059, upload-time = "2026-01-26T02:44:07.518Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/ba/f5449385510825b73d01c2d4087bf6d2fccc20a2d42ac34df93191d3dd03/multidict-6.7.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:a088b62bd733e2ad12c50dad01b7d0166c30287c166e137433d3b410add807a6", size = 263588, upload-time = "2026-01-26T02:44:09.382Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/11/afc7c677f68f75c84a69fe37184f0f82fce13ce4b92f49f3db280b7e92b3/multidict-6.7.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3d51ff4785d58d3f6c91bdbffcb5e1f7ddfda557727043aa20d20ec4f65e324a", size = 259642, upload-time = "2026-01-26T02:44:10.73Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/17/ebb9644da78c4ab36403739e0e6e0e30ebb135b9caf3440825001a0bddcb/multidict-6.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc5907494fccf3e7d3f94f95c91d6336b092b5fc83811720fae5e2765890dfba", size = 251377, upload-time = "2026-01-26T02:44:12.042Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887, upload-time = "2026-01-26T02:44:14.245Z" },
+ { url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053, upload-time = "2026-01-26T02:44:15.371Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307, upload-time = "2026-01-26T02:44:16.852Z" },
+ { url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319, upload-time = "2026-01-26T02:46:44.004Z" },
]
[[package]]
@@ -2850,49 +2860,58 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "dill" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b5/ae/04f39c5d0d0def03247c2893d6f2b83c136bf3320a2154d7b8858f2ba72d/multiprocess-0.70.16.tar.gz", hash = "sha256:161af703d4652a0e1410be6abccecde4a7ddffd19341be0a7011b94aeb171ac1", size = 1772603 }
+sdist = { url = "https://files.pythonhosted.org/packages/b5/ae/04f39c5d0d0def03247c2893d6f2b83c136bf3320a2154d7b8858f2ba72d/multiprocess-0.70.16.tar.gz", hash = "sha256:161af703d4652a0e1410be6abccecde4a7ddffd19341be0a7011b94aeb171ac1", size = 1772603, upload-time = "2024-01-28T18:52:34.85Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/bc/f7/7ec7fddc92e50714ea3745631f79bd9c96424cb2702632521028e57d3a36/multiprocess-0.70.16-py310-none-any.whl", hash = "sha256:c4a9944c67bd49f823687463660a2d6daae94c289adff97e0f9d696ba6371d02", size = 134824 },
- { url = "https://files.pythonhosted.org/packages/50/15/b56e50e8debaf439f44befec5b2af11db85f6e0f344c3113ae0be0593a91/multiprocess-0.70.16-py311-none-any.whl", hash = "sha256:af4cabb0dac72abfb1e794fa7855c325fd2b55a10a44628a3c1ad3311c04127a", size = 143519 },
- { url = "https://files.pythonhosted.org/packages/0a/7d/a988f258104dcd2ccf1ed40fdc97e26c4ac351eeaf81d76e266c52d84e2f/multiprocess-0.70.16-py312-none-any.whl", hash = "sha256:fc0544c531920dde3b00c29863377f87e1632601092ea2daca74e4beb40faa2e", size = 146741 },
- { url = "https://files.pythonhosted.org/packages/ea/89/38df130f2c799090c978b366cfdf5b96d08de5b29a4a293df7f7429fa50b/multiprocess-0.70.16-py38-none-any.whl", hash = "sha256:a71d82033454891091a226dfc319d0cfa8019a4e888ef9ca910372a446de4435", size = 132628 },
- { url = "https://files.pythonhosted.org/packages/da/d9/f7f9379981e39b8c2511c9e0326d212accacb82f12fbfdc1aa2ce2a7b2b6/multiprocess-0.70.16-py39-none-any.whl", hash = "sha256:a0bafd3ae1b732eac64be2e72038231c1ba97724b60b09400d68f229fcc2fbf3", size = 133351 },
+ { url = "https://files.pythonhosted.org/packages/bc/f7/7ec7fddc92e50714ea3745631f79bd9c96424cb2702632521028e57d3a36/multiprocess-0.70.16-py310-none-any.whl", hash = "sha256:c4a9944c67bd49f823687463660a2d6daae94c289adff97e0f9d696ba6371d02", size = 134824, upload-time = "2024-01-28T18:52:26.062Z" },
+ { url = "https://files.pythonhosted.org/packages/50/15/b56e50e8debaf439f44befec5b2af11db85f6e0f344c3113ae0be0593a91/multiprocess-0.70.16-py311-none-any.whl", hash = "sha256:af4cabb0dac72abfb1e794fa7855c325fd2b55a10a44628a3c1ad3311c04127a", size = 143519, upload-time = "2024-01-28T18:52:28.115Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/7d/a988f258104dcd2ccf1ed40fdc97e26c4ac351eeaf81d76e266c52d84e2f/multiprocess-0.70.16-py312-none-any.whl", hash = "sha256:fc0544c531920dde3b00c29863377f87e1632601092ea2daca74e4beb40faa2e", size = 146741, upload-time = "2024-01-28T18:52:29.395Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/89/38df130f2c799090c978b366cfdf5b96d08de5b29a4a293df7f7429fa50b/multiprocess-0.70.16-py38-none-any.whl", hash = "sha256:a71d82033454891091a226dfc319d0cfa8019a4e888ef9ca910372a446de4435", size = 132628, upload-time = "2024-01-28T18:52:30.853Z" },
+ { url = "https://files.pythonhosted.org/packages/da/d9/f7f9379981e39b8c2511c9e0326d212accacb82f12fbfdc1aa2ce2a7b2b6/multiprocess-0.70.16-py39-none-any.whl", hash = "sha256:a0bafd3ae1b732eac64be2e72038231c1ba97724b60b09400d68f229fcc2fbf3", size = 133351, upload-time = "2024-01-28T18:52:31.981Z" },
]
[[package]]
name = "mypy-extensions"
version = "1.1.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343 }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963 },
+ { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" },
]
[[package]]
name = "narwhals"
-version = "2.17.0"
+version = "2.18.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/75/59/81d0f4cad21484083466f278e6b392addd9f4205b48d45b5c8771670ebf8/narwhals-2.17.0.tar.gz", hash = "sha256:ebd5bc95bcfa2f8e89a8ac09e2765a63055162837208e67b42d6eeb6651d5e67", size = 620306 }
+sdist = { url = "https://files.pythonhosted.org/packages/59/96/45218c2fdec4c9f22178f905086e85ef1a6d63862dcc3cd68eb60f1867f5/narwhals-2.18.1.tar.gz", hash = "sha256:652a1fcc9d432bbf114846688884c215f17eb118aa640b7419295d2f910d2a8b", size = 620578, upload-time = "2026-03-24T15:11:25.456Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4b/27/20770bd6bf8fbe1e16f848ba21da9df061f38d2e6483952c29d2bb5d1d8b/narwhals-2.17.0-py3-none-any.whl", hash = "sha256:2ac5307b7c2b275a7d66eeda906b8605e3d7a760951e188dcfff86e8ebe083dd", size = 444897 },
+ { url = "https://files.pythonhosted.org/packages/3f/c3/06490e98393dcb4d6ce2bf331a39335375c300afaef526897881fbeae6ab/narwhals-2.18.1-py3-none-any.whl", hash = "sha256:a0a8bb80205323851338888ba3a12b4f65d352362c8a94be591244faf36504ad", size = 444952, upload-time = "2026-03-24T15:11:23.801Z" },
+]
+
+[[package]]
+name = "nats-py"
+version = "2.14.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/f8/b956c4621ba88748ed707c52e69f95b7a50c8914e750edca59a5bef84a76/nats_py-2.14.0.tar.gz", hash = "sha256:4ed02cb8e3b55c68074a063aa2687087115d805d1513297da90cb2068fb07bed", size = 120751 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f9/39/0e87753df1072254bac190b33ed34b264f28f6aa9bea0f01b7e818071756/nats_py-2.14.0-py3-none-any.whl", hash = "sha256:4116f5d2233ce16e63c3d5538fa40a5e207f75fcf42a741773929ddf1e29d19d", size = 82259 },
]
[[package]]
name = "nest-asyncio"
version = "1.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/83/f8/51569ac65d696c8ecbee95938f89d4abf00f47d58d48f6fbabfe8f0baefe/nest_asyncio-1.6.0.tar.gz", hash = "sha256:6f172d5449aca15afd6c646851f4e31e02c598d553a667e38cafa997cfec55fe", size = 7418 }
+sdist = { url = "https://files.pythonhosted.org/packages/83/f8/51569ac65d696c8ecbee95938f89d4abf00f47d58d48f6fbabfe8f0baefe/nest_asyncio-1.6.0.tar.gz", hash = "sha256:6f172d5449aca15afd6c646851f4e31e02c598d553a667e38cafa997cfec55fe", size = 7418, upload-time = "2024-01-21T14:25:19.227Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a0/c4/c2971a3ba4c6103a3d10c4b0f24f461ddc027f0f09763220cf35ca1401b3/nest_asyncio-1.6.0-py3-none-any.whl", hash = "sha256:87af6efd6b5e897c81050477ef65c62e2b2f35d51703cae01aff2905b1852e1c", size = 5195 },
+ { url = "https://files.pythonhosted.org/packages/a0/c4/c2971a3ba4c6103a3d10c4b0f24f461ddc027f0f09763220cf35ca1401b3/nest_asyncio-1.6.0-py3-none-any.whl", hash = "sha256:87af6efd6b5e897c81050477ef65c62e2b2f35d51703cae01aff2905b1852e1c", size = 5195, upload-time = "2024-01-21T14:25:17.223Z" },
]
[[package]]
name = "networkx"
version = "3.6.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/6a/51/63fe664f3908c97be9d2e4f1158eb633317598cfa6e1fc14af5383f17512/networkx-3.6.1.tar.gz", hash = "sha256:26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509", size = 2517025 }
+sdist = { url = "https://files.pythonhosted.org/packages/6a/51/63fe664f3908c97be9d2e4f1158eb633317598cfa6e1fc14af5383f17512/networkx-3.6.1.tar.gz", hash = "sha256:26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509", size = 2517025, upload-time = "2025-12-08T17:02:39.908Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl", hash = "sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762", size = 2068504 },
+ { url = "https://files.pythonhosted.org/packages/9e/c9/b2622292ea83fbb4ec318f5b9ab867d0a28ab43c5717bb85b0a5f6b3b0a4/networkx-3.6.1-py3-none-any.whl", hash = "sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762", size = 2068504, upload-time = "2025-12-08T17:02:38.159Z" },
]
[[package]]
@@ -2905,18 +2924,18 @@ dependencies = [
{ name = "regex" },
{ name = "tqdm" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/e1/8f/915e1c12df07c70ed779d18ab83d065718a926e70d3ea33eb0cd66ffb7c0/nltk-3.9.3.tar.gz", hash = "sha256:cb5945d6424a98d694c2b9a0264519fab4363711065a46aa0ae7a2195b92e71f", size = 2923673 }
+sdist = { url = "https://files.pythonhosted.org/packages/e1/8f/915e1c12df07c70ed779d18ab83d065718a926e70d3ea33eb0cd66ffb7c0/nltk-3.9.3.tar.gz", hash = "sha256:cb5945d6424a98d694c2b9a0264519fab4363711065a46aa0ae7a2195b92e71f", size = 2923673, upload-time = "2026-02-24T12:05:53.833Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c2/7e/9af5a710a1236e4772de8dfcc6af942a561327bb9f42b5b4a24d0cf100fd/nltk-3.9.3-py3-none-any.whl", hash = "sha256:60b3db6e9995b3dd976b1f0fa7dec22069b2677e759c28eb69b62ddd44870522", size = 1525385 },
+ { url = "https://files.pythonhosted.org/packages/c2/7e/9af5a710a1236e4772de8dfcc6af942a561327bb9f42b5b4a24d0cf100fd/nltk-3.9.3-py3-none-any.whl", hash = "sha256:60b3db6e9995b3dd976b1f0fa7dec22069b2677e759c28eb69b62ddd44870522", size = 1525385, upload-time = "2026-02-24T12:05:46.54Z" },
]
[[package]]
name = "nodeenv"
version = "1.10.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611 }
+sdist = { url = "https://files.pythonhosted.org/packages/24/bf/d1bda4f6168e0b2e9e5958945e01910052158313224ada5ce1fb2e1113b8/nodeenv-1.10.0.tar.gz", hash = "sha256:996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb", size = 55611, upload-time = "2025-12-20T14:08:54.006Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438 },
+ { url = "https://files.pythonhosted.org/packages/88/b2/d0896bdcdc8d28a7fc5717c305f1a861c26e18c05047949fb371034d98bd/nodeenv-1.10.0-py2.py3-none-any.whl", hash = "sha256:5bb13e3eed2923615535339b3c620e76779af4cb4c6a90deccc9e36b274d3827", size = 23438, upload-time = "2025-12-20T14:08:52.782Z" },
]
[[package]]
@@ -2927,31 +2946,31 @@ dependencies = [
{ name = "llvmlite" },
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/23/c9/a0fb41787d01d621046138da30f6c2100d80857bf34b3390dd68040f27a3/numba-0.64.0.tar.gz", hash = "sha256:95e7300af648baa3308127b1955b52ce6d11889d16e8cfe637b4f85d2fca52b1", size = 2765679 }
+sdist = { url = "https://files.pythonhosted.org/packages/23/c9/a0fb41787d01d621046138da30f6c2100d80857bf34b3390dd68040f27a3/numba-0.64.0.tar.gz", hash = "sha256:95e7300af648baa3308127b1955b52ce6d11889d16e8cfe637b4f85d2fca52b1", size = 2765679, upload-time = "2026-02-18T18:41:20.974Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/70/a6/9fc52cb4f0d5e6d8b5f4d81615bc01012e3cf24e1052a60f17a68deb8092/numba-0.64.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:69440a8e8bc1a81028446f06b363e28635aa67bd51b1e498023f03b812e0ce68", size = 2683418 },
- { url = "https://files.pythonhosted.org/packages/9b/89/1a74ea99b180b7a5587b0301ed1b183a2937c4b4b67f7994689b5d36fc34/numba-0.64.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f13721011f693ba558b8dd4e4db7f2640462bba1b855bdc804be45bbeb55031a", size = 3804087 },
- { url = "https://files.pythonhosted.org/packages/91/e1/583c647404b15f807410510fec1eb9b80cb8474165940b7749f026f21cbc/numba-0.64.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e0b180b1133f2b5d8b3f09d96b6d7a9e51a7da5dda3c09e998b5bcfac85d222c", size = 3504309 },
- { url = "https://files.pythonhosted.org/packages/85/23/0fce5789b8a5035e7ace21216a468143f3144e02013252116616c58339aa/numba-0.64.0-cp312-cp312-win_amd64.whl", hash = "sha256:e63dc94023b47894849b8b106db28ccb98b49d5498b98878fac1a38f83ac007a", size = 2752740 },
+ { url = "https://files.pythonhosted.org/packages/70/a6/9fc52cb4f0d5e6d8b5f4d81615bc01012e3cf24e1052a60f17a68deb8092/numba-0.64.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:69440a8e8bc1a81028446f06b363e28635aa67bd51b1e498023f03b812e0ce68", size = 2683418, upload-time = "2026-02-18T18:40:59.886Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/89/1a74ea99b180b7a5587b0301ed1b183a2937c4b4b67f7994689b5d36fc34/numba-0.64.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f13721011f693ba558b8dd4e4db7f2640462bba1b855bdc804be45bbeb55031a", size = 3804087, upload-time = "2026-02-18T18:41:01.699Z" },
+ { url = "https://files.pythonhosted.org/packages/91/e1/583c647404b15f807410510fec1eb9b80cb8474165940b7749f026f21cbc/numba-0.64.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e0b180b1133f2b5d8b3f09d96b6d7a9e51a7da5dda3c09e998b5bcfac85d222c", size = 3504309, upload-time = "2026-02-18T18:41:03.252Z" },
+ { url = "https://files.pythonhosted.org/packages/85/23/0fce5789b8a5035e7ace21216a468143f3144e02013252116616c58339aa/numba-0.64.0-cp312-cp312-win_amd64.whl", hash = "sha256:e63dc94023b47894849b8b106db28ccb98b49d5498b98878fac1a38f83ac007a", size = 2752740, upload-time = "2026-02-18T18:41:05.097Z" },
]
[[package]]
name = "numpy"
version = "2.4.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/10/8b/c265f4823726ab832de836cdd184d0986dcf94480f81e8739692a7ac7af2/numpy-2.4.3.tar.gz", hash = "sha256:483a201202b73495f00dbc83796c6ae63137a9bdade074f7648b3e32613412dd", size = 20727743 }
+sdist = { url = "https://files.pythonhosted.org/packages/10/8b/c265f4823726ab832de836cdd184d0986dcf94480f81e8739692a7ac7af2/numpy-2.4.3.tar.gz", hash = "sha256:483a201202b73495f00dbc83796c6ae63137a9bdade074f7648b3e32613412dd", size = 20727743, upload-time = "2026-03-09T07:58:53.426Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a9/ed/6388632536f9788cea23a3a1b629f25b43eaacd7d7377e5d6bc7b9deb69b/numpy-2.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61b0cbabbb6126c8df63b9a3a0c4b1f44ebca5e12ff6997b80fcf267fb3150ef", size = 16669628 },
- { url = "https://files.pythonhosted.org/packages/74/1b/ee2abfc68e1ce728b2958b6ba831d65c62e1b13ce3017c13943f8f9b5b2e/numpy-2.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7395e69ff32526710748f92cd8c9849b361830968ea3e24a676f272653e8983e", size = 14696872 },
- { url = "https://files.pythonhosted.org/packages/ba/d1/780400e915ff5638166f11ca9dc2c5815189f3d7cf6f8759a1685e586413/numpy-2.4.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:abdce0f71dcb4a00e4e77f3faf05e4616ceccfe72ccaa07f47ee79cda3b7b0f4", size = 5203489 },
- { url = "https://files.pythonhosted.org/packages/0b/bb/baffa907e9da4cc34a6e556d6d90e032f6d7a75ea47968ea92b4858826c4/numpy-2.4.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:48da3a4ee1336454b07497ff7ec83903efa5505792c4e6d9bf83d99dc07a1e18", size = 6550814 },
- { url = "https://files.pythonhosted.org/packages/7b/12/8c9f0c6c95f76aeb20fc4a699c33e9f827fa0d0f857747c73bb7b17af945/numpy-2.4.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:32e3bef222ad6b052280311d1d60db8e259e4947052c3ae7dd6817451fc8a4c5", size = 15666601 },
- { url = "https://files.pythonhosted.org/packages/bd/79/cc665495e4d57d0aa6fbcc0aa57aa82671dfc78fbf95fe733ed86d98f52a/numpy-2.4.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7dd01a46700b1967487141a66ac1a3cf0dd8ebf1f08db37d46389401512ca97", size = 16621358 },
- { url = "https://files.pythonhosted.org/packages/a8/40/b4ecb7224af1065c3539f5ecfff879d090de09608ad1008f02c05c770cb3/numpy-2.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:76f0f283506c28b12bba319c0fab98217e9f9b54e6160e9c79e9f7348ba32e9c", size = 17016135 },
- { url = "https://files.pythonhosted.org/packages/f7/b1/6a88e888052eed951afed7a142dcdf3b149a030ca59b4c71eef085858e43/numpy-2.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:737f630a337364665aba3b5a77e56a68cc42d350edd010c345d65a3efa3addcc", size = 18345816 },
- { url = "https://files.pythonhosted.org/packages/f3/8f/103a60c5f8c3d7fc678c19cd7b2476110da689ccb80bc18050efbaeae183/numpy-2.4.3-cp312-cp312-win32.whl", hash = "sha256:26952e18d82a1dbbc2f008d402021baa8d6fc8e84347a2072a25e08b46d698b9", size = 5960132 },
- { url = "https://files.pythonhosted.org/packages/d7/7c/f5ee1bf6ed888494978046a809df2882aad35d414b622893322df7286879/numpy-2.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:65f3c2455188f09678355f5cae1f959a06b778bc66d535da07bf2ef20cd319d5", size = 12316144 },
- { url = "https://files.pythonhosted.org/packages/71/46/8d1cb3f7a00f2fb6394140e7e6623696e54c6318a9d9691bb4904672cf42/numpy-2.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:2abad5c7fef172b3377502bde47892439bae394a71bc329f31df0fd829b41a9e", size = 10220364 },
+ { url = "https://files.pythonhosted.org/packages/a9/ed/6388632536f9788cea23a3a1b629f25b43eaacd7d7377e5d6bc7b9deb69b/numpy-2.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:61b0cbabbb6126c8df63b9a3a0c4b1f44ebca5e12ff6997b80fcf267fb3150ef", size = 16669628, upload-time = "2026-03-09T07:56:24.252Z" },
+ { url = "https://files.pythonhosted.org/packages/74/1b/ee2abfc68e1ce728b2958b6ba831d65c62e1b13ce3017c13943f8f9b5b2e/numpy-2.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7395e69ff32526710748f92cd8c9849b361830968ea3e24a676f272653e8983e", size = 14696872, upload-time = "2026-03-09T07:56:26.991Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/d1/780400e915ff5638166f11ca9dc2c5815189f3d7cf6f8759a1685e586413/numpy-2.4.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:abdce0f71dcb4a00e4e77f3faf05e4616ceccfe72ccaa07f47ee79cda3b7b0f4", size = 5203489, upload-time = "2026-03-09T07:56:29.414Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/bb/baffa907e9da4cc34a6e556d6d90e032f6d7a75ea47968ea92b4858826c4/numpy-2.4.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:48da3a4ee1336454b07497ff7ec83903efa5505792c4e6d9bf83d99dc07a1e18", size = 6550814, upload-time = "2026-03-09T07:56:32.225Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/12/8c9f0c6c95f76aeb20fc4a699c33e9f827fa0d0f857747c73bb7b17af945/numpy-2.4.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:32e3bef222ad6b052280311d1d60db8e259e4947052c3ae7dd6817451fc8a4c5", size = 15666601, upload-time = "2026-03-09T07:56:34.461Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/79/cc665495e4d57d0aa6fbcc0aa57aa82671dfc78fbf95fe733ed86d98f52a/numpy-2.4.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7dd01a46700b1967487141a66ac1a3cf0dd8ebf1f08db37d46389401512ca97", size = 16621358, upload-time = "2026-03-09T07:56:36.852Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/40/b4ecb7224af1065c3539f5ecfff879d090de09608ad1008f02c05c770cb3/numpy-2.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:76f0f283506c28b12bba319c0fab98217e9f9b54e6160e9c79e9f7348ba32e9c", size = 17016135, upload-time = "2026-03-09T07:56:39.337Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/b1/6a88e888052eed951afed7a142dcdf3b149a030ca59b4c71eef085858e43/numpy-2.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:737f630a337364665aba3b5a77e56a68cc42d350edd010c345d65a3efa3addcc", size = 18345816, upload-time = "2026-03-09T07:56:42.31Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/8f/103a60c5f8c3d7fc678c19cd7b2476110da689ccb80bc18050efbaeae183/numpy-2.4.3-cp312-cp312-win32.whl", hash = "sha256:26952e18d82a1dbbc2f008d402021baa8d6fc8e84347a2072a25e08b46d698b9", size = 5960132, upload-time = "2026-03-09T07:56:44.851Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/7c/f5ee1bf6ed888494978046a809df2882aad35d414b622893322df7286879/numpy-2.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:65f3c2455188f09678355f5cae1f959a06b778bc66d535da07bf2ef20cd319d5", size = 12316144, upload-time = "2026-03-09T07:56:47.057Z" },
+ { url = "https://files.pythonhosted.org/packages/71/46/8d1cb3f7a00f2fb6394140e7e6623696e54c6318a9d9691bb4904672cf42/numpy-2.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:2abad5c7fef172b3377502bde47892439bae394a71bc329f31df0fd829b41a9e", size = 10220364, upload-time = "2026-03-09T07:56:49.849Z" },
]
[[package]]
@@ -2959,8 +2978,8 @@ name = "nvidia-cublas-cu12"
version = "12.8.4.1"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/29/99/db44d685f0e257ff0e213ade1964fc459b4a690a73293220e98feb3307cf/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:b86f6dd8935884615a0683b663891d43781b819ac4f2ba2b0c9604676af346d0", size = 590537124 },
- { url = "https://files.pythonhosted.org/packages/dc/61/e24b560ab2e2eaeb3c839129175fb330dfcfc29e5203196e5541a4c44682/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:8ac4e771d5a348c551b2a426eda6193c19aa630236b418086020df5ba9667142", size = 594346921 },
+ { url = "https://files.pythonhosted.org/packages/29/99/db44d685f0e257ff0e213ade1964fc459b4a690a73293220e98feb3307cf/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:b86f6dd8935884615a0683b663891d43781b819ac4f2ba2b0c9604676af346d0", size = 590537124, upload-time = "2025-03-07T01:43:53.556Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/61/e24b560ab2e2eaeb3c839129175fb330dfcfc29e5203196e5541a4c44682/nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:8ac4e771d5a348c551b2a426eda6193c19aa630236b418086020df5ba9667142", size = 594346921, upload-time = "2025-03-07T01:44:31.254Z" },
]
[[package]]
@@ -2968,8 +2987,8 @@ name = "nvidia-cuda-cupti-cu12"
version = "12.8.90"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d5/1f/b3bd73445e5cb342727fd24fe1f7b748f690b460acadc27ea22f904502c8/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:4412396548808ddfed3f17a467b104ba7751e6b58678a4b840675c56d21cf7ed", size = 9533318 },
- { url = "https://files.pythonhosted.org/packages/f8/02/2adcaa145158bf1a8295d83591d22e4103dbfd821bcaf6f3f53151ca4ffa/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea0cb07ebda26bb9b29ba82cda34849e73c166c18162d3913575b0c9db9a6182", size = 10248621 },
+ { url = "https://files.pythonhosted.org/packages/d5/1f/b3bd73445e5cb342727fd24fe1f7b748f690b460acadc27ea22f904502c8/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:4412396548808ddfed3f17a467b104ba7751e6b58678a4b840675c56d21cf7ed", size = 9533318, upload-time = "2025-03-07T01:40:10.421Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/02/2adcaa145158bf1a8295d83591d22e4103dbfd821bcaf6f3f53151ca4ffa/nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ea0cb07ebda26bb9b29ba82cda34849e73c166c18162d3913575b0c9db9a6182", size = 10248621, upload-time = "2025-03-07T01:40:21.213Z" },
]
[[package]]
@@ -2977,8 +2996,8 @@ name = "nvidia-cuda-nvrtc-cu12"
version = "12.8.93"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/05/6b/32f747947df2da6994e999492ab306a903659555dddc0fbdeb9d71f75e52/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:a7756528852ef889772a84c6cd89d41dfa74667e24cca16bb31f8f061e3e9994", size = 88040029 },
- { url = "https://files.pythonhosted.org/packages/eb/d1/e50d0acaab360482034b84b6e27ee83c6738f7d32182b987f9c7a4e32962/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fc1fec1e1637854b4c0a65fb9a8346b51dd9ee69e61ebaccc82058441f15bce8", size = 43106076 },
+ { url = "https://files.pythonhosted.org/packages/05/6b/32f747947df2da6994e999492ab306a903659555dddc0fbdeb9d71f75e52/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:a7756528852ef889772a84c6cd89d41dfa74667e24cca16bb31f8f061e3e9994", size = 88040029, upload-time = "2025-03-07T01:42:13.562Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/d1/e50d0acaab360482034b84b6e27ee83c6738f7d32182b987f9c7a4e32962/nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fc1fec1e1637854b4c0a65fb9a8346b51dd9ee69e61ebaccc82058441f15bce8", size = 43106076, upload-time = "2025-03-07T01:41:59.817Z" },
]
[[package]]
@@ -2986,8 +3005,8 @@ name = "nvidia-cuda-runtime-cu12"
version = "12.8.90"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7c/75/f865a3b236e4647605ea34cc450900854ba123834a5f1598e160b9530c3a/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:52bf7bbee900262ffefe5e9d5a2a69a30d97e2bc5bb6cc866688caa976966e3d", size = 965265 },
- { url = "https://files.pythonhosted.org/packages/0d/9b/a997b638fcd068ad6e4d53b8551a7d30fe8b404d6f1804abf1df69838932/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adade8dcbd0edf427b7204d480d6066d33902cab2a4707dcfc48a2d0fd44ab90", size = 954765 },
+ { url = "https://files.pythonhosted.org/packages/7c/75/f865a3b236e4647605ea34cc450900854ba123834a5f1598e160b9530c3a/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:52bf7bbee900262ffefe5e9d5a2a69a30d97e2bc5bb6cc866688caa976966e3d", size = 965265, upload-time = "2025-03-07T01:39:43.533Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/9b/a997b638fcd068ad6e4d53b8551a7d30fe8b404d6f1804abf1df69838932/nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:adade8dcbd0edf427b7204d480d6066d33902cab2a4707dcfc48a2d0fd44ab90", size = 954765, upload-time = "2025-03-07T01:40:01.615Z" },
]
[[package]]
@@ -2998,8 +3017,8 @@ dependencies = [
{ name = "nvidia-cublas-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/fa/41/e79269ce215c857c935fd86bcfe91a451a584dfc27f1e068f568b9ad1ab7/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:c9132cc3f8958447b4910a1720036d9eff5928cc3179b0a51fb6d167c6cc87d8", size = 705026878 },
- { url = "https://files.pythonhosted.org/packages/ba/51/e123d997aa098c61d029f76663dedbfb9bc8dcf8c60cbd6adbe42f76d049/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:949452be657fa16687d0930933f032835951ef0892b37d2d53824d1a84dc97a8", size = 706758467 },
+ { url = "https://files.pythonhosted.org/packages/fa/41/e79269ce215c857c935fd86bcfe91a451a584dfc27f1e068f568b9ad1ab7/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:c9132cc3f8958447b4910a1720036d9eff5928cc3179b0a51fb6d167c6cc87d8", size = 705026878, upload-time = "2025-06-06T21:52:51.348Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/51/e123d997aa098c61d029f76663dedbfb9bc8dcf8c60cbd6adbe42f76d049/nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:949452be657fa16687d0930933f032835951ef0892b37d2d53824d1a84dc97a8", size = 706758467, upload-time = "2025-06-06T21:54:08.597Z" },
]
[[package]]
@@ -3010,8 +3029,8 @@ dependencies = [
{ name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/60/bc/7771846d3a0272026c416fbb7e5f4c1f146d6d80704534d0b187dd6f4800/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:848ef7224d6305cdb2a4df928759dca7b1201874787083b6e7550dd6765ce69a", size = 193109211 },
- { url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695 },
+ { url = "https://files.pythonhosted.org/packages/60/bc/7771846d3a0272026c416fbb7e5f4c1f146d6d80704534d0b187dd6f4800/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:848ef7224d6305cdb2a4df928759dca7b1201874787083b6e7550dd6765ce69a", size = 193109211, upload-time = "2025-03-07T01:44:56.873Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/13/ee4e00f30e676b66ae65b4f08cb5bcbb8392c03f54f2d5413ea99a5d1c80/nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4d2dd21ec0b88cf61b62e6b43564355e5222e4a3fb394cac0db101f2dd0d4f74", size = 193118695, upload-time = "2025-03-07T01:45:27.821Z" },
]
[[package]]
@@ -3019,8 +3038,8 @@ name = "nvidia-cufile-cu12"
version = "1.13.1.3"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/bb/fe/1bcba1dfbfb8d01be8d93f07bfc502c93fa23afa6fd5ab3fc7c1df71038a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d069003be650e131b21c932ec3d8969c1715379251f8d23a1860554b1cb24fc", size = 1197834 },
- { url = "https://files.pythonhosted.org/packages/1e/f5/5607710447a6fe9fd9b3283956fceeee8a06cda1d2f56ce31371f595db2a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:4beb6d4cce47c1a0f1013d72e02b0994730359e17801d395bdcbf20cfb3bb00a", size = 1120705 },
+ { url = "https://files.pythonhosted.org/packages/bb/fe/1bcba1dfbfb8d01be8d93f07bfc502c93fa23afa6fd5ab3fc7c1df71038a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1d069003be650e131b21c932ec3d8969c1715379251f8d23a1860554b1cb24fc", size = 1197834, upload-time = "2025-03-07T01:45:50.723Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/f5/5607710447a6fe9fd9b3283956fceeee8a06cda1d2f56ce31371f595db2a/nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:4beb6d4cce47c1a0f1013d72e02b0994730359e17801d395bdcbf20cfb3bb00a", size = 1120705, upload-time = "2025-03-07T01:45:41.434Z" },
]
[[package]]
@@ -3028,8 +3047,8 @@ name = "nvidia-curand-cu12"
version = "10.3.9.90"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/45/5e/92aa15eca622a388b80fbf8375d4760738df6285b1e92c43d37390a33a9a/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:dfab99248034673b779bc6decafdc3404a8a6f502462201f2f31f11354204acd", size = 63625754 },
- { url = "https://files.pythonhosted.org/packages/fb/aa/6584b56dc84ebe9cf93226a5cde4d99080c8e90ab40f0c27bda7a0f29aa1/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:b32331d4f4df5d6eefa0554c565b626c7216f87a06a4f56fab27c3b68a830ec9", size = 63619976 },
+ { url = "https://files.pythonhosted.org/packages/45/5e/92aa15eca622a388b80fbf8375d4760738df6285b1e92c43d37390a33a9a/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:dfab99248034673b779bc6decafdc3404a8a6f502462201f2f31f11354204acd", size = 63625754, upload-time = "2025-03-07T01:46:10.735Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/aa/6584b56dc84ebe9cf93226a5cde4d99080c8e90ab40f0c27bda7a0f29aa1/nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:b32331d4f4df5d6eefa0554c565b626c7216f87a06a4f56fab27c3b68a830ec9", size = 63619976, upload-time = "2025-03-07T01:46:23.323Z" },
]
[[package]]
@@ -3042,8 +3061,8 @@ dependencies = [
{ name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/c8/32/f7cd6ce8a7690544d084ea21c26e910a97e077c9b7f07bf5de623ee19981/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:db9ed69dbef9715071232caa9b69c52ac7de3a95773c2db65bdba85916e4e5c0", size = 267229841 },
- { url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905 },
+ { url = "https://files.pythonhosted.org/packages/c8/32/f7cd6ce8a7690544d084ea21c26e910a97e077c9b7f07bf5de623ee19981/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:db9ed69dbef9715071232caa9b69c52ac7de3a95773c2db65bdba85916e4e5c0", size = 267229841, upload-time = "2025-03-07T01:46:54.356Z" },
+ { url = "https://files.pythonhosted.org/packages/85/48/9a13d2975803e8cf2777d5ed57b87a0b6ca2cc795f9a4f59796a910bfb80/nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:4376c11ad263152bd50ea295c05370360776f8c3427b30991df774f9fb26c450", size = 267506905, upload-time = "2025-03-07T01:47:16.273Z" },
]
[[package]]
@@ -3054,8 +3073,8 @@ dependencies = [
{ name = "nvidia-nvjitlink-cu12", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/bc/f7/cd777c4109681367721b00a106f491e0d0d15cfa1fd59672ce580ce42a97/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9b6c161cb130be1a07a27ea6923df8141f3c295852f4b260c65f18f3e0a091dc", size = 288117129 },
- { url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466 },
+ { url = "https://files.pythonhosted.org/packages/bc/f7/cd777c4109681367721b00a106f491e0d0d15cfa1fd59672ce580ce42a97/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9b6c161cb130be1a07a27ea6923df8141f3c295852f4b260c65f18f3e0a091dc", size = 288117129, upload-time = "2025-03-07T01:47:40.407Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/f5/e1854cb2f2bcd4280c44736c93550cc300ff4b8c95ebe370d0aa7d2b473d/nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ec05d76bbbd8b61b06a80e1eaf8cf4959c3d4ce8e711b65ebd0443bb0ebb13b", size = 288216466, upload-time = "2025-03-07T01:48:13.779Z" },
]
[[package]]
@@ -3063,17 +3082,17 @@ name = "nvidia-cusparselt-cu12"
version = "0.7.1"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/73/b9/598f6ff36faaece4b3c50d26f50e38661499ff34346f00e057760b35cc9d/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_aarch64.whl", hash = "sha256:8878dce784d0fac90131b6817b607e803c36e629ba34dc5b433471382196b6a5", size = 283835557 },
- { url = "https://files.pythonhosted.org/packages/56/79/12978b96bd44274fe38b5dde5cfb660b1d114f70a65ef962bcbbed99b549/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl", hash = "sha256:f1bb701d6b930d5a7cea44c19ceb973311500847f81b634d802b7b539dc55623", size = 287193691 },
+ { url = "https://files.pythonhosted.org/packages/73/b9/598f6ff36faaece4b3c50d26f50e38661499ff34346f00e057760b35cc9d/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_aarch64.whl", hash = "sha256:8878dce784d0fac90131b6817b607e803c36e629ba34dc5b433471382196b6a5", size = 283835557, upload-time = "2025-02-26T00:16:54.265Z" },
+ { url = "https://files.pythonhosted.org/packages/56/79/12978b96bd44274fe38b5dde5cfb660b1d114f70a65ef962bcbbed99b549/nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl", hash = "sha256:f1bb701d6b930d5a7cea44c19ceb973311500847f81b634d802b7b539dc55623", size = 287193691, upload-time = "2025-02-26T00:15:44.104Z" },
]
[[package]]
name = "nvidia-ml-py"
version = "12.575.51"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d2/4d/6f017814ed5ac28e08e1b8a62e3a258957da27582c89b7f8f8b15ac3d2e7/nvidia_ml_py-12.575.51.tar.gz", hash = "sha256:6490e93fea99eb4e966327ae18c6eec6256194c921f23459c8767aee28c54581", size = 46597 }
+sdist = { url = "https://files.pythonhosted.org/packages/d2/4d/6f017814ed5ac28e08e1b8a62e3a258957da27582c89b7f8f8b15ac3d2e7/nvidia_ml_py-12.575.51.tar.gz", hash = "sha256:6490e93fea99eb4e966327ae18c6eec6256194c921f23459c8767aee28c54581", size = 46597, upload-time = "2025-05-06T20:46:37.962Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/db/24/552ebea28f0570b9e65e62b50287a273804c9f997cc1c2dcd4e2d64b9e7d/nvidia_ml_py-12.575.51-py3-none-any.whl", hash = "sha256:eb8641800d98ce40a22f479873f34b482e214a7e80349c63be51c3919845446e", size = 47547 },
+ { url = "https://files.pythonhosted.org/packages/db/24/552ebea28f0570b9e65e62b50287a273804c9f997cc1c2dcd4e2d64b9e7d/nvidia_ml_py-12.575.51-py3-none-any.whl", hash = "sha256:eb8641800d98ce40a22f479873f34b482e214a7e80349c63be51c3919845446e", size = 47547, upload-time = "2025-05-06T20:46:36.457Z" },
]
[[package]]
@@ -3081,8 +3100,8 @@ name = "nvidia-nccl-cu12"
version = "2.27.5"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/bb/1c/857979db0ef194ca5e21478a0612bcdbbe59458d7694361882279947b349/nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:31432ad4d1fb1004eb0c56203dc9bc2178a1ba69d1d9e02d64a6938ab5e40e7a", size = 322400625 },
- { url = "https://files.pythonhosted.org/packages/6e/89/f7a07dc961b60645dbbf42e80f2bc85ade7feb9a491b11a1e973aa00071f/nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ad730cf15cb5d25fe849c6e6ca9eb5b76db16a80f13f425ac68d8e2e55624457", size = 322348229 },
+ { url = "https://files.pythonhosted.org/packages/bb/1c/857979db0ef194ca5e21478a0612bcdbbe59458d7694361882279947b349/nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:31432ad4d1fb1004eb0c56203dc9bc2178a1ba69d1d9e02d64a6938ab5e40e7a", size = 322400625, upload-time = "2025-06-26T04:11:04.496Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/89/f7a07dc961b60645dbbf42e80f2bc85ade7feb9a491b11a1e973aa00071f/nvidia_nccl_cu12-2.27.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ad730cf15cb5d25fe849c6e6ca9eb5b76db16a80f13f425ac68d8e2e55624457", size = 322348229, upload-time = "2025-06-26T04:11:28.385Z" },
]
[[package]]
@@ -3090,8 +3109,8 @@ name = "nvidia-nvjitlink-cu12"
version = "12.8.93"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f6/74/86a07f1d0f42998ca31312f998bd3b9a7eff7f52378f4f270c8679c77fb9/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:81ff63371a7ebd6e6451970684f916be2eab07321b73c9d244dc2b4da7f73b88", size = 39254836 },
- { url = "https://files.pythonhosted.org/packages/2a/a2/8cee5da30d13430e87bf99bb33455d2724d0a4a9cb5d7926d80ccb96d008/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:adccd7161ace7261e01bb91e44e88da350895c270d23f744f0820c818b7229e7", size = 38386204 },
+ { url = "https://files.pythonhosted.org/packages/f6/74/86a07f1d0f42998ca31312f998bd3b9a7eff7f52378f4f270c8679c77fb9/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:81ff63371a7ebd6e6451970684f916be2eab07321b73c9d244dc2b4da7f73b88", size = 39254836, upload-time = "2025-03-07T01:49:55.661Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/a2/8cee5da30d13430e87bf99bb33455d2724d0a4a9cb5d7926d80ccb96d008/nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:adccd7161ace7261e01bb91e44e88da350895c270d23f744f0820c818b7229e7", size = 38386204, upload-time = "2025-03-07T01:49:43.612Z" },
]
[[package]]
@@ -3099,8 +3118,8 @@ name = "nvidia-nvshmem-cu12"
version = "3.3.20"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/92/9d/3dd98852568fb845ec1f7902c90a22b240fe1cbabda411ccedf2fd737b7b/nvidia_nvshmem_cu12-3.3.20-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0b0b960da3842212758e4fa4696b94f129090b30e5122fea3c5345916545cff0", size = 124484616 },
- { url = "https://files.pythonhosted.org/packages/3b/6c/99acb2f9eb85c29fc6f3a7ac4dccfd992e22666dd08a642b303311326a97/nvidia_nvshmem_cu12-3.3.20-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d00f26d3f9b2e3c3065be895e3059d6479ea5c638a3f38c9fec49b1b9dd7c1e5", size = 124657145 },
+ { url = "https://files.pythonhosted.org/packages/92/9d/3dd98852568fb845ec1f7902c90a22b240fe1cbabda411ccedf2fd737b7b/nvidia_nvshmem_cu12-3.3.20-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0b0b960da3842212758e4fa4696b94f129090b30e5122fea3c5345916545cff0", size = 124484616, upload-time = "2025-08-04T20:24:59.172Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/6c/99acb2f9eb85c29fc6f3a7ac4dccfd992e22666dd08a642b303311326a97/nvidia_nvshmem_cu12-3.3.20-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d00f26d3f9b2e3c3065be895e3059d6479ea5c638a3f38c9fec49b1b9dd7c1e5", size = 124657145, upload-time = "2025-08-04T20:25:19.995Z" },
]
[[package]]
@@ -3108,17 +3127,17 @@ name = "nvidia-nvtx-cu12"
version = "12.8.90"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/c0/1b303feea90d296f6176f32a2a70b5ef230f9bdeb3a72bddb0dc922dc137/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d7ad891da111ebafbf7e015d34879f7112832fc239ff0d7d776b6cb685274615", size = 91161 },
- { url = "https://files.pythonhosted.org/packages/a2/eb/86626c1bbc2edb86323022371c39aa48df6fd8b0a1647bc274577f72e90b/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5b17e2001cc0d751a5bc2c6ec6d26ad95913324a4adb86788c944f8ce9ba441f", size = 89954 },
+ { url = "https://files.pythonhosted.org/packages/10/c0/1b303feea90d296f6176f32a2a70b5ef230f9bdeb3a72bddb0dc922dc137/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d7ad891da111ebafbf7e015d34879f7112832fc239ff0d7d776b6cb685274615", size = 91161, upload-time = "2025-03-07T01:42:23.922Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/eb/86626c1bbc2edb86323022371c39aa48df6fd8b0a1647bc274577f72e90b/nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5b17e2001cc0d751a5bc2c6ec6d26ad95913324a4adb86788c944f8ce9ba441f", size = 89954, upload-time = "2025-03-07T01:42:44.131Z" },
]
[[package]]
name = "oauthlib"
version = "3.3.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/0b/5f/19930f824ffeb0ad4372da4812c50edbd1434f678c90c2733e1188edfc63/oauthlib-3.3.1.tar.gz", hash = "sha256:0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9", size = 185918 }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/5f/19930f824ffeb0ad4372da4812c50edbd1434f678c90c2733e1188edfc63/oauthlib-3.3.1.tar.gz", hash = "sha256:0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9", size = 185918, upload-time = "2025-06-19T22:48:08.269Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/be/9c/92789c596b8df838baa98fa71844d84283302f7604ed565dafe5a6b5041a/oauthlib-3.3.1-py3-none-any.whl", hash = "sha256:88119c938d2b8fb88561af5f6ee0eec8cc8d552b7bb1f712743136eb7523b7a1", size = 160065 },
+ { url = "https://files.pythonhosted.org/packages/be/9c/92789c596b8df838baa98fa71844d84283302f7604ed565dafe5a6b5041a/oauthlib-3.3.1-py3-none-any.whl", hash = "sha256:88119c938d2b8fb88561af5f6ee0eec8cc8d552b7bb1f712743136eb7523b7a1", size = 160065, upload-time = "2025-06-19T22:48:06.508Z" },
]
[[package]]
@@ -3133,11 +3152,11 @@ dependencies = [
{ name = "sympy" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/d0/7f/dfdc4e52600fde4c02d59bfe98c4b057931c1114b701e175aee311a9bc11/onnxruntime-1.24.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:0d244227dc5e00a9ae15a7ac1eba4c4460d7876dfecafe73fb00db9f1d914d91", size = 17342578 },
- { url = "https://files.pythonhosted.org/packages/1c/dc/1f5489f7b21817d4ad352bf7a92a252bd5b438bcbaa7ad20ea50814edc79/onnxruntime-1.24.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a9847b870b6cb462652b547bc98c49e0efb67553410a082fde1918a38707452", size = 15150105 },
- { url = "https://files.pythonhosted.org/packages/28/7c/fd253da53594ab8efbefdc85b3638620ab1a6aab6eb7028a513c853559ce/onnxruntime-1.24.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b354afce3333f2859c7e8706d84b6c552beac39233bcd3141ce7ab77b4cabb5d", size = 17237101 },
- { url = "https://files.pythonhosted.org/packages/71/5f/eaabc5699eeed6a9188c5c055ac1948ae50138697a0428d562ac970d7db5/onnxruntime-1.24.3-cp312-cp312-win_amd64.whl", hash = "sha256:44ea708c34965439170d811267c51281d3897ecfc4aa0087fa25d4a4c3eb2e4a", size = 12597638 },
- { url = "https://files.pythonhosted.org/packages/cc/5c/d8066c320b90610dbeb489a483b132c3b3879b2f93f949fb5d30cfa9b119/onnxruntime-1.24.3-cp312-cp312-win_arm64.whl", hash = "sha256:48d1092b44ca2ba6f9543892e7c422c15a568481403c10440945685faf27a8d8", size = 12270943 },
+ { url = "https://files.pythonhosted.org/packages/d0/7f/dfdc4e52600fde4c02d59bfe98c4b057931c1114b701e175aee311a9bc11/onnxruntime-1.24.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:0d244227dc5e00a9ae15a7ac1eba4c4460d7876dfecafe73fb00db9f1d914d91", size = 17342578, upload-time = "2026-03-05T17:19:02.403Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/dc/1f5489f7b21817d4ad352bf7a92a252bd5b438bcbaa7ad20ea50814edc79/onnxruntime-1.24.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a9847b870b6cb462652b547bc98c49e0efb67553410a082fde1918a38707452", size = 15150105, upload-time = "2026-03-05T16:34:56.897Z" },
+ { url = "https://files.pythonhosted.org/packages/28/7c/fd253da53594ab8efbefdc85b3638620ab1a6aab6eb7028a513c853559ce/onnxruntime-1.24.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b354afce3333f2859c7e8706d84b6c552beac39233bcd3141ce7ab77b4cabb5d", size = 17237101, upload-time = "2026-03-05T17:18:02.561Z" },
+ { url = "https://files.pythonhosted.org/packages/71/5f/eaabc5699eeed6a9188c5c055ac1948ae50138697a0428d562ac970d7db5/onnxruntime-1.24.3-cp312-cp312-win_amd64.whl", hash = "sha256:44ea708c34965439170d811267c51281d3897ecfc4aa0087fa25d4a4c3eb2e4a", size = 12597638, upload-time = "2026-03-05T17:18:52.141Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/5c/d8066c320b90610dbeb489a483b132c3b3879b2f93f949fb5d30cfa9b119/onnxruntime-1.24.3-cp312-cp312-win_arm64.whl", hash = "sha256:48d1092b44ca2ba6f9543892e7c422c15a568481403c10440945685faf27a8d8", size = 12270943, upload-time = "2026-03-05T17:18:42.006Z" },
]
[[package]]
@@ -3154,9 +3173,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/d7/91/2a06c4e9597c338cac1e5e5a8dd6f29e1836fc229c4c523529dca387fda8/openai-2.26.0.tar.gz", hash = "sha256:b41f37c140ae0034a6e92b0c509376d907f3a66109935fba2c1b471a7c05a8fb", size = 666702 }
+sdist = { url = "https://files.pythonhosted.org/packages/d7/91/2a06c4e9597c338cac1e5e5a8dd6f29e1836fc229c4c523529dca387fda8/openai-2.26.0.tar.gz", hash = "sha256:b41f37c140ae0034a6e92b0c509376d907f3a66109935fba2c1b471a7c05a8fb", size = 666702, upload-time = "2026-03-05T23:17:35.874Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c6/2e/3f73e8ca53718952222cacd0cf7eecc9db439d020f0c1fe7ae717e4e199a/openai-2.26.0-py3-none-any.whl", hash = "sha256:6151bf8f83802f036117f06cc8a57b3a4da60da9926826cc96747888b57f394f", size = 1136409 },
+ { url = "https://files.pythonhosted.org/packages/c6/2e/3f73e8ca53718952222cacd0cf7eecc9db439d020f0c1fe7ae717e4e199a/openai-2.26.0-py3-none-any.whl", hash = "sha256:6151bf8f83802f036117f06cc8a57b3a4da60da9926826cc96747888b57f394f", size = 1136409, upload-time = "2026-03-05T23:17:34.072Z" },
]
[[package]]
@@ -3166,9 +3185,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "et-xmlfile" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/3d/f9/88d94a75de065ea32619465d2f77b29a0469500e99012523b91cc4141cd1/openpyxl-3.1.5.tar.gz", hash = "sha256:cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050", size = 186464 }
+sdist = { url = "https://files.pythonhosted.org/packages/3d/f9/88d94a75de065ea32619465d2f77b29a0469500e99012523b91cc4141cd1/openpyxl-3.1.5.tar.gz", hash = "sha256:cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050", size = 186464, upload-time = "2024-06-28T14:03:44.161Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c0/da/977ded879c29cbd04de313843e76868e6e13408a94ed6b987245dc7c8506/openpyxl-3.1.5-py2.py3-none-any.whl", hash = "sha256:5282c12b107bffeef825f4617dc029afaf41d0ea60823bbb665ef3079dc79de2", size = 250910 },
+ { url = "https://files.pythonhosted.org/packages/c0/da/977ded879c29cbd04de313843e76868e6e13408a94ed6b987245dc7c8506/openpyxl-3.1.5-py2.py3-none-any.whl", hash = "sha256:5282c12b107bffeef825f4617dc029afaf41d0ea60823bbb665ef3079dc79de2", size = 250910, upload-time = "2024-06-28T14:03:41.161Z" },
]
[[package]]
@@ -3179,9 +3198,9 @@ dependencies = [
{ name = "importlib-metadata" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2c/1d/4049a9e8698361cc1a1aa03a6c59e4fa4c71e0c0f94a30f988a6876a2ae6/opentelemetry_api-1.40.0.tar.gz", hash = "sha256:159be641c0b04d11e9ecd576906462773eb97ae1b657730f0ecf64d32071569f", size = 70851 }
+sdist = { url = "https://files.pythonhosted.org/packages/2c/1d/4049a9e8698361cc1a1aa03a6c59e4fa4c71e0c0f94a30f988a6876a2ae6/opentelemetry_api-1.40.0.tar.gz", hash = "sha256:159be641c0b04d11e9ecd576906462773eb97ae1b657730f0ecf64d32071569f", size = 70851, upload-time = "2026-03-04T14:17:21.555Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5f/bf/93795954016c522008da367da292adceed71cca6ee1717e1d64c83089099/opentelemetry_api-1.40.0-py3-none-any.whl", hash = "sha256:82dd69331ae74b06f6a874704be0cfaa49a1650e1537d4a813b86ecef7d0ecf9", size = 68676 },
+ { url = "https://files.pythonhosted.org/packages/5f/bf/93795954016c522008da367da292adceed71cca6ee1717e1d64c83089099/opentelemetry_api-1.40.0-py3-none-any.whl", hash = "sha256:82dd69331ae74b06f6a874704be0cfaa49a1650e1537d4a813b86ecef7d0ecf9", size = 68676, upload-time = "2026-03-04T14:17:01.24Z" },
]
[[package]]
@@ -3192,9 +3211,9 @@ dependencies = [
{ name = "opentelemetry-exporter-otlp-proto-grpc" },
{ name = "opentelemetry-exporter-otlp-proto-http" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/d0/37/b6708e0eff5c5fb9aba2e0ea09f7f3bcbfd12a592d2a780241b5f6014df7/opentelemetry_exporter_otlp-1.40.0.tar.gz", hash = "sha256:7caa0870b95e2fcb59d64e16e2b639ecffb07771b6cd0000b5d12e5e4fef765a", size = 6152 }
+sdist = { url = "https://files.pythonhosted.org/packages/d0/37/b6708e0eff5c5fb9aba2e0ea09f7f3bcbfd12a592d2a780241b5f6014df7/opentelemetry_exporter_otlp-1.40.0.tar.gz", hash = "sha256:7caa0870b95e2fcb59d64e16e2b639ecffb07771b6cd0000b5d12e5e4fef765a", size = 6152, upload-time = "2026-03-04T14:17:23.235Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2d/fc/aea77c28d9f3ffef2fdafdc3f4a235aee4091d262ddabd25882f47ce5c5f/opentelemetry_exporter_otlp-1.40.0-py3-none-any.whl", hash = "sha256:48c87e539ec9afb30dc443775a1334cc5487de2f72a770a4c00b1610bf6c697d", size = 7023 },
+ { url = "https://files.pythonhosted.org/packages/2d/fc/aea77c28d9f3ffef2fdafdc3f4a235aee4091d262ddabd25882f47ce5c5f/opentelemetry_exporter_otlp-1.40.0-py3-none-any.whl", hash = "sha256:48c87e539ec9afb30dc443775a1334cc5487de2f72a770a4c00b1610bf6c697d", size = 7023, upload-time = "2026-03-04T14:17:03.612Z" },
]
[[package]]
@@ -3204,9 +3223,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "opentelemetry-proto" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/51/bc/1559d46557fe6eca0b46c88d4c2676285f1f3be2e8d06bb5d15fbffc814a/opentelemetry_exporter_otlp_proto_common-1.40.0.tar.gz", hash = "sha256:1cbee86a4064790b362a86601ee7934f368b81cd4cc2f2e163902a6e7818a0fa", size = 20416 }
+sdist = { url = "https://files.pythonhosted.org/packages/51/bc/1559d46557fe6eca0b46c88d4c2676285f1f3be2e8d06bb5d15fbffc814a/opentelemetry_exporter_otlp_proto_common-1.40.0.tar.gz", hash = "sha256:1cbee86a4064790b362a86601ee7934f368b81cd4cc2f2e163902a6e7818a0fa", size = 20416, upload-time = "2026-03-04T14:17:23.801Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8b/ca/8f122055c97a932311a3f640273f084e738008933503d0c2563cd5d591fc/opentelemetry_exporter_otlp_proto_common-1.40.0-py3-none-any.whl", hash = "sha256:7081ff453835a82417bf38dccf122c827c3cbc94f2079b03bba02a3165f25149", size = 18369 },
+ { url = "https://files.pythonhosted.org/packages/8b/ca/8f122055c97a932311a3f640273f084e738008933503d0c2563cd5d591fc/opentelemetry_exporter_otlp_proto_common-1.40.0-py3-none-any.whl", hash = "sha256:7081ff453835a82417bf38dccf122c827c3cbc94f2079b03bba02a3165f25149", size = 18369, upload-time = "2026-03-04T14:17:04.796Z" },
]
[[package]]
@@ -3222,9 +3241,9 @@ dependencies = [
{ name = "opentelemetry-sdk" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/8f/7f/b9e60435cfcc7590fa87436edad6822240dddbc184643a2a005301cc31f4/opentelemetry_exporter_otlp_proto_grpc-1.40.0.tar.gz", hash = "sha256:bd4015183e40b635b3dab8da528b27161ba83bf4ef545776b196f0fb4ec47740", size = 25759 }
+sdist = { url = "https://files.pythonhosted.org/packages/8f/7f/b9e60435cfcc7590fa87436edad6822240dddbc184643a2a005301cc31f4/opentelemetry_exporter_otlp_proto_grpc-1.40.0.tar.gz", hash = "sha256:bd4015183e40b635b3dab8da528b27161ba83bf4ef545776b196f0fb4ec47740", size = 25759, upload-time = "2026-03-04T14:17:24.4Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/96/6f/7ee0980afcbdcd2d40362da16f7f9796bd083bf7f0b8e038abfbc0300f5d/opentelemetry_exporter_otlp_proto_grpc-1.40.0-py3-none-any.whl", hash = "sha256:2aa0ca53483fe0cf6405087a7491472b70335bc5c7944378a0a8e72e86995c52", size = 20304 },
+ { url = "https://files.pythonhosted.org/packages/96/6f/7ee0980afcbdcd2d40362da16f7f9796bd083bf7f0b8e038abfbc0300f5d/opentelemetry_exporter_otlp_proto_grpc-1.40.0-py3-none-any.whl", hash = "sha256:2aa0ca53483fe0cf6405087a7491472b70335bc5c7944378a0a8e72e86995c52", size = 20304, upload-time = "2026-03-04T14:17:05.942Z" },
]
[[package]]
@@ -3240,9 +3259,9 @@ dependencies = [
{ name = "requests" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/2e/fa/73d50e2c15c56be4d000c98e24221d494674b0cc95524e2a8cb3856d95a4/opentelemetry_exporter_otlp_proto_http-1.40.0.tar.gz", hash = "sha256:db48f5e0f33217588bbc00274a31517ba830da576e59503507c839b38fa0869c", size = 17772 }
+sdist = { url = "https://files.pythonhosted.org/packages/2e/fa/73d50e2c15c56be4d000c98e24221d494674b0cc95524e2a8cb3856d95a4/opentelemetry_exporter_otlp_proto_http-1.40.0.tar.gz", hash = "sha256:db48f5e0f33217588bbc00274a31517ba830da576e59503507c839b38fa0869c", size = 17772, upload-time = "2026-03-04T14:17:25.324Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a0/3a/8865d6754e61c9fb170cdd530a124a53769ee5f740236064816eb0ca7301/opentelemetry_exporter_otlp_proto_http-1.40.0-py3-none-any.whl", hash = "sha256:a8d1dab28f504c5d96577d6509f80a8150e44e8f45f82cdbe0e34c99ab040069", size = 19960 },
+ { url = "https://files.pythonhosted.org/packages/a0/3a/8865d6754e61c9fb170cdd530a124a53769ee5f740236064816eb0ca7301/opentelemetry_exporter_otlp_proto_http-1.40.0-py3-none-any.whl", hash = "sha256:a8d1dab28f504c5d96577d6509f80a8150e44e8f45f82cdbe0e34c99ab040069", size = 19960, upload-time = "2026-03-04T14:17:07.153Z" },
]
[[package]]
@@ -3255,9 +3274,9 @@ dependencies = [
{ name = "packaging" },
{ name = "wrapt" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/da/37/6bf8e66bfcee5d3c6515b79cb2ee9ad05fe573c20f7ceb288d0e7eeec28c/opentelemetry_instrumentation-0.61b0.tar.gz", hash = "sha256:cb21b48db738c9de196eba6b805b4ff9de3b7f187e4bbf9a466fa170514f1fc7", size = 32606 }
+sdist = { url = "https://files.pythonhosted.org/packages/da/37/6bf8e66bfcee5d3c6515b79cb2ee9ad05fe573c20f7ceb288d0e7eeec28c/opentelemetry_instrumentation-0.61b0.tar.gz", hash = "sha256:cb21b48db738c9de196eba6b805b4ff9de3b7f187e4bbf9a466fa170514f1fc7", size = 32606, upload-time = "2026-03-04T14:20:16.825Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d8/3e/f6f10f178b6316de67f0dfdbbb699a24fbe8917cf1743c1595fb9dcdd461/opentelemetry_instrumentation-0.61b0-py3-none-any.whl", hash = "sha256:92a93a280e69788e8f88391247cc530fd81f16f2b011979d4d6398f805cfbc63", size = 33448 },
+ { url = "https://files.pythonhosted.org/packages/d8/3e/f6f10f178b6316de67f0dfdbbb699a24fbe8917cf1743c1595fb9dcdd461/opentelemetry_instrumentation-0.61b0-py3-none-any.whl", hash = "sha256:92a93a280e69788e8f88391247cc530fd81f16f2b011979d4d6398f805cfbc63", size = 33448, upload-time = "2026-03-04T14:19:02.447Z" },
]
[[package]]
@@ -3271,9 +3290,9 @@ dependencies = [
{ name = "opentelemetry-semantic-conventions" },
{ name = "opentelemetry-util-http" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/00/3e/143cf5c034e58037307e6a24f06e0dd64b2c49ae60a965fc580027581931/opentelemetry_instrumentation_asgi-0.61b0.tar.gz", hash = "sha256:9d08e127244361dc33976d39dd4ca8f128b5aa5a7ae425208400a80a095019b5", size = 26691 }
+sdist = { url = "https://files.pythonhosted.org/packages/00/3e/143cf5c034e58037307e6a24f06e0dd64b2c49ae60a965fc580027581931/opentelemetry_instrumentation_asgi-0.61b0.tar.gz", hash = "sha256:9d08e127244361dc33976d39dd4ca8f128b5aa5a7ae425208400a80a095019b5", size = 26691, upload-time = "2026-03-04T14:20:21.038Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/19/78/154470cf9d741a7487fbb5067357b87386475bbb77948a6707cae982e158/opentelemetry_instrumentation_asgi-0.61b0-py3-none-any.whl", hash = "sha256:e4b3ce6b66074e525e717efff20745434e5efd5d9df6557710856fba356da7a4", size = 16980 },
+ { url = "https://files.pythonhosted.org/packages/19/78/154470cf9d741a7487fbb5067357b87386475bbb77948a6707cae982e158/opentelemetry_instrumentation_asgi-0.61b0-py3-none-any.whl", hash = "sha256:e4b3ce6b66074e525e717efff20745434e5efd5d9df6557710856fba356da7a4", size = 16980, upload-time = "2026-03-04T14:19:10.894Z" },
]
[[package]]
@@ -3287,9 +3306,9 @@ dependencies = [
{ name = "opentelemetry-semantic-conventions" },
{ name = "opentelemetry-util-http" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/37/35/aa727bb6e6ef930dcdc96a617b83748fece57b43c47d83ba8d83fbeca657/opentelemetry_instrumentation_fastapi-0.61b0.tar.gz", hash = "sha256:3a24f35b07c557ae1bbc483bf8412221f25d79a405f8b047de8b670722e2fa9f", size = 24800 }
+sdist = { url = "https://files.pythonhosted.org/packages/37/35/aa727bb6e6ef930dcdc96a617b83748fece57b43c47d83ba8d83fbeca657/opentelemetry_instrumentation_fastapi-0.61b0.tar.gz", hash = "sha256:3a24f35b07c557ae1bbc483bf8412221f25d79a405f8b047de8b670722e2fa9f", size = 24800, upload-time = "2026-03-04T14:20:32.759Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/91/05/acfeb2cccd434242a0a7d0ea29afaf077e04b42b35b485d89aee4e0d9340/opentelemetry_instrumentation_fastapi-0.61b0-py3-none-any.whl", hash = "sha256:a1a844d846540d687d377516b2ff698b51d87c781b59f47c214359c4a241047c", size = 13485 },
+ { url = "https://files.pythonhosted.org/packages/91/05/acfeb2cccd434242a0a7d0ea29afaf077e04b42b35b485d89aee4e0d9340/opentelemetry_instrumentation_fastapi-0.61b0-py3-none-any.whl", hash = "sha256:a1a844d846540d687d377516b2ff698b51d87c781b59f47c214359c4a241047c", size = 13485, upload-time = "2026-03-04T14:19:30.351Z" },
]
[[package]]
@@ -3299,9 +3318,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "protobuf" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4c/77/dd38991db037fdfce45849491cb61de5ab000f49824a00230afb112a4392/opentelemetry_proto-1.40.0.tar.gz", hash = "sha256:03f639ca129ba513f5819810f5b1f42bcb371391405d99c168fe6937c62febcd", size = 45667 }
+sdist = { url = "https://files.pythonhosted.org/packages/4c/77/dd38991db037fdfce45849491cb61de5ab000f49824a00230afb112a4392/opentelemetry_proto-1.40.0.tar.gz", hash = "sha256:03f639ca129ba513f5819810f5b1f42bcb371391405d99c168fe6937c62febcd", size = 45667, upload-time = "2026-03-04T14:17:31.194Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b9/b2/189b2577dde745b15625b3214302605b1353436219d42b7912e77fa8dc24/opentelemetry_proto-1.40.0-py3-none-any.whl", hash = "sha256:266c4385d88923a23d63e353e9761af0f47a6ed0d486979777fe4de59dc9b25f", size = 72073 },
+ { url = "https://files.pythonhosted.org/packages/b9/b2/189b2577dde745b15625b3214302605b1353436219d42b7912e77fa8dc24/opentelemetry_proto-1.40.0-py3-none-any.whl", hash = "sha256:266c4385d88923a23d63e353e9761af0f47a6ed0d486979777fe4de59dc9b25f", size = 72073, upload-time = "2026-03-04T14:17:16.673Z" },
]
[[package]]
@@ -3313,9 +3332,9 @@ dependencies = [
{ name = "opentelemetry-semantic-conventions" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/58/fd/3c3125b20ba18ce2155ba9ea74acb0ae5d25f8cd39cfd37455601b7955cc/opentelemetry_sdk-1.40.0.tar.gz", hash = "sha256:18e9f5ec20d859d268c7cb3c5198c8d105d073714db3de50b593b8c1345a48f2", size = 184252 }
+sdist = { url = "https://files.pythonhosted.org/packages/58/fd/3c3125b20ba18ce2155ba9ea74acb0ae5d25f8cd39cfd37455601b7955cc/opentelemetry_sdk-1.40.0.tar.gz", hash = "sha256:18e9f5ec20d859d268c7cb3c5198c8d105d073714db3de50b593b8c1345a48f2", size = 184252, upload-time = "2026-03-04T14:17:31.87Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2c/c5/6a852903d8bfac758c6dc6e9a68b015d3c33f2f1be5e9591e0f4b69c7e0a/opentelemetry_sdk-1.40.0-py3-none-any.whl", hash = "sha256:787d2154a71f4b3d81f20524a8ce061b7db667d24e46753f32a7bc48f1c1f3f1", size = 141951 },
+ { url = "https://files.pythonhosted.org/packages/2c/c5/6a852903d8bfac758c6dc6e9a68b015d3c33f2f1be5e9591e0f4b69c7e0a/opentelemetry_sdk-1.40.0-py3-none-any.whl", hash = "sha256:787d2154a71f4b3d81f20524a8ce061b7db667d24e46753f32a7bc48f1c1f3f1", size = 141951, upload-time = "2026-03-04T14:17:17.961Z" },
]
[[package]]
@@ -3326,18 +3345,18 @@ dependencies = [
{ name = "opentelemetry-api" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/6d/c0/4ae7973f3c2cfd2b6e321f1675626f0dab0a97027cc7a297474c9c8f3d04/opentelemetry_semantic_conventions-0.61b0.tar.gz", hash = "sha256:072f65473c5d7c6dc0355b27d6c9d1a679d63b6d4b4b16a9773062cb7e31192a", size = 145755 }
+sdist = { url = "https://files.pythonhosted.org/packages/6d/c0/4ae7973f3c2cfd2b6e321f1675626f0dab0a97027cc7a297474c9c8f3d04/opentelemetry_semantic_conventions-0.61b0.tar.gz", hash = "sha256:072f65473c5d7c6dc0355b27d6c9d1a679d63b6d4b4b16a9773062cb7e31192a", size = 145755, upload-time = "2026-03-04T14:17:32.664Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b2/37/cc6a55e448deaa9b27377d087da8615a3416d8ad523d5960b78dbeadd02a/opentelemetry_semantic_conventions-0.61b0-py3-none-any.whl", hash = "sha256:fa530a96be229795f8cef353739b618148b0fe2b4b3f005e60e262926c4d38e2", size = 231621 },
+ { url = "https://files.pythonhosted.org/packages/b2/37/cc6a55e448deaa9b27377d087da8615a3416d8ad523d5960b78dbeadd02a/opentelemetry_semantic_conventions-0.61b0-py3-none-any.whl", hash = "sha256:fa530a96be229795f8cef353739b618148b0fe2b4b3f005e60e262926c4d38e2", size = 231621, upload-time = "2026-03-04T14:17:19.33Z" },
]
[[package]]
name = "opentelemetry-util-http"
version = "0.61b0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/57/3c/f0196223efc5c4ca19f8fad3d5462b171ac6333013335ce540c01af419e9/opentelemetry_util_http-0.61b0.tar.gz", hash = "sha256:1039cb891334ad2731affdf034d8fb8b48c239af9b6dd295e5fabd07f1c95572", size = 11361 }
+sdist = { url = "https://files.pythonhosted.org/packages/57/3c/f0196223efc5c4ca19f8fad3d5462b171ac6333013335ce540c01af419e9/opentelemetry_util_http-0.61b0.tar.gz", hash = "sha256:1039cb891334ad2731affdf034d8fb8b48c239af9b6dd295e5fabd07f1c95572", size = 11361, upload-time = "2026-03-04T14:20:57.01Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0d/e5/c08aaaf2f64288d2b6ef65741d2de5454e64af3e050f34285fb1907492fe/opentelemetry_util_http-0.61b0-py3-none-any.whl", hash = "sha256:8e715e848233e9527ea47e275659ea60a57a75edf5206a3b937e236a6da5fc33", size = 9281 },
+ { url = "https://files.pythonhosted.org/packages/0d/e5/c08aaaf2f64288d2b6ef65741d2de5454e64af3e050f34285fb1907492fe/opentelemetry_util_http-0.61b0-py3-none-any.whl", hash = "sha256:8e715e848233e9527ea47e275659ea60a57a75edf5206a3b937e236a6da5fc33", size = 9281, upload-time = "2026-03-04T14:20:08.364Z" },
]
[[package]]
@@ -3353,50 +3372,50 @@ dependencies = [
{ name = "sqlalchemy" },
{ name = "tqdm" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/58/b2/b5e12de7b4486556fe2257611b55dbabf30d0300bdb031831aa943ad20e4/optuna-4.7.0.tar.gz", hash = "sha256:d91817e2079825557bd2e97de2e8c9ae260bfc99b32712502aef8a5095b2d2c0", size = 479740 }
+sdist = { url = "https://files.pythonhosted.org/packages/58/b2/b5e12de7b4486556fe2257611b55dbabf30d0300bdb031831aa943ad20e4/optuna-4.7.0.tar.gz", hash = "sha256:d91817e2079825557bd2e97de2e8c9ae260bfc99b32712502aef8a5095b2d2c0", size = 479740, upload-time = "2026-01-19T05:45:52.604Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/75/d1/6c8a4fbb38a9e3565f5c36b871262a85ecab3da48120af036b1e4937a15c/optuna-4.7.0-py3-none-any.whl", hash = "sha256:e41ec84018cecc10eabf28143573b1f0bde0ba56dba8151631a590ecbebc1186", size = 413894 },
+ { url = "https://files.pythonhosted.org/packages/75/d1/6c8a4fbb38a9e3565f5c36b871262a85ecab3da48120af036b1e4937a15c/optuna-4.7.0-py3-none-any.whl", hash = "sha256:e41ec84018cecc10eabf28143573b1f0bde0ba56dba8151631a590ecbebc1186", size = 413894, upload-time = "2026-01-19T05:45:50.815Z" },
]
[[package]]
name = "orjson"
version = "3.11.7"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/53/45/b268004f745ede84e5798b48ee12b05129d19235d0e15267aa57dcdb400b/orjson-3.11.7.tar.gz", hash = "sha256:9b1a67243945819ce55d24a30b59d6a168e86220452d2c96f4d1f093e71c0c49", size = 6144992 }
+sdist = { url = "https://files.pythonhosted.org/packages/53/45/b268004f745ede84e5798b48ee12b05129d19235d0e15267aa57dcdb400b/orjson-3.11.7.tar.gz", hash = "sha256:9b1a67243945819ce55d24a30b59d6a168e86220452d2c96f4d1f093e71c0c49", size = 6144992, upload-time = "2026-02-02T15:38:49.29Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/80/bf/76f4f1665f6983385938f0e2a5d7efa12a58171b8456c252f3bae8a4cf75/orjson-3.11.7-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:bd03ea7606833655048dab1a00734a2875e3e86c276e1d772b2a02556f0d895f", size = 228545 },
- { url = "https://files.pythonhosted.org/packages/79/53/6c72c002cb13b5a978a068add59b25a8bdf2800ac1c9c8ecdb26d6d97064/orjson-3.11.7-cp312-cp312-macosx_15_0_arm64.whl", hash = "sha256:89e440ebc74ce8ab5c7bc4ce6757b4a6b1041becb127df818f6997b5c71aa60b", size = 125224 },
- { url = "https://files.pythonhosted.org/packages/2c/83/10e48852865e5dd151bdfe652c06f7da484578ed02c5fca938e3632cb0b8/orjson-3.11.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5ede977b5fe5ac91b1dffc0a517ca4542d2ec8a6a4ff7b2652d94f640796342a", size = 128154 },
- { url = "https://files.pythonhosted.org/packages/6e/52/a66e22a2b9abaa374b4a081d410edab6d1e30024707b87eab7c734afe28d/orjson-3.11.7-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b7b1dae39230a393df353827c855a5f176271c23434cfd2db74e0e424e693e10", size = 123548 },
- { url = "https://files.pythonhosted.org/packages/de/38/605d371417021359f4910c496f764c48ceb8997605f8c25bf1dfe58c0ebe/orjson-3.11.7-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ed46f17096e28fb28d2975834836a639af7278aa87c84f68ab08fbe5b8bd75fa", size = 129000 },
- { url = "https://files.pythonhosted.org/packages/44/98/af32e842b0ffd2335c89714d48ca4e3917b42f5d6ee5537832e069a4b3ac/orjson-3.11.7-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3726be79e36e526e3d9c1aceaadbfb4a04ee80a72ab47b3f3c17fefb9812e7b8", size = 141686 },
- { url = "https://files.pythonhosted.org/packages/96/0b/fc793858dfa54be6feee940c1463370ece34b3c39c1ca0aa3845f5ba9892/orjson-3.11.7-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0724e265bc548af1dedebd9cb3d24b4e1c1e685a343be43e87ba922a5c5fff2f", size = 130812 },
- { url = "https://files.pythonhosted.org/packages/dc/91/98a52415059db3f374757d0b7f0f16e3b5cd5976c90d1c2b56acaea039e6/orjson-3.11.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e7745312efa9e11c17fbd3cb3097262d079da26930ae9ae7ba28fb738367cbad", size = 133440 },
- { url = "https://files.pythonhosted.org/packages/dc/b6/cb540117bda61791f46381f8c26c8f93e802892830a6055748d3bb1925ab/orjson-3.11.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f904c24bdeabd4298f7a977ef14ca2a022ca921ed670b92ecd16ab6f3d01f867", size = 138386 },
- { url = "https://files.pythonhosted.org/packages/63/1a/50a3201c334a7f17c231eee5f841342190723794e3b06293f26e7cf87d31/orjson-3.11.7-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b9fc4d0f81f394689e0814617aadc4f2ea0e8025f38c226cbf22d3b5ddbf025d", size = 408853 },
- { url = "https://files.pythonhosted.org/packages/87/cd/8de1c67d0be44fdc22701e5989c0d015a2adf391498ad42c4dc589cd3013/orjson-3.11.7-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:849e38203e5be40b776ed2718e587faf204d184fc9a008ae441f9442320c0cab", size = 144130 },
- { url = "https://files.pythonhosted.org/packages/0f/fe/d605d700c35dd55f51710d159fc54516a280923cd1b7e47508982fbb387d/orjson-3.11.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:4682d1db3bcebd2b64757e0ddf9e87ae5f00d29d16c5cdf3a62f561d08cc3dd2", size = 134818 },
- { url = "https://files.pythonhosted.org/packages/e4/e4/15ecc67edb3ddb3e2f46ae04475f2d294e8b60c1825fbe28a428b93b3fbd/orjson-3.11.7-cp312-cp312-win32.whl", hash = "sha256:f4f7c956b5215d949a1f65334cf9d7612dde38f20a95f2315deef167def91a6f", size = 127923 },
- { url = "https://files.pythonhosted.org/packages/34/70/2e0855361f76198a3965273048c8e50a9695d88cd75811a5b46444895845/orjson-3.11.7-cp312-cp312-win_amd64.whl", hash = "sha256:bf742e149121dc5648ba0a08ea0871e87b660467ef168a3a5e53bc1fbd64bb74", size = 125007 },
- { url = "https://files.pythonhosted.org/packages/68/40/c2051bd19fc467610fed469dc29e43ac65891571138f476834ca192bc290/orjson-3.11.7-cp312-cp312-win_arm64.whl", hash = "sha256:26c3b9132f783b7d7903bf1efb095fed8d4a3a85ec0d334ee8beff3d7a4749d5", size = 126089 },
+ { url = "https://files.pythonhosted.org/packages/80/bf/76f4f1665f6983385938f0e2a5d7efa12a58171b8456c252f3bae8a4cf75/orjson-3.11.7-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:bd03ea7606833655048dab1a00734a2875e3e86c276e1d772b2a02556f0d895f", size = 228545, upload-time = "2026-02-02T15:37:46.376Z" },
+ { url = "https://files.pythonhosted.org/packages/79/53/6c72c002cb13b5a978a068add59b25a8bdf2800ac1c9c8ecdb26d6d97064/orjson-3.11.7-cp312-cp312-macosx_15_0_arm64.whl", hash = "sha256:89e440ebc74ce8ab5c7bc4ce6757b4a6b1041becb127df818f6997b5c71aa60b", size = 125224, upload-time = "2026-02-02T15:37:47.697Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/83/10e48852865e5dd151bdfe652c06f7da484578ed02c5fca938e3632cb0b8/orjson-3.11.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5ede977b5fe5ac91b1dffc0a517ca4542d2ec8a6a4ff7b2652d94f640796342a", size = 128154, upload-time = "2026-02-02T15:37:48.954Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/52/a66e22a2b9abaa374b4a081d410edab6d1e30024707b87eab7c734afe28d/orjson-3.11.7-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b7b1dae39230a393df353827c855a5f176271c23434cfd2db74e0e424e693e10", size = 123548, upload-time = "2026-02-02T15:37:50.187Z" },
+ { url = "https://files.pythonhosted.org/packages/de/38/605d371417021359f4910c496f764c48ceb8997605f8c25bf1dfe58c0ebe/orjson-3.11.7-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ed46f17096e28fb28d2975834836a639af7278aa87c84f68ab08fbe5b8bd75fa", size = 129000, upload-time = "2026-02-02T15:37:51.426Z" },
+ { url = "https://files.pythonhosted.org/packages/44/98/af32e842b0ffd2335c89714d48ca4e3917b42f5d6ee5537832e069a4b3ac/orjson-3.11.7-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3726be79e36e526e3d9c1aceaadbfb4a04ee80a72ab47b3f3c17fefb9812e7b8", size = 141686, upload-time = "2026-02-02T15:37:52.607Z" },
+ { url = "https://files.pythonhosted.org/packages/96/0b/fc793858dfa54be6feee940c1463370ece34b3c39c1ca0aa3845f5ba9892/orjson-3.11.7-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0724e265bc548af1dedebd9cb3d24b4e1c1e685a343be43e87ba922a5c5fff2f", size = 130812, upload-time = "2026-02-02T15:37:53.944Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/91/98a52415059db3f374757d0b7f0f16e3b5cd5976c90d1c2b56acaea039e6/orjson-3.11.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e7745312efa9e11c17fbd3cb3097262d079da26930ae9ae7ba28fb738367cbad", size = 133440, upload-time = "2026-02-02T15:37:55.615Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/b6/cb540117bda61791f46381f8c26c8f93e802892830a6055748d3bb1925ab/orjson-3.11.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f904c24bdeabd4298f7a977ef14ca2a022ca921ed670b92ecd16ab6f3d01f867", size = 138386, upload-time = "2026-02-02T15:37:56.814Z" },
+ { url = "https://files.pythonhosted.org/packages/63/1a/50a3201c334a7f17c231eee5f841342190723794e3b06293f26e7cf87d31/orjson-3.11.7-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b9fc4d0f81f394689e0814617aadc4f2ea0e8025f38c226cbf22d3b5ddbf025d", size = 408853, upload-time = "2026-02-02T15:37:58.291Z" },
+ { url = "https://files.pythonhosted.org/packages/87/cd/8de1c67d0be44fdc22701e5989c0d015a2adf391498ad42c4dc589cd3013/orjson-3.11.7-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:849e38203e5be40b776ed2718e587faf204d184fc9a008ae441f9442320c0cab", size = 144130, upload-time = "2026-02-02T15:38:00.163Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/fe/d605d700c35dd55f51710d159fc54516a280923cd1b7e47508982fbb387d/orjson-3.11.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:4682d1db3bcebd2b64757e0ddf9e87ae5f00d29d16c5cdf3a62f561d08cc3dd2", size = 134818, upload-time = "2026-02-02T15:38:01.507Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/e4/15ecc67edb3ddb3e2f46ae04475f2d294e8b60c1825fbe28a428b93b3fbd/orjson-3.11.7-cp312-cp312-win32.whl", hash = "sha256:f4f7c956b5215d949a1f65334cf9d7612dde38f20a95f2315deef167def91a6f", size = 127923, upload-time = "2026-02-02T15:38:02.75Z" },
+ { url = "https://files.pythonhosted.org/packages/34/70/2e0855361f76198a3965273048c8e50a9695d88cd75811a5b46444895845/orjson-3.11.7-cp312-cp312-win_amd64.whl", hash = "sha256:bf742e149121dc5648ba0a08ea0871e87b660467ef168a3a5e53bc1fbd64bb74", size = 125007, upload-time = "2026-02-02T15:38:04.032Z" },
+ { url = "https://files.pythonhosted.org/packages/68/40/c2051bd19fc467610fed469dc29e43ac65891571138f476834ca192bc290/orjson-3.11.7-cp312-cp312-win_arm64.whl", hash = "sha256:26c3b9132f783b7d7903bf1efb095fed8d4a3a85ec0d334ee8beff3d7a4749d5", size = 126089, upload-time = "2026-02-02T15:38:05.297Z" },
]
[[package]]
name = "overrides"
version = "7.7.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/36/86/b585f53236dec60aba864e050778b25045f857e17f6e5ea0ae95fe80edd2/overrides-7.7.0.tar.gz", hash = "sha256:55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a", size = 22812 }
+sdist = { url = "https://files.pythonhosted.org/packages/36/86/b585f53236dec60aba864e050778b25045f857e17f6e5ea0ae95fe80edd2/overrides-7.7.0.tar.gz", hash = "sha256:55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a", size = 22812, upload-time = "2024-01-27T21:01:33.423Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl", hash = "sha256:c7ed9d062f78b8e4c1a7b70bd8796b35ead4d9f510227ef9c5dc7626c60d7e49", size = 17832 },
+ { url = "https://files.pythonhosted.org/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl", hash = "sha256:c7ed9d062f78b8e4c1a7b70bd8796b35ead4d9f510227ef9c5dc7626c60d7e49", size = 17832, upload-time = "2024-01-27T21:01:31.393Z" },
]
[[package]]
name = "packaging"
version = "24.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950 }
+sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451 },
+ { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" },
]
[[package]]
@@ -3409,24 +3428,24 @@ dependencies = [
{ name = "pytz" },
{ name = "tzdata" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/33/01/d40b85317f86cf08d853a4f495195c73815fdf205eef3993821720274518/pandas-2.3.3.tar.gz", hash = "sha256:e05e1af93b977f7eafa636d043f9f94c7ee3ac81af99c13508215942e64c993b", size = 4495223 }
+sdist = { url = "https://files.pythonhosted.org/packages/33/01/d40b85317f86cf08d853a4f495195c73815fdf205eef3993821720274518/pandas-2.3.3.tar.gz", hash = "sha256:e05e1af93b977f7eafa636d043f9f94c7ee3ac81af99c13508215942e64c993b", size = 4495223, upload-time = "2025-09-29T23:34:51.853Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9c/fb/231d89e8637c808b997d172b18e9d4a4bc7bf31296196c260526055d1ea0/pandas-2.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d21f6d74eb1725c2efaa71a2bfc661a0689579b58e9c0ca58a739ff0b002b53", size = 11597846 },
- { url = "https://files.pythonhosted.org/packages/5c/bd/bf8064d9cfa214294356c2d6702b716d3cf3bb24be59287a6a21e24cae6b/pandas-2.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3fd2f887589c7aa868e02632612ba39acb0b8948faf5cc58f0850e165bd46f35", size = 10729618 },
- { url = "https://files.pythonhosted.org/packages/57/56/cf2dbe1a3f5271370669475ead12ce77c61726ffd19a35546e31aa8edf4e/pandas-2.3.3-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecaf1e12bdc03c86ad4a7ea848d66c685cb6851d807a26aa245ca3d2017a1908", size = 11737212 },
- { url = "https://files.pythonhosted.org/packages/e5/63/cd7d615331b328e287d8233ba9fdf191a9c2d11b6af0c7a59cfcec23de68/pandas-2.3.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b3d11d2fda7eb164ef27ffc14b4fcab16a80e1ce67e9f57e19ec0afaf715ba89", size = 12362693 },
- { url = "https://files.pythonhosted.org/packages/a6/de/8b1895b107277d52f2b42d3a6806e69cfef0d5cf1d0ba343470b9d8e0a04/pandas-2.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a68e15f780eddf2b07d242e17a04aa187a7ee12b40b930bfdd78070556550e98", size = 12771002 },
- { url = "https://files.pythonhosted.org/packages/87/21/84072af3187a677c5893b170ba2c8fbe450a6ff911234916da889b698220/pandas-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:371a4ab48e950033bcf52b6527eccb564f52dc826c02afd9a1bc0ab731bba084", size = 13450971 },
- { url = "https://files.pythonhosted.org/packages/86/41/585a168330ff063014880a80d744219dbf1dd7a1c706e75ab3425a987384/pandas-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:a16dcec078a01eeef8ee61bf64074b4e524a2a3f4b3be9326420cabe59c4778b", size = 10992722 },
+ { url = "https://files.pythonhosted.org/packages/9c/fb/231d89e8637c808b997d172b18e9d4a4bc7bf31296196c260526055d1ea0/pandas-2.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d21f6d74eb1725c2efaa71a2bfc661a0689579b58e9c0ca58a739ff0b002b53", size = 11597846, upload-time = "2025-09-29T23:19:48.856Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/bd/bf8064d9cfa214294356c2d6702b716d3cf3bb24be59287a6a21e24cae6b/pandas-2.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3fd2f887589c7aa868e02632612ba39acb0b8948faf5cc58f0850e165bd46f35", size = 10729618, upload-time = "2025-09-29T23:39:08.659Z" },
+ { url = "https://files.pythonhosted.org/packages/57/56/cf2dbe1a3f5271370669475ead12ce77c61726ffd19a35546e31aa8edf4e/pandas-2.3.3-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecaf1e12bdc03c86ad4a7ea848d66c685cb6851d807a26aa245ca3d2017a1908", size = 11737212, upload-time = "2025-09-29T23:19:59.765Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/63/cd7d615331b328e287d8233ba9fdf191a9c2d11b6af0c7a59cfcec23de68/pandas-2.3.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b3d11d2fda7eb164ef27ffc14b4fcab16a80e1ce67e9f57e19ec0afaf715ba89", size = 12362693, upload-time = "2025-09-29T23:20:14.098Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/de/8b1895b107277d52f2b42d3a6806e69cfef0d5cf1d0ba343470b9d8e0a04/pandas-2.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a68e15f780eddf2b07d242e17a04aa187a7ee12b40b930bfdd78070556550e98", size = 12771002, upload-time = "2025-09-29T23:20:26.76Z" },
+ { url = "https://files.pythonhosted.org/packages/87/21/84072af3187a677c5893b170ba2c8fbe450a6ff911234916da889b698220/pandas-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:371a4ab48e950033bcf52b6527eccb564f52dc826c02afd9a1bc0ab731bba084", size = 13450971, upload-time = "2025-09-29T23:20:41.344Z" },
+ { url = "https://files.pythonhosted.org/packages/86/41/585a168330ff063014880a80d744219dbf1dd7a1c706e75ab3425a987384/pandas-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:a16dcec078a01eeef8ee61bf64074b4e524a2a3f4b3be9326420cabe59c4778b", size = 10992722, upload-time = "2025-09-29T23:20:54.139Z" },
]
[[package]]
name = "parso"
version = "0.8.6"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/81/76/a1e769043c0c0c9fe391b702539d594731a4362334cdf4dc25d0c09761e7/parso-0.8.6.tar.gz", hash = "sha256:2b9a0332696df97d454fa67b81618fd69c35a7b90327cbe6ba5c92d2c68a7bfd", size = 401621 }
+sdist = { url = "https://files.pythonhosted.org/packages/81/76/a1e769043c0c0c9fe391b702539d594731a4362334cdf4dc25d0c09761e7/parso-0.8.6.tar.gz", hash = "sha256:2b9a0332696df97d454fa67b81618fd69c35a7b90327cbe6ba5c92d2c68a7bfd", size = 401621, upload-time = "2026-02-09T15:45:24.425Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b6/61/fae042894f4296ec49e3f193aff5d7c18440da9e48102c3315e1bc4519a7/parso-0.8.6-py2.py3-none-any.whl", hash = "sha256:2c549f800b70a5c4952197248825584cb00f033b29c692671d3bf08bf380baff", size = 106894 },
+ { url = "https://files.pythonhosted.org/packages/b6/61/fae042894f4296ec49e3f193aff5d7c18440da9e48102c3315e1bc4519a7/parso-0.8.6-py2.py3-none-any.whl", hash = "sha256:2c549f800b70a5c4952197248825584cb00f033b29c692671d3bf08bf380baff", size = 106894, upload-time = "2026-02-09T15:45:21.391Z" },
]
[[package]]
@@ -3436,9 +3455,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/be/44/ed13eccdd0519eff265f44b670d46fbb0ec813e2274932dc1c0e48520f7d/patsy-1.0.2.tar.gz", hash = "sha256:cdc995455f6233e90e22de72c37fcadb344e7586fb83f06696f54d92f8ce74c0", size = 399942 }
+sdist = { url = "https://files.pythonhosted.org/packages/be/44/ed13eccdd0519eff265f44b670d46fbb0ec813e2274932dc1c0e48520f7d/patsy-1.0.2.tar.gz", hash = "sha256:cdc995455f6233e90e22de72c37fcadb344e7586fb83f06696f54d92f8ce74c0", size = 399942, upload-time = "2025-10-20T16:17:37.535Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f1/70/ba4b949bdc0490ab78d545459acd7702b211dfccf7eb89bbc1060f52818d/patsy-1.0.2-py2.py3-none-any.whl", hash = "sha256:37bfddbc58fcf0362febb5f54f10743f8b21dd2aa73dec7e7ef59d1b02ae668a", size = 233301 },
+ { url = "https://files.pythonhosted.org/packages/f1/70/ba4b949bdc0490ab78d545459acd7702b211dfccf7eb89bbc1060f52818d/patsy-1.0.2-py2.py3-none-any.whl", hash = "sha256:37bfddbc58fcf0362febb5f54f10743f8b21dd2aa73dec7e7ef59d1b02ae668a", size = 233301, upload-time = "2025-10-20T16:17:36.563Z" },
]
[[package]]
@@ -3449,9 +3468,9 @@ dependencies = [
{ name = "charset-normalizer" },
{ name = "cryptography" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/46/9a/d79d8fa6d47a0338846bb558b39b9963b8eb2dfedec61867c138c1b17eeb/pdfminer_six-20251230.tar.gz", hash = "sha256:e8f68a14c57e00c2d7276d26519ea64be1b48f91db1cdc776faa80528ca06c1e", size = 8511285 }
+sdist = { url = "https://files.pythonhosted.org/packages/46/9a/d79d8fa6d47a0338846bb558b39b9963b8eb2dfedec61867c138c1b17eeb/pdfminer_six-20251230.tar.gz", hash = "sha256:e8f68a14c57e00c2d7276d26519ea64be1b48f91db1cdc776faa80528ca06c1e", size = 8511285, upload-time = "2025-12-30T15:49:13.104Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/65/d7/b288ea32deb752a09aab73c75e1e7572ab2a2b56c3124a5d1eb24c62ceb3/pdfminer_six-20251230-py3-none-any.whl", hash = "sha256:9ff2e3466a7dfc6de6fd779478850b6b7c2d9e9405aa2a5869376a822771f485", size = 6591909 },
+ { url = "https://files.pythonhosted.org/packages/65/d7/b288ea32deb752a09aab73c75e1e7572ab2a2b56c3124a5d1eb24c62ceb3/pdfminer_six-20251230-py3-none-any.whl", hash = "sha256:9ff2e3466a7dfc6de6fd779478850b6b7c2d9e9405aa2a5869376a822771f485", size = 6591909, upload-time = "2025-12-30T15:49:10.76Z" },
]
[[package]]
@@ -3463,9 +3482,9 @@ dependencies = [
{ name = "pillow" },
{ name = "pypdfium2" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/38/37/9ca3519e92a8434eb93be570b131476cc0a4e840bb39c62ddb7813a39d53/pdfplumber-0.11.9.tar.gz", hash = "sha256:481224b678b2bbdbf376e2c39bf914144eef7c3d301b4a28eebf0f7f6109d6dc", size = 102768 }
+sdist = { url = "https://files.pythonhosted.org/packages/38/37/9ca3519e92a8434eb93be570b131476cc0a4e840bb39c62ddb7813a39d53/pdfplumber-0.11.9.tar.gz", hash = "sha256:481224b678b2bbdbf376e2c39bf914144eef7c3d301b4a28eebf0f7f6109d6dc", size = 102768, upload-time = "2026-01-05T08:10:29.072Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8b/c8/cdbc975f5b634e249cfa6597e37c50f3078412474f21c015e508bfbfe3c3/pdfplumber-0.11.9-py3-none-any.whl", hash = "sha256:33ec5580959ba524e9100138746e090879504c42955df1b8a997604dd326c443", size = 60045 },
+ { url = "https://files.pythonhosted.org/packages/8b/c8/cdbc975f5b634e249cfa6597e37c50f3078412474f21c015e508bfbfe3c3/pdfplumber-0.11.9-py3-none-any.whl", hash = "sha256:33ec5580959ba524e9100138746e090879504c42955df1b8a997604dd326c443", size = 60045, upload-time = "2026-01-05T08:10:27.512Z" },
]
[[package]]
@@ -3485,9 +3504,9 @@ dependencies = [
{ name = "tqdm" },
{ name = "transformers" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/d8/48/147b3ea999560b40a34fd78724c7777aa9d18409c2250bdcaf9c4f2db7fc/peft-0.18.1.tar.gz", hash = "sha256:2dd0d6bfce936d1850e48aaddbd250941c5c02fc8ef3237cd8fd5aac35e0bae2", size = 635030 }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/48/147b3ea999560b40a34fd78724c7777aa9d18409c2250bdcaf9c4f2db7fc/peft-0.18.1.tar.gz", hash = "sha256:2dd0d6bfce936d1850e48aaddbd250941c5c02fc8ef3237cd8fd5aac35e0bae2", size = 635030, upload-time = "2026-01-09T13:08:01.136Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b3/14/b4e3f574acf349ae6f61f9c000a77f97a3b315b4bb6ad03791e79ae4a568/peft-0.18.1-py3-none-any.whl", hash = "sha256:0bf06847a3551e3019fc58c440cffc9a6b73e6e2962c95b52e224f77bbdb50f1", size = 556960 },
+ { url = "https://files.pythonhosted.org/packages/b3/14/b4e3f574acf349ae6f61f9c000a77f97a3b315b4bb6ad03791e79ae4a568/peft-0.18.1-py3-none-any.whl", hash = "sha256:0bf06847a3551e3019fc58c440cffc9a6b73e6e2962c95b52e224f77bbdb50f1", size = 556960, upload-time = "2026-01-09T13:07:55.865Z" },
]
[[package]]
@@ -3497,46 +3516,46 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "ptyprocess" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450 }
+sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772 },
+ { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" },
]
[[package]]
name = "pillow"
version = "11.3.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f3/0d/d0d6dea55cd152ce3d6767bb38a8fc10e33796ba4ba210cbab9354b6d238/pillow-11.3.0.tar.gz", hash = "sha256:3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523", size = 47113069 }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/0d/d0d6dea55cd152ce3d6767bb38a8fc10e33796ba4ba210cbab9354b6d238/pillow-11.3.0.tar.gz", hash = "sha256:3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523", size = 47113069, upload-time = "2025-07-01T09:16:30.666Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/40/fe/1bc9b3ee13f68487a99ac9529968035cca2f0a51ec36892060edcc51d06a/pillow-11.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdae223722da47b024b867c1ea0be64e0df702c5e0a60e27daad39bf960dd1e4", size = 5278800 },
- { url = "https://files.pythonhosted.org/packages/2c/32/7e2ac19b5713657384cec55f89065fb306b06af008cfd87e572035b27119/pillow-11.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:921bd305b10e82b4d1f5e802b6850677f965d8394203d182f078873851dada69", size = 4686296 },
- { url = "https://files.pythonhosted.org/packages/8e/1e/b9e12bbe6e4c2220effebc09ea0923a07a6da1e1f1bfbc8d7d29a01ce32b/pillow-11.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb76541cba2f958032d79d143b98a3a6b3ea87f0959bbe256c0b5e416599fd5d", size = 5871726 },
- { url = "https://files.pythonhosted.org/packages/8d/33/e9200d2bd7ba00dc3ddb78df1198a6e80d7669cce6c2bdbeb2530a74ec58/pillow-11.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67172f2944ebba3d4a7b54f2e95c786a3a50c21b88456329314caaa28cda70f6", size = 7644652 },
- { url = "https://files.pythonhosted.org/packages/41/f1/6f2427a26fc683e00d985bc391bdd76d8dd4e92fac33d841127eb8fb2313/pillow-11.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f07ed9f56a3b9b5f49d3661dc9607484e85c67e27f3e8be2c7d28ca032fec7", size = 5977787 },
- { url = "https://files.pythonhosted.org/packages/e4/c9/06dd4a38974e24f932ff5f98ea3c546ce3f8c995d3f0985f8e5ba48bba19/pillow-11.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:676b2815362456b5b3216b4fd5bd89d362100dc6f4945154ff172e206a22c024", size = 6645236 },
- { url = "https://files.pythonhosted.org/packages/40/e7/848f69fb79843b3d91241bad658e9c14f39a32f71a301bcd1d139416d1be/pillow-11.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e184b2f26ff146363dd07bde8b711833d7b0202e27d13540bfe2e35a323a809", size = 6086950 },
- { url = "https://files.pythonhosted.org/packages/0b/1a/7cff92e695a2a29ac1958c2a0fe4c0b2393b60aac13b04a4fe2735cad52d/pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6be31e3fc9a621e071bc17bb7de63b85cbe0bfae91bb0363c893cbe67247780d", size = 6723358 },
- { url = "https://files.pythonhosted.org/packages/26/7d/73699ad77895f69edff76b0f332acc3d497f22f5d75e5360f78cbcaff248/pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149", size = 6275079 },
- { url = "https://files.pythonhosted.org/packages/8c/ce/e7dfc873bdd9828f3b6e5c2bbb74e47a98ec23cc5c74fc4e54462f0d9204/pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d", size = 6986324 },
- { url = "https://files.pythonhosted.org/packages/16/8f/b13447d1bf0b1f7467ce7d86f6e6edf66c0ad7cf44cf5c87a37f9bed9936/pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542", size = 2423067 },
+ { url = "https://files.pythonhosted.org/packages/40/fe/1bc9b3ee13f68487a99ac9529968035cca2f0a51ec36892060edcc51d06a/pillow-11.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdae223722da47b024b867c1ea0be64e0df702c5e0a60e27daad39bf960dd1e4", size = 5278800, upload-time = "2025-07-01T09:14:17.648Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/32/7e2ac19b5713657384cec55f89065fb306b06af008cfd87e572035b27119/pillow-11.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:921bd305b10e82b4d1f5e802b6850677f965d8394203d182f078873851dada69", size = 4686296, upload-time = "2025-07-01T09:14:19.828Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/1e/b9e12bbe6e4c2220effebc09ea0923a07a6da1e1f1bfbc8d7d29a01ce32b/pillow-11.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb76541cba2f958032d79d143b98a3a6b3ea87f0959bbe256c0b5e416599fd5d", size = 5871726, upload-time = "2025-07-03T13:10:04.448Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/33/e9200d2bd7ba00dc3ddb78df1198a6e80d7669cce6c2bdbeb2530a74ec58/pillow-11.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67172f2944ebba3d4a7b54f2e95c786a3a50c21b88456329314caaa28cda70f6", size = 7644652, upload-time = "2025-07-03T13:10:10.391Z" },
+ { url = "https://files.pythonhosted.org/packages/41/f1/6f2427a26fc683e00d985bc391bdd76d8dd4e92fac33d841127eb8fb2313/pillow-11.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f07ed9f56a3b9b5f49d3661dc9607484e85c67e27f3e8be2c7d28ca032fec7", size = 5977787, upload-time = "2025-07-01T09:14:21.63Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/c9/06dd4a38974e24f932ff5f98ea3c546ce3f8c995d3f0985f8e5ba48bba19/pillow-11.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:676b2815362456b5b3216b4fd5bd89d362100dc6f4945154ff172e206a22c024", size = 6645236, upload-time = "2025-07-01T09:14:23.321Z" },
+ { url = "https://files.pythonhosted.org/packages/40/e7/848f69fb79843b3d91241bad658e9c14f39a32f71a301bcd1d139416d1be/pillow-11.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e184b2f26ff146363dd07bde8b711833d7b0202e27d13540bfe2e35a323a809", size = 6086950, upload-time = "2025-07-01T09:14:25.237Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/1a/7cff92e695a2a29ac1958c2a0fe4c0b2393b60aac13b04a4fe2735cad52d/pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6be31e3fc9a621e071bc17bb7de63b85cbe0bfae91bb0363c893cbe67247780d", size = 6723358, upload-time = "2025-07-01T09:14:27.053Z" },
+ { url = "https://files.pythonhosted.org/packages/26/7d/73699ad77895f69edff76b0f332acc3d497f22f5d75e5360f78cbcaff248/pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149", size = 6275079, upload-time = "2025-07-01T09:14:30.104Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/ce/e7dfc873bdd9828f3b6e5c2bbb74e47a98ec23cc5c74fc4e54462f0d9204/pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d", size = 6986324, upload-time = "2025-07-01T09:14:31.899Z" },
+ { url = "https://files.pythonhosted.org/packages/16/8f/b13447d1bf0b1f7467ce7d86f6e6edf66c0ad7cf44cf5c87a37f9bed9936/pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542", size = 2423067, upload-time = "2025-07-01T09:14:33.709Z" },
]
[[package]]
name = "platformdirs"
version = "4.9.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/19/56/8d4c30c8a1d07013911a8fdbd8f89440ef9f08d07a1b50ab8ca8be5a20f9/platformdirs-4.9.4.tar.gz", hash = "sha256:1ec356301b7dc906d83f371c8f487070e99d3ccf9e501686456394622a01a934", size = 28737 }
+sdist = { url = "https://files.pythonhosted.org/packages/19/56/8d4c30c8a1d07013911a8fdbd8f89440ef9f08d07a1b50ab8ca8be5a20f9/platformdirs-4.9.4.tar.gz", hash = "sha256:1ec356301b7dc906d83f371c8f487070e99d3ccf9e501686456394622a01a934", size = 28737, upload-time = "2026-03-05T18:34:13.271Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/63/d7/97f7e3a6abb67d8080dd406fd4df842c2be0efaf712d1c899c32a075027c/platformdirs-4.9.4-py3-none-any.whl", hash = "sha256:68a9a4619a666ea6439f2ff250c12a853cd1cbd5158d258bd824a7df6be2f868", size = 21216 },
+ { url = "https://files.pythonhosted.org/packages/63/d7/97f7e3a6abb67d8080dd406fd4df842c2be0efaf712d1c899c32a075027c/platformdirs-4.9.4-py3-none-any.whl", hash = "sha256:68a9a4619a666ea6439f2ff250c12a853cd1cbd5158d258bd824a7df6be2f868", size = 21216, upload-time = "2026-03-05T18:34:12.172Z" },
]
[[package]]
name = "plotext"
version = "5.3.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/c9/d7/f75f397af966fe252d0d34ffd3cae765317fce2134f925f95e7d6725d1ce/plotext-5.3.2.tar.gz", hash = "sha256:52d1e932e67c177bf357a3f0fe6ce14d1a96f7f7d5679d7b455b929df517068e", size = 61967 }
+sdist = { url = "https://files.pythonhosted.org/packages/c9/d7/f75f397af966fe252d0d34ffd3cae765317fce2134f925f95e7d6725d1ce/plotext-5.3.2.tar.gz", hash = "sha256:52d1e932e67c177bf357a3f0fe6ce14d1a96f7f7d5679d7b455b929df517068e", size = 61967, upload-time = "2024-09-24T15:13:37.728Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f6/1e/12fe7c40cd2099a1f454518754ed229b01beaf3bbb343127f0cc13ce6c22/plotext-5.3.2-py3-none-any.whl", hash = "sha256:394362349c1ddbf319548cfac17ca65e6d5dfc03200c40dfdc0503b3e95a2283", size = 64047 },
+ { url = "https://files.pythonhosted.org/packages/f6/1e/12fe7c40cd2099a1f454518754ed229b01beaf3bbb343127f0cc13ce6c22/plotext-5.3.2-py3-none-any.whl", hash = "sha256:394362349c1ddbf319548cfac17ca65e6d5dfc03200c40dfdc0503b3e95a2283", size = 64047, upload-time = "2024-09-24T15:13:36.296Z" },
]
[[package]]
@@ -3547,18 +3566,18 @@ dependencies = [
{ name = "narwhals" },
{ name = "packaging" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/24/fb/41efe84970cfddefd4ccf025e2cbfafe780004555f583e93dba3dac2cdef/plotly-6.6.0.tar.gz", hash = "sha256:b897f15f3b02028d69f755f236be890ba950d0a42d7dfc619b44e2d8cea8748c", size = 7027956 }
+sdist = { url = "https://files.pythonhosted.org/packages/24/fb/41efe84970cfddefd4ccf025e2cbfafe780004555f583e93dba3dac2cdef/plotly-6.6.0.tar.gz", hash = "sha256:b897f15f3b02028d69f755f236be890ba950d0a42d7dfc619b44e2d8cea8748c", size = 7027956, upload-time = "2026-03-02T21:10:25.321Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/52/d2/c6e44dba74f17c6216ce1b56044a9b93a929f1c2d5bdaff892512b260f5e/plotly-6.6.0-py3-none-any.whl", hash = "sha256:8d6daf0f87412e0c0bfe72e809d615217ab57cc715899a1e5145135a7800d1d0", size = 9910315 },
+ { url = "https://files.pythonhosted.org/packages/52/d2/c6e44dba74f17c6216ce1b56044a9b93a929f1c2d5bdaff892512b260f5e/plotly-6.6.0-py3-none-any.whl", hash = "sha256:8d6daf0f87412e0c0bfe72e809d615217ab57cc715899a1e5145135a7800d1d0", size = 9910315, upload-time = "2026-03-02T21:10:18.131Z" },
]
[[package]]
name = "pluggy"
version = "1.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412 }
+sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538 },
+ { 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]]
@@ -3568,25 +3587,25 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "polars-runtime-32" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c6/5e/208a24471a433bcd0e9a6889ac49025fd4daad2815c8220c5bd2576e5f1b/polars-1.38.1.tar.gz", hash = "sha256:803a2be5344ef880ad625addfb8f641995cfd777413b08a10de0897345778239", size = 717667 }
+sdist = { url = "https://files.pythonhosted.org/packages/c6/5e/208a24471a433bcd0e9a6889ac49025fd4daad2815c8220c5bd2576e5f1b/polars-1.38.1.tar.gz", hash = "sha256:803a2be5344ef880ad625addfb8f641995cfd777413b08a10de0897345778239", size = 717667, upload-time = "2026-02-06T18:13:23.013Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0a/49/737c1a6273c585719858261753da0b688454d1b634438ccba8a9c4eb5aab/polars-1.38.1-py3-none-any.whl", hash = "sha256:a29479c48fed4984d88b656486d221f638cba45d3e961631a50ee5fdde38cb2c", size = 810368 },
+ { url = "https://files.pythonhosted.org/packages/0a/49/737c1a6273c585719858261753da0b688454d1b634438ccba8a9c4eb5aab/polars-1.38.1-py3-none-any.whl", hash = "sha256:a29479c48fed4984d88b656486d221f638cba45d3e961631a50ee5fdde38cb2c", size = 810368, upload-time = "2026-02-06T18:11:55.819Z" },
]
[[package]]
name = "polars-runtime-32"
version = "1.38.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/07/4b/04d6b3fb7cf336fbe12fbc4b43f36d1783e11bb0f2b1e3980ec44878df06/polars_runtime_32-1.38.1.tar.gz", hash = "sha256:04f20ed1f5c58771f34296a27029dc755a9e4b1390caeaef8f317e06fdfce2ec", size = 2812631 }
+sdist = { url = "https://files.pythonhosted.org/packages/07/4b/04d6b3fb7cf336fbe12fbc4b43f36d1783e11bb0f2b1e3980ec44878df06/polars_runtime_32-1.38.1.tar.gz", hash = "sha256:04f20ed1f5c58771f34296a27029dc755a9e4b1390caeaef8f317e06fdfce2ec", size = 2812631, upload-time = "2026-02-06T18:13:25.206Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ae/a2/a00defbddadd8cf1042f52380dcba6b6592b03bac8e3b34c436b62d12d3b/polars_runtime_32-1.38.1-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:18154e96044724a0ac38ce155cf63aa03c02dd70500efbbf1a61b08cadd269ef", size = 44108001 },
- { url = "https://files.pythonhosted.org/packages/a7/fb/599ff3709e6a303024efd7edfd08cf8de55c6ac39527d8f41cbc4399385f/polars_runtime_32-1.38.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:c49acac34cc4049ed188f1eb67d6ff3971a39b4af7f7b734b367119970f313ac", size = 40230140 },
- { url = "https://files.pythonhosted.org/packages/dc/8c/3ac18d6f89dc05fe2c7c0ee1dc5b81f77a5c85ad59898232c2500fe2ebbf/polars_runtime_32-1.38.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fef2ef2626a954e010e006cc8e4de467ecf32d08008f130cea1c78911f545323", size = 41994039 },
- { url = "https://files.pythonhosted.org/packages/f2/5a/61d60ec5cc0ab37cbd5a699edb2f9af2875b7fdfdfb2a4608ca3cc5f0448/polars_runtime_32-1.38.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e8a5f7a8125e2d50e2e060296551c929aec09be23a9edcb2b12ca923f555a5ba", size = 45755804 },
- { url = "https://files.pythonhosted.org/packages/91/54/02cd4074c98c361ccd3fec3bcb0bd68dbc639c0550c42a4436b0ff0f3ccf/polars_runtime_32-1.38.1-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:10d19cd9863e129273b18b7fcaab625b5c8143c2d22b3e549067b78efa32e4fa", size = 42159605 },
- { url = "https://files.pythonhosted.org/packages/8e/f3/b2a5e720cc56eaa38b4518e63aa577b4bbd60e8b05a00fe43ca051be5879/polars_runtime_32-1.38.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:61e8d73c614b46a00d2f853625a7569a2e4a0999333e876354ac81d1bf1bb5e2", size = 45336615 },
- { url = "https://files.pythonhosted.org/packages/f1/8d/ee2e4b7de948090cfb3df37d401c521233daf97bfc54ddec5d61d1d31618/polars_runtime_32-1.38.1-cp310-abi3-win_amd64.whl", hash = "sha256:08c2b3b93509c1141ac97891294ff5c5b0c548a373f583eaaea873a4bf506437", size = 45680732 },
- { url = "https://files.pythonhosted.org/packages/bf/18/72c216f4ab0c82b907009668f79183ae029116ff0dd245d56ef58aac48e7/polars_runtime_32-1.38.1-cp310-abi3-win_arm64.whl", hash = "sha256:6d07d0cc832bfe4fb54b6e04218c2c27afcfa6b9498f9f6bbf262a00d58cc7c4", size = 41639413 },
+ { url = "https://files.pythonhosted.org/packages/ae/a2/a00defbddadd8cf1042f52380dcba6b6592b03bac8e3b34c436b62d12d3b/polars_runtime_32-1.38.1-cp310-abi3-macosx_10_12_x86_64.whl", hash = "sha256:18154e96044724a0ac38ce155cf63aa03c02dd70500efbbf1a61b08cadd269ef", size = 44108001, upload-time = "2026-02-06T18:11:58.127Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/fb/599ff3709e6a303024efd7edfd08cf8de55c6ac39527d8f41cbc4399385f/polars_runtime_32-1.38.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:c49acac34cc4049ed188f1eb67d6ff3971a39b4af7f7b734b367119970f313ac", size = 40230140, upload-time = "2026-02-06T18:12:01.181Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/8c/3ac18d6f89dc05fe2c7c0ee1dc5b81f77a5c85ad59898232c2500fe2ebbf/polars_runtime_32-1.38.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fef2ef2626a954e010e006cc8e4de467ecf32d08008f130cea1c78911f545323", size = 41994039, upload-time = "2026-02-06T18:12:04.332Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/5a/61d60ec5cc0ab37cbd5a699edb2f9af2875b7fdfdfb2a4608ca3cc5f0448/polars_runtime_32-1.38.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e8a5f7a8125e2d50e2e060296551c929aec09be23a9edcb2b12ca923f555a5ba", size = 45755804, upload-time = "2026-02-06T18:12:07.846Z" },
+ { url = "https://files.pythonhosted.org/packages/91/54/02cd4074c98c361ccd3fec3bcb0bd68dbc639c0550c42a4436b0ff0f3ccf/polars_runtime_32-1.38.1-cp310-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:10d19cd9863e129273b18b7fcaab625b5c8143c2d22b3e549067b78efa32e4fa", size = 42159605, upload-time = "2026-02-06T18:12:10.919Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/f3/b2a5e720cc56eaa38b4518e63aa577b4bbd60e8b05a00fe43ca051be5879/polars_runtime_32-1.38.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:61e8d73c614b46a00d2f853625a7569a2e4a0999333e876354ac81d1bf1bb5e2", size = 45336615, upload-time = "2026-02-06T18:12:14.074Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/8d/ee2e4b7de948090cfb3df37d401c521233daf97bfc54ddec5d61d1d31618/polars_runtime_32-1.38.1-cp310-abi3-win_amd64.whl", hash = "sha256:08c2b3b93509c1141ac97891294ff5c5b0c548a373f583eaaea873a4bf506437", size = 45680732, upload-time = "2026-02-06T18:12:19.097Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/18/72c216f4ab0c82b907009668f79183ae029116ff0dd245d56ef58aac48e7/polars_runtime_32-1.38.1-cp310-abi3-win_arm64.whl", hash = "sha256:6d07d0cc832bfe4fb54b6e04218c2c27afcfa6b9498f9f6bbf262a00d58cc7c4", size = 41639413, upload-time = "2026-02-06T18:12:22.044Z" },
]
[[package]]
@@ -3596,9 +3615,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pywin32", marker = "sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/1f/f8/969e6f280201b40b31bcb62843c619f343dcc351dff83a5891530c9dd60e/portalocker-2.7.0.tar.gz", hash = "sha256:032e81d534a88ec1736d03f780ba073f047a06c478b06e2937486f334e955c51", size = 20183 }
+sdist = { url = "https://files.pythonhosted.org/packages/1f/f8/969e6f280201b40b31bcb62843c619f343dcc351dff83a5891530c9dd60e/portalocker-2.7.0.tar.gz", hash = "sha256:032e81d534a88ec1736d03f780ba073f047a06c478b06e2937486f334e955c51", size = 20183, upload-time = "2023-01-18T23:36:14.436Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8c/df/d4f711d168524f5aebd7fb30969eaa31e3048cf8979688cde3b08f6e5eb8/portalocker-2.7.0-py2.py3-none-any.whl", hash = "sha256:a07c5b4f3985c3cf4798369631fb7011adb498e2a46d8440efc75a8f29a0f983", size = 15502 },
+ { url = "https://files.pythonhosted.org/packages/8c/df/d4f711d168524f5aebd7fb30969eaa31e3048cf8979688cde3b08f6e5eb8/portalocker-2.7.0-py2.py3-none-any.whl", hash = "sha256:a07c5b4f3985c3cf4798369631fb7011adb498e2a46d8440efc75a8f29a0f983", size = 15502, upload-time = "2023-01-18T23:36:12.849Z" },
]
[[package]]
@@ -3612,9 +3631,9 @@ dependencies = [
{ name = "requests" },
{ name = "six" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/48/20/60ae67bb9d82f00427946218d49e2e7e80fb41c15dc5019482289ec9ce8d/posthog-5.4.0.tar.gz", hash = "sha256:701669261b8d07cdde0276e5bc096b87f9e200e3b9589c5ebff14df658c5893c", size = 88076 }
+sdist = { url = "https://files.pythonhosted.org/packages/48/20/60ae67bb9d82f00427946218d49e2e7e80fb41c15dc5019482289ec9ce8d/posthog-5.4.0.tar.gz", hash = "sha256:701669261b8d07cdde0276e5bc096b87f9e200e3b9589c5ebff14df658c5893c", size = 88076, upload-time = "2025-06-20T23:19:23.485Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4f/98/e480cab9a08d1c09b1c59a93dade92c1bb7544826684ff2acbfd10fcfbd4/posthog-5.4.0-py3-none-any.whl", hash = "sha256:284dfa302f64353484420b52d4ad81ff5c2c2d1d607c4e2db602ac72761831bd", size = 105364 },
+ { url = "https://files.pythonhosted.org/packages/4f/98/e480cab9a08d1c09b1c59a93dade92c1bb7544826684ff2acbfd10fcfbd4/posthog-5.4.0-py3-none-any.whl", hash = "sha256:284dfa302f64353484420b52d4ad81ff5c2c2d1d607c4e2db602ac72761831bd", size = 105364, upload-time = "2025-06-20T23:19:22.001Z" },
]
[[package]]
@@ -3628,9 +3647,9 @@ dependencies = [
{ name = "pyyaml" },
{ name = "virtualenv" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/40/f1/6d86a29246dfd2e9b6237f0b5823717f60cad94d47ddc26afa916d21f525/pre_commit-4.5.1.tar.gz", hash = "sha256:eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61", size = 198232 }
+sdist = { url = "https://files.pythonhosted.org/packages/40/f1/6d86a29246dfd2e9b6237f0b5823717f60cad94d47ddc26afa916d21f525/pre_commit-4.5.1.tar.gz", hash = "sha256:eb545fcff725875197837263e977ea257a402056661f09dae08e4b149b030a61", size = 198232, upload-time = "2025-12-16T21:14:33.552Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5d/19/fd3ef348460c80af7bb4669ea7926651d1f95c23ff2df18b9d24bab4f3fa/pre_commit-4.5.1-py2.py3-none-any.whl", hash = "sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77", size = 226437 },
+ { url = "https://files.pythonhosted.org/packages/5d/19/fd3ef348460c80af7bb4669ea7926651d1f95c23ff2df18b9d24bab4f3fa/pre_commit-4.5.1-py2.py3-none-any.whl", hash = "sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77", size = 226437, upload-time = "2025-12-16T21:14:32.409Z" },
]
[[package]]
@@ -3640,18 +3659,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "wcwidth" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/79/45/b0847d88d6cfeb4413566738c8bbf1e1995fad3d42515327ff32cc1eb578/prettytable-3.17.0.tar.gz", hash = "sha256:59f2590776527f3c9e8cf9fe7b66dd215837cca96a9c39567414cbc632e8ddb0", size = 67892 }
+sdist = { url = "https://files.pythonhosted.org/packages/79/45/b0847d88d6cfeb4413566738c8bbf1e1995fad3d42515327ff32cc1eb578/prettytable-3.17.0.tar.gz", hash = "sha256:59f2590776527f3c9e8cf9fe7b66dd215837cca96a9c39567414cbc632e8ddb0", size = 67892, upload-time = "2025-11-14T17:33:20.212Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ee/8c/83087ebc47ab0396ce092363001fa37c17153119ee282700c0713a195853/prettytable-3.17.0-py3-none-any.whl", hash = "sha256:aad69b294ddbe3e1f95ef8886a060ed1666a0b83018bbf56295f6f226c43d287", size = 34433 },
+ { url = "https://files.pythonhosted.org/packages/ee/8c/83087ebc47ab0396ce092363001fa37c17153119ee282700c0713a195853/prettytable-3.17.0-py3-none-any.whl", hash = "sha256:aad69b294ddbe3e1f95ef8886a060ed1666a0b83018bbf56295f6f226c43d287", size = 34433, upload-time = "2025-11-14T17:33:19.093Z" },
]
[[package]]
name = "prometheus-client"
version = "0.24.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f0/58/a794d23feb6b00fc0c72787d7e87d872a6730dd9ed7c7b3e954637d8f280/prometheus_client-0.24.1.tar.gz", hash = "sha256:7e0ced7fbbd40f7b84962d5d2ab6f17ef88a72504dcf7c0b40737b43b2a461f9", size = 85616 }
+sdist = { url = "https://files.pythonhosted.org/packages/f0/58/a794d23feb6b00fc0c72787d7e87d872a6730dd9ed7c7b3e954637d8f280/prometheus_client-0.24.1.tar.gz", hash = "sha256:7e0ced7fbbd40f7b84962d5d2ab6f17ef88a72504dcf7c0b40737b43b2a461f9", size = 85616, upload-time = "2026-01-14T15:26:26.965Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/74/c3/24a2f845e3917201628ecaba4f18bab4d18a337834c1df2a159ee9d22a42/prometheus_client-0.24.1-py3-none-any.whl", hash = "sha256:150db128af71a5c2482b36e588fc8a6b95e498750da4b17065947c16070f4055", size = 64057 },
+ { url = "https://files.pythonhosted.org/packages/74/c3/24a2f845e3917201628ecaba4f18bab4d18a337834c1df2a159ee9d22a42/prometheus_client-0.24.1-py3-none-any.whl", hash = "sha256:150db128af71a5c2482b36e588fc8a6b95e498750da4b17065947c16070f4055", size = 64057, upload-time = "2026-01-14T15:26:24.42Z" },
]
[[package]]
@@ -3661,33 +3680,33 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "wcwidth" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a1/96/06e01a7b38dce6fe1db213e061a4602dd6032a8a97ef6c1a862537732421/prompt_toolkit-3.0.52.tar.gz", hash = "sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855", size = 434198 }
+sdist = { url = "https://files.pythonhosted.org/packages/a1/96/06e01a7b38dce6fe1db213e061a4602dd6032a8a97ef6c1a862537732421/prompt_toolkit-3.0.52.tar.gz", hash = "sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855", size = 434198, upload-time = "2025-08-27T15:24:02.057Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431 },
+ { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431, upload-time = "2025-08-27T15:23:59.498Z" },
]
[[package]]
name = "propcache"
version = "0.4.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/9e/da/e9fc233cf63743258bff22b3dfa7ea5baef7b5bc324af47a0ad89b8ffc6f/propcache-0.4.1.tar.gz", hash = "sha256:f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d", size = 46442 }
+sdist = { url = "https://files.pythonhosted.org/packages/9e/da/e9fc233cf63743258bff22b3dfa7ea5baef7b5bc324af47a0ad89b8ffc6f/propcache-0.4.1.tar.gz", hash = "sha256:f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d", size = 46442, upload-time = "2025-10-08T19:49:02.291Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a2/0f/f17b1b2b221d5ca28b4b876e8bb046ac40466513960646bda8e1853cdfa2/propcache-0.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e153e9cd40cc8945138822807139367f256f89c6810c2634a4f6902b52d3b4e2", size = 80061 },
- { url = "https://files.pythonhosted.org/packages/76/47/8ccf75935f51448ba9a16a71b783eb7ef6b9ee60f5d14c7f8a8a79fbeed7/propcache-0.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cd547953428f7abb73c5ad82cbb32109566204260d98e41e5dfdc682eb7f8403", size = 46037 },
- { url = "https://files.pythonhosted.org/packages/0a/b6/5c9a0e42df4d00bfb4a3cbbe5cf9f54260300c88a0e9af1f47ca5ce17ac0/propcache-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f048da1b4f243fc44f205dfd320933a951b8d89e0afd4c7cacc762a8b9165207", size = 47324 },
- { url = "https://files.pythonhosted.org/packages/9e/d3/6c7ee328b39a81ee877c962469f1e795f9db87f925251efeb0545e0020d0/propcache-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ec17c65562a827bba85e3872ead335f95405ea1674860d96483a02f5c698fa72", size = 225505 },
- { url = "https://files.pythonhosted.org/packages/01/5d/1c53f4563490b1d06a684742cc6076ef944bc6457df6051b7d1a877c057b/propcache-0.4.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:405aac25c6394ef275dee4c709be43745d36674b223ba4eb7144bf4d691b7367", size = 230242 },
- { url = "https://files.pythonhosted.org/packages/20/e1/ce4620633b0e2422207c3cb774a0ee61cac13abc6217763a7b9e2e3f4a12/propcache-0.4.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0013cb6f8dde4b2a2f66903b8ba740bdfe378c943c4377a200551ceb27f379e4", size = 238474 },
- { url = "https://files.pythonhosted.org/packages/46/4b/3aae6835b8e5f44ea6a68348ad90f78134047b503765087be2f9912140ea/propcache-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15932ab57837c3368b024473a525e25d316d8353016e7cc0e5ba9eb343fbb1cf", size = 221575 },
- { url = "https://files.pythonhosted.org/packages/6e/a5/8a5e8678bcc9d3a1a15b9a29165640d64762d424a16af543f00629c87338/propcache-0.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:031dce78b9dc099f4c29785d9cf5577a3faf9ebf74ecbd3c856a7b92768c3df3", size = 216736 },
- { url = "https://files.pythonhosted.org/packages/f1/63/b7b215eddeac83ca1c6b934f89d09a625aa9ee4ba158338854c87210cc36/propcache-0.4.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:ab08df6c9a035bee56e31af99be621526bd237bea9f32def431c656b29e41778", size = 213019 },
- { url = "https://files.pythonhosted.org/packages/57/74/f580099a58c8af587cac7ba19ee7cb418506342fbbe2d4a4401661cca886/propcache-0.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4d7af63f9f93fe593afbf104c21b3b15868efb2c21d07d8732c0c4287e66b6a6", size = 220376 },
- { url = "https://files.pythonhosted.org/packages/c4/ee/542f1313aff7eaf19c2bb758c5d0560d2683dac001a1c96d0774af799843/propcache-0.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cfc27c945f422e8b5071b6e93169679e4eb5bf73bbcbf1ba3ae3a83d2f78ebd9", size = 226988 },
- { url = "https://files.pythonhosted.org/packages/8f/18/9c6b015dd9c6930f6ce2229e1f02fb35298b847f2087ea2b436a5bfa7287/propcache-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:35c3277624a080cc6ec6f847cbbbb5b49affa3598c4535a0a4682a697aaa5c75", size = 215615 },
- { url = "https://files.pythonhosted.org/packages/80/9e/e7b85720b98c45a45e1fca6a177024934dc9bc5f4d5dd04207f216fc33ed/propcache-0.4.1-cp312-cp312-win32.whl", hash = "sha256:671538c2262dadb5ba6395e26c1731e1d52534bfe9ae56d0b5573ce539266aa8", size = 38066 },
- { url = "https://files.pythonhosted.org/packages/54/09/d19cff2a5aaac632ec8fc03737b223597b1e347416934c1b3a7df079784c/propcache-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:cb2d222e72399fcf5890d1d5cc1060857b9b236adff2792ff48ca2dfd46c81db", size = 41655 },
- { url = "https://files.pythonhosted.org/packages/68/ab/6b5c191bb5de08036a8c697b265d4ca76148efb10fa162f14af14fb5f076/propcache-0.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:204483131fb222bdaaeeea9f9e6c6ed0cac32731f75dfc1d4a567fc1926477c1", size = 37789 },
- { url = "https://files.pythonhosted.org/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305 },
+ { url = "https://files.pythonhosted.org/packages/a2/0f/f17b1b2b221d5ca28b4b876e8bb046ac40466513960646bda8e1853cdfa2/propcache-0.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e153e9cd40cc8945138822807139367f256f89c6810c2634a4f6902b52d3b4e2", size = 80061, upload-time = "2025-10-08T19:46:46.075Z" },
+ { url = "https://files.pythonhosted.org/packages/76/47/8ccf75935f51448ba9a16a71b783eb7ef6b9ee60f5d14c7f8a8a79fbeed7/propcache-0.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cd547953428f7abb73c5ad82cbb32109566204260d98e41e5dfdc682eb7f8403", size = 46037, upload-time = "2025-10-08T19:46:47.23Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/b6/5c9a0e42df4d00bfb4a3cbbe5cf9f54260300c88a0e9af1f47ca5ce17ac0/propcache-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f048da1b4f243fc44f205dfd320933a951b8d89e0afd4c7cacc762a8b9165207", size = 47324, upload-time = "2025-10-08T19:46:48.384Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/d3/6c7ee328b39a81ee877c962469f1e795f9db87f925251efeb0545e0020d0/propcache-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ec17c65562a827bba85e3872ead335f95405ea1674860d96483a02f5c698fa72", size = 225505, upload-time = "2025-10-08T19:46:50.055Z" },
+ { url = "https://files.pythonhosted.org/packages/01/5d/1c53f4563490b1d06a684742cc6076ef944bc6457df6051b7d1a877c057b/propcache-0.4.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:405aac25c6394ef275dee4c709be43745d36674b223ba4eb7144bf4d691b7367", size = 230242, upload-time = "2025-10-08T19:46:51.815Z" },
+ { url = "https://files.pythonhosted.org/packages/20/e1/ce4620633b0e2422207c3cb774a0ee61cac13abc6217763a7b9e2e3f4a12/propcache-0.4.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0013cb6f8dde4b2a2f66903b8ba740bdfe378c943c4377a200551ceb27f379e4", size = 238474, upload-time = "2025-10-08T19:46:53.208Z" },
+ { url = "https://files.pythonhosted.org/packages/46/4b/3aae6835b8e5f44ea6a68348ad90f78134047b503765087be2f9912140ea/propcache-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15932ab57837c3368b024473a525e25d316d8353016e7cc0e5ba9eb343fbb1cf", size = 221575, upload-time = "2025-10-08T19:46:54.511Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/a5/8a5e8678bcc9d3a1a15b9a29165640d64762d424a16af543f00629c87338/propcache-0.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:031dce78b9dc099f4c29785d9cf5577a3faf9ebf74ecbd3c856a7b92768c3df3", size = 216736, upload-time = "2025-10-08T19:46:56.212Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/63/b7b215eddeac83ca1c6b934f89d09a625aa9ee4ba158338854c87210cc36/propcache-0.4.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:ab08df6c9a035bee56e31af99be621526bd237bea9f32def431c656b29e41778", size = 213019, upload-time = "2025-10-08T19:46:57.595Z" },
+ { url = "https://files.pythonhosted.org/packages/57/74/f580099a58c8af587cac7ba19ee7cb418506342fbbe2d4a4401661cca886/propcache-0.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4d7af63f9f93fe593afbf104c21b3b15868efb2c21d07d8732c0c4287e66b6a6", size = 220376, upload-time = "2025-10-08T19:46:59.067Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/ee/542f1313aff7eaf19c2bb758c5d0560d2683dac001a1c96d0774af799843/propcache-0.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cfc27c945f422e8b5071b6e93169679e4eb5bf73bbcbf1ba3ae3a83d2f78ebd9", size = 226988, upload-time = "2025-10-08T19:47:00.544Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/18/9c6b015dd9c6930f6ce2229e1f02fb35298b847f2087ea2b436a5bfa7287/propcache-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:35c3277624a080cc6ec6f847cbbbb5b49affa3598c4535a0a4682a697aaa5c75", size = 215615, upload-time = "2025-10-08T19:47:01.968Z" },
+ { url = "https://files.pythonhosted.org/packages/80/9e/e7b85720b98c45a45e1fca6a177024934dc9bc5f4d5dd04207f216fc33ed/propcache-0.4.1-cp312-cp312-win32.whl", hash = "sha256:671538c2262dadb5ba6395e26c1731e1d52534bfe9ae56d0b5573ce539266aa8", size = 38066, upload-time = "2025-10-08T19:47:03.503Z" },
+ { url = "https://files.pythonhosted.org/packages/54/09/d19cff2a5aaac632ec8fc03737b223597b1e347416934c1b3a7df079784c/propcache-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:cb2d222e72399fcf5890d1d5cc1060857b9b236adff2792ff48ca2dfd46c81db", size = 41655, upload-time = "2025-10-08T19:47:04.973Z" },
+ { url = "https://files.pythonhosted.org/packages/68/ab/6b5c191bb5de08036a8c697b265d4ca76148efb10fa162f14af14fb5f076/propcache-0.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:204483131fb222bdaaeeea9f9e6c6ed0cac32731f75dfc1d4a567fc1926477c1", size = 37789, upload-time = "2025-10-08T19:47:06.077Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305, upload-time = "2025-10-08T19:49:00.792Z" },
]
[[package]]
@@ -3697,100 +3716,100 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "protobuf" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/3a/02/8832cde80e7380c600fbf55090b6ab7b62bd6825dbedde6d6657c15a1f8e/proto_plus-1.27.1.tar.gz", hash = "sha256:912a7460446625b792f6448bade9e55cd4e41e6ac10e27009ef71a7f317fa147", size = 56929 }
+sdist = { url = "https://files.pythonhosted.org/packages/3a/02/8832cde80e7380c600fbf55090b6ab7b62bd6825dbedde6d6657c15a1f8e/proto_plus-1.27.1.tar.gz", hash = "sha256:912a7460446625b792f6448bade9e55cd4e41e6ac10e27009ef71a7f317fa147", size = 56929, upload-time = "2026-02-02T17:34:49.035Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5d/79/ac273cbbf744691821a9cca88957257f41afe271637794975ca090b9588b/proto_plus-1.27.1-py3-none-any.whl", hash = "sha256:e4643061f3a4d0de092d62aa4ad09fa4756b2cbb89d4627f3985018216f9fefc", size = 50480 },
+ { url = "https://files.pythonhosted.org/packages/5d/79/ac273cbbf744691821a9cca88957257f41afe271637794975ca090b9588b/proto_plus-1.27.1-py3-none-any.whl", hash = "sha256:e4643061f3a4d0de092d62aa4ad09fa4756b2cbb89d4627f3985018216f9fefc", size = 50480, upload-time = "2026-02-02T17:34:47.339Z" },
]
[[package]]
name = "protobuf"
version = "6.33.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ba/25/7c72c307aafc96fa87062aa6291d9f7c94836e43214d43722e86037aac02/protobuf-6.33.5.tar.gz", hash = "sha256:6ddcac2a081f8b7b9642c09406bc6a4290128fce5f471cddd165960bb9119e5c", size = 444465 }
+sdist = { url = "https://files.pythonhosted.org/packages/ba/25/7c72c307aafc96fa87062aa6291d9f7c94836e43214d43722e86037aac02/protobuf-6.33.5.tar.gz", hash = "sha256:6ddcac2a081f8b7b9642c09406bc6a4290128fce5f471cddd165960bb9119e5c", size = 444465, upload-time = "2026-01-29T21:51:33.494Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b1/79/af92d0a8369732b027e6d6084251dd8e782c685c72da161bd4a2e00fbabb/protobuf-6.33.5-cp310-abi3-win32.whl", hash = "sha256:d71b040839446bac0f4d162e758bea99c8251161dae9d0983a3b88dee345153b", size = 425769 },
- { url = "https://files.pythonhosted.org/packages/55/75/bb9bc917d10e9ee13dee8607eb9ab963b7cf8be607c46e7862c748aa2af7/protobuf-6.33.5-cp310-abi3-win_amd64.whl", hash = "sha256:3093804752167bcab3998bec9f1048baae6e29505adaf1afd14a37bddede533c", size = 437118 },
- { url = "https://files.pythonhosted.org/packages/a2/6b/e48dfc1191bc5b52950246275bf4089773e91cb5ba3592621723cdddca62/protobuf-6.33.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:a5cb85982d95d906df1e2210e58f8e4f1e3cdc088e52c921a041f9c9a0386de5", size = 427766 },
- { url = "https://files.pythonhosted.org/packages/4e/b1/c79468184310de09d75095ed1314b839eb2f72df71097db9d1404a1b2717/protobuf-6.33.5-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:9b71e0281f36f179d00cbcb119cb19dec4d14a81393e5ea220f64b286173e190", size = 324638 },
- { url = "https://files.pythonhosted.org/packages/c5/f5/65d838092fd01c44d16037953fd4c2cc851e783de9b8f02b27ec4ffd906f/protobuf-6.33.5-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:8afa18e1d6d20af15b417e728e9f60f3aa108ee76f23c3b2c07a2c3b546d3afd", size = 339411 },
- { url = "https://files.pythonhosted.org/packages/9b/53/a9443aa3ca9ba8724fdfa02dd1887c1bcd8e89556b715cfbacca6b63dbec/protobuf-6.33.5-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:cbf16ba3350fb7b889fca858fb215967792dc125b35c7976ca4818bee3521cf0", size = 323465 },
- { url = "https://files.pythonhosted.org/packages/57/bf/2086963c69bdac3d7cff1cc7ff79b8ce5ea0bec6797a017e1be338a46248/protobuf-6.33.5-py3-none-any.whl", hash = "sha256:69915a973dd0f60f31a08b8318b73eab2bd6a392c79184b3612226b0a3f8ec02", size = 170687 },
+ { url = "https://files.pythonhosted.org/packages/b1/79/af92d0a8369732b027e6d6084251dd8e782c685c72da161bd4a2e00fbabb/protobuf-6.33.5-cp310-abi3-win32.whl", hash = "sha256:d71b040839446bac0f4d162e758bea99c8251161dae9d0983a3b88dee345153b", size = 425769, upload-time = "2026-01-29T21:51:21.751Z" },
+ { url = "https://files.pythonhosted.org/packages/55/75/bb9bc917d10e9ee13dee8607eb9ab963b7cf8be607c46e7862c748aa2af7/protobuf-6.33.5-cp310-abi3-win_amd64.whl", hash = "sha256:3093804752167bcab3998bec9f1048baae6e29505adaf1afd14a37bddede533c", size = 437118, upload-time = "2026-01-29T21:51:24.022Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/6b/e48dfc1191bc5b52950246275bf4089773e91cb5ba3592621723cdddca62/protobuf-6.33.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:a5cb85982d95d906df1e2210e58f8e4f1e3cdc088e52c921a041f9c9a0386de5", size = 427766, upload-time = "2026-01-29T21:51:25.413Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/b1/c79468184310de09d75095ed1314b839eb2f72df71097db9d1404a1b2717/protobuf-6.33.5-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:9b71e0281f36f179d00cbcb119cb19dec4d14a81393e5ea220f64b286173e190", size = 324638, upload-time = "2026-01-29T21:51:26.423Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/f5/65d838092fd01c44d16037953fd4c2cc851e783de9b8f02b27ec4ffd906f/protobuf-6.33.5-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:8afa18e1d6d20af15b417e728e9f60f3aa108ee76f23c3b2c07a2c3b546d3afd", size = 339411, upload-time = "2026-01-29T21:51:27.446Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/53/a9443aa3ca9ba8724fdfa02dd1887c1bcd8e89556b715cfbacca6b63dbec/protobuf-6.33.5-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:cbf16ba3350fb7b889fca858fb215967792dc125b35c7976ca4818bee3521cf0", size = 323465, upload-time = "2026-01-29T21:51:28.925Z" },
+ { url = "https://files.pythonhosted.org/packages/57/bf/2086963c69bdac3d7cff1cc7ff79b8ce5ea0bec6797a017e1be338a46248/protobuf-6.33.5-py3-none-any.whl", hash = "sha256:69915a973dd0f60f31a08b8318b73eab2bd6a392c79184b3612226b0a3f8ec02", size = 170687, upload-time = "2026-01-29T21:51:32.557Z" },
]
[[package]]
name = "psutil"
version = "7.2.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740 }
+sdist = { url = "https://files.pythonhosted.org/packages/aa/c6/d1ddf4abb55e93cebc4f2ed8b5d6dbad109ecb8d63748dd2b20ab5e57ebe/psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372", size = 493740, upload-time = "2026-01-28T18:14:54.428Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090 },
- { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859 },
- { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560 },
- { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997 },
- { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972 },
- { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266 },
- { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737 },
- { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617 },
+ { url = "https://files.pythonhosted.org/packages/e7/36/5ee6e05c9bd427237b11b3937ad82bb8ad2752d72c6969314590dd0c2f6e/psutil-7.2.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:ed0cace939114f62738d808fdcecd4c869222507e266e574799e9c0faa17d486", size = 129090, upload-time = "2026-01-28T18:15:22.168Z" },
+ { url = "https://files.pythonhosted.org/packages/80/c4/f5af4c1ca8c1eeb2e92ccca14ce8effdeec651d5ab6053c589b074eda6e1/psutil-7.2.2-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:1a7b04c10f32cc88ab39cbf606e117fd74721c831c98a27dc04578deb0c16979", size = 129859, upload-time = "2026-01-28T18:15:23.795Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/70/5d8df3b09e25bce090399cf48e452d25c935ab72dad19406c77f4e828045/psutil-7.2.2-cp36-abi3-manylinux2010_x86_64.manylinux_2_12_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:076a2d2f923fd4821644f5ba89f059523da90dc9014e85f8e45a5774ca5bc6f9", size = 155560, upload-time = "2026-01-28T18:15:25.976Z" },
+ { url = "https://files.pythonhosted.org/packages/63/65/37648c0c158dc222aba51c089eb3bdfa238e621674dc42d48706e639204f/psutil-7.2.2-cp36-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0726cecd84f9474419d67252add4ac0cd9811b04d61123054b9fb6f57df6e9e", size = 156997, upload-time = "2026-01-28T18:15:27.794Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/13/125093eadae863ce03c6ffdbae9929430d116a246ef69866dad94da3bfbc/psutil-7.2.2-cp36-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:fd04ef36b4a6d599bbdb225dd1d3f51e00105f6d48a28f006da7f9822f2606d8", size = 148972, upload-time = "2026-01-28T18:15:29.342Z" },
+ { url = "https://files.pythonhosted.org/packages/04/78/0acd37ca84ce3ddffaa92ef0f571e073faa6d8ff1f0559ab1272188ea2be/psutil-7.2.2-cp36-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b58fabe35e80b264a4e3bb23e6b96f9e45a3df7fb7eed419ac0e5947c61e47cc", size = 148266, upload-time = "2026-01-28T18:15:31.597Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/90/e2159492b5426be0c1fef7acba807a03511f97c5f86b3caeda6ad92351a7/psutil-7.2.2-cp37-abi3-win_amd64.whl", hash = "sha256:eb7e81434c8d223ec4a219b5fc1c47d0417b12be7ea866e24fb5ad6e84b3d988", size = 137737, upload-time = "2026-01-28T18:15:33.849Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },
]
[[package]]
name = "ptyprocess"
version = "0.7.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762 }
+sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762, upload-time = "2020-12-28T15:15:30.155Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993 },
+ { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993, upload-time = "2020-12-28T15:15:28.35Z" },
]
[[package]]
name = "pure-eval"
version = "0.2.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/cd/05/0a34433a064256a578f1783a10da6df098ceaa4a57bbeaa96a6c0352786b/pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42", size = 19752 }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/05/0a34433a064256a578f1783a10da6df098ceaa4a57bbeaa96a6c0352786b/pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42", size = 19752, upload-time = "2024-07-21T12:58:21.801Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842 },
+ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842, upload-time = "2024-07-21T12:58:20.04Z" },
]
[[package]]
name = "py-rust-stemmers"
version = "0.1.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/8e/63/4fbc14810c32d2a884e2e94e406a7d5bf8eee53e1103f558433817230342/py_rust_stemmers-0.1.5.tar.gz", hash = "sha256:e9c310cfb5c2470d7c7c8a0484725965e7cab8b1237e106a0863d5741da3e1f7", size = 9388 }
+sdist = { url = "https://files.pythonhosted.org/packages/8e/63/4fbc14810c32d2a884e2e94e406a7d5bf8eee53e1103f558433817230342/py_rust_stemmers-0.1.5.tar.gz", hash = "sha256:e9c310cfb5c2470d7c7c8a0484725965e7cab8b1237e106a0863d5741da3e1f7", size = 9388, upload-time = "2025-02-19T13:56:28.708Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/43/e1/ea8ac92454a634b1bb1ee0a89c2f75a4e6afec15a8412527e9bbde8c6b7b/py_rust_stemmers-0.1.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:29772837126a28263bf54ecd1bc709dd569d15a94d5e861937813ce51e8a6df4", size = 286085 },
- { url = "https://files.pythonhosted.org/packages/cb/32/fe1cc3d36a19c1ce39792b1ed151ddff5ee1d74c8801f0e93ff36e65f885/py_rust_stemmers-0.1.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4d62410ada44a01e02974b85d45d82f4b4c511aae9121e5f3c1ba1d0bea9126b", size = 272021 },
- { url = "https://files.pythonhosted.org/packages/0a/38/b8f94e5e886e7ab181361a0911a14fb923b0d05b414de85f427e773bf445/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b28ef729a4c83c7d9418be3c23c0372493fcccc67e86783ff04596ef8a208cdf", size = 310547 },
- { url = "https://files.pythonhosted.org/packages/a9/08/62e97652d359b75335486f4da134a6f1c281f38bd3169ed6ecfb276448c3/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a979c3f4ff7ad94a0d4cf566ca7bfecebb59e66488cc158e64485cf0c9a7879f", size = 315237 },
- { url = "https://files.pythonhosted.org/packages/1c/b9/fc0278432f288d2be4ee4d5cc80fd8013d604506b9b0503e8b8cae4ba1c3/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c3593d895453fa06bf70a7b76d6f00d06def0f91fc253fe4260920650c5e078", size = 324419 },
- { url = "https://files.pythonhosted.org/packages/6b/5b/74e96eaf622fe07e83c5c389d101540e305e25f76a6d0d6fb3d9e0506db8/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:96ccc7fd042ffc3f7f082f2223bb7082ed1423aa6b43d5d89ab23e321936c045", size = 324792 },
- { url = "https://files.pythonhosted.org/packages/4f/f7/b76816d7d67166e9313915ad486c21d9e7da0ac02703e14375bb1cb64b5a/py_rust_stemmers-0.1.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ef18cfced2c9c676e0d7d172ba61c3fab2aa6969db64cc8f5ca33a7759efbefe", size = 488014 },
- { url = "https://files.pythonhosted.org/packages/b9/ed/7d9bed02f78d85527501f86a867cd5002d97deb791b9a6b1b45b00100010/py_rust_stemmers-0.1.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:541d4b5aa911381e3d37ec483abb6a2cf2351b4f16d5e8d77f9aa2722956662a", size = 575582 },
- { url = "https://files.pythonhosted.org/packages/93/40/eafd1b33688e8e8ae946d1ef25c4dc93f5b685bd104b9c5573405d7e1d30/py_rust_stemmers-0.1.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ffd946a36e9ac17ca96821963663012e04bc0ee94d21e8b5ae034721070b436c", size = 493267 },
- { url = "https://files.pythonhosted.org/packages/2f/6a/15135b69e4fd28369433eb03264d201b1b0040ba534b05eddeb02a276684/py_rust_stemmers-0.1.5-cp312-none-win_amd64.whl", hash = "sha256:6ed61e1207f3b7428e99b5d00c055645c6415bb75033bff2d06394cbe035fd8e", size = 209395 },
+ { url = "https://files.pythonhosted.org/packages/43/e1/ea8ac92454a634b1bb1ee0a89c2f75a4e6afec15a8412527e9bbde8c6b7b/py_rust_stemmers-0.1.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:29772837126a28263bf54ecd1bc709dd569d15a94d5e861937813ce51e8a6df4", size = 286085, upload-time = "2025-02-19T13:55:23.871Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/32/fe1cc3d36a19c1ce39792b1ed151ddff5ee1d74c8801f0e93ff36e65f885/py_rust_stemmers-0.1.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4d62410ada44a01e02974b85d45d82f4b4c511aae9121e5f3c1ba1d0bea9126b", size = 272021, upload-time = "2025-02-19T13:55:25.685Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/38/b8f94e5e886e7ab181361a0911a14fb923b0d05b414de85f427e773bf445/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b28ef729a4c83c7d9418be3c23c0372493fcccc67e86783ff04596ef8a208cdf", size = 310547, upload-time = "2025-02-19T13:55:26.891Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/08/62e97652d359b75335486f4da134a6f1c281f38bd3169ed6ecfb276448c3/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a979c3f4ff7ad94a0d4cf566ca7bfecebb59e66488cc158e64485cf0c9a7879f", size = 315237, upload-time = "2025-02-19T13:55:28.116Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/b9/fc0278432f288d2be4ee4d5cc80fd8013d604506b9b0503e8b8cae4ba1c3/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1c3593d895453fa06bf70a7b76d6f00d06def0f91fc253fe4260920650c5e078", size = 324419, upload-time = "2025-02-19T13:55:29.211Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/5b/74e96eaf622fe07e83c5c389d101540e305e25f76a6d0d6fb3d9e0506db8/py_rust_stemmers-0.1.5-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:96ccc7fd042ffc3f7f082f2223bb7082ed1423aa6b43d5d89ab23e321936c045", size = 324792, upload-time = "2025-02-19T13:55:30.948Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/f7/b76816d7d67166e9313915ad486c21d9e7da0ac02703e14375bb1cb64b5a/py_rust_stemmers-0.1.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ef18cfced2c9c676e0d7d172ba61c3fab2aa6969db64cc8f5ca33a7759efbefe", size = 488014, upload-time = "2025-02-19T13:55:32.066Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/ed/7d9bed02f78d85527501f86a867cd5002d97deb791b9a6b1b45b00100010/py_rust_stemmers-0.1.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:541d4b5aa911381e3d37ec483abb6a2cf2351b4f16d5e8d77f9aa2722956662a", size = 575582, upload-time = "2025-02-19T13:55:34.005Z" },
+ { url = "https://files.pythonhosted.org/packages/93/40/eafd1b33688e8e8ae946d1ef25c4dc93f5b685bd104b9c5573405d7e1d30/py_rust_stemmers-0.1.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ffd946a36e9ac17ca96821963663012e04bc0ee94d21e8b5ae034721070b436c", size = 493267, upload-time = "2025-02-19T13:55:35.294Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/6a/15135b69e4fd28369433eb03264d201b1b0040ba534b05eddeb02a276684/py_rust_stemmers-0.1.5-cp312-none-win_amd64.whl", hash = "sha256:6ed61e1207f3b7428e99b5d00c055645c6415bb75033bff2d06394cbe035fd8e", size = 209395, upload-time = "2025-02-19T13:55:36.519Z" },
]
[[package]]
name = "pyarrow"
version = "23.0.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/88/22/134986a4cc224d593c1afde5494d18ff629393d74cc2eddb176669f234a4/pyarrow-23.0.1.tar.gz", hash = "sha256:b8c5873e33440b2bc2f4a79d2b47017a89c5a24116c055625e6f2ee50523f019", size = 1167336 }
+sdist = { url = "https://files.pythonhosted.org/packages/88/22/134986a4cc224d593c1afde5494d18ff629393d74cc2eddb176669f234a4/pyarrow-23.0.1.tar.gz", hash = "sha256:b8c5873e33440b2bc2f4a79d2b47017a89c5a24116c055625e6f2ee50523f019", size = 1167336, upload-time = "2026-02-16T10:14:12.39Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9a/4b/4166bb5abbfe6f750fc60ad337c43ecf61340fa52ab386da6e8dbf9e63c4/pyarrow-23.0.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f4b0dbfa124c0bb161f8b5ebb40f1a680b70279aa0c9901d44a2b5a20806039f", size = 34214575 },
- { url = "https://files.pythonhosted.org/packages/e1/da/3f941e3734ac8088ea588b53e860baeddac8323ea40ce22e3d0baa865cc9/pyarrow-23.0.1-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:7707d2b6673f7de054e2e83d59f9e805939038eebe1763fe811ee8fa5c0cd1a7", size = 35832540 },
- { url = "https://files.pythonhosted.org/packages/88/7c/3d841c366620e906d54430817531b877ba646310296df42ef697308c2705/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:86ff03fb9f1a320266e0de855dee4b17da6794c595d207f89bba40d16b5c78b9", size = 44470940 },
- { url = "https://files.pythonhosted.org/packages/2c/a5/da83046273d990f256cb79796a190bbf7ec999269705ddc609403f8c6b06/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:813d99f31275919c383aab17f0f455a04f5a429c261cc411b1e9a8f5e4aaaa05", size = 47586063 },
- { url = "https://files.pythonhosted.org/packages/5b/3c/b7d2ebcff47a514f47f9da1e74b7949138c58cfeb108cdd4ee62f43f0cf3/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bf5842f960cddd2ef757d486041d57c96483efc295a8c4a0e20e704cbbf39c67", size = 48173045 },
- { url = "https://files.pythonhosted.org/packages/43/b2/b40961262213beaba6acfc88698eb773dfce32ecdf34d19291db94c2bd73/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:564baf97c858ecc03ec01a41062e8f4698abc3e6e2acd79c01c2e97880a19730", size = 50621741 },
- { url = "https://files.pythonhosted.org/packages/f6/70/1fdda42d65b28b078e93d75d371b2185a61da89dda4def8ba6ba41ebdeb4/pyarrow-23.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:07deae7783782ac7250989a7b2ecde9b3c343a643f82e8a4df03d93b633006f0", size = 27620678 },
+ { url = "https://files.pythonhosted.org/packages/9a/4b/4166bb5abbfe6f750fc60ad337c43ecf61340fa52ab386da6e8dbf9e63c4/pyarrow-23.0.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f4b0dbfa124c0bb161f8b5ebb40f1a680b70279aa0c9901d44a2b5a20806039f", size = 34214575, upload-time = "2026-02-16T10:09:56.225Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/da/3f941e3734ac8088ea588b53e860baeddac8323ea40ce22e3d0baa865cc9/pyarrow-23.0.1-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:7707d2b6673f7de054e2e83d59f9e805939038eebe1763fe811ee8fa5c0cd1a7", size = 35832540, upload-time = "2026-02-16T10:10:03.428Z" },
+ { url = "https://files.pythonhosted.org/packages/88/7c/3d841c366620e906d54430817531b877ba646310296df42ef697308c2705/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:86ff03fb9f1a320266e0de855dee4b17da6794c595d207f89bba40d16b5c78b9", size = 44470940, upload-time = "2026-02-16T10:10:10.704Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/a5/da83046273d990f256cb79796a190bbf7ec999269705ddc609403f8c6b06/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:813d99f31275919c383aab17f0f455a04f5a429c261cc411b1e9a8f5e4aaaa05", size = 47586063, upload-time = "2026-02-16T10:10:17.95Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/b7d2ebcff47a514f47f9da1e74b7949138c58cfeb108cdd4ee62f43f0cf3/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bf5842f960cddd2ef757d486041d57c96483efc295a8c4a0e20e704cbbf39c67", size = 48173045, upload-time = "2026-02-16T10:10:25.363Z" },
+ { url = "https://files.pythonhosted.org/packages/43/b2/b40961262213beaba6acfc88698eb773dfce32ecdf34d19291db94c2bd73/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:564baf97c858ecc03ec01a41062e8f4698abc3e6e2acd79c01c2e97880a19730", size = 50621741, upload-time = "2026-02-16T10:10:33.477Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/70/1fdda42d65b28b078e93d75d371b2185a61da89dda4def8ba6ba41ebdeb4/pyarrow-23.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:07deae7783782ac7250989a7b2ecde9b3c343a643f82e8a4df03d93b633006f0", size = 27620678, upload-time = "2026-02-16T10:10:39.31Z" },
]
[[package]]
name = "pyasn1"
version = "0.6.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/fe/b6/6e630dff89739fcd427e3f72b3d905ce0acb85a45d4ec3e2678718a3487f/pyasn1-0.6.2.tar.gz", hash = "sha256:9b59a2b25ba7e4f8197db7686c09fb33e658b98339fadb826e9512629017833b", size = 146586 }
+sdist = { url = "https://files.pythonhosted.org/packages/fe/b6/6e630dff89739fcd427e3f72b3d905ce0acb85a45d4ec3e2678718a3487f/pyasn1-0.6.2.tar.gz", hash = "sha256:9b59a2b25ba7e4f8197db7686c09fb33e658b98339fadb826e9512629017833b", size = 146586, upload-time = "2026-01-16T18:04:18.534Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/44/b5/a96872e5184f354da9c84ae119971a0a4c221fe9b27a4d94bd43f2596727/pyasn1-0.6.2-py3-none-any.whl", hash = "sha256:1eb26d860996a18e9b6ed05e7aae0e9fc21619fcee6af91cca9bad4fbea224bf", size = 83371 },
+ { url = "https://files.pythonhosted.org/packages/44/b5/a96872e5184f354da9c84ae119971a0a4c221fe9b27a4d94bd43f2596727/pyasn1-0.6.2-py3-none-any.whl", hash = "sha256:1eb26d860996a18e9b6ed05e7aae0e9fc21619fcee6af91cca9bad4fbea224bf", size = 83371, upload-time = "2026-01-16T18:04:17.174Z" },
]
[[package]]
@@ -3800,36 +3819,41 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pyasn1" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/e9/e6/78ebbb10a8c8e4b61a59249394a4a594c1a7af95593dc933a349c8d00964/pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6", size = 307892 }
+sdist = { url = "https://files.pythonhosted.org/packages/e9/e6/78ebbb10a8c8e4b61a59249394a4a594c1a7af95593dc933a349c8d00964/pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6", size = 307892, upload-time = "2025-03-28T02:41:22.17Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/47/8d/d529b5d697919ba8c11ad626e835d4039be708a35b0d22de83a269a6682c/pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a", size = 181259 },
+ { url = "https://files.pythonhosted.org/packages/47/8d/d529b5d697919ba8c11ad626e835d4039be708a35b0d22de83a269a6682c/pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a", size = 181259, upload-time = "2025-03-28T02:41:19.028Z" },
]
[[package]]
name = "pybase64"
version = "1.4.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/aa/b8/4ed5c7ad5ec15b08d35cc79ace6145d5c1ae426e46435f4987379439dfea/pybase64-1.4.3.tar.gz", hash = "sha256:c2ed274c9e0ba9c8f9c4083cfe265e66dd679126cd9c2027965d807352f3f053", size = 137272 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/86/a7/efcaa564f091a2af7f18a83c1c4875b1437db56ba39540451dc85d56f653/pybase64-1.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:18d85e5ab8b986bb32d8446aca6258ed80d1bafe3603c437690b352c648f5967", size = 38167 },
- { url = "https://files.pythonhosted.org/packages/db/c7/c7ad35adff2d272bf2930132db2b3eea8c44bb1b1f64eb9b2b8e57cde7b4/pybase64-1.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3f5791a3491d116d0deaf4d83268f48792998519698f8751efb191eac84320e9", size = 31673 },
- { url = "https://files.pythonhosted.org/packages/43/1b/9a8cab0042b464e9a876d5c65fe5127445a2436da36fda64899b119b1a1b/pybase64-1.4.3-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:f0b3f200c3e06316f6bebabd458b4e4bcd4c2ca26af7c0c766614d91968dee27", size = 68210 },
- { url = "https://files.pythonhosted.org/packages/62/f7/965b79ff391ad208b50e412b5d3205ccce372a2d27b7218ae86d5295b105/pybase64-1.4.3-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bb632edfd132b3eaf90c39c89aa314beec4e946e210099b57d40311f704e11d4", size = 71599 },
- { url = "https://files.pythonhosted.org/packages/03/4b/a3b5175130b3810bbb8ccfa1edaadbd3afddb9992d877c8a1e2f274b476e/pybase64-1.4.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:356ef1d74648ce997f5a777cf8f1aefecc1c0b4fe6201e0ef3ec8a08170e1b54", size = 59922 },
- { url = "https://files.pythonhosted.org/packages/da/5d/c38d1572027fc601b62d7a407721688b04b4d065d60ca489912d6893e6cf/pybase64-1.4.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:c48361f90db32bacaa5518419d4eb9066ba558013aaf0c7781620279ecddaeb9", size = 56712 },
- { url = "https://files.pythonhosted.org/packages/e7/d4/4e04472fef485caa8f561d904d4d69210a8f8fc1608ea15ebd9012b92655/pybase64-1.4.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:702bcaa16ae02139d881aeaef5b1c8ffb4a3fae062fe601d1e3835e10310a517", size = 59300 },
- { url = "https://files.pythonhosted.org/packages/86/e7/16e29721b86734b881d09b7e23dfd7c8408ad01a4f4c7525f3b1088e25ec/pybase64-1.4.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:53d0ffe1847b16b647c6413d34d1de08942b7724273dd57e67dcbdb10c574045", size = 60278 },
- { url = "https://files.pythonhosted.org/packages/b1/02/18515f211d7c046be32070709a8efeeef8a0203de4fd7521e6b56404731b/pybase64-1.4.3-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:9a1792e8b830a92736dae58f0c386062eb038dfe8004fb03ba33b6083d89cd43", size = 54817 },
- { url = "https://files.pythonhosted.org/packages/e7/be/14e29d8e1a481dbff151324c96dd7b5d2688194bb65dc8a00ca0e1ad1e86/pybase64-1.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1d468b1b1ac5ad84875a46eaa458663c3721e8be5f155ade356406848d3701f6", size = 58611 },
- { url = "https://files.pythonhosted.org/packages/b4/8a/a2588dfe24e1bbd742a554553778ab0d65fdf3d1c9a06d10b77047d142aa/pybase64-1.4.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:e97b7bdbd62e71898cd542a6a9e320d9da754ff3ebd02cb802d69087ee94d468", size = 52404 },
- { url = "https://files.pythonhosted.org/packages/27/fc/afcda7445bebe0cbc38cafdd7813234cdd4fc5573ff067f1abf317bb0cec/pybase64-1.4.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b33aeaa780caaa08ffda87fc584d5eab61e3d3bbb5d86ead02161dc0c20d04bc", size = 68817 },
- { url = "https://files.pythonhosted.org/packages/d3/3a/87c3201e555ed71f73e961a787241a2438c2bbb2ca8809c29ddf938a3157/pybase64-1.4.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c0efcf78f11cf866bed49caa7b97552bc4855a892f9cc2372abcd3ed0056f0d", size = 57854 },
- { url = "https://files.pythonhosted.org/packages/fd/7d/931c2539b31a7b375e7d595b88401eeb5bd6c5ce1059c9123f9b608aaa14/pybase64-1.4.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:66e3791f2ed725a46593f8bd2761ff37d01e2cdad065b1dceb89066f476e50c6", size = 54333 },
- { url = "https://files.pythonhosted.org/packages/de/5e/537601e02cc01f27e9d75f440f1a6095b8df44fc28b1eef2cd739aea8cec/pybase64-1.4.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:72bb0b6bddadab26e1b069bb78e83092711a111a80a0d6b9edcb08199ad7299b", size = 56492 },
- { url = "https://files.pythonhosted.org/packages/96/97/2a2e57acf8f5c9258d22aba52e71f8050e167b29ed2ee1113677c1b600c1/pybase64-1.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5b3365dbcbcdb0a294f0f50af0c0a16b27a232eddeeb0bceeefd844ef30d2a23", size = 70974 },
- { url = "https://files.pythonhosted.org/packages/75/2e/a9e28941c6dab6f06e6d3f6783d3373044be9b0f9a9d3492c3d8d2260ac0/pybase64-1.4.3-cp312-cp312-win32.whl", hash = "sha256:7bca1ed3a5df53305c629ca94276966272eda33c0d71f862d2d3d043f1e1b91a", size = 33686 },
- { url = "https://files.pythonhosted.org/packages/83/e3/507ab649d8c3512c258819c51d25c45d6e29d9ca33992593059e7b646a33/pybase64-1.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:9f2da8f56d9b891b18b4daf463a0640eae45a80af548ce435be86aa6eff3603b", size = 35833 },
- { url = "https://files.pythonhosted.org/packages/bc/8a/6eba66cd549a2fc74bb4425fd61b839ba0ab3022d3c401b8a8dc2cc00c7a/pybase64-1.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:0631d8a2d035de03aa9bded029b9513e1fee8ed80b7ddef6b8e9389ffc445da0", size = 31185 },
+sdist = { url = "https://files.pythonhosted.org/packages/aa/b8/4ed5c7ad5ec15b08d35cc79ace6145d5c1ae426e46435f4987379439dfea/pybase64-1.4.3.tar.gz", hash = "sha256:c2ed274c9e0ba9c8f9c4083cfe265e66dd679126cd9c2027965d807352f3f053", size = 137272, upload-time = "2025-12-06T13:27:04.013Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/86/a7/efcaa564f091a2af7f18a83c1c4875b1437db56ba39540451dc85d56f653/pybase64-1.4.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:18d85e5ab8b986bb32d8446aca6258ed80d1bafe3603c437690b352c648f5967", size = 38167, upload-time = "2025-12-06T13:23:16.821Z" },
+ { url = "https://files.pythonhosted.org/packages/db/c7/c7ad35adff2d272bf2930132db2b3eea8c44bb1b1f64eb9b2b8e57cde7b4/pybase64-1.4.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3f5791a3491d116d0deaf4d83268f48792998519698f8751efb191eac84320e9", size = 31673, upload-time = "2025-12-06T13:23:17.835Z" },
+ { url = "https://files.pythonhosted.org/packages/43/1b/9a8cab0042b464e9a876d5c65fe5127445a2436da36fda64899b119b1a1b/pybase64-1.4.3-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:f0b3f200c3e06316f6bebabd458b4e4bcd4c2ca26af7c0c766614d91968dee27", size = 68210, upload-time = "2025-12-06T13:23:18.813Z" },
+ { url = "https://files.pythonhosted.org/packages/62/f7/965b79ff391ad208b50e412b5d3205ccce372a2d27b7218ae86d5295b105/pybase64-1.4.3-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bb632edfd132b3eaf90c39c89aa314beec4e946e210099b57d40311f704e11d4", size = 71599, upload-time = "2025-12-06T13:23:20.195Z" },
+ { url = "https://files.pythonhosted.org/packages/03/4b/a3b5175130b3810bbb8ccfa1edaadbd3afddb9992d877c8a1e2f274b476e/pybase64-1.4.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:356ef1d74648ce997f5a777cf8f1aefecc1c0b4fe6201e0ef3ec8a08170e1b54", size = 59922, upload-time = "2025-12-06T13:23:21.487Z" },
+ { url = "https://files.pythonhosted.org/packages/da/5d/c38d1572027fc601b62d7a407721688b04b4d065d60ca489912d6893e6cf/pybase64-1.4.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl", hash = "sha256:c48361f90db32bacaa5518419d4eb9066ba558013aaf0c7781620279ecddaeb9", size = 56712, upload-time = "2025-12-06T13:23:22.77Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/d4/4e04472fef485caa8f561d904d4d69210a8f8fc1608ea15ebd9012b92655/pybase64-1.4.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:702bcaa16ae02139d881aeaef5b1c8ffb4a3fae062fe601d1e3835e10310a517", size = 59300, upload-time = "2025-12-06T13:23:24.543Z" },
+ { url = "https://files.pythonhosted.org/packages/86/e7/16e29721b86734b881d09b7e23dfd7c8408ad01a4f4c7525f3b1088e25ec/pybase64-1.4.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:53d0ffe1847b16b647c6413d34d1de08942b7724273dd57e67dcbdb10c574045", size = 60278, upload-time = "2025-12-06T13:23:25.608Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/02/18515f211d7c046be32070709a8efeeef8a0203de4fd7521e6b56404731b/pybase64-1.4.3-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:9a1792e8b830a92736dae58f0c386062eb038dfe8004fb03ba33b6083d89cd43", size = 54817, upload-time = "2025-12-06T13:23:26.633Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/be/14e29d8e1a481dbff151324c96dd7b5d2688194bb65dc8a00ca0e1ad1e86/pybase64-1.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1d468b1b1ac5ad84875a46eaa458663c3721e8be5f155ade356406848d3701f6", size = 58611, upload-time = "2025-12-06T13:23:27.684Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/8a/a2588dfe24e1bbd742a554553778ab0d65fdf3d1c9a06d10b77047d142aa/pybase64-1.4.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:e97b7bdbd62e71898cd542a6a9e320d9da754ff3ebd02cb802d69087ee94d468", size = 52404, upload-time = "2025-12-06T13:23:28.714Z" },
+ { url = "https://files.pythonhosted.org/packages/27/fc/afcda7445bebe0cbc38cafdd7813234cdd4fc5573ff067f1abf317bb0cec/pybase64-1.4.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b33aeaa780caaa08ffda87fc584d5eab61e3d3bbb5d86ead02161dc0c20d04bc", size = 68817, upload-time = "2025-12-06T13:23:30.079Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/3a/87c3201e555ed71f73e961a787241a2438c2bbb2ca8809c29ddf938a3157/pybase64-1.4.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c0efcf78f11cf866bed49caa7b97552bc4855a892f9cc2372abcd3ed0056f0d", size = 57854, upload-time = "2025-12-06T13:23:31.17Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/7d/931c2539b31a7b375e7d595b88401eeb5bd6c5ce1059c9123f9b608aaa14/pybase64-1.4.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:66e3791f2ed725a46593f8bd2761ff37d01e2cdad065b1dceb89066f476e50c6", size = 54333, upload-time = "2025-12-06T13:23:32.422Z" },
+ { url = "https://files.pythonhosted.org/packages/de/5e/537601e02cc01f27e9d75f440f1a6095b8df44fc28b1eef2cd739aea8cec/pybase64-1.4.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:72bb0b6bddadab26e1b069bb78e83092711a111a80a0d6b9edcb08199ad7299b", size = 56492, upload-time = "2025-12-06T13:23:33.515Z" },
+ { url = "https://files.pythonhosted.org/packages/96/97/2a2e57acf8f5c9258d22aba52e71f8050e167b29ed2ee1113677c1b600c1/pybase64-1.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5b3365dbcbcdb0a294f0f50af0c0a16b27a232eddeeb0bceeefd844ef30d2a23", size = 70974, upload-time = "2025-12-06T13:23:36.27Z" },
+ { url = "https://files.pythonhosted.org/packages/75/2e/a9e28941c6dab6f06e6d3f6783d3373044be9b0f9a9d3492c3d8d2260ac0/pybase64-1.4.3-cp312-cp312-win32.whl", hash = "sha256:7bca1ed3a5df53305c629ca94276966272eda33c0d71f862d2d3d043f1e1b91a", size = 33686, upload-time = "2025-12-06T13:23:37.848Z" },
+ { url = "https://files.pythonhosted.org/packages/83/e3/507ab649d8c3512c258819c51d25c45d6e29d9ca33992593059e7b646a33/pybase64-1.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:9f2da8f56d9b891b18b4daf463a0640eae45a80af548ce435be86aa6eff3603b", size = 35833, upload-time = "2025-12-06T13:23:38.877Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/8a/6eba66cd549a2fc74bb4425fd61b839ba0ab3022d3c401b8a8dc2cc00c7a/pybase64-1.4.3-cp312-cp312-win_arm64.whl", hash = "sha256:0631d8a2d035de03aa9bded029b9513e1fee8ed80b7ddef6b8e9389ffc445da0", size = 31185, upload-time = "2025-12-06T13:23:39.908Z" },
+ { url = "https://files.pythonhosted.org/packages/17/45/92322aec1b6979e789b5710f73c59f2172bc37c8ce835305434796824b7b/pybase64-1.4.3-graalpy312-graalpy250_312_native-macosx_10_13_x86_64.whl", hash = "sha256:2baaa092f3475f3a9c87ac5198023918ea8b6c125f4c930752ab2cbe3cd1d520", size = 38746, upload-time = "2025-12-06T13:26:25.869Z" },
+ { url = "https://files.pythonhosted.org/packages/11/94/f1a07402870388fdfc2ecec0c718111189732f7d0f2d7fe1386e19e8fad0/pybase64-1.4.3-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:cde13c0764b1af07a631729f26df019070dad759981d6975527b7e8ecb465b6c", size = 32573, upload-time = "2025-12-06T13:26:27.792Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/8f/43c3bb11ca9bacf81cb0b7a71500bb65b2eda6d5fe07433c09b543de97f3/pybase64-1.4.3-graalpy312-graalpy250_312_native-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5c29a582b0ea3936d02bd6fe9bf674ab6059e6e45ab71c78404ab2c913224414", size = 43461, upload-time = "2025-12-06T13:26:28.906Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/4c/2a5258329200be57497d3972b5308558c6de42e3749c6cc2aa1cbe34b25a/pybase64-1.4.3-graalpy312-graalpy250_312_native-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b6b664758c804fa919b4f1257aa8cf68e95db76fc331de5f70bfc3a34655afe1", size = 36058, upload-time = "2025-12-06T13:26:30.092Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/6d/41faa414cde66ec023b0ca8402a8f11cb61731c3dc27c082909cbbd1f929/pybase64-1.4.3-graalpy312-graalpy250_312_native-win_amd64.whl", hash = "sha256:f7537fa22ae56a0bf51e4b0ffc075926ad91c618e1416330939f7ef366b58e3b", size = 36231, upload-time = "2025-12-06T13:26:31.656Z" },
]
[[package]]
@@ -3839,24 +3863,24 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a2/df/32354b5dda963ffdfc8f75c9acf8828ef7890723a4ed57bb3ff2dc1d6f7e/pycocotools-2.0.11.tar.gz", hash = "sha256:34254d76da85576fcaf5c1f3aa9aae16b8cb15418334ba4283b800796bd1993d", size = 25381 }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/df/32354b5dda963ffdfc8f75c9acf8828ef7890723a4ed57bb3ff2dc1d6f7e/pycocotools-2.0.11.tar.gz", hash = "sha256:34254d76da85576fcaf5c1f3aa9aae16b8cb15418334ba4283b800796bd1993d", size = 25381, upload-time = "2025-12-15T22:31:46.148Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/87/12/2f2292332456e4e4aba1dec0e3de8f1fc40fb2f4fdb0ca1cb17db9861682/pycocotools-2.0.11-cp312-abi3-macosx_10_13_universal2.whl", hash = "sha256:a2e9634bc7cadfb01c88e0b98589aaf0bd12983c7927bde93f19c0103e5441f4", size = 147795 },
- { url = "https://files.pythonhosted.org/packages/63/3c/68d7ea376aada9046e7ea2d7d0dad0d27e1ae8b4b3c26a28346689390ab2/pycocotools-2.0.11-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fd4121766cc057133534679c0ec3f9023dbd96e9b31cf95c86a069ebdac2b65", size = 398434 },
- { url = "https://files.pythonhosted.org/packages/23/59/dc81895beff4e1207a829d40d442ea87cefaac9f6499151965f05c479619/pycocotools-2.0.11-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a82d1c9ed83f75da0b3f244f2a3cf559351a283307bd9b79a4ee2b93ab3231dd", size = 411685 },
- { url = "https://files.pythonhosted.org/packages/0b/0b/5a8a7de300862a2eb5e2ecd3cb015126231379206cd3ebba8f025388d770/pycocotools-2.0.11-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:89e853425018e2c2920ee0f2112cf7c140a1dcf5f4f49abd9c2da112c3e0f4b3", size = 390500 },
- { url = "https://files.pythonhosted.org/packages/63/b5/519bb68647f06feea03d5f355c33c05800aeae4e57b9482b2859eb00752e/pycocotools-2.0.11-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:87af87b8d06d5b852a885a319d9362dca3bed9f8bbcc3feb6513acb1f88ea242", size = 409790 },
- { url = "https://files.pythonhosted.org/packages/83/b4/f6708404ff494706b80e714b919f76dc4ec9845a4007affd6d6b0843f928/pycocotools-2.0.11-cp312-abi3-win_amd64.whl", hash = "sha256:ffe806ce535f5996445188f9a35643791dc54beabc61bd81e2b03367356d604f", size = 77570 },
- { url = "https://files.pythonhosted.org/packages/6e/63/778cd0ddc9d4a78915ac0a72b56d7fb204f7c3fabdad067d67ea0089762e/pycocotools-2.0.11-cp312-abi3-win_arm64.whl", hash = "sha256:c230f5e7b14bd19085217b4f40bba81bf14a182b150b8e9fab1c15d504ade343", size = 64564 },
+ { url = "https://files.pythonhosted.org/packages/87/12/2f2292332456e4e4aba1dec0e3de8f1fc40fb2f4fdb0ca1cb17db9861682/pycocotools-2.0.11-cp312-abi3-macosx_10_13_universal2.whl", hash = "sha256:a2e9634bc7cadfb01c88e0b98589aaf0bd12983c7927bde93f19c0103e5441f4", size = 147795, upload-time = "2025-12-15T22:31:11.519Z" },
+ { url = "https://files.pythonhosted.org/packages/63/3c/68d7ea376aada9046e7ea2d7d0dad0d27e1ae8b4b3c26a28346689390ab2/pycocotools-2.0.11-cp312-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fd4121766cc057133534679c0ec3f9023dbd96e9b31cf95c86a069ebdac2b65", size = 398434, upload-time = "2025-12-15T22:31:12.558Z" },
+ { url = "https://files.pythonhosted.org/packages/23/59/dc81895beff4e1207a829d40d442ea87cefaac9f6499151965f05c479619/pycocotools-2.0.11-cp312-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a82d1c9ed83f75da0b3f244f2a3cf559351a283307bd9b79a4ee2b93ab3231dd", size = 411685, upload-time = "2025-12-15T22:31:13.995Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/0b/5a8a7de300862a2eb5e2ecd3cb015126231379206cd3ebba8f025388d770/pycocotools-2.0.11-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:89e853425018e2c2920ee0f2112cf7c140a1dcf5f4f49abd9c2da112c3e0f4b3", size = 390500, upload-time = "2025-12-15T22:31:15.138Z" },
+ { url = "https://files.pythonhosted.org/packages/63/b5/519bb68647f06feea03d5f355c33c05800aeae4e57b9482b2859eb00752e/pycocotools-2.0.11-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:87af87b8d06d5b852a885a319d9362dca3bed9f8bbcc3feb6513acb1f88ea242", size = 409790, upload-time = "2025-12-15T22:31:16.326Z" },
+ { url = "https://files.pythonhosted.org/packages/83/b4/f6708404ff494706b80e714b919f76dc4ec9845a4007affd6d6b0843f928/pycocotools-2.0.11-cp312-abi3-win_amd64.whl", hash = "sha256:ffe806ce535f5996445188f9a35643791dc54beabc61bd81e2b03367356d604f", size = 77570, upload-time = "2025-12-15T22:31:17.703Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/63/778cd0ddc9d4a78915ac0a72b56d7fb204f7c3fabdad067d67ea0089762e/pycocotools-2.0.11-cp312-abi3-win_arm64.whl", hash = "sha256:c230f5e7b14bd19085217b4f40bba81bf14a182b150b8e9fab1c15d504ade343", size = 64564, upload-time = "2025-12-15T22:31:18.652Z" },
]
[[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 }
+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 },
+ { 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]]
@@ -3869,9 +3893,9 @@ dependencies = [
{ name = "typing-extensions" },
{ name = "typing-inspection" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/69/44/36f1a6e523abc58ae5f928898e4aca2e0ea509b5aa6f6f392a5d882be928/pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49", size = 821591 }
+sdist = { url = "https://files.pythonhosted.org/packages/69/44/36f1a6e523abc58ae5f928898e4aca2e0ea509b5aa6f6f392a5d882be928/pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49", size = 821591, upload-time = "2025-11-26T15:11:46.471Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/5a/87/b70ad306ebb6f9b585f114d0ac2137d792b48be34d732d60e597c2f8465a/pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d", size = 463580 },
+ { url = "https://files.pythonhosted.org/packages/5a/87/b70ad306ebb6f9b585f114d0ac2137d792b48be34d732d60e597c2f8465a/pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d", size = 463580, upload-time = "2025-11-26T15:11:44.605Z" },
]
[[package]]
@@ -3881,22 +3905,26 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/5f/5d/5f6c63eebb5afee93bcaae4ce9a898f3373ca23df3ccaef086d0233a35a7/pydantic_core-2.41.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f41a7489d32336dbf2199c8c0a215390a751c5b014c2c1c5366e817202e9cdf7", size = 2110990 },
- { url = "https://files.pythonhosted.org/packages/aa/32/9c2e8ccb57c01111e0fd091f236c7b371c1bccea0fa85247ac55b1e2b6b6/pydantic_core-2.41.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:070259a8818988b9a84a449a2a7337c7f430a22acc0859c6b110aa7212a6d9c0", size = 1896003 },
- { url = "https://files.pythonhosted.org/packages/68/b8/a01b53cb0e59139fbc9e4fda3e9724ede8de279097179be4ff31f1abb65a/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e96cea19e34778f8d59fe40775a7a574d95816eb150850a85a7a4c8f4b94ac69", size = 1919200 },
- { url = "https://files.pythonhosted.org/packages/38/de/8c36b5198a29bdaade07b5985e80a233a5ac27137846f3bc2d3b40a47360/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed2e99c456e3fadd05c991f8f437ef902e00eedf34320ba2b0842bd1c3ca3a75", size = 2052578 },
- { url = "https://files.pythonhosted.org/packages/00/b5/0e8e4b5b081eac6cb3dbb7e60a65907549a1ce035a724368c330112adfdd/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65840751b72fbfd82c3c640cff9284545342a4f1eb1586ad0636955b261b0b05", size = 2208504 },
- { url = "https://files.pythonhosted.org/packages/77/56/87a61aad59c7c5b9dc8caad5a41a5545cba3810c3e828708b3d7404f6cef/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e536c98a7626a98feb2d3eaf75944ef6f3dbee447e1f841eae16f2f0a72d8ddc", size = 2335816 },
- { url = "https://files.pythonhosted.org/packages/0d/76/941cc9f73529988688a665a5c0ecff1112b3d95ab48f81db5f7606f522d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eceb81a8d74f9267ef4081e246ffd6d129da5d87e37a77c9bde550cb04870c1c", size = 2075366 },
- { url = "https://files.pythonhosted.org/packages/d3/43/ebef01f69baa07a482844faaa0a591bad1ef129253ffd0cdaa9d8a7f72d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d38548150c39b74aeeb0ce8ee1d8e82696f4a4e16ddc6de7b1d8823f7de4b9b5", size = 2171698 },
- { url = "https://files.pythonhosted.org/packages/b1/87/41f3202e4193e3bacfc2c065fab7706ebe81af46a83d3e27605029c1f5a6/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c23e27686783f60290e36827f9c626e63154b82b116d7fe9adba1fda36da706c", size = 2132603 },
- { url = "https://files.pythonhosted.org/packages/49/7d/4c00df99cb12070b6bccdef4a195255e6020a550d572768d92cc54dba91a/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:482c982f814460eabe1d3bb0adfdc583387bd4691ef00b90575ca0d2b6fe2294", size = 2329591 },
- { url = "https://files.pythonhosted.org/packages/cc/6a/ebf4b1d65d458f3cda6a7335d141305dfa19bdc61140a884d165a8a1bbc7/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bfea2a5f0b4d8d43adf9d7b8bf019fb46fdd10a2e5cde477fbcb9d1fa08c68e1", size = 2319068 },
- { url = "https://files.pythonhosted.org/packages/49/3b/774f2b5cd4192d5ab75870ce4381fd89cf218af999515baf07e7206753f0/pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d", size = 1985908 },
- { url = "https://files.pythonhosted.org/packages/86/45/00173a033c801cacf67c190fef088789394feaf88a98a7035b0e40d53dc9/pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815", size = 2020145 },
- { url = "https://files.pythonhosted.org/packages/f9/22/91fbc821fa6d261b376a3f73809f907cec5ca6025642c463d3488aad22fb/pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3", size = 1976179 },
+sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952, upload-time = "2025-11-04T13:43:49.098Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5f/5d/5f6c63eebb5afee93bcaae4ce9a898f3373ca23df3ccaef086d0233a35a7/pydantic_core-2.41.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f41a7489d32336dbf2199c8c0a215390a751c5b014c2c1c5366e817202e9cdf7", size = 2110990, upload-time = "2025-11-04T13:39:58.079Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/32/9c2e8ccb57c01111e0fd091f236c7b371c1bccea0fa85247ac55b1e2b6b6/pydantic_core-2.41.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:070259a8818988b9a84a449a2a7337c7f430a22acc0859c6b110aa7212a6d9c0", size = 1896003, upload-time = "2025-11-04T13:39:59.956Z" },
+ { url = "https://files.pythonhosted.org/packages/68/b8/a01b53cb0e59139fbc9e4fda3e9724ede8de279097179be4ff31f1abb65a/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e96cea19e34778f8d59fe40775a7a574d95816eb150850a85a7a4c8f4b94ac69", size = 1919200, upload-time = "2025-11-04T13:40:02.241Z" },
+ { url = "https://files.pythonhosted.org/packages/38/de/8c36b5198a29bdaade07b5985e80a233a5ac27137846f3bc2d3b40a47360/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed2e99c456e3fadd05c991f8f437ef902e00eedf34320ba2b0842bd1c3ca3a75", size = 2052578, upload-time = "2025-11-04T13:40:04.401Z" },
+ { url = "https://files.pythonhosted.org/packages/00/b5/0e8e4b5b081eac6cb3dbb7e60a65907549a1ce035a724368c330112adfdd/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65840751b72fbfd82c3c640cff9284545342a4f1eb1586ad0636955b261b0b05", size = 2208504, upload-time = "2025-11-04T13:40:06.072Z" },
+ { url = "https://files.pythonhosted.org/packages/77/56/87a61aad59c7c5b9dc8caad5a41a5545cba3810c3e828708b3d7404f6cef/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e536c98a7626a98feb2d3eaf75944ef6f3dbee447e1f841eae16f2f0a72d8ddc", size = 2335816, upload-time = "2025-11-04T13:40:07.835Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/76/941cc9f73529988688a665a5c0ecff1112b3d95ab48f81db5f7606f522d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eceb81a8d74f9267ef4081e246ffd6d129da5d87e37a77c9bde550cb04870c1c", size = 2075366, upload-time = "2025-11-04T13:40:09.804Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/43/ebef01f69baa07a482844faaa0a591bad1ef129253ffd0cdaa9d8a7f72d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d38548150c39b74aeeb0ce8ee1d8e82696f4a4e16ddc6de7b1d8823f7de4b9b5", size = 2171698, upload-time = "2025-11-04T13:40:12.004Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/87/41f3202e4193e3bacfc2c065fab7706ebe81af46a83d3e27605029c1f5a6/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c23e27686783f60290e36827f9c626e63154b82b116d7fe9adba1fda36da706c", size = 2132603, upload-time = "2025-11-04T13:40:13.868Z" },
+ { url = "https://files.pythonhosted.org/packages/49/7d/4c00df99cb12070b6bccdef4a195255e6020a550d572768d92cc54dba91a/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:482c982f814460eabe1d3bb0adfdc583387bd4691ef00b90575ca0d2b6fe2294", size = 2329591, upload-time = "2025-11-04T13:40:15.672Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/6a/ebf4b1d65d458f3cda6a7335d141305dfa19bdc61140a884d165a8a1bbc7/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bfea2a5f0b4d8d43adf9d7b8bf019fb46fdd10a2e5cde477fbcb9d1fa08c68e1", size = 2319068, upload-time = "2025-11-04T13:40:17.532Z" },
+ { url = "https://files.pythonhosted.org/packages/49/3b/774f2b5cd4192d5ab75870ce4381fd89cf218af999515baf07e7206753f0/pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d", size = 1985908, upload-time = "2025-11-04T13:40:19.309Z" },
+ { url = "https://files.pythonhosted.org/packages/86/45/00173a033c801cacf67c190fef088789394feaf88a98a7035b0e40d53dc9/pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815", size = 2020145, upload-time = "2025-11-04T13:40:21.548Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/22/91fbc821fa6d261b376a3f73809f907cec5ca6025642c463d3488aad22fb/pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3", size = 1976179, upload-time = "2025-11-04T13:40:23.393Z" },
+ { url = "https://files.pythonhosted.org/packages/09/32/59b0c7e63e277fa7911c2fc70ccfb45ce4b98991e7ef37110663437005af/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:7da7087d756b19037bc2c06edc6c170eeef3c3bafcb8f532ff17d64dc427adfd", size = 2110495, upload-time = "2025-11-04T13:42:49.689Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/81/05e400037eaf55ad400bcd318c05bb345b57e708887f07ddb2d20e3f0e98/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:aabf5777b5c8ca26f7824cb4a120a740c9588ed58df9b2d196ce92fba42ff8dc", size = 1915388, upload-time = "2025-11-04T13:42:52.215Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/0d/e3549b2399f71d56476b77dbf3cf8937cec5cd70536bdc0e374a421d0599/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c007fe8a43d43b3969e8469004e9845944f1a80e6acd47c150856bb87f230c56", size = 1942879, upload-time = "2025-11-04T13:42:56.483Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/07/34573da085946b6a313d7c42f82f16e8920bfd730665de2d11c0c37a74b5/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:76d0819de158cd855d1cbb8fcafdf6f5cf1eb8e470abe056d5d161106e38062b", size = 2139017, upload-time = "2025-11-04T13:42:59.471Z" },
]
[[package]]
@@ -3908,27 +3936,27 @@ dependencies = [
{ name = "python-dotenv" },
{ name = "typing-inspection" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/52/6d/fffca34caecc4a3f97bda81b2098da5e8ab7efc9a66e819074a11955d87e/pydantic_settings-2.13.1.tar.gz", hash = "sha256:b4c11847b15237fb0171e1462bf540e294affb9b86db4d9aa5c01730bdbe4025", size = 223826 }
+sdist = { url = "https://files.pythonhosted.org/packages/52/6d/fffca34caecc4a3f97bda81b2098da5e8ab7efc9a66e819074a11955d87e/pydantic_settings-2.13.1.tar.gz", hash = "sha256:b4c11847b15237fb0171e1462bf540e294affb9b86db4d9aa5c01730bdbe4025", size = 223826, upload-time = "2026-02-19T13:45:08.055Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/00/4b/ccc026168948fec4f7555b9164c724cf4125eac006e176541483d2c959be/pydantic_settings-2.13.1-py3-none-any.whl", hash = "sha256:d56fd801823dbeae7f0975e1f8c8e25c258eb75d278ea7abb5d9cebb01b56237", size = 58929 },
+ { url = "https://files.pythonhosted.org/packages/00/4b/ccc026168948fec4f7555b9164c724cf4125eac006e176541483d2c959be/pydantic_settings-2.13.1-py3-none-any.whl", hash = "sha256:d56fd801823dbeae7f0975e1f8c8e25c258eb75d278ea7abb5d9cebb01b56237", size = 58929, upload-time = "2026-02-19T13:45:06.034Z" },
]
[[package]]
name = "pygments"
version = "2.19.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631 }
+sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217 },
+ { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" },
]
[[package]]
name = "pyjwt"
version = "2.11.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/5c/5a/b46fa56bf322901eee5b0454a34343cdbdae202cd421775a8ee4e42fd519/pyjwt-2.11.0.tar.gz", hash = "sha256:35f95c1f0fbe5d5ba6e43f00271c275f7a1a4db1dab27bf708073b75318ea623", size = 98019 }
+sdist = { url = "https://files.pythonhosted.org/packages/5c/5a/b46fa56bf322901eee5b0454a34343cdbdae202cd421775a8ee4e42fd519/pyjwt-2.11.0.tar.gz", hash = "sha256:35f95c1f0fbe5d5ba6e43f00271c275f7a1a4db1dab27bf708073b75318ea623", size = 98019, upload-time = "2026-01-30T19:59:55.694Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/6f/01/c26ce75ba460d5cd503da9e13b21a33804d38c2165dec7b716d06b13010c/pyjwt-2.11.0-py3-none-any.whl", hash = "sha256:94a6bde30eb5c8e04fee991062b534071fd1439ef58d2adc9ccb823e7bcd0469", size = 28224 },
+ { url = "https://files.pythonhosted.org/packages/6f/01/c26ce75ba460d5cd503da9e13b21a33804d38c2165dec7b716d06b13010c/pyjwt-2.11.0-py3-none-any.whl", hash = "sha256:94a6bde30eb5c8e04fee991062b534071fd1439ef58d2adc9ccb823e7bcd0469", size = 28224, upload-time = "2026-01-30T19:59:54.539Z" },
]
[package.optional-dependencies]
@@ -3936,6 +3964,24 @@ crypto = [
{ name = "cryptography" },
]
+[[package]]
+name = "pylance"
+version = "4.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "lance-namespace" },
+ { name = "numpy" },
+ { name = "pyarrow" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/19/29/5152da1261a628c293876917b6185538bd68f4cf1420da6265b5be79d09b/pylance-4.0.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:7310892f3089eeddb1af1fe5c398b71cc483a3015646caceaa2f62fc92b227b2", size = 54420876, upload-time = "2026-03-30T18:18:37.525Z" },
+ { url = "https://files.pythonhosted.org/packages/99/ae/7edbbfc18c3be43eedb886e74a17826c09fdf35588b35912f2733779ea43/pylance-4.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:57f6a521b1b4b77a62d791850213a854093719c7d76b9641e8abcd445eb73e56", size = 56752552, upload-time = "2026-03-30T18:24:21.331Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/88/6d8bda83224bac52806f09d3e211d8886b81500384948a753c4b24c11f35/pylance-4.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e433d6bddd66de99c58e472bc3e8ed1590c7ff4ff7948479254c1c2111a601a8", size = 60305704, upload-time = "2026-03-30T18:35:23.425Z" },
+ { url = "https://files.pythonhosted.org/packages/52/f3/8d8369c756c4173ea070f6964213f9b622ac278bd04a058c48d00a549177/pylance-4.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:f36dce83c11cd5d598cb0f64bad7c51fc21ed43df868b9029184a385c6bf4d84", size = 56771233, upload-time = "2026-03-30T18:25:40.012Z" },
+ { url = "https://files.pythonhosted.org/packages/66/e6/53e0713440685b1c76e20d72755eca2e531cc182ea9a612b4cb6a15abe50/pylance-4.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:9ca03f97f22e0b75f06378c4006d587aba26408122fd066f0e43e2b7a019c67e", size = 60260813, upload-time = "2026-03-30T18:36:07.976Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/04/5f22b88c8965d3982f68f67bfe24d756e7b788e10392d2bec6f97f5eb0e3/pylance-4.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:9261c32d3bd6aaab33025a45b20c2f2554804e1bc2a1ec2bfcb06f0c9d2e59b9", size = 65137830, upload-time = "2026-03-30T18:37:33.048Z" },
+]
+
[[package]]
name = "pylate"
version = "1.0.0"
@@ -3948,34 +3994,34 @@ dependencies = [
{ name = "sqlitedict" },
{ name = "voyager" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4f/0c/b713aa646f99e31912c3a271b5d06fa78addbd5d98bc8314a2cb48d7144f/pylate-1.0.0.tar.gz", hash = "sha256:ece921265bdb538d5b67bf563f2c6f601677e5b0b491dd02719a87aa2b0457eb", size = 40448 }
+sdist = { url = "https://files.pythonhosted.org/packages/4f/0c/b713aa646f99e31912c3a271b5d06fa78addbd5d98bc8314a2cb48d7144f/pylate-1.0.0.tar.gz", hash = "sha256:ece921265bdb538d5b67bf563f2c6f601677e5b0b491dd02719a87aa2b0457eb", size = 40448, upload-time = "2024-08-29T12:11:30.048Z" }
[[package]]
name = "pymdown-extensions"
-version = "10.21"
+version = "10.21.2"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "markdown" },
{ name = "pyyaml" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ba/63/06673d1eb6d8f83c0ea1f677d770e12565fb516928b4109c9e2055656a9e/pymdown_extensions-10.21.tar.gz", hash = "sha256:39f4a020f40773f6b2ff31d2cd2546c2c04d0a6498c31d9c688d2be07e1767d5", size = 853363 }
+sdist = { url = "https://files.pythonhosted.org/packages/df/08/f1c908c581fd11913da4711ea7ba32c0eee40b0190000996bb863b0c9349/pymdown_extensions-10.21.2.tar.gz", hash = "sha256:c3f55a5b8a1d0edf6699e35dcbea71d978d34ff3fa79f3d807b8a5b3fa90fbdc", size = 853922, upload-time = "2026-03-29T15:01:55.233Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/6f/2c/5b079febdc65e1c3fb2729bf958d18b45be7113828528e8a0b5850dd819a/pymdown_extensions-10.21-py3-none-any.whl", hash = "sha256:91b879f9f864d49794c2d9534372b10150e6141096c3908a455e45ca72ad9d3f", size = 268877 },
+ { url = "https://files.pythonhosted.org/packages/f7/27/a2fc51a4a122dfd1015e921ae9d22fee3d20b0b8080d9a704578bf9deece/pymdown_extensions-10.21.2-py3-none-any.whl", hash = "sha256:5c0fd2a2bea14eb39af8ff284f1066d898ab2187d81b889b75d46d4348c01638", size = 268901, upload-time = "2026-03-29T15:01:53.244Z" },
]
[[package]]
name = "pymupdf"
version = "1.27.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/1b/0c/40dda0cc4bd2220a2ef75f8c53dd7d8ed1e29681fcb3df75db6ee9677a7e/pymupdf-1.27.1.tar.gz", hash = "sha256:4afbde0769c336717a149ab0de3330dcb75378f795c1a8c5af55c1a628b17d55", size = 85303479 }
+sdist = { url = "https://files.pythonhosted.org/packages/1b/0c/40dda0cc4bd2220a2ef75f8c53dd7d8ed1e29681fcb3df75db6ee9677a7e/pymupdf-1.27.1.tar.gz", hash = "sha256:4afbde0769c336717a149ab0de3330dcb75378f795c1a8c5af55c1a628b17d55", size = 85303479, upload-time = "2026-02-12T08:29:17.682Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/13/19/fde6ea4712a904b65e8f41124a0e4233879b87a770fe6a8ce857964de6d5/pymupdf-1.27.1-cp310-abi3-macosx_10_9_x86_64.whl", hash = "sha256:bee9f95512f9556dbf2cacfd1413c61b29a55baa07fa7f8fc83d221d8419888a", size = 23986707 },
- { url = "https://files.pythonhosted.org/packages/75/c2/070dff91ad3f1bc16fd6c6ceff23495601fcce4c92d28be534417596418a/pymupdf-1.27.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:3de95a0889395b0966fafd11b94980b7543a816e89dd1c218597a08543ac3415", size = 23263493 },
- { url = "https://files.pythonhosted.org/packages/8e/db/937377f4b3e0fbf6273c17436a49f7db17df1a46b1be9e26653b6fafc0e1/pymupdf-1.27.1-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:2c9d9353b840040cbc724341f4095fb7e2cc1a12a9147d0ec1a0a79f5d773147", size = 24317651 },
- { url = "https://files.pythonhosted.org/packages/72/d5/c701cf2d0cdd6e5d6bca3ca9188d7f5d7ce3ae67dd1368d658cd4bae2707/pymupdf-1.27.1-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:aeaed76e72cbc061149a825ab0811c5f4752970c56591c2938c5042ec06b26e1", size = 24945742 },
- { url = "https://files.pythonhosted.org/packages/2b/29/690202b38b93cf77b73a29c25a63a2b6f3fcb36b1f75006e50b8dee7c108/pymupdf-1.27.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4f1837554134fb45d390a44de8844b2ca9b6c901c82ccc90b340e3b7f3b126ca", size = 25167965 },
- { url = "https://files.pythonhosted.org/packages/8a/81/f937e6aa606fd263c3a45d0ff0f0bbdbf3fb779933091fc0f6179513cc93/pymupdf-1.27.1-cp310-abi3-win32.whl", hash = "sha256:fa33b512d82c6c4852edadf57f22d5f27d16243bb33dac0fbe4eb0f281c5b17e", size = 18006253 },
- { url = "https://files.pythonhosted.org/packages/3e/99/fe4a7752990bf65277718fffbead4478de9afd1c7288d7a6d643f79a6fa7/pymupdf-1.27.1-cp310-abi3-win_amd64.whl", hash = "sha256:4b6268dff3a9d713034eba5c2ffce0da37c62443578941ac5df433adcde57b2f", size = 19236703 },
+ { url = "https://files.pythonhosted.org/packages/13/19/fde6ea4712a904b65e8f41124a0e4233879b87a770fe6a8ce857964de6d5/pymupdf-1.27.1-cp310-abi3-macosx_10_9_x86_64.whl", hash = "sha256:bee9f95512f9556dbf2cacfd1413c61b29a55baa07fa7f8fc83d221d8419888a", size = 23986707, upload-time = "2026-02-11T15:03:24.025Z" },
+ { url = "https://files.pythonhosted.org/packages/75/c2/070dff91ad3f1bc16fd6c6ceff23495601fcce4c92d28be534417596418a/pymupdf-1.27.1-cp310-abi3-macosx_11_0_arm64.whl", hash = "sha256:3de95a0889395b0966fafd11b94980b7543a816e89dd1c218597a08543ac3415", size = 23263493, upload-time = "2026-02-11T15:03:45.528Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/db/937377f4b3e0fbf6273c17436a49f7db17df1a46b1be9e26653b6fafc0e1/pymupdf-1.27.1-cp310-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:2c9d9353b840040cbc724341f4095fb7e2cc1a12a9147d0ec1a0a79f5d773147", size = 24317651, upload-time = "2026-02-11T22:33:38.967Z" },
+ { url = "https://files.pythonhosted.org/packages/72/d5/c701cf2d0cdd6e5d6bca3ca9188d7f5d7ce3ae67dd1368d658cd4bae2707/pymupdf-1.27.1-cp310-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:aeaed76e72cbc061149a825ab0811c5f4752970c56591c2938c5042ec06b26e1", size = 24945742, upload-time = "2026-02-11T15:04:06.21Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/29/690202b38b93cf77b73a29c25a63a2b6f3fcb36b1f75006e50b8dee7c108/pymupdf-1.27.1-cp310-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4f1837554134fb45d390a44de8844b2ca9b6c901c82ccc90b340e3b7f3b126ca", size = 25167965, upload-time = "2026-02-11T22:36:35.478Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/81/f937e6aa606fd263c3a45d0ff0f0bbdbf3fb779933091fc0f6179513cc93/pymupdf-1.27.1-cp310-abi3-win32.whl", hash = "sha256:fa33b512d82c6c4852edadf57f22d5f27d16243bb33dac0fbe4eb0f281c5b17e", size = 18006253, upload-time = "2026-02-12T13:48:07.129Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/99/fe4a7752990bf65277718fffbead4478de9afd1c7288d7a6d643f79a6fa7/pymupdf-1.27.1-cp310-abi3-win_amd64.whl", hash = "sha256:4b6268dff3a9d713034eba5c2ffce0da37c62443578941ac5df433adcde57b2f", size = 19236703, upload-time = "2026-02-11T15:04:19.607Z" },
]
[[package]]
@@ -3989,9 +4035,9 @@ dependencies = [
{ name = "scikit-learn" },
{ name = "scipy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/4a/fb/7f58c397fb31666756457ee2ac4c0289ef2daad57f4ae4be8dec12f80b03/pynndescent-0.6.0.tar.gz", hash = "sha256:7ffde0fb5b400741e055a9f7d377e3702e02250616834231f6c209e39aac24f5", size = 2992987 }
+sdist = { url = "https://files.pythonhosted.org/packages/4a/fb/7f58c397fb31666756457ee2ac4c0289ef2daad57f4ae4be8dec12f80b03/pynndescent-0.6.0.tar.gz", hash = "sha256:7ffde0fb5b400741e055a9f7d377e3702e02250616834231f6c209e39aac24f5", size = 2992987, upload-time = "2026-01-08T21:29:58.943Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b2/e6/94145d714402fd5ade00b5661f2d0ab981219e07f7db9bfa16786cdb9c04/pynndescent-0.6.0-py3-none-any.whl", hash = "sha256:dc8c74844e4c7f5cbd1e0cd6909da86fdc789e6ff4997336e344779c3d5538ef", size = 73511 },
+ { url = "https://files.pythonhosted.org/packages/b2/e6/94145d714402fd5ade00b5661f2d0ab981219e07f7db9bfa16786cdb9c04/pynndescent-0.6.0-py3-none-any.whl", hash = "sha256:dc8c74844e4c7f5cbd1e0cd6909da86fdc789e6ff4997336e344779c3d5538ef", size = 73511, upload-time = "2026-01-08T21:29:57.306Z" },
]
[[package]]
@@ -4001,65 +4047,65 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "nvidia-ml-py" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/26/6f/6b5880ed0239e85b9a39aed103b65b2ef81425beef9f45e5c035bf008330/pynvml-12.0.0.tar.gz", hash = "sha256:299ce2451a6a17e6822d6faee750103e25b415f06f59abb8db65d30f794166f5", size = 33636 }
+sdist = { url = "https://files.pythonhosted.org/packages/26/6f/6b5880ed0239e85b9a39aed103b65b2ef81425beef9f45e5c035bf008330/pynvml-12.0.0.tar.gz", hash = "sha256:299ce2451a6a17e6822d6faee750103e25b415f06f59abb8db65d30f794166f5", size = 33636, upload-time = "2024-12-02T15:04:36.631Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ed/df/f7cf07a65a96dd11d71f346f9c2863accdd4784da83af7181b067d556cbc/pynvml-12.0.0-py3-none-any.whl", hash = "sha256:fdff84b62a27dbe98e08e1a647eb77342bef1aebe0878bcd15e99a83fcbecb9e", size = 26560 },
+ { url = "https://files.pythonhosted.org/packages/ed/df/f7cf07a65a96dd11d71f346f9c2863accdd4784da83af7181b067d556cbc/pynvml-12.0.0-py3-none-any.whl", hash = "sha256:fdff84b62a27dbe98e08e1a647eb77342bef1aebe0878bcd15e99a83fcbecb9e", size = 26560, upload-time = "2024-12-02T15:04:35.047Z" },
]
[[package]]
name = "pyparsing"
version = "3.3.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574 }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574, upload-time = "2026-01-21T03:57:59.36Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781 },
+ { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781, upload-time = "2026-01-21T03:57:55.912Z" },
]
[[package]]
name = "pypdfium2"
version = "5.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/3b/01/be763b9081c7eb823196e7d13d9c145bf75ac43f3c1466de81c21c24b381/pypdfium2-5.6.0.tar.gz", hash = "sha256:bcb9368acfe3547054698abbdae68ba0cbd2d3bda8e8ee437e061deef061976d", size = 270714 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/9d/b1/129ed0177521a93a892f8a6a215dd3260093e30e77ef7035004bb8af7b6c/pypdfium2-5.6.0-py3-none-android_23_arm64_v8a.whl", hash = "sha256:fb7858c9707708555b4a719b5548a6e7f5d26bc82aef55ae4eb085d7a2190b11", size = 3346059 },
- { url = "https://files.pythonhosted.org/packages/86/34/cbdece6886012180a7f2c7b2c360c415cf5e1f83f1973d2c9201dae3506a/pypdfium2-5.6.0-py3-none-android_23_armeabi_v7a.whl", hash = "sha256:6a7e1f4597317786f994bfb947eef480e53933f804a990193ab89eef8243f805", size = 2804418 },
- { url = "https://files.pythonhosted.org/packages/6e/f6/9f9e190fe0e5a6b86b82f83bd8b5d3490348766062381140ca5cad8e00b1/pypdfium2-5.6.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e468c38997573f0e86f03273c2c1fbdea999de52ba43fee96acaa2f6b2ad35f7", size = 3412541 },
- { url = "https://files.pythonhosted.org/packages/ee/8d/e57492cb2228ba56ed57de1ff044c8ac114b46905f8b1445c33299ba0488/pypdfium2-5.6.0-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:ad3abddc5805424f962e383253ccad6a0d1d2ebd86afa9a9e1b9ca659773cd0d", size = 3592320 },
- { url = "https://files.pythonhosted.org/packages/f9/8a/8ab82e33e9c551494cbe1526ea250ca8cc4e9e98d6a4fc6b6f8d959aa1d1/pypdfium2-5.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f6b5eb9eae5c45076395454522ca26add72ba8bd1fe473e1e4721aa58521470c", size = 3596450 },
- { url = "https://files.pythonhosted.org/packages/f5/b5/602a792282312ccb158cc63849528079d94b0a11efdc61f2a359edfb41e9/pypdfium2-5.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:258624da8ef45cdc426e11b33e9d83f9fb723c1c201c6e0f4ab5a85966c6b876", size = 3325442 },
- { url = "https://files.pythonhosted.org/packages/81/1f/9e48ec05ed8d19d736c2d1f23c1bd0f20673f02ef846a2576c69e237f15d/pypdfium2-5.6.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e9367451c8a00931d6612db0822525a18c06f649d562cd323a719e46ac19c9bb", size = 3727434 },
- { url = "https://files.pythonhosted.org/packages/33/90/0efd020928b4edbd65f4f3c2af0c84e20b43a3ada8fa6d04f999a97afe7a/pypdfium2-5.6.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a757869f891eac1cc1372e38a4aa01adac8abc8fe2a8a4e2ebf50595e3bf5937", size = 4139029 },
- { url = "https://files.pythonhosted.org/packages/ff/49/a640b288a48dab1752281dd9b72c0679fccea107874e80a65a606b00efa9/pypdfium2-5.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:515be355222cc57ae9e62cd5c7c350b8e0c863efc539f80c7d75e2811ba45cb6", size = 3646387 },
- { url = "https://files.pythonhosted.org/packages/b0/3b/a344c19c01021eeb5d830c102e4fc9b1602f19c04aa7d11abbe2d188fd8e/pypdfium2-5.6.0-py3-none-manylinux_2_27_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1c4753c7caf7d004211d7f57a21f10d127f5e0e5510a14d24bc073e7220a3ea", size = 3097212 },
- { url = "https://files.pythonhosted.org/packages/50/96/e48e13789ace22aeb9b7510904a1b1493ec588196e11bbacc122da330b3d/pypdfium2-5.6.0-py3-none-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c49729090281fdd85775fb8912c10bd19e99178efaa98f145ab06e7ce68554d2", size = 2965026 },
- { url = "https://files.pythonhosted.org/packages/cb/06/3100e44d4935f73af8f5d633d3bd40f0d36d606027085a0ef1f0566a6320/pypdfium2-5.6.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a4a1749a8d4afd62924a8d95cfa4f2e26fc32957ce34ac3b674be6f127ed252e", size = 4131431 },
- { url = "https://files.pythonhosted.org/packages/64/ef/d8df63569ce9a66c8496057782eb8af78e0d28667922d62ec958434e3d4b/pypdfium2-5.6.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:36469ebd0fdffb7130ce45ed9c44f8232d91571c89eb851bd1633c64b6f6114f", size = 3747469 },
- { url = "https://files.pythonhosted.org/packages/a6/47/fd2c6a67a49fade1acd719fbd11f7c375e7219912923ef2de0ea0ac1544e/pypdfium2-5.6.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9da900df09be3cf546b637a127a7b6428fb22d705951d731269e25fd3adef457", size = 4337578 },
- { url = "https://files.pythonhosted.org/packages/6b/f5/836c83e54b01e09478c4d6bf4912651d6053c932250fcee953f5c72d8e4a/pypdfium2-5.6.0-py3-none-musllinux_1_2_ppc64le.whl", hash = "sha256:45fccd5622233c5ec91a885770ae7dd4004d4320ac05a4ad8fa03a66dea40244", size = 4376104 },
- { url = "https://files.pythonhosted.org/packages/6e/7f/b940b6a1664daf8f9bad87c6c99b84effa3611615b8708d10392dc33036c/pypdfium2-5.6.0-py3-none-musllinux_1_2_riscv64.whl", hash = "sha256:282dc030e767cd61bd0299f9d581052b91188e2b87561489057a8e7963e7e0cb", size = 3929824 },
- { url = "https://files.pythonhosted.org/packages/88/79/00267d92a6a58c229e364d474f5698efe446e0c7f4f152f58d0138715e99/pypdfium2-5.6.0-py3-none-musllinux_1_2_s390x.whl", hash = "sha256:a1c1dfe950382c76a7bba1ba160ec5e40df8dd26b04a1124ae268fda55bc4cbe", size = 4270201 },
- { url = "https://files.pythonhosted.org/packages/e1/ab/b127f38aba41746bdf9ace15ba08411d7ef6ecba1326d529ba414eb1ed50/pypdfium2-5.6.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:43b0341ca6feb6c92e4b7a9eb4813e5466f5f5e8b6baeb14df0a94d5f312c00b", size = 4180793 },
- { url = "https://files.pythonhosted.org/packages/0e/8c/a01c8e4302448b614d25a85c08298b0d3e9dfbdac5bd1b2f32c9b02e83d9/pypdfium2-5.6.0-py3-none-win32.whl", hash = "sha256:9dfcd4ff49a2b9260d00e38539ab28190d59e785e83030b30ffaf7a29c42155d", size = 3596753 },
- { url = "https://files.pythonhosted.org/packages/9b/5f/2d871adf46761bb002a62686545da6348afe838d19af03df65d1ece786a2/pypdfium2-5.6.0-py3-none-win_amd64.whl", hash = "sha256:c6bc8dd63d0568f4b592f3e03de756afafc0e44aa1fe8878cc4aba1b11ae7374", size = 3716526 },
- { url = "https://files.pythonhosted.org/packages/3a/80/0d9b162098597fbe3ac2b269b1682c0c3e8db9ba87679603fdd9b19afaa6/pypdfium2-5.6.0-py3-none-win_arm64.whl", hash = "sha256:5538417b199bdcb3207370c88df61f2ba3dac7a3253f82e1aa2708e6376b6f90", size = 3515049 },
+sdist = { url = "https://files.pythonhosted.org/packages/3b/01/be763b9081c7eb823196e7d13d9c145bf75ac43f3c1466de81c21c24b381/pypdfium2-5.6.0.tar.gz", hash = "sha256:bcb9368acfe3547054698abbdae68ba0cbd2d3bda8e8ee437e061deef061976d", size = 270714, upload-time = "2026-03-08T01:05:06.5Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9d/b1/129ed0177521a93a892f8a6a215dd3260093e30e77ef7035004bb8af7b6c/pypdfium2-5.6.0-py3-none-android_23_arm64_v8a.whl", hash = "sha256:fb7858c9707708555b4a719b5548a6e7f5d26bc82aef55ae4eb085d7a2190b11", size = 3346059, upload-time = "2026-03-08T01:04:21.37Z" },
+ { url = "https://files.pythonhosted.org/packages/86/34/cbdece6886012180a7f2c7b2c360c415cf5e1f83f1973d2c9201dae3506a/pypdfium2-5.6.0-py3-none-android_23_armeabi_v7a.whl", hash = "sha256:6a7e1f4597317786f994bfb947eef480e53933f804a990193ab89eef8243f805", size = 2804418, upload-time = "2026-03-08T01:04:23.384Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/f6/9f9e190fe0e5a6b86b82f83bd8b5d3490348766062381140ca5cad8e00b1/pypdfium2-5.6.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e468c38997573f0e86f03273c2c1fbdea999de52ba43fee96acaa2f6b2ad35f7", size = 3412541, upload-time = "2026-03-08T01:04:25.45Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/8d/e57492cb2228ba56ed57de1ff044c8ac114b46905f8b1445c33299ba0488/pypdfium2-5.6.0-py3-none-macosx_11_0_x86_64.whl", hash = "sha256:ad3abddc5805424f962e383253ccad6a0d1d2ebd86afa9a9e1b9ca659773cd0d", size = 3592320, upload-time = "2026-03-08T01:04:27.509Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/8a/8ab82e33e9c551494cbe1526ea250ca8cc4e9e98d6a4fc6b6f8d959aa1d1/pypdfium2-5.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f6b5eb9eae5c45076395454522ca26add72ba8bd1fe473e1e4721aa58521470c", size = 3596450, upload-time = "2026-03-08T01:04:29.183Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/b5/602a792282312ccb158cc63849528079d94b0a11efdc61f2a359edfb41e9/pypdfium2-5.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:258624da8ef45cdc426e11b33e9d83f9fb723c1c201c6e0f4ab5a85966c6b876", size = 3325442, upload-time = "2026-03-08T01:04:30.886Z" },
+ { url = "https://files.pythonhosted.org/packages/81/1f/9e48ec05ed8d19d736c2d1f23c1bd0f20673f02ef846a2576c69e237f15d/pypdfium2-5.6.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e9367451c8a00931d6612db0822525a18c06f649d562cd323a719e46ac19c9bb", size = 3727434, upload-time = "2026-03-08T01:04:33.619Z" },
+ { url = "https://files.pythonhosted.org/packages/33/90/0efd020928b4edbd65f4f3c2af0c84e20b43a3ada8fa6d04f999a97afe7a/pypdfium2-5.6.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a757869f891eac1cc1372e38a4aa01adac8abc8fe2a8a4e2ebf50595e3bf5937", size = 4139029, upload-time = "2026-03-08T01:04:36.08Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/49/a640b288a48dab1752281dd9b72c0679fccea107874e80a65a606b00efa9/pypdfium2-5.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:515be355222cc57ae9e62cd5c7c350b8e0c863efc539f80c7d75e2811ba45cb6", size = 3646387, upload-time = "2026-03-08T01:04:38.151Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/3b/a344c19c01021eeb5d830c102e4fc9b1602f19c04aa7d11abbe2d188fd8e/pypdfium2-5.6.0-py3-none-manylinux_2_27_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1c4753c7caf7d004211d7f57a21f10d127f5e0e5510a14d24bc073e7220a3ea", size = 3097212, upload-time = "2026-03-08T01:04:40.776Z" },
+ { url = "https://files.pythonhosted.org/packages/50/96/e48e13789ace22aeb9b7510904a1b1493ec588196e11bbacc122da330b3d/pypdfium2-5.6.0-py3-none-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c49729090281fdd85775fb8912c10bd19e99178efaa98f145ab06e7ce68554d2", size = 2965026, upload-time = "2026-03-08T01:04:42.857Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/06/3100e44d4935f73af8f5d633d3bd40f0d36d606027085a0ef1f0566a6320/pypdfium2-5.6.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a4a1749a8d4afd62924a8d95cfa4f2e26fc32957ce34ac3b674be6f127ed252e", size = 4131431, upload-time = "2026-03-08T01:04:44.982Z" },
+ { url = "https://files.pythonhosted.org/packages/64/ef/d8df63569ce9a66c8496057782eb8af78e0d28667922d62ec958434e3d4b/pypdfium2-5.6.0-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:36469ebd0fdffb7130ce45ed9c44f8232d91571c89eb851bd1633c64b6f6114f", size = 3747469, upload-time = "2026-03-08T01:04:46.702Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/47/fd2c6a67a49fade1acd719fbd11f7c375e7219912923ef2de0ea0ac1544e/pypdfium2-5.6.0-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9da900df09be3cf546b637a127a7b6428fb22d705951d731269e25fd3adef457", size = 4337578, upload-time = "2026-03-08T01:04:49.007Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/f5/836c83e54b01e09478c4d6bf4912651d6053c932250fcee953f5c72d8e4a/pypdfium2-5.6.0-py3-none-musllinux_1_2_ppc64le.whl", hash = "sha256:45fccd5622233c5ec91a885770ae7dd4004d4320ac05a4ad8fa03a66dea40244", size = 4376104, upload-time = "2026-03-08T01:04:51.04Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/7f/b940b6a1664daf8f9bad87c6c99b84effa3611615b8708d10392dc33036c/pypdfium2-5.6.0-py3-none-musllinux_1_2_riscv64.whl", hash = "sha256:282dc030e767cd61bd0299f9d581052b91188e2b87561489057a8e7963e7e0cb", size = 3929824, upload-time = "2026-03-08T01:04:53.544Z" },
+ { url = "https://files.pythonhosted.org/packages/88/79/00267d92a6a58c229e364d474f5698efe446e0c7f4f152f58d0138715e99/pypdfium2-5.6.0-py3-none-musllinux_1_2_s390x.whl", hash = "sha256:a1c1dfe950382c76a7bba1ba160ec5e40df8dd26b04a1124ae268fda55bc4cbe", size = 4270201, upload-time = "2026-03-08T01:04:55.81Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/ab/b127f38aba41746bdf9ace15ba08411d7ef6ecba1326d529ba414eb1ed50/pypdfium2-5.6.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:43b0341ca6feb6c92e4b7a9eb4813e5466f5f5e8b6baeb14df0a94d5f312c00b", size = 4180793, upload-time = "2026-03-08T01:04:57.961Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/8c/a01c8e4302448b614d25a85c08298b0d3e9dfbdac5bd1b2f32c9b02e83d9/pypdfium2-5.6.0-py3-none-win32.whl", hash = "sha256:9dfcd4ff49a2b9260d00e38539ab28190d59e785e83030b30ffaf7a29c42155d", size = 3596753, upload-time = "2026-03-08T01:05:00.566Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/5f/2d871adf46761bb002a62686545da6348afe838d19af03df65d1ece786a2/pypdfium2-5.6.0-py3-none-win_amd64.whl", hash = "sha256:c6bc8dd63d0568f4b592f3e03de756afafc0e44aa1fe8878cc4aba1b11ae7374", size = 3716526, upload-time = "2026-03-08T01:05:02.433Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/80/0d9b162098597fbe3ac2b269b1682c0c3e8db9ba87679603fdd9b19afaa6/pypdfium2-5.6.0-py3-none-win_arm64.whl", hash = "sha256:5538417b199bdcb3207370c88df61f2ba3dac7a3253f82e1aa2708e6376b6f90", size = 3515049, upload-time = "2026-03-08T01:05:04.587Z" },
]
[[package]]
name = "pypika"
version = "0.51.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f8/78/cbaebba88e05e2dcda13ca203131b38d3640219f20ebb49676d26714861b/pypika-0.51.1.tar.gz", hash = "sha256:c30c7c1048fbf056fd3920c5a2b88b0c29dd190a9b2bee971fd17e4abe4d0ebe", size = 80919 }
+sdist = { url = "https://files.pythonhosted.org/packages/f8/78/cbaebba88e05e2dcda13ca203131b38d3640219f20ebb49676d26714861b/pypika-0.51.1.tar.gz", hash = "sha256:c30c7c1048fbf056fd3920c5a2b88b0c29dd190a9b2bee971fd17e4abe4d0ebe", size = 80919, upload-time = "2026-02-04T11:27:48.304Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/57/83/c77dfeed04022e8930b08eedca2b6e5efed256ab3321396fde90066efb65/pypika-0.51.1-py2.py3-none-any.whl", hash = "sha256:77985b4d7ce71b9905255bf12468cf598349e98837c037541cfc240e528aec46", size = 60585 },
+ { url = "https://files.pythonhosted.org/packages/57/83/c77dfeed04022e8930b08eedca2b6e5efed256ab3321396fde90066efb65/pypika-0.51.1-py2.py3-none-any.whl", hash = "sha256:77985b4d7ce71b9905255bf12468cf598349e98837c037541cfc240e528aec46", size = 60585, upload-time = "2026-02-04T11:27:46.251Z" },
]
[[package]]
name = "pyproject-hooks"
version = "1.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/e7/82/28175b2414effca1cdac8dc99f76d660e7a4fb0ceefa4b4ab8f5f6742925/pyproject_hooks-1.2.0.tar.gz", hash = "sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8", size = 19228 }
+sdist = { url = "https://files.pythonhosted.org/packages/e7/82/28175b2414effca1cdac8dc99f76d660e7a4fb0ceefa4b4ab8f5f6742925/pyproject_hooks-1.2.0.tar.gz", hash = "sha256:1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c970da1f8", size = 19228, upload-time = "2024-09-29T09:24:13.293Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl", hash = "sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913", size = 10216 },
+ { url = "https://files.pythonhosted.org/packages/bd/24/12818598c362d7f300f18e74db45963dbcb85150324092410c8b49405e42/pyproject_hooks-1.2.0-py3-none-any.whl", hash = "sha256:9e5c6bfa8dcc30091c74b0cf803c81fdd29d94f01992a7707bc97babb1141913", size = 10216, upload-time = "2024-09-29T09:24:11.978Z" },
]
[[package]]
@@ -4073,9 +4119,9 @@ dependencies = [
{ name = "pluggy" },
{ name = "pygments" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a3/5c/00a0e072241553e1a7496d638deababa67c5058571567b92a7eaa258397c/pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01", size = 1519618 }
+sdist = { url = "https://files.pythonhosted.org/packages/a3/5c/00a0e072241553e1a7496d638deababa67c5058571567b92a7eaa258397c/pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01", size = 1519618, upload-time = "2025-09-04T14:34:22.711Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a8/a4/20da314d277121d6534b3a980b29035dcd51e6744bd79075a6ce8fa4eb8d/pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79", size = 365750 },
+ { url = "https://files.pythonhosted.org/packages/a8/a4/20da314d277121d6534b3a980b29035dcd51e6744bd79075a6ce8fa4eb8d/pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79", size = 365750, upload-time = "2025-09-04T14:34:20.226Z" },
]
[[package]]
@@ -4085,9 +4131,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pytest" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/8e/c4/453c52c659521066969523e87d85d54139bbd17b78f09532fb8eb8cdb58e/pytest_asyncio-0.26.0.tar.gz", hash = "sha256:c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f", size = 54156 }
+sdist = { url = "https://files.pythonhosted.org/packages/8e/c4/453c52c659521066969523e87d85d54139bbd17b78f09532fb8eb8cdb58e/pytest_asyncio-0.26.0.tar.gz", hash = "sha256:c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f", size = 54156, upload-time = "2025-03-25T06:22:28.883Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/20/7f/338843f449ace853647ace35870874f69a764d251872ed1b4de9f234822c/pytest_asyncio-0.26.0-py3-none-any.whl", hash = "sha256:7b51ed894f4fbea1340262bdae5135797ebbe21d8638978e35d31c6d19f72fb0", size = 19694 },
+ { url = "https://files.pythonhosted.org/packages/20/7f/338843f449ace853647ace35870874f69a764d251872ed1b4de9f234822c/pytest_asyncio-0.26.0-py3-none-any.whl", hash = "sha256:7b51ed894f4fbea1340262bdae5135797ebbe21d8638978e35d31c6d19f72fb0", size = 19694, upload-time = "2025-03-25T06:22:27.807Z" },
]
[[package]]
@@ -4099,9 +4145,9 @@ dependencies = [
{ name = "pluggy" },
{ name = "pytest" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5e/f7/c933acc76f5208b3b00089573cf6a2bc26dc80a8aece8f52bb7d6b1855ca/pytest_cov-7.0.0.tar.gz", hash = "sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1", size = 54328 }
+sdist = { url = "https://files.pythonhosted.org/packages/5e/f7/c933acc76f5208b3b00089573cf6a2bc26dc80a8aece8f52bb7d6b1855ca/pytest_cov-7.0.0.tar.gz", hash = "sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1", size = 54328, upload-time = "2025-09-09T10:57:02.113Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ee/49/1377b49de7d0c1ce41292161ea0f721913fa8722c19fb9c1e3aa0367eecb/pytest_cov-7.0.0-py3-none-any.whl", hash = "sha256:3b8e9558b16cc1479da72058bdecf8073661c7f57f7d3c5f22a1c23507f2d861", size = 22424 },
+ { url = "https://files.pythonhosted.org/packages/ee/49/1377b49de7d0c1ce41292161ea0f721913fa8722c19fb9c1e3aa0367eecb/pytest_cov-7.0.0-py3-none-any.whl", hash = "sha256:3b8e9558b16cc1479da72058bdecf8073661c7f57f7d3c5f22a1c23507f2d861", size = 22424, upload-time = "2025-09-09T10:57:00.695Z" },
]
[[package]]
@@ -4111,9 +4157,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pytest" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/32/ae/3ad5c609a5088936608af12f42ad72567a877d3c64303500ebc3b7df0297/pytest_subprocess-1.5.3.tar.gz", hash = "sha256:c00b1140fb0211b3153e09500d770db10770baccbe6e05ee9c140036d1d811d5", size = 42282 }
+sdist = { url = "https://files.pythonhosted.org/packages/32/ae/3ad5c609a5088936608af12f42ad72567a877d3c64303500ebc3b7df0297/pytest_subprocess-1.5.3.tar.gz", hash = "sha256:c00b1140fb0211b3153e09500d770db10770baccbe6e05ee9c140036d1d811d5", size = 42282, upload-time = "2025-01-04T13:08:16.877Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1b/82/a038e8fdb86d5494a39b8730547ec79767731d02ecb556121e40c0892803/pytest_subprocess-1.5.3-py3-none-any.whl", hash = "sha256:b62580f5a84335fb9f2ec65d49e56a3c93f4722c148fe1771a002835d310a75b", size = 21759 },
+ { url = "https://files.pythonhosted.org/packages/1b/82/a038e8fdb86d5494a39b8730547ec79767731d02ecb556121e40c0892803/pytest_subprocess-1.5.3-py3-none-any.whl", hash = "sha256:b62580f5a84335fb9f2ec65d49e56a3c93f4722c148fe1771a002835d310a75b", size = 21759, upload-time = "2025-01-04T13:08:13.775Z" },
]
[[package]]
@@ -4124,9 +4170,9 @@ dependencies = [
{ name = "pytest" },
{ name = "termcolor" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0b/4e/60fed105549297ba1a700e1ea7b828044842ea27d72c898990510b79b0e2/pytest-sugar-1.1.1.tar.gz", hash = "sha256:73b8b65163ebf10f9f671efab9eed3d56f20d2ca68bda83fa64740a92c08f65d", size = 16533 }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/4e/60fed105549297ba1a700e1ea7b828044842ea27d72c898990510b79b0e2/pytest-sugar-1.1.1.tar.gz", hash = "sha256:73b8b65163ebf10f9f671efab9eed3d56f20d2ca68bda83fa64740a92c08f65d", size = 16533, upload-time = "2025-08-23T12:19:35.737Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/87/d5/81d38a91c1fdafb6711f053f5a9b92ff788013b19821257c2c38c1e132df/pytest_sugar-1.1.1-py3-none-any.whl", hash = "sha256:2f8319b907548d5b9d03a171515c1d43d2e38e32bd8182a1781eb20b43344cc8", size = 11440 },
+ { url = "https://files.pythonhosted.org/packages/87/d5/81d38a91c1fdafb6711f053f5a9b92ff788013b19821257c2c38c1e132df/pytest_sugar-1.1.1-py3-none-any.whl", hash = "sha256:2f8319b907548d5b9d03a171515c1d43d2e38e32bd8182a1781eb20b43344cc8", size = 11440, upload-time = "2025-08-23T12:19:34.894Z" },
]
[[package]]
@@ -4136,9 +4182,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "six" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432 }
+sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892 },
+ { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" },
]
[[package]]
@@ -4149,9 +4195,9 @@ dependencies = [
{ name = "filelock" },
{ name = "platformdirs" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ec/67/09765eacf4e44413c4f8943ba5a317fcb9c7b447c3b8b0b7fce7e3090b0b/python_discovery-1.1.1.tar.gz", hash = "sha256:584c08b141c5b7029f206b4e8b78b1a1764b22121e21519b89dec56936e95b0a", size = 56016 }
+sdist = { url = "https://files.pythonhosted.org/packages/ec/67/09765eacf4e44413c4f8943ba5a317fcb9c7b447c3b8b0b7fce7e3090b0b/python_discovery-1.1.1.tar.gz", hash = "sha256:584c08b141c5b7029f206b4e8b78b1a1764b22121e21519b89dec56936e95b0a", size = 56016, upload-time = "2026-03-07T00:00:56.354Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/75/0f/2bf7e3b5a4a65f623cb820feb5793e243fad58ae561015ee15a6152f67a2/python_discovery-1.1.1-py3-none-any.whl", hash = "sha256:69f11073fa2392251e405d4e847d60ffffd25fd762a0dc4d1a7d6b9c3f79f1a3", size = 30732 },
+ { url = "https://files.pythonhosted.org/packages/75/0f/2bf7e3b5a4a65f623cb820feb5793e243fad58ae561015ee15a6152f67a2/python_discovery-1.1.1-py3-none-any.whl", hash = "sha256:69f11073fa2392251e405d4e847d60ffffd25fd762a0dc4d1a7d6b9c3f79f1a3", size = 30732, upload-time = "2026-03-07T00:00:55.143Z" },
]
[[package]]
@@ -4162,18 +4208,18 @@ dependencies = [
{ name = "lxml" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a9/f7/eddfe33871520adab45aaa1a71f0402a2252050c14c7e3009446c8f4701c/python_docx-1.2.0.tar.gz", hash = "sha256:7bc9d7b7d8a69c9c02ca09216118c86552704edc23bac179283f2e38f86220ce", size = 5723256 }
+sdist = { url = "https://files.pythonhosted.org/packages/a9/f7/eddfe33871520adab45aaa1a71f0402a2252050c14c7e3009446c8f4701c/python_docx-1.2.0.tar.gz", hash = "sha256:7bc9d7b7d8a69c9c02ca09216118c86552704edc23bac179283f2e38f86220ce", size = 5723256, upload-time = "2025-06-16T20:46:27.921Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d0/00/1e03a4989fa5795da308cd774f05b704ace555a70f9bf9d3be057b680bcf/python_docx-1.2.0-py3-none-any.whl", hash = "sha256:3fd478f3250fbbbfd3b94fe1e985955737c145627498896a8a6bf81f4baf66c7", size = 252987 },
+ { url = "https://files.pythonhosted.org/packages/d0/00/1e03a4989fa5795da308cd774f05b704ace555a70f9bf9d3be057b680bcf/python_docx-1.2.0-py3-none-any.whl", hash = "sha256:3fd478f3250fbbbfd3b94fe1e985955737c145627498896a8a6bf81f4baf66c7", size = 252987, upload-time = "2025-06-16T20:46:22.506Z" },
]
[[package]]
name = "python-dotenv"
version = "1.2.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135 }
+sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101 },
+ { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" },
]
[[package]]
@@ -4184,18 +4230,18 @@ dependencies = [
{ name = "lark" },
{ name = "regex" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/50/8e/f82ed407a10c2dd4228ff0fceec8a16dd6a9191a2ed119233c04dccf2ca4/python_hcl2-7.3.1.tar.gz", hash = "sha256:f8f55583703daf7bbcb595a33c68de891064d565974ea39998b81d15a4c4657b", size = 35352 }
+sdist = { url = "https://files.pythonhosted.org/packages/50/8e/f82ed407a10c2dd4228ff0fceec8a16dd6a9191a2ed119233c04dccf2ca4/python_hcl2-7.3.1.tar.gz", hash = "sha256:f8f55583703daf7bbcb595a33c68de891064d565974ea39998b81d15a4c4657b", size = 35352, upload-time = "2025-07-24T12:33:49.883Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/99/56/8f6418645fee59dd7a85a6e155d13ebf07608edc98965b211b0ed86ef35a/python_hcl2-7.3.1-py3-none-any.whl", hash = "sha256:6bf6036d3dffac04e05e6aa58ff6e9a3710bba2171325584dfd7b3f8c99c6d4d", size = 22426 },
+ { url = "https://files.pythonhosted.org/packages/99/56/8f6418645fee59dd7a85a6e155d13ebf07608edc98965b211b0ed86ef35a/python_hcl2-7.3.1-py3-none-any.whl", hash = "sha256:6bf6036d3dffac04e05e6aa58ff6e9a3710bba2171325584dfd7b3f8c99c6d4d", size = 22426, upload-time = "2025-07-24T12:33:49.015Z" },
]
[[package]]
name = "python-multipart"
version = "0.0.22"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/94/01/979e98d542a70714b0cb2b6728ed0b7c46792b695e3eaec3e20711271ca3/python_multipart-0.0.22.tar.gz", hash = "sha256:7340bef99a7e0032613f56dc36027b959fd3b30a787ed62d310e951f7c3a3a58", size = 37612 }
+sdist = { url = "https://files.pythonhosted.org/packages/94/01/979e98d542a70714b0cb2b6728ed0b7c46792b695e3eaec3e20711271ca3/python_multipart-0.0.22.tar.gz", hash = "sha256:7340bef99a7e0032613f56dc36027b959fd3b30a787ed62d310e951f7c3a3a58", size = 37612, upload-time = "2026-01-25T10:15:56.219Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1b/d0/397f9626e711ff749a95d96b7af99b9c566a9bb5129b8e4c10fc4d100304/python_multipart-0.0.22-py3-none-any.whl", hash = "sha256:2b2cd894c83d21bf49d702499531c7bafd057d730c201782048f7945d82de155", size = 24579 },
+ { url = "https://files.pythonhosted.org/packages/1b/d0/397f9626e711ff749a95d96b7af99b9c566a9bb5129b8e4c10fc4d100304/python_multipart-0.0.22-py3-none-any.whl", hash = "sha256:2b2cd894c83d21bf49d702499531c7bafd057d730c201782048f7945d82de155", size = 24579, upload-time = "2026-01-25T10:15:54.811Z" },
]
[[package]]
@@ -4206,30 +4252,30 @@ dependencies = [
{ name = "numpy" },
{ name = "scipy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/04/96/4925a95e4865a647bc74d3bb052243d12a3c8e8a34909d7d097b5a4d08c5/pytrec_eval_terrier-0.5.10.tar.gz", hash = "sha256:eaaf20580d17b5575a233e04dab8a4cbcc01a7e45be8cf547c07f0a2bb3e7eb9", size = 18634 }
+sdist = { url = "https://files.pythonhosted.org/packages/04/96/4925a95e4865a647bc74d3bb052243d12a3c8e8a34909d7d097b5a4d08c5/pytrec_eval_terrier-0.5.10.tar.gz", hash = "sha256:eaaf20580d17b5575a233e04dab8a4cbcc01a7e45be8cf547c07f0a2bb3e7eb9", size = 18634, upload-time = "2025-10-20T16:50:18.098Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d3/ca/f0edd9df08c08c96d2f088c298cfb824c3ee816302ac1f911ecb1bfdd681/pytrec_eval_terrier-0.5.10-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e28c3c14728713cdbad165964e2d1aba96b0fc7445a5a13168b398e9bd3bbd08", size = 137179 },
- { url = "https://files.pythonhosted.org/packages/73/55/e02a14b0d3ac520849f66391f03c6783b3383fd23a19372d07a2280b815e/pytrec_eval_terrier-0.5.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:689ee541d72c27d14ae15cd1f11d2cb86cf9bdc880f5e8af9c5dbbdd47663d4d", size = 304845 },
- { url = "https://files.pythonhosted.org/packages/76/9c/9020b700199b09ebdfc6dbadae81641a49555c4ee21dedbe2aa98af601b5/pytrec_eval_terrier-0.5.10-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3f02118dadd3c09b71462bb26e405e49bd10fe0c60bcc169fcd31454a4256dc2", size = 1327965 },
- { url = "https://files.pythonhosted.org/packages/39/9e/6e7c2b89f52e1cebeef6c3bb47272f5bd69766ddbc6e9e5445da0c876899/pytrec_eval_terrier-0.5.10-cp312-cp312-win_amd64.whl", hash = "sha256:202e48fe24948453fe45dcd73261f9865f99cb2ff4c8a3255ac2ab4c993a64ba", size = 58641 },
+ { url = "https://files.pythonhosted.org/packages/d3/ca/f0edd9df08c08c96d2f088c298cfb824c3ee816302ac1f911ecb1bfdd681/pytrec_eval_terrier-0.5.10-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e28c3c14728713cdbad165964e2d1aba96b0fc7445a5a13168b398e9bd3bbd08", size = 137179, upload-time = "2025-10-20T16:51:07.809Z" },
+ { url = "https://files.pythonhosted.org/packages/73/55/e02a14b0d3ac520849f66391f03c6783b3383fd23a19372d07a2280b815e/pytrec_eval_terrier-0.5.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:689ee541d72c27d14ae15cd1f11d2cb86cf9bdc880f5e8af9c5dbbdd47663d4d", size = 304845, upload-time = "2025-10-20T16:54:17.791Z" },
+ { url = "https://files.pythonhosted.org/packages/76/9c/9020b700199b09ebdfc6dbadae81641a49555c4ee21dedbe2aa98af601b5/pytrec_eval_terrier-0.5.10-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3f02118dadd3c09b71462bb26e405e49bd10fe0c60bcc169fcd31454a4256dc2", size = 1327965, upload-time = "2025-10-20T16:54:18.743Z" },
+ { url = "https://files.pythonhosted.org/packages/39/9e/6e7c2b89f52e1cebeef6c3bb47272f5bd69766ddbc6e9e5445da0c876899/pytrec_eval_terrier-0.5.10-cp312-cp312-win_amd64.whl", hash = "sha256:202e48fe24948453fe45dcd73261f9865f99cb2ff4c8a3255ac2ab4c993a64ba", size = 58641, upload-time = "2025-10-20T16:51:26.148Z" },
]
[[package]]
name = "pytube"
version = "15.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/d8/e7/16fec46c8d255c4bbc4b185d89c91dc92cdb802836570d8004d0db169c91/pytube-15.0.0.tar.gz", hash = "sha256:076052efe76f390dfa24b1194ff821d4e86c17d41cb5562f3a276a8bcbfc9d1d", size = 67229 }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/e7/16fec46c8d255c4bbc4b185d89c91dc92cdb802836570d8004d0db169c91/pytube-15.0.0.tar.gz", hash = "sha256:076052efe76f390dfa24b1194ff821d4e86c17d41cb5562f3a276a8bcbfc9d1d", size = 67229, upload-time = "2023-05-07T19:39:01.903Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/51/64/bcf8632ed2b7a36bbf84a0544885ffa1d0b4bcf25cc0903dba66ec5fdad9/pytube-15.0.0-py3-none-any.whl", hash = "sha256:07b9904749e213485780d7eb606e5e5b8e4341aa4dccf699160876da00e12d78", size = 57594 },
+ { url = "https://files.pythonhosted.org/packages/51/64/bcf8632ed2b7a36bbf84a0544885ffa1d0b4bcf25cc0903dba66ec5fdad9/pytube-15.0.0-py3-none-any.whl", hash = "sha256:07b9904749e213485780d7eb606e5e5b8e4341aa4dccf699160876da00e12d78", size = 57594, upload-time = "2023-05-07T19:38:59.191Z" },
]
[[package]]
name = "pytz"
version = "2026.1.post1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/56/db/b8721d71d945e6a8ac63c0fc900b2067181dbb50805958d4d4661cf7d277/pytz-2026.1.post1.tar.gz", hash = "sha256:3378dde6a0c3d26719182142c56e60c7f9af7e968076f31aae569d72a0358ee1", size = 321088 }
+sdist = { url = "https://files.pythonhosted.org/packages/56/db/b8721d71d945e6a8ac63c0fc900b2067181dbb50805958d4d4661cf7d277/pytz-2026.1.post1.tar.gz", hash = "sha256:3378dde6a0c3d26719182142c56e60c7f9af7e968076f31aae569d72a0358ee1", size = 321088, upload-time = "2026-03-03T07:47:50.683Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/10/99/781fe0c827be2742bcc775efefccb3b048a3a9c6ce9aec0cbf4a101677e5/pytz-2026.1.post1-py2.py3-none-any.whl", hash = "sha256:f2fd16142fda348286a75e1a524be810bb05d444e5a081f37f7affc635035f7a", size = 510489 },
+ { url = "https://files.pythonhosted.org/packages/10/99/781fe0c827be2742bcc775efefccb3b048a3a9c6ce9aec0cbf4a101677e5/pytz-2026.1.post1-py2.py3-none-any.whl", hash = "sha256:f2fd16142fda348286a75e1a524be810bb05d444e5a081f37f7affc635035f7a", size = 510489, upload-time = "2026-03-03T07:47:49.167Z" },
]
[[package]]
@@ -4237,27 +4283,27 @@ name = "pywin32"
version = "311"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e7/ab/01ea1943d4eba0f850c3c61e78e8dd59757ff815ff3ccd0a84de5f541f42/pywin32-311-cp312-cp312-win32.whl", hash = "sha256:750ec6e621af2b948540032557b10a2d43b0cee2ae9758c54154d711cc852d31", size = 8706543 },
- { url = "https://files.pythonhosted.org/packages/d1/a8/a0e8d07d4d051ec7502cd58b291ec98dcc0c3fff027caad0470b72cfcc2f/pywin32-311-cp312-cp312-win_amd64.whl", hash = "sha256:b8c095edad5c211ff31c05223658e71bf7116daa0ecf3ad85f3201ea3190d067", size = 9495040 },
- { url = "https://files.pythonhosted.org/packages/ba/3a/2ae996277b4b50f17d61f0603efd8253cb2d79cc7ae159468007b586396d/pywin32-311-cp312-cp312-win_arm64.whl", hash = "sha256:e286f46a9a39c4a18b319c28f59b61de793654af2f395c102b4f819e584b5852", size = 8710102 },
+ { url = "https://files.pythonhosted.org/packages/e7/ab/01ea1943d4eba0f850c3c61e78e8dd59757ff815ff3ccd0a84de5f541f42/pywin32-311-cp312-cp312-win32.whl", hash = "sha256:750ec6e621af2b948540032557b10a2d43b0cee2ae9758c54154d711cc852d31", size = 8706543, upload-time = "2025-07-14T20:13:20.765Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/a8/a0e8d07d4d051ec7502cd58b291ec98dcc0c3fff027caad0470b72cfcc2f/pywin32-311-cp312-cp312-win_amd64.whl", hash = "sha256:b8c095edad5c211ff31c05223658e71bf7116daa0ecf3ad85f3201ea3190d067", size = 9495040, upload-time = "2025-07-14T20:13:22.543Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/3a/2ae996277b4b50f17d61f0603efd8253cb2d79cc7ae159468007b586396d/pywin32-311-cp312-cp312-win_arm64.whl", hash = "sha256:e286f46a9a39c4a18b319c28f59b61de793654af2f395c102b4f819e584b5852", size = 8710102, upload-time = "2025-07-14T20:13:24.682Z" },
]
[[package]]
name = "pyyaml"
version = "6.0.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960 }
+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063 },
- { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973 },
- { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116 },
- { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011 },
- { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870 },
- { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089 },
- { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181 },
- { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658 },
- { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003 },
- { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344 },
+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },
+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },
+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },
+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },
+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },
+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },
+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },
]
[[package]]
@@ -4267,18 +4313,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "cffi", marker = "implementation_name == 'pypy'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/04/0b/3c9baedbdf613ecaa7aa07027780b8867f57b6293b6ee50de316c9f3222b/pyzmq-27.1.0.tar.gz", hash = "sha256:ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540", size = 281750 }
+sdist = { url = "https://files.pythonhosted.org/packages/04/0b/3c9baedbdf613ecaa7aa07027780b8867f57b6293b6ee50de316c9f3222b/pyzmq-27.1.0.tar.gz", hash = "sha256:ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540", size = 281750, upload-time = "2025-09-08T23:10:18.157Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/92/e7/038aab64a946d535901103da16b953c8c9cc9c961dadcbf3609ed6428d23/pyzmq-27.1.0-cp312-abi3-macosx_10_15_universal2.whl", hash = "sha256:452631b640340c928fa343801b0d07eb0c3789a5ffa843f6e1a9cee0ba4eb4fc", size = 1306279 },
- { url = "https://files.pythonhosted.org/packages/e8/5e/c3c49fdd0f535ef45eefcc16934648e9e59dace4a37ee88fc53f6cd8e641/pyzmq-27.1.0-cp312-abi3-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1c179799b118e554b66da67d88ed66cd37a169f1f23b5d9f0a231b4e8d44a113", size = 895645 },
- { url = "https://files.pythonhosted.org/packages/f8/e5/b0b2504cb4e903a74dcf1ebae157f9e20ebb6ea76095f6cfffea28c42ecd/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3837439b7f99e60312f0c926a6ad437b067356dc2bc2ec96eb395fd0fe804233", size = 652574 },
- { url = "https://files.pythonhosted.org/packages/f8/9b/c108cdb55560eaf253f0cbdb61b29971e9fb34d9c3499b0e96e4e60ed8a5/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:43ad9a73e3da1fab5b0e7e13402f0b2fb934ae1c876c51d0afff0e7c052eca31", size = 840995 },
- { url = "https://files.pythonhosted.org/packages/c2/bb/b79798ca177b9eb0825b4c9998c6af8cd2a7f15a6a1a4272c1d1a21d382f/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:0de3028d69d4cdc475bfe47a6128eb38d8bc0e8f4d69646adfbcd840facbac28", size = 1642070 },
- { url = "https://files.pythonhosted.org/packages/9c/80/2df2e7977c4ede24c79ae39dcef3899bfc5f34d1ca7a5b24f182c9b7a9ca/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_i686.whl", hash = "sha256:cf44a7763aea9298c0aa7dbf859f87ed7012de8bda0f3977b6fb1d96745df856", size = 2021121 },
- { url = "https://files.pythonhosted.org/packages/46/bd/2d45ad24f5f5ae7e8d01525eb76786fa7557136555cac7d929880519e33a/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f30f395a9e6fbca195400ce833c731e7b64c3919aa481af4d88c3759e0cb7496", size = 1878550 },
- { url = "https://files.pythonhosted.org/packages/e6/2f/104c0a3c778d7c2ab8190e9db4f62f0b6957b53c9d87db77c284b69f33ea/pyzmq-27.1.0-cp312-abi3-win32.whl", hash = "sha256:250e5436a4ba13885494412b3da5d518cd0d3a278a1ae640e113c073a5f88edd", size = 559184 },
- { url = "https://files.pythonhosted.org/packages/fc/7f/a21b20d577e4100c6a41795842028235998a643b1ad406a6d4163ea8f53e/pyzmq-27.1.0-cp312-abi3-win_amd64.whl", hash = "sha256:9ce490cf1d2ca2ad84733aa1d69ce6855372cb5ce9223802450c9b2a7cba0ccf", size = 619480 },
- { url = "https://files.pythonhosted.org/packages/78/c2/c012beae5f76b72f007a9e91ee9401cb88c51d0f83c6257a03e785c81cc2/pyzmq-27.1.0-cp312-abi3-win_arm64.whl", hash = "sha256:75a2f36223f0d535a0c919e23615fc85a1e23b71f40c7eb43d7b1dedb4d8f15f", size = 552993 },
+ { url = "https://files.pythonhosted.org/packages/92/e7/038aab64a946d535901103da16b953c8c9cc9c961dadcbf3609ed6428d23/pyzmq-27.1.0-cp312-abi3-macosx_10_15_universal2.whl", hash = "sha256:452631b640340c928fa343801b0d07eb0c3789a5ffa843f6e1a9cee0ba4eb4fc", size = 1306279, upload-time = "2025-09-08T23:08:03.807Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/5e/c3c49fdd0f535ef45eefcc16934648e9e59dace4a37ee88fc53f6cd8e641/pyzmq-27.1.0-cp312-abi3-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1c179799b118e554b66da67d88ed66cd37a169f1f23b5d9f0a231b4e8d44a113", size = 895645, upload-time = "2025-09-08T23:08:05.301Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/e5/b0b2504cb4e903a74dcf1ebae157f9e20ebb6ea76095f6cfffea28c42ecd/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3837439b7f99e60312f0c926a6ad437b067356dc2bc2ec96eb395fd0fe804233", size = 652574, upload-time = "2025-09-08T23:08:06.828Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/9b/c108cdb55560eaf253f0cbdb61b29971e9fb34d9c3499b0e96e4e60ed8a5/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:43ad9a73e3da1fab5b0e7e13402f0b2fb934ae1c876c51d0afff0e7c052eca31", size = 840995, upload-time = "2025-09-08T23:08:08.396Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/bb/b79798ca177b9eb0825b4c9998c6af8cd2a7f15a6a1a4272c1d1a21d382f/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:0de3028d69d4cdc475bfe47a6128eb38d8bc0e8f4d69646adfbcd840facbac28", size = 1642070, upload-time = "2025-09-08T23:08:09.989Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/80/2df2e7977c4ede24c79ae39dcef3899bfc5f34d1ca7a5b24f182c9b7a9ca/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_i686.whl", hash = "sha256:cf44a7763aea9298c0aa7dbf859f87ed7012de8bda0f3977b6fb1d96745df856", size = 2021121, upload-time = "2025-09-08T23:08:11.907Z" },
+ { url = "https://files.pythonhosted.org/packages/46/bd/2d45ad24f5f5ae7e8d01525eb76786fa7557136555cac7d929880519e33a/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f30f395a9e6fbca195400ce833c731e7b64c3919aa481af4d88c3759e0cb7496", size = 1878550, upload-time = "2025-09-08T23:08:13.513Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/2f/104c0a3c778d7c2ab8190e9db4f62f0b6957b53c9d87db77c284b69f33ea/pyzmq-27.1.0-cp312-abi3-win32.whl", hash = "sha256:250e5436a4ba13885494412b3da5d518cd0d3a278a1ae640e113c073a5f88edd", size = 559184, upload-time = "2025-09-08T23:08:15.163Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/7f/a21b20d577e4100c6a41795842028235998a643b1ad406a6d4163ea8f53e/pyzmq-27.1.0-cp312-abi3-win_amd64.whl", hash = "sha256:9ce490cf1d2ca2ad84733aa1d69ce6855372cb5ce9223802450c9b2a7cba0ccf", size = 619480, upload-time = "2025-09-08T23:08:17.192Z" },
+ { url = "https://files.pythonhosted.org/packages/78/c2/c012beae5f76b72f007a9e91ee9401cb88c51d0f83c6257a03e785c81cc2/pyzmq-27.1.0-cp312-abi3-win_arm64.whl", hash = "sha256:75a2f36223f0d535a0c919e23615fc85a1e23b71f40c7eb43d7b1dedb4d8f15f", size = 552993, upload-time = "2025-09-08T23:08:18.926Z" },
]
[[package]]
@@ -4294,9 +4340,9 @@ dependencies = [
{ name = "pydantic" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/30/dd/f8a8261b83946af3cd65943c93c4f83e044f01184e8525404989d22a81a5/qdrant_client-1.17.1.tar.gz", hash = "sha256:22f990bbd63485ed97ba551a4c498181fcb723f71dcab5d6e4e43fe1050a2bc0", size = 344979 }
+sdist = { url = "https://files.pythonhosted.org/packages/30/dd/f8a8261b83946af3cd65943c93c4f83e044f01184e8525404989d22a81a5/qdrant_client-1.17.1.tar.gz", hash = "sha256:22f990bbd63485ed97ba551a4c498181fcb723f71dcab5d6e4e43fe1050a2bc0", size = 344979, upload-time = "2026-03-13T17:13:44.678Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/68/69/77d1a971c4b933e8c79403e99bcbb790463da5e48333cc4fd5d412c63c98/qdrant_client-1.17.1-py3-none-any.whl", hash = "sha256:6cda4064adfeaf211c751f3fbc00edbbdb499850918c7aff4855a9a759d56cbd", size = 389947 },
+ { url = "https://files.pythonhosted.org/packages/68/69/77d1a971c4b933e8c79403e99bcbb790463da5e48333cc4fd5d412c63c98/qdrant_client-1.17.1-py3-none-any.whl", hash = "sha256:6cda4064adfeaf211c751f3fbc00edbbdb499850918c7aff4855a9a759d56cbd", size = 389947, upload-time = "2026-03-13T17:13:43.156Z" },
]
[[package]]
@@ -4308,33 +4354,33 @@ dependencies = [
{ name = "rpds-py" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036 }
+sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766 },
+ { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" },
]
[[package]]
name = "regex"
version = "2026.2.28"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/8b/71/41455aa99a5a5ac1eaf311f5d8efd9ce6433c03ac1e0962de163350d0d97/regex-2026.2.28.tar.gz", hash = "sha256:a729e47d418ea11d03469f321aaf67cdee8954cde3ff2cf8403ab87951ad10f2", size = 415184 }
+sdist = { url = "https://files.pythonhosted.org/packages/8b/71/41455aa99a5a5ac1eaf311f5d8efd9ce6433c03ac1e0962de163350d0d97/regex-2026.2.28.tar.gz", hash = "sha256:a729e47d418ea11d03469f321aaf67cdee8954cde3ff2cf8403ab87951ad10f2", size = 415184, upload-time = "2026-02-28T02:19:42.792Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/07/42/9061b03cf0fc4b5fa2c3984cbbaed54324377e440a5c5a29d29a72518d62/regex-2026.2.28-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fcf26c3c6d0da98fada8ae4ef0aa1c3405a431c0a77eb17306d38a89b02adcd7", size = 489574 },
- { url = "https://files.pythonhosted.org/packages/77/83/0c8a5623a233015595e3da499c5a1c13720ac63c107897a6037bb97af248/regex-2026.2.28-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:02473c954af35dd2defeb07e44182f5705b30ea3f351a7cbffa9177beb14da5d", size = 291426 },
- { url = "https://files.pythonhosted.org/packages/9e/06/3ef1ac6910dc3295ebd71b1f9bfa737e82cfead211a18b319d45f85ddd09/regex-2026.2.28-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9b65d33a17101569f86d9c5966a8b1d7fbf8afdda5a8aa219301b0a80f58cf7d", size = 289200 },
- { url = "https://files.pythonhosted.org/packages/dd/c9/8cc8d850b35ab5650ff6756a1cb85286e2000b66c97520b29c1587455344/regex-2026.2.28-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e71dcecaa113eebcc96622c17692672c2d104b1d71ddf7adeda90da7ddeb26fc", size = 796765 },
- { url = "https://files.pythonhosted.org/packages/e9/5d/57702597627fc23278ebf36fbb497ac91c0ce7fec89ac6c81e420ca3e38c/regex-2026.2.28-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:481df4623fa4969c8b11f3433ed7d5e3dc9cec0f008356c3212b3933fb77e3d8", size = 863093 },
- { url = "https://files.pythonhosted.org/packages/02/6d/f3ecad537ca2811b4d26b54ca848cf70e04fcfc138667c146a9f3157779c/regex-2026.2.28-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:64e7c6ad614573e0640f271e811a408d79a9e1fe62a46adb602f598df42a818d", size = 909455 },
- { url = "https://files.pythonhosted.org/packages/9e/40/bb226f203caa22c1043c1ca79b36340156eca0f6a6742b46c3bb222a3a57/regex-2026.2.28-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6b08a06976ff4fb0d83077022fde3eca06c55432bb997d8c0495b9a4e9872f4", size = 802037 },
- { url = "https://files.pythonhosted.org/packages/44/7c/c6d91d8911ac6803b45ca968e8e500c46934e58c0903cbc6d760ee817a0a/regex-2026.2.28-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:864cdd1a2ef5716b0ab468af40139e62ede1b3a53386b375ec0786bb6783fc05", size = 775113 },
- { url = "https://files.pythonhosted.org/packages/dc/8d/4a9368d168d47abd4158580b8c848709667b1cd293ff0c0c277279543bd0/regex-2026.2.28-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:511f7419f7afab475fd4d639d4aedfc54205bcb0800066753ef68a59f0f330b5", size = 784194 },
- { url = "https://files.pythonhosted.org/packages/cc/bf/2c72ab5d8b7be462cb1651b5cc333da1d0068740342f350fcca3bca31947/regex-2026.2.28-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:b42f7466e32bf15a961cf09f35fa6323cc72e64d3d2c990b10de1274a5da0a59", size = 856846 },
- { url = "https://files.pythonhosted.org/packages/7c/f4/6b65c979bb6d09f51bb2d2a7bc85de73c01ec73335d7ddd202dcb8cd1c8f/regex-2026.2.28-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8710d61737b0c0ce6836b1da7109f20d495e49b3809f30e27e9560be67a257bf", size = 763516 },
- { url = "https://files.pythonhosted.org/packages/8e/32/29ea5e27400ee86d2cc2b4e80aa059df04eaf78b4f0c18576ae077aeff68/regex-2026.2.28-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4390c365fd2d45278f45afd4673cb90f7285f5701607e3ad4274df08e36140ae", size = 849278 },
- { url = "https://files.pythonhosted.org/packages/1d/91/3233d03b5f865111cd517e1c95ee8b43e8b428d61fa73764a80c9bb6f537/regex-2026.2.28-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cb3b1db8ff6c7b8bf838ab05583ea15230cb2f678e569ab0e3a24d1e8320940b", size = 790068 },
- { url = "https://files.pythonhosted.org/packages/76/92/abc706c1fb03b4580a09645b206a3fc032f5a9f457bc1a8038ac555658ab/regex-2026.2.28-cp312-cp312-win32.whl", hash = "sha256:f8ed9a5d4612df9d4de15878f0bc6aa7a268afbe5af21a3fdd97fa19516e978c", size = 266416 },
- { url = "https://files.pythonhosted.org/packages/fa/06/2a6f7dff190e5fa9df9fb4acf2fdf17a1aa0f7f54596cba8de608db56b3a/regex-2026.2.28-cp312-cp312-win_amd64.whl", hash = "sha256:01d65fd24206c8e1e97e2e31b286c59009636c022eb5d003f52760b0f42155d4", size = 277297 },
- { url = "https://files.pythonhosted.org/packages/b7/f0/58a2484851fadf284458fdbd728f580d55c1abac059ae9f048c63b92f427/regex-2026.2.28-cp312-cp312-win_arm64.whl", hash = "sha256:c0b5ccbb8ffb433939d248707d4a8b31993cb76ab1a0187ca886bf50e96df952", size = 270408 },
+ { url = "https://files.pythonhosted.org/packages/07/42/9061b03cf0fc4b5fa2c3984cbbaed54324377e440a5c5a29d29a72518d62/regex-2026.2.28-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fcf26c3c6d0da98fada8ae4ef0aa1c3405a431c0a77eb17306d38a89b02adcd7", size = 489574, upload-time = "2026-02-28T02:16:50.455Z" },
+ { url = "https://files.pythonhosted.org/packages/77/83/0c8a5623a233015595e3da499c5a1c13720ac63c107897a6037bb97af248/regex-2026.2.28-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:02473c954af35dd2defeb07e44182f5705b30ea3f351a7cbffa9177beb14da5d", size = 291426, upload-time = "2026-02-28T02:16:52.52Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/06/3ef1ac6910dc3295ebd71b1f9bfa737e82cfead211a18b319d45f85ddd09/regex-2026.2.28-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9b65d33a17101569f86d9c5966a8b1d7fbf8afdda5a8aa219301b0a80f58cf7d", size = 289200, upload-time = "2026-02-28T02:16:54.08Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/c9/8cc8d850b35ab5650ff6756a1cb85286e2000b66c97520b29c1587455344/regex-2026.2.28-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e71dcecaa113eebcc96622c17692672c2d104b1d71ddf7adeda90da7ddeb26fc", size = 796765, upload-time = "2026-02-28T02:16:55.905Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/5d/57702597627fc23278ebf36fbb497ac91c0ce7fec89ac6c81e420ca3e38c/regex-2026.2.28-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:481df4623fa4969c8b11f3433ed7d5e3dc9cec0f008356c3212b3933fb77e3d8", size = 863093, upload-time = "2026-02-28T02:16:58.094Z" },
+ { url = "https://files.pythonhosted.org/packages/02/6d/f3ecad537ca2811b4d26b54ca848cf70e04fcfc138667c146a9f3157779c/regex-2026.2.28-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:64e7c6ad614573e0640f271e811a408d79a9e1fe62a46adb602f598df42a818d", size = 909455, upload-time = "2026-02-28T02:17:00.918Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/40/bb226f203caa22c1043c1ca79b36340156eca0f6a6742b46c3bb222a3a57/regex-2026.2.28-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6b08a06976ff4fb0d83077022fde3eca06c55432bb997d8c0495b9a4e9872f4", size = 802037, upload-time = "2026-02-28T02:17:02.842Z" },
+ { url = "https://files.pythonhosted.org/packages/44/7c/c6d91d8911ac6803b45ca968e8e500c46934e58c0903cbc6d760ee817a0a/regex-2026.2.28-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:864cdd1a2ef5716b0ab468af40139e62ede1b3a53386b375ec0786bb6783fc05", size = 775113, upload-time = "2026-02-28T02:17:04.506Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/8d/4a9368d168d47abd4158580b8c848709667b1cd293ff0c0c277279543bd0/regex-2026.2.28-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:511f7419f7afab475fd4d639d4aedfc54205bcb0800066753ef68a59f0f330b5", size = 784194, upload-time = "2026-02-28T02:17:06.888Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/bf/2c72ab5d8b7be462cb1651b5cc333da1d0068740342f350fcca3bca31947/regex-2026.2.28-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:b42f7466e32bf15a961cf09f35fa6323cc72e64d3d2c990b10de1274a5da0a59", size = 856846, upload-time = "2026-02-28T02:17:09.11Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/f4/6b65c979bb6d09f51bb2d2a7bc85de73c01ec73335d7ddd202dcb8cd1c8f/regex-2026.2.28-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8710d61737b0c0ce6836b1da7109f20d495e49b3809f30e27e9560be67a257bf", size = 763516, upload-time = "2026-02-28T02:17:11.004Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/32/29ea5e27400ee86d2cc2b4e80aa059df04eaf78b4f0c18576ae077aeff68/regex-2026.2.28-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4390c365fd2d45278f45afd4673cb90f7285f5701607e3ad4274df08e36140ae", size = 849278, upload-time = "2026-02-28T02:17:12.693Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/91/3233d03b5f865111cd517e1c95ee8b43e8b428d61fa73764a80c9bb6f537/regex-2026.2.28-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:cb3b1db8ff6c7b8bf838ab05583ea15230cb2f678e569ab0e3a24d1e8320940b", size = 790068, upload-time = "2026-02-28T02:17:14.9Z" },
+ { url = "https://files.pythonhosted.org/packages/76/92/abc706c1fb03b4580a09645b206a3fc032f5a9f457bc1a8038ac555658ab/regex-2026.2.28-cp312-cp312-win32.whl", hash = "sha256:f8ed9a5d4612df9d4de15878f0bc6aa7a268afbe5af21a3fdd97fa19516e978c", size = 266416, upload-time = "2026-02-28T02:17:17.15Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/06/2a6f7dff190e5fa9df9fb4acf2fdf17a1aa0f7f54596cba8de608db56b3a/regex-2026.2.28-cp312-cp312-win_amd64.whl", hash = "sha256:01d65fd24206c8e1e97e2e31b286c59009636c022eb5d003f52760b0f42155d4", size = 277297, upload-time = "2026-02-28T02:17:18.723Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/f0/58a2484851fadf284458fdbd728f580d55c1abac059ae9f048c63b92f427/regex-2026.2.28-cp312-cp312-win_arm64.whl", hash = "sha256:c0b5ccbb8ffb433939d248707d4a8b31993cb76ab1a0187ca886bf50e96df952", size = 270408, upload-time = "2026-02-28T02:17:20.328Z" },
]
[[package]]
@@ -4347,9 +4393,9 @@ dependencies = [
{ name = "idna" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz", hash = "sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf", size = 134517 }
+sdist = { url = "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4/requests-2.32.5.tar.gz", hash = "sha256:dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf", size = 134517, upload-time = "2025-08-18T20:46:02.573Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl", hash = "sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6", size = 64738 },
+ { url = "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl", hash = "sha256:2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6", size = 64738, upload-time = "2025-08-18T20:46:00.542Z" },
]
[[package]]
@@ -4360,9 +4406,9 @@ dependencies = [
{ name = "oauthlib" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/42/f2/05f29bc3913aea15eb670be136045bf5c5bbf4b99ecb839da9b422bb2c85/requests-oauthlib-2.0.0.tar.gz", hash = "sha256:b3dffaebd884d8cd778494369603a9e7b58d29111bf6b41bdc2dcd87203af4e9", size = 55650 }
+sdist = { url = "https://files.pythonhosted.org/packages/42/f2/05f29bc3913aea15eb670be136045bf5c5bbf4b99ecb839da9b422bb2c85/requests-oauthlib-2.0.0.tar.gz", hash = "sha256:b3dffaebd884d8cd778494369603a9e7b58d29111bf6b41bdc2dcd87203af4e9", size = 55650, upload-time = "2024-03-22T20:32:29.939Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3b/5d/63d4ae3b9daea098d5d6f5da83984853c1bbacd5dc826764b249fe119d24/requests_oauthlib-2.0.0-py2.py3-none-any.whl", hash = "sha256:7dd8a5c40426b779b0868c404bdef9768deccf22749cde15852df527e6269b36", size = 24179 },
+ { url = "https://files.pythonhosted.org/packages/3b/5d/63d4ae3b9daea098d5d6f5da83984853c1bbacd5dc826764b249fe119d24/requests_oauthlib-2.0.0-py2.py3-none-any.whl", hash = "sha256:7dd8a5c40426b779b0868c404bdef9768deccf22749cde15852df527e6269b36", size = 24179, upload-time = "2024-03-22T20:32:28.055Z" },
]
[[package]]
@@ -4372,9 +4418,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f3/61/d7545dafb7ac2230c70d38d31cbfe4cc64f7144dc41f6e4e4b78ecd9f5bb/requests-toolbelt-1.0.0.tar.gz", hash = "sha256:7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6", size = 206888 }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/61/d7545dafb7ac2230c70d38d31cbfe4cc64f7144dc41f6e4e4b78ecd9f5bb/requests-toolbelt-1.0.0.tar.gz", hash = "sha256:7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6", size = 206888, upload-time = "2023-05-01T04:11:33.229Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481 },
+ { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" },
]
[[package]]
@@ -4385,32 +4431,32 @@ dependencies = [
{ name = "markdown-it-py" },
{ name = "pygments" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/ab/3a/0316b28d0761c6734d6bc14e770d85506c986c85ffb239e688eeaab2c2bc/rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098", size = 223149 }
+sdist = { url = "https://files.pythonhosted.org/packages/ab/3a/0316b28d0761c6734d6bc14e770d85506c986c85ffb239e688eeaab2c2bc/rich-13.9.4.tar.gz", hash = "sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098", size = 223149, upload-time = "2024-11-01T16:43:57.873Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/19/71/39c7c0d87f8d4e6c020a393182060eaefeeae6c01dab6a84ec346f2567df/rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90", size = 242424 },
+ { url = "https://files.pythonhosted.org/packages/19/71/39c7c0d87f8d4e6c020a393182060eaefeeae6c01dab6a84ec346f2567df/rich-13.9.4-py3-none-any.whl", hash = "sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90", size = 242424, upload-time = "2024-11-01T16:43:55.817Z" },
]
[[package]]
name = "rpds-py"
version = "0.30.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/20/af/3f2f423103f1113b36230496629986e0ef7e199d2aa8392452b484b38ced/rpds_py-0.30.0.tar.gz", hash = "sha256:dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84", size = 69469 }
+sdist = { url = "https://files.pythonhosted.org/packages/20/af/3f2f423103f1113b36230496629986e0ef7e199d2aa8392452b484b38ced/rpds_py-0.30.0.tar.gz", hash = "sha256:dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84", size = 69469, upload-time = "2025-11-30T20:24:38.837Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/03/e7/98a2f4ac921d82f33e03f3835f5bf3a4a40aa1bfdc57975e74a97b2b4bdd/rpds_py-0.30.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a161f20d9a43006833cd7068375a94d035714d73a172b681d8881820600abfad", size = 375086 },
- { url = "https://files.pythonhosted.org/packages/4d/a1/bca7fd3d452b272e13335db8d6b0b3ecde0f90ad6f16f3328c6fb150c889/rpds_py-0.30.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6abc8880d9d036ecaafe709079969f56e876fcf107f7a8e9920ba6d5a3878d05", size = 359053 },
- { url = "https://files.pythonhosted.org/packages/65/1c/ae157e83a6357eceff62ba7e52113e3ec4834a84cfe07fa4b0757a7d105f/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca28829ae5f5d569bb62a79512c842a03a12576375d5ece7d2cadf8abe96ec28", size = 390763 },
- { url = "https://files.pythonhosted.org/packages/d4/36/eb2eb8515e2ad24c0bd43c3ee9cd74c33f7ca6430755ccdb240fd3144c44/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a1010ed9524c73b94d15919ca4d41d8780980e1765babf85f9a2f90d247153dd", size = 408951 },
- { url = "https://files.pythonhosted.org/packages/d6/65/ad8dc1784a331fabbd740ef6f71ce2198c7ed0890dab595adb9ea2d775a1/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8d1736cfb49381ba528cd5baa46f82fdc65c06e843dab24dd70b63d09121b3f", size = 514622 },
- { url = "https://files.pythonhosted.org/packages/63/8e/0cfa7ae158e15e143fe03993b5bcd743a59f541f5952e1546b1ac1b5fd45/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d948b135c4693daff7bc2dcfc4ec57237a29bd37e60c2fabf5aff2bbacf3e2f1", size = 414492 },
- { url = "https://files.pythonhosted.org/packages/60/1b/6f8f29f3f995c7ffdde46a626ddccd7c63aefc0efae881dc13b6e5d5bb16/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47f236970bccb2233267d89173d3ad2703cd36a0e2a6e92d0560d333871a3d23", size = 394080 },
- { url = "https://files.pythonhosted.org/packages/6d/d5/a266341051a7a3ca2f4b750a3aa4abc986378431fc2da508c5034d081b70/rpds_py-0.30.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:2e6ecb5a5bcacf59c3f912155044479af1d0b6681280048b338b28e364aca1f6", size = 408680 },
- { url = "https://files.pythonhosted.org/packages/10/3b/71b725851df9ab7a7a4e33cf36d241933da66040d195a84781f49c50490c/rpds_py-0.30.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a8fa71a2e078c527c3e9dc9fc5a98c9db40bcc8a92b4e8858e36d329f8684b51", size = 423589 },
- { url = "https://files.pythonhosted.org/packages/00/2b/e59e58c544dc9bd8bd8384ecdb8ea91f6727f0e37a7131baeff8d6f51661/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:73c67f2db7bc334e518d097c6d1e6fed021bbc9b7d678d6cc433478365d1d5f5", size = 573289 },
- { url = "https://files.pythonhosted.org/packages/da/3e/a18e6f5b460893172a7d6a680e86d3b6bc87a54c1f0b03446a3c8c7b588f/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5ba103fb455be00f3b1c2076c9d4264bfcb037c976167a6047ed82f23153f02e", size = 599737 },
- { url = "https://files.pythonhosted.org/packages/5c/e2/714694e4b87b85a18e2c243614974413c60aa107fd815b8cbc42b873d1d7/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7cee9c752c0364588353e627da8a7e808a66873672bcb5f52890c33fd965b394", size = 563120 },
- { url = "https://files.pythonhosted.org/packages/6f/ab/d5d5e3bcedb0a77f4f613706b750e50a5a3ba1c15ccd3665ecc636c968fd/rpds_py-0.30.0-cp312-cp312-win32.whl", hash = "sha256:1ab5b83dbcf55acc8b08fc62b796ef672c457b17dbd7820a11d6c52c06839bdf", size = 223782 },
- { url = "https://files.pythonhosted.org/packages/39/3b/f786af9957306fdc38a74cef405b7b93180f481fb48453a114bb6465744a/rpds_py-0.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:a090322ca841abd453d43456ac34db46e8b05fd9b3b4ac0c78bcde8b089f959b", size = 240463 },
- { url = "https://files.pythonhosted.org/packages/f3/d2/b91dc748126c1559042cfe41990deb92c4ee3e2b415f6b5234969ffaf0cc/rpds_py-0.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:669b1805bd639dd2989b281be2cfd951c6121b65e729d9b843e9639ef1fd555e", size = 230868 },
+ { url = "https://files.pythonhosted.org/packages/03/e7/98a2f4ac921d82f33e03f3835f5bf3a4a40aa1bfdc57975e74a97b2b4bdd/rpds_py-0.30.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a161f20d9a43006833cd7068375a94d035714d73a172b681d8881820600abfad", size = 375086, upload-time = "2025-11-30T20:22:17.93Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/a1/bca7fd3d452b272e13335db8d6b0b3ecde0f90ad6f16f3328c6fb150c889/rpds_py-0.30.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6abc8880d9d036ecaafe709079969f56e876fcf107f7a8e9920ba6d5a3878d05", size = 359053, upload-time = "2025-11-30T20:22:19.297Z" },
+ { url = "https://files.pythonhosted.org/packages/65/1c/ae157e83a6357eceff62ba7e52113e3ec4834a84cfe07fa4b0757a7d105f/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca28829ae5f5d569bb62a79512c842a03a12576375d5ece7d2cadf8abe96ec28", size = 390763, upload-time = "2025-11-30T20:22:21.661Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/36/eb2eb8515e2ad24c0bd43c3ee9cd74c33f7ca6430755ccdb240fd3144c44/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a1010ed9524c73b94d15919ca4d41d8780980e1765babf85f9a2f90d247153dd", size = 408951, upload-time = "2025-11-30T20:22:23.408Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/65/ad8dc1784a331fabbd740ef6f71ce2198c7ed0890dab595adb9ea2d775a1/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8d1736cfb49381ba528cd5baa46f82fdc65c06e843dab24dd70b63d09121b3f", size = 514622, upload-time = "2025-11-30T20:22:25.16Z" },
+ { url = "https://files.pythonhosted.org/packages/63/8e/0cfa7ae158e15e143fe03993b5bcd743a59f541f5952e1546b1ac1b5fd45/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d948b135c4693daff7bc2dcfc4ec57237a29bd37e60c2fabf5aff2bbacf3e2f1", size = 414492, upload-time = "2025-11-30T20:22:26.505Z" },
+ { url = "https://files.pythonhosted.org/packages/60/1b/6f8f29f3f995c7ffdde46a626ddccd7c63aefc0efae881dc13b6e5d5bb16/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47f236970bccb2233267d89173d3ad2703cd36a0e2a6e92d0560d333871a3d23", size = 394080, upload-time = "2025-11-30T20:22:27.934Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/d5/a266341051a7a3ca2f4b750a3aa4abc986378431fc2da508c5034d081b70/rpds_py-0.30.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:2e6ecb5a5bcacf59c3f912155044479af1d0b6681280048b338b28e364aca1f6", size = 408680, upload-time = "2025-11-30T20:22:29.341Z" },
+ { url = "https://files.pythonhosted.org/packages/10/3b/71b725851df9ab7a7a4e33cf36d241933da66040d195a84781f49c50490c/rpds_py-0.30.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a8fa71a2e078c527c3e9dc9fc5a98c9db40bcc8a92b4e8858e36d329f8684b51", size = 423589, upload-time = "2025-11-30T20:22:31.469Z" },
+ { url = "https://files.pythonhosted.org/packages/00/2b/e59e58c544dc9bd8bd8384ecdb8ea91f6727f0e37a7131baeff8d6f51661/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:73c67f2db7bc334e518d097c6d1e6fed021bbc9b7d678d6cc433478365d1d5f5", size = 573289, upload-time = "2025-11-30T20:22:32.997Z" },
+ { url = "https://files.pythonhosted.org/packages/da/3e/a18e6f5b460893172a7d6a680e86d3b6bc87a54c1f0b03446a3c8c7b588f/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5ba103fb455be00f3b1c2076c9d4264bfcb037c976167a6047ed82f23153f02e", size = 599737, upload-time = "2025-11-30T20:22:34.419Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/e2/714694e4b87b85a18e2c243614974413c60aa107fd815b8cbc42b873d1d7/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7cee9c752c0364588353e627da8a7e808a66873672bcb5f52890c33fd965b394", size = 563120, upload-time = "2025-11-30T20:22:35.903Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/ab/d5d5e3bcedb0a77f4f613706b750e50a5a3ba1c15ccd3665ecc636c968fd/rpds_py-0.30.0-cp312-cp312-win32.whl", hash = "sha256:1ab5b83dbcf55acc8b08fc62b796ef672c457b17dbd7820a11d6c52c06839bdf", size = 223782, upload-time = "2025-11-30T20:22:37.271Z" },
+ { url = "https://files.pythonhosted.org/packages/39/3b/f786af9957306fdc38a74cef405b7b93180f481fb48453a114bb6465744a/rpds_py-0.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:a090322ca841abd453d43456ac34db46e8b05fd9b3b4ac0c78bcde8b089f959b", size = 240463, upload-time = "2025-11-30T20:22:39.021Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/d2/b91dc748126c1559042cfe41990deb92c4ee3e2b415f6b5234969ffaf0cc/rpds_py-0.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:669b1805bd639dd2989b281be2cfd951c6121b65e729d9b843e9639ef1fd555e", size = 230868, upload-time = "2025-11-30T20:22:40.493Z" },
]
[[package]]
@@ -4420,34 +4466,34 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "pyasn1" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/da/8a/22b7beea3ee0d44b1916c0c1cb0ee3af23b700b6da9f04991899d0c555d4/rsa-4.9.1.tar.gz", hash = "sha256:e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75", size = 29034 }
+sdist = { url = "https://files.pythonhosted.org/packages/da/8a/22b7beea3ee0d44b1916c0c1cb0ee3af23b700b6da9f04991899d0c555d4/rsa-4.9.1.tar.gz", hash = "sha256:e7bdbfdb5497da4c07dfd35530e1a902659db6ff241e39d9953cad06ebd0ae75", size = 29034, upload-time = "2025-04-16T09:51:18.218Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl", hash = "sha256:68635866661c6836b8d39430f97a996acbd61bfa49406748ea243539fe239762", size = 34696 },
+ { url = "https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl", hash = "sha256:68635866661c6836b8d39430f97a996acbd61bfa49406748ea243539fe239762", size = 34696, upload-time = "2025-04-16T09:51:17.142Z" },
]
[[package]]
name = "ruff"
version = "0.15.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/77/9b/840e0039e65fcf12758adf684d2289024d6140cde9268cc59887dc55189c/ruff-0.15.5.tar.gz", hash = "sha256:7c3601d3b6d76dce18c5c824fc8d06f4eef33d6df0c21ec7799510cde0f159a2", size = 4574214 }
+sdist = { url = "https://files.pythonhosted.org/packages/77/9b/840e0039e65fcf12758adf684d2289024d6140cde9268cc59887dc55189c/ruff-0.15.5.tar.gz", hash = "sha256:7c3601d3b6d76dce18c5c824fc8d06f4eef33d6df0c21ec7799510cde0f159a2", size = 4574214, upload-time = "2026-03-05T20:06:34.946Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/47/20/5369c3ce21588c708bcbe517a8fbe1a8dfdb5dfd5137e14790b1da71612c/ruff-0.15.5-py3-none-linux_armv6l.whl", hash = "sha256:4ae44c42281f42e3b06b988e442d344a5b9b72450ff3c892e30d11b29a96a57c", size = 10478185 },
- { url = "https://files.pythonhosted.org/packages/44/ed/e81dd668547da281e5dce710cf0bc60193f8d3d43833e8241d006720e42b/ruff-0.15.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6edd3792d408ebcf61adabc01822da687579a1a023f297618ac27a5b51ef0080", size = 10859201 },
- { url = "https://files.pythonhosted.org/packages/c4/8f/533075f00aaf19b07c5cd6aa6e5d89424b06b3b3f4583bfa9c640a079059/ruff-0.15.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:89f463f7c8205a9f8dea9d658d59eff49db05f88f89cc3047fb1a02d9f344010", size = 10184752 },
- { url = "https://files.pythonhosted.org/packages/66/0e/ba49e2c3fa0395b3152bad634c7432f7edfc509c133b8f4529053ff024fb/ruff-0.15.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ba786a8295c6574c1116704cf0b9e6563de3432ac888d8f83685654fe528fd65", size = 10534857 },
- { url = "https://files.pythonhosted.org/packages/59/71/39234440f27a226475a0659561adb0d784b4d247dfe7f43ffc12dd02e288/ruff-0.15.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fd4b801e57955fe9f02b31d20375ab3a5c4415f2e5105b79fb94cf2642c91440", size = 10309120 },
- { url = "https://files.pythonhosted.org/packages/f5/87/4140aa86a93df032156982b726f4952aaec4a883bb98cb6ef73c347da253/ruff-0.15.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:391f7c73388f3d8c11b794dbbc2959a5b5afe66642c142a6effa90b45f6f5204", size = 11047428 },
- { url = "https://files.pythonhosted.org/packages/5a/f7/4953e7e3287676f78fbe85e3a0ca414c5ca81237b7575bdadc00229ac240/ruff-0.15.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dc18f30302e379fe1e998548b0f5e9f4dff907f52f73ad6da419ea9c19d66c8", size = 11914251 },
- { url = "https://files.pythonhosted.org/packages/77/46/0f7c865c10cf896ccf5a939c3e84e1cfaeed608ff5249584799a74d33835/ruff-0.15.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1cc6e7f90087e2d27f98dc34ed1b3ab7c8f0d273cc5431415454e22c0bd2a681", size = 11333801 },
- { url = "https://files.pythonhosted.org/packages/d3/01/a10fe54b653061585e655f5286c2662ebddb68831ed3eaebfb0eb08c0a16/ruff-0.15.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c1cb7169f53c1ddb06e71a9aebd7e98fc0fea936b39afb36d8e86d36ecc2636a", size = 11206821 },
- { url = "https://files.pythonhosted.org/packages/7a/0d/2132ceaf20c5e8699aa83da2706ecb5c5dcdf78b453f77edca7fb70f8a93/ruff-0.15.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:9b037924500a31ee17389b5c8c4d88874cc6ea8e42f12e9c61a3d754ff72f1ca", size = 11133326 },
- { url = "https://files.pythonhosted.org/packages/72/cb/2e5259a7eb2a0f87c08c0fe5bf5825a1e4b90883a52685524596bfc93072/ruff-0.15.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:65bb414e5b4eadd95a8c1e4804f6772bbe8995889f203a01f77ddf2d790929dd", size = 10510820 },
- { url = "https://files.pythonhosted.org/packages/ff/20/b67ce78f9e6c59ffbdb5b4503d0090e749b5f2d31b599b554698a80d861c/ruff-0.15.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d20aa469ae3b57033519c559e9bc9cd9e782842e39be05b50e852c7c981fa01d", size = 10302395 },
- { url = "https://files.pythonhosted.org/packages/5f/e5/719f1acccd31b720d477751558ed74e9c88134adcc377e5e886af89d3072/ruff-0.15.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:15388dd28c9161cdb8eda68993533acc870aa4e646a0a277aa166de9ad5a8752", size = 10754069 },
- { url = "https://files.pythonhosted.org/packages/c3/9c/d1db14469e32d98f3ca27079dbd30b7b44dbb5317d06ab36718dee3baf03/ruff-0.15.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b30da330cbd03bed0c21420b6b953158f60c74c54c5f4c1dabbdf3a57bf355d2", size = 11304315 },
- { url = "https://files.pythonhosted.org/packages/28/3a/950367aee7c69027f4f422059227b290ed780366b6aecee5de5039d50fa8/ruff-0.15.5-py3-none-win32.whl", hash = "sha256:732e5ee1f98ba5b3679029989a06ca39a950cced52143a0ea82a2102cb592b74", size = 10551676 },
- { url = "https://files.pythonhosted.org/packages/b8/00/bf077a505b4e649bdd3c47ff8ec967735ce2544c8e4a43aba42ee9bf935d/ruff-0.15.5-py3-none-win_amd64.whl", hash = "sha256:821d41c5fa9e19117616c35eaa3f4b75046ec76c65e7ae20a333e9a8696bc7fe", size = 11678972 },
- { url = "https://files.pythonhosted.org/packages/fe/4e/cd76eca6db6115604b7626668e891c9dd03330384082e33662fb0f113614/ruff-0.15.5-py3-none-win_arm64.whl", hash = "sha256:b498d1c60d2fe5c10c45ec3f698901065772730b411f164ae270bb6bfcc4740b", size = 10965572 },
+ { url = "https://files.pythonhosted.org/packages/47/20/5369c3ce21588c708bcbe517a8fbe1a8dfdb5dfd5137e14790b1da71612c/ruff-0.15.5-py3-none-linux_armv6l.whl", hash = "sha256:4ae44c42281f42e3b06b988e442d344a5b9b72450ff3c892e30d11b29a96a57c", size = 10478185, upload-time = "2026-03-05T20:06:29.093Z" },
+ { url = "https://files.pythonhosted.org/packages/44/ed/e81dd668547da281e5dce710cf0bc60193f8d3d43833e8241d006720e42b/ruff-0.15.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6edd3792d408ebcf61adabc01822da687579a1a023f297618ac27a5b51ef0080", size = 10859201, upload-time = "2026-03-05T20:06:32.632Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/8f/533075f00aaf19b07c5cd6aa6e5d89424b06b3b3f4583bfa9c640a079059/ruff-0.15.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:89f463f7c8205a9f8dea9d658d59eff49db05f88f89cc3047fb1a02d9f344010", size = 10184752, upload-time = "2026-03-05T20:06:40.312Z" },
+ { url = "https://files.pythonhosted.org/packages/66/0e/ba49e2c3fa0395b3152bad634c7432f7edfc509c133b8f4529053ff024fb/ruff-0.15.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ba786a8295c6574c1116704cf0b9e6563de3432ac888d8f83685654fe528fd65", size = 10534857, upload-time = "2026-03-05T20:06:19.581Z" },
+ { url = "https://files.pythonhosted.org/packages/59/71/39234440f27a226475a0659561adb0d784b4d247dfe7f43ffc12dd02e288/ruff-0.15.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fd4b801e57955fe9f02b31d20375ab3a5c4415f2e5105b79fb94cf2642c91440", size = 10309120, upload-time = "2026-03-05T20:06:00.435Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/87/4140aa86a93df032156982b726f4952aaec4a883bb98cb6ef73c347da253/ruff-0.15.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:391f7c73388f3d8c11b794dbbc2959a5b5afe66642c142a6effa90b45f6f5204", size = 11047428, upload-time = "2026-03-05T20:05:51.867Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/f7/4953e7e3287676f78fbe85e3a0ca414c5ca81237b7575bdadc00229ac240/ruff-0.15.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dc18f30302e379fe1e998548b0f5e9f4dff907f52f73ad6da419ea9c19d66c8", size = 11914251, upload-time = "2026-03-05T20:06:22.887Z" },
+ { url = "https://files.pythonhosted.org/packages/77/46/0f7c865c10cf896ccf5a939c3e84e1cfaeed608ff5249584799a74d33835/ruff-0.15.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1cc6e7f90087e2d27f98dc34ed1b3ab7c8f0d273cc5431415454e22c0bd2a681", size = 11333801, upload-time = "2026-03-05T20:05:57.168Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/01/a10fe54b653061585e655f5286c2662ebddb68831ed3eaebfb0eb08c0a16/ruff-0.15.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c1cb7169f53c1ddb06e71a9aebd7e98fc0fea936b39afb36d8e86d36ecc2636a", size = 11206821, upload-time = "2026-03-05T20:06:03.441Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/0d/2132ceaf20c5e8699aa83da2706ecb5c5dcdf78b453f77edca7fb70f8a93/ruff-0.15.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:9b037924500a31ee17389b5c8c4d88874cc6ea8e42f12e9c61a3d754ff72f1ca", size = 11133326, upload-time = "2026-03-05T20:06:25.655Z" },
+ { url = "https://files.pythonhosted.org/packages/72/cb/2e5259a7eb2a0f87c08c0fe5bf5825a1e4b90883a52685524596bfc93072/ruff-0.15.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:65bb414e5b4eadd95a8c1e4804f6772bbe8995889f203a01f77ddf2d790929dd", size = 10510820, upload-time = "2026-03-05T20:06:37.79Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/20/b67ce78f9e6c59ffbdb5b4503d0090e749b5f2d31b599b554698a80d861c/ruff-0.15.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d20aa469ae3b57033519c559e9bc9cd9e782842e39be05b50e852c7c981fa01d", size = 10302395, upload-time = "2026-03-05T20:05:54.504Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/e5/719f1acccd31b720d477751558ed74e9c88134adcc377e5e886af89d3072/ruff-0.15.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:15388dd28c9161cdb8eda68993533acc870aa4e646a0a277aa166de9ad5a8752", size = 10754069, upload-time = "2026-03-05T20:06:06.422Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/9c/d1db14469e32d98f3ca27079dbd30b7b44dbb5317d06ab36718dee3baf03/ruff-0.15.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b30da330cbd03bed0c21420b6b953158f60c74c54c5f4c1dabbdf3a57bf355d2", size = 11304315, upload-time = "2026-03-05T20:06:10.867Z" },
+ { url = "https://files.pythonhosted.org/packages/28/3a/950367aee7c69027f4f422059227b290ed780366b6aecee5de5039d50fa8/ruff-0.15.5-py3-none-win32.whl", hash = "sha256:732e5ee1f98ba5b3679029989a06ca39a950cced52143a0ea82a2102cb592b74", size = 10551676, upload-time = "2026-03-05T20:06:13.705Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/00/bf077a505b4e649bdd3c47ff8ec967735ce2544c8e4a43aba42ee9bf935d/ruff-0.15.5-py3-none-win_amd64.whl", hash = "sha256:821d41c5fa9e19117616c35eaa3f4b75046ec76c65e7ae20a333e9a8696bc7fe", size = 11678972, upload-time = "2026-03-05T20:06:45.379Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/4e/cd76eca6db6115604b7626668e891c9dd03330384082e33662fb0f113614/ruff-0.15.5-py3-none-win_arm64.whl", hash = "sha256:b498d1c60d2fe5c10c45ec3f698901065772730b411f164ae270bb6bfcc4740b", size = 10965572, upload-time = "2026-03-05T20:06:16.984Z" },
]
[[package]]
@@ -4457,31 +4503,31 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "botocore" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/05/04/74127fc843314818edfa81b5540e26dd537353b123a4edc563109d8f17dd/s3transfer-0.16.0.tar.gz", hash = "sha256:8e990f13268025792229cd52fa10cb7163744bf56e719e0b9cb925ab79abf920", size = 153827 }
+sdist = { url = "https://files.pythonhosted.org/packages/05/04/74127fc843314818edfa81b5540e26dd537353b123a4edc563109d8f17dd/s3transfer-0.16.0.tar.gz", hash = "sha256:8e990f13268025792229cd52fa10cb7163744bf56e719e0b9cb925ab79abf920", size = 153827, upload-time = "2025-12-01T02:30:59.114Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fc/51/727abb13f44c1fcf6d145979e1535a35794db0f6e450a0cb46aa24732fe2/s3transfer-0.16.0-py3-none-any.whl", hash = "sha256:18e25d66fed509e3868dc1572b3f427ff947dd2c56f844a5bf09481ad3f3b2fe", size = 86830 },
+ { url = "https://files.pythonhosted.org/packages/fc/51/727abb13f44c1fcf6d145979e1535a35794db0f6e450a0cb46aa24732fe2/s3transfer-0.16.0-py3-none-any.whl", hash = "sha256:18e25d66fed509e3868dc1572b3f427ff947dd2c56f844a5bf09481ad3f3b2fe", size = 86830, upload-time = "2025-12-01T02:30:57.729Z" },
]
[[package]]
name = "safetensors"
version = "0.7.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/29/9c/6e74567782559a63bd040a236edca26fd71bc7ba88de2ef35d75df3bca5e/safetensors-0.7.0.tar.gz", hash = "sha256:07663963b67e8bd9f0b8ad15bb9163606cd27cc5a1b96235a50d8369803b96b0", size = 200878 }
+sdist = { url = "https://files.pythonhosted.org/packages/29/9c/6e74567782559a63bd040a236edca26fd71bc7ba88de2ef35d75df3bca5e/safetensors-0.7.0.tar.gz", hash = "sha256:07663963b67e8bd9f0b8ad15bb9163606cd27cc5a1b96235a50d8369803b96b0", size = 200878, upload-time = "2025-11-19T15:18:43.199Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fa/47/aef6c06649039accf914afef490268e1067ed82be62bcfa5b7e886ad15e8/safetensors-0.7.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:c82f4d474cf725255d9e6acf17252991c3c8aac038d6ef363a4bf8be2f6db517", size = 467781 },
- { url = "https://files.pythonhosted.org/packages/e8/00/374c0c068e30cd31f1e1b46b4b5738168ec79e7689ca82ee93ddfea05109/safetensors-0.7.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:94fd4858284736bb67a897a41608b5b0c2496c9bdb3bf2af1fa3409127f20d57", size = 447058 },
- { url = "https://files.pythonhosted.org/packages/f1/06/578ffed52c2296f93d7fd2d844cabfa92be51a587c38c8afbb8ae449ca89/safetensors-0.7.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e07d91d0c92a31200f25351f4acb2bc6aff7f48094e13ebb1d0fb995b54b6542", size = 491748 },
- { url = "https://files.pythonhosted.org/packages/ae/33/1debbbb70e4791dde185edb9413d1fe01619255abb64b300157d7f15dddd/safetensors-0.7.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8469155f4cb518bafb4acf4865e8bb9d6804110d2d9bdcaa78564b9fd841e104", size = 503881 },
- { url = "https://files.pythonhosted.org/packages/8e/1c/40c2ca924d60792c3be509833df711b553c60effbd91da6f5284a83f7122/safetensors-0.7.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:54bef08bf00a2bff599982f6b08e8770e09cc012d7bba00783fc7ea38f1fb37d", size = 623463 },
- { url = "https://files.pythonhosted.org/packages/9b/3a/13784a9364bd43b0d61eef4bea2845039bc2030458b16594a1bd787ae26e/safetensors-0.7.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:42cb091236206bb2016d245c377ed383aa7f78691748f3bb6ee1bfa51ae2ce6a", size = 532855 },
- { url = "https://files.pythonhosted.org/packages/a0/60/429e9b1cb3fc651937727befe258ea24122d9663e4d5709a48c9cbfceecb/safetensors-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dac7252938f0696ddea46f5e855dd3138444e82236e3be475f54929f0c510d48", size = 507152 },
- { url = "https://files.pythonhosted.org/packages/3c/a8/4b45e4e059270d17af60359713ffd83f97900d45a6afa73aaa0d737d48b6/safetensors-0.7.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1d060c70284127fa805085d8f10fbd0962792aed71879d00864acda69dbab981", size = 541856 },
- { url = "https://files.pythonhosted.org/packages/06/87/d26d8407c44175d8ae164a95b5a62707fcc445f3c0c56108e37d98070a3d/safetensors-0.7.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:cdab83a366799fa730f90a4ebb563e494f28e9e92c4819e556152ad55e43591b", size = 674060 },
- { url = "https://files.pythonhosted.org/packages/11/f5/57644a2ff08dc6325816ba7217e5095f17269dada2554b658442c66aed51/safetensors-0.7.0-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:672132907fcad9f2aedcb705b2d7b3b93354a2aec1b2f706c4db852abe338f85", size = 771715 },
- { url = "https://files.pythonhosted.org/packages/86/31/17883e13a814bd278ae6e266b13282a01049b0c81341da7fd0e3e71a80a3/safetensors-0.7.0-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:5d72abdb8a4d56d4020713724ba81dac065fedb7f3667151c4a637f1d3fb26c0", size = 714377 },
- { url = "https://files.pythonhosted.org/packages/4a/d8/0c8a7dc9b41dcac53c4cbf9df2b9c83e0e0097203de8b37a712b345c0be5/safetensors-0.7.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b0f6d66c1c538d5a94a73aa9ddca8ccc4227e6c9ff555322ea40bdd142391dd4", size = 677368 },
- { url = "https://files.pythonhosted.org/packages/05/e5/cb4b713c8a93469e3c5be7c3f8d77d307e65fe89673e731f5c2bfd0a9237/safetensors-0.7.0-cp38-abi3-win32.whl", hash = "sha256:c74af94bf3ac15ac4d0f2a7c7b4663a15f8c2ab15ed0fc7531ca61d0835eccba", size = 326423 },
- { url = "https://files.pythonhosted.org/packages/5d/e6/ec8471c8072382cb91233ba7267fd931219753bb43814cbc71757bfd4dab/safetensors-0.7.0-cp38-abi3-win_amd64.whl", hash = "sha256:d1239932053f56f3456f32eb9625590cc7582e905021f94636202a864d470755", size = 341380 },
+ { url = "https://files.pythonhosted.org/packages/fa/47/aef6c06649039accf914afef490268e1067ed82be62bcfa5b7e886ad15e8/safetensors-0.7.0-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:c82f4d474cf725255d9e6acf17252991c3c8aac038d6ef363a4bf8be2f6db517", size = 467781, upload-time = "2025-11-19T15:18:35.84Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/00/374c0c068e30cd31f1e1b46b4b5738168ec79e7689ca82ee93ddfea05109/safetensors-0.7.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:94fd4858284736bb67a897a41608b5b0c2496c9bdb3bf2af1fa3409127f20d57", size = 447058, upload-time = "2025-11-19T15:18:34.416Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/06/578ffed52c2296f93d7fd2d844cabfa92be51a587c38c8afbb8ae449ca89/safetensors-0.7.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e07d91d0c92a31200f25351f4acb2bc6aff7f48094e13ebb1d0fb995b54b6542", size = 491748, upload-time = "2025-11-19T15:18:09.79Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/33/1debbbb70e4791dde185edb9413d1fe01619255abb64b300157d7f15dddd/safetensors-0.7.0-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8469155f4cb518bafb4acf4865e8bb9d6804110d2d9bdcaa78564b9fd841e104", size = 503881, upload-time = "2025-11-19T15:18:16.145Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/1c/40c2ca924d60792c3be509833df711b553c60effbd91da6f5284a83f7122/safetensors-0.7.0-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:54bef08bf00a2bff599982f6b08e8770e09cc012d7bba00783fc7ea38f1fb37d", size = 623463, upload-time = "2025-11-19T15:18:21.11Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/3a/13784a9364bd43b0d61eef4bea2845039bc2030458b16594a1bd787ae26e/safetensors-0.7.0-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:42cb091236206bb2016d245c377ed383aa7f78691748f3bb6ee1bfa51ae2ce6a", size = 532855, upload-time = "2025-11-19T15:18:25.719Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/60/429e9b1cb3fc651937727befe258ea24122d9663e4d5709a48c9cbfceecb/safetensors-0.7.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dac7252938f0696ddea46f5e855dd3138444e82236e3be475f54929f0c510d48", size = 507152, upload-time = "2025-11-19T15:18:33.023Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/a8/4b45e4e059270d17af60359713ffd83f97900d45a6afa73aaa0d737d48b6/safetensors-0.7.0-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1d060c70284127fa805085d8f10fbd0962792aed71879d00864acda69dbab981", size = 541856, upload-time = "2025-11-19T15:18:31.075Z" },
+ { url = "https://files.pythonhosted.org/packages/06/87/d26d8407c44175d8ae164a95b5a62707fcc445f3c0c56108e37d98070a3d/safetensors-0.7.0-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:cdab83a366799fa730f90a4ebb563e494f28e9e92c4819e556152ad55e43591b", size = 674060, upload-time = "2025-11-19T15:18:37.211Z" },
+ { url = "https://files.pythonhosted.org/packages/11/f5/57644a2ff08dc6325816ba7217e5095f17269dada2554b658442c66aed51/safetensors-0.7.0-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:672132907fcad9f2aedcb705b2d7b3b93354a2aec1b2f706c4db852abe338f85", size = 771715, upload-time = "2025-11-19T15:18:38.689Z" },
+ { url = "https://files.pythonhosted.org/packages/86/31/17883e13a814bd278ae6e266b13282a01049b0c81341da7fd0e3e71a80a3/safetensors-0.7.0-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:5d72abdb8a4d56d4020713724ba81dac065fedb7f3667151c4a637f1d3fb26c0", size = 714377, upload-time = "2025-11-19T15:18:40.162Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/d8/0c8a7dc9b41dcac53c4cbf9df2b9c83e0e0097203de8b37a712b345c0be5/safetensors-0.7.0-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:b0f6d66c1c538d5a94a73aa9ddca8ccc4227e6c9ff555322ea40bdd142391dd4", size = 677368, upload-time = "2025-11-19T15:18:41.627Z" },
+ { url = "https://files.pythonhosted.org/packages/05/e5/cb4b713c8a93469e3c5be7c3f8d77d307e65fe89673e731f5c2bfd0a9237/safetensors-0.7.0-cp38-abi3-win32.whl", hash = "sha256:c74af94bf3ac15ac4d0f2a7c7b4663a15f8c2ab15ed0fc7531ca61d0835eccba", size = 326423, upload-time = "2025-11-19T15:18:45.74Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/e6/ec8471c8072382cb91233ba7267fd931219753bb43814cbc71757bfd4dab/safetensors-0.7.0-cp38-abi3-win_amd64.whl", hash = "sha256:d1239932053f56f3456f32eb9625590cc7582e905021f94636202a864d470755", size = 341380, upload-time = "2025-11-19T15:18:44.427Z" },
]
[[package]]
@@ -4494,14 +4540,14 @@ dependencies = [
{ name = "scipy" },
{ name = "threadpoolctl" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0e/d4/40988bf3b8e34feec1d0e6a051446b1f66225f8529b9309becaeef62b6c4/scikit_learn-1.8.0.tar.gz", hash = "sha256:9bccbb3b40e3de10351f8f5068e105d0f4083b1a65fa07b6634fbc401a6287fd", size = 7335585 }
+sdist = { url = "https://files.pythonhosted.org/packages/0e/d4/40988bf3b8e34feec1d0e6a051446b1f66225f8529b9309becaeef62b6c4/scikit_learn-1.8.0.tar.gz", hash = "sha256:9bccbb3b40e3de10351f8f5068e105d0f4083b1a65fa07b6634fbc401a6287fd", size = 7335585, upload-time = "2025-12-10T07:08:53.618Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/90/74/e6a7cc4b820e95cc38cf36cd74d5aa2b42e8ffc2d21fe5a9a9c45c1c7630/scikit_learn-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5fb63362b5a7ddab88e52b6dbb47dac3fd7dafeee740dc6c8d8a446ddedade8e", size = 8548242 },
- { url = "https://files.pythonhosted.org/packages/49/d8/9be608c6024d021041c7f0b3928d4749a706f4e2c3832bbede4fb4f58c95/scikit_learn-1.8.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:5025ce924beccb28298246e589c691fe1b8c1c96507e6d27d12c5fadd85bfd76", size = 8079075 },
- { url = "https://files.pythonhosted.org/packages/dd/47/f187b4636ff80cc63f21cd40b7b2d177134acaa10f6bb73746130ee8c2e5/scikit_learn-1.8.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4496bb2cf7a43ce1a2d7524a79e40bc5da45cf598dbf9545b7e8316ccba47bb4", size = 8660492 },
- { url = "https://files.pythonhosted.org/packages/97/74/b7a304feb2b49df9fafa9382d4d09061a96ee9a9449a7cbea7988dda0828/scikit_learn-1.8.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0bcfe4d0d14aec44921545fd2af2338c7471de9cb701f1da4c9d85906ab847a", size = 8931904 },
- { url = "https://files.pythonhosted.org/packages/9f/c4/0ab22726a04ede56f689476b760f98f8f46607caecff993017ac1b64aa5d/scikit_learn-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:35c007dedb2ffe38fe3ee7d201ebac4a2deccd2408e8621d53067733e3c74809", size = 8019359 },
- { url = "https://files.pythonhosted.org/packages/24/90/344a67811cfd561d7335c1b96ca21455e7e472d281c3c279c4d3f2300236/scikit_learn-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:8c497fff237d7b4e07e9ef1a640887fa4fb765647f86fbe00f969ff6280ce2bb", size = 7641898 },
+ { url = "https://files.pythonhosted.org/packages/90/74/e6a7cc4b820e95cc38cf36cd74d5aa2b42e8ffc2d21fe5a9a9c45c1c7630/scikit_learn-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5fb63362b5a7ddab88e52b6dbb47dac3fd7dafeee740dc6c8d8a446ddedade8e", size = 8548242, upload-time = "2025-12-10T07:07:51.568Z" },
+ { url = "https://files.pythonhosted.org/packages/49/d8/9be608c6024d021041c7f0b3928d4749a706f4e2c3832bbede4fb4f58c95/scikit_learn-1.8.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:5025ce924beccb28298246e589c691fe1b8c1c96507e6d27d12c5fadd85bfd76", size = 8079075, upload-time = "2025-12-10T07:07:53.697Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/47/f187b4636ff80cc63f21cd40b7b2d177134acaa10f6bb73746130ee8c2e5/scikit_learn-1.8.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4496bb2cf7a43ce1a2d7524a79e40bc5da45cf598dbf9545b7e8316ccba47bb4", size = 8660492, upload-time = "2025-12-10T07:07:55.574Z" },
+ { url = "https://files.pythonhosted.org/packages/97/74/b7a304feb2b49df9fafa9382d4d09061a96ee9a9449a7cbea7988dda0828/scikit_learn-1.8.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0bcfe4d0d14aec44921545fd2af2338c7471de9cb701f1da4c9d85906ab847a", size = 8931904, upload-time = "2025-12-10T07:07:57.666Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/c4/0ab22726a04ede56f689476b760f98f8f46607caecff993017ac1b64aa5d/scikit_learn-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:35c007dedb2ffe38fe3ee7d201ebac4a2deccd2408e8621d53067733e3c74809", size = 8019359, upload-time = "2025-12-10T07:07:59.838Z" },
+ { url = "https://files.pythonhosted.org/packages/24/90/344a67811cfd561d7335c1b96ca21455e7e472d281c3c279c4d3f2300236/scikit_learn-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:8c497fff237d7b4e07e9ef1a640887fa4fb765647f86fbe00f969ff6280ce2bb", size = 7641898, upload-time = "2025-12-10T07:08:01.36Z" },
]
[[package]]
@@ -4511,18 +4557,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7a/97/5a3609c4f8d58b039179648e62dd220f89864f56f7357f5d4f45c29eb2cc/scipy-1.17.1.tar.gz", hash = "sha256:95d8e012d8cb8816c226aef832200b1d45109ed4464303e997c5b13122b297c0", size = 30573822 }
+sdist = { url = "https://files.pythonhosted.org/packages/7a/97/5a3609c4f8d58b039179648e62dd220f89864f56f7357f5d4f45c29eb2cc/scipy-1.17.1.tar.gz", hash = "sha256:95d8e012d8cb8816c226aef832200b1d45109ed4464303e997c5b13122b297c0", size = 30573822, upload-time = "2026-02-23T00:26:24.851Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/35/48/b992b488d6f299dbe3f11a20b24d3dda3d46f1a635ede1c46b5b17a7b163/scipy-1.17.1-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:35c3a56d2ef83efc372eaec584314bd0ef2e2f0d2adb21c55e6ad5b344c0dcb8", size = 31610954 },
- { url = "https://files.pythonhosted.org/packages/b2/02/cf107b01494c19dc100f1d0b7ac3cc08666e96ba2d64db7626066cee895e/scipy-1.17.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:fcb310ddb270a06114bb64bbe53c94926b943f5b7f0842194d585c65eb4edd76", size = 28172662 },
- { url = "https://files.pythonhosted.org/packages/cf/a9/599c28631bad314d219cf9ffd40e985b24d603fc8a2f4ccc5ae8419a535b/scipy-1.17.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:cc90d2e9c7e5c7f1a482c9875007c095c3194b1cfedca3c2f3291cdc2bc7c086", size = 20344366 },
- { url = "https://files.pythonhosted.org/packages/35/f5/906eda513271c8deb5af284e5ef0206d17a96239af79f9fa0aebfe0e36b4/scipy-1.17.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:c80be5ede8f3f8eded4eff73cc99a25c388ce98e555b17d31da05287015ffa5b", size = 22704017 },
- { url = "https://files.pythonhosted.org/packages/da/34/16f10e3042d2f1d6b66e0428308ab52224b6a23049cb2f5c1756f713815f/scipy-1.17.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e19ebea31758fac5893a2ac360fedd00116cbb7628e650842a6691ba7ca28a21", size = 32927842 },
- { url = "https://files.pythonhosted.org/packages/01/8e/1e35281b8ab6d5d72ebe9911edcdffa3f36b04ed9d51dec6dd140396e220/scipy-1.17.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:02ae3b274fde71c5e92ac4d54bc06c42d80e399fec704383dcd99b301df37458", size = 35235890 },
- { url = "https://files.pythonhosted.org/packages/c5/5c/9d7f4c88bea6e0d5a4f1bc0506a53a00e9fcb198de372bfe4d3652cef482/scipy-1.17.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8a604bae87c6195d8b1045eddece0514d041604b14f2727bbc2b3020172045eb", size = 35003557 },
- { url = "https://files.pythonhosted.org/packages/65/94/7698add8f276dbab7a9de9fb6b0e02fc13ee61d51c7c3f85ac28b65e1239/scipy-1.17.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:f590cd684941912d10becc07325a3eeb77886fe981415660d9265c4c418d0bea", size = 37625856 },
- { url = "https://files.pythonhosted.org/packages/a2/84/dc08d77fbf3d87d3ee27f6a0c6dcce1de5829a64f2eae85a0ecc1f0daa73/scipy-1.17.1-cp312-cp312-win_amd64.whl", hash = "sha256:41b71f4a3a4cab9d366cd9065b288efc4d4f3c0b37a91a8e0947fb5bd7f31d87", size = 36549682 },
- { url = "https://files.pythonhosted.org/packages/bc/98/fe9ae9ffb3b54b62559f52dedaebe204b408db8109a8c66fdd04869e6424/scipy-1.17.1-cp312-cp312-win_arm64.whl", hash = "sha256:f4115102802df98b2b0db3cce5cb9b92572633a1197c77b7553e5203f284a5b3", size = 24547340 },
+ { url = "https://files.pythonhosted.org/packages/35/48/b992b488d6f299dbe3f11a20b24d3dda3d46f1a635ede1c46b5b17a7b163/scipy-1.17.1-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:35c3a56d2ef83efc372eaec584314bd0ef2e2f0d2adb21c55e6ad5b344c0dcb8", size = 31610954, upload-time = "2026-02-23T00:17:49.855Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/02/cf107b01494c19dc100f1d0b7ac3cc08666e96ba2d64db7626066cee895e/scipy-1.17.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:fcb310ddb270a06114bb64bbe53c94926b943f5b7f0842194d585c65eb4edd76", size = 28172662, upload-time = "2026-02-23T00:18:01.64Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/a9/599c28631bad314d219cf9ffd40e985b24d603fc8a2f4ccc5ae8419a535b/scipy-1.17.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:cc90d2e9c7e5c7f1a482c9875007c095c3194b1cfedca3c2f3291cdc2bc7c086", size = 20344366, upload-time = "2026-02-23T00:18:12.015Z" },
+ { url = "https://files.pythonhosted.org/packages/35/f5/906eda513271c8deb5af284e5ef0206d17a96239af79f9fa0aebfe0e36b4/scipy-1.17.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:c80be5ede8f3f8eded4eff73cc99a25c388ce98e555b17d31da05287015ffa5b", size = 22704017, upload-time = "2026-02-23T00:18:21.502Z" },
+ { url = "https://files.pythonhosted.org/packages/da/34/16f10e3042d2f1d6b66e0428308ab52224b6a23049cb2f5c1756f713815f/scipy-1.17.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e19ebea31758fac5893a2ac360fedd00116cbb7628e650842a6691ba7ca28a21", size = 32927842, upload-time = "2026-02-23T00:18:35.367Z" },
+ { url = "https://files.pythonhosted.org/packages/01/8e/1e35281b8ab6d5d72ebe9911edcdffa3f36b04ed9d51dec6dd140396e220/scipy-1.17.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:02ae3b274fde71c5e92ac4d54bc06c42d80e399fec704383dcd99b301df37458", size = 35235890, upload-time = "2026-02-23T00:18:49.188Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/5c/9d7f4c88bea6e0d5a4f1bc0506a53a00e9fcb198de372bfe4d3652cef482/scipy-1.17.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8a604bae87c6195d8b1045eddece0514d041604b14f2727bbc2b3020172045eb", size = 35003557, upload-time = "2026-02-23T00:18:54.74Z" },
+ { url = "https://files.pythonhosted.org/packages/65/94/7698add8f276dbab7a9de9fb6b0e02fc13ee61d51c7c3f85ac28b65e1239/scipy-1.17.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:f590cd684941912d10becc07325a3eeb77886fe981415660d9265c4c418d0bea", size = 37625856, upload-time = "2026-02-23T00:19:00.307Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/84/dc08d77fbf3d87d3ee27f6a0c6dcce1de5829a64f2eae85a0ecc1f0daa73/scipy-1.17.1-cp312-cp312-win_amd64.whl", hash = "sha256:41b71f4a3a4cab9d366cd9065b288efc4d4f3c0b37a91a8e0947fb5bd7f31d87", size = 36549682, upload-time = "2026-02-23T00:19:07.67Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/98/fe9ae9ffb3b54b62559f52dedaebe204b408db8109a8c66fdd04869e6424/scipy-1.17.1-cp312-cp312-win_arm64.whl", hash = "sha256:f4115102802df98b2b0db3cce5cb9b92572633a1197c77b7553e5203f284a5b3", size = 24547340, upload-time = "2026-02-23T00:19:12.024Z" },
]
[[package]]
@@ -4540,25 +4586,25 @@ dependencies = [
{ name = "transformers" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5b/30/21664028fc0776eb1ca024879480bbbab36f02923a8ff9e4cae5a150fa35/sentence_transformers-5.2.3.tar.gz", hash = "sha256:3cd3044e1f3fe859b6a1b66336aac502eaae5d3dd7d5c8fc237f37fbf58137c7", size = 381623 }
+sdist = { url = "https://files.pythonhosted.org/packages/5b/30/21664028fc0776eb1ca024879480bbbab36f02923a8ff9e4cae5a150fa35/sentence_transformers-5.2.3.tar.gz", hash = "sha256:3cd3044e1f3fe859b6a1b66336aac502eaae5d3dd7d5c8fc237f37fbf58137c7", size = 381623, upload-time = "2026-02-17T14:05:20.238Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/46/9f/dba4b3e18ebbe1eaa29d9f1764fbc7da0cd91937b83f2b7928d15c5d2d36/sentence_transformers-5.2.3-py3-none-any.whl", hash = "sha256:6437c62d4112b615ddebda362dfc16a4308d604c5b68125ed586e3e95d5b2e30", size = 494225 },
+ { url = "https://files.pythonhosted.org/packages/46/9f/dba4b3e18ebbe1eaa29d9f1764fbc7da0cd91937b83f2b7928d15c5d2d36/sentence_transformers-5.2.3-py3-none-any.whl", hash = "sha256:6437c62d4112b615ddebda362dfc16a4308d604c5b68125ed586e3e95d5b2e30", size = 494225, upload-time = "2026-02-17T14:05:18.596Z" },
]
[[package]]
name = "sentencepiece"
version = "0.2.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/15/15/2e7a025fc62d764b151ae6d0f2a92f8081755ebe8d4a64099accc6f77ba6/sentencepiece-0.2.1.tar.gz", hash = "sha256:8138cec27c2f2282f4a34d9a016e3374cd40e5c6e9cb335063db66a0a3b71fad", size = 3228515 }
+sdist = { url = "https://files.pythonhosted.org/packages/15/15/2e7a025fc62d764b151ae6d0f2a92f8081755ebe8d4a64099accc6f77ba6/sentencepiece-0.2.1.tar.gz", hash = "sha256:8138cec27c2f2282f4a34d9a016e3374cd40e5c6e9cb335063db66a0a3b71fad", size = 3228515, upload-time = "2025-08-12T07:00:51.718Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4a/be/32ce495aa1d0e0c323dcb1ba87096037358edee539cac5baf8755a6bd396/sentencepiece-0.2.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:57cae326c8727de58c85977b175af132a7138d84c764635d7e71bbee7e774133", size = 1943152 },
- { url = "https://files.pythonhosted.org/packages/88/7e/ff23008899a58678e98c6ff592bf4d368eee5a71af96d0df6b38a039dd4f/sentencepiece-0.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:56dd39a3c4d6493db3cdca7e8cc68c6b633f0d4195495cbadfcf5af8a22d05a6", size = 1325651 },
- { url = "https://files.pythonhosted.org/packages/19/84/42eb3ce4796777a1b5d3699dfd4dca85113e68b637f194a6c8d786f16a04/sentencepiece-0.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d9381351182ff9888cc80e41c632e7e274b106f450de33d67a9e8f6043da6f76", size = 1253645 },
- { url = "https://files.pythonhosted.org/packages/89/fa/d3d5ebcba3cb9e6d3775a096251860c41a6bc53a1b9461151df83fe93255/sentencepiece-0.2.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:99f955df238021bf11f0fc37cdb54fd5e5b5f7fd30ecc3d93fb48b6815437167", size = 1316273 },
- { url = "https://files.pythonhosted.org/packages/04/88/14f2f4a2b922d8b39be45bf63d79e6cd3a9b2f248b2fcb98a69b12af12f5/sentencepiece-0.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0cdfecef430d985f1c2bcbfff3defd1d95dae876fbd0173376012d2d7d24044b", size = 1387881 },
- { url = "https://files.pythonhosted.org/packages/fd/b8/903e5ccb77b4ef140605d5d71b4f9e0ad95d456d6184688073ed11712809/sentencepiece-0.2.1-cp312-cp312-win32.whl", hash = "sha256:a483fd29a34c3e34c39ac5556b0a90942bec253d260235729e50976f5dba1068", size = 999540 },
- { url = "https://files.pythonhosted.org/packages/2d/81/92df5673c067148c2545b1bfe49adfd775bcc3a169a047f5a0e6575ddaca/sentencepiece-0.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:4cdc7c36234fda305e85c32949c5211faaf8dd886096c7cea289ddc12a2d02de", size = 1054671 },
- { url = "https://files.pythonhosted.org/packages/fe/02/c5e3bc518655d714622bec87d83db9cdba1cd0619a4a04e2109751c4f47f/sentencepiece-0.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:daeb5e9e9fcad012324807856113708614d534f596d5008638eb9b40112cd9e4", size = 1033923 },
+ { url = "https://files.pythonhosted.org/packages/4a/be/32ce495aa1d0e0c323dcb1ba87096037358edee539cac5baf8755a6bd396/sentencepiece-0.2.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:57cae326c8727de58c85977b175af132a7138d84c764635d7e71bbee7e774133", size = 1943152, upload-time = "2025-08-12T06:59:40.048Z" },
+ { url = "https://files.pythonhosted.org/packages/88/7e/ff23008899a58678e98c6ff592bf4d368eee5a71af96d0df6b38a039dd4f/sentencepiece-0.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:56dd39a3c4d6493db3cdca7e8cc68c6b633f0d4195495cbadfcf5af8a22d05a6", size = 1325651, upload-time = "2025-08-12T06:59:41.536Z" },
+ { url = "https://files.pythonhosted.org/packages/19/84/42eb3ce4796777a1b5d3699dfd4dca85113e68b637f194a6c8d786f16a04/sentencepiece-0.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d9381351182ff9888cc80e41c632e7e274b106f450de33d67a9e8f6043da6f76", size = 1253645, upload-time = "2025-08-12T06:59:42.903Z" },
+ { url = "https://files.pythonhosted.org/packages/89/fa/d3d5ebcba3cb9e6d3775a096251860c41a6bc53a1b9461151df83fe93255/sentencepiece-0.2.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:99f955df238021bf11f0fc37cdb54fd5e5b5f7fd30ecc3d93fb48b6815437167", size = 1316273, upload-time = "2025-08-12T06:59:44.476Z" },
+ { url = "https://files.pythonhosted.org/packages/04/88/14f2f4a2b922d8b39be45bf63d79e6cd3a9b2f248b2fcb98a69b12af12f5/sentencepiece-0.2.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0cdfecef430d985f1c2bcbfff3defd1d95dae876fbd0173376012d2d7d24044b", size = 1387881, upload-time = "2025-08-12T06:59:46.09Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/b8/903e5ccb77b4ef140605d5d71b4f9e0ad95d456d6184688073ed11712809/sentencepiece-0.2.1-cp312-cp312-win32.whl", hash = "sha256:a483fd29a34c3e34c39ac5556b0a90942bec253d260235729e50976f5dba1068", size = 999540, upload-time = "2025-08-12T06:59:48.023Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/81/92df5673c067148c2545b1bfe49adfd775bcc3a169a047f5a0e6575ddaca/sentencepiece-0.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:4cdc7c36234fda305e85c32949c5211faaf8dd886096c7cea289ddc12a2d02de", size = 1054671, upload-time = "2025-08-12T06:59:49.895Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/02/c5e3bc518655d714622bec87d83db9cdba1cd0619a4a04e2109751c4f47f/sentencepiece-0.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:daeb5e9e9fcad012324807856113708614d534f596d5008638eb9b40112cd9e4", size = 1033923, upload-time = "2025-08-12T06:59:51.952Z" },
]
[[package]]
@@ -4569,9 +4615,9 @@ dependencies = [
{ name = "certifi" },
{ name = "urllib3" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c8/e9/2e3a46c304e7fa21eaa70612f60354e32699c7102eb961f67448e222ad7c/sentry_sdk-2.54.0.tar.gz", hash = "sha256:2620c2575128d009b11b20f7feb81e4e4e8ae08ec1d36cbc845705060b45cc1b", size = 413813 }
+sdist = { url = "https://files.pythonhosted.org/packages/c8/e9/2e3a46c304e7fa21eaa70612f60354e32699c7102eb961f67448e222ad7c/sentry_sdk-2.54.0.tar.gz", hash = "sha256:2620c2575128d009b11b20f7feb81e4e4e8ae08ec1d36cbc845705060b45cc1b", size = 413813, upload-time = "2026-03-02T15:12:41.355Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/53/39/be412cc86bc6247b8f69e9383d7950711bd86f8d0a4a4b0fe8fad685bc21/sentry_sdk-2.54.0-py2.py3-none-any.whl", hash = "sha256:fd74e0e281dcda63afff095d23ebcd6e97006102cdc8e78a29f19ecdf796a0de", size = 439198 },
+ { url = "https://files.pythonhosted.org/packages/53/39/be412cc86bc6247b8f69e9383d7950711bd86f8d0a4a4b0fe8fad685bc21/sentry_sdk-2.54.0-py2.py3-none-any.whl", hash = "sha256:fd74e0e281dcda63afff095d23ebcd6e97006102cdc8e78a29f19ecdf796a0de", size = 439198, upload-time = "2026-03-02T15:12:39.546Z" },
]
[[package]]
@@ -4582,24 +4628,24 @@ dependencies = [
{ name = "numpy" },
{ name = "scikit-learn" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/9d/2d/233c79d5b4e5ab1dbf111242299153f3caddddbb691219f363ad55ce783d/seqeval-1.2.2.tar.gz", hash = "sha256:f28e97c3ab96d6fcd32b648f6438ff2e09cfba87f05939da9b3970713ec56e6f", size = 43605 }
+sdist = { url = "https://files.pythonhosted.org/packages/9d/2d/233c79d5b4e5ab1dbf111242299153f3caddddbb691219f363ad55ce783d/seqeval-1.2.2.tar.gz", hash = "sha256:f28e97c3ab96d6fcd32b648f6438ff2e09cfba87f05939da9b3970713ec56e6f", size = 43605, upload-time = "2020-10-24T00:24:54.926Z" }
[[package]]
name = "setuptools"
version = "82.0.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz", hash = "sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9", size = 1152316 }
+sdist = { url = "https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz", hash = "sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9", size = 1152316, upload-time = "2026-03-09T12:47:17.221Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl", hash = "sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb", size = 1006223 },
+ { url = "https://files.pythonhosted.org/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl", hash = "sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb", size = 1006223, upload-time = "2026-03-09T12:47:15.026Z" },
]
[[package]]
name = "shellingham"
version = "1.5.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310 }
+sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310, upload-time = "2023-10-24T04:13:40.426Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755 },
+ { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755, upload-time = "2023-10-24T04:13:38.866Z" },
]
[[package]]
@@ -4672,6 +4718,7 @@ requires-dist = [
{ name = "sie-server", extras = ["gpu-metrics"], marker = "extra == 'gpu-metrics'", editable = "packages/sie_server" },
{ name = "sie-server", extras = ["xformers"], marker = "extra == 'xformers'", editable = "packages/sie_server" },
]
+provides-extras = ["top", "flash-attn", "gpu-metrics", "xformers"]
[package.metadata.requires-dev]
benchview = [
@@ -4703,7 +4750,7 @@ dev = [
[[package]]
name = "sie-admin"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "packages/sie_admin" }
dependencies = [
{ name = "httpx" },
@@ -4733,10 +4780,11 @@ requires-dist = [
{ name = "typer", specifier = ">=0.12,<1" },
{ name = "websockets", marker = "extra == 'top'", specifier = ">=14,<15" },
]
+provides-extras = ["top"]
[[package]]
name = "sie-bench"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "packages/sie_bench" }
dependencies = [
{ name = "aiohttp" },
@@ -4808,10 +4856,11 @@ requires-dist = [
{ name = "wandb", marker = "extra == 'tracking'", specifier = ">=0.16" },
{ name = "wandb", marker = "extra == 'wandb'", specifier = ">=0.16" },
]
+provides-extras = ["fastembed", "pylate", "detection", "wandb", "mlflow", "tracking", "all"]
[[package]]
name = "sie-chroma"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "integrations/sie_chroma" }
dependencies = [
{ name = "chromadb" },
@@ -4831,10 +4880,11 @@ requires-dist = [
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.24" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
[[package]]
name = "sie-crewai"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "integrations/sie_crewai" }
dependencies = [
{ name = "crewai" },
@@ -4856,10 +4906,11 @@ requires-dist = [
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.23.0" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
[[package]]
name = "sie-dspy"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "integrations/sie_dspy" }
dependencies = [
{ name = "dspy" },
@@ -4879,10 +4930,11 @@ requires-dist = [
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.24" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
[[package]]
name = "sie-haystack"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "integrations/sie_haystack" }
dependencies = [
{ name = "haystack-ai" },
@@ -4906,10 +4958,39 @@ requires-dist = [
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.23.0" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
+
+[[package]]
+name = "sie-lancedb"
+version = "0.1.0"
+source = { editable = "integrations/sie_lancedb" }
+dependencies = [
+ { name = "lancedb" },
+ { name = "pyarrow" },
+ { name = "pylance" },
+ { name = "sie-sdk" },
+]
+
+[package.optional-dependencies]
+dev = [
+ { name = "pytest" },
+ { name = "pytest-asyncio" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "lancedb", specifier = ">=0.17" },
+ { name = "pyarrow", specifier = ">=14.0" },
+ { name = "pylance", specifier = ">=0.20" },
+ { name = "pytest", marker = "extra == 'dev'", specifier = ">=8.0" },
+ { name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.24" },
+ { name = "sie-sdk", editable = "packages/sie_sdk" },
+]
+provides-extras = ["dev"]
[[package]]
name = "sie-langchain"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "integrations/sie_langchain" }
dependencies = [
{ name = "langchain-core" },
@@ -4933,10 +5014,11 @@ requires-dist = [
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.23" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
[[package]]
name = "sie-llamaindex"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "integrations/sie_llamaindex" }
dependencies = [
{ name = "llama-index-core" },
@@ -4960,10 +5042,11 @@ requires-dist = [
{ name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.23" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
[[package]]
name = "sie-qdrant"
-version = "0.1.0"
+version = "0.1.9"
source = { editable = "integrations/sie_qdrant" }
dependencies = [
{ name = "qdrant-client" },
@@ -4983,16 +5066,19 @@ requires-dist = [
{ name = "qdrant-client", specifier = ">=1.7" },
{ name = "sie-sdk", editable = "packages/sie_sdk" },
]
+provides-extras = ["dev"]
[[package]]
name = "sie-router"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "packages/sie_router" }
dependencies = [
{ name = "fastapi" },
{ name = "httpx" },
{ name = "msgpack" },
{ name = "msgpack-numpy" },
+ { name = "nats-py" },
+ { name = "orjson" },
{ name = "prometheus-client" },
{ name = "pydantic" },
{ name = "pydantic-settings" },
@@ -5007,6 +5093,9 @@ dependencies = [
]
[package.optional-dependencies]
+gcs = [
+ { name = "google-cloud-storage" },
+]
kubernetes = [
{ name = "kubernetes" },
]
@@ -5020,10 +5109,13 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "fastapi", specifier = ">=0.115,<1" },
+ { name = "google-cloud-storage", marker = "extra == 'gcs'", specifier = ">=2.18,<3" },
{ name = "httpx", specifier = ">=0.28,<1" },
{ name = "kubernetes", marker = "extra == 'kubernetes'", specifier = ">=31,<32" },
{ name = "msgpack", specifier = ">=1.1,<2" },
{ name = "msgpack-numpy", specifier = ">=0.4,<1" },
+ { name = "nats-py", specifier = ">=2.9,<3" },
+ { name = "orjson", specifier = ">=3.10,<4" },
{ name = "prometheus-client", specifier = ">=0.21,<1" },
{ name = "pydantic", specifier = ">=2.9,<3" },
{ name = "pydantic-settings", specifier = ">=2.6,<3" },
@@ -5036,6 +5128,7 @@ requires-dist = [
{ name = "watchdog", specifier = ">=6,<7" },
{ name = "websockets", specifier = ">=14,<15" },
]
+provides-extras = ["kubernetes", "gcs"]
[package.metadata.requires-dev]
dev = [
@@ -5045,7 +5138,7 @@ dev = [
[[package]]
name = "sie-sdk"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "packages/sie_sdk" }
dependencies = [
{ name = "aiohttp" },
@@ -5091,10 +5184,11 @@ requires-dist = [
{ name = "pyyaml", specifier = ">=6,<7" },
{ name = "websockets", specifier = ">=14,<15" },
]
+provides-extras = ["storage", "langchain", "llamaindex", "haystack"]
[[package]]
name = "sie-server"
-version = "0.1.6"
+version = "0.1.9"
source = { editable = "packages/sie_server" }
dependencies = [
{ name = "einops" },
@@ -5107,6 +5201,7 @@ dependencies = [
{ name = "msgpack" },
{ name = "msgpack-numpy" },
{ name = "msgspec" },
+ { name = "nats-py" },
{ name = "numpy" },
{ name = "opentelemetry-api" },
{ name = "opentelemetry-exporter-otlp" },
@@ -5168,6 +5263,7 @@ requires-dist = [
{ name = "msgpack", specifier = ">=1.1,<2" },
{ name = "msgpack-numpy", specifier = ">=0.4,<1" },
{ name = "msgspec", specifier = ">=0.20.0" },
+ { name = "nats-py", specifier = ">=2.9,<3" },
{ name = "numpy", specifier = ">=2,<3" },
{ name = "opentelemetry-api", specifier = ">=1.28,<2" },
{ name = "opentelemetry-exporter-otlp", specifier = ">=1.28,<2" },
@@ -5198,13 +5294,14 @@ requires-dist = [
{ name = "watchdog", specifier = ">=6,<7" },
{ name = "xformers", marker = "sys_platform == 'linux' and extra == 'xformers'", specifier = ">=0.0.30,<0.1" },
]
+provides-extras = ["flash-attn", "xformers", "gpu-metrics", "top"]
[package.metadata.requires-dev]
dev = [{ name = "httpx", specifier = ">=0.28.1" }]
[[package]]
name = "sie-weaviate"
-version = "0.1.0"
+version = "0.1.9"
source = { editable = "integrations/sie_weaviate" }
dependencies = [
{ name = "sie-sdk" },
@@ -5224,14 +5321,15 @@ requires-dist = [
{ name = "sie-sdk", editable = "packages/sie_sdk" },
{ name = "weaviate-client", specifier = ">=4.16" },
]
+provides-extras = ["dev"]
[[package]]
name = "six"
version = "1.17.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031 }
+sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050 },
+ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },
]
[[package]]
@@ -5245,36 +5343,36 @@ dependencies = [
{ name = "scikit-learn" },
{ name = "scipy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/b5/0c/5ec987633e077dd0076178ea6ade2d6e57780b34afea0b497fb507d7a1ed/skops-0.13.0.tar.gz", hash = "sha256:66949fd3c95cbb5c80270fbe40293c0fe1e46cb4a921860e42584dd9c20ebeb1", size = 581312 }
+sdist = { url = "https://files.pythonhosted.org/packages/b5/0c/5ec987633e077dd0076178ea6ade2d6e57780b34afea0b497fb507d7a1ed/skops-0.13.0.tar.gz", hash = "sha256:66949fd3c95cbb5c80270fbe40293c0fe1e46cb4a921860e42584dd9c20ebeb1", size = 581312, upload-time = "2025-08-06T09:48:14.916Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/04/e8/6a2b2030f0689f894432b9c2f0357f2f3286b2a00474827e04b8fe9eea13/skops-0.13.0-py3-none-any.whl", hash = "sha256:55e2cccb18c86f5916e4cfe5acf55ed7b0eecddf08a151906414c092fa5926dc", size = 131200 },
+ { url = "https://files.pythonhosted.org/packages/04/e8/6a2b2030f0689f894432b9c2f0357f2f3286b2a00474827e04b8fe9eea13/skops-0.13.0-py3-none-any.whl", hash = "sha256:55e2cccb18c86f5916e4cfe5acf55ed7b0eecddf08a151906414c092fa5926dc", size = 131200, upload-time = "2025-08-06T09:48:13.356Z" },
]
[[package]]
name = "smmap"
version = "5.0.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/1f/ea/49c993d6dfdd7338c9b1000a0f36817ed7ec84577ae2e52f890d1a4ff909/smmap-5.0.3.tar.gz", hash = "sha256:4d9debb8b99007ae47165abc08670bd74cb74b5227dda7f643eccc4e9eb5642c", size = 22506 }
+sdist = { url = "https://files.pythonhosted.org/packages/1f/ea/49c993d6dfdd7338c9b1000a0f36817ed7ec84577ae2e52f890d1a4ff909/smmap-5.0.3.tar.gz", hash = "sha256:4d9debb8b99007ae47165abc08670bd74cb74b5227dda7f643eccc4e9eb5642c", size = 22506, upload-time = "2026-03-09T03:43:26.1Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c1/d4/59e74daffcb57a07668852eeeb6035af9f32cbfd7a1d2511f17d2fe6a738/smmap-5.0.3-py3-none-any.whl", hash = "sha256:c106e05d5a61449cf6ba9a1e650227ecfb141590d2a98412103ff35d89fc7b2f", size = 24390 },
+ { url = "https://files.pythonhosted.org/packages/c1/d4/59e74daffcb57a07668852eeeb6035af9f32cbfd7a1d2511f17d2fe6a738/smmap-5.0.3-py3-none-any.whl", hash = "sha256:c106e05d5a61449cf6ba9a1e650227ecfb141590d2a98412103ff35d89fc7b2f", size = 24390, upload-time = "2026-03-09T03:43:24.361Z" },
]
[[package]]
name = "sniffio"
version = "1.3.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 },
+ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" },
]
[[package]]
name = "soupsieve"
version = "2.8.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/7b/ae/2d9c981590ed9999a0d91755b47fc74f74de286b0f5cee14c9269041e6c4/soupsieve-2.8.3.tar.gz", hash = "sha256:3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349", size = 118627 }
+sdist = { url = "https://files.pythonhosted.org/packages/7b/ae/2d9c981590ed9999a0d91755b47fc74f74de286b0f5cee14c9269041e6c4/soupsieve-2.8.3.tar.gz", hash = "sha256:3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349", size = 118627, upload-time = "2026-01-20T04:27:02.457Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/46/2c/1462b1d0a634697ae9e55b3cecdcb64788e8b7d63f54d923fcd0bb140aed/soupsieve-2.8.3-py3-none-any.whl", hash = "sha256:ed64f2ba4eebeab06cc4962affce381647455978ffc1e36bb79a545b91f45a95", size = 37016 },
+ { url = "https://files.pythonhosted.org/packages/46/2c/1462b1d0a634697ae9e55b3cecdcb64788e8b7d63f54d923fcd0bb140aed/soupsieve-2.8.3-py3-none-any.whl", hash = "sha256:ed64f2ba4eebeab06cc4962affce381647455978ffc1e36bb79a545b91f45a95", size = 37016, upload-time = "2026-01-20T04:27:01.012Z" },
]
[[package]]
@@ -5285,16 +5383,16 @@ 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/1f/73/b4a9737255583b5fa858e0bb8e116eb94b88c910164ed2ed719147bde3de/sqlalchemy-2.0.48.tar.gz", hash = "sha256:5ca74f37f3369b45e1f6b7b06afb182af1fd5dde009e4ffd831830d98cbe5fe7", size = 9886075 }
+sdist = { url = "https://files.pythonhosted.org/packages/1f/73/b4a9737255583b5fa858e0bb8e116eb94b88c910164ed2ed719147bde3de/sqlalchemy-2.0.48.tar.gz", hash = "sha256:5ca74f37f3369b45e1f6b7b06afb182af1fd5dde009e4ffd831830d98cbe5fe7", size = 9886075, upload-time = "2026-03-02T15:28:51.474Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ef/91/a42ae716f8925e9659df2da21ba941f158686856107a61cc97a95e7647a3/sqlalchemy-2.0.48-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:348174f228b99f33ca1f773e85510e08927620caa59ffe7803b37170df30332b", size = 2155737 },
- { url = "https://files.pythonhosted.org/packages/b9/52/f75f516a1f3888f027c1cfb5d22d4376f4b46236f2e8669dcb0cddc60275/sqlalchemy-2.0.48-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53667b5f668991e279d21f94ccfa6e45b4e3f4500e7591ae59a8012d0f010dcb", size = 3337020 },
- { url = "https://files.pythonhosted.org/packages/37/9a/0c28b6371e0cdcb14f8f1930778cb3123acfcbd2c95bb9cf6b4a2ba0cce3/sqlalchemy-2.0.48-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34634e196f620c7a61d18d5cf7dc841ca6daa7961aed75d532b7e58b309ac894", size = 3349983 },
- { url = "https://files.pythonhosted.org/packages/1c/46/0aee8f3ff20b1dcbceb46ca2d87fcc3d48b407925a383ff668218509d132/sqlalchemy-2.0.48-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:546572a1793cc35857a2ffa1fe0e58571af1779bcc1ffa7c9fb0839885ed69a9", size = 3279690 },
- { url = "https://files.pythonhosted.org/packages/ce/8c/a957bc91293b49181350bfd55e6dfc6e30b7f7d83dc6792d72043274a390/sqlalchemy-2.0.48-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:07edba08061bc277bfdc772dd2a1a43978f5a45994dd3ede26391b405c15221e", size = 3314738 },
- { url = "https://files.pythonhosted.org/packages/4b/44/1d257d9f9556661e7bdc83667cc414ba210acfc110c82938cb3611eea58f/sqlalchemy-2.0.48-cp312-cp312-win32.whl", hash = "sha256:908a3fa6908716f803b86896a09a2c4dde5f5ce2bb07aacc71ffebb57986ce99", size = 2115546 },
- { url = "https://files.pythonhosted.org/packages/f2/af/c3c7e1f3a2b383155a16454df62ae8c62a30dd238e42e68c24cebebbfae6/sqlalchemy-2.0.48-cp312-cp312-win_amd64.whl", hash = "sha256:68549c403f79a8e25984376480959975212a670405e3913830614432b5daa07a", size = 2142484 },
- { url = "https://files.pythonhosted.org/packages/46/2c/9664130905f03db57961b8980b05cab624afd114bf2be2576628a9f22da4/sqlalchemy-2.0.48-py3-none-any.whl", hash = "sha256:a66fe406437dd65cacd96a72689a3aaaecaebbcd62d81c5ac1c0fdbeac835096", size = 1940202 },
+ { url = "https://files.pythonhosted.org/packages/ef/91/a42ae716f8925e9659df2da21ba941f158686856107a61cc97a95e7647a3/sqlalchemy-2.0.48-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:348174f228b99f33ca1f773e85510e08927620caa59ffe7803b37170df30332b", size = 2155737, upload-time = "2026-03-02T15:49:13.207Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/52/f75f516a1f3888f027c1cfb5d22d4376f4b46236f2e8669dcb0cddc60275/sqlalchemy-2.0.48-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53667b5f668991e279d21f94ccfa6e45b4e3f4500e7591ae59a8012d0f010dcb", size = 3337020, upload-time = "2026-03-02T15:50:34.547Z" },
+ { url = "https://files.pythonhosted.org/packages/37/9a/0c28b6371e0cdcb14f8f1930778cb3123acfcbd2c95bb9cf6b4a2ba0cce3/sqlalchemy-2.0.48-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34634e196f620c7a61d18d5cf7dc841ca6daa7961aed75d532b7e58b309ac894", size = 3349983, upload-time = "2026-03-02T15:53:25.542Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/46/0aee8f3ff20b1dcbceb46ca2d87fcc3d48b407925a383ff668218509d132/sqlalchemy-2.0.48-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:546572a1793cc35857a2ffa1fe0e58571af1779bcc1ffa7c9fb0839885ed69a9", size = 3279690, upload-time = "2026-03-02T15:50:36.277Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/8c/a957bc91293b49181350bfd55e6dfc6e30b7f7d83dc6792d72043274a390/sqlalchemy-2.0.48-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:07edba08061bc277bfdc772dd2a1a43978f5a45994dd3ede26391b405c15221e", size = 3314738, upload-time = "2026-03-02T15:53:27.519Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/44/1d257d9f9556661e7bdc83667cc414ba210acfc110c82938cb3611eea58f/sqlalchemy-2.0.48-cp312-cp312-win32.whl", hash = "sha256:908a3fa6908716f803b86896a09a2c4dde5f5ce2bb07aacc71ffebb57986ce99", size = 2115546, upload-time = "2026-03-02T15:54:31.591Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/af/c3c7e1f3a2b383155a16454df62ae8c62a30dd238e42e68c24cebebbfae6/sqlalchemy-2.0.48-cp312-cp312-win_amd64.whl", hash = "sha256:68549c403f79a8e25984376480959975212a670405e3913830614432b5daa07a", size = 2142484, upload-time = "2026-03-02T15:54:34.072Z" },
+ { url = "https://files.pythonhosted.org/packages/46/2c/9664130905f03db57961b8980b05cab624afd114bf2be2576628a9f22da4/sqlalchemy-2.0.48-py3-none-any.whl", hash = "sha256:a66fe406437dd65cacd96a72689a3aaaecaebbcd62d81c5ac1c0fdbeac835096", size = 1940202, upload-time = "2026-03-02T15:52:43.285Z" },
]
[package.optional-dependencies]
@@ -5306,15 +5404,15 @@ asyncio = [
name = "sqlitedict"
version = "2.1.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/12/9a/7620d1e9dcb02839ed6d4b14064e609cdd7a8ae1e47289aa0456796dd9ca/sqlitedict-2.1.0.tar.gz", hash = "sha256:03d9cfb96d602996f1d4c2db2856f1224b96a9c431bdd16e78032a72940f9e8c", size = 21846 }
+sdist = { url = "https://files.pythonhosted.org/packages/12/9a/7620d1e9dcb02839ed6d4b14064e609cdd7a8ae1e47289aa0456796dd9ca/sqlitedict-2.1.0.tar.gz", hash = "sha256:03d9cfb96d602996f1d4c2db2856f1224b96a9c431bdd16e78032a72940f9e8c", size = 21846, upload-time = "2022-12-03T13:39:13.102Z" }
[[package]]
name = "sqlparse"
version = "0.5.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/90/76/437d71068094df0726366574cf3432a4ed754217b436eb7429415cf2d480/sqlparse-0.5.5.tar.gz", hash = "sha256:e20d4a9b0b8585fdf63b10d30066c7c94c5d7a7ec47c889a2d83a3caa93ff28e", size = 120815 }
+sdist = { url = "https://files.pythonhosted.org/packages/90/76/437d71068094df0726366574cf3432a4ed754217b436eb7429415cf2d480/sqlparse-0.5.5.tar.gz", hash = "sha256:e20d4a9b0b8585fdf63b10d30066c7c94c5d7a7ec47c889a2d83a3caa93ff28e", size = 120815, upload-time = "2025-12-19T07:17:45.073Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/49/4b/359f28a903c13438ef59ebeee215fb25da53066db67b305c125f1c6d2a25/sqlparse-0.5.5-py3-none-any.whl", hash = "sha256:12a08b3bf3eec877c519589833aed092e2444e68240a3577e8e26148acc7b1ba", size = 46138 },
+ { url = "https://files.pythonhosted.org/packages/49/4b/359f28a903c13438ef59ebeee215fb25da53066db67b305c125f1c6d2a25/sqlparse-0.5.5-py3-none-any.whl", hash = "sha256:12a08b3bf3eec877c519589833aed092e2444e68240a3577e8e26148acc7b1ba", size = 46138, upload-time = "2025-12-19T07:17:46.573Z" },
]
[[package]]
@@ -5325,9 +5423,9 @@ dependencies = [
{ name = "anyio" },
{ name = "starlette" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/5a/9f/c3695c2d2d4ef70072c3a06992850498b01c6bc9be531950813716b426fa/sse_starlette-3.3.2.tar.gz", hash = "sha256:678fca55a1945c734d8472a6cad186a55ab02840b4f6786f5ee8770970579dcd", size = 32326 }
+sdist = { url = "https://files.pythonhosted.org/packages/5a/9f/c3695c2d2d4ef70072c3a06992850498b01c6bc9be531950813716b426fa/sse_starlette-3.3.2.tar.gz", hash = "sha256:678fca55a1945c734d8472a6cad186a55ab02840b4f6786f5ee8770970579dcd", size = 32326, upload-time = "2026-02-28T11:24:34.36Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/61/28/8cb142d3fe80c4a2d8af54ca0b003f47ce0ba920974e7990fa6e016402d1/sse_starlette-3.3.2-py3-none-any.whl", hash = "sha256:5c3ea3dad425c601236726af2f27689b74494643f57017cafcb6f8c9acfbb862", size = 14270 },
+ { url = "https://files.pythonhosted.org/packages/61/28/8cb142d3fe80c4a2d8af54ca0b003f47ce0ba920974e7990fa6e016402d1/sse_starlette-3.3.2-py3-none-any.whl", hash = "sha256:5c3ea3dad425c601236726af2f27689b74494643f57017cafcb6f8c9acfbb862", size = 14270, upload-time = "2026-02-28T11:24:32.984Z" },
]
[[package]]
@@ -5339,9 +5437,9 @@ dependencies = [
{ name = "executing" },
{ name = "pure-eval" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707 }
+sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707, upload-time = "2023-09-30T13:58:05.479Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521 },
+ { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" },
]
[[package]]
@@ -5352,9 +5450,9 @@ dependencies = [
{ name = "anyio" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c4/68/79977123bb7be889ad680d79a40f339082c1978b5cfcf62c2d8d196873ac/starlette-0.52.1.tar.gz", hash = "sha256:834edd1b0a23167694292e94f597773bc3f89f362be6effee198165a35d62933", size = 2653702 }
+sdist = { url = "https://files.pythonhosted.org/packages/c4/68/79977123bb7be889ad680d79a40f339082c1978b5cfcf62c2d8d196873ac/starlette-0.52.1.tar.gz", hash = "sha256:834edd1b0a23167694292e94f597773bc3f89f362be6effee198165a35d62933", size = 2653702, upload-time = "2026-01-18T13:34:11.062Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/81/0d/13d1d239a25cbfb19e740db83143e95c772a1fe10202dda4b76792b114dd/starlette-0.52.1-py3-none-any.whl", hash = "sha256:0029d43eb3d273bc4f83a08720b4912ea4b071087a3b48db01b7c839f7954d74", size = 74272 },
+ { url = "https://files.pythonhosted.org/packages/81/0d/13d1d239a25cbfb19e740db83143e95c772a1fe10202dda4b76792b114dd/starlette-0.52.1-py3-none-any.whl", hash = "sha256:0029d43eb3d273bc4f83a08720b4912ea4b071087a3b48db01b7c839f7954d74", size = 74272, upload-time = "2026-01-18T13:34:09.188Z" },
]
[[package]]
@@ -5368,14 +5466,14 @@ dependencies = [
{ name = "patsy" },
{ name = "scipy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0d/81/e8d74b34f85285f7335d30c5e3c2d7c0346997af9f3debf9a0a9a63de184/statsmodels-0.14.6.tar.gz", hash = "sha256:4d17873d3e607d398b85126cd4ed7aad89e4e9d89fc744cdab1af3189a996c2a", size = 20689085 }
+sdist = { url = "https://files.pythonhosted.org/packages/0d/81/e8d74b34f85285f7335d30c5e3c2d7c0346997af9f3debf9a0a9a63de184/statsmodels-0.14.6.tar.gz", hash = "sha256:4d17873d3e607d398b85126cd4ed7aad89e4e9d89fc744cdab1af3189a996c2a", size = 20689085, upload-time = "2025-12-05T23:08:39.522Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/25/ce/308e5e5da57515dd7cab3ec37ea2d5b8ff50bef1fcc8e6d31456f9fae08e/statsmodels-0.14.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fe76140ae7adc5ff0e60a3f0d56f4fffef484efa803c3efebf2fcd734d72ecb5", size = 10091932 },
- { url = "https://files.pythonhosted.org/packages/05/30/affbabf3c27fb501ec7b5808230c619d4d1a4525c07301074eb4bda92fa9/statsmodels-0.14.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:26d4f0ed3b31f3c86f83a92f5c1f5cbe63fc992cd8915daf28ca49be14463a1c", size = 9997345 },
- { url = "https://files.pythonhosted.org/packages/48/f5/3a73b51e6450c31652c53a8e12e24eac64e3824be816c0c2316e7dbdcb7d/statsmodels-0.14.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d8c00a42863e4f4733ac9d078bbfad816249c01451740e6f5053ecc7db6d6368", size = 10058649 },
- { url = "https://files.pythonhosted.org/packages/81/68/dddd76117df2ef14c943c6bbb6618be5c9401280046f4ddfc9fb4596a1b8/statsmodels-0.14.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:19b58cf7474aa9e7e3b0771a66537148b2df9b5884fbf156096c0e6c1ff0469d", size = 10339446 },
- { url = "https://files.pythonhosted.org/packages/56/4a/dce451c74c4050535fac1ec0c14b80706d8fc134c9da22db3c8a0ec62c33/statsmodels-0.14.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:81e7dcc5e9587f2567e52deaff5220b175bf2f648951549eae5fc9383b62bc37", size = 10368705 },
- { url = "https://files.pythonhosted.org/packages/60/15/3daba2df40be8b8a9a027d7f54c8dedf24f0d81b96e54b52293f5f7e3418/statsmodels-0.14.6-cp312-cp312-win_amd64.whl", hash = "sha256:b5eb07acd115aa6208b4058211138393a7e6c2cf12b6f213ede10f658f6a714f", size = 9543991 },
+ { url = "https://files.pythonhosted.org/packages/25/ce/308e5e5da57515dd7cab3ec37ea2d5b8ff50bef1fcc8e6d31456f9fae08e/statsmodels-0.14.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fe76140ae7adc5ff0e60a3f0d56f4fffef484efa803c3efebf2fcd734d72ecb5", size = 10091932, upload-time = "2025-12-05T19:28:55.446Z" },
+ { url = "https://files.pythonhosted.org/packages/05/30/affbabf3c27fb501ec7b5808230c619d4d1a4525c07301074eb4bda92fa9/statsmodels-0.14.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:26d4f0ed3b31f3c86f83a92f5c1f5cbe63fc992cd8915daf28ca49be14463a1c", size = 9997345, upload-time = "2025-12-05T19:29:10.278Z" },
+ { url = "https://files.pythonhosted.org/packages/48/f5/3a73b51e6450c31652c53a8e12e24eac64e3824be816c0c2316e7dbdcb7d/statsmodels-0.14.6-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d8c00a42863e4f4733ac9d078bbfad816249c01451740e6f5053ecc7db6d6368", size = 10058649, upload-time = "2025-12-05T23:10:12.775Z" },
+ { url = "https://files.pythonhosted.org/packages/81/68/dddd76117df2ef14c943c6bbb6618be5c9401280046f4ddfc9fb4596a1b8/statsmodels-0.14.6-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:19b58cf7474aa9e7e3b0771a66537148b2df9b5884fbf156096c0e6c1ff0469d", size = 10339446, upload-time = "2025-12-05T23:10:28.503Z" },
+ { url = "https://files.pythonhosted.org/packages/56/4a/dce451c74c4050535fac1ec0c14b80706d8fc134c9da22db3c8a0ec62c33/statsmodels-0.14.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:81e7dcc5e9587f2567e52deaff5220b175bf2f648951549eae5fc9383b62bc37", size = 10368705, upload-time = "2025-12-05T23:10:44.339Z" },
+ { url = "https://files.pythonhosted.org/packages/60/15/3daba2df40be8b8a9a027d7f54c8dedf24f0d81b96e54b52293f5f7e3418/statsmodels-0.14.6-cp312-cp312-win_amd64.whl", hash = "sha256:b5eb07acd115aa6208b4058211138393a7e6c2cf12b6f213ede10f658f6a714f", size = 9543991, upload-time = "2025-12-05T23:10:58.536Z" },
]
[[package]]
@@ -5385,9 +5483,9 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "mpmath" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921 }
+sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353 },
+ { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" },
]
[[package]]
@@ -5397,27 +5495,27 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/a3/26/8874d34755691994266d4a844ba8d53d10c2690ec67f246ca4d6b6f34cbb/synchronicity-0.11.1.tar.gz", hash = "sha256:3628df9ab34bd7be89b729104114841c62612c5d5ec43b76f4b7b243185ec1a8", size = 58131 }
+sdist = { url = "https://files.pythonhosted.org/packages/a3/26/8874d34755691994266d4a844ba8d53d10c2690ec67f246ca4d6b6f34cbb/synchronicity-0.11.1.tar.gz", hash = "sha256:3628df9ab34bd7be89b729104114841c62612c5d5ec43b76f4b7b243185ec1a8", size = 58131, upload-time = "2025-12-19T18:28:42.291Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3f/b9/71153db12f4ad029cfe9b7fbf9792ef3fc9ade4485d31a13470b52954e62/synchronicity-0.11.1-py3-none-any.whl", hash = "sha256:53959c7f8b9b852fb5ea4d3d290a47a04310ede483a4cf0f8452cb4b5fa09db2", size = 40399 },
+ { url = "https://files.pythonhosted.org/packages/3f/b9/71153db12f4ad029cfe9b7fbf9792ef3fc9ade4485d31a13470b52954e62/synchronicity-0.11.1-py3-none-any.whl", hash = "sha256:53959c7f8b9b852fb5ea4d3d290a47a04310ede483a4cf0f8452cb4b5fa09db2", size = 40399, upload-time = "2025-12-19T18:28:40.972Z" },
]
[[package]]
name = "tenacity"
version = "9.1.4"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/47/c6/ee486fd809e357697ee8a44d3d69222b344920433d3b6666ccd9b374630c/tenacity-9.1.4.tar.gz", hash = "sha256:adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a", size = 49413 }
+sdist = { url = "https://files.pythonhosted.org/packages/47/c6/ee486fd809e357697ee8a44d3d69222b344920433d3b6666ccd9b374630c/tenacity-9.1.4.tar.gz", hash = "sha256:adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a", size = 49413, upload-time = "2026-02-07T10:45:33.841Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926 },
+ { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926, upload-time = "2026-02-07T10:45:32.24Z" },
]
[[package]]
name = "termcolor"
version = "3.3.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/46/79/cf31d7a93a8fdc6aa0fbb665be84426a8c5a557d9240b6239e9e11e35fc5/termcolor-3.3.0.tar.gz", hash = "sha256:348871ca648ec6a9a983a13ab626c0acce02f515b9e1983332b17af7979521c5", size = 14434 }
+sdist = { url = "https://files.pythonhosted.org/packages/46/79/cf31d7a93a8fdc6aa0fbb665be84426a8c5a557d9240b6239e9e11e35fc5/termcolor-3.3.0.tar.gz", hash = "sha256:348871ca648ec6a9a983a13ab626c0acce02f515b9e1983332b17af7979521c5", size = 14434, upload-time = "2025-12-29T12:55:21.882Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/33/d1/8bb87d21e9aeb323cc03034f5eaf2c8f69841e40e4853c2627edf8111ed3/termcolor-3.3.0-py3-none-any.whl", hash = "sha256:cf642efadaf0a8ebbbf4bc7a31cec2f9b5f21a9f726f4ccbb08192c9c26f43a5", size = 7734 },
+ { url = "https://files.pythonhosted.org/packages/33/d1/8bb87d21e9aeb323cc03034f5eaf2c8f69841e40e4853c2627edf8111ed3/termcolor-3.3.0-py3-none-any.whl", hash = "sha256:cf642efadaf0a8ebbbf4bc7a31cec2f9b5f21a9f726f4ccbb08192c9c26f43a5", size = 7734, upload-time = "2025-12-29T12:55:20.718Z" },
]
[[package]]
@@ -5430,9 +5528,9 @@ dependencies = [
{ name = "rich" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/af/83/c99c252c3fad2f7010ceb476a31af042eec71da441ffeef75bb590bc2e9e/textual-3.7.1.tar.gz", hash = "sha256:a76ba0c8a6c194ef24fd5c3681ebfddca55e7127c064a014128c84fbd7f5d271", size = 1604038 }
+sdist = { url = "https://files.pythonhosted.org/packages/af/83/c99c252c3fad2f7010ceb476a31af042eec71da441ffeef75bb590bc2e9e/textual-3.7.1.tar.gz", hash = "sha256:a76ba0c8a6c194ef24fd5c3681ebfddca55e7127c064a014128c84fbd7f5d271", size = 1604038, upload-time = "2025-07-09T09:04:45.477Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/15/f1/8929fcce6dc983f7a260d0f3ddd2a69b74ba17383dbe57a7e0a9e085e8be/textual-3.7.1-py3-none-any.whl", hash = "sha256:ab5d153f4f65e77017977fa150d0376409e0acf5f1d2e25e2e4ab9de6c0d61ff", size = 691472 },
+ { url = "https://files.pythonhosted.org/packages/15/f1/8929fcce6dc983f7a260d0f3ddd2a69b74ba17383dbe57a7e0a9e085e8be/textual-3.7.1-py3-none-any.whl", hash = "sha256:ab5d153f4f65e77017977fa150d0376409e0acf5f1d2e25e2e4ab9de6c0d61ff", size = 691472, upload-time = "2025-07-09T09:04:43.626Z" },
]
[[package]]
@@ -5443,18 +5541,18 @@ dependencies = [
{ name = "plotext" },
{ name = "textual" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/9a/b0/e4e0f38df057db778252db0dd2c08522d7222b8537b6a0181d797b9044bd/textual_plotext-1.0.1.tar.gz", hash = "sha256:836f53a3316756609e194129a35c2875638e7958c261f541e0a794f7c98011be", size = 16489 }
+sdist = { url = "https://files.pythonhosted.org/packages/9a/b0/e4e0f38df057db778252db0dd2c08522d7222b8537b6a0181d797b9044bd/textual_plotext-1.0.1.tar.gz", hash = "sha256:836f53a3316756609e194129a35c2875638e7958c261f541e0a794f7c98011be", size = 16489, upload-time = "2024-11-30T19:25:56.625Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/35/53/fba7da208f9d3f59254413660fa0aa6599f2aca806f3ae356670455fd4ea/textual_plotext-1.0.1-py3-none-any.whl", hash = "sha256:6b6bfd00b29f121ddf216eaaf9bdac9d688ed72f40028484d279a10cbbb169ed", size = 16558 },
+ { url = "https://files.pythonhosted.org/packages/35/53/fba7da208f9d3f59254413660fa0aa6599f2aca806f3ae356670455fd4ea/textual_plotext-1.0.1-py3-none-any.whl", hash = "sha256:6b6bfd00b29f121ddf216eaaf9bdac9d688ed72f40028484d279a10cbbb169ed", size = 16558, upload-time = "2024-11-30T19:25:32.208Z" },
]
[[package]]
name = "threadpoolctl"
version = "3.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/b7/4d/08c89e34946fce2aec4fbb45c9016efd5f4d7f24af8e5d93296e935631d8/threadpoolctl-3.6.0.tar.gz", hash = "sha256:8ab8b4aa3491d812b623328249fab5302a68d2d71745c8a4c719a2fcaba9f44e", size = 21274 }
+sdist = { url = "https://files.pythonhosted.org/packages/b7/4d/08c89e34946fce2aec4fbb45c9016efd5f4d7f24af8e5d93296e935631d8/threadpoolctl-3.6.0.tar.gz", hash = "sha256:8ab8b4aa3491d812b623328249fab5302a68d2d71745c8a4c719a2fcaba9f44e", size = 21274, upload-time = "2025-03-13T13:49:23.031Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638 },
+ { url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638, upload-time = "2025-03-13T13:49:21.846Z" },
]
[[package]]
@@ -5465,15 +5563,15 @@ dependencies = [
{ name = "regex" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/7d/ab/4d017d0f76ec3171d469d80fc03dfbb4e48a4bcaddaa831b31d526f05edc/tiktoken-0.12.0.tar.gz", hash = "sha256:b18ba7ee2b093863978fcb14f74b3707cdc8d4d4d3836853ce7ec60772139931", size = 37806 }
+sdist = { url = "https://files.pythonhosted.org/packages/7d/ab/4d017d0f76ec3171d469d80fc03dfbb4e48a4bcaddaa831b31d526f05edc/tiktoken-0.12.0.tar.gz", hash = "sha256:b18ba7ee2b093863978fcb14f74b3707cdc8d4d4d3836853ce7ec60772139931", size = 37806, upload-time = "2025-10-06T20:22:45.419Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/a4/85/be65d39d6b647c79800fd9d29241d081d4eeb06271f383bb87200d74cf76/tiktoken-0.12.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b97f74aca0d78a1ff21b8cd9e9925714c15a9236d6ceacf5c7327c117e6e21e8", size = 1050728 },
- { url = "https://files.pythonhosted.org/packages/4a/42/6573e9129bc55c9bf7300b3a35bef2c6b9117018acca0dc760ac2d93dffe/tiktoken-0.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2b90f5ad190a4bb7c3eb30c5fa32e1e182ca1ca79f05e49b448438c3e225a49b", size = 994049 },
- { url = "https://files.pythonhosted.org/packages/66/c5/ed88504d2f4a5fd6856990b230b56d85a777feab84e6129af0822f5d0f70/tiktoken-0.12.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:65b26c7a780e2139e73acc193e5c63ac754021f160df919add909c1492c0fb37", size = 1129008 },
- { url = "https://files.pythonhosted.org/packages/f4/90/3dae6cc5436137ebd38944d396b5849e167896fc2073da643a49f372dc4f/tiktoken-0.12.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:edde1ec917dfd21c1f2f8046b86348b0f54a2c0547f68149d8600859598769ad", size = 1152665 },
- { url = "https://files.pythonhosted.org/packages/a3/fe/26df24ce53ffde419a42f5f53d755b995c9318908288c17ec3f3448313a3/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:35a2f8ddd3824608b3d650a000c1ef71f730d0c56486845705a8248da00f9fe5", size = 1194230 },
- { url = "https://files.pythonhosted.org/packages/20/cc/b064cae1a0e9fac84b0d2c46b89f4e57051a5f41324e385d10225a984c24/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:83d16643edb7fa2c99eff2ab7733508aae1eebb03d5dfc46f5565862810f24e3", size = 1254688 },
- { url = "https://files.pythonhosted.org/packages/81/10/b8523105c590c5b8349f2587e2fdfe51a69544bd5a76295fc20f2374f470/tiktoken-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffc5288f34a8bc02e1ea7047b8d041104791d2ddbf42d1e5fa07822cbffe16bd", size = 878694 },
+ { url = "https://files.pythonhosted.org/packages/a4/85/be65d39d6b647c79800fd9d29241d081d4eeb06271f383bb87200d74cf76/tiktoken-0.12.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b97f74aca0d78a1ff21b8cd9e9925714c15a9236d6ceacf5c7327c117e6e21e8", size = 1050728, upload-time = "2025-10-06T20:21:52.756Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/42/6573e9129bc55c9bf7300b3a35bef2c6b9117018acca0dc760ac2d93dffe/tiktoken-0.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2b90f5ad190a4bb7c3eb30c5fa32e1e182ca1ca79f05e49b448438c3e225a49b", size = 994049, upload-time = "2025-10-06T20:21:53.782Z" },
+ { url = "https://files.pythonhosted.org/packages/66/c5/ed88504d2f4a5fd6856990b230b56d85a777feab84e6129af0822f5d0f70/tiktoken-0.12.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:65b26c7a780e2139e73acc193e5c63ac754021f160df919add909c1492c0fb37", size = 1129008, upload-time = "2025-10-06T20:21:54.832Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/90/3dae6cc5436137ebd38944d396b5849e167896fc2073da643a49f372dc4f/tiktoken-0.12.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:edde1ec917dfd21c1f2f8046b86348b0f54a2c0547f68149d8600859598769ad", size = 1152665, upload-time = "2025-10-06T20:21:56.129Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/fe/26df24ce53ffde419a42f5f53d755b995c9318908288c17ec3f3448313a3/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:35a2f8ddd3824608b3d650a000c1ef71f730d0c56486845705a8248da00f9fe5", size = 1194230, upload-time = "2025-10-06T20:21:57.546Z" },
+ { url = "https://files.pythonhosted.org/packages/20/cc/b064cae1a0e9fac84b0d2c46b89f4e57051a5f41324e385d10225a984c24/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:83d16643edb7fa2c99eff2ab7733508aae1eebb03d5dfc46f5565862810f24e3", size = 1254688, upload-time = "2025-10-06T20:21:58.619Z" },
+ { url = "https://files.pythonhosted.org/packages/81/10/b8523105c590c5b8349f2587e2fdfe51a69544bd5a76295fc20f2374f470/tiktoken-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffc5288f34a8bc02e1ea7047b8d041104791d2ddbf42d1e5fa07822cbffe16bd", size = 878694, upload-time = "2025-10-06T20:21:59.876Z" },
]
[[package]]
@@ -5490,18 +5588,18 @@ dependencies = [
{ name = "torchvision", version = "0.24.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
{ name = "torchvision", version = "0.24.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "platform_machine != 'aarch64' and sys_platform == 'linux'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c5/ba/3d5f3381dc291d21114e707b39791f483431361f61402483d9839b61350d/timm-0.9.16.tar.gz", hash = "sha256:891e54f375d55adf31a71ab0c117761f0e472f9f3971858ecdd1e7376b7071e6", size = 2121824 }
+sdist = { url = "https://files.pythonhosted.org/packages/c5/ba/3d5f3381dc291d21114e707b39791f483431361f61402483d9839b61350d/timm-0.9.16.tar.gz", hash = "sha256:891e54f375d55adf31a71ab0c117761f0e472f9f3971858ecdd1e7376b7071e6", size = 2121824, upload-time = "2024-02-19T19:33:45.468Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/68/99/2018622d268f6017ddfa5ee71f070bad5d07590374793166baa102849d17/timm-0.9.16-py3-none-any.whl", hash = "sha256:bf5704014476ab011589d3c14172ee4c901fd18f9110a928019cac5be2945914", size = 2249737 },
+ { url = "https://files.pythonhosted.org/packages/68/99/2018622d268f6017ddfa5ee71f070bad5d07590374793166baa102849d17/timm-0.9.16-py3-none-any.whl", hash = "sha256:bf5704014476ab011589d3c14172ee4c901fd18f9110a928019cac5be2945914", size = 2249737, upload-time = "2024-02-19T19:33:42.542Z" },
]
[[package]]
name = "tinytag"
version = "2.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/98/07/fb260bac73119f369a10e884016516d07cd760b5068e703773f83dd5e7bf/tinytag-2.2.0.tar.gz", hash = "sha256:f15b082510f6e0fc717e597edc8759d6f2d3ff6194ac0f3bcd675a9a09d9b798", size = 38120 }
+sdist = { url = "https://files.pythonhosted.org/packages/98/07/fb260bac73119f369a10e884016516d07cd760b5068e703773f83dd5e7bf/tinytag-2.2.0.tar.gz", hash = "sha256:f15b082510f6e0fc717e597edc8759d6f2d3ff6194ac0f3bcd675a9a09d9b798", size = 38120, upload-time = "2025-12-15T21:10:19.093Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b1/e2/9818fcebb348237389d2ac2fea97cf2b2638378a0866105a45ae9be49728/tinytag-2.2.0-py3-none-any.whl", hash = "sha256:d2cf3ef8ee0f6c854663f77d9d5f8159ee1c834c70f5ea4f214ddc4af8148f79", size = 32861 },
+ { url = "https://files.pythonhosted.org/packages/b1/e2/9818fcebb348237389d2ac2fea97cf2b2638378a0866105a45ae9be49728/tinytag-2.2.0-py3-none-any.whl", hash = "sha256:d2cf3ef8ee0f6c854663f77d9d5f8159ee1c834c70f5ea4f214ddc4af8148f79", size = 32861, upload-time = "2025-12-15T21:10:17.63Z" },
]
[[package]]
@@ -5511,68 +5609,68 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "huggingface-hub" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/73/6f/f80cfef4a312e1fb34baf7d85c72d4411afde10978d4657f8cdd811d3ccc/tokenizers-0.22.2.tar.gz", hash = "sha256:473b83b915e547aa366d1eee11806deaf419e17be16310ac0a14077f1e28f917", size = 372115 }
+sdist = { url = "https://files.pythonhosted.org/packages/73/6f/f80cfef4a312e1fb34baf7d85c72d4411afde10978d4657f8cdd811d3ccc/tokenizers-0.22.2.tar.gz", hash = "sha256:473b83b915e547aa366d1eee11806deaf419e17be16310ac0a14077f1e28f917", size = 372115, upload-time = "2026-01-05T10:45:15.988Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/92/97/5dbfabf04c7e348e655e907ed27913e03db0923abb5dfdd120d7b25630e1/tokenizers-0.22.2-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:544dd704ae7238755d790de45ba8da072e9af3eea688f698b137915ae959281c", size = 3100275 },
- { url = "https://files.pythonhosted.org/packages/2e/47/174dca0502ef88b28f1c9e06b73ce33500eedfac7a7692108aec220464e7/tokenizers-0.22.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:1e418a55456beedca4621dbab65a318981467a2b188e982a23e117f115ce5001", size = 2981472 },
- { url = "https://files.pythonhosted.org/packages/d6/84/7990e799f1309a8b87af6b948f31edaa12a3ed22d11b352eaf4f4b2e5753/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2249487018adec45d6e3554c71d46eb39fa8ea67156c640f7513eb26f318cec7", size = 3290736 },
- { url = "https://files.pythonhosted.org/packages/78/59/09d0d9ba94dcd5f4f1368d4858d24546b4bdc0231c2354aa31d6199f0399/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25b85325d0815e86e0bac263506dd114578953b7b53d7de09a6485e4a160a7dd", size = 3168835 },
- { url = "https://files.pythonhosted.org/packages/47/50/b3ebb4243e7160bda8d34b731e54dd8ab8b133e50775872e7a434e524c28/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bfb88f22a209ff7b40a576d5324bf8286b519d7358663db21d6246fb17eea2d5", size = 3521673 },
- { url = "https://files.pythonhosted.org/packages/e0/fa/89f4cb9e08df770b57adb96f8cbb7e22695a4cb6c2bd5f0c4f0ebcf33b66/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c774b1276f71e1ef716e5486f21e76333464f47bece56bbd554485982a9e03e", size = 3724818 },
- { url = "https://files.pythonhosted.org/packages/64/04/ca2363f0bfbe3b3d36e95bf67e56a4c88c8e3362b658e616d1ac185d47f2/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df6c4265b289083bf710dff49bc51ef252f9d5be33a45ee2bed151114a56207b", size = 3379195 },
- { url = "https://files.pythonhosted.org/packages/2e/76/932be4b50ef6ccedf9d3c6639b056a967a86258c6d9200643f01269211ca/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:369cc9fc8cc10cb24143873a0d95438bb8ee257bb80c71989e3ee290e8d72c67", size = 3274982 },
- { url = "https://files.pythonhosted.org/packages/1d/28/5f9f5a4cc211b69e89420980e483831bcc29dade307955cc9dc858a40f01/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:29c30b83d8dcd061078b05ae0cb94d3c710555fbb44861139f9f83dcca3dc3e4", size = 9478245 },
- { url = "https://files.pythonhosted.org/packages/6c/fb/66e2da4704d6aadebf8cb39f1d6d1957df667ab24cff2326b77cda0dcb85/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:37ae80a28c1d3265bb1f22464c856bd23c02a05bb211e56d0c5301a435be6c1a", size = 9560069 },
- { url = "https://files.pythonhosted.org/packages/16/04/fed398b05caa87ce9b1a1bb5166645e38196081b225059a6edaff6440fac/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:791135ee325f2336f498590eb2f11dc5c295232f288e75c99a36c5dbce63088a", size = 9899263 },
- { url = "https://files.pythonhosted.org/packages/05/a1/d62dfe7376beaaf1394917e0f8e93ee5f67fea8fcf4107501db35996586b/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:38337540fbbddff8e999d59970f3c6f35a82de10053206a7562f1ea02d046fa5", size = 10033429 },
- { url = "https://files.pythonhosted.org/packages/fd/18/a545c4ea42af3df6effd7d13d250ba77a0a86fb20393143bbb9a92e434d4/tokenizers-0.22.2-cp39-abi3-win32.whl", hash = "sha256:a6bf3f88c554a2b653af81f3204491c818ae2ac6fbc09e76ef4773351292bc92", size = 2502363 },
- { url = "https://files.pythonhosted.org/packages/65/71/0670843133a43d43070abeb1949abfdef12a86d490bea9cd9e18e37c5ff7/tokenizers-0.22.2-cp39-abi3-win_amd64.whl", hash = "sha256:c9ea31edff2968b44a88f97d784c2f16dc0729b8b143ed004699ebca91f05c48", size = 2747786 },
- { url = "https://files.pythonhosted.org/packages/72/f4/0de46cfa12cdcbcd464cc59fde36912af405696f687e53a091fb432f694c/tokenizers-0.22.2-cp39-abi3-win_arm64.whl", hash = "sha256:9ce725d22864a1e965217204946f830c37876eee3b2ba6fc6255e8e903d5fcbc", size = 2612133 },
+ { url = "https://files.pythonhosted.org/packages/92/97/5dbfabf04c7e348e655e907ed27913e03db0923abb5dfdd120d7b25630e1/tokenizers-0.22.2-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:544dd704ae7238755d790de45ba8da072e9af3eea688f698b137915ae959281c", size = 3100275, upload-time = "2026-01-05T10:41:02.158Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/47/174dca0502ef88b28f1c9e06b73ce33500eedfac7a7692108aec220464e7/tokenizers-0.22.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:1e418a55456beedca4621dbab65a318981467a2b188e982a23e117f115ce5001", size = 2981472, upload-time = "2026-01-05T10:41:00.276Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/84/7990e799f1309a8b87af6b948f31edaa12a3ed22d11b352eaf4f4b2e5753/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2249487018adec45d6e3554c71d46eb39fa8ea67156c640f7513eb26f318cec7", size = 3290736, upload-time = "2026-01-05T10:40:32.165Z" },
+ { url = "https://files.pythonhosted.org/packages/78/59/09d0d9ba94dcd5f4f1368d4858d24546b4bdc0231c2354aa31d6199f0399/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25b85325d0815e86e0bac263506dd114578953b7b53d7de09a6485e4a160a7dd", size = 3168835, upload-time = "2026-01-05T10:40:38.847Z" },
+ { url = "https://files.pythonhosted.org/packages/47/50/b3ebb4243e7160bda8d34b731e54dd8ab8b133e50775872e7a434e524c28/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bfb88f22a209ff7b40a576d5324bf8286b519d7358663db21d6246fb17eea2d5", size = 3521673, upload-time = "2026-01-05T10:40:56.614Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/fa/89f4cb9e08df770b57adb96f8cbb7e22695a4cb6c2bd5f0c4f0ebcf33b66/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c774b1276f71e1ef716e5486f21e76333464f47bece56bbd554485982a9e03e", size = 3724818, upload-time = "2026-01-05T10:40:44.507Z" },
+ { url = "https://files.pythonhosted.org/packages/64/04/ca2363f0bfbe3b3d36e95bf67e56a4c88c8e3362b658e616d1ac185d47f2/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df6c4265b289083bf710dff49bc51ef252f9d5be33a45ee2bed151114a56207b", size = 3379195, upload-time = "2026-01-05T10:40:51.139Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/76/932be4b50ef6ccedf9d3c6639b056a967a86258c6d9200643f01269211ca/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:369cc9fc8cc10cb24143873a0d95438bb8ee257bb80c71989e3ee290e8d72c67", size = 3274982, upload-time = "2026-01-05T10:40:58.331Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/28/5f9f5a4cc211b69e89420980e483831bcc29dade307955cc9dc858a40f01/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:29c30b83d8dcd061078b05ae0cb94d3c710555fbb44861139f9f83dcca3dc3e4", size = 9478245, upload-time = "2026-01-05T10:41:04.053Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/fb/66e2da4704d6aadebf8cb39f1d6d1957df667ab24cff2326b77cda0dcb85/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:37ae80a28c1d3265bb1f22464c856bd23c02a05bb211e56d0c5301a435be6c1a", size = 9560069, upload-time = "2026-01-05T10:45:10.673Z" },
+ { url = "https://files.pythonhosted.org/packages/16/04/fed398b05caa87ce9b1a1bb5166645e38196081b225059a6edaff6440fac/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:791135ee325f2336f498590eb2f11dc5c295232f288e75c99a36c5dbce63088a", size = 9899263, upload-time = "2026-01-05T10:45:12.559Z" },
+ { url = "https://files.pythonhosted.org/packages/05/a1/d62dfe7376beaaf1394917e0f8e93ee5f67fea8fcf4107501db35996586b/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:38337540fbbddff8e999d59970f3c6f35a82de10053206a7562f1ea02d046fa5", size = 10033429, upload-time = "2026-01-05T10:45:14.333Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/18/a545c4ea42af3df6effd7d13d250ba77a0a86fb20393143bbb9a92e434d4/tokenizers-0.22.2-cp39-abi3-win32.whl", hash = "sha256:a6bf3f88c554a2b653af81f3204491c818ae2ac6fbc09e76ef4773351292bc92", size = 2502363, upload-time = "2026-01-05T10:45:20.593Z" },
+ { url = "https://files.pythonhosted.org/packages/65/71/0670843133a43d43070abeb1949abfdef12a86d490bea9cd9e18e37c5ff7/tokenizers-0.22.2-cp39-abi3-win_amd64.whl", hash = "sha256:c9ea31edff2968b44a88f97d784c2f16dc0729b8b143ed004699ebca91f05c48", size = 2747786, upload-time = "2026-01-05T10:45:18.411Z" },
+ { url = "https://files.pythonhosted.org/packages/72/f4/0de46cfa12cdcbcd464cc59fde36912af405696f687e53a091fb432f694c/tokenizers-0.22.2-cp39-abi3-win_arm64.whl", hash = "sha256:9ce725d22864a1e965217204946f830c37876eee3b2ba6fc6255e8e903d5fcbc", size = 2612133, upload-time = "2026-01-05T10:45:17.232Z" },
]
[[package]]
name = "toml"
version = "0.10.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f", size = 22253 }
+sdist = { url = "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f", size = 22253, upload-time = "2020-11-01T01:40:22.204Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588 },
+ { url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588, upload-time = "2020-11-01T01:40:20.672Z" },
]
[[package]]
name = "tomli"
version = "2.4.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/82/30/31573e9457673ab10aa432461bee537ce6cef177667deca369efb79df071/tomli-2.4.0.tar.gz", hash = "sha256:aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c", size = 17477 }
+sdist = { url = "https://files.pythonhosted.org/packages/82/30/31573e9457673ab10aa432461bee537ce6cef177667deca369efb79df071/tomli-2.4.0.tar.gz", hash = "sha256:aa89c3f6c277dd275d8e243ad24f3b5e701491a860d5121f2cdd399fbb31fc9c", size = 17477, upload-time = "2026-01-11T11:22:38.165Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3c/43/7389a1869f2f26dba52404e1ef13b4784b6b37dac93bac53457e3ff24ca3/tomli-2.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:920b1de295e72887bafa3ad9f7a792f811847d57ea6b1215154030cf131f16b1", size = 154894 },
- { url = "https://files.pythonhosted.org/packages/e9/05/2f9bf110b5294132b2edf13fe6ca6ae456204f3d749f623307cbb7a946f2/tomli-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6d9a4aee98fac3eab4952ad1d73aee87359452d1c086b5ceb43ed02ddb16b8", size = 149053 },
- { url = "https://files.pythonhosted.org/packages/e8/41/1eda3ca1abc6f6154a8db4d714a4d35c4ad90adc0bcf700657291593fbf3/tomli-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36b9d05b51e65b254ea6c2585b59d2c4cb91c8a3d91d0ed0f17591a29aaea54a", size = 243481 },
- { url = "https://files.pythonhosted.org/packages/d2/6d/02ff5ab6c8868b41e7d4b987ce2b5f6a51d3335a70aa144edd999e055a01/tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c8a885b370751837c029ef9bc014f27d80840e48bac415f3412e6593bbc18c1", size = 251720 },
- { url = "https://files.pythonhosted.org/packages/7b/57/0405c59a909c45d5b6f146107c6d997825aa87568b042042f7a9c0afed34/tomli-2.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8768715ffc41f0008abe25d808c20c3d990f42b6e2e58305d5da280ae7d1fa3b", size = 247014 },
- { url = "https://files.pythonhosted.org/packages/2c/0e/2e37568edd944b4165735687cbaf2fe3648129e440c26d02223672ee0630/tomli-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b438885858efd5be02a9a133caf5812b8776ee0c969fea02c45e8e3f296ba51", size = 251820 },
- { url = "https://files.pythonhosted.org/packages/5a/1c/ee3b707fdac82aeeb92d1a113f803cf6d0f37bdca0849cb489553e1f417a/tomli-2.4.0-cp312-cp312-win32.whl", hash = "sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729", size = 97712 },
- { url = "https://files.pythonhosted.org/packages/69/13/c07a9177d0b3bab7913299b9278845fc6eaaca14a02667c6be0b0a2270c8/tomli-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:685306e2cc7da35be4ee914fd34ab801a6acacb061b6a7abca922aaf9ad368da", size = 108296 },
- { url = "https://files.pythonhosted.org/packages/18/27/e267a60bbeeee343bcc279bb9e8fbed0cbe224bc7b2a3dc2975f22809a09/tomli-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:5aa48d7c2356055feef06a43611fc401a07337d5b006be13a30f6c58f869e3c3", size = 94553 },
- { url = "https://files.pythonhosted.org/packages/23/d1/136eb2cb77520a31e1f64cbae9d33ec6df0d78bdf4160398e86eec8a8754/tomli-2.4.0-py3-none-any.whl", hash = "sha256:1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a", size = 14477 },
+ { url = "https://files.pythonhosted.org/packages/3c/43/7389a1869f2f26dba52404e1ef13b4784b6b37dac93bac53457e3ff24ca3/tomli-2.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:920b1de295e72887bafa3ad9f7a792f811847d57ea6b1215154030cf131f16b1", size = 154894, upload-time = "2026-01-11T11:21:56.07Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/05/2f9bf110b5294132b2edf13fe6ca6ae456204f3d749f623307cbb7a946f2/tomli-2.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7d6d9a4aee98fac3eab4952ad1d73aee87359452d1c086b5ceb43ed02ddb16b8", size = 149053, upload-time = "2026-01-11T11:21:57.467Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/41/1eda3ca1abc6f6154a8db4d714a4d35c4ad90adc0bcf700657291593fbf3/tomli-2.4.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36b9d05b51e65b254ea6c2585b59d2c4cb91c8a3d91d0ed0f17591a29aaea54a", size = 243481, upload-time = "2026-01-11T11:21:58.661Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/6d/02ff5ab6c8868b41e7d4b987ce2b5f6a51d3335a70aa144edd999e055a01/tomli-2.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c8a885b370751837c029ef9bc014f27d80840e48bac415f3412e6593bbc18c1", size = 251720, upload-time = "2026-01-11T11:22:00.178Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/57/0405c59a909c45d5b6f146107c6d997825aa87568b042042f7a9c0afed34/tomli-2.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8768715ffc41f0008abe25d808c20c3d990f42b6e2e58305d5da280ae7d1fa3b", size = 247014, upload-time = "2026-01-11T11:22:01.238Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/0e/2e37568edd944b4165735687cbaf2fe3648129e440c26d02223672ee0630/tomli-2.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b438885858efd5be02a9a133caf5812b8776ee0c969fea02c45e8e3f296ba51", size = 251820, upload-time = "2026-01-11T11:22:02.727Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/1c/ee3b707fdac82aeeb92d1a113f803cf6d0f37bdca0849cb489553e1f417a/tomli-2.4.0-cp312-cp312-win32.whl", hash = "sha256:0408e3de5ec77cc7f81960c362543cbbd91ef883e3138e81b729fc3eea5b9729", size = 97712, upload-time = "2026-01-11T11:22:03.777Z" },
+ { url = "https://files.pythonhosted.org/packages/69/13/c07a9177d0b3bab7913299b9278845fc6eaaca14a02667c6be0b0a2270c8/tomli-2.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:685306e2cc7da35be4ee914fd34ab801a6acacb061b6a7abca922aaf9ad368da", size = 108296, upload-time = "2026-01-11T11:22:04.86Z" },
+ { url = "https://files.pythonhosted.org/packages/18/27/e267a60bbeeee343bcc279bb9e8fbed0cbe224bc7b2a3dc2975f22809a09/tomli-2.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:5aa48d7c2356055feef06a43611fc401a07337d5b006be13a30f6c58f869e3c3", size = 94553, upload-time = "2026-01-11T11:22:05.854Z" },
+ { url = "https://files.pythonhosted.org/packages/23/d1/136eb2cb77520a31e1f64cbae9d33ec6df0d78bdf4160398e86eec8a8754/tomli-2.4.0-py3-none-any.whl", hash = "sha256:1f776e7d669ebceb01dee46484485f43a4048746235e683bcdffacdf1fb4785a", size = 14477, upload-time = "2026-01-11T11:22:37.446Z" },
]
[[package]]
name = "tomli-w"
version = "1.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/19/75/241269d1da26b624c0d5e110e8149093c759b7a286138f4efd61a60e75fe/tomli_w-1.2.0.tar.gz", hash = "sha256:2dd14fac5a47c27be9cd4c976af5a12d87fb1f0b4512f81d69cce3b35ae25021", size = 7184 }
+sdist = { url = "https://files.pythonhosted.org/packages/19/75/241269d1da26b624c0d5e110e8149093c759b7a286138f4efd61a60e75fe/tomli_w-1.2.0.tar.gz", hash = "sha256:2dd14fac5a47c27be9cd4c976af5a12d87fb1f0b4512f81d69cce3b35ae25021", size = 7184, upload-time = "2025-01-15T12:07:24.262Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c7/18/c86eb8e0202e32dd3df50d43d7ff9854f8e0603945ff398974c1d91ac1ef/tomli_w-1.2.0-py3-none-any.whl", hash = "sha256:188306098d013b691fcadc011abd66727d3c414c571bb01b1a174ba8c983cf90", size = 6675 },
+ { url = "https://files.pythonhosted.org/packages/c7/18/c86eb8e0202e32dd3df50d43d7ff9854f8e0603945ff398974c1d91ac1ef/tomli_w-1.2.0-py3-none-any.whl", hash = "sha256:188306098d013b691fcadc011abd66727d3c414c571bb01b1a174ba8c983cf90", size = 6675, upload-time = "2025-01-15T12:07:22.074Z" },
]
[[package]]
name = "tomlkit"
version = "0.14.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/c3/af/14b24e41977adb296d6bd1fb59402cf7d60ce364f90c890bd2ec65c43b5a/tomlkit-0.14.0.tar.gz", hash = "sha256:cf00efca415dbd57575befb1f6634c4f42d2d87dbba376128adb42c121b87064", size = 187167 }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/af/14b24e41977adb296d6bd1fb59402cf7d60ce364f90c890bd2ec65c43b5a/tomlkit-0.14.0.tar.gz", hash = "sha256:cf00efca415dbd57575befb1f6634c4f42d2d87dbba376128adb42c121b87064", size = 187167, upload-time = "2026-01-13T01:14:53.304Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b5/11/87d6d29fb5d237229d67973a6c9e06e048f01cf4994dee194ab0ea841814/tomlkit-0.14.0-py3-none-any.whl", hash = "sha256:592064ed85b40fa213469f81ac584f67a4f2992509a7c3ea2d632208623a3680", size = 39310 },
+ { url = "https://files.pythonhosted.org/packages/b5/11/87d6d29fb5d237229d67973a6c9e06e048f01cf4994dee194ab0ea841814/tomlkit-0.14.0-py3-none-any.whl", hash = "sha256:592064ed85b40fa213469f81ac584f67a4f2992509a7c3ea2d632208623a3680", size = 39310, upload-time = "2026-01-13T01:14:51.965Z" },
]
[[package]]
@@ -5592,8 +5690,8 @@ dependencies = [
{ name = "typing-extensions", marker = "sys_platform != 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/b1/1a/64f5769025db846a82567fa5b7d21dba4558a7234ee631712ee4771c436c/torch-2.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:81a285002d7b8cfd3fdf1b98aa8df138d41f1a8334fd9ea37511517cedf43083", size = 110940568 },
- { url = "https://files.pythonhosted.org/packages/6e/ab/07739fd776618e5882661d04c43f5b5586323e2f6a2d7d84aac20d8f20bd/torch-2.9.1-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:c0d25d1d8e531b8343bea0ed811d5d528958f1dcbd37e7245bc686273177ad7e", size = 74479191 },
+ { url = "https://files.pythonhosted.org/packages/b1/1a/64f5769025db846a82567fa5b7d21dba4558a7234ee631712ee4771c436c/torch-2.9.1-cp312-cp312-win_amd64.whl", hash = "sha256:81a285002d7b8cfd3fdf1b98aa8df138d41f1a8334fd9ea37511517cedf43083", size = 110940568, upload-time = "2025-11-12T15:21:18.689Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/ab/07739fd776618e5882661d04c43f5b5586323e2f6a2d7d84aac20d8f20bd/torch-2.9.1-cp312-none-macosx_11_0_arm64.whl", hash = "sha256:c0d25d1d8e531b8343bea0ed811d5d528958f1dcbd37e7245bc686273177ad7e", size = 74479191, upload-time = "2025-11-12T15:21:25.816Z" },
]
[[package]]
@@ -5631,8 +5729,8 @@ dependencies = [
{ name = "typing-extensions", marker = "sys_platform == 'linux'" },
]
wheels = [
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:1176f250311fa95cc3bca8077af323e0d73ea385ba266e096af82e7e2b91f256" },
- { url = "https://download.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7cb4018f4ce68b61fd3ef87dc1c4ca520731c7b5b200e360ad47b612d7844063" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:1176f250311fa95cc3bca8077af323e0d73ea385ba266e096af82e7e2b91f256" },
+ { url = "https://download-r2.pytorch.org/whl/cu128/torch-2.9.1%2Bcu128-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:7cb4018f4ce68b61fd3ef87dc1c4ca520731c7b5b200e360ad47b612d7844063" },
]
[[package]]
@@ -5665,8 +5763,8 @@ dependencies = [
{ name = "torch", version = "2.9.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'linux'" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/f0/af/18e2c6b9538a045f60718a0c5a058908ccb24f88fde8e6f0fc12d5ff7bd3/torchvision-0.24.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e48bf6a8ec95872eb45763f06499f87bd2fb246b9b96cb00aae260fda2f96193", size = 1891433 },
- { url = "https://files.pythonhosted.org/packages/69/98/16e583f59f86cd59949f59d52bfa8fc286f86341a229a9d15cbe7a694f0c/torchvision-0.24.1-cp312-cp312-win_amd64.whl", hash = "sha256:4aa6cb806eb8541e92c9b313e96192c6b826e9eb0042720e2fa250d021079952", size = 4302006 },
+ { url = "https://files.pythonhosted.org/packages/f0/af/18e2c6b9538a045f60718a0c5a058908ccb24f88fde8e6f0fc12d5ff7bd3/torchvision-0.24.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e48bf6a8ec95872eb45763f06499f87bd2fb246b9b96cb00aae260fda2f96193", size = 1891433, upload-time = "2025-11-12T15:25:03.232Z" },
+ { url = "https://files.pythonhosted.org/packages/69/98/16e583f59f86cd59949f59d52bfa8fc286f86341a229a9d15cbe7a694f0c/torchvision-0.24.1-cp312-cp312-win_amd64.whl", hash = "sha256:4aa6cb806eb8541e92c9b313e96192c6b826e9eb0042720e2fa250d021079952", size = 4302006, upload-time = "2025-11-12T15:25:16.184Z" },
]
[[package]]
@@ -5687,21 +5785,19 @@ wheels = [
[[package]]
name = "tornado"
-version = "6.5.4"
+version = "6.5.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/37/1d/0a336abf618272d53f62ebe274f712e213f5a03c0b2339575430b8362ef2/tornado-6.5.4.tar.gz", hash = "sha256:a22fa9047405d03260b483980635f0b041989d8bcc9a313f8fe18b411d84b1d7", size = 513632 }
+sdist = { url = "https://files.pythonhosted.org/packages/f8/f1/3173dfa4a18db4a9b03e5d55325559dab51ee653763bb8745a75af491286/tornado-6.5.5.tar.gz", hash = "sha256:192b8f3ea91bd7f1f50c06955416ed76c6b72f96779b962f07f911b91e8d30e9", size = 516006, upload-time = "2026-03-10T21:31:02.067Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/ab/a9/e94a9d5224107d7ce3cc1fab8d5dc97f5ea351ccc6322ee4fb661da94e35/tornado-6.5.4-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:d6241c1a16b1c9e4cc28148b1cda97dd1c6cb4fb7068ac1bedc610768dff0ba9", size = 443909 },
- { url = "https://files.pythonhosted.org/packages/db/7e/f7b8d8c4453f305a51f80dbb49014257bb7d28ccb4bbb8dd328ea995ecad/tornado-6.5.4-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:2d50f63dda1d2cac3ae1fa23d254e16b5e38153758470e9956cbc3d813d40843", size = 442163 },
- { url = "https://files.pythonhosted.org/packages/ba/b5/206f82d51e1bfa940ba366a8d2f83904b15942c45a78dd978b599870ab44/tornado-6.5.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d1cf66105dc6acb5af613c054955b8137e34a03698aa53272dbda4afe252be17", size = 445746 },
- { url = "https://files.pythonhosted.org/packages/8e/9d/1a3338e0bd30ada6ad4356c13a0a6c35fbc859063fa7eddb309183364ac1/tornado-6.5.4-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:50ff0a58b0dc97939d29da29cd624da010e7f804746621c78d14b80238669335", size = 445083 },
- { url = "https://files.pythonhosted.org/packages/50/d4/e51d52047e7eb9a582da59f32125d17c0482d065afd5d3bc435ff2120dc5/tornado-6.5.4-cp39-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e5fb5e04efa54cf0baabdd10061eb4148e0be137166146fff835745f59ab9f7f", size = 445315 },
- { url = "https://files.pythonhosted.org/packages/27/07/2273972f69ca63dbc139694a3fc4684edec3ea3f9efabf77ed32483b875c/tornado-6.5.4-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:9c86b1643b33a4cd415f8d0fe53045f913bf07b4a3ef646b735a6a86047dda84", size = 446003 },
- { url = "https://files.pythonhosted.org/packages/d1/83/41c52e47502bf7260044413b6770d1a48dda2f0246f95ee1384a3cd9c44a/tornado-6.5.4-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:6eb82872335a53dd063a4f10917b3efd28270b56a33db69009606a0312660a6f", size = 445412 },
- { url = "https://files.pythonhosted.org/packages/10/c7/bc96917f06cbee182d44735d4ecde9c432e25b84f4c2086143013e7b9e52/tornado-6.5.4-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:6076d5dda368c9328ff41ab5d9dd3608e695e8225d1cd0fd1e006f05da3635a8", size = 445392 },
- { url = "https://files.pythonhosted.org/packages/0c/1a/d7592328d037d36f2d2462f4bc1fbb383eec9278bc786c1b111cbbd44cfa/tornado-6.5.4-cp39-abi3-win32.whl", hash = "sha256:1768110f2411d5cd281bac0a090f707223ce77fd110424361092859e089b38d1", size = 446481 },
- { url = "https://files.pythonhosted.org/packages/d6/6d/c69be695a0a64fd37a97db12355a035a6d90f79067a3cf936ec2b1dc38cd/tornado-6.5.4-cp39-abi3-win_amd64.whl", hash = "sha256:fa07d31e0cd85c60713f2b995da613588aa03e1303d75705dca6af8babc18ddc", size = 446886 },
- { url = "https://files.pythonhosted.org/packages/50/49/8dc3fd90902f70084bd2cd059d576ddb4f8bb44c2c7c0e33a11422acb17e/tornado-6.5.4-cp39-abi3-win_arm64.whl", hash = "sha256:053e6e16701eb6cbe641f308f4c1a9541f91b6261991160391bfc342e8a551a1", size = 445910 },
+ { url = "https://files.pythonhosted.org/packages/59/8c/77f5097695f4dd8255ecbd08b2a1ed8ba8b953d337804dd7080f199e12bf/tornado-6.5.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:487dc9cc380e29f58c7ab88f9e27cdeef04b2140862e5076a66fb6bb68bb1bfa", size = 445983, upload-time = "2026-03-10T21:30:44.28Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/5e/7625b76cd10f98f1516c36ce0346de62061156352353ef2da44e5c21523c/tornado-6.5.5-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:65a7f1d46d4bb41df1ac99f5fcb685fb25c7e61613742d5108b010975a9a6521", size = 444246, upload-time = "2026-03-10T21:30:46.571Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/04/7b5705d5b3c0fab088f434f9c83edac1573830ca49ccf29fb83bf7178eec/tornado-6.5.5-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e74c92e8e65086b338fd56333fb9a68b9f6f2fe7ad532645a290a464bcf46be5", size = 447229, upload-time = "2026-03-10T21:30:48.273Z" },
+ { url = "https://files.pythonhosted.org/packages/34/01/74e034a30ef59afb4097ef8659515e96a39d910b712a89af76f5e4e1f93c/tornado-6.5.5-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:435319e9e340276428bbdb4e7fa732c2d399386d1de5686cb331ec8eee754f07", size = 448192, upload-time = "2026-03-10T21:30:51.22Z" },
+ { url = "https://files.pythonhosted.org/packages/be/00/fe9e02c5a96429fce1a1d15a517f5d8444f9c412e0bb9eadfbe3b0fc55bf/tornado-6.5.5-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:3f54aa540bdbfee7b9eb268ead60e7d199de5021facd276819c193c0fb28ea4e", size = 448039, upload-time = "2026-03-10T21:30:53.52Z" },
+ { url = "https://files.pythonhosted.org/packages/82/9e/656ee4cec0398b1d18d0f1eb6372c41c6b889722641d84948351ae19556d/tornado-6.5.5-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:36abed1754faeb80fbd6e64db2758091e1320f6bba74a4cf8c09cd18ccce8aca", size = 447445, upload-time = "2026-03-10T21:30:55.541Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/76/4921c00511f88af86a33de770d64141170f1cfd9c00311aea689949e274e/tornado-6.5.5-cp39-abi3-win32.whl", hash = "sha256:dd3eafaaeec1c7f2f8fdcd5f964e8907ad788fe8a5a32c4426fbbdda621223b7", size = 448582, upload-time = "2026-03-10T21:30:57.142Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/23/f6c6112a04d28eed765e374435fb1a9198f73e1ec4b4024184f21faeb1ad/tornado-6.5.5-cp39-abi3-win_amd64.whl", hash = "sha256:6443a794ba961a9f619b1ae926a2e900ac20c34483eea67be4ed8f1e58d3ef7b", size = 448990, upload-time = "2026-03-10T21:30:58.857Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/c8/876602cbc96469911f0939f703453c1157b0c826ecb05bdd32e023397d4e/tornado-6.5.5-cp39-abi3-win_arm64.whl", hash = "sha256:2c9a876e094109333f888539ddb2de4361743e5d21eece20688e3e351e4990a6", size = 448016, upload-time = "2026-03-10T21:31:00.43Z" },
]
[[package]]
@@ -5711,18 +5807,18 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/09/a9/6ba95a270c6f1fbcd8dac228323f2777d886cb206987444e4bce66338dd4/tqdm-4.67.3.tar.gz", hash = "sha256:7d825f03f89244ef73f1d4ce193cb1774a8179fd96f31d7e1dcde62092b960bb", size = 169598 }
+sdist = { url = "https://files.pythonhosted.org/packages/09/a9/6ba95a270c6f1fbcd8dac228323f2777d886cb206987444e4bce66338dd4/tqdm-4.67.3.tar.gz", hash = "sha256:7d825f03f89244ef73f1d4ce193cb1774a8179fd96f31d7e1dcde62092b960bb", size = 169598, upload-time = "2026-02-03T17:35:53.048Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/16/e1/3079a9ff9b8e11b846c6ac5c8b5bfb7ff225eee721825310c91b3b50304f/tqdm-4.67.3-py3-none-any.whl", hash = "sha256:ee1e4c0e59148062281c49d80b25b67771a127c85fc9676d3be5f243206826bf", size = 78374 },
+ { url = "https://files.pythonhosted.org/packages/16/e1/3079a9ff9b8e11b846c6ac5c8b5bfb7ff225eee721825310c91b3b50304f/tqdm-4.67.3-py3-none-any.whl", hash = "sha256:ee1e4c0e59148062281c49d80b25b67771a127c85fc9676d3be5f243206826bf", size = 78374, upload-time = "2026-02-03T17:35:50.982Z" },
]
[[package]]
name = "traitlets"
version = "5.14.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/eb/79/72064e6a701c2183016abbbfedaba506d81e30e232a68c9f0d6f6fcd1574/traitlets-5.14.3.tar.gz", hash = "sha256:9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b96b6b7", size = 161621 }
+sdist = { url = "https://files.pythonhosted.org/packages/eb/79/72064e6a701c2183016abbbfedaba506d81e30e232a68c9f0d6f6fcd1574/traitlets-5.14.3.tar.gz", hash = "sha256:9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b96b6b7", size = 161621, upload-time = "2024-04-19T11:11:49.746Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359 },
+ { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359, upload-time = "2024-04-19T11:11:46.763Z" },
]
[[package]]
@@ -5741,9 +5837,9 @@ dependencies = [
{ name = "tokenizers" },
{ name = "tqdm" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c4/35/67252acc1b929dc88b6602e8c4a982e64f31e733b804c14bc24b47da35e6/transformers-4.57.6.tar.gz", hash = "sha256:55e44126ece9dc0a291521b7e5492b572e6ef2766338a610b9ab5afbb70689d3", size = 10134912 }
+sdist = { url = "https://files.pythonhosted.org/packages/c4/35/67252acc1b929dc88b6602e8c4a982e64f31e733b804c14bc24b47da35e6/transformers-4.57.6.tar.gz", hash = "sha256:55e44126ece9dc0a291521b7e5492b572e6ef2766338a610b9ab5afbb70689d3", size = 10134912, upload-time = "2026-01-16T10:38:39.284Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/03/b8/e484ef633af3887baeeb4b6ad12743363af7cce68ae51e938e00aaa0529d/transformers-4.57.6-py3-none-any.whl", hash = "sha256:4c9e9de11333ddfe5114bc872c9f370509198acf0b87a832a0ab9458e2bd0550", size = 11993498 },
+ { url = "https://files.pythonhosted.org/packages/03/b8/e484ef633af3887baeeb4b6ad12743363af7cce68ae51e938e00aaa0529d/transformers-4.57.6-py3-none-any.whl", hash = "sha256:4c9e9de11333ddfe5114bc872c9f370509198acf0b87a832a0ab9458e2bd0550", size = 11993498, upload-time = "2026-01-16T10:38:31.289Z" },
]
[package.optional-dependencies]
@@ -5765,9 +5861,9 @@ dependencies = [
{ name = "cbor" },
{ name = "numpy" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/d4/71/7b62e2e56de6cdf0c648f0033a9faa41b8f712bacd71968af96277185400/trec-car-tools-2.6.tar.gz", hash = "sha256:2fce2de120224fd569b151d5bed358a4ed334e643889b9e3dfe3e5a3d15d21c8", size = 7513 }
+sdist = { url = "https://files.pythonhosted.org/packages/d4/71/7b62e2e56de6cdf0c648f0033a9faa41b8f712bacd71968af96277185400/trec-car-tools-2.6.tar.gz", hash = "sha256:2fce2de120224fd569b151d5bed358a4ed334e643889b9e3dfe3e5a3d15d21c8", size = 7513, upload-time = "2022-02-01T16:37:20.451Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/36/75/661b406371f96622975eb25f9e70945d97fbe6b8e5af40342c59191962a3/trec_car_tools-2.6-py3-none-any.whl", hash = "sha256:e6f0373259e1c234222da7270ab54ca7af7a6f8d0dd32b13e158c1659d3991cf", size = 8414 },
+ { url = "https://files.pythonhosted.org/packages/36/75/661b406371f96622975eb25f9e70945d97fbe6b8e5af40342c59191962a3/trec_car_tools-2.6-py3-none-any.whl", hash = "sha256:e6f0373259e1c234222da7270ab54ca7af7a6f8d0dd32b13e158c1659d3991cf", size = 8414, upload-time = "2022-02-01T16:37:22.102Z" },
]
[[package]]
@@ -5775,32 +5871,32 @@ name = "triton"
version = "3.5.1"
source = { registry = "https://pypi.org/simple" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/db/53/2bcc46879910991f09c063eea07627baef2bc62fe725302ba8f46a2c1ae5/triton-3.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:275a045b6ed670dd1bd005c3e6c2d61846c74c66f4512d6f33cc027b11de8fd4", size = 159940689 },
- { url = "https://files.pythonhosted.org/packages/f2/50/9a8358d3ef58162c0a415d173cfb45b67de60176e1024f71fbc4d24c0b6d/triton-3.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d2c6b915a03888ab931a9fd3e55ba36785e1fe70cbea0b40c6ef93b20fc85232", size = 170470207 },
+ { url = "https://files.pythonhosted.org/packages/db/53/2bcc46879910991f09c063eea07627baef2bc62fe725302ba8f46a2c1ae5/triton-3.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:275a045b6ed670dd1bd005c3e6c2d61846c74c66f4512d6f33cc027b11de8fd4", size = 159940689, upload-time = "2025-11-11T17:51:55.938Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/50/9a8358d3ef58162c0a415d173cfb45b67de60176e1024f71fbc4d24c0b6d/triton-3.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d2c6b915a03888ab931a9fd3e55ba36785e1fe70cbea0b40c6ef93b20fc85232", size = 170470207, upload-time = "2025-11-11T17:41:00.253Z" },
]
[[package]]
name = "ty"
version = "0.0.21"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/ee/20/2ba8fd9493c89c41dfe9dbb73bc70a28b28028463bc0d2897ba8be36230a/ty-0.0.21.tar.gz", hash = "sha256:a4c2ba5d67d64df8fcdefd8b280ac1149d24a73dbda82fa953a0dff9d21400ed", size = 5297967 }
+sdist = { url = "https://files.pythonhosted.org/packages/ee/20/2ba8fd9493c89c41dfe9dbb73bc70a28b28028463bc0d2897ba8be36230a/ty-0.0.21.tar.gz", hash = "sha256:a4c2ba5d67d64df8fcdefd8b280ac1149d24a73dbda82fa953a0dff9d21400ed", size = 5297967, upload-time = "2026-03-06T01:57:13.809Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/36/70/edf38bb37517531681d1c37f5df64744e5ad02673c02eb48447eae4bea08/ty-0.0.21-py3-none-linux_armv6l.whl", hash = "sha256:7bdf2f572378de78e1f388d24691c89db51b7caf07cf90f2bfcc1d6b18b70a76", size = 10299222 },
- { url = "https://files.pythonhosted.org/packages/72/62/0047b0bd19afeefbc7286f20a5f78a2aa39f92b4d89853f0d7185ab89edc/ty-0.0.21-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:7e9613994610431ab8625025bd2880dbcb77c5c9fabdd21134cda12d840a529d", size = 10130513 },
- { url = "https://files.pythonhosted.org/packages/a2/20/0b93a9e91aaed23155780258cdfdb4726ef68b6985378ac069bc427291a0/ty-0.0.21-py3-none-macosx_11_0_arm64.whl", hash = "sha256:56d3b198b64dd0a19b2b66e257deaed2ecea568e722ae5352f3c6fb62027f89d", size = 9605425 },
- { url = "https://files.pythonhosted.org/packages/ea/fd/9945e2fa2996a1287b1e1d7ce050e97e1f420233b271e770934bfa0880a0/ty-0.0.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d23d2c34f7a77d974bb08f0860ef700addc8a683d81a0319f71c08f87506cfd0", size = 10108298 },
- { url = "https://files.pythonhosted.org/packages/52/e7/4ec52fcb15f3200826c9f048472c062549a05b0d1ef0b51f32d527b513c4/ty-0.0.21-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:56b01fd2519637a4ca88344f61c96225f540c98ff18bca321d4eaa7bb0f7aa2f", size = 10121556 },
- { url = "https://files.pythonhosted.org/packages/ee/c0/ad457be2a8abea0f25549598bd098554540ced66229488daa0d558dad3c8/ty-0.0.21-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e9de7e11c63c6afc40f3e9ba716374add171aee7fabc70b5146a510705c6d41b", size = 10603264 },
- { url = "https://files.pythonhosted.org/packages/f8/5b/2ecc7a2175243a4bcb72f5298ae41feabbb93b764bb0dc45722f3752c2c2/ty-0.0.21-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:62f7f5b235c4f7876db305c36997aea07b7af29b1a068f373d0e2547e25f32ff", size = 11196428 },
- { url = "https://files.pythonhosted.org/packages/37/f5/aff507d6a901f328ef96a298032b0c11aaaf950a146ed7dd3b5bf2cd3acf/ty-0.0.21-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ee8399f7c453a425291e6688efe430cfae7ab0ac4ffd50eba9f872bf878b54f6", size = 10866355 },
- { url = "https://files.pythonhosted.org/packages/be/30/822bbcb92d55b65989aa7ed06d9585f28ade9c9447369194ed4b0fb3b5b9/ty-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:210e7568c9f886c4d01308d751949ee714ad7ad9d7d928d2ba90d329dd880367", size = 10738177 },
- { url = "https://files.pythonhosted.org/packages/57/cc/46e7991b6469e93ac2c7e533a028983e402485580150ac864c56352a3a82/ty-0.0.21-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:53508e345b11569f78b21ba8e2b4e61df38a9754947fb3cd9f2ef574367338fb", size = 10079158 },
- { url = "https://files.pythonhosted.org/packages/15/c2/0bbdadfbd008240f8f1a87dc877433cb3884436097926107ccf06e618199/ty-0.0.21-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:553e43571f4a35604c36cfd07d8b61a5eb7a714e3c67f8c4ff2cf674fefbaef9", size = 10150535 },
- { url = "https://files.pythonhosted.org/packages/c5/b5/2dbdb7b57b5362200ef0a39738ebd31331726328336def0143ac097ee59d/ty-0.0.21-py3-none-musllinux_1_2_i686.whl", hash = "sha256:666f6822e3b9200abfa7e95eb0ddd576460adb8d66b550c0ad2c70abc84a2048", size = 10319803 },
- { url = "https://files.pythonhosted.org/packages/72/84/70e52c0b7abc7c2086f9876ef454a73b161d3125315536d8d7e911c94ca4/ty-0.0.21-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:a0854d008347ce4a5fb351af132f660a390ab2a1163444d075251d43e6f74b9b", size = 10826239 },
- { url = "https://files.pythonhosted.org/packages/a1/8a/1f72480fd013bbc6cd1929002abbbcde9a0b08ead6a15154de9d7f7fa37e/ty-0.0.21-py3-none-win32.whl", hash = "sha256:bef3ab4c7b966bcc276a8ac6c11b63ba222d21355b48d471ea782c4104eee4e0", size = 9693196 },
- { url = "https://files.pythonhosted.org/packages/8d/f8/1104808b875c26c640e536945753a78562d606bef4e241d9dbf3d92477f6/ty-0.0.21-py3-none-win_amd64.whl", hash = "sha256:a709d576e5bea84b745d43058d8b9cd4f27f74a0b24acb4b0cbb7d3d41e0d050", size = 10668660 },
- { url = "https://files.pythonhosted.org/packages/1b/b8/25e0adc404bbf986977657b25318991f93097b49f8aea640d93c0b0db68e/ty-0.0.21-py3-none-win_arm64.whl", hash = "sha256:f72047996598ac20553fb7e21ba5741e3c82dee4e9eadf10d954551a5fe09391", size = 10104161 },
+ { url = "https://files.pythonhosted.org/packages/36/70/edf38bb37517531681d1c37f5df64744e5ad02673c02eb48447eae4bea08/ty-0.0.21-py3-none-linux_armv6l.whl", hash = "sha256:7bdf2f572378de78e1f388d24691c89db51b7caf07cf90f2bfcc1d6b18b70a76", size = 10299222, upload-time = "2026-03-06T01:57:16.64Z" },
+ { url = "https://files.pythonhosted.org/packages/72/62/0047b0bd19afeefbc7286f20a5f78a2aa39f92b4d89853f0d7185ab89edc/ty-0.0.21-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:7e9613994610431ab8625025bd2880dbcb77c5c9fabdd21134cda12d840a529d", size = 10130513, upload-time = "2026-03-06T01:57:29.93Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/20/0b93a9e91aaed23155780258cdfdb4726ef68b6985378ac069bc427291a0/ty-0.0.21-py3-none-macosx_11_0_arm64.whl", hash = "sha256:56d3b198b64dd0a19b2b66e257deaed2ecea568e722ae5352f3c6fb62027f89d", size = 9605425, upload-time = "2026-03-06T01:57:27.115Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/fd/9945e2fa2996a1287b1e1d7ce050e97e1f420233b271e770934bfa0880a0/ty-0.0.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d23d2c34f7a77d974bb08f0860ef700addc8a683d81a0319f71c08f87506cfd0", size = 10108298, upload-time = "2026-03-06T01:57:35.429Z" },
+ { url = "https://files.pythonhosted.org/packages/52/e7/4ec52fcb15f3200826c9f048472c062549a05b0d1ef0b51f32d527b513c4/ty-0.0.21-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:56b01fd2519637a4ca88344f61c96225f540c98ff18bca321d4eaa7bb0f7aa2f", size = 10121556, upload-time = "2026-03-06T01:57:03.242Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/c0/ad457be2a8abea0f25549598bd098554540ced66229488daa0d558dad3c8/ty-0.0.21-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e9de7e11c63c6afc40f3e9ba716374add171aee7fabc70b5146a510705c6d41b", size = 10603264, upload-time = "2026-03-06T01:56:52.134Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/5b/2ecc7a2175243a4bcb72f5298ae41feabbb93b764bb0dc45722f3752c2c2/ty-0.0.21-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:62f7f5b235c4f7876db305c36997aea07b7af29b1a068f373d0e2547e25f32ff", size = 11196428, upload-time = "2026-03-06T01:57:32.94Z" },
+ { url = "https://files.pythonhosted.org/packages/37/f5/aff507d6a901f328ef96a298032b0c11aaaf950a146ed7dd3b5bf2cd3acf/ty-0.0.21-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ee8399f7c453a425291e6688efe430cfae7ab0ac4ffd50eba9f872bf878b54f6", size = 10866355, upload-time = "2026-03-06T01:56:57.831Z" },
+ { url = "https://files.pythonhosted.org/packages/be/30/822bbcb92d55b65989aa7ed06d9585f28ade9c9447369194ed4b0fb3b5b9/ty-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:210e7568c9f886c4d01308d751949ee714ad7ad9d7d928d2ba90d329dd880367", size = 10738177, upload-time = "2026-03-06T01:57:11.256Z" },
+ { url = "https://files.pythonhosted.org/packages/57/cc/46e7991b6469e93ac2c7e533a028983e402485580150ac864c56352a3a82/ty-0.0.21-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:53508e345b11569f78b21ba8e2b4e61df38a9754947fb3cd9f2ef574367338fb", size = 10079158, upload-time = "2026-03-06T01:57:00.516Z" },
+ { url = "https://files.pythonhosted.org/packages/15/c2/0bbdadfbd008240f8f1a87dc877433cb3884436097926107ccf06e618199/ty-0.0.21-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:553e43571f4a35604c36cfd07d8b61a5eb7a714e3c67f8c4ff2cf674fefbaef9", size = 10150535, upload-time = "2026-03-06T01:57:08.815Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/b5/2dbdb7b57b5362200ef0a39738ebd31331726328336def0143ac097ee59d/ty-0.0.21-py3-none-musllinux_1_2_i686.whl", hash = "sha256:666f6822e3b9200abfa7e95eb0ddd576460adb8d66b550c0ad2c70abc84a2048", size = 10319803, upload-time = "2026-03-06T01:57:19.106Z" },
+ { url = "https://files.pythonhosted.org/packages/72/84/70e52c0b7abc7c2086f9876ef454a73b161d3125315536d8d7e911c94ca4/ty-0.0.21-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:a0854d008347ce4a5fb351af132f660a390ab2a1163444d075251d43e6f74b9b", size = 10826239, upload-time = "2026-03-06T01:57:21.727Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/8a/1f72480fd013bbc6cd1929002abbbcde9a0b08ead6a15154de9d7f7fa37e/ty-0.0.21-py3-none-win32.whl", hash = "sha256:bef3ab4c7b966bcc276a8ac6c11b63ba222d21355b48d471ea782c4104eee4e0", size = 9693196, upload-time = "2026-03-06T01:57:24.126Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/f8/1104808b875c26c640e536945753a78562d606bef4e241d9dbf3d92477f6/ty-0.0.21-py3-none-win_amd64.whl", hash = "sha256:a709d576e5bea84b745d43058d8b9cd4f27f74a0b24acb4b0cbb7d3d41e0d050", size = 10668660, upload-time = "2026-03-06T01:56:55.06Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/b8/25e0adc404bbf986977657b25318991f93097b49f8aea640d93c0b0db68e/ty-0.0.21-py3-none-win_arm64.whl", hash = "sha256:f72047996598ac20553fb7e21ba5741e3c82dee4e9eadf10d954551a5fe09391", size = 10104161, upload-time = "2026-03-06T01:57:06.072Z" },
]
[[package]]
@@ -5813,36 +5909,36 @@ dependencies = [
{ name = "rich" },
{ name = "shellingham" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/f5/24/cb09efec5cc954f7f9b930bf8279447d24618bb6758d4f6adf2574c41780/typer-0.24.1.tar.gz", hash = "sha256:e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45", size = 118613 }
+sdist = { url = "https://files.pythonhosted.org/packages/f5/24/cb09efec5cc954f7f9b930bf8279447d24618bb6758d4f6adf2574c41780/typer-0.24.1.tar.gz", hash = "sha256:e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45", size = 118613, upload-time = "2026-02-21T16:54:40.609Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4a/91/48db081e7a63bb37284f9fbcefda7c44c277b18b0e13fbc36ea2335b71e6/typer-0.24.1-py3-none-any.whl", hash = "sha256:112c1f0ce578bfb4cab9ffdabc68f031416ebcc216536611ba21f04e9aa84c9e", size = 56085 },
+ { url = "https://files.pythonhosted.org/packages/4a/91/48db081e7a63bb37284f9fbcefda7c44c277b18b0e13fbc36ea2335b71e6/typer-0.24.1-py3-none-any.whl", hash = "sha256:112c1f0ce578bfb4cab9ffdabc68f031416ebcc216536611ba21f04e9aa84c9e", size = 56085, upload-time = "2026-02-21T16:54:41.616Z" },
]
[[package]]
name = "types-certifi"
version = "2021.10.8.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/52/68/943c3aeaf14624712a0357c4a67814dba5cea36d194f5c764dad7959a00c/types-certifi-2021.10.8.3.tar.gz", hash = "sha256:72cf7798d165bc0b76e1c10dd1ea3097c7063c42c21d664523b928e88b554a4f", size = 2095 }
+sdist = { url = "https://files.pythonhosted.org/packages/52/68/943c3aeaf14624712a0357c4a67814dba5cea36d194f5c764dad7959a00c/types-certifi-2021.10.8.3.tar.gz", hash = "sha256:72cf7798d165bc0b76e1c10dd1ea3097c7063c42c21d664523b928e88b554a4f", size = 2095, upload-time = "2022-06-09T15:19:05.244Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b5/63/2463d89481e811f007b0e1cd0a91e52e141b47f9de724d20db7b861dcfec/types_certifi-2021.10.8.3-py3-none-any.whl", hash = "sha256:b2d1e325e69f71f7c78e5943d410e650b4707bb0ef32e4ddf3da37f54176e88a", size = 2136 },
+ { url = "https://files.pythonhosted.org/packages/b5/63/2463d89481e811f007b0e1cd0a91e52e141b47f9de724d20db7b861dcfec/types_certifi-2021.10.8.3-py3-none-any.whl", hash = "sha256:b2d1e325e69f71f7c78e5943d410e650b4707bb0ef32e4ddf3da37f54176e88a", size = 2136, upload-time = "2022-06-09T15:19:03.127Z" },
]
[[package]]
name = "types-toml"
version = "0.10.8.20240310"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/86/47/3e4c75042792bff8e90d7991aa5c51812cc668828cc6cce711e97f63a607/types-toml-0.10.8.20240310.tar.gz", hash = "sha256:3d41501302972436a6b8b239c850b26689657e25281b48ff0ec06345b8830331", size = 4392 }
+sdist = { url = "https://files.pythonhosted.org/packages/86/47/3e4c75042792bff8e90d7991aa5c51812cc668828cc6cce711e97f63a607/types-toml-0.10.8.20240310.tar.gz", hash = "sha256:3d41501302972436a6b8b239c850b26689657e25281b48ff0ec06345b8830331", size = 4392, upload-time = "2024-03-10T02:18:37.518Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/da/a2/d32ab58c0b216912638b140ab2170ee4b8644067c293b170e19fba340ccc/types_toml-0.10.8.20240310-py3-none-any.whl", hash = "sha256:627b47775d25fa29977d9c70dc0cbab3f314f32c8d8d0c012f2ef5de7aaec05d", size = 4777 },
+ { url = "https://files.pythonhosted.org/packages/da/a2/d32ab58c0b216912638b140ab2170ee4b8644067c293b170e19fba340ccc/types_toml-0.10.8.20240310-py3-none-any.whl", hash = "sha256:627b47775d25fa29977d9c70dc0cbab3f314f32c8d8d0c012f2ef5de7aaec05d", size = 4777, upload-time = "2024-03-10T02:18:36.568Z" },
]
[[package]]
name = "typing-extensions"
version = "4.15.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391 }
+sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614 },
+ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" },
]
[[package]]
@@ -5853,9 +5949,9 @@ dependencies = [
{ name = "mypy-extensions" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/dc/74/1789779d91f1961fa9438e9a8710cdae6bd138c80d7303996933d117264a/typing_inspect-0.9.0.tar.gz", hash = "sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78", size = 13825 }
+sdist = { url = "https://files.pythonhosted.org/packages/dc/74/1789779d91f1961fa9438e9a8710cdae6bd138c80d7303996933d117264a/typing_inspect-0.9.0.tar.gz", hash = "sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78", size = 13825, upload-time = "2023-05-24T20:25:47.612Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/65/f3/107a22063bf27bdccf2024833d3445f4eea42b2e598abfbd46f6a63b6cb0/typing_inspect-0.9.0-py3-none-any.whl", hash = "sha256:9ee6fc59062311ef8547596ab6b955e1b8aa46242d854bfc78f4f6b0eff35f9f", size = 8827 },
+ { url = "https://files.pythonhosted.org/packages/65/f3/107a22063bf27bdccf2024833d3445f4eea42b2e598abfbd46f6a63b6cb0/typing_inspect-0.9.0-py3-none-any.whl", hash = "sha256:9ee6fc59062311ef8547596ab6b955e1b8aa46242d854bfc78f4f6b0eff35f9f", size = 8827, upload-time = "2023-05-24T20:25:45.287Z" },
]
[[package]]
@@ -5865,46 +5961,46 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949 }
+sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611 },
+ { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" },
]
[[package]]
name = "tzdata"
version = "2025.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/5e/a7/c202b344c5ca7daf398f3b8a477eeb205cf3b6f32e7ec3a6bac0629ca975/tzdata-2025.3.tar.gz", hash = "sha256:de39c2ca5dc7b0344f2eba86f49d614019d29f060fc4ebc8a417896a620b56a7", size = 196772 }
+sdist = { url = "https://files.pythonhosted.org/packages/5e/a7/c202b344c5ca7daf398f3b8a477eeb205cf3b6f32e7ec3a6bac0629ca975/tzdata-2025.3.tar.gz", hash = "sha256:de39c2ca5dc7b0344f2eba86f49d614019d29f060fc4ebc8a417896a620b56a7", size = 196772, upload-time = "2025-12-13T17:45:35.667Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c7/b0/003792df09decd6849a5e39c28b513c06e84436a54440380862b5aeff25d/tzdata-2025.3-py2.py3-none-any.whl", hash = "sha256:06a47e5700f3081aab02b2e513160914ff0694bce9947d6b76ebd6bf57cfc5d1", size = 348521 },
+ { url = "https://files.pythonhosted.org/packages/c7/b0/003792df09decd6849a5e39c28b513c06e84436a54440380862b5aeff25d/tzdata-2025.3-py2.py3-none-any.whl", hash = "sha256:06a47e5700f3081aab02b2e513160914ff0694bce9947d6b76ebd6bf57cfc5d1", size = 348521, upload-time = "2025-12-13T17:45:33.889Z" },
]
[[package]]
name = "uc-micro-py"
version = "2.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/78/67/9a363818028526e2d4579334460df777115bdec1bb77c08f9db88f6389f2/uc_micro_py-2.0.0.tar.gz", hash = "sha256:c53691e495c8db60e16ffc4861a35469b0ba0821fe409a8a7a0a71864d33a811", size = 6611 }
+sdist = { url = "https://files.pythonhosted.org/packages/78/67/9a363818028526e2d4579334460df777115bdec1bb77c08f9db88f6389f2/uc_micro_py-2.0.0.tar.gz", hash = "sha256:c53691e495c8db60e16ffc4861a35469b0ba0821fe409a8a7a0a71864d33a811", size = 6611, upload-time = "2026-03-01T06:31:27.526Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/61/73/d21edf5b204d1467e06500080a50f79d49ef2b997c79123a536d4a17d97c/uc_micro_py-2.0.0-py3-none-any.whl", hash = "sha256:3603a3859af53e5a39bc7677713c78ea6589ff188d70f4fee165db88e22b242c", size = 6383 },
+ { url = "https://files.pythonhosted.org/packages/61/73/d21edf5b204d1467e06500080a50f79d49ef2b997c79123a536d4a17d97c/uc_micro_py-2.0.0-py3-none-any.whl", hash = "sha256:3603a3859af53e5a39bc7677713c78ea6589ff188d70f4fee165db88e22b242c", size = 6383, upload-time = "2026-03-01T06:31:26.257Z" },
]
[[package]]
name = "ujson"
version = "5.11.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/43/d9/3f17e3c5773fb4941c68d9a37a47b1a79c9649d6c56aefbed87cc409d18a/ujson-5.11.0.tar.gz", hash = "sha256:e204ae6f909f099ba6b6b942131cee359ddda2b6e4ea39c12eb8b991fe2010e0", size = 7156583 }
+sdist = { url = "https://files.pythonhosted.org/packages/43/d9/3f17e3c5773fb4941c68d9a37a47b1a79c9649d6c56aefbed87cc409d18a/ujson-5.11.0.tar.gz", hash = "sha256:e204ae6f909f099ba6b6b942131cee359ddda2b6e4ea39c12eb8b991fe2010e0", size = 7156583, upload-time = "2025-08-20T11:57:02.452Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/b9/ef/a9cb1fce38f699123ff012161599fb9f2ff3f8d482b4b18c43a2dc35073f/ujson-5.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7895f0d2d53bd6aea11743bd56e3cb82d729980636cd0ed9b89418bf66591702", size = 55434 },
- { url = "https://files.pythonhosted.org/packages/b1/05/dba51a00eb30bd947791b173766cbed3492269c150a7771d2750000c965f/ujson-5.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:12b5e7e22a1fe01058000d1b317d3b65cc3daf61bd2ea7a2b76721fe160fa74d", size = 53190 },
- { url = "https://files.pythonhosted.org/packages/03/3c/fd11a224f73fbffa299fb9644e425f38b38b30231f7923a088dd513aabb4/ujson-5.11.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0180a480a7d099082501cad1fe85252e4d4bf926b40960fb3d9e87a3a6fbbc80", size = 57600 },
- { url = "https://files.pythonhosted.org/packages/55/b9/405103cae24899df688a3431c776e00528bd4799e7d68820e7ebcf824f92/ujson-5.11.0-cp312-cp312-manylinux_2_24_i686.manylinux_2_28_i686.whl", hash = "sha256:fa79fdb47701942c2132a9dd2297a1a85941d966d8c87bfd9e29b0cf423f26cc", size = 59791 },
- { url = "https://files.pythonhosted.org/packages/17/7b/2dcbc2bbfdbf68f2368fb21ab0f6735e872290bb604c75f6e06b81edcb3f/ujson-5.11.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8254e858437c00f17cb72e7a644fc42dad0ebb21ea981b71df6e84b1072aaa7c", size = 57356 },
- { url = "https://files.pythonhosted.org/packages/d1/71/fea2ca18986a366c750767b694430d5ded6b20b6985fddca72f74af38a4c/ujson-5.11.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1aa8a2ab482f09f6c10fba37112af5f957689a79ea598399c85009f2f29898b5", size = 1036313 },
- { url = "https://files.pythonhosted.org/packages/a3/bb/d4220bd7532eac6288d8115db51710fa2d7d271250797b0bfba9f1e755af/ujson-5.11.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a638425d3c6eed0318df663df44480f4a40dc87cc7c6da44d221418312f6413b", size = 1195782 },
- { url = "https://files.pythonhosted.org/packages/80/47/226e540aa38878ce1194454385701d82df538ccb5ff8db2cf1641dde849a/ujson-5.11.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7e3cff632c1d78023b15f7e3a81c3745cd3f94c044d1e8fa8efbd6b161997bbc", size = 1088817 },
- { url = "https://files.pythonhosted.org/packages/7e/81/546042f0b23c9040d61d46ea5ca76f0cc5e0d399180ddfb2ae976ebff5b5/ujson-5.11.0-cp312-cp312-win32.whl", hash = "sha256:be6b0eaf92cae8cdee4d4c9e074bde43ef1c590ed5ba037ea26c9632fb479c88", size = 39757 },
- { url = "https://files.pythonhosted.org/packages/44/1b/27c05dc8c9728f44875d74b5bfa948ce91f6c33349232619279f35c6e817/ujson-5.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:b7b136cc6abc7619124fd897ef75f8e63105298b5ca9bdf43ebd0e1fa0ee105f", size = 43859 },
- { url = "https://files.pythonhosted.org/packages/22/2d/37b6557c97c3409c202c838aa9c960ca3896843b4295c4b7bb2bbd260664/ujson-5.11.0-cp312-cp312-win_arm64.whl", hash = "sha256:6cd2df62f24c506a0ba322d5e4fe4466d47a9467b57e881ee15a31f7ecf68ff6", size = 38361 },
+ { url = "https://files.pythonhosted.org/packages/b9/ef/a9cb1fce38f699123ff012161599fb9f2ff3f8d482b4b18c43a2dc35073f/ujson-5.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7895f0d2d53bd6aea11743bd56e3cb82d729980636cd0ed9b89418bf66591702", size = 55434, upload-time = "2025-08-20T11:55:34.987Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/05/dba51a00eb30bd947791b173766cbed3492269c150a7771d2750000c965f/ujson-5.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:12b5e7e22a1fe01058000d1b317d3b65cc3daf61bd2ea7a2b76721fe160fa74d", size = 53190, upload-time = "2025-08-20T11:55:36.384Z" },
+ { url = "https://files.pythonhosted.org/packages/03/3c/fd11a224f73fbffa299fb9644e425f38b38b30231f7923a088dd513aabb4/ujson-5.11.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0180a480a7d099082501cad1fe85252e4d4bf926b40960fb3d9e87a3a6fbbc80", size = 57600, upload-time = "2025-08-20T11:55:37.692Z" },
+ { url = "https://files.pythonhosted.org/packages/55/b9/405103cae24899df688a3431c776e00528bd4799e7d68820e7ebcf824f92/ujson-5.11.0-cp312-cp312-manylinux_2_24_i686.manylinux_2_28_i686.whl", hash = "sha256:fa79fdb47701942c2132a9dd2297a1a85941d966d8c87bfd9e29b0cf423f26cc", size = 59791, upload-time = "2025-08-20T11:55:38.877Z" },
+ { url = "https://files.pythonhosted.org/packages/17/7b/2dcbc2bbfdbf68f2368fb21ab0f6735e872290bb604c75f6e06b81edcb3f/ujson-5.11.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8254e858437c00f17cb72e7a644fc42dad0ebb21ea981b71df6e84b1072aaa7c", size = 57356, upload-time = "2025-08-20T11:55:40.036Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/71/fea2ca18986a366c750767b694430d5ded6b20b6985fddca72f74af38a4c/ujson-5.11.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1aa8a2ab482f09f6c10fba37112af5f957689a79ea598399c85009f2f29898b5", size = 1036313, upload-time = "2025-08-20T11:55:41.408Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/bb/d4220bd7532eac6288d8115db51710fa2d7d271250797b0bfba9f1e755af/ujson-5.11.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a638425d3c6eed0318df663df44480f4a40dc87cc7c6da44d221418312f6413b", size = 1195782, upload-time = "2025-08-20T11:55:43.357Z" },
+ { url = "https://files.pythonhosted.org/packages/80/47/226e540aa38878ce1194454385701d82df538ccb5ff8db2cf1641dde849a/ujson-5.11.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7e3cff632c1d78023b15f7e3a81c3745cd3f94c044d1e8fa8efbd6b161997bbc", size = 1088817, upload-time = "2025-08-20T11:55:45.262Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/81/546042f0b23c9040d61d46ea5ca76f0cc5e0d399180ddfb2ae976ebff5b5/ujson-5.11.0-cp312-cp312-win32.whl", hash = "sha256:be6b0eaf92cae8cdee4d4c9e074bde43ef1c590ed5ba037ea26c9632fb479c88", size = 39757, upload-time = "2025-08-20T11:55:46.522Z" },
+ { url = "https://files.pythonhosted.org/packages/44/1b/27c05dc8c9728f44875d74b5bfa948ce91f6c33349232619279f35c6e817/ujson-5.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:b7b136cc6abc7619124fd897ef75f8e63105298b5ca9bdf43ebd0e1fa0ee105f", size = 43859, upload-time = "2025-08-20T11:55:47.987Z" },
+ { url = "https://files.pythonhosted.org/packages/22/2d/37b6557c97c3409c202c838aa9c960ca3896843b4295c4b7bb2bbd260664/ujson-5.11.0-cp312-cp312-win_arm64.whl", hash = "sha256:6cd2df62f24c506a0ba322d5e4fe4466d47a9467b57e881ee15a31f7ecf68ff6", size = 38361, upload-time = "2025-08-20T11:55:49.122Z" },
]
[[package]]
@@ -5919,74 +6015,74 @@ dependencies = [
{ name = "scipy" },
{ name = "tqdm" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/94/9a/a1e4a257a9aa979dac4f6d5781dac929cbb0949959e2003ed82657d10b0f/umap_learn-0.5.11.tar.gz", hash = "sha256:31566ffd495fbf05d7ab3efcba703861c0f5e6fc6998a838d0e2becdd00e54f5", size = 96409 }
+sdist = { url = "https://files.pythonhosted.org/packages/94/9a/a1e4a257a9aa979dac4f6d5781dac929cbb0949959e2003ed82657d10b0f/umap_learn-0.5.11.tar.gz", hash = "sha256:31566ffd495fbf05d7ab3efcba703861c0f5e6fc6998a838d0e2becdd00e54f5", size = 96409, upload-time = "2026-01-12T20:44:47.553Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/43/d2/fcf7192dd1cd8c090b6cfd53fa223c4fb2887a17c47e06bc356d44f40dfb/umap_learn-0.5.11-py3-none-any.whl", hash = "sha256:cb17adbde9d544ba79481b3ab4d81ac222e940f3d9219307bea6044f869af3cc", size = 90890 },
+ { url = "https://files.pythonhosted.org/packages/43/d2/fcf7192dd1cd8c090b6cfd53fa223c4fb2887a17c47e06bc356d44f40dfb/umap_learn-0.5.11-py3-none-any.whl", hash = "sha256:cb17adbde9d544ba79481b3ab4d81ac222e940f3d9219307bea6044f869af3cc", size = 90890, upload-time = "2026-01-12T20:44:46.511Z" },
]
[[package]]
name = "unlzw3"
version = "0.2.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/08/f1/72b313366285263aaba21a17714fbef597d7662a8737a928b2b4784eb46e/unlzw3-0.2.3.tar.gz", hash = "sha256:ede5d928c792fff9da406f20334f9739693327f448f383ae1df1774627197bbb", size = 5426 }
+sdist = { url = "https://files.pythonhosted.org/packages/08/f1/72b313366285263aaba21a17714fbef597d7662a8737a928b2b4784eb46e/unlzw3-0.2.3.tar.gz", hash = "sha256:ede5d928c792fff9da406f20334f9739693327f448f383ae1df1774627197bbb", size = 5426, upload-time = "2024-12-20T16:05:55.889Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4d/fb/617af9b317ac75f5663285d3a3cc38903a76d63c6e7397768307545f4ff4/unlzw3-0.2.3-py3-none-any.whl", hash = "sha256:7760fb4f3afa1225623944c061991d89a061f7fb78665dbc4cddfdb562bb4a8b", size = 6729 },
+ { url = "https://files.pythonhosted.org/packages/4d/fb/617af9b317ac75f5663285d3a3cc38903a76d63c6e7397768307545f4ff4/unlzw3-0.2.3-py3-none-any.whl", hash = "sha256:7760fb4f3afa1225623944c061991d89a061f7fb78665dbc4cddfdb562bb4a8b", size = 6729, upload-time = "2024-12-20T16:05:53.278Z" },
]
[[package]]
name = "urllib3"
version = "2.6.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556 }
+sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556, upload-time = "2026-01-07T16:24:43.925Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584 },
+ { url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584, upload-time = "2026-01-07T16:24:42.685Z" },
]
[[package]]
name = "uuid-utils"
version = "0.14.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/7b/d1/38a573f0c631c062cf42fa1f5d021d4dd3c31fb23e4376e4b56b0c9fbbed/uuid_utils-0.14.1.tar.gz", hash = "sha256:9bfc95f64af80ccf129c604fb6b8ca66c6f256451e32bc4570f760e4309c9b69", size = 22195 }
+sdist = { url = "https://files.pythonhosted.org/packages/7b/d1/38a573f0c631c062cf42fa1f5d021d4dd3c31fb23e4376e4b56b0c9fbbed/uuid_utils-0.14.1.tar.gz", hash = "sha256:9bfc95f64af80ccf129c604fb6b8ca66c6f256451e32bc4570f760e4309c9b69", size = 22195, upload-time = "2026-02-20T22:50:38.833Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/43/b7/add4363039a34506a58457d96d4aa2126061df3a143eb4d042aedd6a2e76/uuid_utils-0.14.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:93a3b5dc798a54a1feb693f2d1cb4cf08258c32ff05ae4929b5f0a2ca624a4f0", size = 604679 },
- { url = "https://files.pythonhosted.org/packages/dd/84/d1d0bef50d9e66d31b2019997c741b42274d53dde2e001b7a83e9511c339/uuid_utils-0.14.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:ccd65a4b8e83af23eae5e56d88034b2fe7264f465d3e830845f10d1591b81741", size = 309346 },
- { url = "https://files.pythonhosted.org/packages/ef/ed/b6d6fd52a6636d7c3eddf97d68da50910bf17cd5ac221992506fb56cf12e/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b56b0cacd81583834820588378e432b0696186683b813058b707aedc1e16c4b1", size = 344714 },
- { url = "https://files.pythonhosted.org/packages/a8/a7/a19a1719fb626fe0b31882db36056d44fe904dc0cf15b06fdf56b2679cf7/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bb3cf14de789097320a3c56bfdfdd51b1225d11d67298afbedee7e84e3837c96", size = 350914 },
- { url = "https://files.pythonhosted.org/packages/1d/fc/f6690e667fdc3bb1a73f57951f97497771c56fe23e3d302d7404be394d4f/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60e0854a90d67f4b0cc6e54773deb8be618f4c9bad98d3326f081423b5d14fae", size = 482609 },
- { url = "https://files.pythonhosted.org/packages/54/6e/dcd3fa031320921a12ec7b4672dea3bd1dd90ddffa363a91831ba834d559/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce6743ba194de3910b5feb1a62590cd2587e33a73ab6af8a01b642ceb5055862", size = 345699 },
- { url = "https://files.pythonhosted.org/packages/04/28/e5220204b58b44ac0047226a9d016a113fde039280cc8732d9e6da43b39f/uuid_utils-0.14.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:043fb58fde6cf1620a6c066382f04f87a8e74feb0f95a585e4ed46f5d44af57b", size = 372205 },
- { url = "https://files.pythonhosted.org/packages/c7/d9/3d2eb98af94b8dfffc82b6a33b4dfc87b0a5de2c68a28f6dde0db1f8681b/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c915d53f22945e55fe0d3d3b0b87fd965a57f5fd15666fd92d6593a73b1dd297", size = 521836 },
- { url = "https://files.pythonhosted.org/packages/a8/15/0eb106cc6fe182f7577bc0ab6e2f0a40be247f35c5e297dbf7bbc460bd02/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:0972488e3f9b449e83f006ead5a0e0a33ad4a13e4462e865b7c286ab7d7566a3", size = 625260 },
- { url = "https://files.pythonhosted.org/packages/3c/17/f539507091334b109e7496830af2f093d9fc8082411eafd3ece58af1f8ba/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:1c238812ae0c8ffe77d8d447a32c6dfd058ea4631246b08b5a71df586ff08531", size = 587824 },
- { url = "https://files.pythonhosted.org/packages/2e/c2/d37a7b2e41f153519367d4db01f0526e0d4b06f1a4a87f1c5dfca5d70a8b/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:bec8f8ef627af86abf8298e7ec50926627e29b34fa907fcfbedb45aaa72bca43", size = 551407 },
- { url = "https://files.pythonhosted.org/packages/65/36/2d24b2cbe78547c6532da33fb8613debd3126eccc33a6374ab788f5e46e9/uuid_utils-0.14.1-cp39-abi3-win32.whl", hash = "sha256:b54d6aa6252d96bac1fdbc80d26ba71bad9f220b2724d692ad2f2310c22ef523", size = 183476 },
- { url = "https://files.pythonhosted.org/packages/83/92/2d7e90df8b1a69ec4cff33243ce02b7a62f926ef9e2f0eca5a026889cd73/uuid_utils-0.14.1-cp39-abi3-win_amd64.whl", hash = "sha256:fc27638c2ce267a0ce3e06828aff786f91367f093c80625ee21dad0208e0f5ba", size = 187147 },
- { url = "https://files.pythonhosted.org/packages/d9/26/529f4beee17e5248e37e0bc17a2761d34c0fa3b1e5729c88adb2065bae6e/uuid_utils-0.14.1-cp39-abi3-win_arm64.whl", hash = "sha256:b04cb49b42afbc4ff8dbc60cf054930afc479d6f4dd7f1ec3bbe5dbfdde06b7a", size = 188132 },
+ { url = "https://files.pythonhosted.org/packages/43/b7/add4363039a34506a58457d96d4aa2126061df3a143eb4d042aedd6a2e76/uuid_utils-0.14.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:93a3b5dc798a54a1feb693f2d1cb4cf08258c32ff05ae4929b5f0a2ca624a4f0", size = 604679, upload-time = "2026-02-20T22:50:27.469Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/84/d1d0bef50d9e66d31b2019997c741b42274d53dde2e001b7a83e9511c339/uuid_utils-0.14.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:ccd65a4b8e83af23eae5e56d88034b2fe7264f465d3e830845f10d1591b81741", size = 309346, upload-time = "2026-02-20T22:50:31.857Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/ed/b6d6fd52a6636d7c3eddf97d68da50910bf17cd5ac221992506fb56cf12e/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b56b0cacd81583834820588378e432b0696186683b813058b707aedc1e16c4b1", size = 344714, upload-time = "2026-02-20T22:50:42.642Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/a7/a19a1719fb626fe0b31882db36056d44fe904dc0cf15b06fdf56b2679cf7/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bb3cf14de789097320a3c56bfdfdd51b1225d11d67298afbedee7e84e3837c96", size = 350914, upload-time = "2026-02-20T22:50:36.487Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/fc/f6690e667fdc3bb1a73f57951f97497771c56fe23e3d302d7404be394d4f/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:60e0854a90d67f4b0cc6e54773deb8be618f4c9bad98d3326f081423b5d14fae", size = 482609, upload-time = "2026-02-20T22:50:37.511Z" },
+ { url = "https://files.pythonhosted.org/packages/54/6e/dcd3fa031320921a12ec7b4672dea3bd1dd90ddffa363a91831ba834d559/uuid_utils-0.14.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce6743ba194de3910b5feb1a62590cd2587e33a73ab6af8a01b642ceb5055862", size = 345699, upload-time = "2026-02-20T22:50:46.87Z" },
+ { url = "https://files.pythonhosted.org/packages/04/28/e5220204b58b44ac0047226a9d016a113fde039280cc8732d9e6da43b39f/uuid_utils-0.14.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:043fb58fde6cf1620a6c066382f04f87a8e74feb0f95a585e4ed46f5d44af57b", size = 372205, upload-time = "2026-02-20T22:50:28.438Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/d9/3d2eb98af94b8dfffc82b6a33b4dfc87b0a5de2c68a28f6dde0db1f8681b/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c915d53f22945e55fe0d3d3b0b87fd965a57f5fd15666fd92d6593a73b1dd297", size = 521836, upload-time = "2026-02-20T22:50:23.057Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/15/0eb106cc6fe182f7577bc0ab6e2f0a40be247f35c5e297dbf7bbc460bd02/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:0972488e3f9b449e83f006ead5a0e0a33ad4a13e4462e865b7c286ab7d7566a3", size = 625260, upload-time = "2026-02-20T22:50:25.949Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/17/f539507091334b109e7496830af2f093d9fc8082411eafd3ece58af1f8ba/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:1c238812ae0c8ffe77d8d447a32c6dfd058ea4631246b08b5a71df586ff08531", size = 587824, upload-time = "2026-02-20T22:50:35.225Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/c2/d37a7b2e41f153519367d4db01f0526e0d4b06f1a4a87f1c5dfca5d70a8b/uuid_utils-0.14.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:bec8f8ef627af86abf8298e7ec50926627e29b34fa907fcfbedb45aaa72bca43", size = 551407, upload-time = "2026-02-20T22:50:44.915Z" },
+ { url = "https://files.pythonhosted.org/packages/65/36/2d24b2cbe78547c6532da33fb8613debd3126eccc33a6374ab788f5e46e9/uuid_utils-0.14.1-cp39-abi3-win32.whl", hash = "sha256:b54d6aa6252d96bac1fdbc80d26ba71bad9f220b2724d692ad2f2310c22ef523", size = 183476, upload-time = "2026-02-20T22:50:32.745Z" },
+ { url = "https://files.pythonhosted.org/packages/83/92/2d7e90df8b1a69ec4cff33243ce02b7a62f926ef9e2f0eca5a026889cd73/uuid_utils-0.14.1-cp39-abi3-win_amd64.whl", hash = "sha256:fc27638c2ce267a0ce3e06828aff786f91367f093c80625ee21dad0208e0f5ba", size = 187147, upload-time = "2026-02-20T22:50:45.807Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/26/529f4beee17e5248e37e0bc17a2761d34c0fa3b1e5729c88adb2065bae6e/uuid_utils-0.14.1-cp39-abi3-win_arm64.whl", hash = "sha256:b04cb49b42afbc4ff8dbc60cf054930afc479d6f4dd7f1ec3bbe5dbfdde06b7a", size = 188132, upload-time = "2026-02-20T22:50:41.718Z" },
]
[[package]]
name = "uv"
version = "0.10.9"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/f2/59/235fa08a6b56de82a45a385dc2bf724502f720f0a9692a1a8cb24aab3e6f/uv-0.10.9.tar.gz", hash = "sha256:31e76ae92e70fec47c3efab0c8094035ad7a578454482415b496fa39fc4d685c", size = 3945685 }
+sdist = { url = "https://files.pythonhosted.org/packages/f2/59/235fa08a6b56de82a45a385dc2bf724502f720f0a9692a1a8cb24aab3e6f/uv-0.10.9.tar.gz", hash = "sha256:31e76ae92e70fec47c3efab0c8094035ad7a578454482415b496fa39fc4d685c", size = 3945685, upload-time = "2026-03-06T21:21:16.219Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2f/6d/f87f1530d5db4132776d49dddd88b1c77bc08fa7b32bf585b366204e6fc2/uv-0.10.9-py3-none-linux_armv6l.whl", hash = "sha256:0649f83fa0f44f18627c00b2a9a60e5c3486a34799b2c874f2b3945b76048a67", size = 22617914 },
- { url = "https://files.pythonhosted.org/packages/6f/34/2e5cd576d312eb1131b615f49ee95ff6efb740965324843617adae729cf2/uv-0.10.9-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:880dd4cffe4bd184e8871ddf4c7d3c3b042e1f16d2682310644aa8d61eaea3e6", size = 21778779 },
- { url = "https://files.pythonhosted.org/packages/89/35/684f641de4de2b20db7d2163c735b2bb211e3b3c84c241706d6448e5e868/uv-0.10.9-py3-none-macosx_11_0_arm64.whl", hash = "sha256:a7a784254380552398a6baf4149faf5b31a4003275f685c28421cf8197178a08", size = 20384301 },
- { url = "https://files.pythonhosted.org/packages/eb/5c/7170cfd1b4af09b435abc5a89ff315af130cf4a5082e5eb1206ee46bba67/uv-0.10.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:5ea0e8598fa012cfa4480ecad4d112bc70f514157c3cc1555a7611c7b6b1ab0a", size = 22226893 },
- { url = "https://files.pythonhosted.org/packages/43/5c/68a17934dc8a2897fd7928b1c03c965373a820dc182aad96f1be6cce33a1/uv-0.10.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:2d6b5367e9bf87eca51c0f2ecda26a1ff931e41409977b4f0a420de2f3e617cf", size = 22233832 },
- { url = "https://files.pythonhosted.org/packages/00/10/d262172ac59b669ca9c006bcbdb49c1a168cc314a5de576a4bb476dfab4c/uv-0.10.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bd04e34db27f9a1d5a0871980edc9f910bb11afbc4abca8234d5a363cbe63c04", size = 22192193 },
- { url = "https://files.pythonhosted.org/packages/a2/e6/f75fef1e3e5b0cf3592a4c35ed5128164ef2e6bd6a2570a0782c0baf6d4b/uv-0.10.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:547deb57311fc64e4a6b8336228fca4cb4dcbeabdc6e85f14f7804dcd0bc8cd2", size = 23571687 },
- { url = "https://files.pythonhosted.org/packages/31/28/4b1ee6f4aa0e1b935e66b6018691258d1b702ef9c5d8c71e853564ad0a3a/uv-0.10.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e0091b6d0b666640d7407a433860184f77667077b73564e86d49c2a851f073a8", size = 24418225 },
- { url = "https://files.pythonhosted.org/packages/39/a2/5e67987f8d55eeecca7d8f4e94ac3e973fa1e8aaf426fcb8f442e9f7e2bc/uv-0.10.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81b2286e6fd869e3507971f39d14829c03e2e31caa8ecc6347b0ffacabb95a5b", size = 23555724 },
- { url = "https://files.pythonhosted.org/packages/79/34/b104c413079874493eed7bf11838b47b697cf1f0ed7e9de374ea37b4e4e0/uv-0.10.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7c9d6deb30edbc22123be75479f99fb476613eaf38a8034c0e98bba24a344179", size = 23438145 },
- { url = "https://files.pythonhosted.org/packages/27/8a/cad762b3e9bfb961b68b2ae43a258a92b522918958954b50b09dcb14bb4e/uv-0.10.9-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:24b1ce6d626e06c4582946b6af07b08a032fcccd81fe54c3db3ed2d1c63a97dc", size = 22326765 },
- { url = "https://files.pythonhosted.org/packages/a7/62/7e066f197f3eb8f8f71e25d703a29c89849c9c047240c1223e29bc0a37e4/uv-0.10.9-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:fa3401780273d96a2960dbeab58452ce1b387ad8c5da25be6221c0188519e21d", size = 23215175 },
- { url = "https://files.pythonhosted.org/packages/7e/06/51db93b5edb8b0202c0ec6caf3f24384f5abdfc180b6376a3710223fd56f/uv-0.10.9-py3-none-musllinux_1_1_i686.whl", hash = "sha256:8f94a31832d2b4c565312ea17a71b8dd2f971e5aa570c5b796a27b2c9fcdb163", size = 22784507 },
- { url = "https://files.pythonhosted.org/packages/96/34/1db511d9259c1f32e5e094133546e5723e183a9ba2c64f7ca6156badddee/uv-0.10.9-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:842c39c19d9072f1ad53c71bb4ecd1c9caa311d5de9d19e09a636274a6c95e2e", size = 23660703 },
- { url = "https://files.pythonhosted.org/packages/6c/a0/58388abb252c7a37bc67422fce3a6b87404ea3fac44ca20132a4ba502235/uv-0.10.9-py3-none-win32.whl", hash = "sha256:ed44047c602449916ba18a8596715ef7edbbd00859f3db9eac010dc62a0edd30", size = 21524142 },
- { url = "https://files.pythonhosted.org/packages/c9/e9/adf7a12136573937d12ac189569e2e90e7fad18b458192083df6986f3013/uv-0.10.9-py3-none-win_amd64.whl", hash = "sha256:af79552276d8bd622048ab2d67ec22120a6af64d83963c46b1482218c27b571f", size = 24103389 },
- { url = "https://files.pythonhosted.org/packages/5e/49/4971affd9c62d26b3ff4a84dc6432275be72d9615d95f7bb9e027beeeed8/uv-0.10.9-py3-none-win_arm64.whl", hash = "sha256:47e18a0521d76293d4f60d129f520b18bddf1976b4a47b50f0fcb04fb6a9d40f", size = 22454171 },
+ { url = "https://files.pythonhosted.org/packages/2f/6d/f87f1530d5db4132776d49dddd88b1c77bc08fa7b32bf585b366204e6fc2/uv-0.10.9-py3-none-linux_armv6l.whl", hash = "sha256:0649f83fa0f44f18627c00b2a9a60e5c3486a34799b2c874f2b3945b76048a67", size = 22617914, upload-time = "2026-03-06T21:20:48.282Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/34/2e5cd576d312eb1131b615f49ee95ff6efb740965324843617adae729cf2/uv-0.10.9-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:880dd4cffe4bd184e8871ddf4c7d3c3b042e1f16d2682310644aa8d61eaea3e6", size = 21778779, upload-time = "2026-03-06T21:21:01.804Z" },
+ { url = "https://files.pythonhosted.org/packages/89/35/684f641de4de2b20db7d2163c735b2bb211e3b3c84c241706d6448e5e868/uv-0.10.9-py3-none-macosx_11_0_arm64.whl", hash = "sha256:a7a784254380552398a6baf4149faf5b31a4003275f685c28421cf8197178a08", size = 20384301, upload-time = "2026-03-06T21:21:04.089Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/5c/7170cfd1b4af09b435abc5a89ff315af130cf4a5082e5eb1206ee46bba67/uv-0.10.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:5ea0e8598fa012cfa4480ecad4d112bc70f514157c3cc1555a7611c7b6b1ab0a", size = 22226893, upload-time = "2026-03-06T21:20:50.902Z" },
+ { url = "https://files.pythonhosted.org/packages/43/5c/68a17934dc8a2897fd7928b1c03c965373a820dc182aad96f1be6cce33a1/uv-0.10.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:2d6b5367e9bf87eca51c0f2ecda26a1ff931e41409977b4f0a420de2f3e617cf", size = 22233832, upload-time = "2026-03-06T21:21:11.748Z" },
+ { url = "https://files.pythonhosted.org/packages/00/10/d262172ac59b669ca9c006bcbdb49c1a168cc314a5de576a4bb476dfab4c/uv-0.10.9-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bd04e34db27f9a1d5a0871980edc9f910bb11afbc4abca8234d5a363cbe63c04", size = 22192193, upload-time = "2026-03-06T21:20:59.48Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/e6/f75fef1e3e5b0cf3592a4c35ed5128164ef2e6bd6a2570a0782c0baf6d4b/uv-0.10.9-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:547deb57311fc64e4a6b8336228fca4cb4dcbeabdc6e85f14f7804dcd0bc8cd2", size = 23571687, upload-time = "2026-03-06T21:20:45.403Z" },
+ { url = "https://files.pythonhosted.org/packages/31/28/4b1ee6f4aa0e1b935e66b6018691258d1b702ef9c5d8c71e853564ad0a3a/uv-0.10.9-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e0091b6d0b666640d7407a433860184f77667077b73564e86d49c2a851f073a8", size = 24418225, upload-time = "2026-03-06T21:21:09.459Z" },
+ { url = "https://files.pythonhosted.org/packages/39/a2/5e67987f8d55eeecca7d8f4e94ac3e973fa1e8aaf426fcb8f442e9f7e2bc/uv-0.10.9-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81b2286e6fd869e3507971f39d14829c03e2e31caa8ecc6347b0ffacabb95a5b", size = 23555724, upload-time = "2026-03-06T21:20:54.085Z" },
+ { url = "https://files.pythonhosted.org/packages/79/34/b104c413079874493eed7bf11838b47b697cf1f0ed7e9de374ea37b4e4e0/uv-0.10.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7c9d6deb30edbc22123be75479f99fb476613eaf38a8034c0e98bba24a344179", size = 23438145, upload-time = "2026-03-06T21:21:26.866Z" },
+ { url = "https://files.pythonhosted.org/packages/27/8a/cad762b3e9bfb961b68b2ae43a258a92b522918958954b50b09dcb14bb4e/uv-0.10.9-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:24b1ce6d626e06c4582946b6af07b08a032fcccd81fe54c3db3ed2d1c63a97dc", size = 22326765, upload-time = "2026-03-06T21:21:14.283Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/62/7e066f197f3eb8f8f71e25d703a29c89849c9c047240c1223e29bc0a37e4/uv-0.10.9-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:fa3401780273d96a2960dbeab58452ce1b387ad8c5da25be6221c0188519e21d", size = 23215175, upload-time = "2026-03-06T21:21:29.673Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/06/51db93b5edb8b0202c0ec6caf3f24384f5abdfc180b6376a3710223fd56f/uv-0.10.9-py3-none-musllinux_1_1_i686.whl", hash = "sha256:8f94a31832d2b4c565312ea17a71b8dd2f971e5aa570c5b796a27b2c9fcdb163", size = 22784507, upload-time = "2026-03-06T21:21:20.676Z" },
+ { url = "https://files.pythonhosted.org/packages/96/34/1db511d9259c1f32e5e094133546e5723e183a9ba2c64f7ca6156badddee/uv-0.10.9-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:842c39c19d9072f1ad53c71bb4ecd1c9caa311d5de9d19e09a636274a6c95e2e", size = 23660703, upload-time = "2026-03-06T21:21:06.667Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/a0/58388abb252c7a37bc67422fce3a6b87404ea3fac44ca20132a4ba502235/uv-0.10.9-py3-none-win32.whl", hash = "sha256:ed44047c602449916ba18a8596715ef7edbbd00859f3db9eac010dc62a0edd30", size = 21524142, upload-time = "2026-03-06T21:21:18.246Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/e9/adf7a12136573937d12ac189569e2e90e7fad18b458192083df6986f3013/uv-0.10.9-py3-none-win_amd64.whl", hash = "sha256:af79552276d8bd622048ab2d67ec22120a6af64d83963c46b1482218c27b571f", size = 24103389, upload-time = "2026-03-06T21:20:56.495Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/49/4971affd9c62d26b3ff4a84dc6432275be72d9615d95f7bb9e027beeeed8/uv-0.10.9-py3-none-win_arm64.whl", hash = "sha256:47e18a0521d76293d4f60d129f520b18bddf1976b4a47b50f0fcb04fb6a9d40f", size = 22454171, upload-time = "2026-03-06T21:21:24.596Z" },
]
[[package]]
@@ -5997,9 +6093,9 @@ dependencies = [
{ name = "click" },
{ name = "h11" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/32/ce/eeb58ae4ac36fe09e3842eb02e0eb676bf2c53ae062b98f1b2531673efdd/uvicorn-0.41.0.tar.gz", hash = "sha256:09d11cf7008da33113824ee5a1c6422d89fbc2ff476540d69a34c87fab8b571a", size = 82633 }
+sdist = { url = "https://files.pythonhosted.org/packages/32/ce/eeb58ae4ac36fe09e3842eb02e0eb676bf2c53ae062b98f1b2531673efdd/uvicorn-0.41.0.tar.gz", hash = "sha256:09d11cf7008da33113824ee5a1c6422d89fbc2ff476540d69a34c87fab8b571a", size = 82633, upload-time = "2026-02-16T23:07:24.1Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/83/e4/d04a086285c20886c0daad0e026f250869201013d18f81d9ff5eada73a88/uvicorn-0.41.0-py3-none-any.whl", hash = "sha256:29e35b1d2c36a04b9e180d4007ede3bcb32a85fbdfd6c6aeb3f26839de088187", size = 68783 },
+ { url = "https://files.pythonhosted.org/packages/83/e4/d04a086285c20886c0daad0e026f250869201013d18f81d9ff5eada73a88/uvicorn-0.41.0-py3-none-any.whl", hash = "sha256:29e35b1d2c36a04b9e180d4007ede3bcb32a85fbdfd6c6aeb3f26839de088187", size = 68783, upload-time = "2026-02-16T23:07:22.357Z" },
]
[package.optional-dependencies]
@@ -6017,23 +6113,23 @@ standard = [
name = "uvloop"
version = "0.22.1"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/06/f0/18d39dbd1971d6d62c4629cc7fa67f74821b0dc1f5a77af43719de7936a7/uvloop-0.22.1.tar.gz", hash = "sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f", size = 2443250 }
+sdist = { url = "https://files.pythonhosted.org/packages/06/f0/18d39dbd1971d6d62c4629cc7fa67f74821b0dc1f5a77af43719de7936a7/uvloop-0.22.1.tar.gz", hash = "sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f", size = 2443250, upload-time = "2025-10-16T22:17:19.342Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/3d/ff/7f72e8170be527b4977b033239a83a68d5c881cc4775fca255c677f7ac5d/uvloop-0.22.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fe94b4564e865d968414598eea1a6de60adba0c040ba4ed05ac1300de402cd42", size = 1359936 },
- { url = "https://files.pythonhosted.org/packages/c3/c6/e5d433f88fd54d81ef4be58b2b7b0cea13c442454a1db703a1eea0db1a59/uvloop-0.22.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:51eb9bd88391483410daad430813d982010f9c9c89512321f5b60e2cddbdddd6", size = 752769 },
- { url = "https://files.pythonhosted.org/packages/24/68/a6ac446820273e71aa762fa21cdcc09861edd3536ff47c5cd3b7afb10eeb/uvloop-0.22.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:700e674a166ca5778255e0e1dc4e9d79ab2acc57b9171b79e65feba7184b3370", size = 4317413 },
- { url = "https://files.pythonhosted.org/packages/5f/6f/e62b4dfc7ad6518e7eff2516f680d02a0f6eb62c0c212e152ca708a0085e/uvloop-0.22.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b5b1ac819a3f946d3b2ee07f09149578ae76066d70b44df3fa990add49a82e4", size = 4426307 },
- { url = "https://files.pythonhosted.org/packages/90/60/97362554ac21e20e81bcef1150cb2a7e4ffdaf8ea1e5b2e8bf7a053caa18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e047cc068570bac9866237739607d1313b9253c3051ad84738cbb095be0537b2", size = 4131970 },
- { url = "https://files.pythonhosted.org/packages/99/39/6b3f7d234ba3964c428a6e40006340f53ba37993f46ed6e111c6e9141d18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:512fec6815e2dd45161054592441ef76c830eddaad55c8aa30952e6fe1ed07c0", size = 4296343 },
+ { url = "https://files.pythonhosted.org/packages/3d/ff/7f72e8170be527b4977b033239a83a68d5c881cc4775fca255c677f7ac5d/uvloop-0.22.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fe94b4564e865d968414598eea1a6de60adba0c040ba4ed05ac1300de402cd42", size = 1359936, upload-time = "2025-10-16T22:16:29.436Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/c6/e5d433f88fd54d81ef4be58b2b7b0cea13c442454a1db703a1eea0db1a59/uvloop-0.22.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:51eb9bd88391483410daad430813d982010f9c9c89512321f5b60e2cddbdddd6", size = 752769, upload-time = "2025-10-16T22:16:30.493Z" },
+ { url = "https://files.pythonhosted.org/packages/24/68/a6ac446820273e71aa762fa21cdcc09861edd3536ff47c5cd3b7afb10eeb/uvloop-0.22.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:700e674a166ca5778255e0e1dc4e9d79ab2acc57b9171b79e65feba7184b3370", size = 4317413, upload-time = "2025-10-16T22:16:31.644Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/6f/e62b4dfc7ad6518e7eff2516f680d02a0f6eb62c0c212e152ca708a0085e/uvloop-0.22.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b5b1ac819a3f946d3b2ee07f09149578ae76066d70b44df3fa990add49a82e4", size = 4426307, upload-time = "2025-10-16T22:16:32.917Z" },
+ { url = "https://files.pythonhosted.org/packages/90/60/97362554ac21e20e81bcef1150cb2a7e4ffdaf8ea1e5b2e8bf7a053caa18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e047cc068570bac9866237739607d1313b9253c3051ad84738cbb095be0537b2", size = 4131970, upload-time = "2025-10-16T22:16:34.015Z" },
+ { url = "https://files.pythonhosted.org/packages/99/39/6b3f7d234ba3964c428a6e40006340f53ba37993f46ed6e111c6e9141d18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:512fec6815e2dd45161054592441ef76c830eddaad55c8aa30952e6fe1ed07c0", size = 4296343, upload-time = "2025-10-16T22:16:35.149Z" },
]
[[package]]
name = "validators"
version = "0.35.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/53/66/a435d9ae49850b2f071f7ebd8119dd4e84872b01630d6736761e6e7fd847/validators-0.35.0.tar.gz", hash = "sha256:992d6c48a4e77c81f1b4daba10d16c3a9bb0dbb79b3a19ea847ff0928e70497a", size = 73399 }
+sdist = { url = "https://files.pythonhosted.org/packages/53/66/a435d9ae49850b2f071f7ebd8119dd4e84872b01630d6736761e6e7fd847/validators-0.35.0.tar.gz", hash = "sha256:992d6c48a4e77c81f1b4daba10d16c3a9bb0dbb79b3a19ea847ff0928e70497a", size = 73399, upload-time = "2025-05-01T05:42:06.7Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/fa/6e/3e955517e22cbdd565f2f8b2e73d52528b14b8bcfdb04f62466b071de847/validators-0.35.0-py3-none-any.whl", hash = "sha256:e8c947097eae7892cb3d26868d637f79f47b4a0554bc6b80065dfe5aac3705dd", size = 44712 },
+ { url = "https://files.pythonhosted.org/packages/fa/6e/3e955517e22cbdd565f2f8b2e73d52528b14b8bcfdb04f62466b071de847/validators-0.35.0-py3-none-any.whl", hash = "sha256:e8c947097eae7892cb3d26868d637f79f47b4a0554bc6b80065dfe5aac3705dd", size = 44712, upload-time = "2025-05-01T05:42:04.203Z" },
]
[[package]]
@@ -6046,9 +6142,9 @@ dependencies = [
{ name = "platformdirs" },
{ name = "python-discovery" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/aa/92/58199fe10049f9703c2666e809c4f686c54ef0a68b0f6afccf518c0b1eb9/virtualenv-21.2.0.tar.gz", hash = "sha256:1720dc3a62ef5b443092e3f499228599045d7fea4c79199770499df8becf9098", size = 5840618 }
+sdist = { url = "https://files.pythonhosted.org/packages/aa/92/58199fe10049f9703c2666e809c4f686c54ef0a68b0f6afccf518c0b1eb9/virtualenv-21.2.0.tar.gz", hash = "sha256:1720dc3a62ef5b443092e3f499228599045d7fea4c79199770499df8becf9098", size = 5840618, upload-time = "2026-03-09T17:24:38.013Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c6/59/7d02447a55b2e55755011a647479041bc92a82e143f96a8195cb33bd0a1c/virtualenv-21.2.0-py3-none-any.whl", hash = "sha256:1bd755b504931164a5a496d217c014d098426cddc79363ad66ac78125f9d908f", size = 5825084 },
+ { url = "https://files.pythonhosted.org/packages/c6/59/7d02447a55b2e55755011a647479041bc92a82e143f96a8195cb33bd0a1c/virtualenv-21.2.0-py3-none-any.whl", hash = "sha256:1bd755b504931164a5a496d217c014d098426cddc79363ad66ac78125f9d908f", size = 5825084, upload-time = "2026-03-09T17:24:35.378Z" },
]
[[package]]
@@ -6059,21 +6155,21 @@ dependencies = [
{ name = "numpy" },
]
wheels = [
- { url = "https://files.pythonhosted.org/packages/07/c1/57d37108b0cc892314286c221ed9ffe0540768e0f1c5ac583ea6e14d8d9a/voyager-2.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:18ef1903fa85a2ff580f1d5a70f62c1eee710d39487eeeb192f34555cb50be6e", size = 702332 },
- { url = "https://files.pythonhosted.org/packages/3f/94/73002811f8c542d138952d3485bab94b2e280cf4ddf7fd901e1ac6884254/voyager-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:dc23adf051720560cf9f5a958df155edaba6f7b2c3746a1686f92bbc9b846d15", size = 362635 },
- { url = "https://files.pythonhosted.org/packages/ff/3b/770117e65710f22fdbc575072c43824f1526bdb1d000f5089bef5bd4a650/voyager-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4b75034984411ed3120b919f4d7f16ed0406bb5863924a28525b48ac5b4010fa", size = 339880 },
- { url = "https://files.pythonhosted.org/packages/91/87/f3ed4ebeeff371b0b759c277025379dbcb5dbf00083df6c03f5c9727b6cd/voyager-2.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cddf5359d8a88bd5fc12fc71c0e7fd332e4da1d96dac8ae445b0138871cd28b2", size = 4360919 },
- { url = "https://files.pythonhosted.org/packages/b7/13/a772a9a2d4cc427f6b4ae2aca65e50ec99f7bb6037c346cc22a07bc4a326/voyager-2.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9415b9c923bac493d5c68d55ae55c4289153c23f9f478422934de61acbaf4c01", size = 4444514 },
- { url = "https://files.pythonhosted.org/packages/c5/76/02b66dc8c1e9d373327ef15ff3ccdea5be0b104d43d65c8bf52848058331/voyager-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:f8264f438f1df40d11e1f18a069980972a569f5a2f3c0a0d2abef9d4b4078d5c", size = 207456 },
+ { url = "https://files.pythonhosted.org/packages/07/c1/57d37108b0cc892314286c221ed9ffe0540768e0f1c5ac583ea6e14d8d9a/voyager-2.1.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:18ef1903fa85a2ff580f1d5a70f62c1eee710d39487eeeb192f34555cb50be6e", size = 702332, upload-time = "2024-12-13T19:50:55.492Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/94/73002811f8c542d138952d3485bab94b2e280cf4ddf7fd901e1ac6884254/voyager-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:dc23adf051720560cf9f5a958df155edaba6f7b2c3746a1686f92bbc9b846d15", size = 362635, upload-time = "2024-12-13T19:50:57.773Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/3b/770117e65710f22fdbc575072c43824f1526bdb1d000f5089bef5bd4a650/voyager-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4b75034984411ed3120b919f4d7f16ed0406bb5863924a28525b48ac5b4010fa", size = 339880, upload-time = "2024-12-13T19:51:00.123Z" },
+ { url = "https://files.pythonhosted.org/packages/91/87/f3ed4ebeeff371b0b759c277025379dbcb5dbf00083df6c03f5c9727b6cd/voyager-2.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cddf5359d8a88bd5fc12fc71c0e7fd332e4da1d96dac8ae445b0138871cd28b2", size = 4360919, upload-time = "2024-12-13T19:51:02.516Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/13/a772a9a2d4cc427f6b4ae2aca65e50ec99f7bb6037c346cc22a07bc4a326/voyager-2.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9415b9c923bac493d5c68d55ae55c4289153c23f9f478422934de61acbaf4c01", size = 4444514, upload-time = "2024-12-13T19:51:04.235Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/76/02b66dc8c1e9d373327ef15ff3ccdea5be0b104d43d65c8bf52848058331/voyager-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:f8264f438f1df40d11e1f18a069980972a569f5a2f3c0a0d2abef9d4b4078d5c", size = 207456, upload-time = "2024-12-13T19:51:05.582Z" },
]
[[package]]
name = "waitress"
version = "3.0.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/bf/cb/04ddb054f45faa306a230769e868c28b8065ea196891f09004ebace5b184/waitress-3.0.2.tar.gz", hash = "sha256:682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f", size = 179901 }
+sdist = { url = "https://files.pythonhosted.org/packages/bf/cb/04ddb054f45faa306a230769e868c28b8065ea196891f09004ebace5b184/waitress-3.0.2.tar.gz", hash = "sha256:682aaaf2af0c44ada4abfb70ded36393f0e307f4ab9456a215ce0020baefc31f", size = 179901, upload-time = "2024-11-16T20:02:35.195Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/8d/57/a27182528c90ef38d82b636a11f606b0cbb0e17588ed205435f8affe3368/waitress-3.0.2-py3-none-any.whl", hash = "sha256:c56d67fd6e87c2ee598b76abdd4e96cfad1f24cacdea5078d382b1f9d7b5ed2e", size = 56232 },
+ { url = "https://files.pythonhosted.org/packages/8d/57/a27182528c90ef38d82b636a11f606b0cbb0e17588ed205435f8affe3368/waitress-3.0.2-py3-none-any.whl", hash = "sha256:c56d67fd6e87c2ee598b76abdd4e96cfad1f24cacdea5078d382b1f9d7b5ed2e", size = 56232, upload-time = "2024-11-16T20:02:33.858Z" },
]
[[package]]
@@ -6092,53 +6188,53 @@ dependencies = [
{ name = "sentry-sdk" },
{ name = "typing-extensions" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/fd/60/d94952549920469524b689479c864c692ca47eca4b8c2fe3389b64a58778/wandb-0.25.0.tar.gz", hash = "sha256:45840495a288e34245d69d07b5a0b449220fbc5b032e6b51c4f92ec9026d2ad1", size = 43951335 }
+sdist = { url = "https://files.pythonhosted.org/packages/fd/60/d94952549920469524b689479c864c692ca47eca4b8c2fe3389b64a58778/wandb-0.25.0.tar.gz", hash = "sha256:45840495a288e34245d69d07b5a0b449220fbc5b032e6b51c4f92ec9026d2ad1", size = 43951335, upload-time = "2026-02-13T00:17:45.515Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c1/7d/0c131db3ec9deaabbd32263d90863cbfbe07659527e11c35a5c738cecdc5/wandb-0.25.0-py3-none-macosx_12_0_arm64.whl", hash = "sha256:5eecb3c7b5e60d1acfa4b056bfbaa0b79a482566a9db58c9f99724b3862bc8e5", size = 23287536 },
- { url = "https://files.pythonhosted.org/packages/c3/95/31bb7f76a966ec87495e5a72ac7570685be162494c41757ac871768dbc4f/wandb-0.25.0-py3-none-macosx_12_0_x86_64.whl", hash = "sha256:daeedaadb183dc466e634fba90ab2bab1d4e93000912be0dee95065a0624a3fd", size = 25196062 },
- { url = "https://files.pythonhosted.org/packages/d9/a1/258cdedbf30cebc692198a774cf0ef945b7ed98ee64bdaf62621281c95d8/wandb-0.25.0-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:5e0127dbcef13eea48f4b84268da7004d34d3120ebc7b2fa9cefb72b49dbb825", size = 22799744 },
- { url = "https://files.pythonhosted.org/packages/de/91/ec9465d014cfd199c5b2083d271d31b3c2aedeae66f3d8a0712f7f54bdf3/wandb-0.25.0-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:6c4c38077836f9b7569a35b0e1dcf1f0c43616fcd936d182f475edbfea063665", size = 25262839 },
- { url = "https://files.pythonhosted.org/packages/c7/95/cb2d1c7143f534544147fb53fe87944508b8cb9a058bc5b6f8a94adbee15/wandb-0.25.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6edd8948d305cb73745bf564b807bd73da2ccbd47c548196b8a362f7df40aed8", size = 22853714 },
- { url = "https://files.pythonhosted.org/packages/d7/94/68163f70c1669edcf130822aaaea782d8198b5df74443eca0085ec596774/wandb-0.25.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ada6f08629bb014ad6e0a19d5dec478cdaa116431baa3f0a4bf4ab8d9893611f", size = 25358037 },
- { url = "https://files.pythonhosted.org/packages/cc/fb/9578eed2c01b2fc6c8b693da110aa9c73a33d7bb556480f5cfc42e48c94e/wandb-0.25.0-py3-none-win32.whl", hash = "sha256:020b42ca4d76e347709d65f59b30d4623a115edc28f462af1c92681cb17eae7c", size = 24604118 },
- { url = "https://files.pythonhosted.org/packages/25/97/460f6cb738aaa39b4eb2e6b4c630b2ae4321cdd70a79d5955ea75a878981/wandb-0.25.0-py3-none-win_amd64.whl", hash = "sha256:78307ac0b328f2dc334c8607bec772851215584b62c439eb320c4af4fb077a00", size = 24604122 },
- { url = "https://files.pythonhosted.org/packages/27/6c/5847b4dda1dfd52630dac08711d4348c69ed657f0698fc2d949c7f7a6622/wandb-0.25.0-py3-none-win_arm64.whl", hash = "sha256:c6174401fd6fb726295e98d57b4231c100eca96bd17de51bfc64038a57230aaf", size = 21785298 },
+ { url = "https://files.pythonhosted.org/packages/c1/7d/0c131db3ec9deaabbd32263d90863cbfbe07659527e11c35a5c738cecdc5/wandb-0.25.0-py3-none-macosx_12_0_arm64.whl", hash = "sha256:5eecb3c7b5e60d1acfa4b056bfbaa0b79a482566a9db58c9f99724b3862bc8e5", size = 23287536, upload-time = "2026-02-13T00:17:20.265Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/95/31bb7f76a966ec87495e5a72ac7570685be162494c41757ac871768dbc4f/wandb-0.25.0-py3-none-macosx_12_0_x86_64.whl", hash = "sha256:daeedaadb183dc466e634fba90ab2bab1d4e93000912be0dee95065a0624a3fd", size = 25196062, upload-time = "2026-02-13T00:17:23.356Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/a1/258cdedbf30cebc692198a774cf0ef945b7ed98ee64bdaf62621281c95d8/wandb-0.25.0-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:5e0127dbcef13eea48f4b84268da7004d34d3120ebc7b2fa9cefb72b49dbb825", size = 22799744, upload-time = "2026-02-13T00:17:26.437Z" },
+ { url = "https://files.pythonhosted.org/packages/de/91/ec9465d014cfd199c5b2083d271d31b3c2aedeae66f3d8a0712f7f54bdf3/wandb-0.25.0-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:6c4c38077836f9b7569a35b0e1dcf1f0c43616fcd936d182f475edbfea063665", size = 25262839, upload-time = "2026-02-13T00:17:28.8Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/95/cb2d1c7143f534544147fb53fe87944508b8cb9a058bc5b6f8a94adbee15/wandb-0.25.0-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:6edd8948d305cb73745bf564b807bd73da2ccbd47c548196b8a362f7df40aed8", size = 22853714, upload-time = "2026-02-13T00:17:31.68Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/94/68163f70c1669edcf130822aaaea782d8198b5df74443eca0085ec596774/wandb-0.25.0-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:ada6f08629bb014ad6e0a19d5dec478cdaa116431baa3f0a4bf4ab8d9893611f", size = 25358037, upload-time = "2026-02-13T00:17:34.676Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/fb/9578eed2c01b2fc6c8b693da110aa9c73a33d7bb556480f5cfc42e48c94e/wandb-0.25.0-py3-none-win32.whl", hash = "sha256:020b42ca4d76e347709d65f59b30d4623a115edc28f462af1c92681cb17eae7c", size = 24604118, upload-time = "2026-02-13T00:17:37.641Z" },
+ { url = "https://files.pythonhosted.org/packages/25/97/460f6cb738aaa39b4eb2e6b4c630b2ae4321cdd70a79d5955ea75a878981/wandb-0.25.0-py3-none-win_amd64.whl", hash = "sha256:78307ac0b328f2dc334c8607bec772851215584b62c439eb320c4af4fb077a00", size = 24604122, upload-time = "2026-02-13T00:17:39.991Z" },
+ { url = "https://files.pythonhosted.org/packages/27/6c/5847b4dda1dfd52630dac08711d4348c69ed657f0698fc2d949c7f7a6622/wandb-0.25.0-py3-none-win_arm64.whl", hash = "sha256:c6174401fd6fb726295e98d57b4231c100eca96bd17de51bfc64038a57230aaf", size = 21785298, upload-time = "2026-02-13T00:17:42.475Z" },
]
[[package]]
name = "warc3-wet"
version = "0.2.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/21/c6/24c9b4a2b2b1741b57d7f44ff9790eb4ef28de898c17c2b1ca1efabf8c96/warc3_wet-0.2.5.tar.gz", hash = "sha256:15e50402dabaa1e95307f1e2a6169cfd5f137b70761d9f0b16a10aa6de227970", size = 17937 }
+sdist = { url = "https://files.pythonhosted.org/packages/21/c6/24c9b4a2b2b1741b57d7f44ff9790eb4ef28de898c17c2b1ca1efabf8c96/warc3_wet-0.2.5.tar.gz", hash = "sha256:15e50402dabaa1e95307f1e2a6169cfd5f137b70761d9f0b16a10aa6de227970", size = 17937, upload-time = "2024-07-17T08:33:51.765Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/f4/99/0a5582a106679fd9439af51631b6c6cb627fd96cbc85a02927e6812605b8/warc3_wet-0.2.5-py3-none-any.whl", hash = "sha256:5a9a525383fb1af159734baa75f349a7c4ec7bccd1b938681b5748515d2bf624", size = 18657 },
+ { url = "https://files.pythonhosted.org/packages/f4/99/0a5582a106679fd9439af51631b6c6cb627fd96cbc85a02927e6812605b8/warc3_wet-0.2.5-py3-none-any.whl", hash = "sha256:5a9a525383fb1af159734baa75f349a7c4ec7bccd1b938681b5748515d2bf624", size = 18657, upload-time = "2024-07-17T08:33:50.086Z" },
]
[[package]]
name = "warc3-wet-clueweb09"
version = "0.2.5"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/9f/c1/dd817bf57e0274dacb10e0ac868cb6cd70876950cf361c41879c030a2b8b/warc3-wet-clueweb09-0.2.5.tar.gz", hash = "sha256:3054bfc07da525d5967df8ca3175f78fa3f78514c82643f8c81fbca96300b836", size = 17853 }
+sdist = { url = "https://files.pythonhosted.org/packages/9f/c1/dd817bf57e0274dacb10e0ac868cb6cd70876950cf361c41879c030a2b8b/warc3-wet-clueweb09-0.2.5.tar.gz", hash = "sha256:3054bfc07da525d5967df8ca3175f78fa3f78514c82643f8c81fbca96300b836", size = 17853, upload-time = "2020-12-07T23:59:04.599Z" }
[[package]]
name = "watchdog"
version = "6.0.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/db/7d/7f3d619e951c88ed75c6037b246ddcf2d322812ee8ea189be89511721d54/watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282", size = 131220 }
+sdist = { url = "https://files.pythonhosted.org/packages/db/7d/7f3d619e951c88ed75c6037b246ddcf2d322812ee8ea189be89511721d54/watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282", size = 131220, upload-time = "2024-11-01T14:07:13.037Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/39/ea/3930d07dafc9e286ed356a679aa02d777c06e9bfd1164fa7c19c288a5483/watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948", size = 96471 },
- { url = "https://files.pythonhosted.org/packages/12/87/48361531f70b1f87928b045df868a9fd4e253d9ae087fa4cf3f7113be363/watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860", size = 88449 },
- { url = "https://files.pythonhosted.org/packages/5b/7e/8f322f5e600812e6f9a31b75d242631068ca8f4ef0582dd3ae6e72daecc8/watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0", size = 89054 },
- { url = "https://files.pythonhosted.org/packages/a9/c7/ca4bf3e518cb57a686b2feb4f55a1892fd9a3dd13f470fca14e00f80ea36/watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13", size = 79079 },
- { url = "https://files.pythonhosted.org/packages/5c/51/d46dc9332f9a647593c947b4b88e2381c8dfc0942d15b8edc0310fa4abb1/watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379", size = 79078 },
- { url = "https://files.pythonhosted.org/packages/d4/57/04edbf5e169cd318d5f07b4766fee38e825d64b6913ca157ca32d1a42267/watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e", size = 79076 },
- { url = "https://files.pythonhosted.org/packages/ab/cc/da8422b300e13cb187d2203f20b9253e91058aaf7db65b74142013478e66/watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f", size = 79077 },
- { url = "https://files.pythonhosted.org/packages/2c/3b/b8964e04ae1a025c44ba8e4291f86e97fac443bca31de8bd98d3263d2fcf/watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26", size = 79078 },
- { url = "https://files.pythonhosted.org/packages/62/ae/a696eb424bedff7407801c257d4b1afda455fe40821a2be430e173660e81/watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c", size = 79077 },
- { url = "https://files.pythonhosted.org/packages/b5/e8/dbf020b4d98251a9860752a094d09a65e1b436ad181faf929983f697048f/watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2", size = 79078 },
- { url = "https://files.pythonhosted.org/packages/07/f6/d0e5b343768e8bcb4cda79f0f2f55051bf26177ecd5651f84c07567461cf/watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a", size = 79065 },
- { url = "https://files.pythonhosted.org/packages/db/d9/c495884c6e548fce18a8f40568ff120bc3a4b7b99813081c8ac0c936fa64/watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680", size = 79070 },
- { url = "https://files.pythonhosted.org/packages/33/e8/e40370e6d74ddba47f002a32919d91310d6074130fe4e17dabcafc15cbf1/watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f", size = 79067 },
+ { url = "https://files.pythonhosted.org/packages/39/ea/3930d07dafc9e286ed356a679aa02d777c06e9bfd1164fa7c19c288a5483/watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948", size = 96471, upload-time = "2024-11-01T14:06:37.745Z" },
+ { url = "https://files.pythonhosted.org/packages/12/87/48361531f70b1f87928b045df868a9fd4e253d9ae087fa4cf3f7113be363/watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860", size = 88449, upload-time = "2024-11-01T14:06:39.748Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/7e/8f322f5e600812e6f9a31b75d242631068ca8f4ef0582dd3ae6e72daecc8/watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0", size = 89054, upload-time = "2024-11-01T14:06:41.009Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/c7/ca4bf3e518cb57a686b2feb4f55a1892fd9a3dd13f470fca14e00f80ea36/watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13", size = 79079, upload-time = "2024-11-01T14:06:59.472Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/51/d46dc9332f9a647593c947b4b88e2381c8dfc0942d15b8edc0310fa4abb1/watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379", size = 79078, upload-time = "2024-11-01T14:07:01.431Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/57/04edbf5e169cd318d5f07b4766fee38e825d64b6913ca157ca32d1a42267/watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e", size = 79076, upload-time = "2024-11-01T14:07:02.568Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/cc/da8422b300e13cb187d2203f20b9253e91058aaf7db65b74142013478e66/watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f", size = 79077, upload-time = "2024-11-01T14:07:03.893Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/3b/b8964e04ae1a025c44ba8e4291f86e97fac443bca31de8bd98d3263d2fcf/watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26", size = 79078, upload-time = "2024-11-01T14:07:05.189Z" },
+ { url = "https://files.pythonhosted.org/packages/62/ae/a696eb424bedff7407801c257d4b1afda455fe40821a2be430e173660e81/watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c", size = 79077, upload-time = "2024-11-01T14:07:06.376Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/e8/dbf020b4d98251a9860752a094d09a65e1b436ad181faf929983f697048f/watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2", size = 79078, upload-time = "2024-11-01T14:07:07.547Z" },
+ { url = "https://files.pythonhosted.org/packages/07/f6/d0e5b343768e8bcb4cda79f0f2f55051bf26177ecd5651f84c07567461cf/watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a", size = 79065, upload-time = "2024-11-01T14:07:09.525Z" },
+ { url = "https://files.pythonhosted.org/packages/db/d9/c495884c6e548fce18a8f40568ff120bc3a4b7b99813081c8ac0c936fa64/watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680", size = 79070, upload-time = "2024-11-01T14:07:10.686Z" },
+ { url = "https://files.pythonhosted.org/packages/33/e8/e40370e6d74ddba47f002a32919d91310d6074130fe4e17dabcafc15cbf1/watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f", size = 79067, upload-time = "2024-11-01T14:07:11.845Z" },
]
[[package]]
@@ -6148,30 +6244,30 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "anyio" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c2/c9/8869df9b2a2d6c59d79220a4db37679e74f807c559ffe5265e08b227a210/watchfiles-1.1.1.tar.gz", hash = "sha256:a173cb5c16c4f40ab19cecf48a534c409f7ea983ab8fed0741304a1c0a31b3f2", size = 94440 }
+sdist = { url = "https://files.pythonhosted.org/packages/c2/c9/8869df9b2a2d6c59d79220a4db37679e74f807c559ffe5265e08b227a210/watchfiles-1.1.1.tar.gz", hash = "sha256:a173cb5c16c4f40ab19cecf48a534c409f7ea983ab8fed0741304a1c0a31b3f2", size = 94440, upload-time = "2025-10-14T15:06:21.08Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/74/d5/f039e7e3c639d9b1d09b07ea412a6806d38123f0508e5f9b48a87b0a76cc/watchfiles-1.1.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:8c89f9f2f740a6b7dcc753140dd5e1ab9215966f7a3530d0c0705c83b401bd7d", size = 404745 },
- { url = "https://files.pythonhosted.org/packages/a5/96/a881a13aa1349827490dab2d363c8039527060cfcc2c92cc6d13d1b1049e/watchfiles-1.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bd404be08018c37350f0d6e34676bd1e2889990117a2b90070b3007f172d0610", size = 391769 },
- { url = "https://files.pythonhosted.org/packages/4b/5b/d3b460364aeb8da471c1989238ea0e56bec24b6042a68046adf3d9ddb01c/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8526e8f916bb5b9a0a777c8317c23ce65de259422bba5b31325a6fa6029d33af", size = 449374 },
- { url = "https://files.pythonhosted.org/packages/b9/44/5769cb62d4ed055cb17417c0a109a92f007114a4e07f30812a73a4efdb11/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2edc3553362b1c38d9f06242416a5d8e9fe235c204a4072e988ce2e5bb1f69f6", size = 459485 },
- { url = "https://files.pythonhosted.org/packages/19/0c/286b6301ded2eccd4ffd0041a1b726afda999926cf720aab63adb68a1e36/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:30f7da3fb3f2844259cba4720c3fc7138eb0f7b659c38f3bfa65084c7fc7abce", size = 488813 },
- { url = "https://files.pythonhosted.org/packages/c7/2b/8530ed41112dd4a22f4dcfdb5ccf6a1baad1ff6eed8dc5a5f09e7e8c41c7/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8979280bdafff686ba5e4d8f97840f929a87ed9cdf133cbbd42f7766774d2aa", size = 594816 },
- { url = "https://files.pythonhosted.org/packages/ce/d2/f5f9fb49489f184f18470d4f99f4e862a4b3e9ac2865688eb2099e3d837a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dcc5c24523771db3a294c77d94771abcfcb82a0e0ee8efd910c37c59ec1b31bb", size = 475186 },
- { url = "https://files.pythonhosted.org/packages/cf/68/5707da262a119fb06fbe214d82dd1fe4a6f4af32d2d14de368d0349eb52a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1db5d7ae38ff20153d542460752ff397fcf5c96090c1230803713cf3147a6803", size = 456812 },
- { url = "https://files.pythonhosted.org/packages/66/ab/3cbb8756323e8f9b6f9acb9ef4ec26d42b2109bce830cc1f3468df20511d/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:28475ddbde92df1874b6c5c8aaeb24ad5be47a11f87cde5a28ef3835932e3e94", size = 630196 },
- { url = "https://files.pythonhosted.org/packages/78/46/7152ec29b8335f80167928944a94955015a345440f524d2dfe63fc2f437b/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:36193ed342f5b9842edd3532729a2ad55c4160ffcfa3700e0d54be496b70dd43", size = 622657 },
- { url = "https://files.pythonhosted.org/packages/0a/bf/95895e78dd75efe9a7f31733607f384b42eb5feb54bd2eb6ed57cc2e94f4/watchfiles-1.1.1-cp312-cp312-win32.whl", hash = "sha256:859e43a1951717cc8de7f4c77674a6d389b106361585951d9e69572823f311d9", size = 272042 },
- { url = "https://files.pythonhosted.org/packages/87/0a/90eb755f568de2688cb220171c4191df932232c20946966c27a59c400850/watchfiles-1.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:91d4c9a823a8c987cce8fa2690923b069966dabb196dd8d137ea2cede885fde9", size = 288410 },
- { url = "https://files.pythonhosted.org/packages/36/76/f322701530586922fbd6723c4f91ace21364924822a8772c549483abed13/watchfiles-1.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:a625815d4a2bdca61953dbba5a39d60164451ef34c88d751f6c368c3ea73d404", size = 278209 },
+ { url = "https://files.pythonhosted.org/packages/74/d5/f039e7e3c639d9b1d09b07ea412a6806d38123f0508e5f9b48a87b0a76cc/watchfiles-1.1.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:8c89f9f2f740a6b7dcc753140dd5e1ab9215966f7a3530d0c0705c83b401bd7d", size = 404745, upload-time = "2025-10-14T15:04:46.731Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/96/a881a13aa1349827490dab2d363c8039527060cfcc2c92cc6d13d1b1049e/watchfiles-1.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bd404be08018c37350f0d6e34676bd1e2889990117a2b90070b3007f172d0610", size = 391769, upload-time = "2025-10-14T15:04:48.003Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/5b/d3b460364aeb8da471c1989238ea0e56bec24b6042a68046adf3d9ddb01c/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8526e8f916bb5b9a0a777c8317c23ce65de259422bba5b31325a6fa6029d33af", size = 449374, upload-time = "2025-10-14T15:04:49.179Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/44/5769cb62d4ed055cb17417c0a109a92f007114a4e07f30812a73a4efdb11/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2edc3553362b1c38d9f06242416a5d8e9fe235c204a4072e988ce2e5bb1f69f6", size = 459485, upload-time = "2025-10-14T15:04:50.155Z" },
+ { url = "https://files.pythonhosted.org/packages/19/0c/286b6301ded2eccd4ffd0041a1b726afda999926cf720aab63adb68a1e36/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:30f7da3fb3f2844259cba4720c3fc7138eb0f7b659c38f3bfa65084c7fc7abce", size = 488813, upload-time = "2025-10-14T15:04:51.059Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/2b/8530ed41112dd4a22f4dcfdb5ccf6a1baad1ff6eed8dc5a5f09e7e8c41c7/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8979280bdafff686ba5e4d8f97840f929a87ed9cdf133cbbd42f7766774d2aa", size = 594816, upload-time = "2025-10-14T15:04:52.031Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/d2/f5f9fb49489f184f18470d4f99f4e862a4b3e9ac2865688eb2099e3d837a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dcc5c24523771db3a294c77d94771abcfcb82a0e0ee8efd910c37c59ec1b31bb", size = 475186, upload-time = "2025-10-14T15:04:53.064Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/68/5707da262a119fb06fbe214d82dd1fe4a6f4af32d2d14de368d0349eb52a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1db5d7ae38ff20153d542460752ff397fcf5c96090c1230803713cf3147a6803", size = 456812, upload-time = "2025-10-14T15:04:55.174Z" },
+ { url = "https://files.pythonhosted.org/packages/66/ab/3cbb8756323e8f9b6f9acb9ef4ec26d42b2109bce830cc1f3468df20511d/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:28475ddbde92df1874b6c5c8aaeb24ad5be47a11f87cde5a28ef3835932e3e94", size = 630196, upload-time = "2025-10-14T15:04:56.22Z" },
+ { url = "https://files.pythonhosted.org/packages/78/46/7152ec29b8335f80167928944a94955015a345440f524d2dfe63fc2f437b/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:36193ed342f5b9842edd3532729a2ad55c4160ffcfa3700e0d54be496b70dd43", size = 622657, upload-time = "2025-10-14T15:04:57.521Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/bf/95895e78dd75efe9a7f31733607f384b42eb5feb54bd2eb6ed57cc2e94f4/watchfiles-1.1.1-cp312-cp312-win32.whl", hash = "sha256:859e43a1951717cc8de7f4c77674a6d389b106361585951d9e69572823f311d9", size = 272042, upload-time = "2025-10-14T15:04:59.046Z" },
+ { url = "https://files.pythonhosted.org/packages/87/0a/90eb755f568de2688cb220171c4191df932232c20946966c27a59c400850/watchfiles-1.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:91d4c9a823a8c987cce8fa2690923b069966dabb196dd8d137ea2cede885fde9", size = 288410, upload-time = "2025-10-14T15:05:00.081Z" },
+ { url = "https://files.pythonhosted.org/packages/36/76/f322701530586922fbd6723c4f91ace21364924822a8772c549483abed13/watchfiles-1.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:a625815d4a2bdca61953dbba5a39d60164451ef34c88d751f6c368c3ea73d404", size = 278209, upload-time = "2025-10-14T15:05:01.168Z" },
]
[[package]]
name = "wcwidth"
version = "0.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/35/a2/8e3becb46433538a38726c948d3399905a4c7cabd0df578ede5dc51f0ec2/wcwidth-0.6.0.tar.gz", hash = "sha256:cdc4e4262d6ef9a1a57e018384cbeb1208d8abbc64176027e2c2455c81313159", size = 159684 }
+sdist = { url = "https://files.pythonhosted.org/packages/35/a2/8e3becb46433538a38726c948d3399905a4c7cabd0df578ede5dc51f0ec2/wcwidth-0.6.0.tar.gz", hash = "sha256:cdc4e4262d6ef9a1a57e018384cbeb1208d8abbc64176027e2c2455c81313159", size = 159684, upload-time = "2026-02-06T19:19:40.919Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/68/5a/199c59e0a824a3db2b89c5d2dade7ab5f9624dbf6448dc291b46d5ec94d3/wcwidth-0.6.0-py3-none-any.whl", hash = "sha256:1a3a1e510b553315f8e146c54764f4fb6264ffad731b3d78088cdb1478ffbdad", size = 94189 },
+ { url = "https://files.pythonhosted.org/packages/68/5a/199c59e0a824a3db2b89c5d2dade7ab5f9624dbf6448dc291b46d5ec94d3/wcwidth-0.6.0-py3-none-any.whl", hash = "sha256:1a3a1e510b553315f8e146c54764f4fb6264ffad731b3d78088cdb1478ffbdad", size = 94189, upload-time = "2026-02-06T19:19:39.646Z" },
]
[[package]]
@@ -6187,38 +6283,38 @@ dependencies = [
{ name = "pydantic" },
{ name = "validators" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/c9/1c/82b560254f612f95b644849d86e092da6407f17965d61e22b583b30b72cf/weaviate_client-4.20.4.tar.gz", hash = "sha256:08703234b59e4e03739f39e740e9e88cb50cd0aa147d9408b88ea6ce995c37b6", size = 809529 }
+sdist = { url = "https://files.pythonhosted.org/packages/c9/1c/82b560254f612f95b644849d86e092da6407f17965d61e22b583b30b72cf/weaviate_client-4.20.4.tar.gz", hash = "sha256:08703234b59e4e03739f39e740e9e88cb50cd0aa147d9408b88ea6ce995c37b6", size = 809529, upload-time = "2026-03-10T15:08:13.845Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/1d/d7/9461c3e7d8c44080d2307078e33dc7fefefa3171c8f930f2b83a5cbf67f2/weaviate_client-4.20.4-py3-none-any.whl", hash = "sha256:7af3a213bebcb30dcf456b0db8b6225d8926106b835d7b883276de9dc1c301fe", size = 619517 },
+ { url = "https://files.pythonhosted.org/packages/1d/d7/9461c3e7d8c44080d2307078e33dc7fefefa3171c8f930f2b83a5cbf67f2/weaviate_client-4.20.4-py3-none-any.whl", hash = "sha256:7af3a213bebcb30dcf456b0db8b6225d8926106b835d7b883276de9dc1c301fe", size = 619517, upload-time = "2026-03-10T15:08:12.047Z" },
]
[[package]]
name = "websocket-client"
version = "1.9.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/2c/41/aa4bf9664e4cda14c3b39865b12251e8e7d239f4cd0e3cc1b6c2ccde25c1/websocket_client-1.9.0.tar.gz", hash = "sha256:9e813624b6eb619999a97dc7958469217c3176312b3a16a4bd1bc7e08a46ec98", size = 70576 }
+sdist = { url = "https://files.pythonhosted.org/packages/2c/41/aa4bf9664e4cda14c3b39865b12251e8e7d239f4cd0e3cc1b6c2ccde25c1/websocket_client-1.9.0.tar.gz", hash = "sha256:9e813624b6eb619999a97dc7958469217c3176312b3a16a4bd1bc7e08a46ec98", size = 70576, upload-time = "2025-10-07T21:16:36.495Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/34/db/b10e48aa8fff7407e67470363eac595018441cf32d5e1001567a7aeba5d2/websocket_client-1.9.0-py3-none-any.whl", hash = "sha256:af248a825037ef591efbf6ed20cc5faa03d3b47b9e5a2230a529eeee1c1fc3ef", size = 82616 },
+ { url = "https://files.pythonhosted.org/packages/34/db/b10e48aa8fff7407e67470363eac595018441cf32d5e1001567a7aeba5d2/websocket_client-1.9.0-py3-none-any.whl", hash = "sha256:af248a825037ef591efbf6ed20cc5faa03d3b47b9e5a2230a529eeee1c1fc3ef", size = 82616, upload-time = "2025-10-07T21:16:34.951Z" },
]
[[package]]
name = "websockets"
version = "14.2"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/94/54/8359678c726243d19fae38ca14a334e740782336c9f19700858c4eb64a1e/websockets-14.2.tar.gz", hash = "sha256:5059ed9c54945efb321f097084b4c7e52c246f2c869815876a69d1efc4ad6eb5", size = 164394 }
+sdist = { url = "https://files.pythonhosted.org/packages/94/54/8359678c726243d19fae38ca14a334e740782336c9f19700858c4eb64a1e/websockets-14.2.tar.gz", hash = "sha256:5059ed9c54945efb321f097084b4c7e52c246f2c869815876a69d1efc4ad6eb5", size = 164394, upload-time = "2025-01-19T21:00:56.431Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/c1/81/04f7a397653dc8bec94ddc071f34833e8b99b13ef1a3804c149d59f92c18/websockets-14.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1f20522e624d7ffbdbe259c6b6a65d73c895045f76a93719aa10cd93b3de100c", size = 163096 },
- { url = "https://files.pythonhosted.org/packages/ec/c5/de30e88557e4d70988ed4d2eabd73fd3e1e52456b9f3a4e9564d86353b6d/websockets-14.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:647b573f7d3ada919fd60e64d533409a79dcf1ea21daeb4542d1d996519ca967", size = 160758 },
- { url = "https://files.pythonhosted.org/packages/e5/8c/d130d668781f2c77d106c007b6c6c1d9db68239107c41ba109f09e6c218a/websockets-14.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6af99a38e49f66be5a64b1e890208ad026cda49355661549c507152113049990", size = 160995 },
- { url = "https://files.pythonhosted.org/packages/a6/bc/f6678a0ff17246df4f06765e22fc9d98d1b11a258cc50c5968b33d6742a1/websockets-14.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:091ab63dfc8cea748cc22c1db2814eadb77ccbf82829bac6b2fbe3401d548eda", size = 170815 },
- { url = "https://files.pythonhosted.org/packages/d8/b2/8070cb970c2e4122a6ef38bc5b203415fd46460e025652e1ee3f2f43a9a3/websockets-14.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b374e8953ad477d17e4851cdc66d83fdc2db88d9e73abf755c94510ebddceb95", size = 169759 },
- { url = "https://files.pythonhosted.org/packages/81/da/72f7caabd94652e6eb7e92ed2d3da818626e70b4f2b15a854ef60bf501ec/websockets-14.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a39d7eceeea35db85b85e1169011bb4321c32e673920ae9c1b6e0978590012a3", size = 170178 },
- { url = "https://files.pythonhosted.org/packages/31/e0/812725b6deca8afd3a08a2e81b3c4c120c17f68c9b84522a520b816cda58/websockets-14.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0a6f3efd47ffd0d12080594f434faf1cd2549b31e54870b8470b28cc1d3817d9", size = 170453 },
- { url = "https://files.pythonhosted.org/packages/66/d3/8275dbc231e5ba9bb0c4f93144394b4194402a7a0c8ffaca5307a58ab5e3/websockets-14.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:065ce275e7c4ffb42cb738dd6b20726ac26ac9ad0a2a48e33ca632351a737267", size = 169830 },
- { url = "https://files.pythonhosted.org/packages/a3/ae/e7d1a56755ae15ad5a94e80dd490ad09e345365199600b2629b18ee37bc7/websockets-14.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e9d0e53530ba7b8b5e389c02282f9d2aa47581514bd6049d3a7cffe1385cf5fe", size = 169824 },
- { url = "https://files.pythonhosted.org/packages/b6/32/88ccdd63cb261e77b882e706108d072e4f1c839ed723bf91a3e1f216bf60/websockets-14.2-cp312-cp312-win32.whl", hash = "sha256:20e6dd0984d7ca3037afcb4494e48c74ffb51e8013cac71cf607fffe11df7205", size = 163981 },
- { url = "https://files.pythonhosted.org/packages/b3/7d/32cdb77990b3bdc34a306e0a0f73a1275221e9a66d869f6ff833c95b56ef/websockets-14.2-cp312-cp312-win_amd64.whl", hash = "sha256:44bba1a956c2c9d268bdcdf234d5e5ff4c9b6dc3e300545cbe99af59dda9dcce", size = 164421 },
- { url = "https://files.pythonhosted.org/packages/7b/c8/d529f8a32ce40d98309f4470780631e971a5a842b60aec864833b3615786/websockets-14.2-py3-none-any.whl", hash = "sha256:7a6ceec4ea84469f15cf15807a747e9efe57e369c384fa86e022b3bea679b79b", size = 157416 },
+ { url = "https://files.pythonhosted.org/packages/c1/81/04f7a397653dc8bec94ddc071f34833e8b99b13ef1a3804c149d59f92c18/websockets-14.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1f20522e624d7ffbdbe259c6b6a65d73c895045f76a93719aa10cd93b3de100c", size = 163096, upload-time = "2025-01-19T20:59:29.763Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/c5/de30e88557e4d70988ed4d2eabd73fd3e1e52456b9f3a4e9564d86353b6d/websockets-14.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:647b573f7d3ada919fd60e64d533409a79dcf1ea21daeb4542d1d996519ca967", size = 160758, upload-time = "2025-01-19T20:59:32.095Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/8c/d130d668781f2c77d106c007b6c6c1d9db68239107c41ba109f09e6c218a/websockets-14.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6af99a38e49f66be5a64b1e890208ad026cda49355661549c507152113049990", size = 160995, upload-time = "2025-01-19T20:59:33.527Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/bc/f6678a0ff17246df4f06765e22fc9d98d1b11a258cc50c5968b33d6742a1/websockets-14.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:091ab63dfc8cea748cc22c1db2814eadb77ccbf82829bac6b2fbe3401d548eda", size = 170815, upload-time = "2025-01-19T20:59:35.837Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/b2/8070cb970c2e4122a6ef38bc5b203415fd46460e025652e1ee3f2f43a9a3/websockets-14.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b374e8953ad477d17e4851cdc66d83fdc2db88d9e73abf755c94510ebddceb95", size = 169759, upload-time = "2025-01-19T20:59:38.216Z" },
+ { url = "https://files.pythonhosted.org/packages/81/da/72f7caabd94652e6eb7e92ed2d3da818626e70b4f2b15a854ef60bf501ec/websockets-14.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a39d7eceeea35db85b85e1169011bb4321c32e673920ae9c1b6e0978590012a3", size = 170178, upload-time = "2025-01-19T20:59:40.423Z" },
+ { url = "https://files.pythonhosted.org/packages/31/e0/812725b6deca8afd3a08a2e81b3c4c120c17f68c9b84522a520b816cda58/websockets-14.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0a6f3efd47ffd0d12080594f434faf1cd2549b31e54870b8470b28cc1d3817d9", size = 170453, upload-time = "2025-01-19T20:59:41.996Z" },
+ { url = "https://files.pythonhosted.org/packages/66/d3/8275dbc231e5ba9bb0c4f93144394b4194402a7a0c8ffaca5307a58ab5e3/websockets-14.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:065ce275e7c4ffb42cb738dd6b20726ac26ac9ad0a2a48e33ca632351a737267", size = 169830, upload-time = "2025-01-19T20:59:44.669Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/ae/e7d1a56755ae15ad5a94e80dd490ad09e345365199600b2629b18ee37bc7/websockets-14.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e9d0e53530ba7b8b5e389c02282f9d2aa47581514bd6049d3a7cffe1385cf5fe", size = 169824, upload-time = "2025-01-19T20:59:46.932Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/32/88ccdd63cb261e77b882e706108d072e4f1c839ed723bf91a3e1f216bf60/websockets-14.2-cp312-cp312-win32.whl", hash = "sha256:20e6dd0984d7ca3037afcb4494e48c74ffb51e8013cac71cf607fffe11df7205", size = 163981, upload-time = "2025-01-19T20:59:49.228Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/7d/32cdb77990b3bdc34a306e0a0f73a1275221e9a66d869f6ff833c95b56ef/websockets-14.2-cp312-cp312-win_amd64.whl", hash = "sha256:44bba1a956c2c9d268bdcdf234d5e5ff4c9b6dc3e300545cbe99af59dda9dcce", size = 164421, upload-time = "2025-01-19T20:59:50.674Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/c8/d529f8a32ce40d98309f4470780631e971a5a842b60aec864833b3615786/websockets-14.2-py3-none-any.whl", hash = "sha256:7a6ceec4ea84469f15cf15807a747e9efe57e369c384fa86e022b3bea679b79b", size = 157416, upload-time = "2025-01-19T21:00:54.843Z" },
]
[[package]]
@@ -6228,37 +6324,37 @@ source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "markupsafe" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/61/f1/ee81806690a87dab5f5653c1f146c92bc066d7f4cebc603ef88eb9e13957/werkzeug-3.1.6.tar.gz", hash = "sha256:210c6bede5a420a913956b4791a7f4d6843a43b6fcee4dfa08a65e93007d0d25", size = 864736 }
+sdist = { url = "https://files.pythonhosted.org/packages/61/f1/ee81806690a87dab5f5653c1f146c92bc066d7f4cebc603ef88eb9e13957/werkzeug-3.1.6.tar.gz", hash = "sha256:210c6bede5a420a913956b4791a7f4d6843a43b6fcee4dfa08a65e93007d0d25", size = 864736, upload-time = "2026-02-19T15:17:18.884Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/4d/ec/d58832f89ede95652fd01f4f24236af7d32b70cab2196dfcc2d2fd13c5c2/werkzeug-3.1.6-py3-none-any.whl", hash = "sha256:7ddf3357bb9564e407607f988f683d72038551200c704012bb9a4c523d42f131", size = 225166 },
+ { url = "https://files.pythonhosted.org/packages/4d/ec/d58832f89ede95652fd01f4f24236af7d32b70cab2196dfcc2d2fd13c5c2/werkzeug-3.1.6-py3-none-any.whl", hash = "sha256:7ddf3357bb9564e407607f988f683d72038551200c704012bb9a4c523d42f131", size = 225166, upload-time = "2026-02-19T15:17:17.475Z" },
]
[[package]]
name = "win32-setctime"
version = "1.2.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/b3/8f/705086c9d734d3b663af0e9bb3d4de6578d08f46b1b101c2442fd9aecaa2/win32_setctime-1.2.0.tar.gz", hash = "sha256:ae1fdf948f5640aae05c511ade119313fb6a30d7eabe25fef9764dca5873c4c0", size = 4867 }
+sdist = { url = "https://files.pythonhosted.org/packages/b3/8f/705086c9d734d3b663af0e9bb3d4de6578d08f46b1b101c2442fd9aecaa2/win32_setctime-1.2.0.tar.gz", hash = "sha256:ae1fdf948f5640aae05c511ade119313fb6a30d7eabe25fef9764dca5873c4c0", size = 4867, upload-time = "2024-12-07T15:28:28.314Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/e1/07/c6fe3ad3e685340704d314d765b7912993bcb8dc198f0e7a89382d37974b/win32_setctime-1.2.0-py3-none-any.whl", hash = "sha256:95d644c4e708aba81dc3704a116d8cbc974d70b3bdb8be1d150e36be6e9d1390", size = 4083 },
+ { url = "https://files.pythonhosted.org/packages/e1/07/c6fe3ad3e685340704d314d765b7912993bcb8dc198f0e7a89382d37974b/win32_setctime-1.2.0-py3-none-any.whl", hash = "sha256:95d644c4e708aba81dc3704a116d8cbc974d70b3bdb8be1d150e36be6e9d1390", size = 4083, upload-time = "2024-12-07T15:28:26.465Z" },
]
[[package]]
name = "wrapt"
version = "1.17.3"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/95/8f/aeb76c5b46e273670962298c23e7ddde79916cb74db802131d49a85e4b7d/wrapt-1.17.3.tar.gz", hash = "sha256:f66eb08feaa410fe4eebd17f2a2c8e2e46d3476e9f8c783daa8e09e0faa666d0", size = 55547 }
+sdist = { url = "https://files.pythonhosted.org/packages/95/8f/aeb76c5b46e273670962298c23e7ddde79916cb74db802131d49a85e4b7d/wrapt-1.17.3.tar.gz", hash = "sha256:f66eb08feaa410fe4eebd17f2a2c8e2e46d3476e9f8c783daa8e09e0faa666d0", size = 55547, upload-time = "2025-08-12T05:53:21.714Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9f/41/cad1aba93e752f1f9268c77270da3c469883d56e2798e7df6240dcb2287b/wrapt-1.17.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ab232e7fdb44cdfbf55fc3afa31bcdb0d8980b9b95c38b6405df2acb672af0e0", size = 53998 },
- { url = "https://files.pythonhosted.org/packages/60/f8/096a7cc13097a1869fe44efe68dace40d2a16ecb853141394047f0780b96/wrapt-1.17.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9baa544e6acc91130e926e8c802a17f3b16fbea0fd441b5a60f5cf2cc5c3deba", size = 39020 },
- { url = "https://files.pythonhosted.org/packages/33/df/bdf864b8997aab4febb96a9ae5c124f700a5abd9b5e13d2a3214ec4be705/wrapt-1.17.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6b538e31eca1a7ea4605e44f81a48aa24c4632a277431a6ed3f328835901f4fd", size = 39098 },
- { url = "https://files.pythonhosted.org/packages/9f/81/5d931d78d0eb732b95dc3ddaeeb71c8bb572fb01356e9133916cd729ecdd/wrapt-1.17.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:042ec3bb8f319c147b1301f2393bc19dba6e176b7da446853406d041c36c7828", size = 88036 },
- { url = "https://files.pythonhosted.org/packages/ca/38/2e1785df03b3d72d34fc6252d91d9d12dc27a5c89caef3335a1bbb8908ca/wrapt-1.17.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3af60380ba0b7b5aeb329bc4e402acd25bd877e98b3727b0135cb5c2efdaefe9", size = 88156 },
- { url = "https://files.pythonhosted.org/packages/b3/8b/48cdb60fe0603e34e05cffda0b2a4adab81fd43718e11111a4b0100fd7c1/wrapt-1.17.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0b02e424deef65c9f7326d8c19220a2c9040c51dc165cddb732f16198c168396", size = 87102 },
- { url = "https://files.pythonhosted.org/packages/3c/51/d81abca783b58f40a154f1b2c56db1d2d9e0d04fa2d4224e357529f57a57/wrapt-1.17.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:74afa28374a3c3a11b3b5e5fca0ae03bef8450d6aa3ab3a1e2c30e3a75d023dc", size = 87732 },
- { url = "https://files.pythonhosted.org/packages/9e/b1/43b286ca1392a006d5336412d41663eeef1ad57485f3e52c767376ba7e5a/wrapt-1.17.3-cp312-cp312-win32.whl", hash = "sha256:4da9f45279fff3543c371d5ababc57a0384f70be244de7759c85a7f989cb4ebe", size = 36705 },
- { url = "https://files.pythonhosted.org/packages/28/de/49493f962bd3c586ab4b88066e967aa2e0703d6ef2c43aa28cb83bf7b507/wrapt-1.17.3-cp312-cp312-win_amd64.whl", hash = "sha256:e71d5c6ebac14875668a1e90baf2ea0ef5b7ac7918355850c0908ae82bcb297c", size = 38877 },
- { url = "https://files.pythonhosted.org/packages/f1/48/0f7102fe9cb1e8a5a77f80d4f0956d62d97034bbe88d33e94699f99d181d/wrapt-1.17.3-cp312-cp312-win_arm64.whl", hash = "sha256:604d076c55e2fdd4c1c03d06dc1a31b95130010517b5019db15365ec4a405fc6", size = 36885 },
- { url = "https://files.pythonhosted.org/packages/1f/f6/a933bd70f98e9cf3e08167fc5cd7aaaca49147e48411c0bd5ae701bb2194/wrapt-1.17.3-py3-none-any.whl", hash = "sha256:7171ae35d2c33d326ac19dd8facb1e82e5fd04ef8c6c0e394d7af55a55051c22", size = 23591 },
+ { url = "https://files.pythonhosted.org/packages/9f/41/cad1aba93e752f1f9268c77270da3c469883d56e2798e7df6240dcb2287b/wrapt-1.17.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ab232e7fdb44cdfbf55fc3afa31bcdb0d8980b9b95c38b6405df2acb672af0e0", size = 53998, upload-time = "2025-08-12T05:51:47.138Z" },
+ { url = "https://files.pythonhosted.org/packages/60/f8/096a7cc13097a1869fe44efe68dace40d2a16ecb853141394047f0780b96/wrapt-1.17.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9baa544e6acc91130e926e8c802a17f3b16fbea0fd441b5a60f5cf2cc5c3deba", size = 39020, upload-time = "2025-08-12T05:51:35.906Z" },
+ { url = "https://files.pythonhosted.org/packages/33/df/bdf864b8997aab4febb96a9ae5c124f700a5abd9b5e13d2a3214ec4be705/wrapt-1.17.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6b538e31eca1a7ea4605e44f81a48aa24c4632a277431a6ed3f328835901f4fd", size = 39098, upload-time = "2025-08-12T05:51:57.474Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/81/5d931d78d0eb732b95dc3ddaeeb71c8bb572fb01356e9133916cd729ecdd/wrapt-1.17.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:042ec3bb8f319c147b1301f2393bc19dba6e176b7da446853406d041c36c7828", size = 88036, upload-time = "2025-08-12T05:52:34.784Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/38/2e1785df03b3d72d34fc6252d91d9d12dc27a5c89caef3335a1bbb8908ca/wrapt-1.17.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3af60380ba0b7b5aeb329bc4e402acd25bd877e98b3727b0135cb5c2efdaefe9", size = 88156, upload-time = "2025-08-12T05:52:13.599Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/8b/48cdb60fe0603e34e05cffda0b2a4adab81fd43718e11111a4b0100fd7c1/wrapt-1.17.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0b02e424deef65c9f7326d8c19220a2c9040c51dc165cddb732f16198c168396", size = 87102, upload-time = "2025-08-12T05:52:14.56Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/51/d81abca783b58f40a154f1b2c56db1d2d9e0d04fa2d4224e357529f57a57/wrapt-1.17.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:74afa28374a3c3a11b3b5e5fca0ae03bef8450d6aa3ab3a1e2c30e3a75d023dc", size = 87732, upload-time = "2025-08-12T05:52:36.165Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/b1/43b286ca1392a006d5336412d41663eeef1ad57485f3e52c767376ba7e5a/wrapt-1.17.3-cp312-cp312-win32.whl", hash = "sha256:4da9f45279fff3543c371d5ababc57a0384f70be244de7759c85a7f989cb4ebe", size = 36705, upload-time = "2025-08-12T05:53:07.123Z" },
+ { url = "https://files.pythonhosted.org/packages/28/de/49493f962bd3c586ab4b88066e967aa2e0703d6ef2c43aa28cb83bf7b507/wrapt-1.17.3-cp312-cp312-win_amd64.whl", hash = "sha256:e71d5c6ebac14875668a1e90baf2ea0ef5b7ac7918355850c0908ae82bcb297c", size = 38877, upload-time = "2025-08-12T05:53:05.436Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/48/0f7102fe9cb1e8a5a77f80d4f0956d62d97034bbe88d33e94699f99d181d/wrapt-1.17.3-cp312-cp312-win_arm64.whl", hash = "sha256:604d076c55e2fdd4c1c03d06dc1a31b95130010517b5019db15365ec4a405fc6", size = 36885, upload-time = "2025-08-12T05:52:54.367Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/f6/a933bd70f98e9cf3e08167fc5cd7aaaca49147e48411c0bd5ae701bb2194/wrapt-1.17.3-py3-none-any.whl", hash = "sha256:7171ae35d2c33d326ac19dd8facb1e82e5fd04ef8c6c0e394d7af55a55051c22", size = 23591, upload-time = "2025-08-12T05:53:20.674Z" },
]
[[package]]
@@ -6269,32 +6365,32 @@ dependencies = [
{ name = "numpy", marker = "sys_platform == 'linux'" },
{ name = "torch", version = "2.9.1+cu128", source = { registry = "https://download.pytorch.org/whl/cu128" }, marker = "sys_platform == 'linux'" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/0b/69/403e963d35f1b0c52a1b3127e0bc4e94e7e50ecee8c6684a8abe40e6638e/xformers-0.0.33.post2.tar.gz", hash = "sha256:647ddf26578d2b8643230467ef1f0fbfef0bbe556a546bd27a70d4855d3433e1", size = 14783914 }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/69/403e963d35f1b0c52a1b3127e0bc4e94e7e50ecee8c6684a8abe40e6638e/xformers-0.0.33.post2.tar.gz", hash = "sha256:647ddf26578d2b8643230467ef1f0fbfef0bbe556a546bd27a70d4855d3433e1", size = 14783914, upload-time = "2025-12-04T18:52:42.572Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/7d/c8/2957d8a8bf089a4e57f046867d4c9b31fc2e1d16013bc57cd7ae651a65b5/xformers-0.0.33.post2-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:9ea6032defa60395559b6a446c2ae945236707e98daabd88fea57cd08671c174", size = 122883631 },
+ { url = "https://files.pythonhosted.org/packages/7d/c8/2957d8a8bf089a4e57f046867d4c9b31fc2e1d16013bc57cd7ae651a65b5/xformers-0.0.33.post2-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:9ea6032defa60395559b6a446c2ae945236707e98daabd88fea57cd08671c174", size = 122883631, upload-time = "2025-12-04T18:52:35.318Z" },
]
[[package]]
name = "xxhash"
version = "3.6.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/02/84/30869e01909fb37a6cc7e18688ee8bf1e42d57e7e0777636bd47524c43c7/xxhash-3.6.0.tar.gz", hash = "sha256:f0162a78b13a0d7617b2845b90c763339d1f1d82bb04a4b07f4ab535cc5e05d6", size = 85160 }
+sdist = { url = "https://files.pythonhosted.org/packages/02/84/30869e01909fb37a6cc7e18688ee8bf1e42d57e7e0777636bd47524c43c7/xxhash-3.6.0.tar.gz", hash = "sha256:f0162a78b13a0d7617b2845b90c763339d1f1d82bb04a4b07f4ab535cc5e05d6", size = 85160, upload-time = "2025-10-02T14:37:08.097Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9a/07/d9412f3d7d462347e4511181dea65e47e0d0e16e26fbee2ea86a2aefb657/xxhash-3.6.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:01362c4331775398e7bb34e3ab403bc9ee9f7c497bc7dee6272114055277dd3c", size = 32744 },
- { url = "https://files.pythonhosted.org/packages/79/35/0429ee11d035fc33abe32dca1b2b69e8c18d236547b9a9b72c1929189b9a/xxhash-3.6.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b7b2df81a23f8cb99656378e72501b2cb41b1827c0f5a86f87d6b06b69f9f204", size = 30816 },
- { url = "https://files.pythonhosted.org/packages/b7/f2/57eb99aa0f7d98624c0932c5b9a170e1806406cdbcdb510546634a1359e0/xxhash-3.6.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:dc94790144e66b14f67b10ac8ed75b39ca47536bf8800eb7c24b50271ea0c490", size = 194035 },
- { url = "https://files.pythonhosted.org/packages/4c/ed/6224ba353690d73af7a3f1c7cdb1fc1b002e38f783cb991ae338e1eb3d79/xxhash-3.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:93f107c673bccf0d592cdba077dedaf52fe7f42dcd7676eba1f6d6f0c3efffd2", size = 212914 },
- { url = "https://files.pythonhosted.org/packages/38/86/fb6b6130d8dd6b8942cc17ab4d90e223653a89aa32ad2776f8af7064ed13/xxhash-3.6.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2aa5ee3444c25b69813663c9f8067dcfaa2e126dc55e8dddf40f4d1c25d7effa", size = 212163 },
- { url = "https://files.pythonhosted.org/packages/ee/dc/e84875682b0593e884ad73b2d40767b5790d417bde603cceb6878901d647/xxhash-3.6.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f7f99123f0e1194fa59cc69ad46dbae2e07becec5df50a0509a808f90a0f03f0", size = 445411 },
- { url = "https://files.pythonhosted.org/packages/11/4f/426f91b96701ec2f37bb2b8cec664eff4f658a11f3fa9d94f0a887ea6d2b/xxhash-3.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:49e03e6fe2cac4a1bc64952dd250cf0dbc5ef4ebb7b8d96bce82e2de163c82a2", size = 193883 },
- { url = "https://files.pythonhosted.org/packages/53/5a/ddbb83eee8e28b778eacfc5a85c969673e4023cdeedcfcef61f36731610b/xxhash-3.6.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bd17fede52a17a4f9a7bc4472a5867cb0b160deeb431795c0e4abe158bc784e9", size = 210392 },
- { url = "https://files.pythonhosted.org/packages/1e/c2/ff69efd07c8c074ccdf0a4f36fcdd3d27363665bcdf4ba399abebe643465/xxhash-3.6.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6fb5f5476bef678f69db04f2bd1efbed3030d2aba305b0fc1773645f187d6a4e", size = 197898 },
- { url = "https://files.pythonhosted.org/packages/58/ca/faa05ac19b3b622c7c9317ac3e23954187516298a091eb02c976d0d3dd45/xxhash-3.6.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:843b52f6d88071f87eba1631b684fcb4b2068cd2180a0224122fe4ef011a9374", size = 210655 },
- { url = "https://files.pythonhosted.org/packages/d4/7a/06aa7482345480cc0cb597f5c875b11a82c3953f534394f620b0be2f700c/xxhash-3.6.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7d14a6cfaf03b1b6f5f9790f76880601ccc7896aff7ab9cd8978a939c1eb7e0d", size = 414001 },
- { url = "https://files.pythonhosted.org/packages/23/07/63ffb386cd47029aa2916b3d2f454e6cc5b9f5c5ada3790377d5430084e7/xxhash-3.6.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:418daf3db71e1413cfe211c2f9a528456936645c17f46b5204705581a45390ae", size = 191431 },
- { url = "https://files.pythonhosted.org/packages/0f/93/14fde614cadb4ddf5e7cebf8918b7e8fac5ae7861c1875964f17e678205c/xxhash-3.6.0-cp312-cp312-win32.whl", hash = "sha256:50fc255f39428a27299c20e280d6193d8b63b8ef8028995323bf834a026b4fbb", size = 30617 },
- { url = "https://files.pythonhosted.org/packages/13/5d/0d125536cbe7565a83d06e43783389ecae0c0f2ed037b48ede185de477c0/xxhash-3.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:c0f2ab8c715630565ab8991b536ecded9416d615538be8ecddce43ccf26cbc7c", size = 31534 },
- { url = "https://files.pythonhosted.org/packages/54/85/6ec269b0952ec7e36ba019125982cf11d91256a778c7c3f98a4c5043d283/xxhash-3.6.0-cp312-cp312-win_arm64.whl", hash = "sha256:eae5c13f3bc455a3bbb68bdc513912dc7356de7e2280363ea235f71f54064829", size = 27876 },
+ { url = "https://files.pythonhosted.org/packages/9a/07/d9412f3d7d462347e4511181dea65e47e0d0e16e26fbee2ea86a2aefb657/xxhash-3.6.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:01362c4331775398e7bb34e3ab403bc9ee9f7c497bc7dee6272114055277dd3c", size = 32744, upload-time = "2025-10-02T14:34:34.622Z" },
+ { url = "https://files.pythonhosted.org/packages/79/35/0429ee11d035fc33abe32dca1b2b69e8c18d236547b9a9b72c1929189b9a/xxhash-3.6.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b7b2df81a23f8cb99656378e72501b2cb41b1827c0f5a86f87d6b06b69f9f204", size = 30816, upload-time = "2025-10-02T14:34:36.043Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/f2/57eb99aa0f7d98624c0932c5b9a170e1806406cdbcdb510546634a1359e0/xxhash-3.6.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:dc94790144e66b14f67b10ac8ed75b39ca47536bf8800eb7c24b50271ea0c490", size = 194035, upload-time = "2025-10-02T14:34:37.354Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/ed/6224ba353690d73af7a3f1c7cdb1fc1b002e38f783cb991ae338e1eb3d79/xxhash-3.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:93f107c673bccf0d592cdba077dedaf52fe7f42dcd7676eba1f6d6f0c3efffd2", size = 212914, upload-time = "2025-10-02T14:34:38.6Z" },
+ { url = "https://files.pythonhosted.org/packages/38/86/fb6b6130d8dd6b8942cc17ab4d90e223653a89aa32ad2776f8af7064ed13/xxhash-3.6.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2aa5ee3444c25b69813663c9f8067dcfaa2e126dc55e8dddf40f4d1c25d7effa", size = 212163, upload-time = "2025-10-02T14:34:39.872Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/dc/e84875682b0593e884ad73b2d40767b5790d417bde603cceb6878901d647/xxhash-3.6.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f7f99123f0e1194fa59cc69ad46dbae2e07becec5df50a0509a808f90a0f03f0", size = 445411, upload-time = "2025-10-02T14:34:41.569Z" },
+ { url = "https://files.pythonhosted.org/packages/11/4f/426f91b96701ec2f37bb2b8cec664eff4f658a11f3fa9d94f0a887ea6d2b/xxhash-3.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:49e03e6fe2cac4a1bc64952dd250cf0dbc5ef4ebb7b8d96bce82e2de163c82a2", size = 193883, upload-time = "2025-10-02T14:34:43.249Z" },
+ { url = "https://files.pythonhosted.org/packages/53/5a/ddbb83eee8e28b778eacfc5a85c969673e4023cdeedcfcef61f36731610b/xxhash-3.6.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bd17fede52a17a4f9a7bc4472a5867cb0b160deeb431795c0e4abe158bc784e9", size = 210392, upload-time = "2025-10-02T14:34:45.042Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/c2/ff69efd07c8c074ccdf0a4f36fcdd3d27363665bcdf4ba399abebe643465/xxhash-3.6.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6fb5f5476bef678f69db04f2bd1efbed3030d2aba305b0fc1773645f187d6a4e", size = 197898, upload-time = "2025-10-02T14:34:46.302Z" },
+ { url = "https://files.pythonhosted.org/packages/58/ca/faa05ac19b3b622c7c9317ac3e23954187516298a091eb02c976d0d3dd45/xxhash-3.6.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:843b52f6d88071f87eba1631b684fcb4b2068cd2180a0224122fe4ef011a9374", size = 210655, upload-time = "2025-10-02T14:34:47.571Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/7a/06aa7482345480cc0cb597f5c875b11a82c3953f534394f620b0be2f700c/xxhash-3.6.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7d14a6cfaf03b1b6f5f9790f76880601ccc7896aff7ab9cd8978a939c1eb7e0d", size = 414001, upload-time = "2025-10-02T14:34:49.273Z" },
+ { url = "https://files.pythonhosted.org/packages/23/07/63ffb386cd47029aa2916b3d2f454e6cc5b9f5c5ada3790377d5430084e7/xxhash-3.6.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:418daf3db71e1413cfe211c2f9a528456936645c17f46b5204705581a45390ae", size = 191431, upload-time = "2025-10-02T14:34:50.798Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/93/14fde614cadb4ddf5e7cebf8918b7e8fac5ae7861c1875964f17e678205c/xxhash-3.6.0-cp312-cp312-win32.whl", hash = "sha256:50fc255f39428a27299c20e280d6193d8b63b8ef8028995323bf834a026b4fbb", size = 30617, upload-time = "2025-10-02T14:34:51.954Z" },
+ { url = "https://files.pythonhosted.org/packages/13/5d/0d125536cbe7565a83d06e43783389ecae0c0f2ed037b48ede185de477c0/xxhash-3.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:c0f2ab8c715630565ab8991b536ecded9416d615538be8ecddce43ccf26cbc7c", size = 31534, upload-time = "2025-10-02T14:34:53.276Z" },
+ { url = "https://files.pythonhosted.org/packages/54/85/6ec269b0952ec7e36ba019125982cf11d91256a778c7c3f98a4c5043d283/xxhash-3.6.0-cp312-cp312-win_arm64.whl", hash = "sha256:eae5c13f3bc455a3bbb68bdc513912dc7356de7e2280363ea235f71f54064829", size = 27876, upload-time = "2025-10-02T14:34:54.371Z" },
]
[[package]]
@@ -6306,27 +6402,27 @@ dependencies = [
{ name = "multidict" },
{ name = "propcache" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/23/6e/beb1beec874a72f23815c1434518bfc4ed2175065173fb138c3705f658d4/yarl-1.23.0.tar.gz", hash = "sha256:53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5", size = 194676 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/88/8a/94615bc31022f711add374097ad4144d569e95ff3c38d39215d07ac153a0/yarl-1.23.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1932b6b8bba8d0160a9d1078aae5838a66039e8832d41d2992daa9a3a08f7860", size = 124737 },
- { url = "https://files.pythonhosted.org/packages/e3/6f/c6554045d59d64052698add01226bc867b52fe4a12373415d7991fdca95d/yarl-1.23.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:411225bae281f114067578891bc75534cfb3d92a3b4dfef7a6ca78ba354e6069", size = 87029 },
- { url = "https://files.pythonhosted.org/packages/19/2a/725ecc166d53438bc88f76822ed4b1e3b10756e790bafd7b523fe97c322d/yarl-1.23.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:13a563739ae600a631c36ce096615fe307f131344588b0bc0daec108cdb47b25", size = 86310 },
- { url = "https://files.pythonhosted.org/packages/99/30/58260ed98e6ff7f90ba84442c1ddd758c9170d70327394a6227b310cd60f/yarl-1.23.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cbf44c5cb4a7633d078788e1b56387e3d3cf2b8139a3be38040b22d6c3221c8", size = 97587 },
- { url = "https://files.pythonhosted.org/packages/76/0a/8b08aac08b50682e65759f7f8dde98ae8168f72487e7357a5d684c581ef9/yarl-1.23.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:53ad387048f6f09a8969631e4de3f1bf70c50e93545d64af4f751b2498755072", size = 92528 },
- { url = "https://files.pythonhosted.org/packages/52/07/0b7179101fe5f8385ec6c6bb5d0cb9f76bd9fb4a769591ab6fb5cdbfc69a/yarl-1.23.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4a59ba56f340334766f3a4442e0efd0af895fae9e2b204741ef885c446b3a1a8", size = 105339 },
- { url = "https://files.pythonhosted.org/packages/d3/8a/36d82869ab5ec829ca8574dfcb92b51286fcfb1e9c7a73659616362dc880/yarl-1.23.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:803a3c3ce4acc62eaf01eaca1208dcf0783025ef27572c3336502b9c232005e7", size = 105061 },
- { url = "https://files.pythonhosted.org/packages/66/3e/868e5c3364b6cee19ff3e1a122194fa4ce51def02c61023970442162859e/yarl-1.23.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3d2bff8f37f8d0f96c7ec554d16945050d54462d6e95414babaa18bfafc7f51", size = 100132 },
- { url = "https://files.pythonhosted.org/packages/cf/26/9c89acf82f08a52cb52d6d39454f8d18af15f9d386a23795389d1d423823/yarl-1.23.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c75eb09e8d55bceb4367e83496ff8ef2bc7ea6960efb38e978e8073ea59ecb67", size = 99289 },
- { url = "https://files.pythonhosted.org/packages/6f/54/5b0db00d2cb056922356104468019c0a132e89c8d3ab67d8ede9f4483d2a/yarl-1.23.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:877b0738624280e34c55680d6054a307aa94f7d52fa0e3034a9cc6e790871da7", size = 96950 },
- { url = "https://files.pythonhosted.org/packages/f6/40/10fa93811fd439341fad7e0718a86aca0de9548023bbb403668d6555acab/yarl-1.23.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b5405bb8f0e783a988172993cfc627e4d9d00432d6bbac65a923041edacf997d", size = 93960 },
- { url = "https://files.pythonhosted.org/packages/bc/d2/8ae2e6cd77d0805f4526e30ec43b6f9a3dfc542d401ac4990d178e4bf0cf/yarl-1.23.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c3a3598a832590c5a3ce56ab5576361b5688c12cb1d39429cf5dba30b510760", size = 104703 },
- { url = "https://files.pythonhosted.org/packages/2f/0c/b3ceacf82c3fe21183ce35fa2acf5320af003d52bc1fcf5915077681142e/yarl-1.23.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8419ebd326430d1cbb7efb5292330a2cf39114e82df5cc3d83c9a0d5ebeaf2f2", size = 98325 },
- { url = "https://files.pythonhosted.org/packages/9d/e0/12900edd28bdab91a69bd2554b85ad7b151f64e8b521fe16f9ad2f56477a/yarl-1.23.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:be61f6fff406ca40e3b1d84716fde398fc08bc63dd96d15f3a14230a0973ed86", size = 105067 },
- { url = "https://files.pythonhosted.org/packages/15/61/74bb1182cf79c9bbe4eb6b1f14a57a22d7a0be5e9cedf8e2d5c2086474c3/yarl-1.23.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3ceb13c5c858d01321b5d9bb65e4cf37a92169ea470b70fec6f236b2c9dd7e34", size = 100285 },
- { url = "https://files.pythonhosted.org/packages/69/7f/cd5ef733f2550de6241bd8bd8c3febc78158b9d75f197d9c7baa113436af/yarl-1.23.0-cp312-cp312-win32.whl", hash = "sha256:fffc45637bcd6538de8b85f51e3df3223e4ad89bccbfca0481c08c7fc8b7ed7d", size = 82359 },
- { url = "https://files.pythonhosted.org/packages/f5/be/25216a49daeeb7af2bec0db22d5e7df08ed1d7c9f65d78b14f3b74fd72fc/yarl-1.23.0-cp312-cp312-win_amd64.whl", hash = "sha256:f69f57305656a4852f2a7203efc661d8c042e6cc67f7acd97d8667fb448a426e", size = 87674 },
- { url = "https://files.pythonhosted.org/packages/d2/35/aeab955d6c425b227d5b7247eafb24f2653fedc32f95373a001af5dfeb9e/yarl-1.23.0-cp312-cp312-win_arm64.whl", hash = "sha256:6e87a6e8735b44816e7db0b2fbc9686932df473c826b0d9743148432e10bb9b9", size = 81879 },
- { url = "https://files.pythonhosted.org/packages/69/68/c8739671f5699c7dc470580a4f821ef37c32c4cb0b047ce223a7f115757f/yarl-1.23.0-py3-none-any.whl", hash = "sha256:a2df6afe50dea8ae15fa34c9f824a3ee958d785fd5d089063d960bae1daa0a3f", size = 48288 },
+sdist = { url = "https://files.pythonhosted.org/packages/23/6e/beb1beec874a72f23815c1434518bfc4ed2175065173fb138c3705f658d4/yarl-1.23.0.tar.gz", hash = "sha256:53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5", size = 194676, upload-time = "2026-03-01T22:07:53.373Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/88/8a/94615bc31022f711add374097ad4144d569e95ff3c38d39215d07ac153a0/yarl-1.23.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1932b6b8bba8d0160a9d1078aae5838a66039e8832d41d2992daa9a3a08f7860", size = 124737, upload-time = "2026-03-01T22:05:12.897Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/6f/c6554045d59d64052698add01226bc867b52fe4a12373415d7991fdca95d/yarl-1.23.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:411225bae281f114067578891bc75534cfb3d92a3b4dfef7a6ca78ba354e6069", size = 87029, upload-time = "2026-03-01T22:05:14.376Z" },
+ { url = "https://files.pythonhosted.org/packages/19/2a/725ecc166d53438bc88f76822ed4b1e3b10756e790bafd7b523fe97c322d/yarl-1.23.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:13a563739ae600a631c36ce096615fe307f131344588b0bc0daec108cdb47b25", size = 86310, upload-time = "2026-03-01T22:05:15.71Z" },
+ { url = "https://files.pythonhosted.org/packages/99/30/58260ed98e6ff7f90ba84442c1ddd758c9170d70327394a6227b310cd60f/yarl-1.23.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cbf44c5cb4a7633d078788e1b56387e3d3cf2b8139a3be38040b22d6c3221c8", size = 97587, upload-time = "2026-03-01T22:05:17.384Z" },
+ { url = "https://files.pythonhosted.org/packages/76/0a/8b08aac08b50682e65759f7f8dde98ae8168f72487e7357a5d684c581ef9/yarl-1.23.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:53ad387048f6f09a8969631e4de3f1bf70c50e93545d64af4f751b2498755072", size = 92528, upload-time = "2026-03-01T22:05:18.804Z" },
+ { url = "https://files.pythonhosted.org/packages/52/07/0b7179101fe5f8385ec6c6bb5d0cb9f76bd9fb4a769591ab6fb5cdbfc69a/yarl-1.23.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4a59ba56f340334766f3a4442e0efd0af895fae9e2b204741ef885c446b3a1a8", size = 105339, upload-time = "2026-03-01T22:05:20.235Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/8a/36d82869ab5ec829ca8574dfcb92b51286fcfb1e9c7a73659616362dc880/yarl-1.23.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:803a3c3ce4acc62eaf01eaca1208dcf0783025ef27572c3336502b9c232005e7", size = 105061, upload-time = "2026-03-01T22:05:22.268Z" },
+ { url = "https://files.pythonhosted.org/packages/66/3e/868e5c3364b6cee19ff3e1a122194fa4ce51def02c61023970442162859e/yarl-1.23.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3d2bff8f37f8d0f96c7ec554d16945050d54462d6e95414babaa18bfafc7f51", size = 100132, upload-time = "2026-03-01T22:05:23.638Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/26/9c89acf82f08a52cb52d6d39454f8d18af15f9d386a23795389d1d423823/yarl-1.23.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c75eb09e8d55bceb4367e83496ff8ef2bc7ea6960efb38e978e8073ea59ecb67", size = 99289, upload-time = "2026-03-01T22:05:25.749Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/54/5b0db00d2cb056922356104468019c0a132e89c8d3ab67d8ede9f4483d2a/yarl-1.23.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:877b0738624280e34c55680d6054a307aa94f7d52fa0e3034a9cc6e790871da7", size = 96950, upload-time = "2026-03-01T22:05:27.318Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/40/10fa93811fd439341fad7e0718a86aca0de9548023bbb403668d6555acab/yarl-1.23.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b5405bb8f0e783a988172993cfc627e4d9d00432d6bbac65a923041edacf997d", size = 93960, upload-time = "2026-03-01T22:05:28.738Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/d2/8ae2e6cd77d0805f4526e30ec43b6f9a3dfc542d401ac4990d178e4bf0cf/yarl-1.23.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c3a3598a832590c5a3ce56ab5576361b5688c12cb1d39429cf5dba30b510760", size = 104703, upload-time = "2026-03-01T22:05:30.438Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/0c/b3ceacf82c3fe21183ce35fa2acf5320af003d52bc1fcf5915077681142e/yarl-1.23.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8419ebd326430d1cbb7efb5292330a2cf39114e82df5cc3d83c9a0d5ebeaf2f2", size = 98325, upload-time = "2026-03-01T22:05:31.835Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/e0/12900edd28bdab91a69bd2554b85ad7b151f64e8b521fe16f9ad2f56477a/yarl-1.23.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:be61f6fff406ca40e3b1d84716fde398fc08bc63dd96d15f3a14230a0973ed86", size = 105067, upload-time = "2026-03-01T22:05:33.358Z" },
+ { url = "https://files.pythonhosted.org/packages/15/61/74bb1182cf79c9bbe4eb6b1f14a57a22d7a0be5e9cedf8e2d5c2086474c3/yarl-1.23.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3ceb13c5c858d01321b5d9bb65e4cf37a92169ea470b70fec6f236b2c9dd7e34", size = 100285, upload-time = "2026-03-01T22:05:35.4Z" },
+ { url = "https://files.pythonhosted.org/packages/69/7f/cd5ef733f2550de6241bd8bd8c3febc78158b9d75f197d9c7baa113436af/yarl-1.23.0-cp312-cp312-win32.whl", hash = "sha256:fffc45637bcd6538de8b85f51e3df3223e4ad89bccbfca0481c08c7fc8b7ed7d", size = 82359, upload-time = "2026-03-01T22:05:36.811Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/be/25216a49daeeb7af2bec0db22d5e7df08ed1d7c9f65d78b14f3b74fd72fc/yarl-1.23.0-cp312-cp312-win_amd64.whl", hash = "sha256:f69f57305656a4852f2a7203efc661d8c042e6cc67f7acd97d8667fb448a426e", size = 87674, upload-time = "2026-03-01T22:05:38.171Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/35/aeab955d6c425b227d5b7247eafb24f2653fedc32f95373a001af5dfeb9e/yarl-1.23.0-cp312-cp312-win_arm64.whl", hash = "sha256:6e87a6e8735b44816e7db0b2fbc9686932df473c826b0d9743148432e10bb9b9", size = 81879, upload-time = "2026-03-01T22:05:40.006Z" },
+ { url = "https://files.pythonhosted.org/packages/69/68/c8739671f5699c7dc470580a4f821ef37c32c4cb0b047ce223a7f115757f/yarl-1.23.0-py3-none-any.whl", hash = "sha256:a2df6afe50dea8ae15fa34c9f824a3ee958d785fd5d089063d960bae1daa0a3f", size = 48288, upload-time = "2026-03-01T22:07:51.388Z" },
]
[[package]]
@@ -6337,51 +6433,51 @@ dependencies = [
{ name = "defusedxml" },
{ name = "requests" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/60/43/4104185a2eaa839daa693b30e15c37e7e58795e8e09ec414f22b3db54bec/youtube_transcript_api-1.2.4.tar.gz", hash = "sha256:b72d0e96a335df599d67cee51d49e143cff4f45b84bcafc202ff51291603ddcd", size = 469839 }
+sdist = { url = "https://files.pythonhosted.org/packages/60/43/4104185a2eaa839daa693b30e15c37e7e58795e8e09ec414f22b3db54bec/youtube_transcript_api-1.2.4.tar.gz", hash = "sha256:b72d0e96a335df599d67cee51d49e143cff4f45b84bcafc202ff51291603ddcd", size = 469839, upload-time = "2026-01-29T09:09:17.088Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/be/95/129ea37efd6cd6ed00f62baae6543345c677810b8a3bf0026756e1d3cf3c/youtube_transcript_api-1.2.4-py3-none-any.whl", hash = "sha256:03878759356da5caf5edac77431780b91448fb3d8c21d4496015bdc8a7bc43ff", size = 485227 },
+ { url = "https://files.pythonhosted.org/packages/be/95/129ea37efd6cd6ed00f62baae6543345c677810b8a3bf0026756e1d3cf3c/youtube_transcript_api-1.2.4-py3-none-any.whl", hash = "sha256:03878759356da5caf5edac77431780b91448fb3d8c21d4496015bdc8a7bc43ff", size = 485227, upload-time = "2026-01-29T09:09:15.427Z" },
]
[[package]]
name = "zipp"
version = "3.23.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/e3/02/0f2892c661036d50ede074e376733dca2ae7c6eb617489437771209d4180/zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166", size = 25547 }
+sdist = { url = "https://files.pythonhosted.org/packages/e3/02/0f2892c661036d50ede074e376733dca2ae7c6eb617489437771209d4180/zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166", size = 25547, upload-time = "2025-06-08T17:06:39.4Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/2e/54/647ade08bf0db230bfea292f893923872fd20be6ac6f53b2b936ba839d75/zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e", size = 10276 },
+ { url = "https://files.pythonhosted.org/packages/2e/54/647ade08bf0db230bfea292f893923872fd20be6ac6f53b2b936ba839d75/zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e", size = 10276, upload-time = "2025-06-08T17:06:38.034Z" },
]
[[package]]
name = "zlib-state"
version = "0.1.10"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/35/3e/dd482d5bf99d1dabcce0a20a479859cb7a6bd8a365b07b41ebf46b3c0f3d/zlib_state-0.1.10.tar.gz", hash = "sha256:c29b6b93cea1b80025fbc96fa91ceed8b5e7b54ef08f16d6e4c7f8fb56aad777", size = 9573 }
+sdist = { url = "https://files.pythonhosted.org/packages/35/3e/dd482d5bf99d1dabcce0a20a479859cb7a6bd8a365b07b41ebf46b3c0f3d/zlib_state-0.1.10.tar.gz", hash = "sha256:c29b6b93cea1b80025fbc96fa91ceed8b5e7b54ef08f16d6e4c7f8fb56aad777", size = 9573, upload-time = "2025-09-09T07:14:12.205Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/9e/c9/318a8fa73d41b94810816815e38372d75a8c83c02c9d10dd796443b74ccd/zlib_state-0.1.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6d4f3196f84a4d504f4c04147ec7fd9132651883830f6f07be3702d82731f99e", size = 22001 },
- { url = "https://files.pythonhosted.org/packages/38/d8/89a7e7fbea33b20dcdefa122afde7e79a9fdbe75cf5b48e13a110a2c8c8e/zlib_state-0.1.10-cp312-cp312-win_amd64.whl", hash = "sha256:8465b3ddb7fc11e30a49f38615426e369dd1ac5d3d780d89e759e731dfc7bbf4", size = 12810 },
+ { url = "https://files.pythonhosted.org/packages/9e/c9/318a8fa73d41b94810816815e38372d75a8c83c02c9d10dd796443b74ccd/zlib_state-0.1.10-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6d4f3196f84a4d504f4c04147ec7fd9132651883830f6f07be3702d82731f99e", size = 22001, upload-time = "2025-09-09T07:15:31.014Z" },
+ { url = "https://files.pythonhosted.org/packages/38/d8/89a7e7fbea33b20dcdefa122afde7e79a9fdbe75cf5b48e13a110a2c8c8e/zlib_state-0.1.10-cp312-cp312-win_amd64.whl", hash = "sha256:8465b3ddb7fc11e30a49f38615426e369dd1ac5d3d780d89e759e731dfc7bbf4", size = 12810, upload-time = "2025-09-09T07:15:42.623Z" },
]
[[package]]
name = "zstandard"
version = "0.25.0"
source = { registry = "https://pypi.org/simple" }
-sdist = { url = "https://files.pythonhosted.org/packages/fd/aa/3e0508d5a5dd96529cdc5a97011299056e14c6505b678fd58938792794b1/zstandard-0.25.0.tar.gz", hash = "sha256:7713e1179d162cf5c7906da876ec2ccb9c3a9dcbdffef0cc7f70c3667a205f0b", size = 711513 }
-wheels = [
- { url = "https://files.pythonhosted.org/packages/82/fc/f26eb6ef91ae723a03e16eddb198abcfce2bc5a42e224d44cc8b6765e57e/zstandard-0.25.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7b3c3a3ab9daa3eed242d6ecceead93aebbb8f5f84318d82cee643e019c4b73b", size = 795738 },
- { url = "https://files.pythonhosted.org/packages/aa/1c/d920d64b22f8dd028a8b90e2d756e431a5d86194caa78e3819c7bf53b4b3/zstandard-0.25.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:913cbd31a400febff93b564a23e17c3ed2d56c064006f54efec210d586171c00", size = 640436 },
- { url = "https://files.pythonhosted.org/packages/53/6c/288c3f0bd9fcfe9ca41e2c2fbfd17b2097f6af57b62a81161941f09afa76/zstandard-0.25.0-cp312-cp312-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:011d388c76b11a0c165374ce660ce2c8efa8e5d87f34996aa80f9c0816698b64", size = 5343019 },
- { url = "https://files.pythonhosted.org/packages/1e/15/efef5a2f204a64bdb5571e6161d49f7ef0fffdbca953a615efbec045f60f/zstandard-0.25.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6dffecc361d079bb48d7caef5d673c88c8988d3d33fb74ab95b7ee6da42652ea", size = 5063012 },
- { url = "https://files.pythonhosted.org/packages/b7/37/a6ce629ffdb43959e92e87ebdaeebb5ac81c944b6a75c9c47e300f85abdf/zstandard-0.25.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7149623bba7fdf7e7f24312953bcf73cae103db8cae49f8154dd1eadc8a29ecb", size = 5394148 },
- { url = "https://files.pythonhosted.org/packages/e3/79/2bf870b3abeb5c070fe2d670a5a8d1057a8270f125ef7676d29ea900f496/zstandard-0.25.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6a573a35693e03cf1d67799fd01b50ff578515a8aeadd4595d2a7fa9f3ec002a", size = 5451652 },
- { url = "https://files.pythonhosted.org/packages/53/60/7be26e610767316c028a2cbedb9a3beabdbe33e2182c373f71a1c0b88f36/zstandard-0.25.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5a56ba0db2d244117ed744dfa8f6f5b366e14148e00de44723413b2f3938a902", size = 5546993 },
- { url = "https://files.pythonhosted.org/packages/85/c7/3483ad9ff0662623f3648479b0380d2de5510abf00990468c286c6b04017/zstandard-0.25.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:10ef2a79ab8e2974e2075fb984e5b9806c64134810fac21576f0668e7ea19f8f", size = 5046806 },
- { url = "https://files.pythonhosted.org/packages/08/b3/206883dd25b8d1591a1caa44b54c2aad84badccf2f1de9e2d60a446f9a25/zstandard-0.25.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:aaf21ba8fb76d102b696781bddaa0954b782536446083ae3fdaa6f16b25a1c4b", size = 5576659 },
- { url = "https://files.pythonhosted.org/packages/9d/31/76c0779101453e6c117b0ff22565865c54f48f8bd807df2b00c2c404b8e0/zstandard-0.25.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1869da9571d5e94a85a5e8d57e4e8807b175c9e4a6294e3b66fa4efb074d90f6", size = 4953933 },
- { url = "https://files.pythonhosted.org/packages/18/e1/97680c664a1bf9a247a280a053d98e251424af51f1b196c6d52f117c9720/zstandard-0.25.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:809c5bcb2c67cd0ed81e9229d227d4ca28f82d0f778fc5fea624a9def3963f91", size = 5268008 },
- { url = "https://files.pythonhosted.org/packages/1e/73/316e4010de585ac798e154e88fd81bb16afc5c5cb1a72eeb16dd37e8024a/zstandard-0.25.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:f27662e4f7dbf9f9c12391cb37b4c4c3cb90ffbd3b1fb9284dadbbb8935fa708", size = 5433517 },
- { url = "https://files.pythonhosted.org/packages/5b/60/dd0f8cfa8129c5a0ce3ea6b7f70be5b33d2618013a161e1ff26c2b39787c/zstandard-0.25.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:99c0c846e6e61718715a3c9437ccc625de26593fea60189567f0118dc9db7512", size = 5814292 },
- { url = "https://files.pythonhosted.org/packages/fc/5f/75aafd4b9d11b5407b641b8e41a57864097663699f23e9ad4dbb91dc6bfe/zstandard-0.25.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:474d2596a2dbc241a556e965fb76002c1ce655445e4e3bf38e5477d413165ffa", size = 5360237 },
- { url = "https://files.pythonhosted.org/packages/ff/8d/0309daffea4fcac7981021dbf21cdb2e3427a9e76bafbcdbdf5392ff99a4/zstandard-0.25.0-cp312-cp312-win32.whl", hash = "sha256:23ebc8f17a03133b4426bcc04aabd68f8236eb78c3760f12783385171b0fd8bd", size = 436922 },
- { url = "https://files.pythonhosted.org/packages/79/3b/fa54d9015f945330510cb5d0b0501e8253c127cca7ebe8ba46a965df18c5/zstandard-0.25.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffef5a74088f1e09947aecf91011136665152e0b4b359c42be3373897fb39b01", size = 506276 },
- { url = "https://files.pythonhosted.org/packages/ea/6b/8b51697e5319b1f9ac71087b0af9a40d8a6288ff8025c36486e0c12abcc4/zstandard-0.25.0-cp312-cp312-win_arm64.whl", hash = "sha256:181eb40e0b6a29b3cd2849f825e0fa34397f649170673d385f3598ae17cca2e9", size = 462679 },
+sdist = { url = "https://files.pythonhosted.org/packages/fd/aa/3e0508d5a5dd96529cdc5a97011299056e14c6505b678fd58938792794b1/zstandard-0.25.0.tar.gz", hash = "sha256:7713e1179d162cf5c7906da876ec2ccb9c3a9dcbdffef0cc7f70c3667a205f0b", size = 711513, upload-time = "2025-09-14T22:15:54.002Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/82/fc/f26eb6ef91ae723a03e16eddb198abcfce2bc5a42e224d44cc8b6765e57e/zstandard-0.25.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7b3c3a3ab9daa3eed242d6ecceead93aebbb8f5f84318d82cee643e019c4b73b", size = 795738, upload-time = "2025-09-14T22:16:56.237Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/1c/d920d64b22f8dd028a8b90e2d756e431a5d86194caa78e3819c7bf53b4b3/zstandard-0.25.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:913cbd31a400febff93b564a23e17c3ed2d56c064006f54efec210d586171c00", size = 640436, upload-time = "2025-09-14T22:16:57.774Z" },
+ { url = "https://files.pythonhosted.org/packages/53/6c/288c3f0bd9fcfe9ca41e2c2fbfd17b2097f6af57b62a81161941f09afa76/zstandard-0.25.0-cp312-cp312-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:011d388c76b11a0c165374ce660ce2c8efa8e5d87f34996aa80f9c0816698b64", size = 5343019, upload-time = "2025-09-14T22:16:59.302Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/15/efef5a2f204a64bdb5571e6161d49f7ef0fffdbca953a615efbec045f60f/zstandard-0.25.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6dffecc361d079bb48d7caef5d673c88c8988d3d33fb74ab95b7ee6da42652ea", size = 5063012, upload-time = "2025-09-14T22:17:01.156Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/37/a6ce629ffdb43959e92e87ebdaeebb5ac81c944b6a75c9c47e300f85abdf/zstandard-0.25.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7149623bba7fdf7e7f24312953bcf73cae103db8cae49f8154dd1eadc8a29ecb", size = 5394148, upload-time = "2025-09-14T22:17:03.091Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/79/2bf870b3abeb5c070fe2d670a5a8d1057a8270f125ef7676d29ea900f496/zstandard-0.25.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6a573a35693e03cf1d67799fd01b50ff578515a8aeadd4595d2a7fa9f3ec002a", size = 5451652, upload-time = "2025-09-14T22:17:04.979Z" },
+ { url = "https://files.pythonhosted.org/packages/53/60/7be26e610767316c028a2cbedb9a3beabdbe33e2182c373f71a1c0b88f36/zstandard-0.25.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5a56ba0db2d244117ed744dfa8f6f5b366e14148e00de44723413b2f3938a902", size = 5546993, upload-time = "2025-09-14T22:17:06.781Z" },
+ { url = "https://files.pythonhosted.org/packages/85/c7/3483ad9ff0662623f3648479b0380d2de5510abf00990468c286c6b04017/zstandard-0.25.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:10ef2a79ab8e2974e2075fb984e5b9806c64134810fac21576f0668e7ea19f8f", size = 5046806, upload-time = "2025-09-14T22:17:08.415Z" },
+ { url = "https://files.pythonhosted.org/packages/08/b3/206883dd25b8d1591a1caa44b54c2aad84badccf2f1de9e2d60a446f9a25/zstandard-0.25.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:aaf21ba8fb76d102b696781bddaa0954b782536446083ae3fdaa6f16b25a1c4b", size = 5576659, upload-time = "2025-09-14T22:17:10.164Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/31/76c0779101453e6c117b0ff22565865c54f48f8bd807df2b00c2c404b8e0/zstandard-0.25.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1869da9571d5e94a85a5e8d57e4e8807b175c9e4a6294e3b66fa4efb074d90f6", size = 4953933, upload-time = "2025-09-14T22:17:11.857Z" },
+ { url = "https://files.pythonhosted.org/packages/18/e1/97680c664a1bf9a247a280a053d98e251424af51f1b196c6d52f117c9720/zstandard-0.25.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:809c5bcb2c67cd0ed81e9229d227d4ca28f82d0f778fc5fea624a9def3963f91", size = 5268008, upload-time = "2025-09-14T22:17:13.627Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/73/316e4010de585ac798e154e88fd81bb16afc5c5cb1a72eeb16dd37e8024a/zstandard-0.25.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:f27662e4f7dbf9f9c12391cb37b4c4c3cb90ffbd3b1fb9284dadbbb8935fa708", size = 5433517, upload-time = "2025-09-14T22:17:16.103Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/60/dd0f8cfa8129c5a0ce3ea6b7f70be5b33d2618013a161e1ff26c2b39787c/zstandard-0.25.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:99c0c846e6e61718715a3c9437ccc625de26593fea60189567f0118dc9db7512", size = 5814292, upload-time = "2025-09-14T22:17:17.827Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/5f/75aafd4b9d11b5407b641b8e41a57864097663699f23e9ad4dbb91dc6bfe/zstandard-0.25.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:474d2596a2dbc241a556e965fb76002c1ce655445e4e3bf38e5477d413165ffa", size = 5360237, upload-time = "2025-09-14T22:17:19.954Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/8d/0309daffea4fcac7981021dbf21cdb2e3427a9e76bafbcdbdf5392ff99a4/zstandard-0.25.0-cp312-cp312-win32.whl", hash = "sha256:23ebc8f17a03133b4426bcc04aabd68f8236eb78c3760f12783385171b0fd8bd", size = 436922, upload-time = "2025-09-14T22:17:24.398Z" },
+ { url = "https://files.pythonhosted.org/packages/79/3b/fa54d9015f945330510cb5d0b0501e8253c127cca7ebe8ba46a965df18c5/zstandard-0.25.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffef5a74088f1e09947aecf91011136665152e0b4b359c42be3373897fb39b01", size = 506276, upload-time = "2025-09-14T22:17:21.429Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/6b/8b51697e5319b1f9ac71087b0af9a40d8a6288ff8025c36486e0c12abcc4/zstandard-0.25.0-cp312-cp312-win_arm64.whl", hash = "sha256:181eb40e0b6a29b3cd2849f825e0fa34397f649170673d385f3598ae17cca2e9", size = 462679, upload-time = "2025-09-14T22:17:23.147Z" },
]