Skip to content

The OSINT investigator's workbench. One case, one folder, every tool. Local-first: your media and your investigations never leave your machine.

JavaScript

Ontology links, coordinate handling, auto-stitch and updatable scrapers (#11)

OsintMeThat994a98aa2695
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5f43909..d5d2f12 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -4,18 +4,54 @@ on:
push:
branches: [main]
pull_request:
+ # Weekly, so the "latest deps" tripwire below reports upstream breakage even
+ # in quiet weeks — bit rot doesn't wait for us to push.
+ schedule:
+ - cron: "0 6 * * 1"
jobs:
backend:
- name: Backend tests
- runs-on: ubuntu-latest
+ name: Backend (${{ matrix.os }}, py${{ matrix.python }})
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ # The three OSes we ship binaries for, plus both ends of the Python range
+ # pyproject claims. Testing one Linux/3.12 box and shipping a Windows exe
+ # was a guess; this is the part that makes "works everywhere" checkable.
+ # Filesystem behaviour is where they actually differ — engine/scrapers.py
+ # swaps directories, and Windows won't delete an open file.
+ os: [ubuntu-latest, windows-latest, macos-latest]
+ python: ["3.12"]
+ include:
+ - os: ubuntu-latest
+ python: "3.11" # the floor in requires-python
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-python@v5
+ - uses: astral-sh/setup-uv@v5
with:
- python-version: "3.12"
- - run: pip install -e ".[dev]"
- - run: pytest -q
+ enable-cache: true
+ python-version: ${{ matrix.python }}
+ # --frozen installs uv.lock exactly and never re-resolves, so a green run
+ # means "these versions work", not "whatever PyPI served this morning".
+ # --check fails if uv.lock drifted from pyproject.toml (forgot `uv lock`).
+ - run: uv lock --check
+ - run: uv sync --frozen --extra dev
+ - run: uv run pytest -q
+
+ backend-floating:
+ name: Backend tests (latest deps)
+ runs-on: ubuntu-latest
+ # The lock is the safety net; this is the tripwire. It re-resolves everything
+ # to the newest versions our ranges allow, so an upstream release that breaks
+ # us surfaces here — on a scheduled run we triage — instead of in a user's
+ # `pip install azimut`. Advisory: a red run never blocks a merge.
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v4
+ - uses: astral-sh/setup-uv@v5
+ - run: uv sync --upgrade --extra dev
+ - run: uv run pytest -q
frontend:
name: Frontend tests + build
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8ce44e8..ddb97de 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -59,18 +59,21 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "20"
- - uses: actions/setup-python@v5
+ - uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
- name: Build frontend into the package
working-directory: frontend
run: npm ci && npm run build
- - name: Install package + PyInstaller
+ # The wheel only *declares* its dependencies, but the binary *contains*
+ # them — this is the one artifact where the resolver's mood on build day
+ # ships to users. Install from the lock so a tag rebuilds byte-for-byte.
+ - name: Install locked deps + package + PyInstaller
run: |
- pip install .
- pip install pyinstaller
+ uv sync --frozen --no-dev
+ uv pip install . pyinstaller
- name: Build single-file binary
- run: pyinstaller packaging/azimut.spec --distpath dist-bin --workpath build-bin
+ run: uv run pyinstaller packaging/azimut.spec --distpath dist-bin --workpath build-bin
- name: Smoke-test the binary
shell: bash
run: |
diff --git a/README.md b/README.md
index 6aed8a1..7d62733 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ workbench: fix a direction, fix a location.*
| Tool | What it does |
|------|--------------|
| **Media Library** | Import local files or download by URL (X, Telegram, TikTok, YouTube, Instagram… via yt-dlp, with a gallery-dl fallback for image-only posts) → clean local file + metadata + SHA-256. Multi-photo posts open a picker. |
-| **Inspect** | Scratch workspace over any photo/video: frame adjustments, editable crop, sharpest-frame capture, hand-made collage with per-piece warp/scale/rotate — nothing enters the case until you save. |
+| **Inspect** | Scratch workspace over any photo/video: frame adjustments, editable crop, sharpest-frame capture, hand-made collage with per-piece warp/scale/rotate, and **auto-stitch** to solve a panorama's layout for you (then hand-tune it) — nothing enters the case until you save. |
| **Satellite** | Coordinates or place name → imagery crop, with select-area capture, map rotation, measurement tools, and reference-image overlays. Esri/OSM by default; add your own Mapbox/Google key for more basemaps (stored locally, never shared). |
| **Proof Composer** | Compose panels in a grid or free layout, annotate with colored shapes and text (same color = same feature), reorderable legend → export `proof.png` + a re-editable spec. |
| **Post Composer** | Turn a proof into a publishable thread: coordinates in all formats, plus code, attribution, character count, RTL-safe text. Copy-paste ready — Azimut never posts for you. |
@@ -73,10 +73,35 @@ bundled into the Python wheel via hatchling `artifacts`. So `npm run build`
```bash
cd frontend && npm run build && cd .. # refresh the bundled UI
+uv sync --frozen # the exact deps CI tested
python -m build # wheel + sdist (UI included)
-pyinstaller packaging/azimut.spec # optional: standalone binary
+uv run pyinstaller packaging/azimut.spec # optional: standalone binary
```
+### Dependencies
+
+`pyproject.toml` declares **ranges** (that's the contract for `pip install
+azimut` users); `uv.lock` pins the **exact** set, and is what CI and the release
+builds install. The wheel only declares its dependencies, but the binary
+*contains* them — so building it outside the lock ships whatever the resolver
+happened to pick that day.
+
+```bash
+uv lock --check # CI does this: is the lock in sync with pyproject?
+uv lock --upgrade # refresh everything, then run the suite
+uv lock --upgrade-package yt-dlp # refresh one
+```
+
+Raising an upper bound is a deliberate act: bump it in `pyproject.toml`, run
+`uv lock`, and make sure the suite passes before it lands. The weekly
+"latest deps" CI job re-resolves past the lock, so upstream breakage shows up
+as a red run of ours rather than a broken install for someone else.
+
+**yt-dlp and gallery-dl are deliberately unbounded** — they track sites that
+change, so an old version is a broken version. They're also updatable from
+inside the app (Settings → About → Downloaders), which is what keeps a
+months-old binary working.
+
Releases are automated: push a semver tag and GitHub Actions
([`.github/workflows/release.yml`](.github/workflows/release.yml)) builds the
wheel + Windows/Linux/macOS binaries, attaches them to a GitHub release, and
diff --git a/docs/IMAGERY_PROVIDERS.md b/docs/IMAGERY_PROVIDERS.md
index abdb981..e60f8c3 100644
--- a/docs/IMAGERY_PROVIDERS.md
+++ b/docs/IMAGERY_PROVIDERS.md
@@ -1,7 +1,7 @@
# Keyed imagery providers — Mapbox & Google
> Azimut ships two optional user-keyed basemaps alongside the key-less defaults
-> (Esri, OSM). The rules below are why their code looks the way it does — they come
+> (Esri, OSM, OpenTopoMap). The rules below are why their code looks the way it does — they come
> from Google's and Mapbox's terms, not from taste. Read alongside SPEC.md §6
> "v1 notes → Tile providers" (legal-only policy).
>
@@ -15,7 +15,7 @@
| Rule | Why |
|------|-----|
| Keys are **user-supplied**, stored **locally**, **never** bundled into a shared case/zip. | Principle 7; keys are the user's own billing identity. |
-| Core features never require a key. Key-less providers (Esri, OSM) stay the default. | Principle 7. |
+| Core features never require a key. Key-less providers (Esri, OSM, OpenTopoMap) stay the default. | Principle 7. |
| **Never** ship/suggest/document unofficial endpoints (`mt1.google.com`, `khms*`, …). Only official APIs. | Legal-only policy. |
| **Google tiles must NOT be cached to disk.** | Google's Map Tiles API forbids pre-fetch/store/cache/offline use of tiles ([policies](https://developers.google.com/maps/documentation/tile/policies)). |
| A Google **capture** is allowed only as a **flattened, attributed screenshot** (single PNG, attribution burned in) — never a store of raw tiles. | Google Geo Guidelines permit screenshots in reports/periodicals ≤5,000 copies **with attribution**; the anti-cache clause forbids tile hoarding. Two different acts. |
@@ -27,6 +27,7 @@
|----------|:-----------:|------------|:------------:|:-----------------------------:|--------------------|
| Esri World Imagery | no | — | yes | yes | static string |
| OpenStreetMap | no | — | yes | yes | static string |
+| OpenTopoMap | no | — | yes | yes | static string (CC-BY-SA² ) |
| **Mapbox Satellite** | yes | access token in URL | yes | yes¹ | `© Mapbox © OpenStreetMap` (+ Maxar) |
| **Google Satellite** | yes | **session token** | yes (flattened+attributed only) | **NO** | dynamic copyright from viewport endpoint |
@@ -34,6 +35,15 @@
caching/redistribution limits vary, so the cache stays modest (30-day TTL) and
attribution always on.
+² Free for any use, commercial included, *provided* the attribution line stays
+visible — CC-BY-SA makes it a licence condition, not a courtesy. The tile
+policy's only real limit is "no mass downloads", which a single-user workbench
+never approaches. Topographic, so `imagery=false` (the labels overlay would
+double its own labels). Its tile server stops at **z17** and answers deeper
+zooms with a constant "max zoom layer = 17" placard — registered in
+`PLACEHOLDER_TILE_SHA256`, and the live map caps its zoom at the provider max
+so it is never requested. Verified 2026-07.
+
## Google is not a static `{key}` URL
It needs a session token, minted and refreshed transparently before the rest of the
diff --git a/docs/ONTOLOGY.md b/docs/ONTOLOGY.md
index 869e022..8fdff03 100644
--- a/docs/ONTOLOGY.md
+++ b/docs/ONTOLOGY.md
@@ -21,9 +21,8 @@ Legend: ✅ implemented in code · 🔶 machinery exists, unused · ⬜ proposed
```
- **Entities** = the nodes (files, points, proofs, people…). ✅
-- **Links** = typed directed edges between nodes. 🔶 (shape + CRUD exist in
- `workspace.py`; **no tool emits any yet** — every derivation is currently
- implicit in entity `attrs` paths. Closing this is the #1 ontology task.)
+- **Links** = typed directed edges between nodes. ✅ (every save states what its
+ output was made from; see §3.)
- **Folders** = the analyst's own `/`-nested buckets (`attrs.folder`), an
organisational overlay, **not** semantic links. ✅
- Rich per-media metadata (kind, size, uploader, duration, thumbnail…) lives in a
@@ -70,7 +69,7 @@ Per-type **attribute schemas** are the main open work: fix a controlled vocab of
attr keys per type so tools read each other's output reliably. Today attrs are
convention, not contract.
-## 3. Link (the gap)
+## 3. Link
```jsonc
{ "id": "l_…", "from": "e_proof", "to": "e_capture",
@@ -78,14 +77,16 @@ convention, not contract.
"provenance": { "by": "proof-composer", "at": "…", "status": "confirmed" } }
```
-Directed: read as **`from` → `type` → `to`**. Removing an entity cascades to
-drop every link touching it (`remove_entity`, ✅).
+Directed: read as **`from` → `type` → `to`**. Removing an entity drops every
+link touching it (`remove_entity`, ✅) — but *what* gets removed is decided
+first, by link type (see "Delete" below).
### Link type registry (proposed core)
-| Type | from → to | Meaning | Priority |
+| Type | from → to | Meaning | State |
|---|---|---|---|
-| `derived-from` | artifact → source | provenance chain: this was made from that | ⬜ **#1** |
+| `derived-from` | artifact → source | made from that, and outlives it | ✅ |
+| `depends-on` | session → subject | only a pointer at that: dies with it | ✅ |
| `located-at` | media/proof/event → place | happened / shot at this point | ⬜ |
| `depicts` / `appears-in` | media → place/vehicle/person | subject shown in the media | ⬜ |
| `same-as` | entity → entity | two records, one real thing (merge) | ⬜ |
@@ -93,23 +94,60 @@ drop every link touching it (`remove_entity`, ✅).
| `posted` | account → media/post | authorship | ⬜ |
| `mentions` | media/note → any | referenced, weaker than depicts | ⬜ |
+### Delete: the policy is the link type, not the tool
+
+A new tool inherits the right behaviour by picking a link type, so this never
+needs re-deciding per tool. The test:
+
+> **Delete the target — is anything usable left in my file?**
+> Yes → `derived-from`. No → `depends-on`.
+
+| | `derived-from` | `depends-on` |
+|---|---|---|
+| Holder | proof, post, frame, collage | inspect-session |
+| Holds | its own pixels/text | only a reference |
+| Target deleted | **survives**, + tombstone | **deleted with it**, transitively |
+
+- **Never cascade into an output.** A post keeps its coordinates and text when
+ its proof goes; a frame keeps its pixels when its video goes.
+- **Tombstone** = `attrs.lost_sources[]`, `{label, type, path, sha256,
+ source_url, at}` — the sha256 and URL are what keep the loss auditable six
+ months later. Keyed by path, never stacked. Additive: schema stays 0.
+- **One door.** Every delete (sidebar, Media Library, a tool's own list) routes
+ through the chokepoint, so the rules cannot be sidestepped by where you click.
+ The confirm dialog states both lists before the click.
+- A **secondary** reference never cascades: losing one collage piece leaves a
+ placeholder, it does not void the session. Only the subject does.
+
Free-typed labels stay allowed (SPEC §5) — the registry is the well-known set the
UI understands, not a closed list.
-### The derivation chain (why `derived-from` is #1)
+### The derivation chain
-The chain you want to walk — `post ← proof ← {capture, frame} ← video ← download`
-— exists today only as file paths inside `attrs`, so nothing can traverse it.
-Emitting `derived-from` edges at save time turns on the derivation breadcrumbs,
-the cross-tool "relations", and the Case Board graph, all at once:
+The chain, filed at save time — same click, no new ceremony (principle 3):
```
post ──derived-from──▶ proof ──derived-from──▶ capture ──(provenance: provider,zoom,bearing)
└────derived-from──▶ media(frame) ──derived-from──▶ media(video)
+ inspect-session ──depends-on──▶ media(video)
```
-Each tool that already writes a source pointer in `attrs` should *also* call
-`add_link(..., "derived-from", ...)` — same click, no new ceremony (principle 3).
+How it is wired (`engine/links.py`):
+
+- Sources are recorded as **case paths** (a proof's panels, a session's
+ `spec.source`, a derivative's sidecar `source.from`/`sources`); the link layer
+ resolves path → entity and emits the edge.
+- **Every save restates them** (`sync`): a panel dropped from a proof drops its
+ edge, a proof saved three times still carries one edge per panel.
+- A path that resolves to nothing (its source was deleted while the tool was
+ open) cannot be linked — it leaves a tombstone instead. Never lost in silence.
+- Media derivatives are all filed through one registration point, so any future
+ tool producing imagery gets its chain for free. A derivative that **dedupes**
+ onto an existing entity still records its derivation: the same frame really
+ can come from two videos, and the entity keeps both.
+- Imports, downloads and satellite captures emit nothing: their origin is a URL
+ or a provider, which provenance already carries, with nothing in the case to
+ point at.
## 4. Provenance, confidence, identity
@@ -120,6 +158,9 @@ Each tool that already writes a source pointer in `attrs` should *also* call
- **Confidence** = `status`: `confirmed` (analyst-made or analyst-accepted) vs
`suggested` (a tool proposed it, awaiting a click). ✅ Binary on purpose —
honest and simple; resist finer grading until a tool truly needs it.
+ **A derivation is `confirmed`**: `derived-from`/`depends-on` record what the
+ analyst's own click just made, not what a tool inferred. `suggested` is for
+ inference — OCR reading a street name, EXIF proposing a `place` (see §5.2).
- **`same-as` / merge** (⬜ open, SPEC §9): when two entities are one real thing,
link `same-as` rather than destructively merging; a resolver treats a `same-as`
cluster as one node in views and unions their attrs/links. Keeps it reversible
@@ -131,8 +172,10 @@ Each tool that already writes a source pointer in `attrs` should *also* call
1. **Extensible core, not complete taxonomy.** Small well-known set + free-string
escape hatch. Grow from real tool needs.
2. **Nothing without a click.** Tools emit `suggested`; the analyst confirms
- (principle 5). Auto-created links are `suggested` too.
+ (principle 5). Inferred links are `suggested` too — but a derivation filed at
+ save time is `confirmed`: it states what the click did, it does not guess (§4).
3. **Two-way delete.** An artifact and its entity are one thing; deleting either
- drops the other and its links (SPEC §6 delete/edit sync).
+ drops the other and its links (SPEC §6 delete/edit sync). What that takes
+ with it is the link type's call, never the tool's (§3).
4. **Version the schema.** This file's version travels with `case.json`; a bump
ships a migration. Do the formalisation now, while the corpus is tiny.
diff --git a/docs/SPEC.md b/docs/SPEC.md
index fcdafee..3d52700 100644
--- a/docs/SPEC.md
+++ b/docs/SPEC.md
@@ -154,11 +154,11 @@ get media in, annotate the match, publish the proof.
| Tab | What it does |
|-----|--------------|
| ✅ **Media Library** | The case's media shelf. Import local files (drag & drop) or download by URL (X, Telegram, TikTok, YouTube, … via yt-dlp, with a **gallery-dl fallback** for image-only posts yt-dlp's video-first extractors drop — photo tweets, direct image links, Instagram, Facebook photos; a small **Telegram photo scraper** additionally fills in photos on mixed video+photo albums, which yt-dlp's Telegram extractor silently ignores) → clean local file + metadata JSON + sha256, with a **Title** field auto-filled from the extracted title. A link with several attachments (e.g. a tweet with multiple photos/a video) opens a **picker** to choose which ones to fetch, each with its own editable Title before download; a single-item link downloads straight away as before. Every media becomes a `media` entity. A **facet bar** groups the shelf on the fly — auto **type/source facets** (Images, Videos, Collages, Imports, Downloads, Other, derived from `kind` + `source`) alongside the user's **virtual folders**. Items can be assigned a **virtual folder** (stored in sidecar) and annotated with **notes**; an info modal surfaces full provenance (source URL, title, uploader, duration) + editable notes + folder; images show a **lightbox** on click. |
-| ✅ **Inspect** | A scratch workspace over any photo/video — **nothing enters the case until Save**. **Selection** (video): scrub, step, scan *sharpest* frames, capture into a transient tray; a gear tunes the whole clip (brightness…) for an optional enhanced-video export. **Frame**: per-frame brightness/contrast/saturation/gamma/sharpness/grayscale/invert, a **view-only zoom/pan/rotate** viewer (never saved — middle-drag turns the image around the grabbed point, marked by a "target", Google-Earth style; composes over any prior zoom/pan/rotate), and an **editable crop** — draw or nudge its 8 handles, **aspect-lock presets + numeric px entry**, **Enter/Apply** commits to a cropped preview, re-open (button or **double-click**) to edit the original — with a fold-out **Analyze** (histogram, EXIF, ELA *hint*). **Collage**: **multiple collages per session** (tab strip to add/switch/delete). Per piece: drag, **round corner handles warp**, **square side handles uniform-scale** (composes with the warp, holds up on an already-warped piece), a **rotate knob** on a stem that **follows the piece**; a small top bar carries only the **ghost** preview + **±1 stacking**, while the right panel keeps precise scale/rotate (±/↺↻) and all-the-way **Front/Back**; **Delete** removes it. **Shift-click selects several pieces**: a dashed **block frame** then moves / corner-scales / rotates them as one rigid unit about the block's centre (right panel mirrors it with precise ±/↺↻ + bulk remove), a plain click collapses back to one, and **Delete** clears the block. **Per-piece crop** is the same editable box (handles, aspect lock, numeric) over the piece's snapshot, baked before the warp — the quad is re-projected to the crop so proportions stay correct and it stays in place. Tray frames (thumbnails show each frame's current adjustments) compose on a full-bleed scratch surface into a hand-made panorama. Each collage exports as a **transparent PNG of just its pieces, auto-trimmed to their bounds** — no manual canvas size. Auto-stitch = later. **Save**: tick which of {enhanced video, adjusted frames, each collage} to file — each re-derived full-res on the backend with provenance back to its source, into an optional folder; every collage shows a **true-to-export composited miniature** (the real backend warp, on a transparency checker) in the picker. Frames captured from a tuned clip inherit its look; collage pieces are **frozen snapshots** taken when added. The whole workspace can be **saved as a reopenable session** (`inspect-session` entity, spec in `inspect/`) — reload it later from the sidebar with every frame/adjustment/collage (all of them) intact; re-saving a reopened session **overwrites it in place** (even after a rename). Adjust/analysis controls come from self-describing filter/analysis registries. |
+| ✅ **Inspect** | A scratch workspace over any photo/video — **nothing enters the case until Save**. **Selection** (video): scrub, step, scan *sharpest* frames (**every** frame scored in one streamed pass, on a **contrast-invariant** focus measure so a soft-but-punchy frame can't outrank a sharp flat one; picks are spread across distinct moments), capture into a transient tray; a gear tunes the whole clip (brightness…) for an optional enhanced-video export. **Frame**: per-frame brightness/contrast/saturation/gamma/sharpness/grayscale/invert, a **view-only zoom/pan/rotate** viewer (never saved — middle-drag turns the image around the grabbed point, marked by a "target", Google-Earth style; composes over any prior zoom/pan/rotate), and an **editable crop** — draw or nudge its 8 handles, **aspect-lock presets + numeric px entry**, **Enter/Apply** commits to a cropped preview, re-open (button or **double-click**) to edit the original — with a fold-out **Analyze** (histogram, EXIF, ELA *hint*). **Collage**: **multiple collages per session** (tab strip to add/switch/delete). Per piece: drag, **round corner handles warp**, **square side handles uniform-scale** (composes with the warp, holds up on an already-warped piece), a **rotate knob** on a stem that **follows the piece**; a small top bar carries only the **ghost** preview + **±1 stacking**, while the right panel keeps precise scale/rotate (±/↺↻) and all-the-way **Front/Back**; **Delete** removes it. **Shift-click selects several pieces**: a dashed **block frame** then moves / corner-scales / rotates them as one rigid unit about the block's centre (right panel mirrors it with precise ±/↺↻ + bulk remove), a plain click collapses back to one, and **Delete** clears the block. **Per-piece crop** is the same editable box (handles, aspect lock, numeric) over the piece's snapshot, baked before the warp — the quad is re-projected to the crop so proportions stay correct and it stays in place. Tray frames (thumbnails show each frame's current adjustments) compose on a full-bleed scratch surface into a hand-made panorama. Each collage exports as a **transparent PNG of just its pieces, auto-trimmed to their bounds** — no manual canvas size. ✅ **Auto-stitch** solves the pieces' layout from the imagery itself (feature match → homography chain → a quad each) and drops them back as ordinary hand-tunable pieces — machine stitch first, hand-tune after; pieces it can't place are **left where they were, never guessed at**, and a coincidental match is refused rather than invented. **Save**: tick which of {enhanced video, adjusted frames, each collage} to file — each re-derived full-res on the backend with provenance back to its source, into an optional folder; every collage shows a **true-to-export composited miniature** (the real backend warp, on a transparency checker) in the picker. Frames captured from a tuned clip inherit its look; collage pieces are **frozen snapshots** taken when added. The whole workspace can be **saved as a reopenable session** (`inspect-session` entity, spec in `inspect/`) — reload it later from the sidebar with every frame/adjustment/collage (all of them) intact; re-saving a reopened session **overwrites it in place** (even after a rename). Adjust/analysis controls come from self-describing filter/analysis registries. |
| ✅ **Satellite** | Enter/click coordinates, then **Save place** (a navigable `place` — coordinates only, no image, clickable to fly back) **or Capture** (a sourced imagery crop → `capture` image entity, **filed in `media/`** so it also lists in the Media Library and opens in Inspect). A single **split capture button** re-runs whichever mode was used last — **Capture** for a centred **standard size** (Tweet 16:9 / Square / OG card / Wide / custom), or **Select area**, which arms a **mouse marquee** to drag a rectangle (live px/dimension readout) for an optional **ratio lock** (16:9 / 4:3 / 1:1 / free) — with its arrow opening a compact **mode/size/ratio/resolution popover** (closes on outside click) and a **resolution** control (1× / 2× / provider max-zoom, sized so 2×/max always yield a sharper file on every built-in preset) that captures a deeper zoom. **Marker style** (crosshair / Google-Maps pin / none) baked in; centred-Capture **frame outline** previewed on hover. **Map rotation** — **middle-drag turns the map around the grabbed point** (sober target marker, Google-Earth style), click the bearing to **type an exact angle**, click the compass rose to reset north (capture matches the on-screen heading, bearing in provenance). **Move-pin mode** decouples the marker from center — drag it anywhere in frame (e.g. bottom of shot) and the **recorded coordinates follow the pin** for both actions. **Two dates per capture**: the **capture timestamp** and the **imagery acquisition date** (Esri best-effort, if known) — both recorded and shown. **Map workspace**: toggle an **OSM labels overlay** (roads / place names over the imagery — disabled over a street base map, where it'd only double the labels), read the imagery acquisition date under the crosshair (shown as an unobtrusive corner pill), go **true browser fullscreen** (dialogs follow the map in, and actions that would leave it — another tool, another tab — grey out), **measure** distance / area / **angle** (reported as the acute + obtuse pair), and float **reference windows** over the map (pick any case **image or video**; drag / roll-up / resize — images wheel-zoom & pan, videos get a native player) to eyeball the shot you're geolocating against the imagery — a **session-only scratch aid, never captured or saved**. The tool's side panel lists both in **collapsible** sections — **Places** (fly the map back) and **Captures** (open the full image, or **go to** their coordinates — also from the case sidebar) — each with an inline **title + note editor**; the case sidebar's info panel is the same editor for any capture/place/media. A collapsible **Open in…** list jumps to external maps we can't embed (Google/Earth, Apple, Bing, Yandex, Satellites.pro, Copernicus, Zoom Earth) at the current target. Provenance (provider, zoom, both dates, bearing, marker, center) recorded — feeds the composer. XYZ tile-provider abstraction (see note below). Editable title + notes per capture. |
-| ✅ **Proof Composer** | The heart of v1. Compose panels in a **multi-row grid** (frames, photos, satellite crops, imported screenshots) — arrange side by side *and* stack rows (select a panel — canvas click or side list — and move it with **on-canvas arrows**) so the composite stays near-square instead of a wide bandeau. Each panel can be **resized** (corner-drag the selected panel, or ± in the side list; 40–250%) — its drawn elements scale with it, and shorter panels bottom-align in their row. A grid/free **mode switcher** can drop the grid for a **free layout**: **drag panels anywhere** (their elements follow), **overlap allowed** with array order as **z-order** (front/back per panel), select a panel to **corner-drag resize** it (aspect locked, no rotation); saved per proof, magic tweet-fit snaps back to the grid. A toggleable **tweet-crop guide** (16:9 / 4:5) dims whatever X would centre-crop; a **magic tweet-fit** button auto-repacks the panels into rows to land closest to the active guide's aspect (16:9 default) and resets panel sizes. Draw colored boxes/ellipses/lines/arrows, multi-point **curves** (rounded, click points + double-click to finish) and **text labels** (optional **frame and/or background box**, from the Elements tab) with the mouse — same color = same feature across panels. Every element stays **editable after placing**: boxes/ellipses/text via transformer handles (text corner-drag = font size), lines/arrows/curves via draggable per-vertex handles; selecting an element lets you change its **color and stroke/font size live**, **copy/paste/duplicate** it (Ctrl+C/V/D, cascading offset), and **drag it onto any panel** (it re-binds to whatever panel it's dropped over). Palette presets **+ custom color picker**. Legend **annotations are written per color** (one note per feature), **manually reorderable** from the Annotations tab, and auto-flow into up to 3 columns; a separate **element list** (id + kind) selects/copies/deletes/**reorders** individual shapes (order = z-order within their panel). Optional per-panel captions (**off by default**; a satellite crop auto-captions with provider · coordinates · **imagery acquisition date** — the date omitted when unknown, never the fetch date). A **Coordinates + Source** header (above the panels) auto-fills from them: coordinates from the first satellite panel (falls back to the next if it's deleted), source **traced through the derivation chain** back to the downloaded original (a collage/frame from a video resolves to that video's link) — a source is **always a link**, so a disk-uploaded file counts as none; both are editable and flag a **!** while empty. These carry into the **Post Composer** (on *To Post* export or when attaching the proof there). An **Advanced** panel exposes the trickier knobs: independent **caption / legend / footer font sizes** and an **editable footer** (blank = automatic imagery/source attribution). Feature legend (color dot only, numbered in the Annotations tab for reference); export `proof.png` + re-editable JSON spec (`notes`/`legendOrder` per color, `layout`, panel `row`/`scale`/`x,y`, `coords`/`coordsText`, `source`, `caption/legend/footerSize`, `footer`) saved in `proofs/`. |
-| ✅ **Post Composer** | Build a GeoConfirmed-style thread from a proof. Tweet 1 = `Place - Plus code`, description, decimal coordinates (6 digits), `@GeoConfirmed` mention, source. Tweet 2 = optional media (Video / Image(s), removable), with media picked from the case library. Add extra context tweets; per-tweet character count; copy-per-tweet or copy-all. **Save drafts** (in `exports/`, reopenable from the sidebar as `post` entities) and **Publish** (copies the thread and opens X compose prefilled). Copy-paste ready — Azimut never posts on your behalf. |
-| ✅ **Case sidebar** | Always visible. **Case Notes** (`notes.md`). **Suggestions** — tool-suggested entities, confirm or dismiss. **My work** — every saved artifact under the analyst's own **nested folders** (`/`-separated, e.g. `Sources/Telegram`) plus an **Unfiled** inbox; file items by **dragging onto a folder** or from the **details panel** (folder field); unfiling deletes nothing, removing a folder just unfiles its subtree. **Details panel** — selection editor for any artifact: preview, title/notes, provenance (created by/at, source), My-work folder, open-in-tool / open-file / go-to-coords, and **Delete everywhere** (drops the file — danger confirm). Saved artifacts are reopened **in their tools** (Open lists in Proof/Post/Inspect — each row deletable — plus the Media & Satellite shelves); the sidebar no longer duplicates a by-tool listing. Styled confirm dialogs, not browser popups. Create/open/promote/**rename**/**delete** cases from the switcher — names must be **unique** (case-insensitive, enforced on create/rename/promote); delete wipes the **whole case folder** and everything in it, gated behind typing `DELETE` in uppercase. |
+| ✅ **Proof Composer** | The heart of v1. Compose panels in a **multi-row grid** (frames, photos, satellite crops, imported screenshots) — arrange side by side *and* stack rows (select a panel — canvas click or side list — and move it with **on-canvas arrows**) so the composite stays near-square instead of a wide bandeau. Each panel can be **resized** (corner-drag the selected panel, or ± in the side list; 40–250%) — its drawn elements scale with it, and shorter panels bottom-align in their row. A grid/free **mode switcher** can drop the grid for a **free layout**: **drag panels anywhere** (their elements follow), **overlap allowed** with array order as **z-order** (front/back per panel), select a panel to **corner-drag resize** it (aspect locked, no rotation); saved per proof, magic tweet-fit snaps back to the grid. A toggleable **tweet-crop guide** (16:9 / 4:5) dims whatever X would centre-crop; a **magic tweet-fit** button auto-repacks the panels into rows to land closest to the active guide's aspect (16:9 default) and resets panel sizes. Draw colored boxes/ellipses/lines/arrows, multi-point **curves** (rounded, click points + double-click to finish) and **text labels** (optional **frame and/or background box**, from the Elements tab) with the mouse — same color = same feature across panels. Every element stays **editable after placing**: boxes/ellipses/text via transformer handles (text corner-drag = font size), lines/arrows/curves via draggable per-vertex handles; selecting an element lets you change its **color and stroke/font size live**, **copy/paste/duplicate** it (Ctrl+C/V/D, cascading offset), and **drag it onto any panel** (it re-binds to whatever panel it's dropped over). Palette presets **+ custom color picker**. Legend **annotations are written per color** (one note per feature), **manually reorderable** from the Annotations tab, and auto-flow into up to 3 columns; a separate **element list** (id + kind) selects/copies/deletes/**reorders** individual shapes (order = z-order within their panel). Optional per-panel captions (**off by default**; a satellite crop auto-captions with provider · coordinates · **imagery acquisition date** — the date omitted when unknown, never the fetch date). A **Coordinates + Source** header (above the panels) auto-fills from them: coordinates from the first satellite panel (falls back to the next if it's deleted), source **traced through the derivation chain** back to the downloaded original (a collage/frame from a video resolves to that video's link) — a source is **always a link**, so a disk-uploaded file counts as none; both are editable and flag a **!** while empty. These carry into the **Post Composer** (on *To Post* export or when attaching the proof there). An **Advanced** panel exposes the trickier knobs: independent **caption / legend / footer font sizes**, an **editable footer** (blank = automatic imagery/source attribution), and a **signature** tick that stamps your Settings logo on the composite — pick a **corner**, size (share of doc width) and opacity, then **drag it on canvas** to nudge; stored as an anchor + offset, so it holds its corner as the document grows. Feature legend (color dot only, numbered in the Annotations tab for reference); export `proof.png` + re-editable JSON spec (`notes`/`legendOrder` per color, `layout`, panel `row`/`scale`/`x,y`, `coords`/`coordsText`, `source`, `caption/legend/footerSize`, `footer`, `signature`) saved in `proofs/`. |
+| ✅ **Post Composer** | Build a GeoConfirmed-style thread from a proof. Tweet 1 = `Place - Plus code`, description, decimal coordinates (6 digits — the posting convention, unaffected by the coordinate-format preference), mention (defaults to `@GeoConfirmed`, configurable in Settings → Preferences), source. Tweet 2 = optional media (Video / Image(s), removable), with media picked from the case library. Add extra context tweets; per-tweet character count; copy-per-tweet or copy-all. **Save drafts** (in `exports/`, reopenable from the sidebar as `post` entities) and **Publish** (copies the thread and opens X compose prefilled). Copy-paste ready — Azimut never posts on your behalf. |
+| ✅ **Case sidebar** | Always visible; **drag its left edge to resize** (240–640 px, never past half the window — width remembered across sessions, double-click to reset). **Case Notes** (`notes.md`). **Suggestions** — tool-suggested entities, confirm or dismiss. **My work** — every saved artifact under the analyst's own **nested folders** (`/`-separated, e.g. `Sources/Telegram`) plus an **Unfiled** inbox; file items by **dragging onto a folder** or from the **details panel** (folder field); unfiling deletes nothing, removing a folder just unfiles its subtree. **Details panel** — selection editor for any artifact: preview, title/notes, provenance (created by/at, source), My-work folder, open-in-tool / open-file / go-to-coords, and **Delete everywhere** (drops the file — danger confirm). Saved artifacts are reopened **in their tools** (Open lists in Proof/Post/Inspect — each row deletable — plus the Media & Satellite shelves); the sidebar no longer duplicates a by-tool listing. Styled confirm dialogs, not browser popups. Create/open/promote/**rename**/**delete** cases from the switcher — names must be **unique** (case-insensitive, enforced on create/rename/promote); delete wipes the **whole case folder** and everything in it, gated behind typing `DELETE` in uppercase. |
v1 notes:
@@ -167,7 +167,7 @@ v1 notes:
bounded concurrency, per-tile error handling, provenance recorded per crop).
Default provider: **Esri World Imagery** (key-less, attribution required).
**Legal-only policy**: built-in presets are exclusively providers whose terms
- permit this use (Esri; later Sentinel-2, OSM). More imagery comes from official
+ permit this use (Esri, OSM, OpenTopoMap; later Sentinel-2). More imagery comes from official
APIs with the user's own key (e.g. Google Map Tiles API), configured in
settings. Unofficial key-less endpoints of keyed services (e.g.
`mt1.google.com`) are **never** shipped, suggested, or documented — Azimut will
@@ -206,7 +206,7 @@ v1 notes:
| **Reverse Search Launcher** | *Entry point in **Media Library**.* Any image/frame → reverse-search links for Google/Yandex/Bing/TinEye (opens browser tabs; no scraping). First orchestrator-pattern tool. Twist beyond plain links: an **age/origin hint** — surface the *oldest* dates the engines expose for a match so the analyst can spot recycled/old imagery and trace toward the original source. Analyst files what they pick as entities with provenance; no automated verdict. |
| **OCR** | Read signs/plates on a frame (tesseract), detect script/language. Suggests entities. |
| **Ground Imagery** | See ground-level photos around a coordinate. **Key-less open sources first** — Panoramax, Mapillary, KartaView — so it works for everyone (principle 7). **Street View**: a zero-config **easy link** (`google.com/maps?layer=c`) ships first; an optional user-keyed in-app view is gated by the settings usage counter. Picked shots file as sourced `media`/`capture` entities with provenance. |
-| **Panorama** | Stitch a video time window (or a set of frames) into one wide view — `cv2.Stitcher` with fallbacks. **Pulled early into Inspect** (like Frame Extractor): an **auto-stitch** button on the collage that complements the existing hand-made warp collage — machine stitch first, hand-tune after. |
+| **Panorama** | Stitch a video time window (or a set of frames) into one wide view — `cv2.Stitcher` with fallbacks. ✅ **Pulled early into Inspect** (like Frame Extractor): an **auto-stitch** button on the collage that complements the existing hand-made warp collage — machine stitch first, hand-tune after. Still to come: **stitch a video time window** directly (auto-sample the frames), and optional **seam/exposure blending** — the collage path leaves piece edges hard. |
### v3 — the investigation layer (entities take the front seat)
@@ -237,7 +237,7 @@ not a commitment. Promote into a table above when a workflow firms up; delete if
it stops making sense. One line each.
**Toward v2 (GEOINT suite) — mostly grow existing v2 tools:**
-- **More satellite basemaps** — Sentinel-2 (date slider), user-keyed Bing (grows Satellite Compare). **OSM context** ✅. User-keyed **Mapbox & Google** basemaps + API-keys settings tab + monthly usage counters ✅ — their legal rules, costs and quirks are in [IMAGERY_PROVIDERS.md](IMAGERY_PROVIDERS.md).
+- **More satellite basemaps** — Sentinel-2 (date slider), user-keyed Bing (grows Satellite Compare). **OSM context** ✅. **OpenTopoMap** ✅ — key-less topographic base map (SRTM contour lines + hillshade) for reading relief; CC-BY-SA, caps at z17. User-keyed **Mapbox & Google** basemaps + API-keys settings tab + monthly usage counters ✅ — their legal rules, costs and quirks are in [IMAGERY_PROVIDERS.md](IMAGERY_PROVIDERS.md).
- **Keyed-provider cost controls** ✅ — per-provider enable/disable toggles; usage/limits page links in Settings; soft-block keyed maps at 90% of the free tier (clear message, explicit override); eco mode: auto-switch to free imagery when zoomed out (configurable, default z ≤ 15); Google hi-DPI 1024px tiles (1/16-cost captures; live map oversampled 2× — crisp mid-zoom imagery at ¼ cost); Mapbox/Esri disk tile cache (respect `cacheable`).
- **Esri overzoom** ✅ — where World Imagery ends, upscale the parent tile instead of showing Esri's "not yet available" placeholder (live map + capture engine, noted in provenance).
- **Capture extension** — browser extension (MV3): screenshot the active map (Google Earth/Maps, …), parse coords/zoom from the URL, file into Azimut via a local ingest endpoint with provenance (ToS: user-initiated screenshot, attribution kept).
@@ -249,7 +249,8 @@ it stops making sense. One line each.
- **Command palette** (Ctrl+K) — every tool/action one keystroke away, once the v2 tabs multiply.
**Toward v3 (investigation layer):**
-- **Dependency-aware delete** — deleting a media that proofs/sessions/posts derive from: never cascade; confirm dialog lists dependents (needs real `derived-from` links written at save time); dependents keep a provenance tombstone (sha256 + source URL); Inspect opens missing sources as placeholders.
+- **Dependency-aware delete** ✅ — deleting a media that proofs/sessions/posts derive from: never cascade; confirm dialog lists dependents (needs real `derived-from` links written at save time); dependents keep a provenance tombstone (sha256 + source URL); Inspect opens missing sources as placeholders.
+- **Downloader cookies** — optional `cookies.txt` (Settings, stored under the workspace root) passed to yt-dlp + gallery-dl for login-gated posts (sensitive/age-gated X, protected accounts), which today die on a bare `'Unavailable'` — surface the platform's real reason instead. Bytes still come from the platform, so sha256 provenance holds.
- **Archive-on-download** — optional Wayback push on URL import, archive URL into provenance (early Evidence Locker slice).
- **Extension for saving a web page** — web extension for saving a web page.
- **Case bundle export/import** — one-click **.zip** of the whole case a recipient opens in their own workbench; a zip, not a hosted link (principle 1).
@@ -278,7 +279,10 @@ it stops making sense. One line each.
- No rebuilding of specialized OSINT services (email finders, people search, …) —
orchestrate them instead (principle 4).
- No scraping features designed to evade platform blocks; downloads use
- yt-dlp and gallery-dl as-is and inherit their capabilities.
+ yt-dlp and gallery-dl as-is and inherit their capabilities. Passing the
+ user's own session cookies is auth, not evasion, and stays in scope —
+ third-party downloader proxies (ssstwitter & co) do not: they re-encode the
+ media (breaking the sha256 chain) and leak the target to a stranger.
- No auto-posting to any platform — Azimut prepares posts, the human publishes.
- No paid API dependencies, ever, for core features.
@@ -297,11 +301,21 @@ it stops making sense. One line each.
raster XYZ stitching). Phase 2 = pitch + terrain + oblique **3D capture**,
with **pitch recorded in provenance** alongside bearing so a tilted crop
stays auditable.
-- ✅ **Settings & secrets**: an in-app options page manages optional API keys/secrets
- (stored locally, **never** bundled into a shared case) plus per-provider
- **monthly usage counters** so a user tracks a keyed quota (Street View, Google
- imagery, …) before hitting it. Core features never require a key (principle 7);
- key-less providers are always the default.
+- ✅ **Settings & secrets**: an in-app options page, split into tabs —
+ **Preferences** (coordinate format DD/DMS/MGRS, metric/imperial units,
+ Satellite home view, default post mention, **signature** — your own PNG logo,
+ ≤ 2 MB, app-wide beside `settings.json`, reaching a case only as pixels in a
+ proof PNG you signed), **Imagery** (optional API
+ keys/secrets, stored locally and **never** bundled into a shared case),
+ **Usage** (per-provider **monthly counters** so a user tracks a keyed quota
+ before hitting it, + eco mode), **About** (version, workspace path, license,
+ links, + **Downloaders** ✅ — one-click update for yt-dlp/gallery-dl, see
+ below). Core features never require a key (principle 7); key-less providers
+ are always the default.
+ **Display preferences are presentation only**: artifacts keep decimal degrees
+ and metres on disk, so a case reads the same for every reader. A default
+ title/label is minted in the user's format at creation and **never rewritten**
+ when the format changes later.
- **UI direction & workspaces**: the rail holds a fixed set of workspaces in
investigation-pipeline order; tools are tabs/modes inside them; visual
language is the sober "pro desk" (dense, flat, one accent), not the AI
@@ -312,6 +326,22 @@ it stops making sense. One line each.
visible, an early slice of the v3 Relations view.
- **Distribution**: `pip install azimut` + `azimut` command for technical users;
PyInstaller single-file executables (Windows/Linux/macOS) for everyone else.
+- **Dependencies** ✅ — two regimes, on purpose:
+
+ | | Declared in `pyproject.toml` | Pinned in `uv.lock` | Why |
+ |---|---|---|---|
+ | Everything else | range, bounded at the next untested major | exact + hashed | a tag must rebuild the same program; CI proves the locked set |
+ | yt-dlp, gallery-dl | `>=`, **no upper bound** | pinned for the build only | they race sites that change; old = broken |
+
+ CI runs the lock (Linux/Windows/macOS × py3.11–3.12) *and*, weekly, the newest
+ versions the ranges allow — so upstream breakage lands on us, not on a user.
+ The binary is the strongest guarantee: it freezes everything, no install step.
+- **Scraper self-update** ✅ — which is also what makes freezing yt-dlp safe.
+ Settings → About fetches the latest pure-Python wheel from PyPI into
+ `~/Azimut/runtime/<dist>/`, hash-checked, and a meta-path finder prefers it
+ over the bundled copy (a `sys.path` entry can't win against PyInstaller's
+ importer). Network only on the button; **Revert** returns to the shipped
+ version. Keeps a months-old binary useful instead of quietly broken.
- **Storage**: plain files as described in §4. No database server; SQLite only for
rebuildable indexes/caches.
diff --git a/docs/UI.md b/docs/UI.md
index 25e8c8c..1149345 100644
--- a/docs/UI.md
+++ b/docs/UI.md
@@ -42,6 +42,8 @@ Rules:
Four sections; tools list (and delete) their own saved artifacts via their
Open lists / shelves — the sidebar never duplicates a by-tool listing.
+Its left edge is a drag handle (240–640 px, capped at half the window;
+double-click resets, width persists).
- **Case Notes** — `notes.md`.
- **Suggestions** — tool-suggested entities; confirm or dismiss (only shown
diff --git a/frontend/src/app.css b/frontend/src/app.css
index 876617f..b7cb55d 100644
--- a/frontend/src/app.css
+++ b/frontend/src/app.css
@@ -56,7 +56,6 @@
--r-md: 4px;
--r-lg: 6px;
--rail-w: 64px;
- --sidebar-w: 320px;
--topbar-h: 44px;
--shadow-1: 0 1px 3px rgba(0, 0, 0, 0.4);
diff --git a/frontend/src/components/CaseSidebar.svelte b/frontend/src/components/CaseSidebar.svelte
index a19eafa..f535bb4 100644
--- a/frontend/src/components/CaseSidebar.svelte
+++ b/frontend/src/components/CaseSidebar.svelte
@@ -1,7 +1,16 @@
<script>
import { api } from '../lib/api.js';
- import { caseState, uiState, reloadCase, toast } from '../lib/state.svelte.js';
+ import {
+ caseState,
+ uiState,
+ reloadCase,
+ toast,
+ setSidebarWidth,
+ persistSidebarWidth,
+ } from '../lib/state.svelte.js';
+ import { DEFAULT_W } from '../lib/sidebar.js';
import { buildTree, subtreeCount, flattenPaths, folderOf } from '../lib/folderTree.js';
+ import { chainOf, deletePlan, DEPENDS_ON } from '../lib/chain.js';
import Icon from './Icon.svelte';
import Modal from './Modal.svelte';
import ConfirmDialog from './ConfirmDialog.svelte';
@@ -80,6 +89,7 @@
// ── entities ─────────────────────────────────────────────────────────────
const entities = $derived(caseState.current?.entities ?? []);
+ const links = $derived(caseState.current?.links ?? []);
const suggested = $derived(entities.filter((e) => e.provenance?.status === 'suggested'));
const confirmed = $derived(entities.filter((e) => e.provenance?.status !== 'suggested'));
@@ -244,7 +254,7 @@
// keeps its sidecar in sync via its own endpoint.
async function assignFolder(entity, folder) {
const val = folder || '';
- if (entity.type === 'media' && entity.attrs?.path) {
+ if ((entity.type === 'media' || entity.type === 'capture') && entity.attrs?.path) {
await api.patch(`/api/cases/${caseState.current.id}/media`, {
path: entity.attrs.path,
folder: val,
@@ -291,6 +301,10 @@
// Delete everywhere: removes the entity and its underlying file(s). Used from
// the details panel (and the note modal) — irreversible, danger tone.
+ //
+ // Whatever hangs off the entity is spelled out before the click: sessions that
+ // cannot outlive it go too, outputs made from it stay and keep a record of
+ // what they lost. Nothing cascades into an output — ever (ONTOLOGY §3).
function askDeleteEverywhere(entity, onDone) {
confirmState = {
title: 'Delete everywhere?',
@@ -298,6 +312,7 @@
detail: FILE_BACKED.has(entity.type)
? 'This permanently deletes the underlying file(s) on disk — it cannot be undone.'
: 'This permanently removes it from the case — it cannot be undone.',
+ consequences: deletePlan(entities, links, entity.id),
confirmLabel: 'Delete everywhere',
tone: 'danger',
icon: 'trash',
@@ -365,6 +380,20 @@
// which types get title/notes editors straight from the sidebar
const EDITABLE = new Set(['capture', 'place', 'media']);
+ // The derivation chain around the selection: what it was made from, what was
+ // made from it, and the sources it has outlived (ONTOLOGY §3). An entity with
+ // no chain at all hides the section rather than showing an empty shell.
+ const chain = $derived(infoEntity ? chainOf(entities, links, infoEntity.id) : null);
+ const ENTITY_ICON = {
+ media: 'media',
+ capture: 'satellite',
+ place: 'pin',
+ proof: 'proof',
+ post: 'post',
+ 'inspect-session': 'inspect',
+ note: 'note',
+ };
+
async function openInfo(entity) {
infoEntity = entity;
infoData = null;
@@ -487,9 +516,64 @@
}
}
+ // --- resize: the sidebar's left edge is a drag handle ---
+ let resizing = $state(false);
+ const KEY_STEP = 16;
+
+ function startResize(e) {
+ if (e.button !== 0) return;
+ e.preventDefault(); // don't start a text selection under the cursor
+ const startX = e.clientX;
+ const startW = uiState.sidebarW;
+ resizing = true;
+ // dragging left (a smaller clientX) widens the sidebar — it grows into the canvas
+ const move = (ev) => setSidebarWidth(startW + startX - ev.clientX);
+ const up = () => {
+ resizing = false;
+ persistSidebarWidth(); // one write per drag, not one per frame
+ window.removeEventListener('pointermove', move);
+ window.removeEventListener('pointerup', up);
+ };
+ window.addEventListener('pointermove', move);
+ window.addEventListener('pointerup', up);
+ }
+
+ function onResizeKey(e) {
+ const step = { ArrowLeft: KEY_STEP, ArrowRight: -KEY_STEP }[e.key];
+ if (step === undefined) return;
+ e.preventDefault();
+ setSidebarWidth(uiState.sidebarW + step);
+ persistSidebarWidth();
+ }
+
+ function resetWidth() {
+ setSidebarWidth(DEFAULT_W);
+ persistSidebarWidth();
+ }
+
+ // A width dragged out on a wide screen would eat a narrower window whole, so
+ // re-clamp against the viewport as it changes. The clamped-down value is not
+ // written back — what the user actually chose is what a later session restores.
+ $effect(() => {
+ const onWindowResize = () => setSidebarWidth(uiState.sidebarW);
+ window.addEventListener('resize', onWindowResize);
+ return () => window.removeEventListener('resize', onWindowResize);
+ });
</script>
-<aside class="sidebar">
+<aside class="sidebar" class:resizing style="width: {uiState.sidebarW}px">
+ <!-- a <button> rather than a bare div: the handle must be focusable and
+ keyboard-driven (arrows resize), and the element carries that for free -->
+ <button
+ type="button"
+ class="resizer"
+ aria-label="Resize sidebar"
+ title="Drag to resize · double-click to reset"
+ onpointerdown={startResize}
+ ondblclick={resetWidth}
+ onkeydown={onResizeKey}
+ ></button>
+
{#if !caseState.current}
<div class="empty">
<div class="empty-icon"><Icon name="folder" size={34} /></div>
@@ -709,6 +793,48 @@
{/if}
</div>
+ <!-- derivation chain: click a row to walk to that entity's details -->
+ {#if chain && !chain.empty}
+ <div class="chain">
+ {#if chain.sources.length || chain.lost.length}
+ <div class="chain-h">Made from</div>
+ {#each chain.sources as { entity, type } (entity.id)}
+ <button class="chain-row" onclick={() => openInfo(entity)}>
+ <Icon name={ENTITY_ICON[entity.type] ?? 'file'} size={12} />
+ <span class="chain-label">{entity.label}</span>
+ {#if type === DEPENDS_ON}
+ <span class="chain-tag" title="This is a view over that item — it cannot outlive it">needs</span>
+ {/if}
+ </button>
+ {/each}
+ {#each chain.lost as lost (lost.path)}
+ <div class="chain-row gone" title={`Deleted on ${lost.at?.slice(0, 10) ?? 'an unknown date'}${lost.sha256 ? ` · sha256 ${lost.sha256}` : ''}`}>
+ <Icon name="alert" size={12} />
+ <span class="chain-label">{lost.label ?? lost.path}</span>
+ <span class="chain-tag">deleted</span>
+ </div>
+ {/each}
+ {#each chain.lost as lost (lost.path + '-src')}
+ {#if lost.source_url}
+ <a class="chain-src mono" href={lost.source_url} target="_blank" rel="noreferrer">{lost.source_url}</a>
+ {/if}
+ {/each}
+ {/if}
+ {#if chain.dependents.length}
+ <div class="chain-h">Used by</div>
+ {#each chain.dependents as { entity, type } (entity.id)}
+ <button class="chain-row" onclick={() => openInfo(entity)}>
+ <Icon name={ENTITY_ICON[entity.type] ?? 'file'} size={12} />
+ <span class="chain-label">{entity.label}</span>
+ {#if type === DEPENDS_ON}
+ <span class="chain-tag warn" title="Deleting this item deletes that one too">goes with it</span>
+ {/if}
+ </button>
+ {/each}
+ {/if}
+ </div>
+ {/if}
+
{#if EDITABLE.has(infoEntity.type)}
<label class="modal-label" for="info-notes">Notes</label>
<textarea
@@ -961,6 +1087,7 @@
title={confirmState.title}
message={confirmState.message}
detail={confirmState.detail}
+ consequences={confirmState.consequences}
confirmLabel={confirmState.confirmLabel}
tone={confirmState.tone}
icon={confirmState.icon}
@@ -972,7 +1099,8 @@
<style>
.sidebar {
- width: var(--sidebar-w);
+ /* width is driven by uiState.sidebarW (inline style) — see lib/sidebar.js */
+ position: relative;
flex-shrink: 0;
border-left: 1px solid var(--border);
background: var(--bg-1);
@@ -980,6 +1108,29 @@
flex-direction: column;
overflow: hidden;
}
+ /* the grab strip sits just inside the left edge, over the sections' padding */
+ .resizer {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 5px;
+ height: 100%;
+ z-index: 2;
+ cursor: col-resize;
+ background: transparent;
+ transition: background 0.12s;
+ }
+ .resizer:hover,
+ .resizer:focus-visible,
+ .sidebar.resizing .resizer {
+ background: var(--accent);
+ outline: none;
+ }
+ /* a drag reads as one gesture — no text selection, no cursor flicker on hover
+ targets the pointer crosses on the way */
+ .sidebar.resizing {
+ user-select: none;
+ }
.case-head {
padding: 16px 16px 12px;
border-bottom: 1px solid var(--border);
@@ -1146,4 +1297,52 @@
.hash { font-size: 11px; word-break: break-all; color: var(--text-2); }
.src { font-size: var(--fs-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.info-note-body { white-space: pre-wrap; font-size: var(--fs-sm); color: var(--text-2); }
+
+ /* derivation chain rows (ONTOLOGY §3) */
+ .chain { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
+ .chain-h {
+ font-size: var(--fs-xs);
+ color: var(--text-3);
+ text-transform: uppercase;
+ letter-spacing: 0.04em;
+ margin: 6px 0 3px;
+ }
+ .chain-row {
+ display: flex;
+ align-items: center;
+ gap: 7px;
+ width: 100%;
+ padding: 5px 6px;
+ border: 0;
+ border-radius: var(--r-sm);
+ background: transparent;
+ color: var(--text-2);
+ font-size: var(--fs-sm);
+ text-align: left;
+ min-width: 0;
+ }
+ button.chain-row { cursor: pointer; }
+ button.chain-row:hover { background: var(--bg-2); color: var(--text-1); }
+ .chain-row.gone { color: var(--text-3); }
+ .chain-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+ .chain-tag {
+ flex-shrink: 0;
+ font-size: 10px;
+ padding: 1px 5px;
+ border-radius: 999px;
+ background: var(--bg-2);
+ color: var(--text-3);
+ }
+ .chain-tag.warn {
+ background: color-mix(in srgb, var(--danger, #e5484d) 14%, transparent);
+ color: color-mix(in srgb, var(--danger, #e5484d) 80%, var(--text-2));
+ }
+ .chain-src {
+ font-size: 10px;
+ color: var(--text-3);
+ padding: 0 6px 4px 25px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
</style>
diff --git a/frontend/src/components/ConfirmDialog.svelte b/frontend/src/components/ConfirmDialog.svelte
index be35ba5..700f0ef 100644
--- a/frontend/src/components/ConfirmDialog.svelte
+++ b/frontend/src/components/ConfirmDialog.svelte
@@ -7,10 +7,15 @@
// reversible one.
// tone: 'danger' → deletes everywhere (irreversible, drops files)
// tone: 'default' → reversible (unfile, remove a folder)
+ // `consequences` spells out what else a delete touches, so an irreversible
+ // click is never a guess: what goes with it, and what stays behind scarred.
+ // The two lists carry their own tone — "kept" must not read as a warning.
+ // { cascade: [{ label }], tombstone: [{ label }] }
let {
title,
message,
detail = '',
+ consequences = null,
confirmLabel = 'Confirm',
tone = 'default', // 'danger' | 'default'
icon = tone === 'danger' ? 'trash' : 'folderMinus',
@@ -46,6 +51,32 @@
{#if detail}
<p class="detail" class:danger={tone === 'danger'}>{detail}</p>
{/if}
+ {#if consequences?.cascade?.length}
+ <div class="conseq danger">
+ <div class="conseq-h">
+ <Icon name="trash" size={12} />
+ <span>Goes with it — nothing is left of these without it</span>
+ </div>
+ <ul>
+ {#each consequences.cascade as item (item.id ?? item.label)}
+ <li>{item.label}</li>
+ {/each}
+ </ul>
+ </div>
+ {/if}
+ {#if consequences?.tombstone?.length}
+ <div class="conseq">
+ <div class="conseq-h">
+ <Icon name="check" size={12} />
+ <span>Kept — each keeps a record of what it was made from</span>
+ </div>
+ <ul>
+ {#each consequences.tombstone as item (item.id ?? item.label)}
+ <li>{item.label}</li>
+ {/each}
+ </ul>
+ </div>
+ {/if}
<div class="actions">
<button class="btn" onclick={oncancel} disabled={busy}>Cancel</button>
<button
@@ -127,6 +158,39 @@
color: color-mix(in srgb, var(--danger, #e5484d) 85%, var(--text-2));
background: color-mix(in srgb, var(--danger, #e5484d) 9%, transparent);
}
+ .conseq {
+ margin-top: 8px;
+ padding: 8px 10px;
+ background: var(--bg-2);
+ border-radius: var(--r-sm);
+ font-size: var(--fs-xs);
+ }
+ .conseq.danger {
+ background: color-mix(in srgb, var(--danger, #e5484d) 9%, transparent);
+ }
+ .conseq-h {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ color: var(--text-3);
+ line-height: 1.35;
+ }
+ .conseq.danger .conseq-h {
+ color: color-mix(in srgb, var(--danger, #e5484d) 85%, var(--text-2));
+ }
+ .conseq ul {
+ margin: 5px 0 0;
+ padding-left: 24px;
+ color: var(--text-2);
+ max-height: 96px;
+ overflow-y: auto;
+ }
+ .conseq li {
+ line-height: 1.5;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ }
.actions {
display: flex;
justify-content: flex-end;
diff --git a/frontend/src/lib/chain.js b/frontend/src/lib/chain.js
new file mode 100644
index 0000000..1922250
--- /dev/null
+++ b/frontend/src/lib/chain.js
@@ -0,0 +1,146 @@
+/**
+ * Derivation chain: walking the case graph's links around one entity.
+ *
+ * The backend emits `derived-from` (an artifact and the sources it was made
+ * from) and `depends-on` (a session and the subject it is worthless without)
+ * at save time; this reads them back in both directions, so an entity can show
+ * both what it came from and what was built on it.
+ *
+ * Entities carry `attrs.lost_sources` for sources deleted out from under them —
+ * a source that is gone still shows in the chain, as a tombstone rather than a
+ * link, so the trail never just ends.
+ */
+
+export const DERIVED_FROM = 'derived-from';
+export const DEPENDS_ON = 'depends-on';
+
+const CHAIN_TYPES = [DERIVED_FROM, DEPENDS_ON];
+
+const byId = (entities) => new Map(entities.map((e) => [e.id, e]));
+
+/** Entities this one was made from or points at (outgoing links). */
+export function sourcesOf(entities, links, id) {
+ const index = byId(entities);
+ return links
+ .filter((l) => l.from === id && CHAIN_TYPES.includes(l.type))
+ .map((l) => ({ entity: index.get(l.to), type: l.type }))
+ .filter((r) => r.entity);
+}
+
+/** Entities made from this one, or that could not exist without it (incoming). */
+export function dependentsOf(entities, links, id) {
+ const index = byId(entities);
+ return links
+ .filter((l) => l.to === id && CHAIN_TYPES.includes(l.type))
+ .map((l) => ({ entity: index.get(l.from), type: l.type }))
+ .filter((r) => r.entity);
+}
+
+/** Sources that were deleted: kept as tombstones on the entity itself. */
+export function lostSourcesOf(entity) {
+ return entity?.attrs?.lost_sources ?? [];
+}
+
+/**
+ * Walk `derived-from`/`depends-on` upstream to the original — a proof's chain
+ * back through its frame and its video to the download. Breadth-first, so the
+ * closest source comes first; `depth` starts at 1 for a direct source.
+ *
+ * A cycle cannot happen through a save (an artifact is filed after its sources)
+ * but the visited set makes the walk total regardless — a hand-edited case.json
+ * must not hang the sidebar.
+ */
+export function walkUp(entities, links, id, { maxDepth = 12 } = {}) {
+ const out = [];
+ const seen = new Set([id]);
+ let frontier = [id];
+ for (let depth = 1; depth <= maxDepth && frontier.length; depth++) {
+ const next = [];
+ for (const current of frontier) {
+ for (const { entity, type } of sourcesOf(entities, links, current)) {
+ if (seen.has(entity.id)) continue;
+ seen.add(entity.id);
+ out.push({ entity, type, depth });
+ next.push(entity.id);
+ }
+ }
+ frontier = next;
+ }
+ return out;
+}
+
+/** The mirror of `walkUp`: everything built on this entity, however indirectly. */
+export function walkDown(entities, links, id, { maxDepth = 12 } = {}) {
+ const out = [];
+ const seen = new Set([id]);
+ let frontier = [id];
+ for (let depth = 1; depth <= maxDepth && frontier.length; depth++) {
+ const next = [];
+ for (const current of frontier) {
+ for (const { entity, type } of dependentsOf(entities, links, current)) {
+ if (seen.has(entity.id)) continue;
+ seen.add(entity.id);
+ out.push({ entity, type, depth });
+ next.push(entity.id);
+ }
+ }
+ frontier = next;
+ }
+ return out;
+}
+
+/**
+ * Everything the Details panel needs for one entity: its direct sources (live
+ * and lost), what depends on it, and whether there is any chain at all — the
+ * panel hides the section entirely rather than showing an empty shell.
+ */
+export function chainOf(entities, links, id) {
+ const entity = entities.find((e) => e.id === id) ?? null;
+ const sources = sourcesOf(entities, links, id);
+ const lost = lostSourcesOf(entity);
+ const dependents = dependentsOf(entities, links, id);
+ return {
+ entity,
+ sources,
+ lost,
+ dependents,
+ empty: !sources.length && !lost.length && !dependents.length,
+ };
+}
+
+/**
+ * What deleting this entity would do, computed the same way the backend does
+ * (engine/links.py) — `depends-on` cascades transitively, `derived-from` never
+ * does. The dialog still asks the backend for the authoritative plan; this
+ * mirror is what lets the sidebar warn without a round-trip.
+ */
+export function deletePlan(entities, links, id) {
+ const index = byId(entities);
+ const doomed = [id];
+ const frontier = [id];
+ while (frontier.length) {
+ const current = frontier.pop();
+ for (const l of links) {
+ if (l.to === current && l.type === DEPENDS_ON && !doomed.includes(l.from) && index.has(l.from)) {
+ doomed.push(l.from);
+ frontier.push(l.from);
+ }
+ }
+ }
+ const scarred = [];
+ for (const l of links) {
+ if (
+ doomed.includes(l.to) &&
+ l.type === DERIVED_FROM &&
+ !doomed.includes(l.from) &&
+ !scarred.includes(l.from) &&
+ index.has(l.from)
+ ) {
+ scarred.push(l.from);
+ }
+ }
+ return {
+ cascade: doomed.slice(1).map((i) => index.get(i)),
+ tombstone: scarred.map((i) => index.get(i)),
+ };
+}
diff --git a/frontend/src/lib/chain.test.js b/frontend/src/lib/chain.test.js
new file mode 100644
index 0000000..db2985c
--- /dev/null
+++ b/frontend/src/lib/chain.test.js
@@ -0,0 +1,161 @@
+import { describe, it, expect } from 'vitest';
+import {
+ chainOf,
+ deletePlan,
+ dependentsOf,
+ lostSourcesOf,
+ sourcesOf,
+ walkDown,
+ walkUp,
+} from './chain.js';
+
+const ent = (id, type, attrs = {}) => ({ id, type, label: id, attrs });
+const link = (from, to, type = 'derived-from') => ({ id: `l_${from}${to}`, from, to, type });
+
+// The v1 workflow, filed: a download, a frame cut from it, a proof composed
+// from that frame, the post announcing the proof, and a session over the video.
+const entities = [
+ ent('video', 'media', { path: 'media/v.mp4', sha256: 'abc', source_url: 'https://x/1' }),
+ ent('frame', 'media', { path: 'media/f.png' }),
+ ent('proof', 'proof', { spec: 'proofs/p.json', path: 'proofs/p.png' }),
+ ent('post', 'post', { draft: 'exports/d.json' }),
+ ent('session', 'inspect-session', { spec: 'inspect/s.json' }),
+];
+const links = [
+ link('frame', 'video'),
+ link('proof', 'frame'),
+ link('post', 'proof'),
+ link('session', 'video', 'depends-on'),
+];
+
+describe('sourcesOf / dependentsOf', () => {
+ it('reads the two directions of an edge', () => {
+ expect(sourcesOf(entities, links, 'frame').map((r) => r.entity.id)).toEqual(['video']);
+ expect(dependentsOf(entities, links, 'video').map((r) => r.entity.id)).toEqual([
+ 'frame',
+ 'session',
+ ]);
+ });
+
+ it('reports the link type so the UI can tell a derivation from a dependency', () => {
+ expect(dependentsOf(entities, links, 'video').map((r) => r.type)).toEqual([
+ 'derived-from',
+ 'depends-on',
+ ]);
+ });
+
+ it('ignores links to entities that are not in the case', () => {
+ const dangling = [...links, link('proof', 'ghost')];
+ expect(sourcesOf(entities, dangling, 'proof').map((r) => r.entity.id)).toEqual(['frame']);
+ });
+
+ it('ignores link types that are not part of the chain', () => {
+ const withOther = [...links, link('proof', 'video', 'mentions')];
+ expect(sourcesOf(entities, withOther, 'proof').map((r) => r.entity.id)).toEqual(['frame']);
+ });
+});
+
+describe('walkUp', () => {
+ it('climbs to the original, closest source first, with depth', () => {
+ expect(walkUp(entities, links, 'post')).toEqual([
+ { entity: entities[2], type: 'derived-from', depth: 1 },
+ { entity: entities[1], type: 'derived-from', depth: 2 },
+ { entity: entities[0], type: 'derived-from', depth: 3 },
+ ]);
+ });
+
+ it('terminates on a cycle instead of hanging the sidebar', () => {
+ const cyclic = [link('a', 'b'), link('b', 'a')];
+ const pair = [ent('a', 'media'), ent('b', 'media')];
+ expect(walkUp(pair, cyclic, 'a').map((r) => r.entity.id)).toEqual(['b']);
+ });
+
+ it('honours maxDepth', () => {
+ expect(walkUp(entities, links, 'post', { maxDepth: 1 }).map((r) => r.entity.id)).toEqual([
+ 'proof',
+ ]);
+ });
+});
+
+describe('walkDown', () => {
+ it('finds everything built on a source, however indirectly', () => {
+ expect(walkDown(entities, links, 'video').map((r) => r.entity.id)).toEqual([
+ 'frame',
+ 'session',
+ 'proof',
+ 'post',
+ ]);
+ });
+});
+
+describe('lostSourcesOf', () => {
+ it('reads the tombstones, missing → empty', () => {
+ const scarred = ent('x', 'proof', { lost_sources: [{ path: 'media/gone.mp4', sha256: 'd' }] });
+ expect(lostSourcesOf(scarred)).toHaveLength(1);
+ expect(lostSourcesOf(ent('y', 'proof'))).toEqual([]);
+ expect(lostSourcesOf(null)).toEqual([]);
+ });
+});
+
+describe('chainOf', () => {
+ it('gathers both directions plus tombstones for one entity', () => {
+ const chain = chainOf(entities, links, 'proof');
+ expect(chain.sources.map((r) => r.entity.id)).toEqual(['frame']);
+ expect(chain.dependents.map((r) => r.entity.id)).toEqual(['post']);
+ expect(chain.empty).toBe(false);
+ });
+
+ it('flags an entity with no chain at all so the panel can hide the section', () => {
+ const lonely = [...entities, ent('place', 'place')];
+ expect(chainOf(lonely, links, 'place').empty).toBe(true);
+ });
+
+ it('is not empty when the only trace left is a tombstone', () => {
+ const scarred = [ent('p', 'proof', { lost_sources: [{ path: 'media/gone.mp4' }] })];
+ expect(chainOf(scarred, [], 'p').empty).toBe(false);
+ });
+});
+
+describe('deletePlan', () => {
+ it('takes the session down with its subject and leaves the outputs standing', () => {
+ const plan = deletePlan(entities, links, 'video');
+ expect(plan.cascade.map((e) => e.id)).toEqual(['session']);
+ expect(plan.tombstone.map((e) => e.id)).toEqual(['frame']);
+ });
+
+ it('never cascades through derived-from: deleting a proof spares its post', () => {
+ const plan = deletePlan(entities, links, 'proof');
+ expect(plan.cascade).toEqual([]);
+ expect(plan.tombstone.map((e) => e.id)).toEqual(['post']);
+ });
+
+ it('cascades depends-on transitively', () => {
+ const chained = [...entities, ent('sub', 'inspect-session', { spec: 'inspect/2.json' })];
+ const deep = [...links, link('sub', 'session', 'depends-on')];
+ expect(deletePlan(chained, deep, 'video').cascade.map((e) => e.id)).toEqual(['session', 'sub']);
+ });
+
+ it('spares a session whose own subject survives the delete', () => {
+ // a session opened over the frame, not the video: deleting the video scars
+ // the frame but leaves it in place, so the session over it still stands.
+ const more = [...entities, ent('session2', 'inspect-session', { spec: 'inspect/2.json' })];
+ const deep = [...links, link('session2', 'frame', 'depends-on')];
+ const plan = deletePlan(more, deep, 'video');
+ expect(plan.cascade.map((e) => e.id)).toEqual(['session']);
+ expect(plan.tombstone.map((e) => e.id)).toEqual(['frame']);
+ });
+
+ it('does not tombstone an entity that is itself being deleted', () => {
+ // a producer that files both edges onto the same target: the depends-on
+ // dooms the session, so its derived-from must not also list it as a
+ // survivor to scar — a doomed entity is never tombstoned.
+ const deep = [...links, link('session', 'video')];
+ const plan = deletePlan(entities, deep, 'video');
+ expect(plan.cascade.map((e) => e.id)).toEqual(['session']);
+ expect(plan.tombstone.map((e) => e.id)).toEqual(['frame']);
+ });
+
+ it('reports nothing for an entity nothing hangs off', () => {
+ expect(deletePlan(entities, links, 'post')).toEqual({ cascade: [], tombstone: [] });
+ });
+});
diff --git a/frontend/src/lib/composer.js b/frontend/src/lib/composer.js
index cdaeef3..d4911ca 100644
--- a/frontend/src/lib/composer.js
+++ b/frontend/src/lib/composer.js
@@ -12,6 +12,8 @@
* spec stays valid regardless of layout or zoom (re-editable forever).
*/
+import { formatCoords as renderCoords } from './coords.js';
+
export const PANEL_H = 720;
export const PAD = 20;
export const GAP = 16;
@@ -282,11 +284,13 @@ export function autoCoords(panels) {
return null;
}
-/** Decimal "lat, lon" (6 dp) for a {lat, lon}, or '' when null. */
-export function formatCoords(c) {
- return c && c.lat != null && c.lon != null
- ? `${Number(c.lat).toFixed(6)}, ${Number(c.lon).toFixed(6)}`
- : '';
+/**
+ * A {lat, lon} rendered in the reader's coordinate format, or '' when null.
+ * Defaults to decimal degrees so this stays a pure function — components pass
+ * the user's preference in (state.svelte.js `prefs.coordFormat`).
+ */
+export function formatCoords(c, format = 'dd') {
+ return c && c.lat != null && c.lon != null ? renderCoords(c.lat, c.lon, format) : '';
}
/**
@@ -333,10 +337,10 @@ export function autoSource(panels) {
}
/** Effective coordinates text for a proof/spec: manual override else auto. */
-export function proofCoordsText(p) {
+export function proofCoordsText(p, format = 'dd') {
const manual = p.coordsText?.trim();
if (manual) return manual;
- return formatCoords(autoCoords(p.panels ?? []));
+ return formatCoords(autoCoords(p.panels ?? []), format);
}
/** Effective source line for a proof/spec: manual override else auto. */
@@ -382,6 +386,66 @@ export function docSize(panels, shapes, notes = {}, text = {}, legendOrder = [],
return { width: contentW, height, legend, cols };
}
+// ---- signature: the analyst's logo, stamped on a proof they choose to sign ---
+
+/** Doc corners the signature can hang off: top/bottom × left/right. */
+export const SIG_ANCHORS = [
+ { id: 'tl', label: 'Top left' },
+ { id: 'tr', label: 'Top right' },
+ { id: 'bl', label: 'Bottom left' },
+ { id: 'br', label: 'Bottom right' },
+];
+
+export const SIG_MARGIN = PAD; // inset from the doc edge at zero offset
+export const SIG_SCALE = 0.12; // default width, as a share of the doc width
+export const SIG_OPACITY = 0.9;
+
+/** A fresh signature record — bottom right, the corner a byline usually takes. */
+export function newSignature() {
+ return { anchor: 'br', dx: 0, dy: 0, scale: SIG_SCALE, opacity: SIG_OPACITY };
+}
+
+/**
+ * Where the signature lands in doc space: {x, y, w, h}.
+ *
+ * Size is a *share of the doc width* (`scale`) rather than fixed pixels, so a
+ * logo keeps its visual weight whether it's stamped on a lone panel or a wide
+ * three-up composite. Position is an `anchor` corner plus a user `dx`/`dy` nudge
+ * — the document grows every time a panel or a font size changes, so a raw x/y
+ * would drift off the image; an anchored offset stays put.
+ *
+ * The result is clamped inside the document: a nudge can't push the logo off
+ * the export, where it would be silently cropped rather than visibly wrong.
+ */
+export function signatureBox(sig, docW, docH, natural) {
+ const [nw, nh] = natural;
+ const w = docW * (sig.scale ?? SIG_SCALE);
+ const h = nw > 0 ? w * (nh / nw) : 0;
+ const right = (sig.anchor ?? 'br').endsWith('r');
+ const bottom = (sig.anchor ?? 'br').startsWith('b');
+ const x = right ? docW - SIG_MARGIN - w : SIG_MARGIN;
+ const y = bottom ? docH - SIG_MARGIN - h : SIG_MARGIN;
+ return {
+ x: clamp(x + (sig.dx ?? 0), 0, Math.max(0, docW - w)),
+ y: clamp(y + (sig.dy ?? 0), 0, Math.max(0, docH - h)),
+ w,
+ h,
+ };
+}
+
+function clamp(v, lo, hi) {
+ return Math.max(lo, Math.min(hi, v));
+}
+
+/**
+ * The `dx`/`dy` that puts the signature's top-left at doc point (x, y) — the
+ * inverse of signatureBox's anchoring, for writing a drag back to the spec.
+ */
+export function signatureOffset(sig, docW, docH, natural, x, y) {
+ const base = signatureBox({ ...sig, dx: 0, dy: 0 }, docW, docH, natural);
+ return { dx: x - base.x, dy: y - base.y };
+}
+
/** Serializable spec from runtime state (drops live image objects). */
export function toSpec(proof) {
return {
@@ -395,6 +459,10 @@ export function toSpec(proof) {
footerSize: proof.footerSize ?? FOOTER_SIZE,
footer: proof.footer?.trim() ? proof.footer.trim() : null, // null → default attribution line
layout: proof.layout ?? 'grid', // 'grid' (rows) | 'free' (per-panel x/y, overlap allowed)
+ // null → unsigned. The logo itself lives in the workspace, never in the
+ // spec: a shared case reads the same, it just renders no signature without
+ // the file (see config.signature_path).
+ signature: proof.signature ? { ...proof.signature } : null,
notes: { ...(proof.notes ?? {}) },
legendOrder: [...(proof.legendOrder ?? [])],
panels: proof.panels.map((p) => ({
@@ -448,8 +516,10 @@ export function offsetShape(shape, d) {
* NOT when we fetched the tiles) — the date part is simply omitted when the
* provider doesn't expose it, never substituted with the fetch date.
*/
-export function satPanelInput(s) {
- const parts = [`${s.provider_label} · ${s.lat.toFixed(6)}, ${s.lon.toFixed(6)}`];
+export function satPanelInput(s, format = 'dd') {
+ // the caption follows the reader's format; the panel meta below keeps the
+ // raw decimal degrees, so provenance stays machine-readable either way
+ const parts = [`${s.provider_label} · ${renderCoords(s.lat, s.lon, format)}`];
if (s.imagery_date) parts.push(s.imagery_date);
return {
src: s.path,
diff --git a/frontend/src/lib/composer.test.js b/frontend/src/lib/composer.test.js
index 94281cf..ec41931 100644
--- a/frontend/src/lib/composer.test.js
+++ b/frontend/src/lib/composer.test.js
@@ -7,6 +7,7 @@ import {
autoCoords, formatCoords, resolveSourceUrls, autoSource, autoSourceUrls,
proofCoordsText, proofSource, orderedFeatureColors, legendLines,
dedupeBySrc, isSatelliteCapture, satPanelInput, mediaPanelInput,
+ SIG_MARGIN, SIG_SCALE, newSignature, signatureBox, signatureOffset,
} from './composer.js';
// natural is [width, height]; PANEL_H drives the per-row scale.
@@ -677,3 +678,102 @@ describe('isSatelliteCapture — a capture is a media image flagged by its sourc
expect(kept.map((m) => m.path)).toEqual(['media/photo.jpg']);
});
});
+
+describe('coordinate format threading — the reader’s format reaches captions, not provenance', () => {
+ const capture = {
+ path: 'media/sat_1.png',
+ attribution: '© Provider',
+ lat: 48.85, lon: 2.35, zoom: 17,
+ provider_label: 'Esri',
+ fetched_at: '2026-07-14T10:00:00Z',
+ imagery_date: '2024-03-02',
+ };
+
+ it('renders a satellite caption in the chosen format', () => {
+ expect(satPanelInput(capture, 'dms').caption).toBe(
+ 'Esri · 48°51\'00.00"N 2°21\'00.00"E · 2024-03-02'
+ );
+ expect(satPanelInput(capture, 'mgrs').caption).toBe('Esri · 31U DQ 52314 10984 · 2024-03-02');
+ });
+
+ it('keeps decimal degrees in the panel meta whatever the caption says', () => {
+ // provenance stays machine-readable: an MGRS caption must not move the
+ // numbers a later reader (or re-export) depends on
+ for (const format of ['dd', 'dms', 'mgrs']) {
+ expect(satPanelInput(capture, format).meta).toMatchObject({ lat: 48.85, lon: 2.35 });
+ }
+ });
+
+ it('defaults to decimal degrees when no format is passed', () => {
+ expect(satPanelInput(capture).caption).toBe('Esri · 48.850000, 2.350000 · 2024-03-02');
+ expect(formatCoords({ lat: 12.3, lon: -4 })).toBe('12.300000, -4.000000');
+ });
+
+ it('formats a proof’s auto coordinates in the chosen format', () => {
+ const panels = [{ meta: { kind: 'satellite', lat: 48.85, lon: 2.35 } }];
+ expect(proofCoordsText({ panels }, 'dms')).toBe('48°51\'00.00"N 2°21\'00.00"E');
+ expect(proofCoordsText({ panels }, 'mgrs')).toBe('31U DQ 52314 10984');
+ });
+
+ it('never reformats a manual override — that text is the analyst’s', () => {
+ const spec = { panels: [{ meta: { kind: 'satellite', lat: 48.85, lon: 2.35 } }], coordsText: 'as given' };
+ expect(proofCoordsText(spec, 'mgrs')).toBe('as given');
+ });
+});
+
+describe('signatureBox — anchoring', () => {
+ const natural = [200, 100]; // 2:1 logo
+ const sig = (extra = {}) => ({ ...newSignature(), ...extra });
+
+ it('sizes the logo as a share of the doc width, keeping its aspect', () => {
+ const box = signatureBox(sig({ scale: 0.1 }), 1000, 800, natural);
+ expect(box.w).toBe(100);
+ expect(box.h).toBe(50); // 2:1 preserved
+ });
+
+ it('hangs off each of the four corners, inset by the margin', () => {
+ const at = (anchor) => signatureBox(sig({ anchor, scale: 0.1 }), 1000, 800, natural);
+ expect(at('tl')).toMatchObject({ x: SIG_MARGIN, y: SIG_MARGIN });
+ expect(at('tr')).toMatchObject({ x: 1000 - SIG_MARGIN - 100, y: SIG_MARGIN });
+ expect(at('bl')).toMatchObject({ x: SIG_MARGIN, y: 800 - SIG_MARGIN - 50 });
+ expect(at('br')).toMatchObject({ x: 1000 - SIG_MARGIN - 100, y: 800 - SIG_MARGIN - 50 });
+ });
+
+ it('applies the drag nudge on top of the anchor', () => {
+ const box = signatureBox(sig({ anchor: 'tl', scale: 0.1, dx: 30, dy: 12 }), 1000, 800, natural);
+ expect(box).toMatchObject({ x: SIG_MARGIN + 30, y: SIG_MARGIN + 12 });
+ });
+
+ it('keeps the same corner as the document grows — the point of anchoring', () => {
+ const small = signatureBox(sig({ anchor: 'br', scale: 0.1 }), 1000, 800, natural);
+ const grown = signatureBox(sig({ anchor: 'br', scale: 0.1 }), 2000, 1600, natural);
+ expect(small.x + small.w).toBe(1000 - SIG_MARGIN);
+ expect(grown.x + grown.w).toBe(2000 - SIG_MARGIN); // still hugging the edge
+ });
+
+ it('clamps a nudge that would push the logo off the export', () => {
+ const box = signatureBox(sig({ anchor: 'tl', scale: 0.1, dx: -500, dy: -500 }), 1000, 800, natural);
+ expect(box).toMatchObject({ x: 0, y: 0 });
+ const far = signatureBox(sig({ anchor: 'tl', scale: 0.1, dx: 5000, dy: 5000 }), 1000, 800, natural);
+ expect(far).toMatchObject({ x: 900, y: 750 }); // flush against the far edge
+ });
+
+ it('defaults to bottom-right at the default scale', () => {
+ const box = signatureBox(newSignature(), 1000, 800, natural);
+ expect(box.w).toBe(1000 * SIG_SCALE);
+ expect(box.x + box.w).toBe(1000 - SIG_MARGIN);
+ });
+});
+
+describe('signatureOffset — a drag round-trips through the anchor', () => {
+ const natural = [200, 100];
+
+ it('returns the dx/dy that reproduces a dropped position', () => {
+ for (const anchor of ['tl', 'tr', 'bl', 'br']) {
+ const sig = { ...newSignature(), anchor, scale: 0.1 };
+ const { dx, dy } = signatureOffset(sig, 1000, 800, natural, 300, 250);
+ const box = signatureBox({ ...sig, dx, dy }, 1000, 800, natural);
+ expect(box).toMatchObject({ x: 300, y: 250 });
+ }
+ });
+});
diff --git a/frontend/src/lib/coords.js b/frontend/src/lib/coords.js
new file mode 100644
index 0000000..e234e71
--- /dev/null
+++ b/frontend/src/lib/coords.js
@@ -0,0 +1,173 @@
+// Latitude/longitude presentation. The app stores decimal degrees everywhere
+// (case.json, proof specs, exports) — this module only decides how a pair is
+// *shown*, per the user's Settings → Preferences choice. Nothing here ever
+// changes what lands on disk, so a case reads the same for every reader.
+//
+// Kept pure and Leaflet-free so it can be unit-tested.
+
+export const COORD_FORMATS = ['dd', 'dms', 'mgrs'];
+
+// WGS84 / UTM constants (mirror of the ellipsoid Web Mercator tiles use).
+const A = 6378137; // semi-major axis (m)
+const F = 1 / 298.257223563; // flattening
+const K0 = 0.9996; // UTM scale factor on the central meridian
+const E2 = F * (2 - F); // first eccentricity squared
+const EP2 = E2 / (1 - E2); // second eccentricity squared
+
+const rad = (deg) => (deg * Math.PI) / 180;
+
+/** Decimal degrees, 6 dp (~0.11 m) — the app's native precision. */
+export function formatDD(lat, lon) {
+ return `${Number(lat).toFixed(6)}, ${Number(lon).toFixed(6)}`;
+}
+
+function dmsPart(value, positive, negative) {
+ const hemi = value < 0 ? negative : positive;
+ const abs = Math.abs(value);
+ let deg = Math.floor(abs);
+ let min = Math.floor((abs - deg) * 60);
+ let sec = (abs - deg - min / 60) * 3600;
+ // rounding the seconds for display can carry into the minute (and the degree)
+ if (Number(sec.toFixed(2)) >= 60) {
+ sec = 0;
+ min += 1;
+ }
+ if (min >= 60) {
+ min = 0;
+ deg += 1;
+ }
+ return `${deg}°${String(min).padStart(2, '0')}'${sec.toFixed(2).padStart(5, '0')}"${hemi}`;
+}
+
+/** Degrees/minutes/seconds, 2 dp on the seconds (~0.3 m). */
+export function formatDMS(lat, lon) {
+ return `${dmsPart(Number(lat), 'N', 'S')} ${dmsPart(Number(lon), 'E', 'W')}`;
+}
+
+/**
+ * The UTM zone for a point, including the two irregularities every MGRS
+ * implementation has to carry: zone 32 is widened over south-west Norway, and
+ * band X over Svalbard uses only the odd zones 31/33/35/37.
+ */
+export function utmZone(lat, lon) {
+ if (lat >= 56 && lat < 64 && lon >= 3 && lon < 12) return 32;
+ if (lat >= 72 && lat < 84 && lon >= 0 && lon < 42) {
+ if (lon < 9) return 31;
+ if (lon < 21) return 33;
+ if (lon < 33) return 35;
+ return 37;
+ }
+ return Math.floor((lon + 180) / 6) + 1;
+}
+
+// Latitude bands, 8° each from 80°S; I and O are skipped to avoid reading as
+// 1 and 0. The last band (X) is 12° tall and runs to the 84°N UTM limit.
+const BANDS = 'CDEFGHJKLMNPQRSTUVWX';
+
+export function latBand(lat) {
+ if (lat < -80 || lat > 84) return null; // outside the UTM/MGRS domain
+ if (lat >= 72) return 'X';
+ return BANDS[Math.floor((lat + 80) / 8)];
+}
+
+/** Project to UTM: { zone, easting, northing } in metres. */
+export function toUTM(lat, lon) {
+ const zone = utmZone(lat, lon);
+ const lon0 = rad((zone - 1) * 6 - 180 + 3); // central meridian of the zone
+ const phi = rad(lat);
+ const lam = rad(lon);
+
+ const sinPhi = Math.sin(phi);
+ const cosPhi = Math.cos(phi);
+ const tanPhi = Math.tan(phi);
+
+ const N = A / Math.sqrt(1 - E2 * sinPhi * sinPhi);
+ const T = tanPhi * tanPhi;
+ const C = EP2 * cosPhi * cosPhi;
+ // keep the longitude difference in (-180, 180] so a zone straddling the
+ // antimeridian doesn't blow the series up
+ let dLon = lam - lon0;
+ if (dLon > Math.PI) dLon -= 2 * Math.PI;
+ if (dLon < -Math.PI) dLon += 2 * Math.PI;
+ const Aa = dLon * cosPhi;
+
+ // meridional arc
+ const M =
+ A *
+ ((1 - E2 / 4 - (3 * E2 * E2) / 64 - (5 * E2 * E2 * E2) / 256) * phi -
+ ((3 * E2) / 8 + (3 * E2 * E2) / 32 + (45 * E2 * E2 * E2) / 1024) * Math.sin(2 * phi) +
+ ((15 * E2 * E2) / 256 + (45 * E2 * E2 * E2) / 1024) * Math.sin(4 * phi) -
+ ((35 * E2 * E2 * E2) / 3072) * Math.sin(6 * phi));
+
+ const easting =
+ K0 *
+ N *
+ (Aa +
+ ((1 - T + C) * Aa ** 3) / 6 +
+ ((5 - 18 * T + T * T + 72 * C - 58 * EP2) * Aa ** 5) / 120) +
+ 500000;
+
+ let northing =
+ K0 *
+ (M +
+ N *
+ tanPhi *
+ ((Aa * Aa) / 2 +
+ ((5 - T + 9 * C + 4 * C * C) * Aa ** 4) / 24 +
+ ((61 - 58 * T + T * T + 600 * C - 330 * EP2) * Aa ** 6) / 720));
+ if (lat < 0) northing += 10000000; // southern hemisphere false northing
+
+ return { zone, easting, northing };
+}
+
+// 100 km square identifiers. The column letter cycles through three alphabet
+// sets by zone; the row letter cycles through 20 letters, offset by half the
+// alphabet on even zones (the standard AA lettering scheme).
+const COL_SETS = ['ABCDEFGH', 'JKLMNPQR', 'STUVWXYZ'];
+const ROW_LETTERS = 'ABCDEFGHJKLMNPQRSTUV';
+
+/**
+ * Military Grid Reference System, 1 m precision — e.g. "31U DQ 48250 11951".
+ * Returns null outside the UTM domain (the poles use UPS, which the tools
+ * never need).
+ */
+export function formatMGRS(lat, lon) {
+ const band = latBand(lat);
+ if (band === null) return null;
+
+ const { zone, easting, northing } = toUTM(lat, lon);
+ const col = COL_SETS[(zone - 1) % 3][Math.floor(easting / 100000) - 1];
+ let rowIndex = Math.floor(northing / 100000) % 20;
+ if (zone % 2 === 0) rowIndex = (rowIndex + 5) % 20;
+ const row = ROW_LETTERS[rowIndex];
+
+ const e = String(Math.floor(easting % 100000)).padStart(5, '0');
+ const n = String(Math.floor(northing % 100000)).padStart(5, '0');
+ return `${zone}${band} ${col}${row} ${e} ${n}`;
+}
+
+/**
+ * Read the Settings home-view fields into a view the API accepts, or null when
+ * one is blank or unreadable. The fields arrive mixed: lat/lon bind as text, so
+ * a half-typed "-" isn't fought mid-keystroke, while the zoom input binds as a
+ * number (and as null once emptied) — hence the string normalisation.
+ */
+export function parseHomeView({ lat, lon, zoom }) {
+ const text = (value) => String(value ?? '').trim();
+ if (!text(lat) || !text(lon) || !text(zoom)) return null;
+ // zoom is a discrete tile level; the server refuses a fractional one
+ const view = { lat: Number(lat), lon: Number(lon), zoom: Math.round(Number(zoom)) };
+ return Object.values(view).every(Number.isFinite) ? view : null;
+}
+
+/**
+ * Render a pair in the user's chosen format. Unknown formats — and points MGRS
+ * can't express — fall back to decimal degrees, so a coordinate is always
+ * readable rather than blank.
+ */
+export function formatCoords(lat, lon, format = 'dd') {
+ if (!Number.isFinite(Number(lat)) || !Number.isFinite(Number(lon))) return '';
+ if (format === 'dms') return formatDMS(lat, lon);
+ if (format === 'mgrs') return formatMGRS(lat, lon) ?? formatDD(lat, lon);
+ return formatDD(lat, lon);
+}
diff --git a/frontend/src/lib/coords.test.js b/frontend/src/lib/coords.test.js
new file mode 100644
index 0000000..d51ad70
--- /dev/null
+++ b/frontend/src/lib/coords.test.js
@@ -0,0 +1,177 @@
+import { describe, it, expect } from 'vitest';
+import {
+ formatCoords,
+ formatDD,
+ formatDMS,
+ formatMGRS,
+ latBand,
+ parseHomeView,
+ utmZone,
+} from './coords.js';
+
+describe('formatDD', () => {
+ it('keeps the app native 6 decimals', () => {
+ expect(formatDD(48.8583701, 2.2944813)).toBe('48.858370, 2.294481');
+ });
+
+ it('renders southern/western points with signs, not hemispheres', () => {
+ expect(formatDD(-33.8568, 151.2153)).toBe('-33.856800, 151.215300');
+ });
+});
+
+describe('formatDMS', () => {
+ it('splits degrees, minutes and seconds with hemispheres', () => {
+ expect(formatDMS(48.8583701, 2.2944813)).toBe('48°51\'30.13"N 2°17\'40.13"E');
+ });
+
+ it('marks south and west', () => {
+ expect(formatDMS(-33.8568, -70.6693)).toBe('33°51\'24.48"S 70°40\'09.48"W');
+ });
+
+ it('handles the equator and prime meridian', () => {
+ expect(formatDMS(0, 0)).toBe('0°00\'00.00"N 0°00\'00.00"E');
+ });
+
+ it('carries a second that rounds up to 60 into the minute', () => {
+ // 1.0166666 = 1°00'59.9999" — the seconds must not print as 60
+ expect(formatDMS(1.01666664, 0)).toBe('1°01\'00.00"N 0°00\'00.00"E');
+ });
+});
+
+describe('utmZone', () => {
+ it('is the plain 6° zone away from the exceptions', () => {
+ expect(utmZone(48.8583701, 2.2944813)).toBe(31);
+ expect(utmZone(40.6892, -74.0445)).toBe(18);
+ });
+
+ it('widens zone 32 over south-west Norway', () => {
+ expect(utmZone(59.9, 4.9)).toBe(32); // plain formula would say 31
+ expect(utmZone(60.5, 5.0)).toBe(32);
+ });
+
+ it('uses only odd zones over Svalbard', () => {
+ expect(utmZone(72.5, 5.0)).toBe(31);
+ expect(utmZone(75.0, 12.0)).toBe(33);
+ expect(utmZone(78.0, 25.0)).toBe(35);
+ expect(utmZone(80.0, 35.0)).toBe(37);
+ });
+});
+
+describe('latBand', () => {
+ it('skips I and O', () => {
+ expect(latBand(48.86)).toBe('U');
+ expect(latBand(40.69)).toBe('T');
+ expect(latBand(-33.86)).toBe('H');
+ expect(latBand(0)).toBe('N');
+ });
+
+ it('stretches band X to the 84°N limit', () => {
+ expect(latBand(72.5)).toBe('X');
+ expect(latBand(83.5)).toBe('X');
+ });
+
+ it('is null outside the UTM domain', () => {
+ expect(latBand(85)).toBeNull();
+ expect(latBand(-80.1)).toBeNull();
+ });
+});
+
+describe('formatMGRS', () => {
+ // Ground truth generated with the reference `mgrs` library (Python, NGA
+ // GEOTRANS-derived) — not hand-computed.
+ const cases = [
+ [48.8583701, 2.2944813, '31U DQ 48250 11951'], // Eiffel Tower
+ [40.6892, -74.0445, '18T WL 80735 04695'], // Statue of Liberty
+ [38.8977, -77.0365, '18S UJ 23394 07395'], // White House
+ [-33.8568, 151.2153, '56H LH 34900 52288'], // Sydney Opera House
+ [64.1466, -21.9426, '27W VM 54138 13689'], // Reykjavík
+ [-54.8019, -68.303, '19F EV 44805 27029'], // Ushuaia
+ [1.3521, 103.8198, '48N UG 68700 49479'], // Singapore
+ [78.2232, 15.6469, '33X WG 14738 83360'], // Longyearbyen (Svalbard)
+ [0.0, 0.0, '31N AA 66021 00000'], // Null Island
+ [-33.9249, 18.4241, '34H BH 61881 43182'], // Cape Town
+ [60.5, 5.0, '32V KN 80356 13774'], // Bergen (Norway exception)
+ [59.9, 4.9, '32V KM 70719 47376'], // North Sea (Norway exception)
+ [72.5, 5.0, '31X EA 67115 45822'], // Svalbard exception
+ [75.0, 12.0, '33X VD 13362 25798'],
+ [78.0, 25.0, '35X MG 53588 59161'],
+ [80.0, 35.0, '37X DJ 22516 84250'],
+ [-79.9, 120.0, '51C VM 41292 28062'], // near the southern limit
+ [83.5, -40.0, '24X VT 87362 72385'], // near the northern limit
+ ];
+
+ it.each(cases)('%s, %s → %s', (lat, lon, expected) => {
+ expect(formatMGRS(lat, lon)).toBe(expected);
+ });
+
+ it('is null beyond the UTM limits (the poles use UPS)', () => {
+ expect(formatMGRS(85, 10)).toBeNull();
+ expect(formatMGRS(-85, 10)).toBeNull();
+ });
+});
+
+describe('formatCoords', () => {
+ it('dispatches on the chosen format', () => {
+ expect(formatCoords(48.8583701, 2.2944813, 'dd')).toBe('48.858370, 2.294481');
+ expect(formatCoords(48.8583701, 2.2944813, 'dms')).toBe('48°51\'30.13"N 2°17\'40.13"E');
+ expect(formatCoords(48.8583701, 2.2944813, 'mgrs')).toBe('31U DQ 48250 11951');
+ });
+
+ it('defaults to decimal degrees', () => {
+ expect(formatCoords(48.8583701, 2.2944813)).toBe('48.858370, 2.294481');
+ expect(formatCoords(48.8583701, 2.2944813, 'nonsense')).toBe('48.858370, 2.294481');
+ });
+
+ it('falls back to decimal degrees where MGRS cannot reach', () => {
+ expect(formatCoords(85, 10, 'mgrs')).toBe('85.000000, 10.000000');
+ });
+
+ it('is empty for a non-coordinate rather than printing NaN', () => {
+ expect(formatCoords(null, undefined)).toBe('');
+ expect(formatCoords(NaN, 5, 'dms')).toBe('');
+ });
+});
+
+describe('parseHomeView', () => {
+ it('reads the text fields the lat/lon inputs bind', () => {
+ expect(parseHomeView({ lat: '48.8584', lon: '2.2945', zoom: '16' })).toEqual({
+ lat: 48.8584,
+ lon: 2.2945,
+ zoom: 16,
+ });
+ });
+
+ it('accepts the number the zoom input binds', () => {
+ // <input type="number"> binds a number, not a string — the whole reason a
+ // zoom change used to throw before it ever reached the server
+ expect(parseHomeView({ lat: '48.8584', lon: '2.2945', zoom: 4 })).toEqual({
+ lat: 48.8584,
+ lon: 2.2945,
+ zoom: 4,
+ });
+ });
+
+ it('rounds a fractional zoom the server would refuse', () => {
+ expect(parseHomeView({ lat: '0', lon: '0', zoom: 4.6 }).zoom).toBe(5);
+ });
+
+ it('keeps a zero coordinate, which is a real place', () => {
+ expect(parseHomeView({ lat: '0', lon: 0, zoom: 3 })).toEqual({ lat: 0, lon: 0, zoom: 3 });
+ });
+
+ it('refuses a blank field, however it went blank', () => {
+ expect(parseHomeView({ lat: '', lon: '2.2945', zoom: 16 })).toBeNull();
+ expect(parseHomeView({ lat: '48.8584', lon: ' ', zoom: 16 })).toBeNull();
+ expect(parseHomeView({ lat: '48.8584', lon: '2.2945', zoom: null })).toBeNull();
+ });
+
+ it('reads what it can and refuses the rest', () => {
+ expect(parseHomeView({ lat: '48.', lon: '2.2945', zoom: 16 })).toEqual({
+ lat: 48,
+ lon: 2.2945,
+ zoom: 16,
+ });
+ expect(parseHomeView({ lat: '-', lon: '2.2945', zoom: 16 })).toBeNull();
+ expect(parseHomeView({ lat: 'north', lon: '2.2945', zoom: 16 })).toBeNull();
+ });
+});
diff --git a/frontend/src/lib/measure.js b/frontend/src/lib/measure.js
index d8b7488..b30c403 100644
--- a/frontend/src/lib/measure.js
+++ b/frontend/src/lib/measure.js
@@ -49,12 +49,32 @@ export function angleAt(a, vertex, b) {
return (Math.acos(cos) * 180) / Math.PI;
}
-export function formatDistance(m) {
+// Measurements are computed and stored in metres; `units` only picks how they
+// read (Settings → Preferences). International feet/miles/acres.
+const FT_PER_M = 3.28084;
+const FT_PER_MI = 5280;
+const SQFT_PER_ACRE = 43560;
+const SQMI_PER_SQM = 3.861021585e-7;
+
+export function formatDistance(m, units = 'metric') {
+ if (units === 'imperial') {
+ const ft = m * FT_PER_M;
+ if (ft < FT_PER_MI) return `${ft < 10 ? ft.toFixed(1) : Math.round(ft)} ft`;
+ const mi = ft / FT_PER_MI;
+ return `${mi.toFixed(mi < 10 ? 2 : 1)} mi`;
+ }
if (m < 1000) return `${m < 10 ? m.toFixed(1) : Math.round(m)} m`;
return `${(m / 1000).toFixed(m < 10000 ? 2 : 1)} km`;
}
-export function formatArea(m2) {
+export function formatArea(m2, units = 'metric') {
+ if (units === 'imperial') {
+ const sqft = m2 * FT_PER_M * FT_PER_M;
+ if (sqft < SQFT_PER_ACRE) return `${Math.round(sqft)} ft²`;
+ const sqmi = m2 * SQMI_PER_SQM;
+ if (sqmi < 1) return `${(sqft / SQFT_PER_ACRE).toFixed(2)} acres`;
+ return `${sqmi.toFixed(2)} mi²`;
+ }
if (m2 < 10000) return `${Math.round(m2)} m²`;
if (m2 < 1e6) return `${(m2 / 10000).toFixed(2)} ha`;
return `${(m2 / 1e6).toFixed(2)} km²`;
diff --git a/frontend/src/lib/measure.test.js b/frontend/src/lib/measure.test.js
index e24a3cd..392fc01 100644
--- a/frontend/src/lib/measure.test.js
+++ b/frontend/src/lib/measure.test.js
@@ -98,3 +98,30 @@ describe('formatting', () => {
expect(formatAngle(150)).toBe('30.0° · 150.0°');
});
});
+
+describe('imperial units', () => {
+ it('switches ft → mi', () => {
+ expect(formatDistance(1, 'imperial')).toBe('3.3 ft');
+ expect(formatDistance(250, 'imperial')).toBe('820 ft');
+ expect(formatDistance(1609.344, 'imperial')).toBe('1.00 mi');
+ expect(formatDistance(50000, 'imperial')).toBe('31.1 mi');
+ });
+
+ it('switches ft² → acres → mi²', () => {
+ expect(formatArea(500, 'imperial')).toBe('5382 ft²');
+ expect(formatArea(50000, 'imperial')).toBe('12.36 acres');
+ expect(formatArea(5e6, 'imperial')).toBe('1.93 mi²');
+ });
+
+ it('stays metric unless imperial is asked for', () => {
+ expect(formatDistance(1500)).toBe('1.50 km');
+ expect(formatDistance(1500, 'metric')).toBe('1.50 km');
+ expect(formatArea(50000, 'metric')).toBe('5.00 ha');
+ });
+
+ it('agrees with the metric reading at the same distance', () => {
+ // 1 km is 0.62 mi — the same measurement, two labels
+ expect(formatDistance(1000)).toBe('1.00 km');
+ expect(formatDistance(1000, 'imperial')).toBe('3281 ft');
+ });
+});
diff --git a/frontend/src/lib/prefs.test.js b/frontend/src/lib/prefs.test.js
new file mode 100644
index 0000000..3d61c40
--- /dev/null
+++ b/frontend/src/lib/prefs.test.js
@@ -0,0 +1,58 @@
+import { describe, it, expect, vi, beforeEach } from 'vitest';
+
+// state.svelte.js reaches for the API on import-time module state, so the
+// transport is stubbed and the module re-imported fresh per test.
+vi.mock('./api.js', () => ({ api: { get: vi.fn() } }));
+
+async function freshState() {
+ vi.resetModules();
+ return import('./state.svelte.js');
+}
+
+describe('prefsReady — tools must not race the settings fetch', () => {
+ let api;
+ beforeEach(async () => {
+ ({ api } = await import('./api.js'));
+ api.get.mockReset();
+ });
+
+ it('does not resolve before the preferences land', async () => {
+ let release;
+ api.get.mockReturnValue(new Promise((r) => (release = r)));
+ const { prefsReady, loadPrefs, prefs } = await freshState();
+
+ let ready = false;
+ prefsReady.then(() => (ready = true));
+ loadPrefs();
+ await Promise.resolve();
+ expect(ready).toBe(false); // a tool awaiting this is still parked
+
+ release({ home_view: { lat: -33.8568, lon: 151.2153, zoom: 17 } });
+ await prefsReady;
+ // the home view is readable the moment prefsReady resolves — that ordering
+ // is what keeps the Satellite map off its built-in default
+ expect(prefs.homeView).toEqual({ lat: -33.8568, lon: 151.2153, zoom: 17 });
+ });
+
+ it('resolves even when the settings read fails, leaving the defaults', async () => {
+ api.get.mockRejectedValue(new Error('offline'));
+ const { prefsReady, loadPrefs, prefs } = await freshState();
+
+ await loadPrefs().catch(() => {});
+ await expect(prefsReady).resolves.toBeUndefined(); // never hangs a tool
+ expect(prefs.homeView).toEqual({ lat: 48.8584, lon: 2.2945, zoom: 16 });
+ });
+});
+
+describe('applyPrefs', () => {
+ it('adopts a settings payload and ignores absent fields', async () => {
+ const { applyPrefs, prefs } = await freshState();
+ applyPrefs({ coord_format: 'mgrs', units: 'imperial' });
+ expect(prefs.coordFormat).toBe('mgrs');
+ expect(prefs.units).toBe('imperial');
+ expect(prefs.postMention).toBe('@GeoConfirmed'); // untouched by a partial payload
+
+ applyPrefs({ post_mention: '' }); // an empty mention is a real choice, not absence
+ expect(prefs.postMention).toBe('');
+ });
+});
diff --git a/frontend/src/lib/sidebar.js b/frontend/src/lib/sidebar.js
new file mode 100644
index 0000000..f275547
--- /dev/null
+++ b/frontend/src/lib/sidebar.js
@@ -0,0 +1,46 @@
+/**
+ * Case sidebar width. The sidebar's left edge is a drag handle, and the width
+ * it lands on survives reloads. Pure helpers here — the pointer glue lives in
+ * CaseSidebar.svelte.
+ *
+ * The width is clamped both ways: narrow enough and the entity tree turns into
+ * ellipses, wide enough and it eats the tool canvas it exists to annotate. The
+ * viewport-relative cap is what stops a wide window's setting from swallowing a
+ * laptop screen when the case is reopened there.
+ */
+
+export const MIN_W = 240;
+export const MAX_W = 640;
+export const DEFAULT_W = 320;
+const MAX_VIEWPORT_FRACTION = 0.5;
+
+const KEY = 'azimut:sidebarW';
+
+/** The widest the sidebar may get in a `viewportW`-wide window. */
+export function maxWidth(viewportW) {
+ const cap = Math.min(MAX_W, Math.round(viewportW * MAX_VIEWPORT_FRACTION));
+ return Math.max(MIN_W, cap); // a tiny window still gets a usable sidebar
+}
+
+/** Snap any width — dragged, restored, or garbage — into the allowed range. */
+export function clampWidth(w, viewportW = Infinity) {
+ if (!Number.isFinite(w)) return DEFAULT_W;
+ return Math.min(maxWidth(viewportW), Math.max(MIN_W, Math.round(w)));
+}
+
+export function loadWidth() {
+ try {
+ const stored = localStorage.getItem(KEY);
+ return stored === null ? DEFAULT_W : clampWidth(Number(stored));
+ } catch {
+ return DEFAULT_W; // localStorage unavailable (private mode) — non-fatal
+ }
+}
+
+export function saveWidth(w) {
+ try {
+ localStorage.setItem(KEY, String(w));
+ } catch {
+ /* ignore */
+ }
+}
diff --git a/frontend/src/lib/sidebar.test.js b/frontend/src/lib/sidebar.test.js
new file mode 100644
index 0000000..fb506dc
--- /dev/null
+++ b/frontend/src/lib/sidebar.test.js
@@ -0,0 +1,93 @@
+import { describe, it, expect, vi, afterEach } from 'vitest';
+import {
+ clampWidth,
+ maxWidth,
+ loadWidth,
+ saveWidth,
+ MIN_W,
+ MAX_W,
+ DEFAULT_W,
+} from './sidebar.js';
+
+/** A localStorage stand-in — the test env has no DOM. */
+function fakeStorage(initial = {}) {
+ const data = { ...initial };
+ return {
+ getItem: vi.fn((k) => (k in data ? data[k] : null)),
+ setItem: vi.fn((k, v) => (data[k] = v)),
+ data,
+ };
+}
+
+afterEach(() => vi.unstubAllGlobals());
+
+describe('maxWidth', () => {
+ it('caps at half the viewport on narrow windows, at MAX_W on wide ones', () => {
+ expect(maxWidth(900)).toBe(450);
+ expect(maxWidth(2560)).toBe(MAX_W); // half would be 1280 — the hard cap wins
+ });
+
+ it('never drops below the minimum, however small the window', () => {
+ expect(maxWidth(320)).toBe(MIN_W); // half (160) would be unusable
+ });
+});
+
+describe('clampWidth', () => {
+ it('leaves a width inside the range alone', () => {
+ expect(clampWidth(420, 1600)).toBe(420);
+ });
+
+ it('clamps both ends', () => {
+ expect(clampWidth(40, 1600)).toBe(MIN_W);
+ expect(clampWidth(5000, 1600)).toBe(MAX_W);
+ });
+
+ it('clamps against the viewport, so a big-screen width cannot eat a small one', () => {
+ expect(clampWidth(600, 1000)).toBe(500);
+ });
+
+ it('applies only the hard cap when no viewport is given', () => {
+ expect(clampWidth(5000)).toBe(MAX_W);
+ });
+
+ it('rounds to whole pixels', () => {
+ expect(clampWidth(320.6, 1600)).toBe(321);
+ });
+
+ it('falls back to the default for garbage', () => {
+ expect(clampWidth(NaN)).toBe(DEFAULT_W);
+ expect(clampWidth(Infinity)).toBe(DEFAULT_W);
+ });
+});
+
+describe('loadWidth / saveWidth', () => {
+ it('round-trips a stored width', () => {
+ const store = fakeStorage();
+ vi.stubGlobal('localStorage', store);
+ saveWidth(480);
+ expect(loadWidth()).toBe(480);
+ });
+
+ it('returns the default when nothing was ever stored', () => {
+ vi.stubGlobal('localStorage', fakeStorage());
+ expect(loadWidth()).toBe(DEFAULT_W);
+ });
+
+ it('re-clamps a stored width instead of trusting it', () => {
+ vi.stubGlobal('localStorage', fakeStorage({ 'azimut:sidebarW': '9000' }));
+ expect(loadWidth()).toBe(MAX_W);
+ });
+
+ it('survives a hostile or absent localStorage (private mode)', () => {
+ vi.stubGlobal('localStorage', {
+ getItem: () => {
+ throw new Error('denied');
+ },
+ setItem: () => {
+ throw new Error('denied');
+ },
+ });
+ expect(loadWidth()).toBe(DEFAULT_W);
+ expect(() => saveWidth(400)).not.toThrow();
+ });
+});
diff --git a/frontend/src/lib/state.svelte.js b/frontend/src/lib/state.svelte.js
index 86e440b..3ab226b 100644
--- a/frontend/src/lib/state.svelte.js
+++ b/frontend/src/lib/state.svelte.js
@@ -6,6 +6,51 @@
* on first write (see ensureCase).
*/
import { api } from './api.js';
+import { formatCoords as renderCoords } from './coords.js';
+import { loadWidth, saveWidth, clampWidth } from './sidebar.js';
+
+/**
+ * App-wide display preferences (Settings → Preferences), mirrored from
+ * settings.json. Presentation only — every tool keeps filing decimal degrees
+ * and metres, so changing these never rewrites what's on disk.
+ */
+export const prefs = $state({
+ coordFormat: 'dd', // 'dd' | 'dms' | 'mgrs'
+ units: 'metric', // 'metric' | 'imperial'
+ homeView: { lat: 48.8584, lon: 2.2945, zoom: 16 }, // where Satellite opens
+ postMention: '@GeoConfirmed', // handle a fresh post draft is addressed to
+});
+
+/** Render a lat/lon the way the user asked for it. The tools' one entry point. */
+export function fmtCoords(lat, lon) {
+ return renderCoords(lat, lon, prefs.coordFormat);
+}
+
+// Tools mount before initSession's fetch comes back (a deep link straight to
+// #satellite mounts the map on the app's first frame), so anything reading a
+// preference *once* at startup — the Satellite home view — must await this
+// instead of racing it. Resolves even if the settings read fails: the built-in
+// defaults are a fine answer, a tool hanging forever is not.
+let markPrefsReady;
+export const prefsReady = new Promise((resolve) => {
+ markPrefsReady = resolve;
+});
+
+export async function loadPrefs() {
+ try {
+ applyPrefs(await api.get('/api/settings'));
+ } finally {
+ markPrefsReady();
+ }
+}
+
+/** Adopt a settings payload (GET /api/settings or PUT /api/settings/prefs). */
+export function applyPrefs(s) {
+ if (s.coord_format) prefs.coordFormat = s.coord_format;
+ if (s.units) prefs.units = s.units;
+ if (s.home_view) prefs.homeView = s.home_view;
+ if (s.post_mention !== undefined) prefs.postMention = s.post_mention; // '' = none
+}
export const caseState = $state({
current: null, // { id, name, scratch, entities, links, ... }
@@ -17,6 +62,7 @@ export const caseState = $state({
export const uiState = $state({
tool: 'media', // 'media' | 'inspect' | 'satellite' | 'proof' | 'post'
sidebarOpen: true,
+ sidebarW: loadWidth(), // px, drag-resizable and remembered across reloads
toasts: [],
// cross-tool handoffs (the workbench glue):
composeQueue: [], // media paths queued for the Proof Composer
@@ -33,6 +79,20 @@ export const uiState = $state({
refViewers: [],
});
+/**
+ * Resize the case sidebar (px). Clamped against the live window, so a width
+ * dragged out on a big screen can't wedge the canvas shut on a small one.
+ * Kept out of localStorage until the drag ends — see persistSidebarWidth.
+ */
+export function setSidebarWidth(w) {
+ uiState.sidebarW = clampWidth(w, window.innerWidth);
+}
+
+/** Remember the current sidebar width for the next session. */
+export function persistSidebarWidth() {
+ saveWidth(uiState.sidebarW);
+}
+
let toastSeq = 0;
export function toast(message, kind = 'info', timeout = 3800) {
@@ -77,6 +137,9 @@ export async function openCase(id) {
* exists on disk). Called once from App on mount.
*/
export async function initSession() {
+ // preferences must land before the tools render, or coordinates would flash
+ // in the wrong format; a settings read failure is never fatal to a session
+ await loadPrefs().catch(() => {});
await refreshCaseList();
let lastId = null;
try {
diff --git a/frontend/src/lib/state.test.js b/frontend/src/lib/state.test.js
index fd74a05..0873ea9 100644
--- a/frontend/src/lib/state.test.js
+++ b/frontend/src/lib/state.test.js
@@ -1,5 +1,6 @@
-import { describe, it, expect, beforeEach } from 'vitest';
-import { caseState, uiState, closeCase } from './state.svelte.js';
+import { describe, it, expect, beforeEach, vi, afterEach } from 'vitest';
+import { caseState, uiState, closeCase, setSidebarWidth } from './state.svelte.js';
+import { MIN_W, MAX_W } from './sidebar.js';
describe('closeCase', () => {
beforeEach(() => {
@@ -31,3 +32,22 @@ describe('closeCase', () => {
expect(uiState.gotoCoords).toBeNull();
});
});
+
+describe('setSidebarWidth', () => {
+ afterEach(() => vi.unstubAllGlobals());
+
+ it('takes a dragged width as-is when it fits', () => {
+ vi.stubGlobal('window', { innerWidth: 1600 });
+ setSidebarWidth(440);
+ expect(uiState.sidebarW).toBe(440);
+ });
+
+ it('clamps against the live window, not just the fixed bounds', () => {
+ vi.stubGlobal('window', { innerWidth: 900 });
+ setSidebarWidth(MAX_W); // legal on a wide screen, half the canvas here
+ expect(uiState.sidebarW).toBe(450);
+
+ setSidebarWidth(10);
+ expect(uiState.sidebarW).toBe(MIN_W);
+ });
+});
diff --git a/frontend/src/tools/Inspector.svelte b/frontend/src/tools/Inspector.svelte
index d23594e..37c911a 100644
--- a/frontend/src/tools/Inspector.svelte
+++ b/frontend/src/tools/Inspector.svelte
@@ -274,6 +274,33 @@
mediaList = await api.get(`/api/cases/${id}/media`);
}
+ // A delete anywhere else in the app lands here: this workspace may be sitting
+ // on a subject, or on a saved session, that no longer exists.
+ //
+ // The saved session is the dangerous half — a session cannot outlive its
+ // subject, so deleting the subject deletes the session (ONTOLOGY §3). Left
+ // bound, the next Save would silently write the deleted session back. Drop the
+ // binding instead: Save then files a new one, deliberately.
+ let sourceGone = $state(false);
+ $effect(() => {
+ caseState.rev;
+ const list = caseState.current?.entities ?? [];
+ if (
+ openedSession &&
+ !list.some((e) => e.attrs?.spec === `inspect/${openedSession.name}.json`)
+ ) {
+ openedSession = null;
+ toast('The saved session was deleted — saving now files a new one', 'warn');
+ }
+ const path = session.source?.path;
+ sourceGone = !!path && !list.some((e) => e.attrs?.path === path);
+ });
+
+ function mediaLabel(m) {
+ const name = m.title || m.filename;
+ return name.length > 60 ? name.slice(0, 57) + '…' : name;
+ }
+
function resetSession() {
for (const fr of session.frames) if (fr.url?.startsWith('blob:')) URL.revokeObjectURL(fr.url);
session.source = null;
@@ -846,7 +873,7 @@
>
<option value="" disabled>Choose a media…</option>
{#each mediaList as m (m.path)}
- <option value={m.path}>{m.label || m.filename}</option>
+ <option value={m.path} title={m.title || m.filename}>{mediaLabel(m)}</option>
{/each}
</select>
</div>
@@ -866,6 +893,19 @@
{/if}
</div>
{:else}
+ {#if sourceGone}
+ <!-- The subject was deleted out from under this workspace. Everything
+ already captured stays on screen and can still be saved; only what
+ needs to re-read the original is out of reach. -->
+ <div class="gone-banner">
+ <Icon name="alert" size={14} />
+ <span>
+ <strong>{session.source.filename ?? session.source.path}</strong> was deleted from the
+ case. What you already captured is still here, but new frames and re-renders can't be
+ made from it.
+ </span>
+ </div>
+ {/if}
<div class="tabbar">
{#each tabs as t (t)}
<button class="tab" class:active={activeTab === t} onclick={() => (activeTab = t)}>
@@ -1120,6 +1160,18 @@
max-width: 260px;
font-size: var(--fs-sm);
}
+ .gone-banner {
+ display: flex;
+ align-items: flex-start;
+ gap: 8px;
+ padding: 8px 12px;
+ font-size: var(--fs-xs);
+ line-height: 1.45;
+ color: color-mix(in srgb, var(--danger, #e5484d) 80%, var(--text-2));
+ background: color-mix(in srgb, var(--danger, #e5484d) 10%, transparent);
+ border-bottom: 1px solid color-mix(in srgb, var(--danger, #e5484d) 22%, transparent);
+ }
+ .gone-banner :global(svg) { flex-shrink: 0; margin-top: 2px; }
.tabbar {
display: flex;
align-items: center;
diff --git a/frontend/src/tools/PostComposer.svelte b/frontend/src/tools/PostComposer.svelte
index 5a6f5d4..f10b14b 100644
--- a/frontend/src/tools/PostComposer.svelte
+++ b/frontend/src/tools/PostComposer.svelte
@@ -1,6 +1,6 @@
<script>
import { api } from '../lib/api.js';
- import { caseState, uiState, toast, reloadCase } from '../lib/state.svelte.js';
+ import { caseState, uiState, toast, reloadCase, prefs } from '../lib/state.svelte.js';
import { proofCoordsText, proofSource } from '../lib/composer.js';
import { bidiSafe } from '../lib/bidi.js';
import Icon from '../components/Icon.svelte';
@@ -15,7 +15,7 @@
let place = $state('');
let placeLoading = $state(false);
let description = $state('');
- let mention = $state('@GeoConfirmed');
+ let mention = $state(prefs.postMention);
let source = $state('');
let proofPng = $state(null);
let proofVer = $state(0); // cache-buster: bumped whenever proofPng is (re)assigned
@@ -34,6 +34,23 @@
// Draft persistence
let draftName = $state(null); // slug of the saved draft (null until first save)
+
+ // Kept in step with deletes made anywhere else in the app: a draft deleted
+ // from the sidebar must not be resurrected by the next Save under its old
+ // name. The thread on screen stays — a post outlives its proof (ONTOLOGY §3),
+ // it only loses the attachment.
+ $effect(() => {
+ caseState.rev;
+ const entities = caseState.current?.entities ?? [];
+ if (draftName && !entities.some((e) => e.attrs?.draft === `exports/${draftName}.json`)) {
+ draftName = null;
+ toast('The saved draft was deleted — saving now files a new one', 'warn');
+ }
+ if (proofPng && !entities.some((e) => e.attrs?.path === proofPng)) {
+ setProof(null);
+ toast('The attached proof was deleted — the thread text is untouched', 'warn');
+ }
+ });
let saving = $state(false);
let discardConfirm = $state(false);
let openList = $state(null); // list of saved drafts, null = closed
@@ -403,7 +420,7 @@
description = s.description ?? '';
coordsText = s.coordsText ?? '';
place = s.place ?? '';
- mention = s.mention ?? '@GeoConfirmed';
+ mention = s.mention ?? prefs.postMention;
source = s.source ?? '';
setProof(s.proofPng ?? null);
mediaEnabled = s.mediaEnabled ?? true;
@@ -436,7 +453,7 @@
coordsText = '';
geo = null;
place = '';
- mention = '@GeoConfirmed';
+ mention = prefs.postMention;
source = '';
setProof(null);
tweet1 = '';
diff --git a/frontend/src/tools/ProofComposer.svelte b/frontend/src/tools/ProofComposer.svelte
index 9625aeb..ec7d301 100644
--- a/frontend/src/tools/ProofComposer.svelte
+++ b/frontend/src/tools/ProofComposer.svelte
@@ -2,7 +2,7 @@
import { onMount } from 'svelte';
import Konva from 'konva';
import { api } from '../lib/api.js';
- import { caseState, uiState, ensureCase, reloadCase, toast } from '../lib/state.svelte.js';
+ import { caseState, uiState, ensureCase, reloadCase, toast, prefs, fmtCoords } from '../lib/state.svelte.js';
import Icon from '../components/Icon.svelte';
import Modal from '../components/Modal.svelte';
import ConfirmDialog from '../components/ConfirmDialog.svelte';
@@ -15,6 +15,7 @@
autoCoords, formatCoords, autoSource,
toSpec, newId, loadImage, orderedFeatureColors, notesFromShapes,
copyShapeSpec, dedupeBySrc, isSatelliteCapture, satPanelInput, mediaPanelInput,
+ SIG_ANCHORS, newSignature, signatureBox, signatureOffset,
} from '../lib/composer.js';
import { createHistory } from '../lib/history.js';
@@ -40,11 +41,48 @@
coordsText: '', source: '', // '' → auto-derived from panels; non-empty → manual override
captionSize: CAPTION_SIZE, legendSize: LEGEND_SIZE, footerSize: FOOTER_SIZE, footer: '',
layout: 'grid', // 'grid' (rows) | 'free' (drag panels anywhere, overlap allowed)
+ signature: null, // null → unsigned; else { anchor, dx, dy, scale, opacity }
});
+
+ // The analyst's logo (Settings → Signature): one app-wide PNG, loaded once per
+ // session and shared by every proof. `null` = none saved, which is what keeps
+ // the signature control disabled rather than stamping a broken image.
+ let sigImg = $state(null);
+
+ async function loadSignature() {
+ try {
+ sigImg = await loadImage('/api/settings/signature.png');
+ } catch {
+ sigImg = null; // none saved — the control stays disabled
+ }
+ }
let advancedOpen = $state(false);
let collapsed = $state({ panels: false, annotations: false, elements: false });
let savedName = $state(null);
let dirty = $state(false);
+
+ // Kept in step with deletes made anywhere else in the app. If the saved proof
+ // this canvas came from is gone, the binding has to go with it — otherwise the
+ // next Save writes a deleted proof back into the case under its old name.
+ // The canvas itself is left alone: the work on screen is still the analyst's.
+ $effect(() => {
+ caseState.rev;
+ const entities = caseState.current?.entities ?? [];
+ if (savedName && !entities.some((e) => e.attrs?.spec === `proofs/${savedName}.json`)) {
+ savedName = null;
+ dirty = true;
+ toast('The saved proof was deleted — saving now files a new one', 'warn');
+ }
+ });
+ // Panels whose media was deleted: the image already drawn stays on the canvas,
+ // but the panel is flagged so a re-save is not silently building on a ghost.
+ const gonePanels = $derived(
+ caseState.current
+ ? proof.panels.filter(
+ (p) => !(caseState.current.entities ?? []).some((e) => e.attrs?.path === p.src)
+ )
+ : []
+ );
let tool = $state('select');
let color = $state(ANNO_COLORS[0]);
let strokeW = $state(4);
@@ -104,6 +142,7 @@
proof.footerSize = spec.footerSize ?? FOOTER_SIZE;
proof.footer = spec.footer ?? '';
proof.layout = spec.layout ?? 'grid';
+ proof.signature = spec.signature ?? null;
proof.notes = spec.notes ?? {};
proof.panels = spec.panels.map((p) => ({ ...p, img: imgCache.get(p.src) ?? null }));
proof.shapes = spec.shapes ?? [];
@@ -146,6 +185,7 @@
let textEdit = $state(null); // {id, value, left, top, size} — inline text editor
onMount(() => {
+ loadSignature(); // async: the canvas redraws when it lands
stage = new Konva.Stage({ container: containerEl, width: 100, height: 100 });
docLayer = new Konva.Layer();
uiLayer = new Konva.Layer();
@@ -229,10 +269,12 @@
proof.legendOrder,
proof.captionSize, proof.legendSize, proof.footerSize, proof.footer,
proof.layout,
+ proof.signature,
selectedId,
selectedPanelId,
guide,
]);
+ sigImg; // the logo lands async — redraw once it does
if (stage) rebuild();
});
@@ -261,6 +303,7 @@
proof.footerSize = FOOTER_SIZE;
proof.footer = '';
proof.layout = 'grid';
+ proof.signature = null;
savedName = null;
selectedId = null;
selectedPanelId = null;
@@ -292,8 +335,8 @@
// overlap can never throw the keyed picker's `each_key_duplicate`.
pickerItems = dedupeBySrc([
...sats.map((s) => ({
- ...satPanelInput(s),
- label: `${s.lat.toFixed(6)}, ${s.lon.toFixed(6)} · z${s.zoom}`,
+ ...satPanelInput(s, prefs.coordFormat),
+ label: `${fmtCoords(s.lat, s.lon)} · z${s.zoom}`,
thumb: s.path,
kind: 'satellite',
})),
@@ -346,7 +389,7 @@
if (proof.panels.some((p) => p.src === path)) continue;
const sat = sats.find((s) => s.path === path);
if (sat) {
- await addPanel(satPanelInput(sat));
+ await addPanel(satPanelInput(sat, prefs.coordFormat));
continue;
}
const m = media.find((x) => x.path === path);
@@ -832,6 +875,33 @@
}));
}
+ // signature — last, so the logo sits over everything it overlaps. Drawn into
+ // docLayer (not the UI layer) because it's part of the published image.
+ if (proof.signature && sigImg) {
+ const natural = [sigImg.naturalWidth, sigImg.naturalHeight];
+ const box = signatureBox(proof.signature, width, height, natural);
+ const node = new Konva.Image({
+ image: sigImg, x: box.x, y: box.y, width: box.w, height: box.h,
+ opacity: proof.signature.opacity ?? 1,
+ });
+ // grabbable only with the select tool, and never mid-pan: a drawing tool
+ // must pass through to the panel under the logo. Resolved on pointerdown
+ // like the panels do, so the live tool decides without a rebuild.
+ node.on('pointerdown', () => {
+ node.draggable(tool === 'select' && !spacePan);
+ });
+ // the corner picker gets you there; the drag fine-tunes. Either way the
+ // stored value is an offset from the anchor, so it survives a doc resize
+ node.on('dragend', () => {
+ const { dx, dy } = signatureOffset(
+ proof.signature, width, height, natural, node.x(), node.y(),
+ );
+ proof.signature = { ...proof.signature, dx, dy };
+ dirty = true;
+ });
+ docLayer.add(node);
+ }
+
// selection — keyed on the shape's kind, not the Konva node's class name,
// since a framed/backgrounded text renders as a Group rather than a Text.
// A whole panel can be selected instead (both modes): corner anchors only
@@ -1483,6 +1553,7 @@
proof.footerSize = spec.footerSize ?? FOOTER_SIZE;
proof.footer = spec.footer ?? '';
proof.layout = spec.layout ?? 'grid';
+ proof.signature = spec.signature ?? null;
for (const p of spec.panels) {
try {
const img = await loadImage(`/files/${caseState.current.id}/${p.src}`);
@@ -1523,7 +1594,9 @@
// Coordinates + source shown above the panels: a manual override wins, else
// the value auto-derived from the panels (reactive — deleting the first
// satellite panel falls back to the next, adding media fills the source).
- const displayedCoords = $derived(proof.coordsText.trim() || formatCoords(autoCoords(proof.panels)));
+ const displayedCoords = $derived(
+ proof.coordsText.trim() || formatCoords(autoCoords(proof.panels), prefs.coordFormat)
+ );
const displayedSource = $derived(proof.source.trim() || autoSource(proof.panels));
</script>
@@ -1744,8 +1817,20 @@
<span><Icon name={collapsed.panels ? 'chevronRight' : 'chevronDown'} size={13} /> Panels <span class="count">{proof.panels.length}</span></span>
</button>
{#if !collapsed.panels}
+ {#if gonePanels.length}
+ <!-- A panel's media was deleted from the case. The proof keeps it: the
+ pixels are already composed into the export (ONTOLOGY §3). Only
+ reopening this proof later would come up empty. -->
+ <div class="gone-note">
+ <Icon name="alert" size={12} />
+ <span>
+ {gonePanels.length} panel{gonePanels.length > 1 ? 's' : ''} whose media was deleted.
+ The proof still exports; reopening it later will show them blank.
+ </span>
+ </div>
+ {/if}
{#each proof.panels as panel, i (panel.id)}
- <div class="panel-row card" class:selected={selectedPanelId === panel.id}>
+ <div class="panel-row card" class:selected={selectedPanelId === panel.id} class:gone={gonePanels.includes(panel)}>
<button
class="panel-thumb"
title="Select this panel on the canvas"
@@ -1905,10 +1990,10 @@
{/each}
{/if}
- <!-- Advanced: text sizes + editable footer (the trickier knobs) -->
+ <!-- Advanced: text sizes, editable footer, signature (the trickier knobs) -->
<button class="adv-toggle" onclick={() => (advancedOpen = !advancedOpen)} style="margin-top: 14px">
<Icon name={advancedOpen ? 'chevronDown' : 'chevronRight'} size={13} />
- Advanced: text &amp; footer
+ Advanced: text, footer &amp; signature
</button>
{#if advancedOpen}
<div class="adv-body">
@@ -1940,6 +2025,59 @@
oninput={() => (dirty = true)}
></textarea>
<div class="adv-hint">Leave empty to keep the automatic imagery / source attribution.</div>
+
+ <label class="sig-check">
+ <input
+ type="checkbox"
+ disabled={!sigImg}
+ checked={!!proof.signature}
+ onchange={(e) => {
+ proof.signature = e.currentTarget.checked ? newSignature() : null;
+ dirty = true;
+ }}
+ />
+ <span>Signature</span>
+ </label>
+ {#if !sigImg}
+ <div class="adv-hint">Add a logo in Settings → Preferences to sign your proofs.</div>
+ {:else if proof.signature}
+ <div class="sig-anchors">
+ {#each SIG_ANCHORS as a (a.id)}
+ <button
+ class="sig-anchor"
+ class:active={proof.signature.anchor === a.id}
+ title={a.label}
+ onclick={() => {
+ // a new corner starts fresh: the old nudge was measured
+ // from the old corner, so keeping it would fling the logo
+ proof.signature = { ...proof.signature, anchor: a.id, dx: 0, dy: 0 };
+ dirty = true;
+ }}
+ >{a.label}</button>
+ {/each}
+ </div>
+ <div class="size-row">
+ <span>Size</span>
+ <input class="size-slider" type="range" min="0.04" max="0.4" step="0.01"
+ value={proof.signature.scale}
+ oninput={(e) => {
+ proof.signature = { ...proof.signature, scale: Number(e.currentTarget.value) };
+ dirty = true;
+ }} />
+ <span class="size-val">{Math.round(proof.signature.scale * 100)}%</span>
+ </div>
+ <div class="size-row">
+ <span>Opacity</span>
+ <input class="size-slider" type="range" min="0.1" max="1" step="0.05"
+ value={proof.signature.opacity}
+ oninput={(e) => {
+ proof.signature = { ...proof.signature, opacity: Number(e.currentTarget.value) };
+ dirty = true;
+ }} />
+ <span class="size-val">{Math.round(proof.signature.opacity * 100)}%</span>
+ </div>
+ <div class="adv-hint">Drag the logo on the canvas to nudge it off the corner.</div>
+ {/if}
</div>
{/if}
</div>
@@ -2199,6 +2337,22 @@
.meta-reset:hover { color: var(--text-1); background: var(--bg-2); }
.meta-input { width: 100%; font-size: var(--fs-xs); padding: 5px 8px; }
.meta-input.warn { border-color: color-mix(in srgb, var(--warn, #e8a33d) 55%, transparent); }
+ .gone-note {
+ display: flex;
+ align-items: flex-start;
+ gap: 6px;
+ margin-bottom: 8px;
+ padding: 7px 9px;
+ border-radius: var(--r-sm);
+ font-size: var(--fs-xs);
+ line-height: 1.4;
+ color: color-mix(in srgb, var(--danger, #e5484d) 80%, var(--text-2));
+ background: color-mix(in srgb, var(--danger, #e5484d) 10%, transparent);
+ }
+ .gone-note :global(svg) { flex-shrink: 0; margin-top: 2px; }
+ .panel-row.gone {
+ border-color: color-mix(in srgb, var(--danger, #e5484d) 40%, transparent);
+ }
.panel-row {
padding: 8px;
margin-bottom: 8px;
@@ -2273,6 +2427,36 @@
font-family: inherit;
}
.adv-hint { font-size: 11px; color: var(--text-3); margin-top: 5px; }
+ .sig-check {
+ display: flex;
+ align-items: center;
+ gap: 7px;
+ margin-top: 12px;
+ font-size: var(--fs-xs);
+ cursor: pointer;
+ }
+ .sig-check input:disabled { cursor: not-allowed; }
+ .sig-check:has(input:disabled) { color: var(--text-3); cursor: not-allowed; }
+ .sig-anchors {
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 4px;
+ margin-top: 7px;
+ }
+ .sig-anchor {
+ padding: 5px 6px;
+ font-size: 11px;
+ color: var(--text-2);
+ background: var(--bg-2);
+ border: 1px solid var(--border);
+ border-radius: var(--r-sm);
+ cursor: pointer;
+ }
+ .sig-anchor:hover { color: var(--text-1); }
+ .sig-anchor.active {
+ color: var(--accent);
+ border-color: var(--accent);
+ }
.cap-input { font-size: var(--fs-xs); padding: 5px 8px; }
.panel-actions { display: flex; align-items: center; gap: 2px; }
.panel-scale {
diff --git a/frontend/src/tools/Satellite.svelte b/frontend/src/tools/Satellite.svelte
index a0ecee0..d4c112f 100644
--- a/frontend/src/tools/Satellite.svelte
+++ b/frontend/src/tools/Satellite.svelte
@@ -3,7 +3,9 @@
import L from 'leaflet';
import 'leaflet/dist/leaflet.css';
import { api } from '../lib/api.js';
- import { caseState, uiState, ensureCase, reloadCase, toast } from '../lib/state.svelte.js';
+ import {
+ caseState, uiState, ensureCase, reloadCase, toast, prefs, fmtCoords, prefsReady,
+ } from '../lib/state.svelte.js';
import { mapLinks } from '../lib/maplinks.js';
import * as measure from '../lib/measure.js';
import { dragBearing, pivotPanOffset } from '../lib/satRotate.js';
@@ -28,7 +30,11 @@
let providers = $state([]);
let providerId = $state('esri-world-imagery');
let coordsText = $state('');
- let center = $state({ lat: 48.8584, lon: 2.2945, zoom: 16 });
+ // opens on the user's home view (Settings → Preferences) until a case
+ // artifact or a "go to coords" handoff points the map somewhere else.
+ // Seeded from the defaults, then re-read under `prefsReady` in onMount —
+ // a deep link to #satellite mounts this before the settings fetch lands.
+ let center = $state({ ...prefs.homeView });
let markerStyle = $state('none'); // 'crosshair' | 'pin' | 'none' — clean view by default (item 4)
let moveMode = $state(false); // pin decoupled from center, draggable
let marker = null; // Leaflet marker instance while in move mode
@@ -185,6 +191,8 @@
onMount(async () => {
refreshUsage(); // prefs drive the eco/soft-block fallbacks from the start
providers = await api.get('/api/satellite/providers');
+ await prefsReady; // the home view has to land before the map is built
+ center = { ...prefs.homeView };
// leaflet-rotate patches the global L, so expose it before importing.
window.L = L;
await import('leaflet-rotate');
@@ -204,7 +212,11 @@
// CSS offset below, instead of Leaflet's default corner margin
L.control.zoom({ position: 'topleft' }).addTo(map);
// judging feature sizes (buildings, roads) needs a scale reference
- L.control.scale({ imperial: false, position: 'bottomright' }).addTo(map);
+ L.control.scale({
+ metric: prefs.units !== 'imperial',
+ imperial: prefs.units === 'imperial',
+ position: 'bottomright',
+ }).addTo(map);
map.on('moveend zoomend', () => {
const c = map.getCenter();
center = { lat: c.lat, lon: c.lng, zoom: map.getZoom() };
@@ -441,10 +453,10 @@
const measureReadout = $derived.by(() => {
if (!measureMode || measurePoints.length < 2) return null;
if (measureMode === 'distance')
- return measure.formatDistance(measure.pathLength(measurePoints));
+ return measure.formatDistance(measure.pathLength(measurePoints), prefs.units);
if (measureMode === 'area')
return measurePoints.length >= 3
- ? measure.formatArea(measure.polygonArea(measurePoints))
+ ? measure.formatArea(measure.polygonArea(measurePoints), prefs.units)
: '…';
// angle needs a middle vertex
return measurePoints.length >= 3
@@ -517,6 +529,10 @@
// as "not yet available" placards. Only {s} subdomain templates (custom
// providers) stay direct — the proxy can't expand those.
const url = p.url.includes('{s}') ? p.url : `/api/tiles/${p.id}/{z}/{x}/{y}`;
+ // maxZoom caps the map itself (no map-level maxZoom is set), which is what
+ // keeps a shallower provider (OpenTopoMap, z17) from ever being asked for
+ // tiles it would answer with a "max zoom layer" placard — and keeps the
+ // view zoom at or under the provider max, which capture sizing relies on.
const opts = { attribution: p.attribution, maxZoom: p.max_zoom };
// grid cell in CSS px (lib/usage.js layerCell): bigger tiles offset the
// URL z down (512 → -1, 1024 → -2); an oversample halves the cell so each
@@ -538,6 +554,10 @@
opts.keepBuffer = 4;
}
if (tileLayer) tileLayer.remove();
+ // Past its maxZoom Leaflet drops a grid layer entirely rather than upscale
+ // it, so switching to a shallower provider (OpenTopoMap, z17) while zoomed
+ // deeper would leave a blank map. Pull the view back to what it can serve.
+ if (map.getZoom() > p.max_zoom) map.setZoom(p.max_zoom);
tileLayer = L.tileLayer(url, opts).addTo(map);
tileLayer.on('load tileload', scheduleDeSeam);
if (p.meter) {
@@ -579,11 +599,12 @@
api.get(`/api/cases/${id}/satellite`).then((r) => (captures = r));
});
- // the map container resizes when the sidebar toggles, and reappears from
- // display:none when the tool tab is re-selected (tools stay mounted) — both
- // need Leaflet to re-measure and redraw tiles for the exposed area
+ // the map container resizes when the sidebar toggles or is dragged wider, and
+ // reappears from display:none when the tool tab is re-selected (tools stay
+ // mounted) — all need Leaflet to re-measure and redraw tiles for the exposed area
$effect(() => {
uiState.sidebarOpen; // track the global sidebar toggle
+ uiState.sidebarW; // …and its width, live through a resize drag
if (!mapReady || uiState.tool !== 'satellite') return;
tick().then(() => map?.invalidateSize());
});
@@ -976,7 +997,7 @@
}
function coordsLabel(item) {
- return `${item.lat.toFixed(6)}, ${item.lon.toFixed(6)}`;
+ return fmtCoords(item.lat, item.lon);
}
function sendToComposer(item) {
@@ -984,12 +1005,12 @@
uiState.tool = 'proof';
}
- function fmt(value) {
- return value.toFixed(6);
- }
+ // the HUD readout and everything copied out of it follow the user's
+ // coordinate format (Settings → Preferences); captures keep decimal degrees
+ const readout = $derived(fmtCoords(displayCoords.lat, displayCoords.lon));
async function copyCoords() {
- await navigator.clipboard.writeText(`${fmt(displayCoords.lat)}, ${fmt(displayCoords.lon)}`);
+ await navigator.clipboard.writeText(readout);
toast('Coordinates copied', 'ok', 1600);
}
@@ -1052,7 +1073,7 @@
}
function placeCoordsLabel(m) {
- return `${m.lat.toFixed(6)}, ${m.lon.toFixed(6)}`;
+ return fmtCoords(m.lat, m.lon);
}
async function savePlaceModal() {
@@ -1266,7 +1287,7 @@
<div class="hud card">
<button class="hud-coords mono" onclick={copyCoords} title="Copy coordinates">
<Icon name="crosshair" size={13} />
- {fmt(displayCoords.lat)}, {fmt(displayCoords.lon)}
+ {readout}
<span class="z">z{center.zoom}</span>
{#if moveMode && markerLatLng}<span class="pin-tag">pin</span>{/if}
<Icon name="copy" size={12} />
@@ -1558,7 +1579,7 @@
</a>
{/each}
</div>
- <div class="links-note mono">{fmt(displayCoords.lat)}, {fmt(displayCoords.lon)}</div>
+ <div class="links-note mono">{readout}</div>
{/if}
<!-- Places: navigable points (no image) -->
@@ -1750,7 +1771,7 @@
<div class="sat-info-rows">
<div class="sat-info-row">
<span class="sat-info-label">Coordinates</span>
- <span class="mono">{notesItem.lat?.toFixed(6)}, {notesItem.lon?.toFixed(6)}</span>
+ <span class="mono">{coordsLabel(notesItem)}</span>
</div>
<div class="sat-info-row">
<span class="sat-info-label">Provider</span>
diff --git a/frontend/src/tools/Settings.svelte b/frontend/src/tools/Settings.svelte
index 3a76e15..19a5fef 100644
--- a/frontend/src/tools/Settings.svelte
+++ b/frontend/src/tools/Settings.svelte
@@ -1,7 +1,9 @@
<script>
import { onMount } from 'svelte';
import { api } from '../lib/api.js';
- import { toast } from '../lib/state.svelte.js';
+ import { toast, prefs, applyPrefs } from '../lib/state.svelte.js';
+ import { formatCoords, parseHomeView } from '../lib/coords.js';
+ import { formatDistance, formatArea } from '../lib/measure.js';
import {
monthCount,
tilesOfFree,
@@ -13,6 +15,17 @@
} from '../lib/usage.js';
import Icon from '../components/Icon.svelte';
+ const TABS = [
+ { id: 'preferences', label: 'Preferences', icon: 'sliders' },
+ { id: 'imagery', label: 'Imagery', icon: 'key' },
+ { id: 'usage', label: 'Usage', icon: 'chart' },
+ { id: 'about', label: 'About', icon: 'compass' },
+ ];
+ let tab = $state('preferences');
+
+ const REPO_URL = 'https://github.com/OsintMeThat/azimut';
+ const SITE_URL = 'https://osintmethat.com';
+
// The keyed imagery providers the app knows how to light up (IMAGERY_PROVIDERS.md).
// Keys are app-wide, stored locally in settings.json, never written into a
// case folder or export bundle — they're the user's own billing identity.
@@ -41,6 +54,16 @@
},
];
+ const COORD_CHOICES = [
+ { id: 'dd', label: 'Decimal' },
+ { id: 'dms', label: 'DMS' },
+ { id: 'mgrs', label: 'MGRS' },
+ ];
+ const UNIT_CHOICES = [
+ { id: 'metric', label: 'Metric' },
+ { id: 'imperial', label: 'Imperial' },
+ ];
+
let keys = $state({ mapbox: '', google: '' });
let shown = $state({ mapbox: false, google: false });
let usage = $state({});
@@ -53,9 +76,83 @@
let overrides = $state({ mapbox: false, google: false });
let eco = $state(true);
let ecoMaxZoom = $state(ECO_MAX_ZOOM);
+ let about = $state({ version: '', workspace_root: '' });
+ // the home-view fields are edited as text, so a half-typed "-" or "48." isn't
+ // fought by the number parser mid-keystroke; committed on change
+ let home = $state({ lat: '', lon: '', zoom: '' });
+ let mention = $state('');
+ // the analyst's logo: app-wide like the API keys, and under the same rule —
+ // it lives beside settings.json and only ever reaches a case as pixels in a
+ // rendered proof PNG. `sigBust` re-fetches the <img> after a replace.
+ let signature = $state(false);
+ let sigBust = $state(0);
+ let sigInput = $state(null);
+
+ // The downloaders age faster than Azimut releases: sites change, and a stale
+ // yt-dlp just stops finding media. They can be refreshed from PyPI in place,
+ // without waiting for (or reinstalling) the app — see engine/scrapers.py.
+ const SCRAPER_LABELS = { 'yt-dlp': 'yt-dlp', 'gallery-dl': 'gallery-dl' };
+ let scrapers = $state([]);
+ let checking = $state(false);
+ let updating = $state({}); // { [dist]: true } while its request is in flight
+
+ async function loadScrapers(check = false) {
+ const path = check ? '/api/settings/scrapers?check=true' : '/api/settings/scrapers';
+ scrapers = (await api.get(path)).scrapers;
+ }
+
+ // Opt-in, never on mount: Azimut is local-first, so opening Settings must not
+ // phone out. The user asks, and only then do we look at PyPI.
+ async function checkScrapers() {
+ if (checking) return;
+ checking = true;
+ try {
+ await loadScrapers(true);
+ const stale = scrapers.filter((s) => s.outdated);
+ const failed = scrapers.find((s) => s.check_error);
+ if (failed) toast(`Could not reach PyPI: ${failed.check_error}`, 'danger');
+ else if (!stale.length) toast('Downloaders are up to date', 'ok');
+ } catch (e) {
+ toast(`Could not check for updates: ${e.message}`, 'danger');
+ } finally {
+ checking = false;
+ }
+ }
+
+ async function updateScraper(dist) {
+ if (updating[dist]) return;
+ updating[dist] = true;
+ try {
+ const r = await api.post(`/api/settings/scrapers/${dist}/update`);
+ if (!r.ok) toast(`${dist}: ${r.detail}`, 'danger');
+ else toast(`${dist} ${r.detail}`, r.restart_required ? 'warn' : 'ok');
+ await loadScrapers();
+ // keep the "restart to use it" state visible — a reload would drop it
+ if (r.ok && r.restart_required) {
+ const entry = scrapers.find((s) => s.dist === dist);
+ if (entry) entry.restart_required = true;
+ }
+ } catch (e) {
+ toast(`${dist}: ${e.message}`, 'danger');
+ } finally {
+ updating[dist] = false;
+ }
+ }
+
+ async function resetScraper(dist) {
+ try {
+ const r = await api.del(`/api/settings/scrapers/${dist}`);
+ await loadScrapers();
+ if (r.restart_required) toast(`${dist} reverted — restart Azimut to use it`, 'warn');
+ else toast(`${dist} reverted to the bundled version`, 'ok');
+ } catch (e) {
+ toast(`${dist}: ${e.message}`, 'danger');
+ }
+ }
async function load() {
const s = await api.get('/api/settings');
+ signature = !!s.signature;
keys = { mapbox: s.api_keys.mapbox ?? '', google: s.api_keys.google ?? '' };
usage = s.usage;
month = s.month;
@@ -63,22 +160,93 @@
overrides = { mapbox: !!s.usage_overrides.mapbox, google: !!s.usage_overrides.google };
eco = s.eco_zoom_fallback;
ecoMaxZoom = s.eco_max_zoom ?? ECO_MAX_ZOOM;
+ about = { version: s.version ?? '', workspace_root: s.workspace_root ?? '' };
+ home = { lat: String(s.home_view.lat), lon: String(s.home_view.lon), zoom: String(s.home_view.zoom) };
+ mention = s.post_mention ?? '';
+ applyPrefs(s); // the rest of the app reads these live
+ await loadScrapers().catch(() => {}); // local disk read; never blocks Settings
}
- async function savePrefs() {
+ // Every preference saves on change — no "Save" button to forget. The server's
+ // answer is the source of truth, so clamped/normalised values show up here.
+ async function savePrefs(patch) {
try {
- const saved = await api.put('/api/settings/prefs', {
- providers_enabled: enabled,
- usage_overrides: overrides,
- eco_zoom_fallback: eco,
- eco_max_zoom: Number(ecoMaxZoom) || ECO_MAX_ZOOM,
- });
- ecoMaxZoom = saved.eco_max_zoom; // reflect the server's clamping
+ const saved = await api.put('/api/settings/prefs', patch);
+ applyPrefs(saved);
+ return saved;
} catch (e) {
toast(`Could not save preferences: ${e.message}`, 'danger');
+ await load().catch(() => {}); // don't leave a rejected value on screen
+ return null;
}
}
+ async function uploadSignature(event) {
+ const file = event.currentTarget.files?.[0];
+ if (!file) return;
+ const body = new FormData();
+ body.append('file', file);
+ try {
+ await api.post('/api/settings/signature', body);
+ signature = true;
+ sigBust++;
+ toast('Signature saved', 'ok');
+ } catch (e) {
+ toast(`Could not save the signature: ${e.message}`, 'danger');
+ }
+ if (sigInput) sigInput.value = ''; // let the same file be picked again
+ }
+
+ async function removeSignature() {
+ try {
+ await api.del('/api/settings/signature');
+ signature = false;
+ toast('Signature removed', 'ok');
+ } catch (e) {
+ toast(`Could not remove the signature: ${e.message}`, 'danger');
+ }
+ }
+
+ function saveProviderPrefs() {
+ savePrefs({
+ providers_enabled: enabled,
+ usage_overrides: overrides,
+ eco_zoom_fallback: eco,
+ eco_max_zoom: Number(ecoMaxZoom) || ECO_MAX_ZOOM,
+ });
+ }
+
+ async function saveEcoZoom() {
+ const saved = await savePrefs({
+ eco_zoom_fallback: eco,
+ eco_max_zoom: Number(ecoMaxZoom) || ECO_MAX_ZOOM,
+ });
+ if (saved) ecoMaxZoom = saved.eco_max_zoom; // reflect the server's clamping
+ }
+
+ async function saveHome() {
+ const view = parseHomeView(home);
+ if (!view) {
+ toast('Home view needs a latitude, a longitude and a zoom', 'danger');
+ await load();
+ return;
+ }
+ const saved = await savePrefs({ home_view: view });
+ // echo back what the server stored — a point off the globe is refused there
+ if (saved) {
+ home = {
+ lat: String(saved.home_view.lat),
+ lon: String(saved.home_view.lon),
+ zoom: String(saved.home_view.zoom),
+ };
+ }
+ }
+
+ // a live sample so the format choice is legible before it's applied elsewhere
+ const coordSample = $derived(
+ formatCoords(Number(home.lat) || 48.8584, Number(home.lon) || 2.2945, prefs.coordFormat)
+ );
+
onMount(() => {
load().catch((e) => toast(`Could not load settings: ${e.message}`, 'danger'));
});
@@ -117,162 +285,388 @@
<div class="tool">
<div class="tool-header">
<h2>Settings</h2>
+ <span class="sub">Applies to every case on this machine</span>
</div>
- <div class="body">
- <section class="card block">
- <h3><Icon name="key" size={15} /> Imagery API keys</h3>
- <p class="hint">
- Optional. Azimut's built-in basemaps (Esri, OSM) never need a key — your own
- Mapbox / Google keys just unlock extra official basemaps in the Satellite tab.
- Keys stay in <span class="mono">settings.json</span> on this machine.
- </p>
-
- {#each KEYED as k (k.id)}
- <div class="key-row">
- <label for="key-{k.id}">
- {k.field}
- <a href={k.help} target="_blank" rel="noreferrer" title="How to get one">
- how to get one <Icon name="external" size={11} />
- </a>
- </label>
- <div class="key-line">
+ <div class="split">
+ <nav class="rail" aria-label="Settings sections">
+ {#each TABS as t (t.id)}
+ <button
+ class="rail-tab"
+ class:active={tab === t.id}
+ onclick={() => (tab = t.id)}
+ aria-current={tab === t.id ? 'page' : undefined}
+ >
+ <Icon name={t.icon} size={15} />
+ {t.label}
+ </button>
+ {/each}
+ </nav>
+
+ <div class="pane">
+ {#if tab === 'preferences'}
+ <section class="group">
+ <h3>Coordinates</h3>
+ <div class="row">
+ <div class="row-label">
+ <span>Format</span>
+ <span class="row-hint">How every tool prints a latitude/longitude.</span>
+ </div>
+ <div class="seg" role="group" aria-label="Coordinate format">
+ {#each COORD_CHOICES as c (c.id)}
+ <button
+ class="seg-btn"
+ class:on={prefs.coordFormat === c.id}
+ onclick={() => savePrefs({ coord_format: c.id })}
+ >{c.label}</button>
+ {/each}
+ </div>
+ </div>
+ <p class="sample mono">{coordSample}</p>
+ <p class="note">
+ Display only — captures, proofs and <span class="mono">case.json</span> always
+ keep decimal degrees, so a case reads the same for everyone.
+ </p>
+ </section>
+
+ <section class="group">
+ <h3>Measurements</h3>
+ <div class="row">
+ <div class="row-label">
+ <span>Units</span>
+ <span class="row-hint">The Satellite ruler, area and readouts.</span>
+ </div>
+ <div class="seg" role="group" aria-label="Units">
+ {#each UNIT_CHOICES as c (c.id)}
+ <button
+ class="seg-btn"
+ class:on={prefs.units === c.id}
+ onclick={() => savePrefs({ units: c.id })}
+ >{c.label}</button>
+ {/each}
+ </div>
+ </div>
+ <p class="sample mono">
+ {formatDistance(1234, prefs.units)} · {formatArea(52000, prefs.units)}
+ </p>
+ </section>
+
+ <section class="group">
+ <h3>Satellite home view</h3>
+ <p class="intro">
+ Where the Satellite tab opens. A case artifact or a “go to coordinates”
+ handoff still wins — this is only the starting point.
+ </p>
+ <div class="grid-3">
+ <label class="field">
+ <span>Latitude</span>
+ <input class="input mono" bind:value={home.lat} onchange={saveHome} inputmode="decimal" spellcheck="false" />
+ </label>
+ <label class="field">
+ <span>Longitude</span>
+ <input class="input mono" bind:value={home.lon} onchange={saveHome} inputmode="decimal" spellcheck="false" />
+ </label>
+ <label class="field">
+ <span>Zoom</span>
+ <input class="input mono" bind:value={home.zoom} onchange={saveHome} type="number" min="1" max="21" />
+ </label>
+ </div>
+ </section>
+
+ <section class="group">
+ <h3>Post composer</h3>
+ <div class="row">
+ <div class="row-label">
+ <span>Default mention</span>
+ <span class="row-hint">Pre-filled on a new draft. Leave empty for none.</span>
+ </div>
<input
- id="key-{k.id}"
- class="input"
- type={shown[k.id] ? 'text' : 'password'}
- placeholder={k.placeholder}
- bind:value={keys[k.id]}
- autocomplete="off"
+ class="input mention"
+ bind:value={mention}
+ onchange={() => savePrefs({ post_mention: mention })}
+ placeholder="@GeoConfirmed"
spellcheck="false"
/>
- <button
- class="btn btn-ghost btn-sm"
- onclick={() => (shown[k.id] = !shown[k.id])}
- title={shown[k.id] ? 'Hide key' : 'Show key'}
- aria-label={shown[k.id] ? 'Hide key' : 'Show key'}
- >
- <Icon name={shown[k.id] ? 'eyeOff' : 'eye'} size={14} />
- </button>
- <button
- class="btn btn-sm"
- onclick={() => testKey(k.id)}
- disabled={testing[k.id] || !keys[k.id].trim()}
- title="Save this key, then exercise it against the real service"
- >
- {testing[k.id] ? 'Testing…' : 'Test'}
- </button>
</div>
- <div class="key-foot">
- <span class="unlocks">Unlocks: {k.unlocks}</span>
- {#if keys[k.id]}
- <label
- class="toggle"
- title="Hide or show this basemap in the Satellite tab — the key stays saved"
- >
- <input type="checkbox" bind:checked={enabled[k.id]} onchange={savePrefs} />
- enabled
- </label>
- {/if}
- {#if testResult[k.id]}
- <span class="verdict" class:ok={testResult[k.id].ok} class:bad={!testResult[k.id].ok}>
- <Icon name={testResult[k.id].ok ? 'check' : 'alert'} size={12} />
- {testResult[k.id].ok ? 'Key works' : testResult[k.id].detail}
+ </section>
+
+ <section class="group">
+ <h3>Signature</h3>
+ <div class="row">
+ <div class="row-label">
+ <span>Your logo</span>
+ <span class="row-hint">
+ A transparent PNG, under 2 MB. Stays on this machine — the proof
+ composer stamps it onto proofs you tick “Signature” on, and
+ nothing else ever carries it.
</span>
- {/if}
+ </div>
+ <div class="sig-side">
+ {#if signature}
+ <img class="sig-preview" src={`/api/settings/signature.png?v=${sigBust}`} alt="Your signature" />
+ {/if}
+ <div class="sig-buttons">
+ <button class="btn btn-sm" onclick={() => sigInput?.click()}>
+ {signature ? 'Replace…' : 'Choose PNG…'}
+ </button>
+ {#if signature}
+ <button class="btn btn-danger btn-sm" onclick={removeSignature}>Remove</button>
+ {/if}
+ </div>
+ </div>
+ <input
+ bind:this={sigInput}
+ class="sig-file"
+ type="file"
+ accept="image/png"
+ onchange={uploadSignature}
+ />
</div>
- </div>
- {/each}
+ </section>
+ {/if}
+
+ {#if tab === 'imagery'}
+ <section class="group">
+ <h3>API keys</h3>
+ <p class="intro">
+ Optional. Azimut's built-in basemaps (Esri, OSM, OpenTopoMap) never need a key — your own
+ Mapbox / Google keys just unlock extra official basemaps in the Satellite tab.
+ Keys stay in <span class="mono">settings.json</span> on this machine.
+ </p>
- <div class="actions">
- <button class="btn btn-primary" onclick={saveKeys} disabled={saving}>
- {saving ? 'Saving…' : 'Save keys'}
- </button>
- </div>
- </section>
-
- <section class="card block">
- <h3><Icon name="chart" size={15} /> Tile usage · {month}</h3>
- <p class="hint">
- Keyed providers bill per tile served. Azimut counts exactly what goes out to
- each provider (live map + captures, browser cache hits excluded), so this
- matches their billing as closely as possible. Local bookkeeping only — the
- counter never leaves this machine.
- </p>
- {#if KEYED.some((k) => keys[k.id] || monthCount(usage, k.id, month))}
- <div class="usage">
{#each KEYED as k (k.id)}
- {#if keys[k.id] || monthCount(usage, k.id, month)}
- {@const count = monthCount(usage, k.id, month)}
- {@const share = freeTierShare(count, k.id)}
- <div class="usage-row">
- <div class="usage-line">
- <span class="usage-name">
- {k.label}
- <a href={k.usage} target="_blank" rel="noreferrer"
- title="The provider's own usage & limits dashboard — the counter that actually bills"
- >usage & limits <Icon name="external" size={11} /></a>
+ <div class="key-row">
+ <label for="key-{k.id}">
+ {k.field}
+ <a href={k.help} target="_blank" rel="noreferrer" title="How to get one">
+ how to get one <Icon name="external" size={11} />
+ </a>
+ </label>
+ <div class="key-line">
+ <input
+ id="key-{k.id}"
+ class="input"
+ type={shown[k.id] ? 'text' : 'password'}
+ placeholder={k.placeholder}
+ bind:value={keys[k.id]}
+ autocomplete="off"
+ spellcheck="false"
+ />
+ <button
+ class="btn btn-ghost btn-sm"
+ onclick={() => (shown[k.id] = !shown[k.id])}
+ title={shown[k.id] ? 'Hide key' : 'Show key'}
+ aria-label={shown[k.id] ? 'Hide key' : 'Show key'}
+ >
+ <Icon name={shown[k.id] ? 'eyeOff' : 'eye'} size={14} />
+ </button>
+ <button
+ class="btn btn-sm"
+ onclick={() => testKey(k.id)}
+ disabled={testing[k.id] || !keys[k.id].trim()}
+ title="Save this key, then exercise it against the real service"
+ >
+ {testing[k.id] ? 'Testing…' : 'Test'}
+ </button>
+ </div>
+ <div class="key-foot">
+ <span class="unlocks">Unlocks: {k.unlocks}</span>
+ {#if keys[k.id]}
+ <label
+ class="toggle"
+ title="Hide or show this basemap in the Satellite tab — the key stays saved"
+ >
+ <input type="checkbox" bind:checked={enabled[k.id]} onchange={saveProviderPrefs} />
+ enabled
+ </label>
+ {/if}
+ {#if testResult[k.id]}
+ <span class="verdict" class:ok={testResult[k.id].ok} class:bad={!testResult[k.id].ok}>
+ <Icon name={testResult[k.id].ok ? 'check' : 'alert'} size={12} />
+ {testResult[k.id].ok ? 'Key works' : testResult[k.id].detail}
</span>
- <span class="mono">{tilesOfFree(count, k.id)}</span>
- </div>
- <div class="meter-track" aria-hidden="true">
- <div
- class="meter-fill"
- class:hot={share >= BLOCK_SHARE}
- style="width:{Math.min(share * 100, 100)}%"
- ></div>
- </div>
- {#if usageBlocked(count, k.id, overrides)}
- <p class="blocked">
- <Icon name="alert" size={12} />
- Paused at {Math.round(BLOCK_SHARE * 100)}% of the free tier — the map and
- captures fall back to free imagery until next month, or:
- </p>
{/if}
- {#if share >= BLOCK_SHARE || overrides[k.id]}
- <label class="toggle override" title="Serve past the pause — extra tiles are billed by the provider">
- <input type="checkbox" bind:checked={overrides[k.id]} onchange={savePrefs} />
- keep serving past {Math.round(BLOCK_SHARE * 100)}% (billed)
- </label>
+ </div>
+ </div>
+ {/each}
+
+ <div class="actions">
+ <button class="btn btn-primary" onclick={saveKeys} disabled={saving}>
+ {saving ? 'Saving…' : 'Save keys'}
+ </button>
+ </div>
+ </section>
+
+ <section class="group">
+ <h3><Icon name="shield" size={14} /> Provider terms, encoded</h3>
+ <ul class="rules">
+ <li>Google tiles are never cached to disk, and a Google capture is a flattened screenshot with the copyright line burned into its footer; both are conditions of Google's Map Tiles API terms.</li>
+ <li>Mapbox captures keep the © Mapbox © OpenStreetMap attribution in their provenance.</li>
+ <li>Keys are never bundled into a shared case or export.</li>
+ </ul>
+ </section>
+ {/if}
+
+ {#if tab === 'usage'}
+ <section class="group">
+ <h3>Tile usage · {month}</h3>
+ <p class="intro">
+ Keyed providers bill per tile served. Azimut counts exactly what goes out to
+ each provider (live map + captures, browser cache hits excluded), so this
+ matches their billing as closely as possible. Local bookkeeping only — the
+ counter never leaves this machine.
+ </p>
+ {#if KEYED.some((k) => keys[k.id] || monthCount(usage, k.id, month))}
+ <div class="usage">
+ {#each KEYED as k (k.id)}
+ {#if keys[k.id] || monthCount(usage, k.id, month)}
+ {@const count = monthCount(usage, k.id, month)}
+ {@const share = freeTierShare(count, k.id)}
+ <div class="usage-row">
+ <div class="usage-line">
+ <span class="usage-name">
+ {k.label}
+ <a href={k.usage} target="_blank" rel="noreferrer"
+ title="The provider's own usage & limits dashboard — the counter that actually bills"
+ >usage & limits <Icon name="external" size={11} /></a>
+ </span>
+ <span class="mono">{tilesOfFree(count, k.id)}</span>
+ </div>
+ <div class="meter-track" aria-hidden="true">
+ <div
+ class="meter-fill"
+ class:hot={share >= BLOCK_SHARE}
+ style="width:{Math.min(share * 100, 100)}%"
+ ></div>
+ </div>
+ {#if usageBlocked(count, k.id, overrides)}
+ <p class="blocked">
+ <Icon name="alert" size={12} />
+ Paused at {Math.round(BLOCK_SHARE * 100)}% of the free tier — the map and
+ captures fall back to free imagery until next month, or:
+ </p>
+ {/if}
+ {#if share >= BLOCK_SHARE || overrides[k.id]}
+ <label class="toggle override" title="Serve past the pause — extra tiles are billed by the provider">
+ <input type="checkbox" bind:checked={overrides[k.id]} onchange={saveProviderPrefs} />
+ keep serving past {Math.round(BLOCK_SHARE * 100)}% (billed)
+ </label>
+ {/if}
+ <p class="overage">{k.overage}</p>
+ </div>
{/if}
- <p class="overage">{k.overage}</p>
+ {/each}
+ </div>
+ {:else}
+ <p class="none">No keyed provider configured yet.</p>
+ {/if}
+ <label
+ class="toggle eco"
+ title="Zoomed out this far, billed basemaps silently swap to free imagery — paid detail only matters up close"
+ >
+ <input type="checkbox" bind:checked={eco} onchange={saveEcoZoom} />
+ Eco mode: use free imagery when zoomed out, up to z ≤
+ <input
+ class="input eco-zoom"
+ type="number"
+ min="1"
+ max="21"
+ bind:value={ecoMaxZoom}
+ onchange={saveEcoZoom}
+ disabled={!eco}
+ aria-label="Eco mode zoom threshold"
+ />
+ </label>
+ <button class="btn btn-ghost btn-sm" onclick={() => load()} title="Refresh counters">
+ <Icon name="reset" size={13} /> Refresh
+ </button>
+ </section>
+ {/if}
+
+ {#if tab === 'about'}
+ <section class="group">
+ <h3>Azimut</h3>
+ <dl class="facts">
+ <dt>Version</dt>
+ <dd class="mono">{about.version || '—'}</dd>
+ <dt>Workspace</dt>
+ <dd class="mono">{about.workspace_root || '—'}</dd>
+ <dt>License</dt>
+ <dd>AGPL-3.0-or-later</dd>
+ </dl>
+ <p class="note">
+ The workspace is a plain folder: cases, media and proofs are files you can
+ zip, back up or put under git. No account, no telemetry, no upload — network
+ access only happens when a tool inherently needs it (map tiles, geocoding,
+ media download), always directly to the third party.
+ </p>
+ <div class="links">
+ <a class="btn btn-sm" href={REPO_URL} target="_blank" rel="noreferrer">
+ <Icon name="link" size={13} /> Source & issues <Icon name="external" size={11} />
+ </a>
+ <a class="btn btn-sm" href={SITE_URL} target="_blank" rel="noreferrer">
+ <Icon name="globe" size={13} /> osintmethat.com <Icon name="external" size={11} />
+ </a>
+ </div>
+ </section>
+
+ <section class="group">
+ <h3>Downloaders</h3>
+ <p class="note">
+ Media download leans on two projects that track sites as they change. They
+ age faster than Azimut does — if a link stops resolving, update these first.
+ </p>
+ {#each scrapers as s (s.dist)}
+ <div class="row">
+ <div class="row-label">
+ <span>{SCRAPER_LABELS[s.dist] ?? s.dist}</span>
+ <span class="row-hint">
+ <span class="mono">{s.version || 'not installed'}</span>
+ {#if s.source === 'runtime'}
+ · updated in place{#if s.bundled_version}, shipped with {s.bundled_version}{/if}
+ {:else}
+ · as shipped
+ {/if}
+ {#if s.restart_required}
+ · <span class="stale">restart to apply</span>
+ {:else if s.outdated}
+ · <span class="stale">{s.latest} available</span>
+ {:else if s.latest}
+ · up to date
+ {/if}
+ </span>
+ </div>
+ <div class="scraper-actions">
+ {#if s.source === 'runtime'}
+ <button class="btn btn-sm" onclick={() => resetScraper(s.dist)}>Revert</button>
+ {/if}
+ <button
+ class="btn btn-sm"
+ class:btn-primary={s.outdated}
+ disabled={updating[s.dist]}
+ onclick={() => updateScraper(s.dist)}
+ >
+ {updating[s.dist] ? 'Updating…' : 'Update'}
+ </button>
</div>
- {/if}
+ </div>
{/each}
- </div>
- {:else}
- <p class="none">No keyed provider configured yet.</p>
+ <div class="links">
+ <button class="btn btn-sm" disabled={checking} onclick={checkScrapers}>
+ <Icon name="download" size={13} />
+ {checking ? 'Checking…' : 'Check for updates'}
+ </button>
+ </div>
+ <p class="note">
+ Checking and updating are the only things here that use the network, and only
+ when you press them — the newest release is fetched from PyPI into your
+ workspace, verified against the hash PyPI publishes, and used instead of the
+ bundled copy. <strong>Revert</strong> goes back to the version this build
+ shipped with, if an update ever makes things worse.
+ </p>
+ </section>
{/if}
- <label
- class="toggle eco"
- title="Zoomed out this far, billed basemaps silently swap to free imagery — paid detail only matters up close"
- >
- <input type="checkbox" bind:checked={eco} onchange={savePrefs} />
- Eco mode: use free imagery when zoomed out, up to z ≤
- <input
- class="input eco-zoom"
- type="number"
- min="1"
- max="21"
- bind:value={ecoMaxZoom}
- onchange={savePrefs}
- disabled={!eco}
- aria-label="Eco mode zoom threshold"
- />
- </label>
- <button class="btn btn-ghost btn-sm" onclick={() => load()} title="Refresh counters">
- <Icon name="reset" size={13} /> Refresh
- </button>
- </section>
-
- <section class="card block">
- <h3><Icon name="shield" size={15} /> Provider terms, encoded</h3>
- <ul class="rules">
- <li>Google tiles are never cached to disk, and a Google capture is a flattened screenshot with the copyright line burned into its footer; both are conditions of Google's Map Tiles API terms.</li>
- <li>Mapbox captures keep the © Mapbox © OpenStreetMap attribution in their provenance.</li>
- <li>Keys are never bundled into a shared case or export.</li>
- </ul>
- </section>
+ </div>
</div>
</div>
@@ -295,31 +689,231 @@
color: var(--text-3);
font-size: var(--fs-sm);
}
- .body {
+
+ /* a preferences window, not a dashboard: a rail of sections on the left,
+ one flat scrolling pane on the right — no cards, no boxes */
+ .split {
flex: 1;
- overflow-y: auto;
- padding: 6px 18px 24px;
+ display: flex;
+ min-height: 0;
+ }
+ .rail {
+ width: 168px;
+ flex-shrink: 0;
display: flex;
flex-direction: column;
- gap: 14px;
- max-width: 720px;
+ gap: 1px;
+ padding: 4px 8px 8px 12px;
+ border-right: 1px solid var(--border);
}
- .block {
- padding: 16px;
+ .rail-tab {
+ display: flex;
+ align-items: center;
+ gap: 9px;
+ padding: 7px 10px;
+ border: 0;
+ border-radius: var(--r-md);
+ background: none;
+ color: var(--text-2);
+ font: inherit;
+ font-size: var(--fs-sm);
+ text-align: left;
+ cursor: pointer;
+ transition: background 0.12s var(--ease), color 0.12s var(--ease);
+ }
+ .rail-tab:hover {
+ background: var(--bg-2);
+ color: var(--text-1);
+ }
+ .rail-tab.active {
+ background: var(--accent-soft);
+ color: var(--accent);
+ font-weight: 600;
+ }
+
+ .pane {
+ flex: 1;
+ overflow-y: auto;
+ padding: 6px 18px 32px;
+ max-width: 640px;
+ }
+ .group {
+ padding: 14px 0 18px;
+ border-bottom: 1px solid var(--border);
+ }
+ .group:last-child {
+ border-bottom: 0;
}
h3 {
display: flex;
align-items: center;
- gap: 8px;
- font-size: var(--fs-md);
- margin-bottom: 6px;
+ gap: 7px;
+ font-size: var(--fs-xs);
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ color: var(--text-3);
+ margin-bottom: 12px;
+ }
+
+ .row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 18px;
+ margin-bottom: 8px;
+ }
+ .row-label {
+ display: flex;
+ flex-direction: column;
+ gap: 2px;
+ font-size: var(--fs-sm);
+ color: var(--text-1);
}
- .hint {
+ .row-hint {
color: var(--text-3);
+ font-size: var(--fs-xs);
+ line-height: 1.4;
+ }
+ .scraper-actions {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ }
+ /* the one state worth pulling the eye: this downloader will fail on real links */
+ .stale {
+ color: var(--warn, var(--text-1));
+ font-weight: 500;
+ }
+ .sig-side {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ }
+ .sig-preview {
+ /* checkerboard: a logo is meant to be transparent — show whether it is */
+ max-width: 88px;
+ max-height: 44px;
+ padding: 4px;
+ border: 1px solid var(--border);
+ border-radius: var(--r-sm);
+ background-color: var(--bg-2);
+ background-image:
+ linear-gradient(45deg, var(--bg-3) 25%, transparent 25% 75%, var(--bg-3) 75%),
+ linear-gradient(45deg, var(--bg-3) 25%, transparent 25% 75%, var(--bg-3) 75%);
+ background-size: 10px 10px;
+ background-position: 0 0, 5px 5px;
+ }
+ .sig-buttons {
+ display: flex;
+ gap: 6px;
+ }
+ .sig-file {
+ display: none;
+ }
+
+ /* segmented control — one row of mutually exclusive choices */
+ .seg {
+ display: flex;
+ flex-shrink: 0;
+ border: 1px solid var(--border);
+ border-radius: var(--r-md);
+ overflow: hidden;
+ }
+ .seg-btn {
+ padding: 5px 12px;
+ border: 0;
+ border-left: 1px solid var(--border);
+ background: var(--bg-2);
+ color: var(--text-2);
+ font: inherit;
+ font-size: var(--fs-xs);
+ cursor: pointer;
+ transition: background 0.12s var(--ease), color 0.12s var(--ease);
+ }
+ .seg-btn:first-child {
+ border-left: 0;
+ }
+ .seg-btn:hover {
+ background: var(--bg-3);
+ color: var(--text-1);
+ }
+ .seg-btn.on {
+ background: var(--accent);
+ color: var(--accent-text);
+ font-weight: 600;
+ }
+
+ .sample {
+ color: var(--text-2);
font-size: var(--fs-sm);
- margin-bottom: 14px;
+ padding: 6px 9px;
+ border-radius: var(--r-sm);
+ background: var(--bg-2);
+ border: 1px solid var(--border);
+ display: inline-block;
+ margin-top: 4px;
+ }
+ .note {
+ color: var(--text-3);
+ font-size: var(--fs-xs);
+ line-height: 1.5;
+ margin-top: 8px;
+ }
+ /* same voice as .note, but leading a group instead of trailing one */
+ .intro {
+ color: var(--text-3);
+ font-size: var(--fs-xs);
line-height: 1.5;
+ margin: 0 0 14px;
+ }
+
+ .grid-3 {
+ display: grid;
+ grid-template-columns: 1fr 1fr 90px;
+ gap: 10px;
}
+ .field {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+ font-size: var(--fs-xs);
+ color: var(--text-2);
+ font-weight: 600;
+ }
+ .mention {
+ width: 200px;
+ flex-shrink: 0;
+ }
+
+ .facts {
+ display: grid;
+ grid-template-columns: max-content 1fr;
+ gap: 6px 18px;
+ margin: 0;
+ font-size: var(--fs-sm);
+ }
+ .facts dt {
+ color: var(--text-3);
+ font-size: var(--fs-xs);
+ align-self: center;
+ }
+ .facts dd {
+ margin: 0;
+ color: var(--text-1);
+ overflow-wrap: anywhere;
+ }
+ .links {
+ display: flex;
+ gap: 8px;
+ margin-top: 14px;
+ flex-wrap: wrap;
+ }
+ .links .btn {
+ gap: 6px;
+ text-decoration: none;
+ }
+
.key-row {
margin-bottom: 14px;
}
diff --git a/frontend/src/tools/inspect/CollageMenu.svelte b/frontend/src/tools/inspect/CollageMenu.svelte
index adf06bb..c98c013 100644
--- a/frontend/src/tools/inspect/CollageMenu.svelte
+++ b/frontend/src/tools/inspect/CollageMenu.svelte
@@ -3,6 +3,8 @@
previewStyle, scaleQuad, rotateQuad, quadCentroid, cropImgStyle, styleText, uid,
rotateQuads, scaleQuads,
} from '../../lib/inspect.js';
+ import { api } from '../../lib/api.js';
+ import { caseState, toast } from '../../lib/state.svelte.js';
import Icon from '../../components/Icon.svelte';
// Right-panel menu for the Collage tab: switch/create collages, add tray frames
@@ -100,6 +102,48 @@
active.nodes = active.nodes.filter((n) => !selectedIds.includes(n.id));
selectedIds = [];
}
+
+ // ---- auto-stitch ----------------------------------------------------------
+ // The backend solves each piece's quad from the imagery itself and hands the
+ // geometry back — the pieces stay ordinary, hand-tunable pieces (spec § v2
+ // Panorama: machine stitch first, hand-tune after). Pieces it can't place are
+ // left exactly where they were, for the analyst to place by hand.
+ let stitching = $state(false);
+ let undoQuads = $state(null);
+
+ async function autoStitch() {
+ if (!active || active.nodes.length < 2) return;
+ stitching = true;
+ try {
+ const before = active.nodes.map((n) => ({ id: n.id, quad: n.quad.map(([x, y]) => [x, y]) }));
+ const res = await api.post(`/api/cases/${caseState.current.id}/inspect/auto-stitch`, {
+ width: active.width,
+ height: active.height,
+ nodes: active.nodes.map((n) => n.save), // frozen snapshot recipes (path/time/ops)
+ });
+ for (const { index, quad } of res.nodes) active.nodes[index].quad = quad;
+ undoQuads = before;
+ selectedIds = [];
+ const placed = res.nodes.length;
+ if (res.dropped.length) {
+ toast(`Stitched ${placed} — ${res.dropped.length} left in place (no overlap found)`, 'warn');
+ } else {
+ toast(`Stitched ${placed} pieces`, 'ok');
+ }
+ } catch (e) {
+ toast(e.message, 'danger');
+ } finally {
+ stitching = false;
+ }
+ }
+
+ function undoStitch() {
+ for (const { id, quad } of undoQuads) {
+ const node = active.nodes.find((n) => n.id === id);
+ if (node) node.quad = quad;
+ }
+ undoQuads = null;
+ }
</script>
<div class="module">
@@ -197,9 +241,29 @@
</div>
{/if}
- <button class="btn btn-sm w-full" disabled title="Automatic stitching is coming soon">
- <Icon name="hash" size={14} /> Auto panorama (coming soon)
- </button>
+ <div class="section">
+ <div class="section-head"><span>Auto panorama</span></div>
+ <p class="hint">
+ Solves the layout from the overlapping imagery itself, then drops the pieces back on the
+ canvas — still draggable and warpable, so you can hand-tune the machine's guess.
+ </p>
+ <button
+ class="btn btn-sm w-full"
+ disabled={stitching || !active || active.nodes.length < 2}
+ onclick={autoStitch}
+ title={active && active.nodes.length < 2
+ ? 'Add at least two overlapping pieces'
+ : 'Stitch the pieces on this collage'}
+ >
+ <Icon name={stitching ? 'clock' : 'hash'} size={14} />
+ {stitching ? 'Stitching…' : 'Auto-stitch pieces'}
+ </button>
+ {#if undoQuads}
+ <button class="btn btn-ghost btn-xs w-full" onclick={undoStitch}>
+ <Icon name="reset" size={12} /> Undo auto-stitch
+ </button>
+ {/if}
+ </div>
</div>
<style>
diff --git a/frontend/src/tools/inspect/SelectionMenu.svelte b/frontend/src/tools/inspect/SelectionMenu.svelte
index e64679d..c414664 100644
--- a/frontend/src/tools/inspect/SelectionMenu.svelte
+++ b/frontend/src/tools/inspect/SelectionMenu.svelte
@@ -46,7 +46,7 @@
try {
const { job_id } = await api.post(`/api/cases/${caseState.current.id}/inspect/suggest`, {
path: session.source.path,
- bins: 12,
+ count: 12,
});
suggestions = await poll(job_id);
} catch (e) {
diff --git a/pyproject.toml b/pyproject.toml
index 38355df..1e9b635 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,20 +19,32 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
+# Upper bounds stop at the next major we haven't tested against: a range is a
+# claim about what works, and we can't make that claim for code that doesn't
+# exist yet. Raise a bound deliberately, after the suite passes against it.
+#
+# yt-dlp and gallery-dl are the deliberate exception — see below.
dependencies = [
- "fastapi>=0.111",
- "uvicorn[standard]>=0.30",
- "pydantic>=2.7",
- "httpx>=0.27",
- "pillow>=10.3",
+ "fastapi>=0.111,<1.0",
+ "uvicorn[standard]>=0.30,<1.0",
+ "pydantic>=2.7,<3",
+ "httpx>=0.27,<1.0",
+ "pillow>=10.3,<13",
+ "opencv-python-headless>=4.9,<5",
+ "numpy>=1.26,<3",
+ "requests>=2.31,<3",
+ "python-multipart>=0.0.9,<1.0",
+ # Unbounded ON PURPOSE. These two race against sites that change without
+ # notice, so an old version is a broken version — the usual "pin for
+ # reproducibility" logic inverts here. Azimut can also fetch newer copies
+ # at runtime into the workspace, which shadow whatever is installed or
+ # frozen into the binary (engine/scrapers.py).
"yt-dlp>=2024.4.9",
"gallery-dl>=1.27",
- "requests>=2.31",
- "python-multipart>=0.0.9",
]
[project.optional-dependencies]
-dev = ["pytest>=8", "pytest-asyncio>=0.23", "httpx>=0.27"]
+dev = ["pytest>=8,<9", "pytest-asyncio>=0.23,<2", "httpx>=0.27,<1.0"]
[project.scripts]
azimut = "azimut.cli:main"
diff --git a/src/azimut/api/cases.py b/src/azimut/api/cases.py
index c574d9d..f809a06 100644
--- a/src/azimut/api/cases.py
+++ b/src/azimut/api/cases.py
@@ -7,6 +7,7 @@ from typing import Any
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel, Field
+from ..engine import links as link_engine
from ..engine import media as media_engine
from ..workspace import Case, CaseError
@@ -39,6 +40,89 @@ def _unlink_inside(case: Case, rel_path: str) -> None:
pass
+def _delete_artifact_files(case: Case, entity: dict[str, Any]) -> None:
+ """Drop the on-disk artifact an entity stands for (spec §6 delete/edit sync).
+
+ A bare ``place`` has no file; an unknown (free-typed) entity is assumed to
+ have none either, so a future type files its own deletion here or not at all.
+ """
+ etype = entity.get("type")
+ attrs = entity.get("attrs", {})
+ if etype in ("media", "capture") and attrs.get("path"):
+ media_engine.delete_media_files(case, attrs["path"])
+ elif etype == "proof" and attrs.get("spec"):
+ _unlink_inside(case, attrs["spec"])
+ _unlink_inside(case, attrs["spec"].removesuffix(".json") + ".png")
+ elif etype == "post" and attrs.get("draft"):
+ _unlink_inside(case, attrs["draft"])
+ elif etype == "inspect-session" and attrs.get("spec"):
+ _unlink_inside(case, attrs["spec"])
+
+
+def delete_entity_deep(case: Case, entity_id: str) -> dict[str, Any]:
+ """Delete an entity, its artifact, and whatever cannot outlive it.
+
+ The one door every delete goes through — sidebar, Media Library, a tool's
+ own list — so the rules hold wherever the click came from:
+
+ - artifacts that ``depends-on`` the target die with it (an Inspect session
+ is only adjustments over a video), transitively;
+ - artifacts ``derived-from`` it are never touched, and are scarred with a
+ tombstone first, while the target can still describe itself.
+ """
+ plan = link_engine.plan_delete(case, entity_id)
+ target = next(e for e in case.read()["entities"] if e["id"] == entity_id)
+ going = [target, *plan["cascade"]]
+
+ # Scar the survivors first, while the doomed can still describe themselves.
+ for survivor_id, lost_sources in link_engine.losses(
+ case, {e["id"] for e in going}
+ ).items():
+ for lost in lost_sources:
+ info = link_engine.tombstone_of(lost)
+ if info.get("path"):
+ link_engine.add_tombstone(case, survivor_id, info)
+
+ for entity in going:
+ _delete_artifact_files(case, entity)
+ try:
+ case.remove_entity(entity["id"])
+ except CaseError:
+ pass # a cascade may already have taken it
+
+ return {
+ "status": "deleted",
+ "deleted": [e["id"] for e in going],
+ "tombstoned": [e["id"] for e in plan["tombstone"]],
+ }
+
+
+def _summary(entity: dict[str, Any]) -> dict[str, Any]:
+ return {
+ "id": entity["id"],
+ "type": entity.get("type"),
+ "label": entity.get("label"),
+ "path": link_engine.artifact_path(entity),
+ }
+
+
+def delete_by_path(case: Case, rel_path: str) -> dict[str, Any]:
+ """Chokepoint entry for a tool that knows its artifact by path, not by id.
+
+ Returns an empty ``deleted`` when no entity claims the path: the artifact was
+ never filed, so there is no graph to honour and the caller drops the files
+ itself.
+ """
+ entity = (
+ case.find_entity(attr="path", value=rel_path)
+ or case.find_entity(attr="spec", value=rel_path)
+ or case.find_entity(attr="draft", value=rel_path)
+ )
+ if entity is None:
+ return {"status": "deleted", "deleted": [], "tombstoned": []}
+ return delete_entity_deep(case, entity["id"])
+
+
class CreateCase(BaseModel):
name: str = Field(min_length=1, max_length=120)
@@ -157,42 +241,33 @@ def update_entity(case_id: str, entity_id: str, body: EntityPatch) -> dict[str,
raise HTTPException(status_code=404, detail=str(exc)) from exc
[email protected]("/{case_id}/entities/{entity_id}/dependents")
+def entity_dependents(case_id: str, entity_id: str) -> dict[str, Any]:
+ """What deleting this entity would take with it, and what it would scar.
+
+ Feeds the confirm dialog so a delete states its consequences before it is
+ irreversible (ONTOLOGY §3).
+ """
+ case = get_case(case_id)
+ try:
+ plan = link_engine.plan_delete(case, entity_id)
+ except CaseError as exc:
+ raise HTTPException(status_code=404, detail=str(exc)) from exc
+ return {
+ "cascade": [_summary(e) for e in plan["cascade"]],
+ "tombstone": [_summary(e) for e in plan["tombstone"]],
+ }
+
+
@router.delete("/{case_id}/entities/{entity_id}")
-def remove_entity(case_id: str, entity_id: str) -> dict[str, str]:
+def remove_entity(case_id: str, entity_id: str) -> dict[str, Any]:
"""Delete an entity and the on-disk artifact it stands for, so removing a
row in the sidebar deletes it everywhere it appears (spec §3.5)."""
case = get_case(case_id)
- entity = next((e for e in case.read()["entities"] if e["id"] == entity_id), None)
- if entity is None:
- raise HTTPException(status_code=404, detail=f"entity '{entity_id}' not found")
-
- etype = entity.get("type")
- attrs = entity.get("attrs", {})
-
- # media and satellite captures both live in media/ and share the media
- # delete: it drops the file + thumbnail + sidecar + entity in one go.
- if etype in ("media", "capture") and attrs.get("path"):
- try:
- media_engine.delete_media(case, attrs["path"])
- except CaseError as exc:
- raise HTTPException(status_code=400, detail=str(exc)) from exc
- return {"status": "deleted"}
-
- # other artifact-backed types: drop the file(s) before removing the row.
- # a bare place (no path) has nothing on disk.
- if etype == "proof" and attrs.get("spec"):
- _unlink_inside(case, attrs["spec"])
- _unlink_inside(case, attrs["spec"].removesuffix(".json") + ".png")
- elif etype == "post" and attrs.get("draft"):
- _unlink_inside(case, attrs["draft"])
- elif etype == "inspect-session" and attrs.get("spec"):
- _unlink_inside(case, attrs["spec"])
-
try:
- case.remove_entity(entity_id)
+ return delete_entity_deep(case, entity_id)
except CaseError as exc:
raise HTTPException(status_code=404, detail=str(exc)) from exc
- return {"status": "deleted"}
@router.post("/{case_id}/links")
diff --git a/src/azimut/api/drafts.py b/src/azimut/api/drafts.py
index bc2e2ef..05b2a0c 100644
--- a/src/azimut/api/drafts.py
+++ b/src/azimut/api/drafts.py
@@ -17,8 +17,9 @@ from typing import Any
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel, Field
+from ..engine import links as link_engine
from ..workspace import CaseError
-from .cases import get_case
+from .cases import delete_by_path, get_case
router = APIRouter(prefix="/api", tags=["drafts"])
@@ -104,26 +105,37 @@ def save_draft(case_id: str, body: DraftIn) -> dict[str, Any]:
existing = case.find_entity(attr="draft", value=f"exports/{name}.json")
if existing:
case.update_entity(existing["id"], {"label": body.title})
+ entity_id = existing["id"]
else:
- case.add_entity(
+ entity_id = case.add_entity(
"post",
body.title,
attrs={"draft": f"exports/{name}.json"},
by="post-composer",
- )
+ )["id"]
+
+ # A post is derived from the proof it announces and the media it attaches —
+ # it carries their coordinates and source in its own text, so it outlives
+ # them (ONTOLOGY §3) and only loses its attachment.
+ link_engine.sync(
+ case,
+ entity_id,
+ link_engine.DERIVED_FROM,
+ [body.state.get("proofPng"), body.state.get("mediaPath")],
+ by="post-composer",
+ )
return {"name": name, "draft": f"exports/{name}.json"}
@router.delete("/cases/{case_id}/drafts/{name}")
-def delete_draft(case_id: str, name: str) -> dict[str, str]:
+def delete_draft(case_id: str, name: str) -> dict[str, Any]:
case = get_case(case_id)
try:
path = case.resolve_inside(f"exports/{name}.json")
except CaseError as exc:
raise HTTPException(status_code=403, detail=str(exc)) from exc
- path.unlink(missing_ok=True)
- entity = case.find_entity(attr="draft", value=f"exports/{name}.json")
- if entity:
- case.remove_entity(entity["id"])
- return {"status": "deleted"}
+ result = delete_by_path(case, f"exports/{name}.json")
+ if not result["deleted"]: # never filed as an entity: drop the file anyway
+ path.unlink(missing_ok=True)
+ return result
diff --git a/src/azimut/api/inspect.py b/src/azimut/api/inspect.py
index 77d102b..f2a9b3a 100644
--- a/src/azimut/api/inspect.py
+++ b/src/azimut/api/inspect.py
@@ -17,8 +17,9 @@ from pydantic import BaseModel, Field
from .. import jobs
from ..engine import inspect as inspect_engine
+from ..engine import links as link_engine
from ..workspace import CaseError
-from .cases import get_case
+from .cases import delete_by_path, get_case
router = APIRouter(prefix="/api", tags=["inspect"])
@@ -36,7 +37,10 @@ class FramesIn(BaseModel):
class SuggestIn(BaseModel):
path: str
- bins: int = Field(default=12, ge=1, le=inspect_engine.FRAME_SCAN_CAP)
+ # How many suggestions to return. Every frame is scanned regardless — this
+ # only sizes the shortlist.
+ count: int = Field(default=12, ge=1, le=inspect_engine.SUGGEST_CAP)
+ min_gap: float | None = Field(default=None, ge=0, le=60)
class Op(BaseModel):
@@ -102,6 +106,12 @@ class ComposeIn(BaseModel):
folder: str | None = None
+class StitchIn(BaseModel):
+ width: int = Field(ge=16, le=8192)
+ height: int = Field(ge=16, le=8192)
+ nodes: list[NodeSrc] = Field(min_length=2)
+
+
class EnhanceVideoIn(BaseModel):
path: str
params: dict[str, Any] = {}
@@ -169,7 +179,11 @@ def suggest_frames(case_id: str, body: SuggestIn) -> dict[str, str]:
case = get_case(case_id)
def work(set_progress):
- return {"frames": inspect_engine.suggest_frames(case, body.path, body.bins, set_progress)}
+ return {
+ "frames": inspect_engine.suggest_frames(
+ case, body.path, body.count, body.min_gap, set_progress
+ )
+ }
return {"job_id": jobs.start("suggest", work)}
@@ -273,6 +287,28 @@ def compose(case_id: str, body: ComposeIn) -> dict[str, Any]:
raise HTTPException(status_code=422, detail=str(exc)) from exc
[email protected]("/cases/{case_id}/inspect/auto-stitch")
+def auto_stitch(case_id: str, body: StitchIn) -> dict[str, Any]:
+ """Solve collage quads for overlapping pieces — layout only, nothing is filed.
+
+ The pieces stay live on the canvas afterwards (spec § v2 Panorama: machine
+ stitch first, hand-tune after), so this returns geometry, not pixels.
+ """
+ case = get_case(case_id)
+ srcs = [
+ {**n.model_dump(exclude={"ops"}), "ops": [op.model_dump() for op in n.ops]}
+ for n in body.nodes
+ ]
+ try:
+ return inspect_engine.solve_collage_layout(
+ case, srcs=srcs, width=body.width, height=body.height
+ )
+ except CaseError as exc:
+ raise HTTPException(status_code=400, detail=str(exc)) from exc
+ except (ValueError, RuntimeError, OSError) as exc:
+ raise HTTPException(status_code=422, detail=str(exc)) from exc
+
+
@router.post("/cases/{case_id}/inspect/compose-preview")
def compose_preview(case_id: str, body: ComposeIn) -> Response:
"""Render the composited collage to a PNG for the Save tab — nothing is filed."""
@@ -349,12 +385,18 @@ def list_sessions(case_id: str) -> list[dict[str, Any]]:
continue
if spec.get("azimut_inspect") != 1:
continue
+ # Sessions hold an array of collages; older ones held a single `collage`
+ # (the loader still reads both). Count the pieces across all of them.
+ collages = spec.get("collages") or (
+ [spec["collage"]] if isinstance(spec.get("collage"), dict) else []
+ )
out.append({
"name": spec_path.stem,
"title": spec.get("title", spec_path.stem),
"updated_at": spec.get("updated_at"),
"frames": len(spec.get("frames", [])),
- "collage": len(spec.get("collage", {}).get("nodes", [])),
+ "collages": len(collages),
+ "collage": sum(len(c.get("nodes", [])) for c in collages),
"source": spec.get("source", {}).get("path"),
})
out.sort(key=lambda s: s.get("updated_at") or "", reverse=True)
@@ -390,20 +432,34 @@ def save_session(case_id: str, body: SessionIn) -> dict[str, Any]:
existing = case.find_entity(attr="spec", value=rel)
if existing:
case.update_entity(existing["id"], {"label": body.title})
+ entity_id = existing["id"]
else:
- case.add_entity("inspect-session", body.title, attrs={"spec": rel}, by="inspect")
+ entity_id = case.add_entity(
+ "inspect-session", body.title, attrs={"spec": rel}, by="inspect"
+ )["id"]
+
+ # A session is only adjustments and crops over its subject — nothing usable
+ # is left of it once the subject is gone, so it depends on it and is deleted
+ # with it (ONTOLOGY §3). Collage pieces pulled from the case are *not*
+ # subjects: losing one leaves a placeholder, it does not void the session.
+ link_engine.sync(
+ case,
+ entity_id,
+ link_engine.DEPENDS_ON,
+ [spec.get("source", {}).get("path")],
+ by="inspect",
+ )
return {"name": name, "spec_path": rel}
@router.delete("/cases/{case_id}/inspect/sessions/{name}")
-def delete_session(case_id: str, name: str) -> dict[str, str]:
+def delete_session(case_id: str, name: str) -> dict[str, Any]:
case = get_case(case_id)
try:
spec_path = case.resolve_inside(f"inspect/{name}.json")
except CaseError as exc:
raise HTTPException(status_code=403, detail=str(exc)) from exc
- spec_path.unlink(missing_ok=True)
- entity = case.find_entity(attr="spec", value=f"inspect/{name}.json")
- if entity:
- case.remove_entity(entity["id"])
- return {"status": "deleted"}
+ result = delete_by_path(case, f"inspect/{name}.json")
+ if not result["deleted"]: # never filed as an entity: drop the file anyway
+ spec_path.unlink(missing_ok=True)
+ return result
diff --git a/src/azimut/api/media.py b/src/azimut/api/media.py
index 4d72685..cb62b90 100644
--- a/src/azimut/api/media.py
+++ b/src/azimut/api/media.py
@@ -10,7 +10,7 @@ from pydantic import BaseModel, HttpUrl
from .. import jobs
from ..engine import media as media_engine
from ..workspace import CaseError
-from .cases import get_case
+from .cases import delete_by_path, get_case
router = APIRouter(prefix="/api", tags=["media"])
@@ -79,13 +79,15 @@ def job_status(job_id: str) -> dict[str, Any]:
@router.delete("/cases/{case_id}/media")
-def delete_media(case_id: str, path: str) -> dict[str, str]:
+def delete_media(case_id: str, path: str) -> dict[str, Any]:
case = get_case(case_id)
try:
- media_engine.delete_media(case, path)
+ result = delete_by_path(case, path)
+ if not result["deleted"]: # never filed as an entity: drop the files anyway
+ media_engine.delete_media_files(case, path)
except CaseError as exc:
raise HTTPException(status_code=400, detail=str(exc)) from exc
- return {"status": "deleted"}
+ return result
@router.patch("/cases/{case_id}/media")
diff --git a/src/azimut/api/proofs.py b/src/azimut/api/proofs.py
index 6ff8113..4616c10 100644
--- a/src/azimut/api/proofs.py
+++ b/src/azimut/api/proofs.py
@@ -16,8 +16,9 @@ from typing import Any
from fastapi import APIRouter, HTTPException
from pydantic import BaseModel, Field
+from ..engine import links as link_engine
from ..workspace import CaseError
-from .cases import get_case
+from .cases import delete_by_path, get_case
router = APIRouter(prefix="/api", tags=["proofs"])
@@ -108,27 +109,38 @@ def save_proof(case_id: str, body: ProofIn) -> dict[str, Any]:
existing = case.find_entity(attr="spec", value=f"proofs/{name}.json")
if existing:
case.update_entity(existing["id"], {"label": body.title})
+ entity_id = existing["id"]
else:
- case.add_entity(
+ entity_id = case.add_entity(
"proof",
body.title,
attrs={"spec": f"proofs/{name}.json", **({"path": png_rel} if png_rel else {})},
by="proof-composer",
- )
+ )["id"]
+
+ # A proof is derived from the panels it composes: the same click that saves
+ # it files the chain (ONTOLOGY §3). Restated on every save, so a panel
+ # dropped from the proof drops its edge too.
+ link_engine.sync(
+ case,
+ entity_id,
+ link_engine.DERIVED_FROM,
+ [p.get("src") for p in spec.get("panels", []) if p.get("src")],
+ by="proof-composer",
+ )
return {"name": name, "png": png_rel, "spec_path": f"proofs/{name}.json"}
@router.delete("/cases/{case_id}/proofs/{name}")
-def delete_proof(case_id: str, name: str) -> dict[str, str]:
+def delete_proof(case_id: str, name: str) -> dict[str, Any]:
case = get_case(case_id)
try:
spec_path = case.resolve_inside(f"proofs/{name}.json")
except CaseError as exc:
raise HTTPException(status_code=403, detail=str(exc)) from exc
- spec_path.unlink(missing_ok=True)
- spec_path.with_suffix(".png").unlink(missing_ok=True)
- entity = case.find_entity(attr="spec", value=f"proofs/{name}.json")
- if entity:
- case.remove_entity(entity["id"])
- return {"status": "deleted"}
+ result = delete_by_path(case, f"proofs/{name}.json")
+ if not result["deleted"]: # never filed as an entity: drop the files anyway
+ spec_path.unlink(missing_ok=True)
+ spec_path.with_suffix(".png").unlink(missing_ok=True)
+ return result
diff --git a/src/azimut/api/satellite.py b/src/azimut/api/satellite.py
index 5e417b1..9547f52 100644
--- a/src/azimut/api/satellite.py
+++ b/src/azimut/api/satellite.py
@@ -21,7 +21,7 @@ from ..engine import (
tiles,
)
from ..workspace import CaseError
-from .cases import get_case
+from .cases import delete_by_path, get_case
router = APIRouter(prefix="/api", tags=["satellite"])
@@ -270,7 +270,8 @@ def capture(case_id: str, body: CaptureIn) -> dict[str, Any]:
# the recorded point is the marker (== center unless it was moved off-center)
marker_lat, marker_lon = provenance["lat"], provenance["lon"]
- label = satellite_engine.coords_label(marker_lat, marker_lon)
+ label = satellite_engine.coords_label(marker_lat, marker_lon) # user's format
+ coords_dd = satellite_engine.coords_label(marker_lat, marker_lon, "dd")
plus_code = geo.plus_code(marker_lat, marker_lon)
provenance["plus_code"] = plus_code
provenance["dms"] = geo.to_dms(marker_lat, marker_lon)
@@ -293,7 +294,7 @@ def capture(case_id: str, body: CaptureIn) -> dict[str, Any]:
by="satellite",
entity_type="capture",
extra_attrs={
- "coords": label, "lat": marker_lat, "lon": marker_lon,
+ "coords": coords_dd, "lat": marker_lat, "lon": marker_lon,
"plus_code": plus_code, "zoom": provenance["zoom"], "bearing": body.bearing,
},
title=label,
@@ -308,9 +309,9 @@ def save_place(case_id: str, body: PlaceIn) -> dict[str, Any]:
"""Save just a point (the pin, or the crop center) as a navigable ``place`` —
no image. Clicking it in the sidebar flies the map back to it."""
case = get_case(case_id)
- coords = satellite_engine.coords_label(body.lat, body.lon)
- label = (body.title or "").strip() or coords
- attrs = {"coords": coords, "lat": body.lat, "lon": body.lon,
+ label = (body.title or "").strip() or satellite_engine.coords_label(body.lat, body.lon)
+ attrs = {"coords": satellite_engine.coords_label(body.lat, body.lon, "dd"),
+ "lat": body.lat, "lon": body.lon,
"plus_code": geo.plus_code(body.lat, body.lon),
"zoom": body.zoom, "bearing": body.bearing}
if body.notes and body.notes.strip():
@@ -324,14 +325,17 @@ def list_captures(case_id: str) -> list[dict[str, Any]]:
@router.delete("/cases/{case_id}/satellite")
-def delete_capture(case_id: str, path: str) -> dict[str, str]:
- # a capture is a media item: this drops the file + thumbnail + sidecar + entity
+def delete_capture(case_id: str, path: str) -> dict[str, Any]:
+ # a capture is a media item: the chokepoint drops the file + thumbnail +
+ # sidecar + entity, and honours whatever derives from or depends on it.
case = get_case(case_id)
try:
- media_engine.delete_media(case, path)
+ result = delete_by_path(case, path)
+ if not result["deleted"]: # never filed as an entity: drop the files anyway
+ media_engine.delete_media_files(case, path)
except CaseError as exc:
raise HTTPException(status_code=400, detail=str(exc)) from exc
- return {"status": "deleted"}
+ return result
@router.patch("/cases/{case_id}/satellite")
diff --git a/src/azimut/api/settings.py b/src/azimut/api/settings.py
index 4513ba5..3ecf7a0 100644
--- a/src/azimut/api/settings.py
+++ b/src/azimut/api/settings.py
@@ -1,8 +1,10 @@
-"""REST API for app-wide settings: API keys and per-provider usage counters.
+"""REST API for app-wide settings: API keys, usage counters, and the signature.
Keys are the user's own billing identity (docs/IMAGERY_PROVIDERS.md): stored
locally in settings.json, app-wide (never per-case), never written into a case
-folder or export bundle. Usage counters are local bookkeeping only.
+folder or export bundle. Usage counters are local bookkeeping only. The
+signature (the analyst's logo) follows the same rule — one file beside
+settings.json, reaching a case only as pixels in a rendered proof PNG.
"""
from __future__ import annotations
@@ -10,11 +12,12 @@ from __future__ import annotations
from typing import Any
import httpx
-from fastapi import APIRouter, HTTPException
-from pydantic import BaseModel
+from fastapi import APIRouter, HTTPException, UploadFile
+from fastapi.responses import FileResponse
+from pydantic import BaseModel, Field
-from .. import config
-from ..engine import google_tiles, tiles
+from .. import __version__, config
+from ..engine import google_tiles, scrapers, tiles
router = APIRouter(prefix="/api", tags=["settings"])
@@ -22,6 +25,9 @@ router = APIRouter(prefix="/api", tags=["settings"])
# light up the built-in basemaps (engine/tiles.py all_providers)
KEYED_PROVIDERS = ("mapbox", "google")
+DEFAULT_HOME_VIEW = config.DEFAULT_SETTINGS["home_view"]
+DEFAULT_POST_MENTION = config.DEFAULT_SETTINGS["post_mention"]
+
class KeysIn(BaseModel):
# None = leave untouched; "" (or whitespace) = remove the stored key
@@ -29,8 +35,16 @@ class KeysIn(BaseModel):
google: str | None = None
+class HomeView(BaseModel):
+ """The map view the Satellite tab opens on. Rejected outside the world."""
+
+ lat: float = Field(ge=-90, le=90)
+ lon: float = Field(ge=-180, le=180)
+ zoom: int = Field(ge=1, le=21)
+
+
class PrefsIn(BaseModel):
- """Keyed-provider preferences — None leaves a field untouched."""
+ """Keyed-provider and display preferences — None leaves a field untouched."""
# {"mapbox": bool, "google": bool}: basemap on/off without touching the key
providers_enabled: dict[str, bool] | None = None
@@ -39,6 +53,25 @@ class PrefsIn(BaseModel):
# swap billed basemaps for free imagery at low zoom (≤ eco_max_zoom)
eco_zoom_fallback: bool | None = None
eco_max_zoom: int | None = None # clamped to a sane zoom range
+ # display preferences — presentation only, never touches stored artifacts
+ coord_format: str | None = None # one of config.COORD_FORMATS
+ units: str | None = None # one of config.UNIT_SYSTEMS
+ home_view: HomeView | None = None # where the Satellite tab opens
+ post_mention: str | None = None # handle a new post draft is addressed to
+
+
+def _prefs(settings: dict[str, Any]) -> dict[str, Any]:
+ """The preference block shared by GET /settings and PUT /settings/prefs."""
+ return {
+ "providers_enabled": settings.get("providers_enabled", {}),
+ "usage_overrides": settings.get("usage_overrides", {}),
+ "eco_zoom_fallback": bool(settings.get("eco_zoom_fallback", True)),
+ "eco_max_zoom": int(settings.get("eco_max_zoom", config.ECO_MAX_ZOOM)),
+ "coord_format": settings.get("coord_format", "dd"),
+ "units": settings.get("units", "metric"),
+ "home_view": settings.get("home_view", DEFAULT_HOME_VIEW),
+ "post_mention": settings.get("post_mention", DEFAULT_POST_MENTION),
+ }
@router.get("/settings")
@@ -48,13 +81,16 @@ def get_settings() -> dict[str, Any]:
"api_keys": settings.get("api_keys", {}),
"usage": settings.get("usage", {}),
"month": config.month_key(),
- "providers_enabled": settings.get("providers_enabled", {}),
- "usage_overrides": settings.get("usage_overrides", {}),
- "eco_zoom_fallback": bool(settings.get("eco_zoom_fallback", True)),
- "eco_max_zoom": int(settings.get("eco_max_zoom", config.ECO_MAX_ZOOM)),
+ # whether a logo is on disk — the proof composer's signature control is
+ # dead until one is, so it needs to know without fetching the pixels
+ "signature": config.signature_path().is_file(),
+ **_prefs(settings),
# server-side constants the UI mirrors
"free_tier": config.FREE_TIER,
"block_share": config.BLOCK_SHARE,
+ # About tab: what this build is, and where it keeps its files
+ "version": __version__,
+ "workspace_root": str(config.workspace_root()),
}
@@ -73,13 +109,20 @@ def put_prefs(body: PrefsIn) -> dict[str, Any]:
settings["eco_zoom_fallback"] = bool(body.eco_zoom_fallback)
if body.eco_max_zoom is not None:
settings["eco_max_zoom"] = max(1, min(21, int(body.eco_max_zoom)))
+ if body.coord_format is not None:
+ if body.coord_format not in config.COORD_FORMATS:
+ raise HTTPException(status_code=422, detail=f"unknown coord_format '{body.coord_format}'")
+ settings["coord_format"] = body.coord_format
+ if body.units is not None:
+ if body.units not in config.UNIT_SYSTEMS:
+ raise HTTPException(status_code=422, detail=f"unknown units '{body.units}'")
+ settings["units"] = body.units
+ if body.home_view is not None:
+ settings["home_view"] = body.home_view.model_dump()
+ if body.post_mention is not None:
+ settings["post_mention"] = body.post_mention.strip()[:64]
config.save_settings(settings)
- return {
- "providers_enabled": settings.get("providers_enabled", {}),
- "usage_overrides": settings.get("usage_overrides", {}),
- "eco_zoom_fallback": bool(settings.get("eco_zoom_fallback", True)),
- "eco_max_zoom": int(settings.get("eco_max_zoom", config.ECO_MAX_ZOOM)),
- }
+ return _prefs(settings)
@router.put("/settings/keys")
@@ -122,3 +165,74 @@ def test_key(provider: str) -> dict[str, Any]:
except Exception as exc:
return {"ok": False, "detail": str(exc)}
raise HTTPException(status_code=404, detail=f"unknown keyed provider '{provider}'")
+
+
+# ---- signature: the analyst's logo, stamped onto proofs they choose to sign ---
+
+
[email protected]("/settings/signature.png")
+def get_signature() -> FileResponse:
+ path = config.signature_path()
+ if not path.is_file():
+ raise HTTPException(status_code=404, detail="no signature saved")
+ return FileResponse(path, media_type="image/png")
+
+
[email protected]("/settings/signature")
+async def put_signature(file: UploadFile) -> dict[str, Any]:
+ """Replace the stored logo. PNG only, and small — see config.PNG_MAGIC."""
+ data = await file.read(config.SIGNATURE_MAX_BYTES + 1)
+ if len(data) > config.SIGNATURE_MAX_BYTES:
+ raise HTTPException(
+ status_code=413,
+ detail=f"signature must be under {config.SIGNATURE_MAX_BYTES // 1024 // 1024} MB",
+ )
+ # sniff the bytes rather than trust the filename or the browser's content-type
+ if not data.startswith(config.PNG_MAGIC):
+ raise HTTPException(status_code=422, detail="signature must be a PNG image")
+ path = config.signature_path()
+ path.parent.mkdir(parents=True, exist_ok=True)
+ path.write_bytes(data)
+ return {"signature": True}
+
+
[email protected]("/settings/signature")
+def delete_signature() -> dict[str, Any]:
+ config.signature_path().unlink(missing_ok=True)
+ return {"signature": False}
+
+
+# ---- scrapers: the two dependencies that rot on someone else's schedule -------
+
+
[email protected]("/settings/scrapers")
+def get_scrapers(check: bool = False) -> dict[str, Any]:
+ """Versions of yt-dlp/gallery-dl in use. ``check=true`` asks PyPI what's newer.
+
+ The check is opt-in and user-triggered: Azimut is local-first, so merely
+ opening Settings must never reach the network (engine/scrapers.py status()).
+ """
+ return {"scrapers": scrapers.status(check_pypi=check)}
+
+
[email protected]("/settings/scrapers/{dist}/update")
+def update_scraper(dist: str) -> dict[str, Any]:
+ """Fetch the latest wheel for one scraper into the workspace.
+
+ Never raises on a failed download — the settings tab shows the reason
+ inline, the same way the API-key test does. The previous copy stays live.
+ """
+ if dist not in scrapers.SCRAPERS:
+ raise HTTPException(status_code=404, detail=f"unknown scraper '{dist}'")
+ try:
+ return {"ok": True, **scrapers.update(dist)}
+ except Exception as exc:
+ return {"ok": False, "dist": dist, "detail": str(exc)}
+
+
[email protected]("/settings/scrapers/{dist}")
+def reset_scraper(dist: str) -> dict[str, Any]:
+ """Discard the updated copy and go back to the version this build shipped."""
+ if dist not in scrapers.SCRAPERS:
+ raise HTTPException(status_code=404, detail=f"unknown scraper '{dist}'")
+ return {"ok": True, **scrapers.reset(dist)}
diff --git a/src/azimut/config.py b/src/azimut/config.py
index 70dbfe1..3dec051 100644
--- a/src/azimut/config.py
+++ b/src/azimut/config.py
@@ -6,6 +6,8 @@ overridable with the ``AZIMUT_HOME`` environment variable):
~/Azimut/
├── cases/ # named investigations
├── scratch/ # one-shot sessions (promotable to cases)
+ ├── runtime/ # newer scrapers fetched at runtime (engine/scrapers.py)
+ ├── signature.png # optional analyst logo, stamped onto proofs
└── settings.json
No database server — plain files only (spec §4).
@@ -43,8 +45,26 @@ DEFAULT_SETTINGS: dict[str, Any] = {
"usage_overrides": {},
"eco_zoom_fallback": True,
"eco_max_zoom": 15,
+ # Display preferences, app-wide (Settings → Preferences):
+ # - coord_format: how every tool renders a latitude/longitude — "dd"
+ # (decimal degrees), "dms" (degrees/minutes/seconds), "mgrs" (grid ref).
+ # - units: "metric" (m/km/ha) or "imperial" (ft/mi/acre) for measurements.
+ # Presentation only: artifacts on disk always keep decimal degrees and
+ # metres, so a case reads the same whatever the reader's preference.
+ "coord_format": "dd",
+ "units": "metric",
+ # Where the Satellite tab opens before anything points it somewhere else
+ # (a case artifact, a "go to coords" handoff). {"lat", "lon", "zoom"}.
+ "home_view": {"lat": 48.8584, "lon": 2.2945, "zoom": 16},
+ # The handle a new post draft is addressed to. Empty means no mention.
+ "post_mention": "@GeoConfirmed",
}
+# Accepted values for the display preferences above — mirror of
+# frontend/src/lib/coords.js and frontend/src/lib/measure.js.
+COORD_FORMATS = ("dd", "dms", "mgrs")
+UNIT_SYSTEMS = ("metric", "imperial")
+
# Documented monthly free allowances per meter, in tile requests (verified
# 2026-07: Google 2D Map Tiles 100k then $0.60/1k, and ≤15k/day; Mapbox Static
# Tiles 200k then $0.50/1k). A yardstick, not a guarantee — mirror of
@@ -71,10 +91,37 @@ def scratch_dir() -> Path:
return workspace_root() / "scratch"
+def runtime_dir() -> Path:
+ """Where updated scrapers land (engine/scrapers.py).
+
+ In the workspace rather than beside the program because that's the one
+ directory we know is user-writable: the frozen binary can sit in
+ /usr/local/bin or Program Files, and its own contents are read-only.
+ """
+ return workspace_root() / "runtime"
+
+
def settings_path() -> Path:
return workspace_root() / "settings.json"
+def signature_path() -> Path:
+ """The analyst's optional logo, stamped onto proofs they choose to sign.
+
+ App-wide like the API keys, and under the same rule: it lives beside
+ settings.json and is never copied into a case folder or an export bundle.
+ Only the rendered proof PNG ever carries it.
+ """
+ return workspace_root() / "signature.png"
+
+
+# Refuse anything larger as a signature: a logo is a small badge on a composite,
+# and the file is read into memory to be validated and served.
+SIGNATURE_MAX_BYTES = 2 * 1024 * 1024
+# PNG only — the format's alpha channel is what lets a logo sit over imagery.
+PNG_MAGIC = b"\x89PNG\r\n\x1a\n"
+
+
def ensure_workspace() -> None:
"""Create the workspace skeleton if missing (idempotent)."""
cases_dir().mkdir(parents=True, exist_ok=True)
diff --git a/src/azimut/engine/coords.py b/src/azimut/engine/coords.py
new file mode 100644
index 0000000..1069a51
--- /dev/null
+++ b/src/azimut/engine/coords.py
@@ -0,0 +1,173 @@
+"""Latitude/longitude presentation — the server-side mirror of
+``frontend/src/lib/coords.js``.
+
+The app stores decimal degrees everywhere (case.json, sidecars, proof specs).
+This module only decides how a pair is *written out* in a human-facing label,
+following the user's ``coord_format`` preference (Settings → Preferences).
+
+Both implementations must agree: a title minted here has to read exactly like
+the same point rendered in the browser, so they are tested against the same
+reference vectors (tests/test_coords.py, frontend/src/lib/coords.test.js).
+"""
+
+from __future__ import annotations
+
+import math
+
+from .. import config
+
+# WGS84 / UTM constants
+_A = 6378137.0 # semi-major axis (m)
+_F = 1 / 298.257223563 # flattening
+_K0 = 0.9996 # UTM scale factor on the central meridian
+_E2 = _F * (2 - _F) # first eccentricity squared
+_EP2 = _E2 / (1 - _E2) # second eccentricity squared
+
+# Latitude bands, 8° each from 80°S; I and O are skipped so they can't read as
+# 1 and 0. The last band (X) is 12° tall and runs to the 84°N UTM limit.
+_BANDS = "CDEFGHJKLMNPQRSTUVWX"
+# 100 km square identifiers: the column letter cycles through three alphabet
+# sets by zone, the row letter through 20 letters offset by half the alphabet
+# on even zones (the standard AA lettering scheme).
+_COL_SETS = ("ABCDEFGH", "JKLMNPQR", "STUVWXYZ")
+_ROW_LETTERS = "ABCDEFGHJKLMNPQRSTUV"
+
+
+def format_dd(lat: float, lon: float) -> str:
+ """Decimal degrees, 6 dp (~0.11 m) — the app's native precision."""
+ return f"{lat:.6f}, {lon:.6f}"
+
+
+def _dms_part(value: float, positive: str, negative: str) -> str:
+ hemi = positive if value >= 0 else negative
+ value = abs(value)
+ deg = int(value)
+ minutes = int((value - deg) * 60)
+ sec = (value - deg - minutes / 60) * 3600
+ # rounding the seconds for display can carry into the minute (and the degree)
+ if round(sec, 2) >= 60:
+ sec = 0.0
+ minutes += 1
+ if minutes >= 60:
+ minutes = 0
+ deg += 1
+ return f"{deg}°{minutes:02d}'{sec:05.2f}\"{hemi}"
+
+
+def format_dms(lat: float, lon: float) -> str:
+ """Degrees/minutes/seconds, 2 dp on the seconds (~0.3 m)."""
+ return f"{_dms_part(lat, 'N', 'S')} {_dms_part(lon, 'E', 'W')}"
+
+
+def utm_zone(lat: float, lon: float) -> int:
+ """The UTM zone for a point, including the two irregularities every MGRS
+ implementation carries: zone 32 is widened over south-west Norway, and band
+ X over Svalbard uses only the odd zones 31/33/35/37."""
+ if 56 <= lat < 64 and 3 <= lon < 12:
+ return 32
+ if 72 <= lat < 84 and 0 <= lon < 42:
+ if lon < 9:
+ return 31
+ if lon < 21:
+ return 33
+ if lon < 33:
+ return 35
+ return 37
+ return int((lon + 180) // 6) + 1
+
+
+def lat_band(lat: float) -> str | None:
+ """The MGRS latitude band letter, or None outside the UTM domain."""
+ if lat < -80 or lat > 84:
+ return None
+ if lat >= 72:
+ return "X"
+ return _BANDS[int((lat + 80) // 8)]
+
+
+def to_utm(lat: float, lon: float) -> tuple[int, float, float]:
+ """Project to UTM: (zone, easting, northing) in metres."""
+ zone = utm_zone(lat, lon)
+ lon0 = math.radians((zone - 1) * 6 - 180 + 3) # central meridian of the zone
+ phi = math.radians(lat)
+ lam = math.radians(lon)
+
+ sin_phi = math.sin(phi)
+ cos_phi = math.cos(phi)
+ tan_phi = math.tan(phi)
+
+ n = _A / math.sqrt(1 - _E2 * sin_phi * sin_phi)
+ t = tan_phi * tan_phi
+ c = _EP2 * cos_phi * cos_phi
+ # keep the longitude difference in (-180, 180] so a zone straddling the
+ # antimeridian doesn't blow the series up
+ d_lon = lam - lon0
+ if d_lon > math.pi:
+ d_lon -= 2 * math.pi
+ if d_lon < -math.pi:
+ d_lon += 2 * math.pi
+ a = d_lon * cos_phi
+
+ # meridional arc
+ m = _A * (
+ (1 - _E2 / 4 - 3 * _E2**2 / 64 - 5 * _E2**3 / 256) * phi
+ - (3 * _E2 / 8 + 3 * _E2**2 / 32 + 45 * _E2**3 / 1024) * math.sin(2 * phi)
+ + (15 * _E2**2 / 256 + 45 * _E2**3 / 1024) * math.sin(4 * phi)
+ - (35 * _E2**3 / 3072) * math.sin(6 * phi)
+ )
+
+ easting = (
+ _K0
+ * n
+ * (
+ a
+ + (1 - t + c) * a**3 / 6
+ + (5 - 18 * t + t * t + 72 * c - 58 * _EP2) * a**5 / 120
+ )
+ + 500000
+ )
+ northing = _K0 * (
+ m
+ + n
+ * tan_phi
+ * (
+ a * a / 2
+ + (5 - t + 9 * c + 4 * c * c) * a**4 / 24
+ + (61 - 58 * t + t * t + 600 * c - 330 * _EP2) * a**6 / 720
+ )
+ )
+ if lat < 0:
+ northing += 10000000 # southern hemisphere false northing
+ return zone, easting, northing
+
+
+def format_mgrs(lat: float, lon: float) -> str | None:
+ """Military Grid Reference System, 1 m precision — e.g. "31U DQ 48250 11951".
+
+ None outside the UTM domain (the poles use UPS, which the tools never need).
+ """
+ band = lat_band(lat)
+ if band is None:
+ return None
+ zone, easting, northing = to_utm(lat, lon)
+ col = _COL_SETS[(zone - 1) % 3][int(easting // 100000) - 1]
+ row_index = int(northing // 100000) % 20
+ if zone % 2 == 0:
+ row_index = (row_index + 5) % 20
+ row = _ROW_LETTERS[row_index]
+ return f"{zone}{band} {col}{row} {int(easting % 100000):05d} {int(northing % 100000):05d}"
+
+
+def format_coords(lat: float, lon: float, fmt: str | None = None) -> str:
+ """Render a pair in `fmt`, defaulting to the user's saved preference.
+
+ Unknown formats — and points MGRS can't express — fall back to decimal
+ degrees, so a label is never blank.
+ """
+ if fmt is None:
+ fmt = config.load_settings().get("coord_format", "dd")
+ if fmt == "dms":
+ return format_dms(lat, lon)
+ if fmt == "mgrs":
+ return format_mgrs(lat, lon) or format_dd(lat, lon)
+ return format_dd(lat, lon)
diff --git a/src/azimut/engine/inspect.py b/src/azimut/engine/inspect.py
index 7aa3e1d..3128ebc 100644
--- a/src/azimut/engine/inspect.py
+++ b/src/azimut/engine/inspect.py
@@ -28,13 +28,20 @@ from datetime import datetime, timezone
from pathlib import Path
from typing import Any, Callable
-from PIL import Image, ImageChops, ImageEnhance, ImageFilter, ImageOps, ImageStat
+from PIL import Image, ImageChops, ImageEnhance, ImageOps
from PIL.ExifTags import GPSTAGS, TAGS
from ..workspace import Case
from . import media as media_engine
+from . import stitch
-FRAME_SCAN_CAP = 60 # hard cap on frames scanned for a "sharpest frame" suggestion
+SUGGEST_CAP = 60 # hard cap on how many "sharpest frame" suggestions we return
+
+# The sharpest-frame scan reads *every* frame in one ffmpeg pass, decoded to
+# greyscale at this max dimension. Full resolution buys no discrimination for a
+# focus measure but costs real time; this is small enough to stream a long clip
+# and large enough to tell a sharp frame from a soft one.
+SCAN_DIM = 480
def _now() -> str:
@@ -339,12 +346,56 @@ def extract_frame(video_path: Path, time_s: float) -> Image.Image:
def _sharpness(img: Image.Image) -> float:
- """Relative focus score: variance of the edge response (no numpy needed)."""
- edges = img.convert("L").filter(ImageFilter.FIND_EDGES)
- w, h = edges.size
- if w > 6 and h > 6: # trim FIND_EDGES border artefacts
- edges = edges.crop((2, 2, w - 2, h - 2))
- return round(ImageStat.Stat(edges).var[0], 2)
+ """Focus score for one image — see ``_focus_scores`` for the measure itself."""
+ import numpy as np
+
+ return _focus_score(np.asarray(img.convert("L"), dtype=np.uint8))
+
+
+def _focus_score(gray) -> float:
+ """Contrast-invariant focus: Laplacian variance normalised by image variance.
+
+ Plain Laplacian variance is the classic focus measure, but it scales with the
+ scene's *contrast* as well as its focus — so a blurry frame of a high-contrast
+ subject (headlights at night, a bright sky) outscores a sharp frame of a flat
+ one, and the "sharpest frames" come back soft. Contrast enters both variances
+ quadratically, so dividing it out leaves a measure of focus alone.
+ """
+ import cv2
+ import numpy as np
+
+ arr = gray.astype(np.float64)
+ spread = float(arr.var())
+ if spread < 1e-6: # a blank frame has no focus to speak of
+ return 0.0
+ lap = cv2.Laplacian(arr, cv2.CV_64F)
+ return float(lap.var() / spread)
+
+
+def _scan_size(width: int, height: int) -> tuple[int, int]:
+ """Decode size for the scan: capped at ``SCAN_DIM``, even, aspect preserved."""
+ longest = max(width, height)
+ scale = min(1.0, SCAN_DIM / longest) if longest else 1.0
+ w = max(2, int(round(width * scale)) & ~1)
+ h = max(2, int(round(height * scale)) & ~1)
+ return w, h
+
+
+def _spread_picks(
+ scored: list[dict[str, Any]], count: int, min_gap: float
+) -> list[dict[str, Any]]:
+ """Best-scoring frames, greedily thinned so no two picks sit within ``min_gap``.
+
+ Neighbouring frames are near-identical, so an unfiltered top-N would hand back
+ the same instant a dozen times. This keeps the best frame of each moment.
+ """
+ picks: list[dict[str, Any]] = []
+ for item in sorted(scored, key=lambda d: d["score"], reverse=True):
+ if len(picks) >= count:
+ break
+ if all(abs(item["time"] - p["time"]) >= min_gap for p in picks):
+ picks.append(item)
+ return picks
def _derivation(video_rel: str, sha: str | None, **extra: Any) -> dict[str, Any]:
@@ -373,32 +424,92 @@ def capture_frame(case: Case, video_rel: str, time_s: float, label: str | None =
return result
-def suggest_frames(
- case: Case, video_rel: str, bins: int = 12, set_progress: Callable[[dict], None] | None = None
+def scan_focus(
+ case: Case, video_rel: str, set_progress: Callable[[dict], None] | None = None
) -> list[dict[str, Any]]:
- """Sample one frame per time bin and score its sharpness (spec v2 gesture)."""
+ """Score *every* frame of the video for focus — one ffmpeg pass, streamed.
+
+ Returns ``[{time, score}, ...]`` in playback order. Decoding the whole clip
+ once and piping raw greyscale is what makes an exhaustive scan affordable:
+ seeking to each frame with its own ffmpeg process (the old approach) costs a
+ process spawn and a decode-from-keyframe *per frame*, which is why it could
+ only ever afford to sample a handful.
+ """
+ import numpy as np
+
+ if not media_engine.ffmpeg_available():
+ raise RuntimeError("ffmpeg is required to scan video frames")
video_path = case.resolve_inside(video_rel)
meta = probe(case, video_rel)
+ fps = meta.get("fps") or 0
duration = meta.get("duration") or 0
- if duration <= 0:
- raise RuntimeError("could not read video duration (ffprobe needed)")
- bins = max(1, min(bins, FRAME_SCAN_CAP))
+ if fps <= 0 or duration <= 0:
+ raise RuntimeError("could not read video duration/fps (ffprobe needed)")
+
+ w, h = _scan_size(int(meta.get("width") or 0), int(meta.get("height") or 0))
+ expected = max(1, int(duration * fps))
+ frame_bytes = w * h
+
+ proc = subprocess.Popen(
+ ["ffmpeg", "-v", "error", "-i", str(video_path),
+ "-vf", f"scale={w}:{h}", "-f", "rawvideo", "-pix_fmt", "gray", "pipe:1"],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE,
+ )
out: list[dict[str, Any]] = []
- for i in range(bins):
- t = duration * (i + 0.5) / bins
- try:
- score = _sharpness(extract_frame(video_path, t))
- except Exception:
- continue
- out.append({"time": round(t, 3), "score": score})
- if set_progress:
- set_progress({"percent": round((i + 1) * 100 / bins, 1)})
- out.sort(key=lambda d: d["score"], reverse=True)
- for rank, item in enumerate(out):
- item["rank"] = rank
+ try:
+ assert proc.stdout is not None
+ index = 0
+ while True:
+ buf = proc.stdout.read(frame_bytes)
+ if not buf or len(buf) < frame_bytes:
+ break
+ gray = np.frombuffer(buf, dtype=np.uint8).reshape(h, w)
+ out.append({"time": round(index / fps, 3), "score": round(_focus_score(gray), 4)})
+ index += 1
+ if set_progress and index % 25 == 0:
+ set_progress({"percent": round(min(99.0, index * 100 / expected), 1)})
+ finally:
+ if proc.stdout:
+ proc.stdout.close()
+ err = proc.stderr.read() if proc.stderr else b""
+ if proc.stderr:
+ proc.stderr.close()
+ proc.wait()
+ if not out:
+ raise RuntimeError(
+ (err or b"").decode("utf-8", "replace").strip() or "frame scan decoded nothing"
+ )
+ if set_progress:
+ set_progress({"percent": 100.0})
return out
+def suggest_frames(
+ case: Case,
+ video_rel: str,
+ count: int = 12,
+ min_gap: float | None = None,
+ set_progress: Callable[[dict], None] | None = None,
+) -> list[dict[str, Any]]:
+ """The sharpest frames in the clip, best first (spec v2 gesture).
+
+ Every frame is scored (``scan_focus``), then the picks are thinned so they
+ land on distinct moments — ``min_gap`` seconds apart, derived from the clip
+ length when not given.
+ """
+ count = max(1, min(count, SUGGEST_CAP))
+ scored = scan_focus(case, video_rel, set_progress)
+ span = scored[-1]["time"] if scored else 0.0
+ if min_gap is None:
+ # Enough to break up a burst of near-identical neighbours without
+ # forcing picks away from a genuinely sharp stretch.
+ min_gap = max(0.4, span / (count * 4)) if span else 0.0
+ picks = _spread_picks(scored, count, min_gap)
+ for rank, item in enumerate(picks):
+ item["rank"] = rank
+ return picks
+
+
# ---------------------------------------------------------------------------
# Adjustments & collage (operate on images / captured frames)
# ---------------------------------------------------------------------------
@@ -675,6 +786,31 @@ def compose_perspective(
return result
+def solve_collage_layout(
+ case: Case, *, srcs: list[dict[str, Any]], width: int, height: int
+) -> dict[str, Any]:
+ """Auto-stitch: solve each piece's quad from the imagery itself (no filing).
+
+ ``srcs`` are the same ``{path, time?, ops[]}`` recipes the collage already
+ speaks, so pieces stitch *as adjusted* — what the analyst sees is what gets
+ matched. The returned quads are canvas pixels, ready to drop onto the canvas
+ as ordinary (still hand-tunable) pieces; ``dropped`` lists the pieces that
+ matched nothing, which the caller leaves where they were.
+ """
+ images = [
+ _source_image(case, s["path"], s.get("time"), s.get("ops")) for s in srcs
+ ]
+ try:
+ solved = stitch.solve_layout(images, width=width, height=height)
+ finally:
+ for img in images:
+ img.close()
+ return {
+ "nodes": [{"index": i, "quad": q} for i, q in sorted(solved["quads"].items())],
+ "dropped": solved["dropped"],
+ }
+
+
# Map the frontend's css-filter values (multiplicative, 1.0 = neutral) to ffmpeg's
# `eq` filter, whose brightness is additive. Only the css-previewable filters carry
# over to video; grayscale/invert are handled as saturation/negate.
diff --git a/src/azimut/engine/links.py b/src/azimut/engine/links.py
new file mode 100644
index 0000000..2bb0bf1
--- /dev/null
+++ b/src/azimut/engine/links.py
@@ -0,0 +1,215 @@
+"""The derivation link layer (ONTOLOGY §3), and what deleting an entity means.
+
+Every tool that files an artifact already knows the case paths it was made from
+— a proof's panels, a post's proof, a frame's video. This module turns those
+paths into typed edges in ``case.json`` so the chain becomes traversable: the
+Details panel's relations, the derivation breadcrumbs and the dependency-aware
+delete all read the same edges.
+
+Two link types carry it, and the delete policy reads off the **link type**, not
+off the producing tool, so a new tool inherits the right behaviour just by
+picking one:
+
+``derived-from`` (artifact → source)
+ The artifact holds its own content — pixels, text — and still means
+ something once the source is gone. Deleting the source leaves the artifact
+ in place, with a tombstone recording what it came from.
+
+``depends-on`` (session → subject)
+ The artifact is nothing but a pointer at its subject: an Inspect session is
+ a set of adjustments over a video, worthless without it. Deleting the
+ subject deletes the session.
+
+The test a new tool applies: *delete the target — is anything usable left in my
+file?* Yes → ``derived-from``. No → ``depends-on``. Emitted at save time with
+``status: "confirmed"``: a derivation is a mechanical fact of the analyst's own
+click, not a tool's guess (ONTOLOGY §4).
+"""
+
+from __future__ import annotations
+
+from datetime import datetime, timezone
+from typing import Any
+
+from ..workspace import Case, CaseError
+
+DERIVED_FROM = "derived-from"
+DEPENDS_ON = "depends-on"
+
+#: Incoming links of these types take their holder down with the target.
+CASCADE_TYPES = (DEPENDS_ON,)
+#: Incoming links of these types leave their holder in place, with a tombstone.
+TOMBSTONE_TYPES = (DERIVED_FROM,)
+
+#: ``attrs`` key holding the tombstones. Additive — schema stays 0.
+LOST = "lost_sources"
+
+
+def _now() -> str:
+ return datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
+
+
+def _entity(case: Case, entity_id: str) -> dict[str, Any]:
+ for entity in case.read()["entities"]:
+ if entity["id"] == entity_id:
+ return entity
+ raise CaseError(f"entity '{entity_id}' not found")
+
+
+def artifact_path(entity: dict[str, Any]) -> str | None:
+ """The case-relative file an entity stands for, whichever attr holds it."""
+ attrs = entity.get("attrs", {})
+ for key in ("path", "spec", "draft"):
+ if attrs.get(key):
+ return attrs[key]
+ return None
+
+
+def resolve(case: Case, rel_paths: list[str]) -> tuple[list[str], list[str]]:
+ """Map case-relative artifact paths to entity ids, in one read.
+
+ Returns ``(entity_ids, unresolved_paths)``. A path resolves to nothing when
+ its artifact was deleted while the tool that references it was open.
+ """
+ by_path: dict[str, str] = {}
+ for entity in case.read()["entities"]:
+ path = artifact_path(entity)
+ if path:
+ by_path.setdefault(path, entity["id"])
+ found, missing = [], []
+ for path in dict.fromkeys(p for p in rel_paths if p):
+ if path in by_path:
+ found.append(by_path[path])
+ else:
+ missing.append(path)
+ return found, missing
+
+
+def sync(
+ case: Case, entity_id: str, type_: str, rel_paths: list[str], *, by: str
+) -> None:
+ """Restate an artifact's sources: reconcile its links, tombstone the rest.
+
+ Called on every save, so a proof that loses a panel loses the matching edge
+ and one saved three times still carries one edge per panel. A path that no
+ longer resolves cannot be linked, but the fact that it was used is kept as a
+ tombstone rather than dropped in silence.
+ """
+ found, missing = resolve(case, rel_paths)
+ case.sync_links(entity_id, type_, found, by=by)
+ for path in missing:
+ add_tombstone(case, entity_id, {"path": path})
+
+
+def link_all(
+ case: Case, entity_id: str, type_: str, rel_paths: list[str], *, by: str
+) -> None:
+ """Add an artifact's source links without removing any (see ``sync``).
+
+ For one-shot outputs that can dedupe onto an entity already in the case: the
+ same bytes really can come from two different videos, and that entity keeps
+ both derivations.
+ """
+ found, missing = resolve(case, rel_paths)
+ for to_id in found:
+ if to_id != entity_id:
+ case.add_link(entity_id, to_id, type_, by=by, unique=True)
+ for path in missing:
+ add_tombstone(case, entity_id, {"path": path})
+
+
+def tombstone_of(entity: dict[str, Any]) -> dict[str, Any]:
+ """What a survivor keeps of a source about to be deleted (ONTOLOGY §4).
+
+ The sha256 and the source URL are what make the loss auditable six months
+ later: the artifact can still say which file it came from and where that
+ file was fetched, even though the bytes are gone.
+ """
+ attrs = entity.get("attrs", {})
+ fields = {
+ "label": entity.get("label"),
+ "type": entity.get("type"),
+ "path": artifact_path(entity),
+ "sha256": attrs.get("sha256"),
+ "source_url": attrs.get("source_url")
+ or entity.get("provenance", {}).get("source"),
+ }
+ return {k: v for k, v in fields.items() if v}
+
+
+def add_tombstone(case: Case, entity_id: str, info: dict[str, Any]) -> None:
+ """Record on an artifact that one of its sources is gone.
+
+ Keyed by path, so re-saving or a second delete never stacks duplicates.
+ """
+ entity = _entity(case, entity_id)
+ lost = list(entity.get("attrs", {}).get(LOST, []))
+ if any(t.get("path") == info.get("path") for t in lost):
+ return
+ lost.append({**info, "at": info.get("at") or _now()})
+ case.update_entity(entity_id, {"attrs": {LOST: lost}})
+
+
+def losses(case: Case, doomed_ids: set[str]) -> dict[str, list[dict[str, Any]]]:
+ """Per surviving artifact, the doomed sources it *actually* derives from.
+
+ Scars belong only where the derivation was: a proof loses the media it was
+ composed from, not whatever else happened to be deleted in the same breath.
+ """
+ data = case.read()
+ by_id = {e["id"]: e for e in data["entities"]}
+ out: dict[str, list[dict[str, Any]]] = {}
+ for link in data["links"]:
+ if (
+ link["type"] in TOMBSTONE_TYPES
+ and link["to"] in doomed_ids
+ and link["from"] not in doomed_ids
+ and link["to"] in by_id
+ ):
+ out.setdefault(link["from"], []).append(by_id[link["to"]])
+ return out
+
+
+def plan_delete(case: Case, entity_id: str) -> dict[str, list[dict[str, Any]]]:
+ """What deleting ``entity_id`` takes with it, and what it leaves standing.
+
+ ``cascade`` follows ``depends-on`` transitively (a session dies with its
+ subject, and anything depending on that session follows) — never through
+ ``derived-from``, which is the whole point: outputs outlive their sources.
+ ``tombstone`` lists the artifacts that survive with a scar, computed over
+ everything about to go, not just the entity that was asked for.
+ """
+ data = case.read()
+ by_id = {e["id"]: e for e in data["entities"]}
+ if entity_id not in by_id:
+ raise CaseError(f"entity '{entity_id}' not found")
+
+ doomed = [entity_id]
+ frontier = [entity_id]
+ while frontier:
+ current = frontier.pop()
+ for link in data["links"]:
+ if (
+ link["to"] == current
+ and link["type"] in CASCADE_TYPES
+ and link["from"] not in doomed
+ and link["from"] in by_id
+ ):
+ doomed.append(link["from"])
+ frontier.append(link["from"])
+
+ scarred: list[str] = []
+ for link in data["links"]:
+ if (
+ link["to"] in doomed
+ and link["type"] in TOMBSTONE_TYPES
+ and link["from"] not in doomed
+ and link["from"] not in scarred
+ and link["from"] in by_id
+ ):
+ scarred.append(link["from"])
+
+ return {
+ "cascade": [by_id[i] for i in doomed[1:]],
+ "tombstone": [by_id[i] for i in scarred],
+ }
diff --git a/src/azimut/engine/media.py b/src/azimut/engine/media.py
index 635f12d..3115939 100644
--- a/src/azimut/engine/media.py
+++ b/src/azimut/engine/media.py
@@ -21,6 +21,7 @@ from typing import Any, BinaryIO
from PIL import Image
from ..workspace import Case
+from . import links as link_engine
THUMB_DIR = ".thumbs"
THUMB_MAX = 512
@@ -111,6 +112,19 @@ def _write_sidecar(media_path: Path, data: dict[str, Any]) -> None:
)
+def _source_paths(source: dict[str, Any]) -> list[str]:
+ """The case files a derivative was produced from, as its producer recorded them.
+
+ ``from`` is the single-source op (a frame's video), ``sources`` the
+ multi-source one (a collage's pieces). An import, a download or a satellite
+ capture has neither: its origin is a URL or a provider, which provenance
+ already carries, and there is nothing in the case to point at.
+ """
+ paths = [source["from"]] if source.get("from") else []
+ paths += [p for p in source.get("sources") or [] if p]
+ return paths
+
+
def _register(
case: Case,
media_path: Path,
@@ -140,6 +154,11 @@ def _register(
existing = case.find_entity(attr="sha256", value=digest)
if existing:
media_path.unlink() # identical bytes already in the case
+ # the bytes were already here, but this derivation is news: the same
+ # frame really can come out of two videos, and the entity keeps both.
+ link_engine.link_all(
+ case, existing["id"], link_engine.DERIVED_FROM, _source_paths(source), by=by
+ )
return {"duplicate": True, "entity": existing, "item": read_item(case, existing["attrs"]["path"])}
rel_path = f"media/{media_path.name}"
@@ -172,6 +191,11 @@ def _register(
by=by,
source=source.get("url"),
)
+ # Every media derivative is filed through here, so the derivation chain is
+ # wired once for every tool that produces imagery — present and future.
+ link_engine.link_all(
+ case, entity["id"], link_engine.DERIVED_FROM, _source_paths(source), by=by
+ )
return {"duplicate": False, "entity": entity, "item": {**sidecar, "path": rel_path}}
@@ -610,7 +634,12 @@ def update_media(case: Case, rel_path: str, patch: dict[str, Any]) -> dict[str,
return {**data, "path": rel_path}
-def delete_media(case: Case, rel_path: str) -> None:
+def delete_media_files(case: Case, rel_path: str) -> None:
+ """Drop a media's file, sidecar and thumbnail, leaving its entity alone.
+
+ The entity side is the delete chokepoint's business (``api.cases``), which
+ has to tombstone the dependents before anything is removed.
+ """
media_path = case.resolve_inside(rel_path)
sidecar = _sidecar_path(media_path)
data = None
@@ -620,7 +649,3 @@ def delete_media(case: Case, rel_path: str) -> None:
sidecar.unlink(missing_ok=True)
if data and data.get("thumbnail"):
case.resolve_inside(data["thumbnail"]).unlink(missing_ok=True)
- # remove the matching media entity (matched by case-relative path)
- entity = case.find_entity(attr="path", value=rel_path)
- if entity:
- case.remove_entity(entity["id"])
diff --git a/src/azimut/engine/satellite.py b/src/azimut/engine/satellite.py
index 4343833..c481bf5 100644
--- a/src/azimut/engine/satellite.py
+++ b/src/azimut/engine/satellite.py
@@ -19,12 +19,20 @@ from __future__ import annotations
from typing import Any
from ..workspace import Case
+from . import coords as coords_engine
from . import media as media_engine
-def coords_label(lat: float, lon: float) -> str:
- """Default capture title / place label: the point's coordinates."""
- return f"{lat:.6f}, {lon:.6f}"
+def coords_label(lat: float, lon: float, fmt: str | None = None) -> str:
+ """Default capture title / place label: the point's coordinates, written in
+ the user's coordinate format (Settings → Preferences).
+
+ Only *new* labels are minted here — a title already stored keeps whatever it
+ was named, so switching format never rewrites the case's existing titles.
+ Machine-readable fields (``lat``/``lon``, the ``coords`` attribute) stay in
+ decimal degrees regardless.
+ """
+ return coords_engine.format_coords(lat, lon, fmt)
def is_capture(item: dict[str, Any]) -> bool:
diff --git a/src/azimut/engine/scrapers.py b/src/azimut/engine/scrapers.py
new file mode 100644
index 0000000..9dc7338
--- /dev/null
+++ b/src/azimut/engine/scrapers.py
@@ -0,0 +1,389 @@
+"""Keep yt-dlp and gallery-dl fresh, independently of the Azimut release cycle.
+
+Every other dependency is locked in uv.lock and frozen into the release binary
+on purpose: the same tag should produce the same program. These two invert that
+rule. They race against sites that change their markup without notice, so a
+scraper frozen in March is a scraper broken by June — and the user can't fix it
+themselves, because the standalone binary has no pip and its modules live inside
+the read-only PyInstaller archive.
+
+So Azimut fetches newer copies into the workspace (config.runtime_dir()) and
+prefers them over whatever is bundled:
+
+ ~/Azimut/runtime/
+ ├── yt-dlp/ # one directory per distribution, so an
+ │ ├── yt_dlp/ # update is a whole-directory swap and a
+ │ └── yt_dlp-2026.7.4.dist-info/ # half-written one can't shadow anything
+ └── gallery-dl/
+ ├── gallery_dl/
+ └── gallery_dl-1.32.6.dist-info/
+
+Both projects publish a single pure-Python ``py3-none-any`` wheel whose required
+dependencies we already ship (yt-dlp's core needs none, gallery-dl needs only
+requests). That's what makes this safe: for these two, extracting the wheel *is*
+the install — no compiler, no resolver, no pip.
+
+Shadowing goes through a meta-path finder rather than a ``sys.path`` entry
+because PyInstaller's own importer answers first for anything it bundled, so a
+path entry would simply never be consulted for ``yt_dlp``.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import importlib.metadata
+import os
+import shutil
+import stat
+import sys
+import tempfile
+import threading
+import zipfile
+from importlib.abc import MetaPathFinder
+from importlib.machinery import PathFinder
+from io import BytesIO
+from pathlib import Path
+from typing import Any
+
+import httpx
+
+from .. import config
+
+# distribution name on PyPI -> module name it imports as
+SCRAPERS: dict[str, str] = {"yt-dlp": "yt_dlp", "gallery-dl": "gallery_dl"}
+
+PYPI_JSON = "https://pypi.org/pypi/{dist}/json"
+# Generous: a wheel is a few MB and the user pressed a button and is watching.
+DOWNLOAD_TIMEOUT = 120
+# Refuse anything larger than this as a scraper wheel. Both sit around 3 MB;
+# this is a sanity bound on an untrusted content-length, not a real limit.
+WHEEL_MAX_BYTES = 64 * 1024 * 1024
+
+_lock = threading.Lock() # updates mutate a shared directory
+
+
+# ---- swapping a directory, on all three platforms ---------------------------
+#
+# Windows is the constraint here. os.replace() onto an *existing* directory
+# fails there (MOVEFILE_REPLACE_EXISTING is file-only), and a file that's open
+# can't be deleted at all. So the destructive step is always a rename — old copy
+# out of the way first, new copy in second, delete the leftovers last. Renames
+# are cheap and near-atomic everywhere; deletes are the part allowed to fail,
+# and by then they can't cost us the package.
+
+
+def _force_writable(func, path, _exc):
+ """rmtree onexc hook: clear the read-only bit Windows refuses to delete through."""
+ try:
+ os.chmod(path, stat.S_IWRITE)
+ func(path)
+ except OSError:
+ pass
+
+
+def _rmtree(path: Path) -> None:
+ # onexc replaced onerror in 3.12; we still support 3.11. The hook ignores its
+ # third argument, which is the only thing that differs between the two.
+ if sys.version_info >= (3, 12):
+ shutil.rmtree(path, onexc=_force_writable)
+ else:
+ shutil.rmtree(path, onerror=_force_writable)
+
+
+def _retire(target: Path) -> Path | None:
+ """Rename `target` out of the way, returning where it went (None if absent)."""
+ if not target.exists():
+ return None
+ retired = target.parent / f".trash-{target.name}-{os.urandom(4).hex()}"
+ target.replace(retired)
+ return retired
+
+
+def _swap_in(staging: Path, target: Path) -> None:
+ """Replace `target` with `staging`, restoring the old copy if the move fails."""
+ retired = _retire(target)
+ try:
+ staging.replace(target)
+ except BaseException:
+ if retired is not None:
+ retired.replace(target) # put the working copy back
+ raise
+ if retired is not None:
+ # Best-effort: a locked leftover on Windows is litter, not a failure.
+ shutil.rmtree(retired, ignore_errors=True)
+
+
+def _discard(target: Path) -> None:
+ """Remove `target`, making sure it's gone from the import path even if the
+ delete can't finish — the rename is what counts."""
+ retired = _retire(target)
+ if retired is not None:
+ shutil.rmtree(retired, ignore_errors=True)
+
+
+# ---- reading what's on disk -------------------------------------------------
+
+
+def dist_dir(dist: str) -> Path:
+ return config.runtime_dir() / dist
+
+
+def runtime_version(dist: str) -> str | None:
+ """Version of the updated copy in the workspace, or None if there isn't one.
+
+ Read off the .dist-info directory name rather than by importing, so the
+ status endpoint stays cheap and works before the module is ever loaded.
+ """
+ module = SCRAPERS[dist]
+ try:
+ infos = list(dist_dir(dist).glob(f"{module}-*.dist-info"))
+ except OSError:
+ return None
+ if not infos or not (dist_dir(dist) / module).exists():
+ return None
+ return infos[0].name[len(module) + 1 : -len(".dist-info")]
+
+
+def bundled_version(dist: str) -> str | None:
+ """Version shipped with this build — installed by pip, or frozen into the binary."""
+ try:
+ return importlib.metadata.version(dist)
+ except importlib.metadata.PackageNotFoundError:
+ # PyInstaller can bundle the module without its .dist-info metadata.
+ try:
+ module = __import__(SCRAPERS[dist])
+ except Exception:
+ return None
+ version = getattr(module, "__version__", None)
+ return str(version) if version else None
+
+
+def active_version(dist: str) -> tuple[str | None, str]:
+ """The version that import would actually get, and where it comes from."""
+ runtime = runtime_version(dist)
+ if runtime is not None:
+ return runtime, "runtime"
+ return bundled_version(dist), "bundled"
+
+
+# ---- shadowing the bundled copy ---------------------------------------------
+
+
+class _RuntimeFinder(MetaPathFinder):
+ """Resolves the scrapers we have a runtime copy of, and nothing else.
+
+ Sits at the front of sys.meta_path so it answers before PyInstaller's
+ frozen importer. Deliberately narrow: any module outside `roots` is passed
+ straight through, so this cannot affect the rest of the program.
+ """
+
+ def __init__(self, roots: dict[str, Path]) -> None:
+ self.roots = {module: str(path) for module, path in roots.items()}
+
+ def find_spec(self, fullname: str, path: Any = None, target: Any = None) -> Any:
+ top = fullname.partition(".")[0]
+ root = self.roots.get(top)
+ if root is None:
+ return None
+ if "." not in fullname:
+ return PathFinder.find_spec(fullname, [root], target)
+ # A submodule: only claim it if the top-level package actually came from
+ # our tree. Otherwise the parent is the bundled one and its __path__
+ # points into the PyInstaller archive, which PathFinder can't read.
+ parent = sys.modules.get(top)
+ parent_path = getattr(parent, "__path__", None)
+ if not parent_path or not str(parent_path[0]).startswith(root):
+ return None
+ return PathFinder.find_spec(fullname, path, target)
+
+
+def _remove_finder() -> None:
+ for existing in [f for f in sys.meta_path if isinstance(f, _RuntimeFinder)]:
+ sys.meta_path.remove(existing)
+
+
+def activate() -> dict[str, str]:
+ """Point imports at any updated scrapers in the workspace. Idempotent.
+
+ Called once at startup, and again after an update so a scraper that hasn't
+ been imported yet goes live without a restart. Returns {module: version}
+ for what got shadowed.
+ """
+ roots: dict[str, Path] = {}
+ shadowed: dict[str, str] = {}
+ for dist, module in SCRAPERS.items():
+ version = runtime_version(dist)
+ if version is None:
+ continue
+ roots[module] = dist_dir(dist)
+ shadowed[module] = version
+ _remove_finder()
+ if roots:
+ sys.meta_path.insert(0, _RuntimeFinder(roots))
+ return shadowed
+
+
+def needs_restart(dist: str) -> bool:
+ """True when an update can't take effect until the process restarts.
+
+ media.py imports the scrapers lazily, inside the download call, so before
+ the first download an update goes live immediately. Once the old module
+ object is in sys.modules, every later import returns it from cache and only
+ a restart clears that.
+ """
+ return SCRAPERS[dist] in sys.modules
+
+
+# ---- fetching a newer copy --------------------------------------------------
+
+
+def _pypi_wheel(dist: str) -> tuple[str, str, str]:
+ """(version, url, sha256) of the current pure-Python wheel on PyPI."""
+ response = httpx.get(PYPI_JSON.format(dist=dist), timeout=30, follow_redirects=True)
+ response.raise_for_status()
+ payload = response.json()
+ version = payload["info"]["version"]
+ for url in payload["urls"]:
+ if url["packagetype"] == "bdist_wheel" and url["filename"].endswith("-py3-none-any.whl"):
+ return version, url["url"], url["digests"]["sha256"]
+ raise RuntimeError(f"{dist} {version} has no pure-Python wheel on PyPI")
+
+
+def latest_version(dist: str) -> str:
+ return _pypi_wheel(dist)[0]
+
+
+def _safe_members(archive: zipfile.ZipFile) -> list[str]:
+ """Wheel entries that are safe to extract, rejecting path traversal.
+
+ PyPI is a trusted-ish source and we've already checked the hash, but this
+ unpacks an archive into the user's home directory — cheap to verify, and
+ the one place where a hostile wheel would get to write outside the tree.
+ """
+ names = []
+ for name in archive.namelist():
+ path = Path(name)
+ if path.is_absolute() or ".." in path.parts or name.startswith(("/", "\\")):
+ raise RuntimeError(f"refusing wheel with unsafe entry: {name}")
+ names.append(name)
+ return names
+
+
+def _download_wheel(url: str, expected_sha256: str) -> bytes:
+ with httpx.stream("GET", url, timeout=DOWNLOAD_TIMEOUT, follow_redirects=True) as response:
+ response.raise_for_status()
+ buffer = BytesIO()
+ for chunk in response.iter_bytes():
+ buffer.write(chunk)
+ if buffer.tell() > WHEEL_MAX_BYTES:
+ raise RuntimeError("scraper wheel is implausibly large — refusing")
+ data = buffer.getvalue()
+ digest = hashlib.sha256(data).hexdigest()
+ if digest != expected_sha256:
+ # PyPI told us what this file should hash to; a mismatch means the bytes
+ # we got aren't the release we asked for. Never unpack those.
+ raise RuntimeError("downloaded wheel does not match the hash PyPI published")
+ return data
+
+
+def update(dist: str) -> dict[str, Any]:
+ """Fetch the latest wheel for one scraper into the workspace.
+
+ Returns the same shape as ``status()`` entries, plus what changed. Extracts
+ into a staging directory and swaps it in whole, so an interrupted update
+ leaves the previous copy intact rather than a half-written package.
+ """
+ if dist not in SCRAPERS:
+ raise KeyError(dist)
+ module = SCRAPERS[dist]
+ before, _ = active_version(dist)
+ version, url, sha256 = _pypi_wheel(dist)
+
+ with _lock:
+ if version == runtime_version(dist):
+ return {
+ "dist": dist,
+ "updated": False,
+ "version": version,
+ "previous": before,
+ "restart_required": False,
+ "detail": f"{dist} is already at {version}",
+ }
+
+ data = _download_wheel(url, sha256)
+ root = config.runtime_dir()
+ root.mkdir(parents=True, exist_ok=True)
+ staging = Path(tempfile.mkdtemp(dir=root, prefix=f".staging-{dist}-"))
+ try:
+ with zipfile.ZipFile(BytesIO(data)) as archive:
+ archive.extractall(staging, members=_safe_members(archive))
+ if not (staging / module).is_dir():
+ raise RuntimeError(f"{dist} wheel did not contain a {module}/ package")
+ _swap_in(staging, dist_dir(dist))
+ except BaseException:
+ shutil.rmtree(staging, ignore_errors=True)
+ raise
+
+ restart = needs_restart(dist)
+ activate() # live immediately if the old module was never imported
+ return {
+ "dist": dist,
+ "updated": True,
+ "version": version,
+ "previous": before,
+ "restart_required": restart,
+ "detail": (
+ f"updated to {version} — restart Azimut to use it"
+ if restart
+ else f"updated to {version}"
+ ),
+ }
+
+
+def reset(dist: str) -> dict[str, Any]:
+ """Drop the workspace copy and fall back to the bundled scraper.
+
+ The escape hatch for the case this whole module creates: a bad upstream
+ release. Without it, a broken update would be unfixable from inside the app.
+ """
+ if dist not in SCRAPERS:
+ raise KeyError(dist)
+ had = runtime_version(dist)
+ with _lock:
+ _discard(dist_dir(dist))
+ activate()
+ return {
+ "dist": dist,
+ "removed": had is not None,
+ "restart_required": had is not None and needs_restart(dist),
+ "version": bundled_version(dist),
+ }
+
+
+def status(check_pypi: bool = False) -> list[dict[str, Any]]:
+ """What each scraper is at, where it came from, and optionally what's newer.
+
+ ``check_pypi`` is opt-in because it's the only part that touches the network,
+ and Azimut is local-first: opening Settings must not phone out on its own.
+ """
+ out = []
+ for dist in SCRAPERS:
+ version, source = active_version(dist)
+ entry: dict[str, Any] = {
+ "dist": dist,
+ "version": version,
+ "source": source,
+ "bundled_version": bundled_version(dist),
+ "restart_required": False,
+ }
+ if check_pypi:
+ try:
+ latest = latest_version(dist)
+ entry["latest"] = latest
+ entry["outdated"] = bool(version and latest != version)
+ except Exception as exc:
+ # Offline is the normal case for this app, not an error state.
+ entry["latest"] = None
+ entry["check_error"] = str(exc)
+ out.append(entry)
+ return out
diff --git a/src/azimut/engine/stitch.py b/src/azimut/engine/stitch.py
new file mode 100644
index 0000000..1ba09c5
--- /dev/null
+++ b/src/azimut/engine/stitch.py
@@ -0,0 +1,295 @@
+"""Auto-stitch: solve a collage layout from overlapping imagery (spec § v2 Panorama).
+
+The hand-made collage lets an analyst drag and warp pieces into a panorama by eye
+(``engine/inspect.compose_perspective``). This module does the same job by machine
+— *but it deliberately stops at the layout*. It returns each piece's quad rather
+than a flattened panorama, so the result drops straight back onto the collage
+canvas as ordinary pieces: still draggable, still warpable, still exported by the
+same compositor. Machine stitch first, hand-tune after.
+
+The pipeline is the classic one:
+
+1. Detect + describe features per image, match every pair (Lowe ratio test).
+2. ``findHomography(..., RANSAC)`` per pair that matches well enough — the edges
+ of a match graph, weighted by inlier count.
+3. Chain homographies from the best-connected image (the anchor) outward, so
+ every reachable image lands in the anchor's plane. Unreachable images are
+ *dropped*, never guessed at: the caller hand-places them.
+4. Project each image's corners through its homography → a quad; fit the whole
+ constellation into the canvas.
+
+Only step 1-3 need OpenCV; the fitting math is pure so it stays testable and
+honest about coordinates.
+"""
+
+from __future__ import annotations
+
+from collections import deque
+from typing import Any
+
+from PIL import Image
+
+# A pair needs this many RANSAC inliers before we believe the homography. Four
+# points *define* one, so anything near that fits noise perfectly and means
+# nothing — insist on real agreement instead. Measured on unrelated imagery,
+# RANSAC bottoms out around 8 inliers at a ~0.27 inlier ratio, while genuine
+# overlap sits far above both (160+ inliers, ~0.9); these thresholds run down the
+# middle of that gap. A false stitch is worse than no stitch: it silently invents
+# geometry the analyst may then reason about.
+MIN_INLIERS = 20
+MIN_INLIER_RATIO = 0.5
+
+# Features are detected on a downscaled copy (speed), then keypoints are scaled
+# back so every homography stays in full-resolution image coordinates.
+WORK_DIM = 1000
+
+_RATIO = 0.75 # Lowe ratio test
+_RANSAC_PX = 4.0
+
+Quad = list[list[float]]
+
+
+def _cv2():
+ """Import OpenCV lazily so the rest of Inspect works without it installed."""
+ try:
+ import cv2
+ except ImportError as exc: # pragma: no cover - packaging guarantees it
+ raise RuntimeError(
+ "auto-stitch needs OpenCV (opencv-python-headless), which is missing"
+ ) from exc
+ return cv2
+
+
+def available() -> bool:
+ """Whether auto-stitch can run at all (OpenCV importable)."""
+ try:
+ _cv2()
+ except RuntimeError:
+ return False
+ return True
+
+
+def _detector(cv2) -> tuple[Any, int]:
+ """SIFT when present (better matches), ORB as the fallback build."""
+ if hasattr(cv2, "SIFT_create"):
+ return cv2.SIFT_create(nfeatures=2000), cv2.NORM_L2
+ return cv2.ORB_create(nfeatures=2000), cv2.NORM_HAMMING
+
+
+def _features(cv2, det, img: Image.Image):
+ """Keypoints (in full-res coordinates) + descriptors, or ``(None, None)``."""
+ import numpy as np
+
+ gray = img.convert("L")
+ scale = 1.0
+ if max(gray.size) > WORK_DIM:
+ scale = WORK_DIM / max(gray.size)
+ gray = gray.resize(
+ (max(1, round(gray.width * scale)), max(1, round(gray.height * scale))),
+ Image.BILINEAR,
+ )
+ kp, desc = det.detectAndCompute(np.asarray(gray), None)
+ if desc is None or len(kp) < 4:
+ return None, None
+ return np.float32([k.pt for k in kp]) / scale, desc
+
+
+def _pair_homography(cv2, matcher, feat_a, feat_b) -> tuple[Any, int]:
+ """Homography mapping image *b* into image *a*'s plane, + its inlier count."""
+ import numpy as np
+
+ pts_a, desc_a = feat_a
+ pts_b, desc_b = feat_b
+ if desc_a is None or desc_b is None:
+ return None, 0
+ try:
+ knn = matcher.knnMatch(desc_b, desc_a, k=2)
+ except Exception: # OpenCV throws on degenerate descriptor sets
+ return None, 0
+ good = [m for pair in knn if len(pair) == 2 for m, n in [pair] if m.distance < _RATIO * n.distance]
+ if len(good) < MIN_INLIERS:
+ return None, 0
+ src = np.float32([pts_b[m.queryIdx] for m in good]).reshape(-1, 1, 2)
+ dst = np.float32([pts_a[m.trainIdx] for m in good]).reshape(-1, 1, 2)
+ H, mask = cv2.findHomography(src, dst, cv2.RANSAC, _RANSAC_PX)
+ if H is None or mask is None:
+ return None, 0
+ inliers = int(mask.sum())
+ if inliers < MIN_INLIERS or inliers / len(good) < MIN_INLIER_RATIO:
+ return None, 0
+ return H, inliers
+
+
+def _anchor_and_chain(edges: dict[tuple[int, int], Any], weights: dict[tuple[int, int], int], count: int):
+ """Pick the best-connected image, then chain homographies outward from it.
+
+ Returns ``(anchor, {index: H_to_anchor})``. Images with no path to the anchor
+ are simply absent from the mapping — the caller reports them as dropped.
+ """
+ import numpy as np
+
+ adjacency: dict[int, list[int]] = {i: [] for i in range(count)}
+ for (i, j) in edges:
+ adjacency[i].append(j)
+ adjacency[j].append(i)
+
+ # Score by total inlier weight: the image the others agree with most is the
+ # most trustworthy plane to express everyone else in.
+ score = {i: 0 for i in range(count)}
+ for (i, j), w in weights.items():
+ score[i] += w
+ score[j] += w
+
+ def component(root: int) -> set[int]:
+ seen = {root}
+ queue = deque([root])
+ while queue:
+ cur = queue.popleft()
+ for nxt in adjacency[cur]:
+ if nxt not in seen:
+ seen.add(nxt)
+ queue.append(nxt)
+ return seen
+
+ # Largest connected component first, best-connected node within it.
+ best_component: set[int] = set()
+ for i in range(count):
+ comp = component(i)
+ if len(comp) > len(best_component):
+ best_component = comp
+ if len(best_component) == count:
+ break
+ if not best_component:
+ return 0, {}
+ anchor = max(best_component, key=lambda i: score[i])
+
+ chained: dict[int, Any] = {anchor: np.eye(3, dtype=np.float64)}
+ queue = deque([anchor])
+ while queue:
+ cur = queue.popleft()
+ for nxt in adjacency[cur]:
+ if nxt in chained:
+ continue
+ # edges[(a, b)] maps b into a's plane; invert when we walk the other way.
+ if (cur, nxt) in edges:
+ step = edges[(cur, nxt)]
+ else:
+ step = np.linalg.inv(edges[(nxt, cur)])
+ chained[nxt] = chained[cur] @ step
+ queue.append(nxt)
+ return anchor, chained
+
+
+def _project_corners(cv2, H, size: tuple[int, int]) -> Quad:
+ """The image's four corners (TL, TR, BR, BL) pushed through ``H``."""
+ import numpy as np
+
+ w, h = size
+ corners = np.float32([[0, 0], [w, 0], [w, h], [0, h]]).reshape(-1, 1, 2)
+ out = cv2.perspectiveTransform(corners, H.astype(np.float64))
+ return [[float(x), float(y)] for x, y in out.reshape(-1, 2)]
+
+
+def quad_ok(quad: Quad) -> bool:
+ """Reject degenerate projections: non-finite, collapsed, or folded quads.
+
+ A homography chained through a bad match can send corners to infinity or turn
+ the quad inside out. Such a piece is worse than useless on the canvas, so it
+ is dropped rather than rendered.
+ """
+ import math
+
+ if any(not math.isfinite(v) for pt in quad for v in pt):
+ return False
+ # Convexity: every consecutive cross product must share a sign. A fold or a
+ # collapse breaks it, and a zero-area quad has no consistent sign at all.
+ signs = []
+ for i in range(4):
+ ax, ay = quad[i]
+ bx, by = quad[(i + 1) % 4]
+ cx, cy = quad[(i + 2) % 4]
+ cross = (bx - ax) * (cy - by) - (by - ay) * (cx - bx)
+ signs.append(cross)
+ if any(abs(s) < 1e-6 for s in signs):
+ return False
+ return all(s > 0 for s in signs) or all(s < 0 for s in signs)
+
+
+def fit_quads_to_canvas(
+ quads: list[Quad], width: int, height: int, *, margin: float = 0.02
+) -> list[Quad]:
+ """Translate + uniformly scale ``quads`` to sit inside ``width × height``.
+
+ Uniform (never per-axis) so the solved geometry keeps its proportions, and
+ centred, with a small margin so edge pieces stay grabbable.
+ """
+ if not quads:
+ return []
+ xs = [p[0] for q in quads for p in q]
+ ys = [p[1] for q in quads for p in q]
+ min_x, max_x = min(xs), max(xs)
+ min_y, max_y = min(ys), max(ys)
+ span_x = max(max_x - min_x, 1e-6)
+ span_y = max(max_y - min_y, 1e-6)
+ usable = 1.0 - 2.0 * margin
+ scale = min(width * usable / span_x, height * usable / span_y)
+ off_x = (width - span_x * scale) / 2.0 - min_x * scale
+ off_y = (height - span_y * scale) / 2.0 - min_y * scale
+ return [[[x * scale + off_x, y * scale + off_y] for x, y in q] for q in quads]
+
+
+def solve_layout(images: list[Image.Image], *, width: int, height: int) -> dict[str, Any]:
+ """Solve collage quads for ``images`` (canvas pixels), reporting what failed.
+
+ Returns ``{"quads": {index: quad}, "dropped": [index, ...], "anchor": index}``.
+ ``dropped`` holds images that matched nothing (or projected degenerately) —
+ they keep whatever the caller had; nothing is invented for them.
+ """
+ if len(images) < 2:
+ raise ValueError("auto-stitch needs at least two pieces")
+
+ cv2 = _cv2()
+ det, norm = _detector(cv2)
+ matcher = cv2.BFMatcher(norm)
+
+ feats = [_features(cv2, det, img) for img in images]
+
+ edges: dict[tuple[int, int], Any] = {}
+ weights: dict[tuple[int, int], int] = {}
+ for i in range(len(images)):
+ for j in range(i + 1, len(images)):
+ H, inliers = _pair_homography(cv2, matcher, feats[i], feats[j])
+ if H is not None:
+ edges[(i, j)] = H
+ weights[(i, j)] = inliers
+
+ if not edges:
+ raise RuntimeError(
+ "auto-stitch found no overlap between these pieces — do they show the same scene?"
+ )
+
+ anchor, chained = _anchor_and_chain(edges, weights, len(images))
+
+ solved: dict[int, Quad] = {}
+ dropped: list[int] = []
+ for idx, img in enumerate(images):
+ H = chained.get(idx)
+ if H is None:
+ dropped.append(idx)
+ continue
+ quad = _project_corners(cv2, H, img.size)
+ if not quad_ok(quad):
+ dropped.append(idx)
+ continue
+ solved[idx] = quad
+
+ if not solved:
+ raise RuntimeError("auto-stitch could not place any piece")
+
+ order = sorted(solved)
+ fitted = fit_quads_to_canvas([solved[i] for i in order], width, height)
+ return {
+ "quads": {i: q for i, q in zip(order, fitted)},
+ "dropped": sorted(dropped),
+ "anchor": anchor,
+ }
diff --git a/src/azimut/engine/tiles.py b/src/azimut/engine/tiles.py
index 769e80f..75206ae 100644
--- a/src/azimut/engine/tiles.py
+++ b/src/azimut/engine/tiles.py
@@ -92,6 +92,22 @@ BUILTIN_PROVIDERS: tuple[Provider, ...] = (
max_zoom=19,
imagery=False,
),
+ # Topographic base map: SRTM contour lines + hillshade, the Garmin-style
+ # look for reading relief. CC-BY-SA, key-less, free for any use provided
+ # the attribution below stays visible — the tile policy's only real limit
+ # is "no mass downloads", which a single-user workbench never approaches.
+ # Stops at z17: deeper zooms come back as a constant "max zoom layer = 17"
+ # placard (its hash is registered below, so a stray request reads as a
+ # coverage gap rather than being stitched into a proof). The live map caps
+ # its zoom here and fetch_crop clamps to it, so neither ever asks.
+ Provider(
+ id="opentopomap",
+ label="OpenTopoMap (topographic · contour lines)",
+ url="https://tile.opentopomap.org/{z}/{x}/{y}.png",
+ attribution="Map data: © OpenStreetMap contributors, SRTM | Map style: © OpenTopoMap (CC-BY-SA)",
+ max_zoom=17,
+ imagery=False,
+ ),
)
@@ -214,7 +230,12 @@ class TileFetchError(Exception):
# content hash turns those into missing tiles, so the overzoom fallback can
# fill them from the parent level instead of showing the gray placard.
PLACEHOLDER_TILE_SHA256 = frozenset(
- {"9eafd300d61393184a4abc1d458564cfd1cd9b6f9c4e9c74687045c0a0e5b858"} # Esri
+ {
+ "9eafd300d61393184a4abc1d458564cfd1cd9b6f9c4e9c74687045c0a0e5b858", # Esri
+ # OpenTopoMap's "max zoom layer = 17" placard, served for any z >= 18
+ # (byte-identical everywhere, verified 2026-07)
+ "4b7e1df83d745a752fc357dc6e15f9783838fdbb29ee4189dbcf8ae1fc05874c",
+ }
)
# How many parent zoom levels the overzoom fallback may climb. Three levels
# means an 8× upscale at worst — soft, but it keeps the map usable where a
diff --git a/src/azimut/server.py b/src/azimut/server.py
index e8a355d..4842ab7 100644
--- a/src/azimut/server.py
+++ b/src/azimut/server.py
@@ -15,6 +15,11 @@ STATIC_DIR = Path(__file__).parent / "static"
def create_app() -> FastAPI:
config.ensure_workspace()
+ # Before any router can import a scraper: point yt-dlp/gallery-dl at the
+ # newer copies in the workspace, if the user has fetched any. No network.
+ from .engine import scrapers
+
+ scrapers.activate()
app = FastAPI(title="Azimut", version=__version__, docs_url="/api/docs")
diff --git a/src/azimut/workspace.py b/src/azimut/workspace.py
index b097751..e187473 100644
--- a/src/azimut/workspace.py
+++ b/src/azimut/workspace.py
@@ -274,13 +274,25 @@ class Case:
*,
by: str,
status: EntityStatus = "confirmed",
+ unique: bool = False,
) -> dict[str, Any]:
+ """Add a typed edge. ``unique`` returns the existing identical edge
+ instead of stacking a duplicate — what a producer wants when its output
+ can dedupe onto an entity that is already in the case."""
with self._lock:
data = self.read()
ids = {e["id"] for e in data["entities"]}
for eid in (from_id, to_id):
if eid not in ids:
raise CaseError(f"entity '{eid}' not found")
+ if unique:
+ for existing in data["links"]:
+ if (existing["from"], existing["to"], existing["type"]) == (
+ from_id,
+ to_id,
+ type_,
+ ):
+ return existing
link = {
"id": _new_id("l"),
"from": from_id,
@@ -292,6 +304,55 @@ class Case:
self._write_json(data)
return link
+ def sync_links(
+ self,
+ from_id: str,
+ type_: str,
+ to_ids: list[str],
+ *,
+ by: str,
+ status: EntityStatus = "confirmed",
+ ) -> list[dict[str, Any]]:
+ """Make ``from_id``'s outgoing links of ``type_`` exactly ``to_ids``.
+
+ Re-saving an artifact restates its sources rather than piling onto them:
+ edges that are still true are left untouched (same id, same timestamp),
+ edges that are no longer true are dropped, new ones are appended. Unknown
+ targets and a self-reference are ignored.
+ """
+ with self._lock:
+ data = self.read()
+ ids = {e["id"] for e in data["entities"]}
+ if from_id not in ids:
+ raise CaseError(f"entity '{from_id}' not found")
+ wanted = [
+ i for i in dict.fromkeys(to_ids) if i in ids and i != from_id
+ ]
+ mine = {
+ l["to"]: l
+ for l in data["links"]
+ if l["from"] == from_id and l["type"] == type_
+ }
+ keep = {mine[to_id]["id"] for to_id in wanted if to_id in mine}
+ data["links"] = [
+ l
+ for l in data["links"]
+ if l["from"] != from_id or l["type"] != type_ or l["id"] in keep
+ ]
+ for to_id in wanted:
+ if to_id not in mine:
+ data["links"].append(
+ {
+ "id": _new_id("l"),
+ "from": from_id,
+ "to": to_id,
+ "type": type_,
+ "provenance": {"by": by, "at": _now(), "status": status},
+ }
+ )
+ self._write_json(data)
+ return [l for l in data["links"] if l["from"] == from_id and l["type"] == type_]
+
def remove_link(self, link_id: str) -> None:
with self._lock:
data = self.read()
diff --git a/tests/conftest.py b/tests/conftest.py
index e023e8d..1ad61d8 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -5,6 +5,14 @@ import pytest
from fastapi.testclient import TestClient
+def tmp_workspace(monkeypatch):
+ """A throwaway workspace root — for engine tests that read/write settings."""
+ with tempfile.TemporaryDirectory() as home:
+ monkeypatch.setenv("AZIMUT_HOME", home)
+ yield home
+
+
@pytest.fixture()
def client(monkeypatch):
"""API client backed by a throwaway workspace root."""
diff --git a/tests/test_coords.py b/tests/test_coords.py
new file mode 100644
index 0000000..f55660f
--- /dev/null
+++ b/tests/test_coords.py
@@ -0,0 +1,82 @@
+"""Coordinate formatting: the server-side mirror of frontend/src/lib/coords.js.
+
+The two implementations must agree exactly — a capture title minted by the API
+has to read like the same point rendered in the browser. Both are checked
+against the same reference vectors (generated with the NGA GEOTRANS-derived
+`mgrs` library, not hand-computed).
+"""
+
+import pytest
+
+from azimut import config
+from azimut.engine import coords
+
+# lat, lon, expected MGRS — identical to the table in coords.test.js
+MGRS_VECTORS = [
+ (48.8583701, 2.2944813, "31U DQ 48250 11951"), # Eiffel Tower
+ (40.6892, -74.0445, "18T WL 80735 04695"), # Statue of Liberty
+ (38.8977, -77.0365, "18S UJ 23394 07395"), # White House
+ (-33.8568, 151.2153, "56H LH 34900 52288"), # Sydney Opera House
+ (64.1466, -21.9426, "27W VM 54138 13689"), # Reykjavík
+ (-54.8019, -68.303, "19F EV 44805 27029"), # Ushuaia
+ (1.3521, 103.8198, "48N UG 68700 49479"), # Singapore
+ (78.2232, 15.6469, "33X WG 14738 83360"), # Longyearbyen (Svalbard)
+ (0.0, 0.0, "31N AA 66021 00000"), # Null Island
+ (-33.9249, 18.4241, "34H BH 61881 43182"), # Cape Town
+ (60.5, 5.0, "32V KN 80356 13774"), # Bergen (Norway exception)
+ (59.9, 4.9, "32V KM 70719 47376"), # North Sea (Norway exception)
+ (72.5, 5.0, "31X EA 67115 45822"), # Svalbard exceptions
+ (75.0, 12.0, "33X VD 13362 25798"),
+ (78.0, 25.0, "35X MG 53588 59161"),
+ (80.0, 35.0, "37X DJ 22516 84250"),
+ (-79.9, 120.0, "51C VM 41292 28062"), # near the southern limit
+ (83.5, -40.0, "24X VT 87362 72385"), # near the northern limit
+]
+
+
[email protected]("lat,lon,expected", MGRS_VECTORS)
+def test_format_mgrs_matches_the_reference(lat, lon, expected):
+ assert coords.format_mgrs(lat, lon) == expected
+
+
+def test_format_mgrs_is_none_beyond_the_utm_limits():
+ assert coords.format_mgrs(85, 10) is None
+ assert coords.format_mgrs(-85, 10) is None
+
+
+def test_utm_zone_exceptions():
+ assert coords.utm_zone(48.8583701, 2.2944813) == 31
+ assert coords.utm_zone(59.9, 4.9) == 32 # plain formula would say 31
+ assert coords.utm_zone(75.0, 12.0) == 33 # Svalbard uses odd zones only
+
+
+def test_lat_band_skips_i_and_o():
+ assert coords.lat_band(48.86) == "U"
+ assert coords.lat_band(0) == "N"
+ assert coords.lat_band(83.5) == "X" # band X stretches to the 84°N limit
+ assert coords.lat_band(85) is None
+
+
+def test_format_dd_and_dms():
+ assert coords.format_dd(48.8583701, 2.2944813) == "48.858370, 2.294481"
+ assert coords.format_dms(48.8583701, 2.2944813) == "48°51'30.13\"N 2°17'40.13\"E"
+ assert coords.format_dms(-33.8568, -70.6693) == "33°51'24.48\"S 70°40'09.48\"W"
+ # a second that rounds up to 60 carries into the minute
+ assert coords.format_dms(1.01666664, 0) == "1°01'00.00\"N 0°00'00.00\"E"
+
+
+def test_format_coords_dispatches_and_falls_back():
+ assert coords.format_coords(48.8583701, 2.2944813, "dd") == "48.858370, 2.294481"
+ assert coords.format_coords(48.8583701, 2.2944813, "dms") == "48°51'30.13\"N 2°17'40.13\"E"
+ assert coords.format_coords(48.8583701, 2.2944813, "mgrs") == "31U DQ 48250 11951"
+ assert coords.format_coords(48.8583701, 2.2944813, "nonsense") == "48.858370, 2.294481"
+ # MGRS can't reach the poles — a label is never blank
+ assert coords.format_coords(85, 10, "mgrs") == "85.000000, 10.000000"
+
+
+def test_format_coords_follows_the_saved_preference(tmp_workspace):
+ assert coords.format_coords(48.8583701, 2.2944813) == "48.858370, 2.294481"
+ settings = config.load_settings()
+ settings["coord_format"] = "mgrs"
+ config.save_settings(settings)
+ assert coords.format_coords(48.8583701, 2.2944813) == "31U DQ 48250 11951"
diff --git a/tests/test_focus.py b/tests/test_focus.py
new file mode 100644
index 0000000..f0711ac
--- /dev/null
+++ b/tests/test_focus.py
@@ -0,0 +1,148 @@
+"""Sharpest-frame scan: the focus measure, the pick spreading, and the scan pass.
+
+The measure is the interesting part. A naive Laplacian variance scales with the
+scene's contrast as much as its focus, which is how a "sharpest frames" list ends
+up full of soft, high-contrast frames — these tests pin the contrast invariance
+that fixes it.
+"""
+
+import random
+import subprocess
+
+import pytest
+from PIL import Image, ImageDraw, ImageFilter
+
+from azimut.engine import inspect as ie
+from azimut.engine import media as media_engine
+
+
+def _textured(size=(320, 240), seed=5, contrast=1.0, bias=0) -> Image.Image:
+ """A detailed scene, optionally flattened in contrast (never in focus)."""
+ rng = random.Random(seed)
+ img = Image.new("RGB", size, (128, 128, 128))
+ draw = ImageDraw.Draw(img)
+ for _ in range(160):
+ x, y = rng.randrange(size[0]), rng.randrange(size[1])
+ r = rng.randrange(4, 22)
+ # Scale each blob's departure from mid-grey: contrast changes, detail doesn't.
+ base = [rng.randrange(0, 255) for _ in range(3)]
+ color = tuple(int(128 + (v - 128) * contrast + bias) for v in base)
+ draw.rectangle([x, y, x + r, y + r], fill=color)
+ return img
+
+
+# --- the focus measure -----------------------------------------------------
+
+
+def test_focus_score_drops_sharply_when_blurred():
+ sharp = _textured()
+ blurred = sharp.filter(ImageFilter.GaussianBlur(radius=3))
+ assert ie._sharpness(blurred) < ie._sharpness(sharp) / 4
+
+
+def test_focus_score_is_contrast_invariant():
+ # The same scene at full and at a quarter contrast: equally in focus, so the
+ # measure must not care. Raw Laplacian variance would fall ~16x here (it
+ # scales with contrast squared) — that bias is exactly the reported bug,
+ # where blurry-but-punchy frames outranked sharp flat ones.
+ punchy = ie._sharpness(_textured(contrast=1.0))
+ flat = ie._sharpness(_textured(contrast=0.25))
+ assert flat == pytest.approx(punchy, rel=0.25)
+
+
+def test_focus_score_prefers_a_sharp_flat_frame_over_a_blurry_punchy_one():
+ sharp_flat = _textured(contrast=0.3)
+ blurry_punchy = _textured(contrast=1.0).filter(ImageFilter.GaussianBlur(radius=3))
+ assert ie._sharpness(sharp_flat) > ie._sharpness(blurry_punchy)
+
+
+def test_focus_score_of_a_blank_frame_is_zero():
+ assert ie._sharpness(Image.new("RGB", (64, 64), (17, 17, 17))) == 0.0
+
+
+# --- scan plumbing ---------------------------------------------------------
+
+
+def test_scan_size_caps_the_long_edge_and_keeps_dimensions_even():
+ w, h = ie._scan_size(1920, 1080)
+ assert max(w, h) <= ie.SCAN_DIM
+ assert w % 2 == 0 and h % 2 == 0
+ assert w / h == pytest.approx(1920 / 1080, rel=0.02)
+
+
+def test_scan_size_never_upscales_a_small_video():
+ assert ie._scan_size(320, 240) == (320, 240)
+
+
+def test_spread_picks_takes_the_best_of_each_moment():
+ # A sharp burst around t=1 and a softer one around t=9: one pick each, and
+ # the burst must not eat both slots with near-identical neighbours.
+ scored = [
+ {"time": 0.9, "score": 0.8}, {"time": 1.0, "score": 0.9}, {"time": 1.1, "score": 0.85},
+ {"time": 9.0, "score": 0.5}, {"time": 9.1, "score": 0.4},
+ ]
+ picks = ie._spread_picks(scored, count=2, min_gap=1.0)
+ assert [p["time"] for p in picks] == [1.0, 9.0]
+
+
+def test_spread_picks_honours_the_count():
+ scored = [{"time": float(i), "score": 1.0 - i / 100} for i in range(30)]
+ assert len(ie._spread_picks(scored, count=5, min_gap=0.5)) == 5
+
+
+# --- end to end (needs ffmpeg) ---------------------------------------------
+
+
+needs_ffmpeg = pytest.mark.skipif(
+ not media_engine.ffmpeg_available(), reason="ffmpeg not available"
+)
+
+
+def _video_with_a_sharp_window(path, case_dir):
+ """A 4s clip: blurred throughout except a sharp burst at ~2s."""
+ frames_dir = case_dir / "src"
+ frames_dir.mkdir(parents=True, exist_ok=True)
+ scene = _textured(size=(320, 240))
+ soft = scene.filter(ImageFilter.GaussianBlur(radius=4))
+ for i in range(40): # 4s @ 10fps
+ (scene if 20 <= i <= 22 else soft).save(frames_dir / f"f{i:03d}.png")
+ subprocess.run(
+ ["ffmpeg", "-y", "-v", "error", "-framerate", "10",
+ "-i", str(frames_dir / "f%03d.png"), "-pix_fmt", "yuv420p", str(path)],
+ check=True, capture_output=True,
+ )
+
+
+@needs_ffmpeg
+def test_scan_focus_scores_every_frame_and_suggest_finds_the_sharp_window(tmp_workspace):
+ from azimut.workspace import Case
+
+ case = Case.create("Focus scan")
+ video = case.subdir("media") / "clip.mp4"
+ _video_with_a_sharp_window(video, case.path)
+ rel = "media/clip.mp4"
+
+ scored = ie.scan_focus(case, rel)
+ # Every frame, not a handful of bins — the whole point of the rewrite.
+ assert len(scored) >= 35
+ assert [s["time"] for s in scored] == sorted(s["time"] for s in scored)
+
+ picks = ie.suggest_frames(case, rel, count=3)
+ assert picks[0]["rank"] == 0
+ # The sharp burst sits at 2.0-2.2s; the best pick must land there rather than
+ # wherever a fixed bin centre happened to fall.
+ assert picks[0]["time"] == pytest.approx(2.1, abs=0.35)
+ assert picks[0]["score"] > 2 * picks[-1]["score"]
+
+
+@needs_ffmpeg
+def test_suggest_frames_reports_progress(tmp_workspace):
+ from azimut.workspace import Case
+
+ case = Case.create("Focus progress")
+ video = case.subdir("media") / "clip.mp4"
+ _video_with_a_sharp_window(video, case.path)
+
+ seen = []
+ ie.suggest_frames(case, "media/clip.mp4", count=2, set_progress=lambda d: seen.append(d))
+ assert seen and seen[-1]["percent"] == 100.0
diff --git a/tests/test_inspect_api.py b/tests/test_inspect_api.py
index f21bb58..8f2f898 100644
--- a/tests/test_inspect_api.py
+++ b/tests/test_inspect_api.py
@@ -278,6 +278,97 @@ def test_compose_node_crop_is_applied_before_warp(client):
assert r > 200 and g > 200 and b > 200
+def _overlapping_pair(seed=13):
+ """Two crops of one textured scene, sharing 200px — a stitchable pair."""
+ import random
+
+ from PIL import ImageDraw
+
+ rng = random.Random(seed)
+ scene = Image.new("RGB", (900, 500), (18, 20, 28))
+ draw = ImageDraw.Draw(scene)
+ for _ in range(220):
+ x, y, r = rng.randrange(900), rng.randrange(500), rng.randrange(6, 34)
+ color = (rng.randrange(40, 255), rng.randrange(40, 255), rng.randrange(40, 255))
+ draw.ellipse([x, y, x + r, y + r], fill=color)
+ out = []
+ for box in [(0, 0, 500, 500), (300, 0, 800, 500)]:
+ buf = io.BytesIO()
+ scene.crop(box).save(buf, "PNG")
+ out.append(buf.getvalue())
+ return out
+
+
+def test_auto_stitch_solves_quads_without_filing_anything(client):
+ cid = client.post("/api/cases", json={"name": "Stitch"}).json()["id"]
+ left_png, right_png = _overlapping_pair()
+ a = _upload(client, cid, "left.png", left_png)
+ b = _upload(client, cid, "right.png", right_png)
+ before = len(client.get(f"/api/cases/{cid}/media").json())
+
+ res = client.post(
+ f"/api/cases/{cid}/inspect/auto-stitch",
+ json={
+ "width": 1200, "height": 600,
+ "nodes": [{"path": a["path"]}, {"path": b["path"]}],
+ },
+ )
+ assert res.status_code == 200
+ body = res.json()
+ assert body["dropped"] == []
+ assert [n["index"] for n in body["nodes"]] == [0, 1]
+ for node in body["nodes"]:
+ assert len(node["quad"]) == 4
+ for x, y in node["quad"]:
+ assert -1 <= x <= 1201 and -1 <= y <= 601
+ # Layout only: auto-stitch is not a Save gate, so no media may appear.
+ assert len(client.get(f"/api/cases/{cid}/media").json()) == before
+
+
+def test_auto_stitch_reports_a_piece_it_cannot_place(client):
+ cid = client.post("/api/cases", json={"name": "StitchDrop"}).json()["id"]
+ left_png, right_png = _overlapping_pair()
+ a = _upload(client, cid, "left.png", left_png)
+ b = _upload(client, cid, "right.png", right_png)
+ stranger, _ = _overlapping_pair(seed=777)
+ c = _upload(client, cid, "stranger.png", stranger)
+
+ body = client.post(
+ f"/api/cases/{cid}/inspect/auto-stitch",
+ json={
+ "width": 1200, "height": 600,
+ "nodes": [{"path": a["path"]}, {"path": b["path"]}, {"path": c["path"]}],
+ },
+ ).json()
+ assert body["dropped"] == [2]
+ assert [n["index"] for n in body["nodes"]] == [0, 1]
+
+
+def test_auto_stitch_rejects_unrelated_imagery(client):
+ cid = client.post("/api/cases", json={"name": "StitchNone"}).json()["id"]
+ a = _upload(client, cid, "a.png", _overlapping_pair(seed=1)[0])
+ b = _upload(client, cid, "b.png", _overlapping_pair(seed=2)[1])
+
+ res = client.post(
+ f"/api/cases/{cid}/inspect/auto-stitch",
+ json={"width": 800, "height": 600, "nodes": [{"path": a["path"]}, {"path": b["path"]}]},
+ )
+ # A wrong stitch invents geometry the analyst may then reason about — better
+ # to refuse outright than to place pieces on a coincidence.
+ assert res.status_code == 422
+ assert "no overlap" in res.json()["detail"]
+
+
+def test_auto_stitch_needs_two_pieces(client):
+ cid = client.post("/api/cases", json={"name": "StitchOne"}).json()["id"]
+ a = _upload(client, cid, "a.png")
+ res = client.post(
+ f"/api/cases/{cid}/inspect/auto-stitch",
+ json={"width": 800, "height": 600, "nodes": [{"path": a["path"]}]},
+ )
+ assert res.status_code == 422
+
+
def test_compose_requires_nodes(client):
cid = client.post("/api/cases", json={"name": "NoNodes"}).json()["id"]
res = client.post(
@@ -443,6 +534,43 @@ def test_session_save_list_load_delete_roundtrip(client):
assert not any(e["type"] == "inspect-session" for e in entities)
+def test_session_listing_counts_pieces_across_collages(client):
+ # The app saves an array of `collages`; the listing used to count only the
+ # legacy singular `collage`, so every real session advertised "0 pieces".
+ cid = client.post("/api/cases", json={"name": "Counting"}).json()["id"]
+ item = _upload(client, cid, "clip.png")
+ node = {"id": "n1", "frameId": "fr1", "save": {"path": item["path"]},
+ "quad": [[0, 0], [10, 0], [10, 10], [0, 10]]}
+ spec = {
+ "source": {"path": item["path"], "kind": "image"},
+ "frames": [{"id": "fr1", "path": item["path"], "time": None, "adjust": {}}],
+ "collages": [
+ {"id": "cl1", "name": "A", "width": 800, "height": 400, "nodes": [node, node]},
+ {"id": "cl2", "name": "B", "width": 800, "height": 400, "nodes": [node]},
+ ],
+ }
+ client.post(f"/api/cases/{cid}/inspect/sessions", json={"title": "Multi", "spec": spec})
+
+ row = client.get(f"/api/cases/{cid}/inspect/sessions").json()[0]
+ assert row["collages"] == 2
+ assert row["collage"] == 3 # pieces, summed across every collage
+
+
+def test_session_listing_still_counts_a_legacy_single_collage(client):
+ cid = client.post("/api/cases", json={"name": "Legacy"}).json()["id"]
+ item = _upload(client, cid, "clip.png")
+ node = {"id": "n1", "quad": [[0, 0], [10, 0], [10, 10], [0, 10]]}
+ spec = {
+ "source": {"path": item["path"], "kind": "image"},
+ "frames": [],
+ "collage": {"width": 800, "height": 400, "nodes": [node, node]},
+ }
+ client.post(f"/api/cases/{cid}/inspect/sessions", json={"title": "Old", "spec": spec})
+
+ row = client.get(f"/api/cases/{cid}/inspect/sessions").json()[0]
+ assert row["collages"] == 1 and row["collage"] == 2
+
+
def test_session_delete_via_sidebar_entity_removes_spec(client):
# Deleting the inspect-session row from the sidebar (the generic entity
# delete) must also drop the spec file, or the session keeps showing up in
diff --git a/tests/test_links_api.py b/tests/test_links_api.py
new file mode 100644
index 0000000..fbaa599
--- /dev/null
+++ b/tests/test_links_api.py
@@ -0,0 +1,450 @@
+"""The derivation link layer (ONTOLOGY §3): emission at save time, and the
+dependency-aware delete that reads off it.
+
+The rules under test, in one sentence: a tool's save states what its output was
+made from, and deleting an entity takes down only what is nothing without it —
+never an artifact that stands on its own.
+"""
+
+import base64
+import io
+
+from PIL import Image
+
+
+def _png_bytes(color=(200, 30, 30), size=(64, 48)) -> bytes:
+ buf = io.BytesIO()
+ Image.new("RGB", size, color).save(buf, "PNG")
+ return buf.getvalue()
+
+
+def _png_b64() -> str:
+ return base64.b64encode(_png_bytes((10, 10, 10))).decode()
+
+
+def _upload(client, cid, name, data=None):
+ return client.post(
+ f"/api/cases/{cid}/media/upload",
+ files={"file": (name, io.BytesIO(data or _png_bytes()), "image/png")},
+ ).json()
+
+
+def _case(client, cid):
+ return client.get(f"/api/cases/{cid}").json()
+
+
+def _entity(client, cid, **attrs):
+ """The entity whose attrs match, e.g. _entity(client, cid, path='media/a.png')."""
+ for e in _case(client, cid)["entities"]:
+ if all(e["attrs"].get(k) == v for k, v in attrs.items()):
+ return e
+ return None
+
+
+def _links(client, cid, type_=None):
+ links = _case(client, cid)["links"]
+ return [l for l in links if type_ is None or l["type"] == type_]
+
+
+def _new_case(client, name):
+ return client.post("/api/cases", json={"name": name}).json()["id"]
+
+
+def _save_proof(client, cid, title, srcs, name=None):
+ spec = {"panels": [{"id": f"p{i}", "src": s} for i, s in enumerate(srcs)]}
+ body = {"title": title, "spec": spec, "png_base64": _png_b64()}
+ if name:
+ body["name"] = name
+ return client.post(f"/api/cases/{cid}/proofs", json=body).json()
+
+
+def _save_session(client, cid, title, source_path, name=None):
+ body = {"title": title, "spec": {"source": {"path": source_path, "kind": "image"}}}
+ if name:
+ body["name"] = name
+ return client.post(f"/api/cases/{cid}/inspect/sessions", json=body).json()
+
+
+# ── emission at save time ───────────────────────────────────────────────────
+
+
+def test_proof_save_links_to_its_panels(client):
+ cid = _new_case(client, "Proof links")
+ a = _upload(client, cid, "a.png", _png_bytes((1, 2, 3)))["item"]["path"]
+ b = _upload(client, cid, "b.png", _png_bytes((4, 5, 6)))["item"]["path"]
+
+ _save_proof(client, cid, "Strike proof", [a, b])
+
+ proof = _entity(client, cid, spec="proofs/strike-proof.json")
+ targets = {l["to"] for l in _links(client, cid, "derived-from") if l["from"] == proof["id"]}
+ assert targets == {_entity(client, cid, path=a)["id"], _entity(client, cid, path=b)["id"]}
+
+
+def test_link_provenance_is_confirmed_and_names_its_tool(client):
+ # A derivation is a mechanical fact of the analyst's own click, not a tool's
+ # guess — so it is confirmed, not suggested (ONTOLOGY §4).
+ cid = _new_case(client, "Provenance")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_proof(client, cid, "P", [a])
+
+ link = _links(client, cid, "derived-from")[0]
+ assert link["provenance"]["status"] == "confirmed"
+ assert link["provenance"]["by"] == "proof-composer"
+ assert link["provenance"]["at"].endswith("Z")
+
+
+def test_resaving_a_proof_reconciles_rather_than_stacks(client):
+ cid = _new_case(client, "Reconcile")
+ a = _upload(client, cid, "a.png", _png_bytes((1, 2, 3)))["item"]["path"]
+ b = _upload(client, cid, "b.png", _png_bytes((4, 5, 6)))["item"]["path"]
+
+ _save_proof(client, cid, "P", [a, b], name="p")
+ _save_proof(client, cid, "P", [a, b], name="p") # same panels, saved twice
+ assert len(_links(client, cid, "derived-from")) == 2
+
+ _save_proof(client, cid, "P", [a], name="p") # panel b dropped from the proof
+ links = _links(client, cid, "derived-from")
+ assert len(links) == 1
+ assert links[0]["to"] == _entity(client, cid, path=a)["id"]
+
+
+def test_resaving_keeps_the_untouched_edge_identical(client):
+ # Reconciliation must not churn: an edge that is still true keeps its id and
+ # its timestamp, so case.json stays a readable diff.
+ cid = _new_case(client, "Stable")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_proof(client, cid, "P", [a], name="p")
+ before = _links(client, cid, "derived-from")[0]
+ _save_proof(client, cid, "P", [a], name="p")
+ assert _links(client, cid, "derived-from")[0] == before
+
+
+def test_post_save_links_to_its_proof_and_media(client):
+ cid = _new_case(client, "Post links")
+ a = _upload(client, cid, "a.png", _png_bytes((7, 8, 9)))["item"]["path"]
+ _save_proof(client, cid, "P", [a], name="p")
+
+ client.post(
+ f"/api/cases/{cid}/drafts",
+ json={"title": "Thread", "state": {"proofPng": "proofs/p.png", "mediaPath": a}},
+ )
+
+ post = _entity(client, cid, draft="exports/thread.json")
+ targets = {l["to"] for l in _links(client, cid, "derived-from") if l["from"] == post["id"]}
+ assert targets == {
+ _entity(client, cid, spec="proofs/p.json")["id"],
+ _entity(client, cid, path=a)["id"],
+ }
+
+
+def test_session_save_depends_on_its_subject(client):
+ cid = _new_case(client, "Session links")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+
+ _save_session(client, cid, "Look at a", a)
+
+ session = _entity(client, cid, spec="inspect/look-at-a.json")
+ depends = _links(client, cid, "depends-on")
+ assert len(depends) == 1
+ assert depends[0]["from"] == session["id"]
+ assert depends[0]["to"] == _entity(client, cid, path=a)["id"]
+
+
+def test_a_derived_media_links_to_its_sources(client):
+ # Frames, collages and enhanced videos are all filed through one registration
+ # point, so the chain is wired once for every tool that makes imagery — the
+ # collage stands in for them all here (Pillow only, no ffmpeg needed).
+ cid = _new_case(client, "Derived")
+ a = _upload(client, cid, "a.png", _png_bytes((1, 2, 3)))["item"]["path"]
+ b = _upload(client, cid, "b.png", _png_bytes((4, 5, 6)))["item"]["path"]
+
+ res = client.post(
+ f"/api/cases/{cid}/inspect/collage", json={"paths": [a, b], "columns": 2}
+ ).json()
+
+ collage = _entity(client, cid, path=res["item"]["path"])
+ targets = {l["to"] for l in _links(client, cid, "derived-from") if l["from"] == collage["id"]}
+ assert targets == {_entity(client, cid, path=a)["id"], _entity(client, cid, path=b)["id"]}
+ assert all(
+ l["provenance"]["by"] == "inspect"
+ for l in _links(client, cid, "derived-from")
+ if l["from"] == collage["id"]
+ )
+
+
+def test_a_deduped_derivative_still_gets_its_chain_once(client):
+ # Re-composing the identical collage yields identical bytes: the file dedupes
+ # onto the entity already in the case. The derivation is still true, and must
+ # be recorded exactly once rather than stacked on every re-run.
+ cid = _new_case(client, "Dedupe")
+ a = _upload(client, cid, "a.png", _png_bytes((1, 2, 3)))["item"]["path"]
+ b = _upload(client, cid, "b.png", _png_bytes((4, 5, 6)))["item"]["path"]
+ body = {"paths": [a, b], "columns": 2}
+
+ first = client.post(f"/api/cases/{cid}/inspect/collage", json=body).json()
+ second = client.post(f"/api/cases/{cid}/inspect/collage", json=body).json()
+
+ assert second["duplicate"] is True
+ assert second["entity"]["id"] == first["entity"]["id"]
+ collage_id = first["entity"]["id"]
+ assert len([l for l in _links(client, cid, "derived-from") if l["from"] == collage_id]) == 2
+
+
+def test_upload_and_download_emit_no_links(client):
+ # An import's origin is a disk file or a URL — provenance carries it, and
+ # there is nothing inside the case to point at.
+ cid = _new_case(client, "No links")
+ _upload(client, cid, "a.png")
+ assert _links(client, cid) == []
+
+
+def test_a_source_deleted_before_the_save_leaves_a_tombstone(client):
+ # The tool was open when the panel's media was deleted elsewhere: the path
+ # resolves to nothing, so there is no edge to draw — but the fact that the
+ # proof was built on it must not vanish in silence.
+ cid = _new_case(client, "Late save")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ client.delete(f"/api/cases/{cid}/media?path={a}")
+
+ _save_proof(client, cid, "P", [a], name="p")
+
+ proof = _entity(client, cid, spec="proofs/p.json")
+ assert _links(client, cid) == []
+ assert proof["attrs"]["lost_sources"] == [
+ {"path": a, "at": proof["attrs"]["lost_sources"][0]["at"]}
+ ]
+
+
+# ── delete: what goes, what stays ──────────────────────────────────────────
+
+
+def test_deleting_a_subject_deletes_its_session_but_spares_its_outputs(client):
+ cid = _new_case(client, "Cascade")
+ a = _upload(client, cid, "a.png", _png_bytes((1, 1, 1)))["item"]["path"]
+ _save_session(client, cid, "S", a, name="s")
+ _save_proof(client, cid, "P", [a], name="p")
+
+ subject = _entity(client, cid, path=a)
+ res = client.delete(f"/api/cases/{cid}/entities/{subject['id']}").json()
+
+ assert res["status"] == "deleted"
+ # the session is nothing without its subject: it goes, file and all
+ assert _entity(client, cid, spec="inspect/s.json") is None
+ assert client.get(f"/api/cases/{cid}/inspect/sessions/s").status_code == 404
+ # the proof stands on its own: it stays, and its export is untouched
+ proof = _entity(client, cid, spec="proofs/p.json")
+ assert proof is not None
+ assert client.get(f"/files/{cid}/proofs/p.png").status_code == 200
+
+
+def test_a_survivor_keeps_a_tombstone_of_what_it_lost(client):
+ cid = _new_case(client, "Tombstone")
+ a = _upload(client, cid, "strike.png")["item"]["path"]
+ _save_proof(client, cid, "P", [a], name="p")
+ subject = _entity(client, cid, path=a)
+ sha = subject["attrs"]["sha256"]
+
+ client.delete(f"/api/cases/{cid}/entities/{subject['id']}")
+
+ lost = _entity(client, cid, spec="proofs/p.json")["attrs"]["lost_sources"]
+ assert len(lost) == 1
+ # sha256 + path are what make the loss auditable six months later
+ assert lost[0]["sha256"] == sha
+ assert lost[0]["path"] == a
+ assert lost[0]["label"] == "strike.png"
+ assert lost[0]["at"].endswith("Z")
+
+
+def test_a_survivor_is_only_scarred_by_what_it_derived_from(client):
+ # Deleting the media takes the session down with it. The proof derives from
+ # the media, not from the session — it must not inherit a scar for something
+ # that merely died in the same breath.
+ cid = _new_case(client, "Only mine")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_session(client, cid, "S", a, name="s")
+ _save_proof(client, cid, "P", [a], name="p")
+
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, path=a)['id']}")
+
+ lost = _entity(client, cid, spec="proofs/p.json")["attrs"]["lost_sources"]
+ assert [t["path"] for t in lost] == [a]
+
+
+def test_tombstones_never_stack_on_a_second_delete(client):
+ cid = _new_case(client, "Once")
+ a = _upload(client, cid, "a.png", _png_bytes((2, 2, 2)))["item"]["path"]
+ b = _upload(client, cid, "b.png", _png_bytes((3, 3, 3)))["item"]["path"]
+ _save_proof(client, cid, "P", [a, b], name="p")
+
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, path=a)['id']}")
+ _save_proof(client, cid, "P", [a, b], name="p") # re-save still names the dead path
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, path=b)['id']}")
+
+ lost = _entity(client, cid, spec="proofs/p.json")["attrs"]["lost_sources"]
+ assert sorted(t["path"] for t in lost) == [a, b]
+
+
+def test_deleting_a_proof_spares_the_post_that_announces_it(client):
+ # A post carries the coordinates and the source in its own text: it outlives
+ # its proof and only loses the attachment.
+ cid = _new_case(client, "Post survives")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_proof(client, cid, "P", [a], name="p")
+ client.post(
+ f"/api/cases/{cid}/drafts",
+ json={"title": "T", "state": {"proofPng": "proofs/p.png", "description": "kept"}},
+ )
+
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, spec='proofs/p.json')['id']}")
+
+ post = _entity(client, cid, draft="exports/t.json")
+ assert post is not None
+ assert post["attrs"]["lost_sources"][0]["path"] == "proofs/p.png"
+ # the thread text itself is untouched
+ assert client.get(f"/api/cases/{cid}/drafts/t").json()["state"]["description"] == "kept"
+
+
+def test_cascade_is_transitive_through_depends_on(client):
+ cid = _new_case(client, "Deep")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_session(client, cid, "S1", a, name="s1")
+ # a second session opened over the first one's spec — contrived, but it is
+ # what a future tool nesting sessions would produce, and it must follow.
+ s1 = _entity(client, cid, spec="inspect/s1.json")
+ s2 = client.post(
+ f"/api/cases/{cid}/entities",
+ json={"type": "inspect-session", "label": "S2", "attrs": {"spec": "inspect/s2.json"}},
+ ).json()
+ made = client.post(
+ f"/api/cases/{cid}/links",
+ json={"from_id": s2["id"], "to_id": s1["id"], "type": "depends-on"},
+ )
+ assert made.status_code == 200, made.text
+
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, path=a)['id']}")
+
+ assert _entity(client, cid, spec="inspect/s1.json") is None
+ assert _entity(client, cid, spec="inspect/s2.json") is None
+
+
+def test_a_session_over_a_frame_survives_the_frames_video_going(client):
+ # The frame is derived from the video, so it survives; the session over the
+ # frame therefore has its subject and survives too. Only the session opened
+ # on the video itself goes.
+ cid = _new_case(client, "Frame session")
+ video = _upload(client, cid, "v.png", _png_bytes((9, 9, 9)))["item"]["path"]
+ frame = _upload(client, cid, "f.png", _png_bytes((8, 8, 8)))["item"]["path"]
+ made = client.post(
+ f"/api/cases/{cid}/links",
+ json={
+ "from_id": _entity(client, cid, path=frame)["id"],
+ "to_id": _entity(client, cid, path=video)["id"],
+ "type": "derived-from",
+ },
+ )
+ assert made.status_code == 200, made.text
+ _save_session(client, cid, "On the video", video, name="onvideo")
+ _save_session(client, cid, "On the frame", frame, name="onframe")
+
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, path=video)['id']}")
+
+ assert _entity(client, cid, spec="inspect/onvideo.json") is None
+ assert _entity(client, cid, spec="inspect/onframe.json") is not None
+ assert _entity(client, cid, path=frame) is not None
+
+
+def test_deleting_an_entity_drops_the_links_touching_it(client):
+ cid = _new_case(client, "Edges")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_proof(client, cid, "P", [a], name="p")
+ assert len(_links(client, cid)) == 1
+
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, path=a)['id']}")
+ assert _links(client, cid) == []
+
+
+# ── the same rules from every door ─────────────────────────────────────────
+
+
+def test_the_media_library_delete_honours_the_graph(client):
+ # The confirm dialog lives in the sidebar, but the rules cannot: deleting the
+ # same media from its own tool must do exactly the same thing.
+ cid = _new_case(client, "Via library")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_session(client, cid, "S", a, name="s")
+ _save_proof(client, cid, "P", [a], name="p")
+
+ client.delete(f"/api/cases/{cid}/media?path={a}")
+
+ assert _entity(client, cid, spec="inspect/s.json") is None
+ assert _entity(client, cid, spec="proofs/p.json")["attrs"]["lost_sources"][0]["path"] == a
+
+
+def test_the_inspect_delete_honours_the_graph(client):
+ cid = _new_case(client, "Via inspect")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_session(client, cid, "S", a, name="s")
+
+ client.delete(f"/api/cases/{cid}/inspect/sessions/s")
+
+ # a session deleted on its own takes nothing with it: its subject stands
+ assert _entity(client, cid, spec="inspect/s.json") is None
+ assert _entity(client, cid, path=a) is not None
+ assert _links(client, cid) == []
+
+
+def test_the_satellite_delete_honours_the_graph(client):
+ cid = _new_case(client, "Via satellite")
+ a = _upload(client, cid, "cap.png")["item"]["path"]
+ _save_session(client, cid, "S", a, name="s")
+
+ client.delete(f"/api/cases/{cid}/satellite?path={a}")
+
+ assert _entity(client, cid, spec="inspect/s.json") is None
+
+
+def test_a_tool_delete_still_drops_an_unfiled_artifact(client):
+ # An artifact with no entity has no graph to honour, but its file must go.
+ cid = _new_case(client, "Orphan")
+ case = _case(client, cid)
+ client.post(f"/api/cases/{cid}/proofs", json={"title": "P", "spec": {"panels": []}, "name": "p"})
+ proof = _entity(client, cid, spec="proofs/p.json")
+ client.delete(f"/api/cases/{cid}/entities/{proof['id']}") # entity + files gone
+
+ # re-create the file alone, with no entity behind it
+ client.post(f"/api/cases/{cid}/proofs", json={"title": "P", "spec": {"panels": []}, "name": "p"})
+ client.delete(f"/api/cases/{cid}/entities/{_entity(client, cid, spec='proofs/p.json')['id']}")
+ assert client.get(f"/api/cases/{cid}/proofs/p").status_code == 404
+ assert case["id"] == cid
+
+
+# ── the dependents preview that feeds the dialog ───────────────────────────
+
+
+def test_dependents_endpoint_reports_the_plan(client):
+ cid = _new_case(client, "Preview")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ _save_session(client, cid, "S", a, name="s")
+ _save_proof(client, cid, "P", [a], name="p")
+
+ subject = _entity(client, cid, path=a)
+ plan = client.get(f"/api/cases/{cid}/entities/{subject['id']}/dependents").json()
+
+ assert [e["label"] for e in plan["cascade"]] == ["S"]
+ assert [e["label"] for e in plan["tombstone"]] == ["P"]
+ # and it changed nothing
+ assert _entity(client, cid, path=a) is not None
+
+
+def test_dependents_endpoint_is_empty_for_a_lone_entity(client):
+ cid = _new_case(client, "Lonely")
+ a = _upload(client, cid, "a.png")["item"]["path"]
+ plan = client.get(
+ f"/api/cases/{cid}/entities/{_entity(client, cid, path=a)['id']}/dependents"
+ ).json()
+ assert plan == {"cascade": [], "tombstone": []}
+
+
+def test_dependents_endpoint_404s_on_an_unknown_entity(client):
+ cid = _new_case(client, "Ghost")
+ assert client.get(f"/api/cases/{cid}/entities/e_nope/dependents").status_code == 404
diff --git a/tests/test_satellite_api.py b/tests/test_satellite_api.py
index e3250f1..d9be6eb 100644
--- a/tests/test_satellite_api.py
+++ b/tests/test_satellite_api.py
@@ -1,5 +1,6 @@
"""Satellite capture API: bearing is honored and persisted with provenance."""
+import pytest
from PIL import Image
from azimut.engine import tiles
@@ -337,3 +338,69 @@ def test_edit_title_renames_capture_entity(client, monkeypatch):
# clearing the title falls back to the coordinates on both sides
client.patch(f"/api/cases/{cid}/satellite", json={"path": cap["path"], "title": " "})
assert _captures(client, cid)[0]["label"] == "48.858400, 2.294500"
+
+
+def test_capture_title_follows_the_coordinate_format(client, monkeypatch):
+ """A default title is minted in the user's format (Settings → Preferences),
+ while the machine-readable fields stay in decimal degrees."""
+ monkeypatch.setattr(tiles, "_default_fetch", _fake_tile)
+ client.put("/api/settings/prefs", json={"coord_format": "mgrs"})
+ cid = client.post("/api/cases", json={"name": "Sat"}).json()["id"]
+
+ result = client.post(
+ f"/api/cases/{cid}/satellite/capture",
+ json={"lat": 48.8583701, "lon": 2.2944813, "zoom": 16, "width": 512, "height": 512},
+ ).json()
+ assert result["title"] == "31U DQ 48250 11951"
+
+ listed = client.get(f"/api/cases/{cid}/satellite").json()[0]
+ assert listed["title"] == "31U DQ 48250 11951"
+ # provenance is never re-expressed: a later reader still gets the numbers
+ assert listed["lat"] == pytest.approx(48.8583701)
+ assert listed["lon"] == pytest.approx(2.2944813)
+ entity = client.get(f"/api/cases/{cid}").json()["entities"][0]
+ assert entity["attrs"]["coords"] == "48.858370, 2.294481"
+
+
+def test_changing_the_format_never_rewrites_existing_titles(client, monkeypatch):
+ """Titles are minted once. Switching format later renames nothing — the
+ case keeps reading the way it was written."""
+ monkeypatch.setattr(tiles, "_default_fetch", _fake_tile)
+ cid = client.post("/api/cases", json={"name": "Sat"}).json()["id"]
+
+ client.post(
+ f"/api/cases/{cid}/satellite/capture",
+ json={"lat": 48.8583701, "lon": 2.2944813, "zoom": 16, "width": 512, "height": 512},
+ )
+ assert client.get(f"/api/cases/{cid}/satellite").json()[0]["title"] == "48.858370, 2.294481"
+
+ client.put("/api/settings/prefs", json={"coord_format": "dms"})
+ # the old capture keeps its decimal title …
+ assert client.get(f"/api/cases/{cid}/satellite").json()[0]["title"] == "48.858370, 2.294481"
+
+ # … while a new one is titled the new way
+ client.post(
+ f"/api/cases/{cid}/satellite/capture",
+ json={"lat": 40.6892, "lon": -74.0445, "zoom": 16, "width": 512, "height": 512},
+ )
+ titles = {c["title"] for c in client.get(f"/api/cases/{cid}/satellite").json()}
+ assert titles == {"48.858370, 2.294481", "40°41'21.12\"N 74°02'40.20\"W"}
+
+
+def test_place_label_follows_the_coordinate_format(client):
+ client.put("/api/settings/prefs", json={"coord_format": "dms"})
+ cid = client.post("/api/cases", json={"name": "Sat"}).json()["id"]
+
+ place = client.post(
+ f"/api/cases/{cid}/satellite/place",
+ json={"lat": 48.8583701, "lon": 2.2944813, "zoom": 16},
+ ).json()
+ assert place["label"] == "48°51'30.13\"N 2°17'40.13\"E"
+ assert place["attrs"]["coords"] == "48.858370, 2.294481" # attrs stay decimal
+
+ # an explicit title always wins over the derived one
+ titled = client.post(
+ f"/api/cases/{cid}/satellite/place",
+ json={"lat": 48.8583701, "lon": 2.2944813, "zoom": 16, "title": "Rooftop"},
+ ).json()
+ assert titled["label"] == "Rooftop"
diff --git a/tests/test_scrapers.py b/tests/test_scrapers.py
new file mode 100644
index 0000000..647c0f9
--- /dev/null
+++ b/tests/test_scrapers.py
@@ -0,0 +1,346 @@
+"""The scraper self-updater: shadowing, fetching, and refusing bad wheels.
+
+Nothing here touches the network or the real yt-dlp/gallery-dl: a synthetic
+distribution ("fake-scraper") is registered in SCRAPERS and served from a fake
+PyPI, which lets the import-shadowing be tested for real — an actual import
+statement resolving to an actual file — without a multi-MB download.
+"""
+
+from __future__ import annotations
+
+import hashlib
+import importlib
+import io
+import json
+import sys
+import zipfile
+
+import pytest
+
+from azimut import config
+from azimut.engine import scrapers
+
+MODULE = "azimut_fake_scraper"
+DIST = "fake-scraper"
+
+
+def make_wheel(version: str, module: str = MODULE, package: bool = True) -> bytes:
+ """A minimal but structurally real pure-Python wheel."""
+ buffer = io.BytesIO()
+ with zipfile.ZipFile(buffer, "w") as archive:
+ if package:
+ archive.writestr(f"{module}/__init__.py", f"__version__ = {version!r}\n")
+ archive.writestr(f"{module}/deep/__init__.py", "MARKER = 'submodule'\n")
+ archive.writestr(
+ f"{module}-{version}.dist-info/METADATA",
+ f"Metadata-Version: 2.1\nName: {DIST}\nVersion: {version}\n",
+ )
+ archive.writestr(f"{module}-{version}.dist-info/WHEEL", "Wheel-Version: 1.0\n")
+ return buffer.getvalue()
+
+
+class FakeResponse:
+ def __init__(self, payload=None, data=b""):
+ self._payload = payload
+ self._data = data
+
+ def raise_for_status(self):
+ return None
+
+ def json(self):
+ return self._payload
+
+ def iter_bytes(self):
+ yield self._data
+
+ def __enter__(self):
+ return self
+
+ def __exit__(self, *exc):
+ return False
+
+
+def fake_dist(monkeypatch, tmp_workspace):
+ """Register the synthetic distribution and undo every global it touches."""
+ monkeypatch.setitem(scrapers.SCRAPERS, DIST, MODULE)
+ yield
+ scrapers._remove_finder()
+ for name in [n for n in sys.modules if n == MODULE or n.startswith(f"{MODULE}.")]:
+ del sys.modules[name]
+ importlib.invalidate_caches()
+
+
+def serve(monkeypatch, version: str, wheel: bytes, sha256: str | None = None):
+ """Point the updater at a fake PyPI serving `wheel` as the current release."""
+ payload = {
+ "info": {"version": version},
+ "urls": [
+ {
+ "packagetype": "bdist_wheel",
+ "filename": f"{MODULE}-{version}-py3-none-any.whl",
+ "url": f"https://example.invalid/{MODULE}-{version}.whl",
+ "digests": {"sha256": sha256 or hashlib.sha256(wheel).hexdigest()},
+ }
+ ],
+ }
+ monkeypatch.setattr(scrapers.httpx, "get", lambda *a, **k: FakeResponse(payload=payload))
+ monkeypatch.setattr(scrapers.httpx, "stream", lambda *a, **k: FakeResponse(data=wheel))
+ return payload
+
+
+# ---- reading state ----------------------------------------------------------
+
+
+def test_no_runtime_copy_reports_bundled(fake_dist):
+ assert scrapers.runtime_version(DIST) is None
+ version, source = scrapers.active_version(DIST)
+ assert source == "bundled"
+ assert version is None # the synthetic dist isn't actually installed
+
+
+def test_real_scrapers_report_a_bundled_version(tmp_workspace):
+ """The versions we ship are discoverable — status() is never blank."""
+ for dist in ("yt-dlp", "gallery-dl"):
+ version, source = scrapers.active_version(dist)
+ assert source == "bundled"
+ assert version, f"no bundled version found for {dist}"
+
+
+def test_status_does_not_touch_the_network_by_default(monkeypatch, tmp_workspace):
+ def explode(*a, **k):
+ raise AssertionError("status() reached the network without check_pypi")
+
+ monkeypatch.setattr(scrapers.httpx, "get", explode)
+ entries = scrapers.status()
+ assert {e["dist"] for e in entries} == {"yt-dlp", "gallery-dl"}
+ assert all("latest" not in e for e in entries)
+
+
+def test_status_check_survives_being_offline(monkeypatch, tmp_workspace):
+ def offline(*a, **k):
+ raise OSError("no route to host")
+
+ monkeypatch.setattr(scrapers.httpx, "get", offline)
+ entries = scrapers.status(check_pypi=True)
+ assert all(e["latest"] is None and "check_error" in e for e in entries)
+ assert all(e["version"] for e in entries) # still reports what's in use
+
+
+# ---- updating ---------------------------------------------------------------
+
+
+def test_update_fetches_extracts_and_activates(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.2.3", make_wheel("1.2.3"))
+
+ result = scrapers.update(DIST)
+
+ assert result["updated"] is True
+ assert result["version"] == "1.2.3"
+ assert result["restart_required"] is False # never imported yet
+ assert scrapers.runtime_version(DIST) == "1.2.3"
+ assert scrapers.active_version(DIST) == ("1.2.3", "runtime")
+
+
+def test_updated_copy_is_what_import_resolves_to(monkeypatch, fake_dist):
+ """The point of the whole module: a real import gets the fetched code."""
+ serve(monkeypatch, "9.9.9", make_wheel("9.9.9"))
+ scrapers.update(DIST)
+
+ module = importlib.import_module(MODULE)
+ assert module.__version__ == "9.9.9"
+ assert str(scrapers.dist_dir(DIST)) in module.__file__
+
+ submodule = importlib.import_module(f"{MODULE}.deep")
+ assert submodule.MARKER == "submodule"
+
+
+def test_finder_ignores_everything_else(monkeypatch, fake_dist):
+ """The finder is narrow — it must not shadow unrelated imports."""
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+
+ assert importlib.import_module("json") is json
+ reimported = importlib.import_module("azimut.config")
+ assert reimported is config
+
+
+def test_update_is_idempotent(monkeypatch, fake_dist):
+ serve(monkeypatch, "2.0.0", make_wheel("2.0.0"))
+ scrapers.update(DIST)
+
+ def explode(*a, **k):
+ raise AssertionError("re-downloaded a version already on disk")
+
+ monkeypatch.setattr(scrapers.httpx, "stream", explode)
+ result = scrapers.update(DIST)
+ assert result["updated"] is False
+ assert result["version"] == "2.0.0"
+
+
+def test_update_replaces_an_older_runtime_copy(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ serve(monkeypatch, "1.1.0", make_wheel("1.1.0"))
+ result = scrapers.update(DIST)
+
+ assert result["previous"] == "1.0.0"
+ assert scrapers.runtime_version(DIST) == "1.1.0"
+ # exactly one .dist-info — the old one is gone, not merged
+ infos = list(scrapers.dist_dir(DIST).glob("*.dist-info"))
+ assert [i.name for i in infos] == [f"{MODULE}-1.1.0.dist-info"]
+
+
+def test_restart_required_once_the_module_is_imported(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ importlib.import_module(MODULE) # now cached in sys.modules
+
+ serve(monkeypatch, "1.1.0", make_wheel("1.1.0"))
+ result = scrapers.update(DIST)
+
+ assert result["restart_required"] is True
+ assert "restart" in result["detail"]
+ assert sys.modules[MODULE].__version__ == "1.0.0" # honest: still the old one
+
+
+# ---- refusing bad wheels ----------------------------------------------------
+
+
+def test_hash_mismatch_is_refused(monkeypatch, fake_dist):
+ serve(monkeypatch, "6.6.6", make_wheel("6.6.6"), sha256="0" * 64)
+ with pytest.raises(RuntimeError, match="hash"):
+ scrapers.update(DIST)
+ assert scrapers.runtime_version(DIST) is None
+
+
+def test_a_failed_update_leaves_the_previous_copy_intact(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+
+ serve(monkeypatch, "2.0.0", make_wheel("2.0.0"), sha256="0" * 64)
+ with pytest.raises(RuntimeError):
+ scrapers.update(DIST)
+
+ assert scrapers.runtime_version(DIST) == "1.0.0"
+ assert not list(scrapers.dist_dir(DIST).parent.glob(".staging-*"))
+
+
+def test_path_traversal_in_a_wheel_is_refused(monkeypatch, fake_dist):
+ buffer = io.BytesIO()
+ with zipfile.ZipFile(buffer, "w") as archive:
+ archive.writestr(f"{MODULE}/__init__.py", "")
+ archive.writestr(f"{MODULE}-1.0.0.dist-info/METADATA", "Version: 1.0.0\n")
+ archive.writestr("../../../../evil.py", "pwned = True\n")
+ evil = buffer.getvalue()
+ serve(monkeypatch, "1.0.0", evil)
+
+ with pytest.raises(RuntimeError, match="unsafe entry"):
+ scrapers.update(DIST)
+ assert scrapers.runtime_version(DIST) is None
+
+
+def test_wheel_without_the_package_is_refused(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0", package=False))
+ with pytest.raises(RuntimeError, match="did not contain"):
+ scrapers.update(DIST)
+ assert scrapers.runtime_version(DIST) is None
+
+
+def test_oversized_wheel_is_refused(monkeypatch, fake_dist):
+ monkeypatch.setattr(scrapers, "WHEEL_MAX_BYTES", 16)
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ with pytest.raises(RuntimeError, match="implausibly large"):
+ scrapers.update(DIST)
+
+
+# ---- swapping directories, on every platform --------------------------------
+
+
+def test_update_over_an_imported_copy(monkeypatch, fake_dist):
+ """The Windows-shaped case: replace the package while it's loaded.
+
+ Windows can't delete an open file, so the swap renames the old copy aside
+ instead of deleting it in place. This must not raise anywhere.
+ """
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ importlib.import_module(f"{MODULE}.deep") # hold the package open
+
+ serve(monkeypatch, "2.0.0", make_wheel("2.0.0"))
+ result = scrapers.update(DIST)
+
+ assert result["updated"] is True
+ assert scrapers.runtime_version(DIST) == "2.0.0"
+ assert (scrapers.dist_dir(DIST) / MODULE / "__init__.py").read_text() == "__version__ = '2.0.0'\n"
+
+
+def test_swap_leaves_no_litter(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ serve(monkeypatch, "2.0.0", make_wheel("2.0.0"))
+ scrapers.update(DIST)
+
+ leftovers = [p.name for p in config.runtime_dir().glob(".*")]
+ assert leftovers == [], f"staging/trash left behind: {leftovers}"
+
+
+def test_failed_swap_restores_the_working_copy(monkeypatch, fake_dist):
+ """If the new copy can't be moved into place, the old one must come back."""
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+
+ real_replace = scrapers.Path.replace
+ calls = {"n": 0}
+
+ def flaky(self, target):
+ calls["n"] += 1
+ if calls["n"] == 2: # 1st = retire the old copy, 2nd = move the new one in
+ raise OSError("disk full")
+ return real_replace(self, target)
+
+ monkeypatch.setattr(scrapers.Path, "replace", flaky)
+ serve(monkeypatch, "2.0.0", make_wheel("2.0.0"))
+ with pytest.raises(OSError, match="disk full"):
+ scrapers.update(DIST)
+ monkeypatch.setattr(scrapers.Path, "replace", real_replace) # only this one
+
+ assert scrapers.runtime_version(DIST) == "1.0.0" # still usable
+ assert (scrapers.dist_dir(DIST) / MODULE / "__init__.py").exists()
+
+
+def test_wheel_paths_extract_under_the_dist_dir(monkeypatch, fake_dist):
+ """Wheels always use / separators; extraction must land right on Windows too."""
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ nested = scrapers.dist_dir(DIST) / MODULE / "deep" / "__init__.py"
+ assert nested.is_file()
+
+
+# ---- reset ------------------------------------------------------------------
+
+
+def test_reset_falls_back_to_the_bundled_copy(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ assert scrapers.dist_dir(DIST).exists()
+
+ result = scrapers.reset(DIST)
+
+ assert result["removed"] is True
+ assert not scrapers.dist_dir(DIST).exists()
+ assert scrapers.active_version(DIST)[1] == "bundled"
+
+
+def test_reset_when_there_is_nothing_to_reset(fake_dist):
+ result = scrapers.reset(DIST)
+ assert result["removed"] is False
+
+
+def test_activate_is_idempotent(monkeypatch, fake_dist):
+ serve(monkeypatch, "1.0.0", make_wheel("1.0.0"))
+ scrapers.update(DIST)
+ for _ in range(3):
+ scrapers.activate()
+ finders = [f for f in sys.meta_path if isinstance(f, scrapers._RuntimeFinder)]
+ assert len(finders) == 1
diff --git a/tests/test_settings_api.py b/tests/test_settings_api.py
index 991f7c7..66ccecd 100644
--- a/tests/test_settings_api.py
+++ b/tests/test_settings_api.py
@@ -3,7 +3,7 @@
import httpx
from azimut import config
-from azimut.engine import google_tiles
+from azimut.engine import google_tiles, scrapers
def test_get_settings_defaults(client):
@@ -334,3 +334,194 @@ def test_put_prefs_eco_max_zoom_clamped(client):
assert client.get("/api/settings").json()["eco_max_zoom"] == 15
assert client.put("/api/settings/prefs", json={"eco_max_zoom": 99}).json()["eco_max_zoom"] == 21
assert client.put("/api/settings/prefs", json={"eco_max_zoom": -3}).json()["eco_max_zoom"] == 1
+
+
+def test_display_prefs_default_and_round_trip(client):
+ body = client.get("/api/settings").json()
+ assert body["coord_format"] == "dd"
+ assert body["units"] == "metric"
+
+ saved = client.put("/api/settings/prefs", json={"coord_format": "mgrs", "units": "imperial"})
+ assert saved.json()["coord_format"] == "mgrs"
+ assert saved.json()["units"] == "imperial"
+ reloaded = client.get("/api/settings").json()
+ assert reloaded["coord_format"] == "mgrs"
+ assert reloaded["units"] == "imperial"
+
+
+def test_display_prefs_reject_unknown_values(client):
+ assert client.put("/api/settings/prefs", json={"coord_format": "utm"}).status_code == 422
+ assert client.put("/api/settings/prefs", json={"units": "furlongs"}).status_code == 422
+ # a rejected value leaves the stored preference alone
+ assert client.get("/api/settings").json()["coord_format"] == "dd"
+
+
+def test_partial_prefs_put_leaves_other_fields_untouched(client):
+ client.put("/api/settings/prefs", json={"coord_format": "dms", "units": "imperial"})
+ saved = client.put("/api/settings/prefs", json={"eco_max_zoom": 12}).json()
+ assert saved["coord_format"] == "dms" # untouched by an unrelated PUT
+ assert saved["units"] == "imperial"
+
+
+def test_home_view_default_and_round_trip(client):
+ assert client.get("/api/settings").json()["home_view"] == config.DEFAULT_SETTINGS["home_view"]
+
+ view = {"lat": -33.8568, "lon": 151.2153, "zoom": 18}
+ assert client.put("/api/settings/prefs", json={"home_view": view}).json()["home_view"] == view
+ assert client.get("/api/settings").json()["home_view"] == view
+
+
+def test_home_view_rejects_points_off_the_globe(client):
+ bad = [
+ {"lat": 91, "lon": 0, "zoom": 16},
+ {"lat": 0, "lon": -181, "zoom": 16},
+ {"lat": 0, "lon": 0, "zoom": 0},
+ {"lat": 0, "lon": 0, "zoom": 30},
+ ]
+ for view in bad:
+ assert client.put("/api/settings/prefs", json={"home_view": view}).status_code == 422
+ assert client.get("/api/settings").json()["home_view"] == config.DEFAULT_SETTINGS["home_view"]
+
+
+def test_about_facts_are_served(client):
+ body = client.get("/api/settings").json()
+ assert body["version"]
+ assert body["workspace_root"] == str(config.workspace_root())
+
+
+# ---- signature: the analyst's logo, app-wide and never inside a case ---------
+
+# the smallest thing that is genuinely a PNG: the 8-byte magic is what the
+# upload sniffs, so a body starting with it is accepted and nothing else is
+PNG = config.PNG_MAGIC + b"\x00 fake body, never decoded"
+
+
+def test_signature_absent_by_default(client):
+ assert client.get("/api/settings").json()["signature"] is False
+ assert client.get("/api/settings/signature.png").status_code == 404
+
+
+def test_signature_upload_serve_and_delete(client):
+ saved = client.post("/api/settings/signature", files={"file": ("logo.png", PNG, "image/png")})
+ assert saved.status_code == 200
+ assert saved.json() == {"signature": True}
+ assert client.get("/api/settings").json()["signature"] is True
+
+ served = client.get("/api/settings/signature.png")
+ assert served.status_code == 200
+ assert served.content == PNG
+ assert served.headers["content-type"] == "image/png"
+
+ assert client.delete("/api/settings/signature").json() == {"signature": False}
+ assert client.get("/api/settings").json()["signature"] is False
+ assert client.get("/api/settings/signature.png").status_code == 404
+
+
+def test_signature_replace_overwrites_in_place(client):
+ client.post("/api/settings/signature", files={"file": ("a.png", PNG, "image/png")})
+ other = config.PNG_MAGIC + b"\x00 second logo"
+ client.post("/api/settings/signature", files={"file": ("b.png", other, "image/png")})
+ assert client.get("/api/settings/signature.png").content == other
+
+
+def test_signature_delete_is_idempotent(client):
+ assert client.delete("/api/settings/signature").json() == {"signature": False}
+
+
+def test_signature_rejects_non_png(client):
+ # the bytes are what count, not the name or the content-type the browser sent
+ body = client.post("/api/settings/signature", files={"file": ("logo.png", b"GIF89a...", "image/png")})
+ assert body.status_code == 422
+ assert "PNG" in body.json()["detail"]
+ assert client.get("/api/settings").json()["signature"] is False
+
+
+def test_signature_rejects_oversized(client):
+ huge = config.PNG_MAGIC + b"\x00" * config.SIGNATURE_MAX_BYTES
+ body = client.post("/api/settings/signature", files={"file": ("logo.png", huge, "image/png")})
+ assert body.status_code == 413
+ assert client.get("/api/settings").json()["signature"] is False
+
+
+def test_signature_never_lands_in_a_case(client):
+ """It is workspace-level, like the API keys — a case folder never sees it."""
+ client.post("/api/settings/signature", files={"file": ("logo.png", PNG, "image/png")})
+ assert config.signature_path().is_file()
+ assert config.signature_path().parent == config.workspace_root()
+ case_id = client.post("/api/cases", json={"name": "Signed"}).json()["id"]
+ case_dir = config.cases_dir() / case_id
+ assert not list(case_dir.rglob("signature.png"))
+
+
+# ---- scrapers: version reporting and the update button ----------------------
+
+
+def test_get_scrapers_reports_both_offline(client, monkeypatch):
+ """Opening Settings must not reach the network — local-first."""
+
+ def explode(*a, **k):
+ raise AssertionError("GET /settings/scrapers phoned home without check=true")
+
+ monkeypatch.setattr(scrapers.httpx, "get", explode)
+ body = client.get("/api/settings/scrapers").json()["scrapers"]
+ assert {e["dist"] for e in body} == {"yt-dlp", "gallery-dl"}
+ assert all(e["source"] == "bundled" and e["version"] for e in body)
+
+
+def test_get_scrapers_check_reports_what_is_newer(client, monkeypatch):
+ monkeypatch.setattr(scrapers, "latest_version", lambda dist: "9999.1.1")
+ body = client.get("/api/settings/scrapers", params={"check": True}).json()["scrapers"]
+ assert all(e["latest"] == "9999.1.1" and e["outdated"] is True for e in body)
+
+
+def test_check_reports_up_to_date_when_it_matches(client, monkeypatch):
+ current = scrapers.active_version("yt-dlp")[0]
+ monkeypatch.setattr(scrapers, "latest_version", lambda dist: current)
+ entry = next(
+ e
+ for e in client.get("/api/settings/scrapers", params={"check": True}).json()["scrapers"]
+ if e["dist"] == "yt-dlp"
+ )
+ assert entry["outdated"] is False
+
+
+def test_update_unknown_scraper_is_404(client):
+ assert client.post("/api/settings/scrapers/pip/update").status_code == 404
+ assert client.delete("/api/settings/scrapers/pip").status_code == 404
+
+
+def test_update_reports_failure_inline_rather_than_500(client, monkeypatch):
+ """A download that fails is a message in the tab, not a broken app."""
+
+ def offline(*a, **k):
+ raise OSError("no route to host")
+
+ monkeypatch.setattr(scrapers.httpx, "get", offline)
+ body = client.post("/api/settings/scrapers/yt-dlp/update").json()
+ assert body["ok"] is False
+ assert "no route to host" in body["detail"]
+
+
+def test_update_then_reset_round_trip(client, monkeypatch):
+ monkeypatch.setattr(
+ scrapers,
+ "update",
+ lambda dist: {
+ "dist": dist,
+ "updated": True,
+ "version": "3.2.1",
+ "previous": "1.0.0",
+ "restart_required": True,
+ "detail": "updated to 3.2.1 — restart Azimut to use it",
+ },
+ )
+ body = client.post("/api/settings/scrapers/yt-dlp/update").json()
+ assert body["ok"] is True and body["restart_required"] is True
+
+ reset = client.delete("/api/settings/scrapers/yt-dlp").json()
+ assert reset["ok"] is True and reset["removed"] is False
+
+
+def test_scrapers_live_in_the_workspace_not_the_install(client):
+ """The runtime dir has to be somewhere writable — the binary's own dir isn't."""
+ assert config.runtime_dir().parent == config.workspace_root()
diff --git a/tests/test_stitch.py b/tests/test_stitch.py
new file mode 100644
index 0000000..40c0336
--- /dev/null
+++ b/tests/test_stitch.py
@@ -0,0 +1,129 @@
+"""Auto-stitch: quad fitting math (pure) and the OpenCV layout solver.
+
+The solver is exercised against a synthetic scene cut into overlapping crops, so
+the right answer is known up front: the crops' offset is what we asked for, and
+the solved quads must reproduce it.
+"""
+
+import random
+
+import pytest
+from PIL import Image, ImageDraw
+
+from azimut.engine import stitch
+
+
+def _scene(width=900, height=500, seed=7) -> Image.Image:
+ """A richly textured scene — random blobs give the detector real features."""
+ rng = random.Random(seed)
+ img = Image.new("RGB", (width, height), (18, 20, 28))
+ draw = ImageDraw.Draw(img)
+ for _ in range(220):
+ x, y = rng.randrange(width), rng.randrange(height)
+ r = rng.randrange(6, 34)
+ color = (rng.randrange(40, 255), rng.randrange(40, 255), rng.randrange(40, 255))
+ if rng.random() < 0.5:
+ draw.ellipse([x, y, x + r, y + r], fill=color)
+ else:
+ draw.rectangle([x, y, x + r, y + int(r * 0.7)], fill=color)
+ return img
+
+
+def _centroid(quad):
+ return (sum(p[0] for p in quad) / 4, sum(p[1] for p in quad) / 4)
+
+
+# --- pure math -------------------------------------------------------------
+
+
+def test_fit_quads_to_canvas_centres_and_preserves_aspect():
+ # A 200x100 constellation into a 400x400 canvas: uniform scale, so it fills
+ # the width (minus margin) and stays centred vertically rather than stretching.
+ quads = [[[0, 0], [200, 0], [200, 100], [0, 100]]]
+ out = stitch.fit_quads_to_canvas(quads, 400, 400, margin=0.0)[0]
+ assert out[0] == pytest.approx([0, 100])
+ assert out[2] == pytest.approx([400, 300])
+
+
+def test_fit_quads_to_canvas_keeps_relative_geometry():
+ quads = [
+ [[0, 0], [100, 0], [100, 100], [0, 100]],
+ [[100, 0], [200, 0], [200, 100], [100, 100]],
+ ]
+ a, b = stitch.fit_quads_to_canvas(quads, 800, 400)
+ # Side-by-side before, side-by-side after: b's left edge meets a's right edge.
+ assert a[1][0] == pytest.approx(b[0][0])
+ assert a[1][1] == pytest.approx(b[0][1])
+
+
+def test_fit_quads_to_canvas_handles_empty():
+ assert stitch.fit_quads_to_canvas([], 100, 100) == []
+
+
+def test_quad_ok_accepts_a_plain_rectangle():
+ assert stitch.quad_ok([[0, 0], [10, 0], [10, 10], [0, 10]])
+
+
+def test_quad_ok_rejects_non_finite_and_collapsed_and_folded():
+ assert not stitch.quad_ok([[0, 0], [float("inf"), 0], [10, 10], [0, 10]])
+ assert not stitch.quad_ok([[0, 0], [0, 0], [0, 0], [0, 0]]) # collapsed
+ # Bow-tie: corners 2 and 3 swapped, so the quad folds over itself.
+ assert not stitch.quad_ok([[0, 0], [10, 0], [0, 10], [10, 10]])
+
+
+# --- solver ----------------------------------------------------------------
+
+
+def test_solve_layout_recovers_a_known_horizontal_offset():
+ scene = _scene()
+ left = scene.crop((0, 0, 500, 500))
+ right = scene.crop((300, 0, 800, 500)) # 200px of overlap, 300px offset
+
+ solved = stitch.solve_layout([left, right], width=1200, height=600)
+
+ assert solved["dropped"] == []
+ assert sorted(solved["quads"]) == [0, 1]
+ quad_a, quad_b = solved["quads"][0], solved["quads"][1]
+ # The solver works in its own fitted canvas scale, so check the ratio the
+ # crops actually encode: a 300px offset across a 500px-wide piece.
+ width_a = quad_a[1][0] - quad_a[0][0]
+ offset = _centroid(quad_b)[0] - _centroid(quad_a)[0]
+ assert offset / width_a == pytest.approx(300 / 500, abs=0.06)
+
+
+def test_solve_layout_places_pieces_inside_the_canvas():
+ scene = _scene(seed=11)
+ pieces = [scene.crop((0, 0, 500, 500)), scene.crop((300, 0, 800, 500))]
+
+ solved = stitch.solve_layout(pieces, width=1000, height=800)
+
+ for quad in solved["quads"].values():
+ for x, y in quad:
+ assert -1 <= x <= 1001
+ assert -1 <= y <= 801
+
+
+def test_solve_layout_drops_a_piece_that_matches_nothing():
+ scene = _scene(seed=3)
+ pieces = [
+ scene.crop((0, 0, 500, 500)),
+ scene.crop((300, 0, 800, 500)),
+ _scene(width=500, height=500, seed=999), # unrelated scene
+ ]
+
+ solved = stitch.solve_layout(pieces, width=1000, height=600)
+
+ # The stranger is reported, never guessed at — the analyst hand-places it.
+ assert solved["dropped"] == [2]
+ assert sorted(solved["quads"]) == [0, 1]
+
+
+def test_solve_layout_rejects_a_lone_piece():
+ with pytest.raises(ValueError, match="at least two"):
+ stitch.solve_layout([_scene(width=200, height=200)], width=400, height=400)
+
+
+def test_solve_layout_raises_when_nothing_overlaps():
+ pieces = [_scene(width=400, height=400, seed=1), _scene(width=400, height=400, seed=2)]
+ with pytest.raises(RuntimeError, match="no overlap"):
+ stitch.solve_layout(pieces, width=800, height=600)
diff --git a/tests/test_tiles.py b/tests/test_tiles.py
index 96479d3..9479f79 100644
--- a/tests/test_tiles.py
+++ b/tests/test_tiles.py
@@ -150,6 +150,44 @@ def test_fetch_crop_tile_cap():
raise AssertionError("expected TileFetchError for oversized crop")
+def test_opentopomap_is_a_keyless_builtin(monkeypatch, tmp_path):
+ monkeypatch.setenv("AZIMUT_HOME", str(tmp_path))
+ otm = next(p for p in tiles.all_providers() if p.id == "opentopomap")
+ assert otm.needs_key is False # core features never require a key
+ assert otm.meter is None # free: no billing counter to keep
+ # CC-BY-SA makes the attribution a condition of the licence, not a courtesy
+ assert "OpenTopoMap" in otm.attribution and "CC-BY-SA" in otm.attribution
+ assert "OpenStreetMap" in otm.attribution and "SRTM" in otm.attribution
+ # a topographic base map, not imagery: the labels overlay would double its labels
+ assert otm.imagery is False
+ # the server itself answers deeper zooms with a "max zoom layer = 17" placard
+ assert otm.max_zoom == 17
+ # no {s}: the capture path formats only x/y/z and would raise on a subdomain
+ assert "{s}" not in otm.url
+
+
+def test_fetch_crop_never_requests_past_opentopomap_max_zoom(monkeypatch, tmp_path):
+ """A capture must never ask OpenTopoMap for z >= 18.
+
+ Deeper zooms come back as a constant "max zoom layer = 17" placard, so
+ stitching one would put that placard into a proof. fetch_crop clamps to the
+ provider max instead — and records the honest zoom in provenance.
+ """
+ monkeypatch.setenv("AZIMUT_HOME", str(tmp_path))
+ otm = next(p for p in tiles.all_providers() if p.id == "opentopomap")
+ seen: list[int] = []
+
+ def fake_fetch(client, url):
+ seen.append(int(url.split("/")[-3]))
+ return Image.new("RGB", (256, 256), (200, 180, 140))
+
+ _, prov = tiles.fetch_crop(45.92, 6.87, 19, 512, 512, otm, fetch_tile=fake_fetch)
+ assert seen and max(seen) == 17
+ assert prov["zoom"] == 17
+ # m/px must describe the zoom actually captured, not the one asked for
+ assert prov["meters_per_pixel"] == round(tiles.meters_per_pixel(45.92, 17), 3)
+
+
def test_all_providers_omits_keyed_providers_without_keys(monkeypatch, tmp_path):
monkeypatch.setenv("AZIMUT_HOME", str(tmp_path))
ids = {p.id for p in tiles.all_providers()}
diff --git a/uv.lock b/uv.lock
new file mode 100644
index 0000000..e3fac0d
--- /dev/null
+++ b/uv.lock
@@ -0,0 +1,1130 @@
+version = 1
+revision = 3
+requires-python = ">=3.11"
+resolution-markers = [
+ "python_full_version >= '3.12'",
+ "python_full_version < '3.12'",
+]
+
+[[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, 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, 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, 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, upload-time = "2024-05-20T21:33:24.1Z" },
+]
+
+[[package]]
+name = "anyio"
+version = "4.14.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" },
+]
+
+[[package]]
+name = "azimut"
+version = "0.1.1"
+source = { editable = "." }
+dependencies = [
+ { name = "fastapi" },
+ { name = "gallery-dl" },
+ { name = "httpx" },
+ { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
+ { name = "numpy", version = "2.5.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" },
+ { name = "opencv-python-headless" },
+ { name = "pillow" },
+ { name = "pydantic" },
+ { name = "python-multipart" },
+ { name = "requests" },
+ { name = "uvicorn", extra = ["standard"] },
+ { name = "yt-dlp" },
+]
+
+[package.optional-dependencies]
+dev = [
+ { name = "httpx" },
+ { name = "pytest" },
+ { name = "pytest-asyncio" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "fastapi", specifier = ">=0.111,<1.0" },
+ { name = "gallery-dl", specifier = ">=1.27" },
+ { name = "httpx", specifier = ">=0.27,<1.0" },
+ { name = "httpx", marker = "extra == 'dev'", specifier = ">=0.27,<1.0" },
+ { name = "numpy", specifier = ">=1.26,<3" },
+ { name = "opencv-python-headless", specifier = ">=4.9,<5" },
+ { name = "pillow", specifier = ">=10.3,<13" },
+ { name = "pydantic", specifier = ">=2.7,<3" },
+ { name = "pytest", marker = "extra == 'dev'", specifier = ">=8,<9" },
+ { name = "pytest-asyncio", marker = "extra == 'dev'", specifier = ">=0.23,<2" },
+ { name = "python-multipart", specifier = ">=0.0.9,<1.0" },
+ { name = "requests", specifier = ">=2.31,<3" },
+ { name = "uvicorn", extras = ["standard"], specifier = ">=0.30,<1.0" },
+ { name = "yt-dlp", specifier = ">=2024.4.9" },
+]
+provides-extras = ["dev"]
+
+[[package]]
+name = "certifi"
+version = "2026.6.17"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" },
+]
+
+[[package]]
+name = "charset-normalizer"
+version = "3.4.9"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/bd/2a/23f34ec9d04624958e137efdc394888716353190e75f25dd22c7a2c7a8aa/charset_normalizer-3.4.9.tar.gz", hash = "sha256:673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b", size = 152439, upload-time = "2026-07-07T14:34:58.454Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/e3/85ec501f206fb049259288c1f3506e53876937fb00edb47009348e66756b/charset_normalizer-3.4.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0e94703ec9684807f20cfb5eed95c70f67f2a8f21ad620146d7b5a13677b93e5", size = 317075, upload-time = "2026-07-07T14:32:56.021Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/69/2a5385192e67175f7d8bd5ce4f57c24bc956439adeae5c13a99aa28a53d1/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2a441ea71902098ffe78c5abe6c494f44160b4af614ed16c3d9a3b1d17fd8ee2", size = 213837, upload-time = "2026-07-07T14:32:57.78Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/46/03ddc7da576d814fe0a36dd1f0fd3258e95404b4b2e3c026b7923d7e133f/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:304b13570067b2547562e308af560b3963857b1fa90bd6afd978130130fe2d6a", size = 235503, upload-time = "2026-07-07T14:32:59.205Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/6e/de0229a7ef40f6f9d28a837eebf4ec47bdca5dab4e900c84f22919af636a/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4773092f8019072343a7447203308b176e10199920eb02d6195e81bbb3274c29", size = 229944, upload-time = "2026-07-07T14:33:00.803Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/34/49b9060e8418b14fb5cba9cf6bfb383111e2538a03a1fb18e66a95aeb3d5/charset_normalizer-3.4.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:04ce310cb89c15df659582aee80a0603788732a5e017d5bd5c81158106ce249c", size = 221276, upload-time = "2026-07-07T14:33:02.199Z" },
+ { url = "https://files.pythonhosted.org/packages/44/95/80282cce0fae9c3061203d723ee87da996aed79679e65d8935050ee7ca1f/charset_normalizer-3.4.9-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:c0323c9daef75ef2e5083624b4585018a0c9d5e3b40f607eed81a311270b934b", size = 205260, upload-time = "2026-07-07T14:33:03.698Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/74/2f62c8821b969ea3bd67cc2e6976834f48ca5d12664d2559ebcd9bcfbed7/charset_normalizer-3.4.9-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:871ff67ea1aad4dfd91736464934d56b32dac49f9fbe16cddba36198a7b3a0db", size = 217786, upload-time = "2026-07-07T14:33:05.12Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/8d/feabb82cb49fcad14515b1d7d1ca4787b0da7fc723a212bf89bc9e0fac52/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:67830fc78e67501f47bb950471b2dcb9b35b140084429318e862895a8e89c993", size = 216798, upload-time = "2026-07-07T14:33:06.629Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/ff/c946d63bc3786d5b84d960b0f7ab7e25b828486a946b5aa997625bcaf6a6/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:3d92613ec25e43b05f042302531ec0f00b8445190e43325880cbd6ab7c2581da", size = 206429, upload-time = "2026-07-07T14:33:08.006Z" },
+ { url = "https://files.pythonhosted.org/packages/af/ba/5e5007c370702f85d2ef75791fac7943ed41e080364a673b20142e430e3e/charset_normalizer-3.4.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:280081916dc341820640489a66e4696049401ef1cf6dd672f672e70ad915aca3", size = 223066, upload-time = "2026-07-07T14:33:09.783Z" },
+ { url = "https://files.pythonhosted.org/packages/83/d5/9096aa3cf532dfad237861544eb47a0f20d5adbf1039760fed8eaae935d9/charset_normalizer-3.4.9-cp311-cp311-win32.whl", hash = "sha256:ac351b3b8014eead140e77e9717e2992c6bbe30b63bc3422422eb84865412e3d", size = 150456, upload-time = "2026-07-07T14:33:11.217Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/a1/e29995109e455dc8eff8d0fac6ae509be39561318a7cfeac5d33ad029213/charset_normalizer-3.4.9-cp311-cp311-win_amd64.whl", hash = "sha256:6366a16e1a25018694d6a5d784d09b046edc9eac40ea2b54065c3052672516a1", size = 161410, upload-time = "2026-07-07T14:33:12.743Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/8d/1569f4d0032d6ba2a4fe4591c35bf87868c600c41a71eb5c2e1ffa8464c2/charset_normalizer-3.4.9-cp311-cp311-win_arm64.whl", hash = "sha256:1d22856ffbe153a602df38e4a5464f0b748a54002e0d69ac6d2ad0a197cc99ec", size = 152649, upload-time = "2026-07-07T14:33:14.173Z" },
+ { url = "https://files.pythonhosted.org/packages/70/4a/ecbd131485c07fcdfad54e28946d513e3da22ef3b4bd854dcafae54ec739/charset_normalizer-3.4.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:45b0cc4e3556cd875e09102988d1ab8356c998b596c9fced84547c8138b487a0", size = 319300, upload-time = "2026-07-07T14:33:15.666Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/96/5d9364e3342d69f3a045e1777bc47c85c383e6e9466d561b33fdb419d1f9/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b2aff1c7b3884512b9512c3eaadd9bab39fb45042ffaaa1dd08ff2b9f8109d9", size = 215802, upload-time = "2026-07-07T14:33:17.031Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/4c/5361f9aa7f2cb58d94f2ab831b3d493f69efb1d239654b4744e3c09527cb/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9104ed0bd76a429d46f9ec0dbc9b08ad1d2dcdf2b00a5a0daa1c145329b35b44", size = 237171, upload-time = "2026-07-07T14:33:18.576Z" },
+ { url = "https://files.pythonhosted.org/packages/50/78/ce342ca4ff30b2eb49fe6d9578df85974f90c67d294113e94efdd9664cbd/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b86a2b16095d250c6f58b3d9b2eee6f4147754344f3dab0922f7c9bf7d226c9", size = 233075, upload-time = "2026-07-07T14:33:20.084Z" },
+ { url = "https://files.pythonhosted.org/packages/01/c4/4fa4c8b3097a11f3c5f09a35b72ed6855fb1d332469504962ab7bafcc702/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e226f6218febc71f6c1fc2fafb91c226f75bdc1d8fb12d66823716e891608fd", size = 224256, upload-time = "2026-07-07T14:33:21.747Z" },
+ { url = "https://files.pythonhosted.org/packages/87/3a/ad914516df7e358a81aae018caa5e0470ba827fa6d763b1d2e87d920a5f6/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:90c44bc373b7687f6948b693cceaea1348ae0975d7474746559494468e3c1d84", size = 208784, upload-time = "2026-07-07T14:33:23.313Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/74/3c12f9755717dfe5c5c87da63f35d765fa0c00382ec26bf23f7fae34f2ba/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9cdef90ae47919cae358d8ab15797a800ed41da7aba5d72419fb510729e2ed4b", size = 219928, upload-time = "2026-07-07T14:33:24.814Z" },
+ { url = "https://files.pythonhosted.org/packages/33/9a/895095b83e7907abd6d3d99aad3a38ad0d9686cc186cb0c94c24320fe63e/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:60f44ade2cf573dad7a277e6f8ca9a51a21dda572b13bd7d8539bb3cd5dbedde", size = 218489, upload-time = "2026-07-07T14:33:26.42Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/34/ef5c05f412f42520d7709b7d3784d19640839eb7366ded1755511585429f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:a1786910334ed46ab1dd73222f2cd1e05c2c3bb39f6dddb4f8b36fc382058a39", size = 210267, upload-time = "2026-07-07T14:33:27.952Z" },
+ { url = "https://files.pythonhosted.org/packages/83/dc/9b29fa4412b318bf3bfea985c35d67eb55e04b59a7c3f2237168b0e0be6f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:03d07803992c6c7bbc976327f34b18b6160327fc81cb82c9d504720ac0be3b62", size = 226030, upload-time = "2026-07-07T14:33:29.397Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/42/6dbc00b8cd16011691203e33570fa42ed5746599a2e878112d16eab403a3/charset_normalizer-3.4.9-cp312-cp312-win32.whl", hash = "sha256:78841cccf1af7b40f6f716338d50c0902dbe88d9f800b3c973b7a9a0a693a642", size = 151185, upload-time = "2026-07-07T14:33:30.781Z" },
+ { url = "https://files.pythonhosted.org/packages/80/cc/f920afd1a23c58ccd53c1d36085a71893a4737ff5e66e0371efab6809850/charset_normalizer-3.4.9-cp312-cp312-win_amd64.whl", hash = "sha256:4b3dac63058cc36820b0dd072f89898604e2d39686fe05321729d00d8ac185a0", size = 162557, upload-time = "2026-07-07T14:33:32.176Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/e6/0386d43a261ff4e4b30c5857af7df877254b46bec7b9d1b74b6bf969a90b/charset_normalizer-3.4.9-cp312-cp312-win_arm64.whl", hash = "sha256:78fa18e436a1a0e58dbd7e02fc4473f3f32cceb12df9dfca542d075961c307d2", size = 152665, upload-time = "2026-07-07T14:33:33.711Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/06/97ec2aeae780b31d742b6352218b43841a6871e2564578ca522dce4a45c3/charset_normalizer-3.4.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:440eede837960000d74978f0eba527be106b5b9aee0daf779d395276ed0b0614", size = 317688, upload-time = "2026-07-07T14:33:35.408Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/39/8ff066c672434225f8d25f8b739f992af250944392173dcc88362681c9bf/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21e764fd1e70b6a3e205a0e46f3051701f98a8cb3fad66eeb80e48bb502f8698", size = 214982, upload-time = "2026-07-07T14:33:36.996Z" },
+ { url = "https://files.pythonhosted.org/packages/92/8f/3a47a3667c83c2df9483d91644c6c107de3bf8874aa1793da9d3012eb986/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e4fd89cc178bced6ad29cb3e6dd4aa63fa5017c3524dbd0b25998fb64a87cc8b", size = 236460, upload-time = "2026-07-07T14:33:38.536Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/60/b22cdbee7e4013dab8b0d7647fc6181120fbbbc8f7025c226d15bd5a47fc/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bd47ba7fc3ca94896759ea0109775132d3e7ab921fbf54038e1bab2e46c313c9", size = 232003, upload-time = "2026-07-07T14:33:40.059Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/f8/72eb13dcabe7257035cea8aefd922caad2f110d252bf9f67c4c2ca763aee/charset_normalizer-3.4.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:84fd18bcc17526fc2b3c1af7d2b9217d32c9c04448c16ec693b9b4f1985c3d33", size = 223149, upload-time = "2026-07-07T14:33:41.631Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/3e/faee8f9de92b14ee1198e9163252bb15efee7301b31256a3b6d9ebfdd0dd/charset_normalizer-3.4.9-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:5b10cd92fc5c498b35a8635df6d5a100207f88b63a4dc1de7ef9a548e1e2cd63", size = 207901, upload-time = "2026-07-07T14:33:43.209Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/25/45f30093ae27dd7b92a793b61882a38685f993700113ca36e0c9c14965e1/charset_normalizer-3.4.9-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a4fbdde9dd4a9ce5fd52c2b3a347bb50cc89483ef783f1cb00d408c13f7a96c0", size = 219176, upload-time = "2026-07-07T14:33:44.725Z" },
+ { url = "https://files.pythonhosted.org/packages/48/18/c8f397329c35e32f6a837e488986f4ae03bd2abebc453b48714991630c2f/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:416c229f77e5ea25b3dfd4b582f8d73d7e43c22320302b9ab128a2d3a0b38efe", size = 217356, upload-time = "2026-07-07T14:33:46.192Z" },
+ { url = "https://files.pythonhosted.org/packages/86/7e/5ce0bba863470fd1902d5e5843968951bddf38abe4742fc97116ef4598b3/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:75286256590a6320cf106a0d28970d3560aad9ee09aa7b34fb40524792436d35", size = 209614, upload-time = "2026-07-07T14:33:47.705Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/ef/2473d3c4d869155be4af1191111d59c4d5c4e0173026f7e85b176e23bf65/charset_normalizer-3.4.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:69b157c5d3292bcd443faca052f3096f637f1e074b98212a933c074ae23dc3b8", size = 224991, upload-time = "2026-07-07T14:33:49.238Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/a3/53ddae3db108a088156aa8ddfafd411ebbc1340f48c5573f697b27f69a39/charset_normalizer-3.4.9-cp313-cp313-win32.whl", hash = "sha256:51307f5c71007673a2bf8232ad973483d281e74cb99c8c5a990af1eefa6277d9", size = 150622, upload-time = "2026-07-07T14:33:50.711Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/ef/6953a77c7cf2c2ff9998e6f575ab3e380119f100223381565a4f94c1f836/charset_normalizer-3.4.9-cp313-cp313-win_amd64.whl", hash = "sha256:fe2c7201c642b7c308f1675355ad7ff7b66acfe3541625efe5a3ad38f29d6115", size = 161947, upload-time = "2026-07-07T14:33:52.197Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/fb/d560d1d1555debbfe7849d9cac6145c1b537709d79576bf22557ed803b82/charset_normalizer-3.4.9-cp313-cp313-win_arm64.whl", hash = "sha256:611057cc5d5c0afc743ba8be6bd828c17e0aaa8643f9d0a9b9bb7dea80eb8012", size = 152594, upload-time = "2026-07-07T14:33:53.486Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/8d/496817fa0944239ecae662dd57ea765cfeaec6a735f9f025d4b7b72e7143/charset_normalizer-3.4.9-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:0327fcd59a935777d83410750c50600ee9571af2846f71ce40f25b13da1ef380", size = 317253, upload-time = "2026-07-07T14:33:54.994Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/f9/ef4a69ea338ad3c0deceea0f5f7d2380ae8b52132b06d652cb0d2cd86706/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a79d9f4d8001473a30c163556b3c3bfebec837495a412dde78b51672f6134f9", size = 215898, upload-time = "2026-07-07T14:33:56.334Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/e7/5ddfd76fc061eb52de219658a4aa431cbacadf0a0219c8854f00da50d289/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:33bdcc2a32c0a0e861f60841a512c8acc658c87c2ac59d89e3a46dacf7d866e4", size = 236718, upload-time = "2026-07-07T14:33:57.9Z" },
+ { url = "https://files.pythonhosted.org/packages/49/ba/768fa3f36048d81c477a0ce61f813bc1454d80917ccfe550abd9f44f5e24/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f840ed6d8ecba8255df8c42b87fadeda98ddfc6eeec05e2dc66e26d46dd6f58a", size = 232519, upload-time = "2026-07-07T14:33:59.811Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/c4/b3e049d2aa3766180c78507110543d9d50894cc97f57de543f1be521dcdc/charset_normalizer-3.4.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c25fe15c70c59eb7c5ce8c06a1f3fa1da0ecc5ea1e7a5922c40fd2fa9b0d5046", size = 223143, upload-time = "2026-07-07T14:34:01.517Z" },
+ { url = "https://files.pythonhosted.org/packages/19/79/55c32d06d76ae4feafe053f061f3e3ab70bcf19f4007797ce8c3efda7830/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:f7fb7d750cfa0a070d2c24e831fd3481019a60dd317ea2b39acbcebc08b6ed81", size = 206742, upload-time = "2026-07-07T14:34:03.04Z" },
+ { url = "https://files.pythonhosted.org/packages/10/e0/47c079dd82d217c807479cd59ffd30af56307ea31c108b75758970459ad3/charset_normalizer-3.4.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4d1c96a7a18b9690a4d46df09e3e3382406ae3213727cd1019ebade1c4a81917", size = 219191, upload-time = "2026-07-07T14:34:04.657Z" },
+ { url = "https://files.pythonhosted.org/packages/42/ab/b9bc2e77d6b44a7e46ef62ec5cac1c9a6ba7b9135a5d560f002696ec9995/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a4cfde78a9f2880208d16a93b795726a3017d5977e08d1e162a7a31322479c41", size = 218328, upload-time = "2026-07-07T14:34:06.115Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/78/c9c71d599f5aa2d42bcdd35cbbd46d7f535351a57e40ff7d8e5a7e219401/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:d4d6fcde76f94f5cb9e43e9e9a61f16dacefd228cbbf6f1a09bd9b219a92f1a1", size = 207406, upload-time = "2026-07-07T14:34:07.554Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/39/c914445c321a845097ce4f6ac7de9a18228a77b766272125a1ce00d851eb/charset_normalizer-3.4.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:898f0e9068ca27d37f8e83a5b962821df851532e6c4a7d615c1c033f9da6eedf", size = 225157, upload-time = "2026-07-07T14:34:09.061Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/f2/c0d4b8508565a36bc5c624e88ed297f5b0b1095011034d7f5b83a69908b5/charset_normalizer-3.4.9-cp314-cp314-win32.whl", hash = "sha256:c1c948747b03be832dceed96ca815cef7360de9aa19d37c730f8e3f6101aca48", size = 151095, upload-time = "2026-07-07T14:34:10.901Z" },
+ { url = "https://files.pythonhosted.org/packages/49/fd/a1d26144398c67486422a72bf5812cda22cb4ccfcd95a290fb41ceb4b8e2/charset_normalizer-3.4.9-cp314-cp314-win_amd64.whl", hash = "sha256:16b65ea0f2465b6fb52aa22de5eca612aa964ddfec00a912e26f4656cbef890b", size = 162796, upload-time = "2026-07-07T14:34:12.47Z" },
+ { url = "https://files.pythonhosted.org/packages/20/95/d75e82f8ce9fd323ebf059c16c9aadefb22a1ecde13b7840b35835e4886c/charset_normalizer-3.4.9-cp314-cp314-win_arm64.whl", hash = "sha256:40a126142a56b2dfc0aacbad1de8310cbf60da7656db0e6b16eebd48e3e93519", size = 153334, upload-time = "2026-07-07T14:34:14.044Z" },
+ { url = "https://files.pythonhosted.org/packages/00/5e/17398df3a139985ba9d11ed072531986f408c8fca952835ef1ab1820c02b/charset_normalizer-3.4.9-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:609b3ba8fcc0fb5ab7af00719d0fb6ad0cb518e48e7712d12fd68f1327951198", size = 338848, upload-time = "2026-07-07T14:34:15.688Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/91/7253a32e86b7e1d1239b1b36ba6dd0f021a21107ab33054b53119cc083b9/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51447e9aa2684679af07ca5021c3db526e0284347ebf4ffcec1154c3350cfe32", size = 223022, upload-time = "2026-07-07T14:34:17.248Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/32/2e64bd2be10e89c61e57ebe6a93fd98ae88eb7ebe414b5121f22c96c69eb/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cc1b0fff8ead343dae06305f954eb8468ba0ec1a97881f42489d198e4ce3c632", size = 241590, upload-time = "2026-07-07T14:34:18.813Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/ef/d96ec496cfea0c21db43b0ad03891308b02388d054cc902cf0e5a1ad6a88/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa36ec09ef71d158186bc79e359ff5fdd6e7996fe8ab638f00d6b93139ba4fcf", size = 239584, upload-time = "2026-07-07T14:34:20.52Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/ce/9af95f7876194bd7a14e3dfe4a4de2e0bff02666a3910d72beafd06cc297/charset_normalizer-3.4.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:df115d4d83168fdf2cae48ef1ff6d1cb4c466364e30861b37121de0f3bf1b990", size = 230224, upload-time = "2026-07-07T14:34:22.189Z" },
+ { url = "https://files.pythonhosted.org/packages/52/94/af74dde74a3996bd959c350709bfe50e297823d70a8c1cbd54b838880863/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:f86c6358749bd4fda175388691e3ba8c46e24c5347d0afd20f9b7edfc9faf07d", size = 212667, upload-time = "2026-07-07T14:34:23.857Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/f0/f1c4fe746c395922961b5916ed1d7d6e7d4c84851d19ed43cc89980ec953/charset_normalizer-3.4.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:32286a2c8d167e897177b673176c1e3e00d4057caf5d2b64eef9a3666b03018e", size = 227179, upload-time = "2026-07-07T14:34:25.586Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/56/6c745619ac397e8871e2bcd3cea1eec86b877488f33888b3aef5c3ed506e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:83aed2c10721ddd90f68140685391b50811a880af20654c59af6b6c66c40513c", size = 225372, upload-time = "2026-07-07T14:34:27.212Z" },
+ { url = "https://files.pythonhosted.org/packages/78/ad/98aae8630ac71f16711968e38a5acfecce41b778bf2f0312851020f565a8/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cd6c3d4b783c556fa00bf540854e42f135e2f256abd29669fcd0da0f2dec79c2", size = 215222, upload-time = "2026-07-07T14:34:28.774Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/40/9593d54209765207a7f11073c06494c1721e4ca4a0a426c597679bf7f91e/charset_normalizer-3.4.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ee2f2a527e3c1a6e6411eb4209642e138b544a2d72fe5d0d76daf77b24063534", size = 231958, upload-time = "2026-07-07T14:34:30.345Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/27/693ee5e8a18191eb38647360c51cd505013e2bd3b366aa43fd5344c21e3c/charset_normalizer-3.4.9-cp314-cp314t-win32.whl", hash = "sha256:0d861473f743244d349b50f850d10eb87aeb22bbdcc8e64f79273c94af5a8226", size = 155580, upload-time = "2026-07-07T14:34:31.884Z" },
+ { url = "https://files.pythonhosted.org/packages/80/3f/bd97d3d9c613013d07cb7733d299385b41df37f0471310f5a73dc359f0b8/charset_normalizer-3.4.9-cp314-cp314t-win_amd64.whl", hash = "sha256:9b8e0f3107e2200b76f6054de99016eac3ee6762713587b36baaa7e4bd2ae177", size = 167620, upload-time = "2026-07-07T14:34:33.438Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/c6/eee9dca4439b1061f76373f06ea855678cc4a64c1c3c90b50e479edbb8eb/charset_normalizer-3.4.9-cp314-cp314t-win_arm64.whl", hash = "sha256:19ac87f93086ce37b86e098888555c4b4bc48102279bae3350098c0ed664b501", size = 158037, upload-time = "2026-07-07T14:34:35.018Z" },
+ { url = "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl", hash = "sha256:68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5", size = 64538, upload-time = "2026-07-07T14:34:56.993Z" },
+]
+
+[[package]]
+name = "click"
+version = "8.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/76/d4/81420972a676e8ffea40450d8c8c92943e7218a78fe9b64359836cc9876b/click-8.4.2.tar.gz", hash = "sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6", size = 338000, upload-time = "2026-06-24T17:45:15.148Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/e2/79c688af8b210d232694e31e59da9f6ec747bae31c3f5946e4e9b98860d5/click-8.4.2-py3-none-any.whl", hash = "sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76", size = 119243, upload-time = "2026-06-24T17:45:13.73Z" },
+]
+
+[[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, 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, upload-time = "2022-10-25T02:36:20.889Z" },
+]
+
+[[package]]
+name = "fastapi"
+version = "0.139.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-doc" },
+ { name = "pydantic" },
+ { name = "starlette" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d3/af/a5f50ccfa659ec1802cb4ca842c23f06d906a8cc9aef6016a2caeea3d4ed/fastapi-0.139.0.tar.gz", hash = "sha256:99ab7b2d92223c76d6cf10757ab3f89d45b38267fc20b2a136cf02f6beac3145", size = 423016, upload-time = "2026-07-01T16:35:33.436Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9e/7c/8e3c6ad324ea5cb36604fc3f968554887891c316d9dfde57761611d907ad/fastapi-0.139.0-py3-none-any.whl", hash = "sha256:cf15e1e9e667ddb0ad63811e60bd11390d1aac838ca4a7a23f421807b2308189", size = 130339, upload-time = "2026-07-01T16:35:32.19Z" },
+]
+
+[[package]]
+name = "gallery-dl"
+version = "1.32.6"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/3c/86/4f24dafc8b98c808e5d92feca49ebd8dc27428c429016883a9eb91fba791/gallery_dl-1.32.6.tar.gz", hash = "sha256:33847e9e77082aa97a8cfcfc737f3eb338922adc6c89630a8aed30444f2287e5", size = 725422, upload-time = "2026-07-11T09:51:37.383Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ed/05/35c76a367757a11310147ebce33eb030ef6b3d07f6ea5e8e96d085706a7e/gallery_dl-1.32.6-py3-none-any.whl", hash = "sha256:3c93c31ed393e962b34ed95fc23368234ee3cc79cb94529542ae8fc5ae8c876e", size = 900546, upload-time = "2026-07-11T09:51:33.757Z" },
+]
+
+[[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, 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, upload-time = "2025-04-24T03:35:24.344Z" },
+]
+
+[[package]]
+name = "httpcore"
+version = "1.0.9"
+source = { registry = "https://pypi.org/simple" }
+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, 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, upload-time = "2025-04-24T22:06:20.566Z" },
+]
+
+[[package]]
+name = "httptools"
+version = "0.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/43/e5/d471fcb0e14523fe1c3f4ba58ca52480e7bd70ad7109a3846bc75892f7fb/httptools-0.8.0.tar.gz", hash = "sha256:6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999", size = 271342, upload-time = "2026-05-25T22:17:48.841Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f8/d2/c3eedaef57de65c3cc5f8dc244cf12d09c84ad258a479055aad6db23206c/httptools-0.8.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ed377e64805bdba4943c82717333f8f8603a13b09aff9cead2717c6c817fb168", size = 208428, upload-time = "2026-05-25T22:16:59.717Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/94/dfe435d90d0ef61ec0f2cc3d480eef78c59727c6c2ce039f433882f6131a/httptools-0.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9518c406d7b310f05adb1a37f80acabac40504a575d7c0da6d3e365c695ac20d", size = 113366, upload-time = "2026-05-25T22:17:00.795Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/d4/13025f1a56e615dcb331e0bbe2d9a1143212b58c263385fc5d2e558f5bac/httptools-0.8.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:57278e6fa0424c42a8a3e454828ab4f0aff27b40cddf9679579b98c6dce6a376", size = 464676, upload-time = "2026-05-25T22:17:02.014Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/95/4c1c26c0b985f8a3331682d802598f14e32dc41bf7509266eb2c04ad4801/httptools-0.8.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bbb8caadb2b742d293169d2b458b5c001ef70e3158704aa3d3ef9597624c5d1d", size = 464235, upload-time = "2026-05-25T22:17:03.109Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/82/6735be2b0ca527718c431cdb8e5f70c3862c0844a687df0f572c51e11497/httptools-0.8.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:52dd695b865fe96d9d2b16b64a895f3f57bf3cb064e8383cd3b5713a069e8085", size = 449809, upload-time = "2026-05-25T22:17:04.443Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/f9/5811c74f37a758c8a4aa3dc430375119d335947e883efc4664d8f3559a41/httptools-0.8.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:20b4aac66ff65f7db06a375808b78f42a94970aa22e826b3cb2b43eb09174124", size = 452174, upload-time = "2026-05-25T22:17:05.476Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/94/97b75870dea07b71e3ec535cebe525b08d723152e4c7d13fa887e51f4de2/httptools-0.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:a1b4c8e7a489a0d750d91894e9a8cdc295838f1924c0ca903ae993456fddec07", size = 90991, upload-time = "2026-05-25T22:17:06.75Z" },
+ { url = "https://files.pythonhosted.org/packages/14/88/1d21a36da8f5cb0fa49eafd4b169eba5608d57e75bbcf61845cbc6243216/httptools-0.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:880490234c10f70a9830743097e8958d6e4b9f5a0ffc24515023afeef984054d", size = 208247, upload-time = "2026-05-25T22:17:07.843Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/42/cc4feea2945cb3051038f090c9b36bd5b8a9d7f5a894a506a8983e33fd1c/httptools-0.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5931891fb7b441b8a3853cf1b85c82c903defce084dd5f6771ca46e31bf862c5", size = 113064, upload-time = "2026-05-25T22:17:09.136Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/a6/febbb8b8db0f58b38e44ad6cb946e6a255ae49b55f2e8543408fb7501ccd/httptools-0.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b15fc622b0f869d19207c4089a501d9bcc63ca5e071ffdd2f03f922df882dcb2", size = 523851, upload-time = "2026-05-25T22:17:10.106Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/e4/f90a0df0b83beff265b7e3b65f2a4cefd95792d4be0ac3e16049f2acd3c2/httptools-0.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:425f83884fd6343828d8c565f046cb72b6d19063f6924093e11bcd8e1548cd09", size = 518842, upload-time = "2026-05-25T22:17:11.218Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/2d/0c9ac76dd2c893841fbf6498d6acec4f2442e1b7067f6e3e316a80e494e8/httptools-0.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ef7c3c97f4311c7be57e2986629df89d49cb434dbff78eafcd48c2bff986b15a", size = 501238, upload-time = "2026-05-25T22:17:12.728Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/42/906adc91ae3a5fa9c59c0a2f21c139725bd7e5b41ae6acd485cd14123ebf/httptools-0.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a1afd7c9fbff0d9f5d489c4ce2768bd09c84a46ddefc7161e6aa82ae35c85745", size = 509567, upload-time = "2026-05-25T22:17:13.842Z" },
+ { url = "https://files.pythonhosted.org/packages/05/0b/4240efeb672751ee5b9b380cb0e3fdc050bc05f68adc7a8aefc4fcd9a69a/httptools-0.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:cd96f29b4bab1d42fa6e3d008711c75e0f79e94e06827330160e3a304227f150", size = 90918, upload-time = "2026-05-25T22:17:15.155Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/e5/8cfcabc5546e8022f168be28bcdaa128a240a0befdd03b59d558b4f18bd6/httptools-0.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:614ceea8ea606848bece2338ac03b3ce5324bcb4be8dc7d377ed708012fa4db8", size = 205148, upload-time = "2026-05-25T22:17:16.333Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/0e/0fb14848c19a686c8062ff9067c1a48793e3224b47bc5b201535b6036fce/httptools-0.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2d689918c15a013c65ef52d9fd495d766893ab831a2c8d89f2ac5940a5df847c", size = 111368, upload-time = "2026-05-25T22:17:17.586Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/1b/46f1cecf06b9bbde8e4b8c88034ac7908989e5ff7a3a388ef38392949c1f/httptools-0.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:eb3028cca2fc0a6d720e52ef61d8ebb62fcbfeb1de56874546d858d3f25a26b7", size = 486447, upload-time = "2026-05-25T22:17:18.564Z" },
+ { url = "https://files.pythonhosted.org/packages/77/00/258bfc0837221f81d9725c45f9b948a6a6b2994a147a4fb66e85100c668f/httptools-0.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:88bdd940f2b5d487b4d032c6afa5489a7dc4694410d43de3c38c4fb3af0dc45d", size = 482448, upload-time = "2026-05-25T22:17:19.912Z" },
+ { url = "https://files.pythonhosted.org/packages/04/ab/d1cef3b5523f4d272a70f42a776c3169a2dddfe3a54de4b2ce4a36341528/httptools-0.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6a43c9dd399758ccc0531acb0a3c4a6c299ee893ee9400e9c893b7bdcfae0681", size = 464460, upload-time = "2026-05-25T22:17:20.882Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/48/5d1d072442277bb2b3434e0e60690b8e8c23840ef7de8b6ea54040a536d3/httptools-0.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0770728beb05094c809b98e814edff5fef69d26ad7d21185f2f6d5884a0ba683", size = 471312, upload-time = "2026-05-25T22:17:22.085Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/66/b96623b27e51a68199ef4efdda0613cced9233fe3062ac74e50749c5ad37/httptools-0.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:7685df791fad561384bfb139e77fde27a1ffd93134e016f95a0db424ffbf77b1", size = 90117, upload-time = "2026-05-25T22:17:23.074Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/12/fa3fbf5f9517b273edea2dc982aa82a8c634091e67c590792b729017bc6f/httptools-0.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:de242a49b5d18e0a8776e654e9f6bf6d89f3875a5c35b425a0e7ce940feb3fd6", size = 206183, upload-time = "2026-05-25T22:17:24.004Z" },
+ { url = "https://files.pythonhosted.org/packages/30/fc/5e7c4cb443370f2090a3aba0453a07384d29ff66b7435bb90e77e1037599/httptools-0.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:159e9ab5f701ccd42e555a12f1ad8ff69702910fc1c996cf2bb66e5fcb7a231b", size = 112079, upload-time = "2026-05-25T22:17:25.216Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/53/771bd891eb0f236f32145d6a1775777ec85745f3cc983a1f23d1a3b8ddfe/httptools-0.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c4a9f1707e4823d54dfec6c33fa3697d302aed536ed352a7ebb5a061ddb869d0", size = 481596, upload-time = "2026-05-25T22:17:26.186Z" },
+ { url = "https://files.pythonhosted.org/packages/62/42/94e15bc68ce3d423243c45d7f1b0c7561f13844f97dc52ae23182fb65628/httptools-0.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d76ad7b951387e3632c8716a9bb03ac5b45c5f16119aa409db0459520887944e", size = 480865, upload-time = "2026-05-25T22:17:27.542Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/7c/fe2980fc03723272e30f135b62360b075f513dfe7cc73aef36c7f04012bd/httptools-0.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a3b7387147361c3fd47a0bde763c5c91b5b4cd4dc9989b8ece84ff436c99843b", size = 463189, upload-time = "2026-05-25T22:17:28.546Z" },
+ { url = "https://files.pythonhosted.org/packages/15/1b/47fc5fff68acd1bfa20b4734059c9a06cadb88119dcd5258b5b0d21d91c8/httptools-0.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f256d6ce930c52ca1cb2a960b7da03548c454e7d28b06059ad41bfe789036ce0", size = 466610, upload-time = "2026-05-25T22:17:29.816Z" },
+ { url = "https://files.pythonhosted.org/packages/60/bd/07b13c93ffd9bec9546e0d43f8e19378dd696dbd278511406bc07371ef1f/httptools-0.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:19d1ee275bb59ba2643ba9a3a1e51cc0c788caf2b8df506368e03f56fdd08527", size = 92705, upload-time = "2026-05-25T22:17:31.133Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/c4/121648f68ce066d7bd762d6b6d97e620847642d38d54f3d90ff11d947629/httptools-0.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:de1ed58a974e75d56560acc7e7fed01a454994429456f65209789992e41f2568", size = 215023, upload-time = "2026-05-25T22:17:32.401Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/b0/312a062ae741ae3e8baa8c8bf20be81b2e67337b259ab4349bebc7b6142e/httptools-0.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e93c227b595c6926c1acee96891dd9da4be338cfbe82e5cd3bb9d8dd7dc4ac0b", size = 117405, upload-time = "2026-05-25T22:17:33.742Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/37/fccd705f795386bb05bf413012fecff2a33e5aa8c2f069096de3e9fd8702/httptools-0.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2a021c3a8e65cc125390d72f59b968afca3bdcaff25bd67965e0a055a14946ca", size = 558497, upload-time = "2026-05-25T22:17:34.732Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/39/f172e8003576de35f5ba77ff417cf0e34429d35dc014deef15afa337a72c/httptools-0.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48774d39cbb70e2b1f71f88852a3087ae1d3a1eb80482bb48c13067ab080c14f", size = 571585, upload-time = "2026-05-25T22:17:35.813Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/b9/f5564760af99f3dbbf3f9104dc00e5da27e96cf433c6bdcf77617f70bf3f/httptools-0.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:88eead8ec8680a9f146c655bc88445a325bd7921cfd8194c7337e9467282427d", size = 543297, upload-time = "2026-05-25T22:17:37.08Z" },
+ { url = "https://files.pythonhosted.org/packages/99/67/8d9f2c313618e161b82f3873188e7196126da1d6e29688df40eb3997c77a/httptools-0.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2c032fa028f46871ec7e1fc59fc15e8023eab3e6bbe6ece786a1611719a5d081", size = 539535, upload-time = "2026-05-25T22:17:38.032Z" },
+ { url = "https://files.pythonhosted.org/packages/48/63/b906c01e53f50d432c0defe43ce52764a111dc1bdd028bafbeb54dcfd008/httptools-0.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:384c17174464c8e873398b7af24f0b1f44d992c820328413951a625323155d77", size = 108209, upload-time = "2026-05-25T22:17:39.473Z" },
+]
+
+[[package]]
+name = "httpx"
+version = "0.28.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "certifi" },
+ { 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, 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, upload-time = "2024-12-06T15:37:21.509Z" },
+]
+
+[[package]]
+name = "idna"
+version = "3.18"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" },
+]
+
+[[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, 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, upload-time = "2025-10-18T21:55:41.639Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.4.6"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version < '3.12'",
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz", hash = "sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda", size = 20735807, upload-time = "2026-05-18T23:37:14.07Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b3/49/ec46835a70be8fa6446c495126ac84fdb28cb2558e1620ffb87a10c8b64c/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4", size = 16969194, upload-time = "2026-05-18T23:33:13.503Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/0d/f5957185c0ee2f3e12f78715aa9e3b353fd83633316c8532b38faa37e3f6/numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d", size = 14964111, upload-time = "2026-05-18T23:33:17.795Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/40/40a40ee0ddf7ceb782c49af278894b686e586d65d8c1889c8b5da01a3d7d/numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8", size = 5469159, upload-time = "2026-05-18T23:33:20.654Z" },
+ { url = "https://files.pythonhosted.org/packages/63/13/f9a8046535cb21deae82f8d03de9617e08882d274fad2539630761888228/numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538", size = 6798936, upload-time = "2026-05-18T23:33:22.987Z" },
+ { url = "https://files.pythonhosted.org/packages/33/a8/6fa8c1a345a8c85dbb21932c447bee07c30a2c2a3f31e369c0a84b300147/numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47", size = 15966692, upload-time = "2026-05-18T23:33:26.62Z" },
+ { url = "https://files.pythonhosted.org/packages/02/03/74fe2a4cb3817d94d86402f2506554130a2f01414e299b5a843e5a8a957f/numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93", size = 16918164, upload-time = "2026-05-18T23:33:29.955Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/80/3615be3313f7e7696609bc194b9f0101da809df79e859bdb84e0cd043f46/numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8", size = 17322877, upload-time = "2026-05-18T23:33:34.724Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/ac/a691e0fe2675e370d0e08ff905adc49a1c8830e8cae03efe4477e92cd55d/numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6", size = 18651487, upload-time = "2026-05-18T23:33:38.217Z" },
+ { url = "https://files.pythonhosted.org/packages/15/a7/9bc1cd626d7bf6869bfedf27b91b6ab5dd607758bf8e959d6fa80c6a59cb/numpy-2.4.6-cp311-cp311-win32.whl", hash = "sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8", size = 6233945, upload-time = "2026-05-18T23:33:41.331Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/31/7fc6239c12bce7e931463251cca4426c465e1876ba3cc785402ef4dd8f4e/numpy-2.4.6-cp311-cp311-win_amd64.whl", hash = "sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147", size = 12608406, upload-time = "2026-05-18T23:33:44.131Z" },
+ { url = "https://files.pythonhosted.org/packages/27/83/140f85a466595a16382996a1bf06b2b54bcd597488921b0c9daaeeda72af/numpy-2.4.6-cp311-cp311-win_arm64.whl", hash = "sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577", size = 10479528, upload-time = "2026-05-18T23:33:50.725Z" },
+ { url = "https://files.pythonhosted.org/packages/95/2a/3d7b5ac8aac24feaf9ad7ed58f45b0bbc06d37e4338ae84c9f2298b570f9/numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1", size = 16689119, upload-time = "2026-05-18T23:33:54.065Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/12/92c4c131527599e8288d6918e888d88726f84d805d784b771f32408aeaef/numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb", size = 14699246, upload-time = "2026-05-18T23:33:57.621Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/fe/c0a6b7b2ca128a8fb228575147073b660656734b8ebe4d76c8fd748dcc79/numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41", size = 5204410, upload-time = "2026-05-18T23:34:00.302Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/d4/9770d14ba719432bb90a421bfd443872ed0f70f7264b64bec12ea363d5fd/numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698", size = 6551240, upload-time = "2026-05-18T23:34:02.852Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/c6/50a46a6205feba2343f1d6d17438107c5dc491ed1c736e6ea68689fd906b/numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f", size = 15671012, upload-time = "2026-05-18T23:34:05.485Z" },
+ { url = "https://files.pythonhosted.org/packages/99/60/14115e6364fa676c5397c2ad3004e527e9aa487abf5d0706ec81bbd08529/numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853", size = 16645538, upload-time = "2026-05-18T23:34:09.265Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/c5/693cbe59e57db94d2231fa519ca3978dc9e19da5a8f088588f5c6e947ff2/numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a", size = 17020706, upload-time = "2026-05-18T23:34:13.053Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/fc/85b7c4eff9b4966ade25c2273cf7e7012e92366c032058653934b37de044/numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2", size = 18368541, upload-time = "2026-05-18T23:34:17.024Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/81/e1b27545deedce7f4a0b348618c6b62d74e36a4dc9ccd42f3eb2f85eee32/numpy-2.4.6-cp312-cp312-win32.whl", hash = "sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45", size = 5962825, upload-time = "2026-05-18T23:34:20.3Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/ca/feab00bd44aa5fe1ad2c18f08b4d3bb92e26484b0b1d1443897809ed528c/numpy-2.4.6-cp312-cp312-win_amd64.whl", hash = "sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751", size = 12321687, upload-time = "2026-05-18T23:34:23.095Z" },
+ { url = "https://files.pythonhosted.org/packages/63/cf/5a6d34850a39d1093558564f77ee8e8e0bee5061151b8f05a55711001ec7/numpy-2.4.6-cp312-cp312-win_arm64.whl", hash = "sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8", size = 10221482, upload-time = "2026-05-18T23:34:25.876Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/82/bdab26d7438c6791ca31b7c024ca37c1eab8b726ba236129005cd4a06e45/numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0", size = 16684648, upload-time = "2026-05-18T23:34:29.41Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/30/a80189bcc7f5e4258b3fbc3968d909d1756f54d023299ecc39ad6fdb9ef8/numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb", size = 14693902, upload-time = "2026-05-18T23:34:33.013Z" },
+ { url = "https://files.pythonhosted.org/packages/97/12/70b5d0d7c15e1ebb8a6a84a8caa1d19e181d84fb58bb6d70aca29099dec1/numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f", size = 5198992, upload-time = "2026-05-18T23:34:36.132Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/8c/ebd2a8f8a83541f8d38cc5667e8c2b69cecfd30da6e45693e8158857d44b/numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3", size = 6546944, upload-time = "2026-05-18T23:34:38.484Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/c5/7b863a97a91671a0338f4253bd3b5a3d3852f0692dae91711c9f4a10e787/numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b", size = 15669392, upload-time = "2026-05-18T23:34:41.257Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/9d/3584b9984ca4c047aea75214ce1a4c4c73d849bd71b604264b7f5653f8a8/numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089", size = 16633220, upload-time = "2026-05-18T23:34:45.075Z" },
+ { url = "https://files.pythonhosted.org/packages/05/ae/7c67fba23bd98caec7c99261f3a16072ade14813486b0282cb29846de832/numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a", size = 17020800, upload-time = "2026-05-18T23:34:49.065Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/5d/3b6725cb31d983c5e66916f5d36f6d7e5521129e4c4404d64f918292a5b6/numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605", size = 18357600, upload-time = "2026-05-18T23:34:52.709Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/da/2ccc6c2fe8898dee01d90c75c5f5f914a23daf99e3e0f59516a08760c8b5/numpy-2.4.6-cp313-cp313-win32.whl", hash = "sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91", size = 5961134, upload-time = "2026-05-18T23:34:55.618Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/cd/9cc4dc876fb065d5c220aae4d5e14826b2715331bb7618ce1fb07a679d99/numpy-2.4.6-cp313-cp313-win_amd64.whl", hash = "sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359", size = 12318598, upload-time = "2026-05-18T23:34:58.928Z" },
+ { url = "https://files.pythonhosted.org/packages/39/1e/c0bcba1f8694116485fe28fd1be698c278fcda4141c5b0e53a2aed8b12a8/numpy-2.4.6-cp313-cp313-win_arm64.whl", hash = "sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778", size = 10222272, upload-time = "2026-05-18T23:35:02.167Z" },
+ { url = "https://files.pythonhosted.org/packages/63/6d/cc5619247c8f4204e507f5883528372e4ac4bb189e579fb859a12e480b1f/numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1", size = 14821197, upload-time = "2026-05-18T23:35:05.468Z" },
+ { url = "https://files.pythonhosted.org/packages/00/58/f1c39161c87d9e9bed660f1ed4bafc0e403d5ec9650b6dd77aead07d489b/numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe", size = 5326287, upload-time = "2026-05-18T23:35:08.693Z" },
+ { url = "https://files.pythonhosted.org/packages/af/57/3917ab0fd97f271a8694513581b8a36c655f111c446852c302f04ccdb6fc/numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997", size = 6646763, upload-time = "2026-05-18T23:35:11.459Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/0f/037e64c494b67581ae18193d770adef354c41f3f2c8ebf865602d949bf8f/numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20", size = 15728070, upload-time = "2026-05-18T23:35:14.79Z" },
+ { url = "https://files.pythonhosted.org/packages/21/a6/5d2bae9c9542eb4df16dc9c46dc79c186e9bad53805dfa5399a6023c6db0/numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d", size = 16681752, upload-time = "2026-05-18T23:35:18.836Z" },
+ { url = "https://files.pythonhosted.org/packages/92/14/23d1dfb410ae362cd59ce53e936b1513d545eb40db3949ced632e19a459e/numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67", size = 17086024, upload-time = "2026-05-18T23:35:22.52Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/6e/23595a2c642cdf3bc567877064bdd7f91c8b0038a4453cf2daf7248eafe9/numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd", size = 18403398, upload-time = "2026-05-18T23:35:26.398Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/90/0ac3bc947217e66dec77e7cbc6a1979d1af70b6461b82f620d3bccd5e4c8/numpy-2.4.6-cp313-cp313t-win32.whl", hash = "sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab", size = 6084971, upload-time = "2026-05-18T23:35:29.387Z" },
+ { url = "https://files.pythonhosted.org/packages/77/71/5673e351671a1d2bd6063b91b44f70c0affea7d1516fa7a6572941ba4aa1/numpy-2.4.6-cp313-cp313t-win_amd64.whl", hash = "sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75", size = 12458532, upload-time = "2026-05-18T23:35:32.175Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/88/19d3503c5046e688f049274b27a3ef3d771152fa80d3ba3d01a3dff61abe/numpy-2.4.6-cp313-cp313t-win_arm64.whl", hash = "sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd", size = 10291881, upload-time = "2026-05-18T23:35:35.465Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/91/3ab2044d05fd16d343c5ac2e69b127f1b2854040dd20b193257c78028bd3/numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079", size = 16683458, upload-time = "2026-05-18T23:35:38.353Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/62/764ce66fa4147ae6d73071a3abf804ffe606f174618697c571acdf26a7c9/numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7", size = 14704559, upload-time = "2026-05-18T23:35:42.14Z" },
+ { url = "https://files.pythonhosted.org/packages/60/61/23f27c172f022e04025b7dc2367f4d63c1a398120607ec896228649a6f48/numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5", size = 5209716, upload-time = "2026-05-18T23:35:45.377Z" },
+ { url = "https://files.pythonhosted.org/packages/03/71/21cf70dc6ea3e3acb95fc53a265b2fc248b981f0194ceb5b475271b8809d/numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096", size = 6543947, upload-time = "2026-05-18T23:35:47.926Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/91/64288395ee1799bd2e0b04a305dce9666da90c961e1f3fe982a05ee1c036/numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b", size = 15685197, upload-time = "2026-05-18T23:35:50.863Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/eb/ebffaa97dc55502df69584a8f0dcf07f69a3e0b3e2323670a2722db9aa39/numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8", size = 16638245, upload-time = "2026-05-18T23:35:54.752Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/0b/54f9da33128d7e350fab89c7455902eeae70349ee52bddb448dc4a576f45/numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402", size = 17036587, upload-time = "2026-05-18T23:35:58.355Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/f0/fdebc1052db1cc37c64beb22072d67cd6d1c71adca1299f53dec2b5e20d3/numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb", size = 18363226, upload-time = "2026-05-18T23:36:02.845Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/b4/298628d98c72b57e57f7165ae6a481a1deaf6f3c28262a6e4c739c275930/numpy-2.4.6-cp314-cp314-win32.whl", hash = "sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1", size = 6010196, upload-time = "2026-05-18T23:36:05.92Z" },
+ { url = "https://files.pythonhosted.org/packages/df/ac/46de6dda46478f7942f839e094970be2d4a861e005c4b3bf07c92e291a09/numpy-2.4.6-cp314-cp314-win_amd64.whl", hash = "sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261", size = 12450334, upload-time = "2026-05-18T23:36:09.107Z" },
+ { url = "https://files.pythonhosted.org/packages/78/92/b8b798ac784102c0da830d2257d59358e3d3d90d1e2b3f2575dad976c5cf/numpy-2.4.6-cp314-cp314-win_arm64.whl", hash = "sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6", size = 10495678, upload-time = "2026-05-18T23:36:12.766Z" },
+ { url = "https://files.pythonhosted.org/packages/30/34/ec28d1aa8115971537c01469ab2011ee96827930f0a124de1000cc2a7ed7/numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a", size = 14823672, upload-time = "2026-05-18T23:36:16.473Z" },
+ { url = "https://files.pythonhosted.org/packages/16/bd/f6d1fede4e54e8042a7ff97bb495510f3c220f94bcd9e8b228e87c92cc0d/numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e", size = 5328731, upload-time = "2026-05-18T23:36:19.767Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/f0/e105b9e2fd728a9910103884decd6951d9dd73896b914a98d9a231de02ee/numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e", size = 6649805, upload-time = "2026-05-18T23:36:22.266Z" },
+ { url = "https://files.pythonhosted.org/packages/82/dd/1206a7ca6ab15e3f02069707ca96222e202af681bb73756da7527f3cb837/numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43", size = 15730496, upload-time = "2026-05-18T23:36:25.713Z" },
+ { url = "https://files.pythonhosted.org/packages/51/e7/38d3ea825dcab85a591734decb2f6c67caa7c8367d374df1a1c3842f9b07/numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e", size = 16679616, upload-time = "2026-05-18T23:36:29.652Z" },
+ { url = "https://files.pythonhosted.org/packages/93/b7/caabfdf53edf663e0b4eb74d7d405d83baef09eb5e83bcd32d601d72b93e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895", size = 17085145, upload-time = "2026-05-18T23:36:33.449Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/45/68d7c33a6bcf3e5aa3bdbd57a367e6f615286dfd6482f97e8ffeb734306e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4", size = 18403813, upload-time = "2026-05-18T23:36:37.369Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/50/0753655aa844c99cd9e018aacf76f130f1bd81d881bb74bc0aef5d73a8ba/numpy-2.4.6-cp314-cp314t-win32.whl", hash = "sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063", size = 6156982, upload-time = "2026-05-18T23:36:40.817Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/d4/7c67becf668f973cb490cec3e98dfd799d866f9c989a54d355672cfa0db6/numpy-2.4.6-cp314-cp314t-win_amd64.whl", hash = "sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627", size = 12638908, upload-time = "2026-05-18T23:36:43.996Z" },
+ { url = "https://files.pythonhosted.org/packages/43/bb/e1c71a4295b1b1d1393d50dbb4f2a36283c6859d9d3892e84f00ec5a91d5/numpy-2.4.6-cp314-cp314t-win_arm64.whl", hash = "sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66", size = 10565867, upload-time = "2026-05-18T23:36:47.114Z" },
+ { url = "https://files.pythonhosted.org/packages/de/12/b422cc84439adc0d00de605bf4a308890ae5c26f2c71fbd73e5d08fbb0dd/numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662", size = 16847511, upload-time = "2026-05-18T23:36:50.673Z" },
+ { url = "https://files.pythonhosted.org/packages/44/53/f481bef68011740f8849418d82db07230e825013f31f4eef5ba5b805316a/numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7", size = 14889064, upload-time = "2026-05-18T23:36:53.879Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/57/42ed575c10ced8af951d426bc4e1f8aff16fd851db33f067036215a7f860/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f", size = 5394157, upload-time = "2026-05-18T23:36:57.194Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/ef/f66cc724fcc36c1e364c67f51ae9146090b8b584f27d58b97fdae3edd737/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c", size = 6708728, upload-time = "2026-05-18T23:36:59.575Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/9c/c531f2293b91265d8b48e9b329f54fdd7ffae73cb4134ea10cca4237e9cc/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0", size = 15798374, upload-time = "2026-05-18T23:37:02.674Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/b0/413077f6b1153ed3cba361401c6783bbad6114804a000cc22eb71c13e190/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02", size = 16747286, upload-time = "2026-05-18T23:37:06.327Z" },
+ { url = "https://files.pythonhosted.org/packages/15/ce/e5ec180bc41812edcd8daeb8639d205622c0e8c02259d8ab25a0201b3c2a/numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73", size = 12504263, upload-time = "2026-05-18T23:37:09.715Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.5.1"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.12'",
+]
+sdist = { url = "https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz", hash = "sha256:a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3", size = 20755553, upload-time = "2026-07-04T17:08:00.933Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/62/7b/14687aa674250e5e546f616f486b0d56d3631cd5b2415739141ce40bdcea/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2c889b56fe48b1018f764b0eec8df59ab654e9148aa91faa12596043500de277", size = 16801574, upload-time = "2026-07-04T17:06:12.423Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/19/cc5bb2a3f2913d27d6dbb2c78d25921fabaedc6741d4a5a615a11f3c5bf3/numpy-2.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab451b59c5643c570974c43aef780703ef1d3b4965d2be07afd530615a9358d1", size = 11772250, upload-time = "2026-07-04T17:06:15.726Z" },
+ { url = "https://files.pythonhosted.org/packages/42/77/fdf34a71dd30f54979b18603bee915e0aaf825b07afe79acd60b04b691e2/numpy-2.5.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:78798bd5b9ad744056af8efa90e3b9ddaa53272a0848a483084a1cc0a13b2dc0", size = 5331516, upload-time = "2026-07-04T17:06:17.913Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/e2/eb7efa015b4cce41e2517bf182a7fce0d7d5b9d9ed76a29bfa0f4fe4505c/numpy-2.5.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:2ae0ca40bcb22d6ba59c1dfd5446f49940b0f2d821fde133f10dda11f816b84e", size = 6664863, upload-time = "2026-07-04T17:06:20.02Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/4b/a2b32dd94ee9ffbeecb28152240042a3949db33b1c834d44090b80e1b3b8/numpy-2.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:61ac47e772e6b8ea489e1d2f441a34c5c3ac17327e7ce294cbdf535795ad4e75", size = 15167977, upload-time = "2026-07-04T17:06:21.621Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/a9/6e73d68500f80773f65f0654ea932019d6694329a0eb0ed0533de38df376/numpy-2.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:59fda5e192b570217ec2580c96f00e9a7e12ef6866a900eb089b62c1a32545ca", size = 16672469, upload-time = "2026-07-04T17:06:24.064Z" },
+ { url = "https://files.pythonhosted.org/packages/24/7d/ad3e59015135f5261c95fd4cafeff159c955febd83a99a1d9250c4233815/numpy-2.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f7119ebff1a9829e9f431a4f9d28e703023bb6b9fe7c8f724467dbfc27c94ab3", size = 16527531, upload-time = "2026-07-04T17:06:26.69Z" },
+ { url = "https://files.pythonhosted.org/packages/83/d0/a39b2fbcde9cb17a1dac678f254b33a6336298af9df338824c685425d5e8/numpy-2.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e824c2acf8862052246be5a44c15da1777940c60d010dd2aab897824d9c430f9", size = 18431940, upload-time = "2026-07-04T17:06:29.521Z" },
+ { url = "https://files.pythonhosted.org/packages/04/12/cff070947791c1ed425ff76413189adbdc2fbe215eba7ce7fa454a03c7f8/numpy-2.5.1-cp312-cp312-win32.whl", hash = "sha256:08d60c810432eb83360958dea0999ac4cfb94531ea8efcbf0b7f277c2068aeb2", size = 6066764, upload-time = "2026-07-04T17:06:32.571Z" },
+ { url = "https://files.pythonhosted.org/packages/65/66/53f31807a48a750f9d748da273bc3fcedd12b27ff1f3e373bfec55ef2dc0/numpy-2.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:f7d60026c0bdb1380e83bfa7a0419c4577ee4b9a08880afcb6dadeb74c649fa2", size = 12430966, upload-time = "2026-07-04T17:06:34.926Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/2a/d1a88066b1c14186f5d3c0d18c94f17b064511982bab0578d49ee9d43c29/numpy-2.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:17a25e09640602e10bc8de0e6fa2b3fd68eedd84ba6d7842dc8f32f9ab87bd0b", size = 10350488, upload-time = "2026-07-04T17:06:37.785Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/07/ec2a3f0c91761581d4b7104a740791800025983f9a4dc4e73f91a99aeac4/numpy-2.5.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0bfebd8695f9863592fe744be833a258120b14a9f39da255e8aa8fade2c0ddd1", size = 16796419, upload-time = "2026-07-04T17:06:40.37Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/ab/ddb499fc4f8780354395face5b65c7fd107bcd6e1d667a5f07d046956f6f/numpy-2.5.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:30b44a6b53a7ae63c54c089a8726e5563ed302716c5b7ccc85afade40b0e7ff6", size = 11765832, upload-time = "2026-07-04T17:06:42.768Z" },
+ { url = "https://files.pythonhosted.org/packages/88/b3/3c28c558a09fc72100c646dac6d2fce8e834c471b0edca01a29996706117/numpy-2.5.1-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:6165343f81b56ef8f514f396989e529b61d9dc709b99421b07e9f3e698e2287d", size = 5325143, upload-time = "2026-07-04T17:06:45.466Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/0e/ce19b985bb15c596f4f05954e76cccc77c845083b3b8f938a6c68e523128/numpy-2.5.1-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:4939237038ada79308dda3204ac6462df056b5672b2e25db1149cf873668b3e1", size = 6659749, upload-time = "2026-07-04T17:06:47.288Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/20/1ee6614d64332a1bba6411f38e68cb79eec1b2459e20a623777c5c5492a2/numpy-2.5.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c6759f538fb912fc46de0a6b1758ccf7b57bc7c7ebebc23974fdac3de8db0cd", size = 15164716, upload-time = "2026-07-04T17:06:49.494Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/a7/2bcd3fdbb87804755c35b729bf8709d62025c5f4cfd7d5b2415997097515/numpy-2.5.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9726558e8db4a5bf7929a70ae50f63abda4daf0efe810e3bfbab95976f75fc1a", size = 16661440, upload-time = "2026-07-04T17:06:52.061Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/d7/a41e3310c886fe457d36e670bbf24fae411aca8a7b6ad92a32afd924077c/numpy-2.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3935f3b419b244a02732676fa5317a9193cc596a4c0646db07e5b421229ac9f7", size = 16526305, upload-time = "2026-07-04T17:06:54.605Z" },
+ { url = "https://files.pythonhosted.org/packages/53/75/4333a9a707c1edd3a4e1a0c58eca52c0f31e55089fa80db02b5565b24df7/numpy-2.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dc932a65ded7ce9013d120845a2514dcccb1a67bfc8deb8d37633762951904a6", size = 18423008, upload-time = "2026-07-04T17:06:57.54Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/90/e314a32b1c11a2ffe818ddad3a57b50b4b6e1b6c487192eb50cdef0415d0/numpy-2.5.1-cp313-cp313-win32.whl", hash = "sha256:4b4ff1608417eb7a59da7b967bbb798cacfe071d2caf526a24281cd562072ed9", size = 6063885, upload-time = "2026-07-04T17:07:00.14Z" },
+ { url = "https://files.pythonhosted.org/packages/10/70/800b3fca480af32df9e8ea9f3d4a0c8feb4b32d7f195d174eabbda4829ad/numpy-2.5.1-cp313-cp313-win_amd64.whl", hash = "sha256:6c3fe51bc6a16453d452997053454f309e8e0ed7b42d6b361ce4ac8c32913d74", size = 12425674, upload-time = "2026-07-04T17:07:02.387Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/0b/196350c122f50f6ca56846f2d71efd5e0d24b7b2e07355e019b2e2c7a11e/numpy-2.5.1-cp313-cp313-win_arm64.whl", hash = "sha256:f7feb014281029e628ba2d5a007407443b06e418b6fe451d1e2adcbc8eba0107", size = 10350256, upload-time = "2026-07-04T17:07:04.878Z" },
+ { url = "https://files.pythonhosted.org/packages/db/f4/731b6085a83faf6ca843394cbd5e217280c214399f7e8b21b9f552af0ae2/numpy-2.5.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7c786fe9a5bbe360022e584c5a34cf6b54265c71bd7ec8ac3d8fec38968071f8", size = 16795063, upload-time = "2026-07-04T17:07:07.374Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/64/0e215f2048dd11a55bb989ed41b3585ef57452404e638d703a211a3e4157/numpy-2.5.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:32985c896d897419ef8da6917872d80b78ad0ea26d85b23245c7366ffde76d75", size = 11776652, upload-time = "2026-07-04T17:07:09.907Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/59/2b844c7a6e9deff69b404a66221e1542937734f65d5e6e39411876053862/numpy-2.5.1-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:efd736408cc97c79b9e6917338dfc8f06013b2274f992e96b1d9a81a71e2a2c2", size = 5335944, upload-time = "2026-07-04T17:07:12.227Z" },
+ { url = "https://files.pythonhosted.org/packages/86/51/9bf7cb2cabcebc9e017e4ec7e6322b378317a542c08b4cb68479c1efc716/numpy-2.5.1-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:ab84dc6b074fa881cae55bea94cc4f68e285181ba7f32497bf7dee6b1496165b", size = 6656266, upload-time = "2026-07-04T17:07:14.368Z" },
+ { url = "https://files.pythonhosted.org/packages/83/3e/fb7615b211b82a32f44d5180a6d421b61f84d4fadd578b48ba4ac34e189f/numpy-2.5.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:caf3e317d33d60c37986b452613f4ab51246d0691350c03d0cb4a898627f4a95", size = 15179720, upload-time = "2026-07-04T17:07:16.272Z" },
+ { url = "https://files.pythonhosted.org/packages/41/5f/0f992cb24560673496c5d68de61913b57166ce530ffda07c1f280e0cc464/numpy-2.5.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:54ad769f17bc2d833b620851989f62054fb9ab93c969d9e1dc3c8e3d56beea21", size = 16664835, upload-time = "2026-07-04T17:07:19.021Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/2f/97d6475ee91afe2587797d09446f9d3e475ad4cb681662d824809327b75a/numpy-2.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c12afb53450fa976d4c681c50a7423729a4c51c0465ed9f32b8a9cabbc472373", size = 16539135, upload-time = "2026-07-04T17:07:22.015Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/5b/4db81e4ba0be7e2776b1de68c82aa862c7f8ec27e1b4927d4ae075e20678/numpy-2.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e8c11c405efc5ff6816d5983c96cdfa215bab3428961243af3ff59b228490438", size = 18426684, upload-time = "2026-07-04T17:07:24.941Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/64/c0ba2d90724d450279a7df8f32057241070250a26a7e2b5337d77347f481/numpy-2.5.1-cp314-cp314-win32.whl", hash = "sha256:f2479a47f8d5932d1718168a681ad6e536a9df484c83cfcf9de365e164537ace", size = 6116103, upload-time = "2026-07-04T17:07:27.622Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/1a/837f9ed7405adcd7a40538792eb169eddd8fa5630c16a1ef49dae71a30f4/numpy-2.5.1-cp314-cp314-win_amd64.whl", hash = "sha256:24d0eb82c0541d3415a33425db64ae439dffccd7b4dbcb30e7c35120205c506a", size = 12562177, upload-time = "2026-07-04T17:07:29.887Z" },
+ { url = "https://files.pythonhosted.org/packages/22/ed/49707938b6dd0a78a9178dd93227dc89e4c11af47f5c798d70366e8d0483/numpy-2.5.1-cp314-cp314-win_arm64.whl", hash = "sha256:5a4c988b38d261deeeaad9954e3deb091ad905c94e8bb6708654ef1d97f286b0", size = 10627739, upload-time = "2026-07-04T17:07:32.568Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/c7/bb4b882cfe7f299cbc8b66e42e7dd78cf9d14e40f9469fc5e3db7e15b3bd/numpy-2.5.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a33276be12fa045805f477f22482088b66bb758ffbe89a9d21457de863a32e22", size = 11894709, upload-time = "2026-07-04T17:07:34.941Z" },
+ { url = "https://files.pythonhosted.org/packages/40/3f/5af7f4a7f6224aef48017aa82bb6174c7a659d724be0c75017b7e64a55b4/numpy-2.5.1-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:f089d7b00756190aacf1f5d34bdf38c3c430ac82b4f868f8cede73380460fce7", size = 5453810, upload-time = "2026-07-04T17:07:37.495Z" },
+ { url = "https://files.pythonhosted.org/packages/20/c9/3474309bc94d634d3f9c3eddf03250ecb8c22cd948ef16fef69a77cc5d7b/numpy-2.5.1-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:09e9bfd8d2cf479c7d174804fb3811c53a8e9f20a37444008606b57d6b7a826d", size = 6761189, upload-time = "2026-07-04T17:07:39.563Z" },
+ { url = "https://files.pythonhosted.org/packages/90/8a/558ae39fdd55d7e7f7fef9a84a6e964ac6b23edbd2a07e52bb084500507d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e68d8dd1e7eba712948f2053a29ec86917bc70ba1358df869d9f06649ef9cf09", size = 15225039, upload-time = "2026-07-04T17:07:41.682Z" },
+ { url = "https://files.pythonhosted.org/packages/63/27/ca7392b2d030277bdf0273e7d23255b3ee57d57a7c170a6f4fb3981e1e5d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:99d5095fa265a0c4152e7bb12759e14381ef5496152f1ce58f44bdf55c44beb4", size = 16701306, upload-time = "2026-07-04T17:07:44.611Z" },
+ { url = "https://files.pythonhosted.org/packages/02/42/03d53ae7996c44d4374a8262e9dc41671fd56cbb98f7d47ef85cf5da4c6b/numpy-2.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ab87a91b3cc3382b8956095bd8f95e00cf679bb81554339be1a2ba404a1473c1", size = 16589955, upload-time = "2026-07-04T17:07:47.694Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/15/6c1784ae469640e65db111e9a34b3d0f14d91e8a38b9ce34810ced370dbb/numpy-2.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:224ca51130ef7da85bea2191625181cb4f337f9cb64b471f10c1a12aa8b60077", size = 18464252, upload-time = "2026-07-04T17:07:50.684Z" },
+ { url = "https://files.pythonhosted.org/packages/94/a8/f98e50356cf167df656c526c2dfeec2d7dde182f2a3da4b458a5938e2776/numpy-2.5.1-cp314-cp314t-win32.whl", hash = "sha256:6eab239876581b2b3c5a242281b6007bbdbcd1c7085d7709bb57c5929b11e6bf", size = 6263298, upload-time = "2026-07-04T17:07:53.445Z" },
+ { url = "https://files.pythonhosted.org/packages/72/ac/96ae880cdecad0b3275d9359fcec72667b49a4863c9f12942e43679dda02/numpy-2.5.1-cp314-cp314t-win_amd64.whl", hash = "sha256:83ce9c80d5b521b0d77ddcbe5447c218d247929b6cc056ca5351342accfff0af", size = 12748623, upload-time = "2026-07-04T17:07:55.384Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/5a/4d2b1601df3602dba7a14f3348ba9bfe94a18adb428e693df6154c293831/numpy-2.5.1-cp314-cp314t-win_arm64.whl", hash = "sha256:5a6db61f9aaa57e369905c67d852045d3c4f7126405b29d09b19dec118e9c9cb", size = 10697674, upload-time = "2026-07-04T17:07:58.506Z" },
+]
+
+[[package]]
+name = "opencv-python-headless"
+version = "4.13.0.92"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.12'" },
+ { name = "numpy", version = "2.5.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/79/42/2310883be3b8826ac58c3f2787b9358a2d46923d61f88fedf930bc59c60c/opencv_python_headless-4.13.0.92-cp37-abi3-macosx_13_0_arm64.whl", hash = "sha256:1a7d040ac656c11b8c38677cc8cccdc149f98535089dbe5b081e80a4e5903209", size = 46247192, upload-time = "2026-02-05T07:01:35.187Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/1e/6f9e38005a6f7f22af785df42a43139d0e20f169eb5787ce8be37ee7fcc9/opencv_python_headless-4.13.0.92-cp37-abi3-macosx_14_0_x86_64.whl", hash = "sha256:3e0a6f0a37994ec6ce5f59e936be21d5d6384a4556f2d2da9c2f9c5dc948394c", size = 32568914, upload-time = "2026-02-05T07:01:51.989Z" },
+ { url = "https://files.pythonhosted.org/packages/21/76/9417a6aef9def70e467a5bf560579f816148a4c658b7d525581b356eda9e/opencv_python_headless-4.13.0.92-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5c8cfc8e87ed452b5cecb9419473ee5560a989859fe1d10d1ce11ae87b09a2cb", size = 33703709, upload-time = "2026-02-05T10:24:46.469Z" },
+ { url = "https://files.pythonhosted.org/packages/92/ce/bd17ff5772938267fd49716e94ca24f616ff4cb1ff4c6be13085108037be/opencv_python_headless-4.13.0.92-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0525a3d2c0b46c611e2130b5fdebc94cf404845d8fa64d2f3a3b679572a5bd22", size = 56016764, upload-time = "2026-02-05T10:26:48.904Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/b4/b7bcbf7c874665825a8c8e1097e93ea25d1f1d210a3e20d4451d01da30aa/opencv_python_headless-4.13.0.92-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:eb60e36b237b1ebd40a912da5384b348df8ed534f6f644d8e0b4f103e272ba7d", size = 35010236, upload-time = "2026-02-05T10:28:11.031Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/33/b5db29a6c00eb8f50708110d8d453747ca125c8b805bc437b289dbdcc057/opencv_python_headless-4.13.0.92-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:0bd48544f77c68b2941392fcdf9bcd2b9cdf00e98cb8c29b2455d194763cf99e", size = 60391106, upload-time = "2026-02-05T10:30:14.236Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/c3/52cfea47cd33e53e8c0fbd6e7c800b457245c1fda7d61660b4ffe9596a7f/opencv_python_headless-4.13.0.92-cp37-abi3-win32.whl", hash = "sha256:a7cf08e5b191f4ebb530791acc0825a7986e0d0dee2a3c491184bd8599848a4b", size = 30812232, upload-time = "2026-02-05T07:02:29.594Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/90/b338326131ccb2aaa3c2c85d00f41822c0050139a4bfe723cfd95455bd2d/opencv_python_headless-4.13.0.92-cp37-abi3-win_amd64.whl", hash = "sha256:77a82fe35ddcec0f62c15f2ba8a12ecc2ed4207c17b0902c7a3151ae29f37fb6", size = 40070414, upload-time = "2026-02-05T07:02:26.448Z" },
+]
+
+[[package]]
+name = "packaging"
+version = "26.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" },
+]
+
+[[package]]
+name = "pillow"
+version = "12.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/c8/0a78b0e02d7ac54bc03e5321c9220da52f0c2ea83b21f7c40e7f3169c502/pillow-12.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756", size = 5392415, upload-time = "2026-07-01T11:53:47.162Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/5b/a02d30018abd97ced9f5a6c63d28597694a00d066516b9c1c6de45859fc9/pillow-12.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6", size = 4785266, upload-time = "2026-07-01T11:53:49.079Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/98/766667a4be768150a202836acd9fad19c06824ca86c4286d3cf6b274964e/pillow-12.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd", size = 6263814, upload-time = "2026-07-01T11:53:51.32Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/2d/ede717bc1144f63886c21fd349bb95860b0d1a21149ff16f2bb362b612b6/pillow-12.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd", size = 6934408, upload-time = "2026-07-01T11:53:53.487Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/48/9c58b685e69d49c31af6c8eb9012055fab7e665785165c84796e2c73ce72/pillow-12.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c", size = 6337160, upload-time = "2026-07-01T11:53:55.457Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/fa/dc2a5c0ba6df93f67c31d34b808b7ce440b40cdbf96f0b81cde1d1e6fa93/pillow-12.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5", size = 7045172, upload-time = "2026-07-01T11:53:57.736Z" },
+ { url = "https://files.pythonhosted.org/packages/86/a5/444817a4d4c4c2417df00513086ca196f388d8f9ef40c2e4ccd1ad1af54b/pillow-12.3.0-cp311-cp311-win32.whl", hash = "sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b", size = 6472232, upload-time = "2026-07-01T11:53:59.767Z" },
+ { url = "https://files.pythonhosted.org/packages/63/c6/4bad1b18d132a50b27e1365e1ab163616f7a5bb56d330f66f9d1d9d4f9d4/pillow-12.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a", size = 7233653, upload-time = "2026-07-01T11:54:02.066Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/16/00f91ab7760dc842f5aad55217e80fc4a7067a0604535249bc8a2d6d9870/pillow-12.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26", size = 2568195, upload-time = "2026-07-01T11:54:04.622Z" },
+ { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" },
+ { url = "https://files.pythonhosted.org/packages/25/27/ac8f99618ffd3dde21db0f4d4b1d2ab00c0880595bfd17df103f7f39fd0c/pillow-12.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", size = 6266838, upload-time = "2026-07-01T11:54:11.71Z" },
+ { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/51/8b08617af3ad95e33ce6d7dd2c99ed6c8298f7fb131636303956be022e25/pillow-12.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", size = 6344383, upload-time = "2026-07-01T11:54:15.756Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" },
+ { url = "https://files.pythonhosted.org/packages/20/20/25e0f4dc178a6bc0696793720055519a0de89e7661dae886992decbd2f81/pillow-12.3.0-cp312-cp312-win32.whl", hash = "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", size = 6472684, upload-time = "2026-07-01T11:54:19.839Z" },
+ { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" },
+ { url = "https://files.pythonhosted.org/packages/de/47/4845a0a6c0dbf1db8456bd9fc791f13c5ced7ced20606d08a0aacfd25b49/pillow-12.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", size = 2568267, upload-time = "2026-07-01T11:54:24.051Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/ac/31fb64e1e7efb5a4b50cd3d92049ba89ac6e4d8d3bb6a74e15048ca3353e/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89", size = 4161684, upload-time = "2026-07-01T11:54:25.934Z" },
+ { url = "https://files.pythonhosted.org/packages/87/b4/9805e23d2b4d77842b468513841fda254ee42f0289d25088340e4ff46e2d/pillow-12.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace", size = 4255487, upload-time = "2026-07-01T11:54:27.935Z" },
+ { url = "https://files.pythonhosted.org/packages/df/39/ecf519435a200c693fe053a6ee4d835b41cf963a4dfc2551c4e637cb2a71/pillow-12.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec", size = 3696433, upload-time = "2026-07-01T11:54:29.813Z" },
+ { url = "https://files.pythonhosted.org/packages/42/92/2fc3ffad878ae8dd5469ec1bc8eb83b71f48e13efdf68f02709003982a32/pillow-12.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66", size = 5345889, upload-time = "2026-07-01T11:54:31.97Z" },
+ { url = "https://files.pythonhosted.org/packages/10/76/8803c13605b763d33d156c4678fc77f8443389c0c51c8aef707bb02015f4/pillow-12.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35", size = 4780109, upload-time = "2026-07-01T11:54:34.026Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/01/e18aff37cb0b4aac47ac90f016d347a49aca667ef97f190b06ac2aabc928/pillow-12.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65", size = 6263736, upload-time = "2026-07-01T11:54:36.131Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/62/de5bdd77d935331f4f802edc11e4d82950f642caad6cb2f949837b8560e2/pillow-12.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3", size = 6937129, upload-time = "2026-07-01T11:54:38.216Z" },
+ { url = "https://files.pythonhosted.org/packages/70/4d/105627a13300c5e0df1d174230b32fd1273062c96f7745fd552b945d1e1d/pillow-12.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a", size = 6339562, upload-time = "2026-07-01T11:54:40.354Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/1d/f13de01a553988ab895ba1c722e06cf3144d4f57656fd5b81b6d881f1179/pillow-12.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e", size = 7049439, upload-time = "2026-07-01T11:54:42.489Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/f9/066794cca041b969964f779ee5fa66a9498bbf34248ac39c5d7954e4198f/pillow-12.3.0-cp313-cp313-win32.whl", hash = "sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f", size = 6473287, upload-time = "2026-07-01T11:54:44.9Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/9b/7a58e61d62be561da3a356fe2384d4059a6345fc130e23ef1c36a5b81d24/pillow-12.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8", size = 7239691, upload-time = "2026-07-01T11:54:47.141Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/b0/c4ed4f0ef8f8fa5ee8351537db6650bb8189f7e118842978dd6589065692/pillow-12.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b", size = 2568185, upload-time = "2026-07-01T11:54:49.137Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/01/001f65b68192f0228cc1dbbc8d2530ab5d58b61037ba0587f946fea607cd/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330", size = 4161736, upload-time = "2026-07-01T11:54:51.156Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/d2/0219746d0fd16fc8a84498e79452375be3797d3ce4044596ce565164b84f/pillow-12.3.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217", size = 4255435, upload-time = "2026-07-01T11:54:53.414Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/02/8d0bc62ef0302318c46ff2a512822d2610e81c7aa46c9b3abe6cbaca5ad0/pillow-12.3.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930", size = 3696262, upload-time = "2026-07-01T11:54:55.739Z" },
+ { url = "https://files.pythonhosted.org/packages/85/e2/73c77d218410b14f5f2d565e8a998d5317b7b9c75368d29985139f7a46f0/pillow-12.3.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8", size = 5350344, upload-time = "2026-07-01T11:54:57.657Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/da/32c752228ae345f489e3a42499d817b6c3996da7e8a3bc7a04fc806b243b/pillow-12.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0", size = 4780131, upload-time = "2026-07-01T11:54:59.713Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/9d/8b2c807dbef61a5197c047afe99823787eb66f63daf9fb2432f91d6f0462/pillow-12.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321", size = 6263757, upload-time = "2026-07-01T11:55:01.778Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/44/c85361f65dbe00eea8576ee467c768d25129989efb76e94f205e9ca9bb46/pillow-12.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b", size = 6936962, upload-time = "2026-07-01T11:55:03.93Z" },
+ { url = "https://files.pythonhosted.org/packages/18/7e/e483414b35800b86b6f08dbbc7803fb5cd52c4d6f897f47d53ea2c7e6f65/pillow-12.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198", size = 6339171, upload-time = "2026-07-01T11:55:05.989Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/f4/68c491844841ede6bed70189546b3ee9731cf9f2cbad396faff5e1ccba45/pillow-12.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130", size = 7048116, upload-time = "2026-07-01T11:55:08.131Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/34/77f3f793fed8efc7d243f21b33c5a3f0d1c97ee70346d3db855587e155ff/pillow-12.3.0-cp314-cp314-win32.whl", hash = "sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a", size = 6467209, upload-time = "2026-07-01T11:55:10.408Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/e0/492879f69d94f91f60fc8cd05ba03650e9520afebb2fb7aa12777d7c7f38/pillow-12.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d", size = 7237707, upload-time = "2026-07-01T11:55:12.745Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/ac/6b11f2875f1c2ac040d84e1bbf9cf22a88038f901ca1037898b280b38365/pillow-12.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838", size = 2565995, upload-time = "2026-07-01T11:55:14.736Z" },
+ { url = "https://files.pythonhosted.org/packages/52/69/c2208e56af9bfc1913afb24020297a691eb1d4ef688474c8a04913f65e04/pillow-12.3.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e", size = 5352503, upload-time = "2026-07-01T11:55:17.076Z" },
+ { url = "https://files.pythonhosted.org/packages/07/70/e5686d753e898a45d778ff1718dba8516ead6ab6b95d85fc8c4b70650cf2/pillow-12.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17", size = 4782956, upload-time = "2026-07-01T11:55:19.448Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/37/25c6692f06927ee973ff18c8d9ee98ad0b4d84ee67a09610c2dd1447958e/pillow-12.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385", size = 6322855, upload-time = "2026-07-01T11:55:21.613Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/91/420637fcb8f1bc11029e403b4538e6694744428d8246118e45719f944556/pillow-12.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c", size = 6989642, upload-time = "2026-07-01T11:55:24.006Z" },
+ { url = "https://files.pythonhosted.org/packages/10/08/b94d7811281ccf0d143a1cf768d1c49e1e54af63e7b708ab2ee3eb87face/pillow-12.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d", size = 6391281, upload-time = "2026-07-01T11:55:26.252Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/87/24233f785f55474dc02ce3e739c5528a77e3a862e9333d1dd7a25cc31f70/pillow-12.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931", size = 7096716, upload-time = "2026-07-01T11:55:28.318Z" },
+ { url = "https://files.pythonhosted.org/packages/23/26/fcb2f6e37175b04f53570b59937867e2b80ee1685e744023153028fc14f9/pillow-12.3.0-cp314-cp314t-win32.whl", hash = "sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7", size = 6474125, upload-time = "2026-07-01T11:55:30.956Z" },
+ { url = "https://files.pythonhosted.org/packages/90/de/3634abee5f1c9e13c56787b7d5517b0ba8d6de51700b95578cf338349c9f/pillow-12.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c", size = 7242939, upload-time = "2026-07-01T11:55:34.044Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/2a/fd13f8eb24de5714a6eb444a3d67e2842c6c576e159a43793adf23051351/pillow-12.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45", size = 2567506, upload-time = "2026-07-01T11:55:35.988Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/dc/8fdce34ec725a33c81c6ba122b904d6b9024e50ea9ac7bede62fab54506c/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139", size = 4162063, upload-time = "2026-07-01T11:55:37.941Z" },
+ { url = "https://files.pythonhosted.org/packages/76/66/2044b9a63d3b84ff048228dfcb7cd9bf0df983e8470971bf7d4c57b693de/pillow-12.3.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402", size = 4255549, upload-time = "2026-07-01T11:55:40.022Z" },
+ { url = "https://files.pythonhosted.org/packages/52/7e/1f67e6f4ece6b582ee4b539decbcc9f848dc245a93ed8cd7338bafef72f1/pillow-12.3.0-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c", size = 3696331, upload-time = "2026-07-01T11:55:41.98Z" },
+ { url = "https://files.pythonhosted.org/packages/12/40/d306fc2c8e4d45d7f175c77edca7063be7b86fe7fe6e68f4353bf71d808c/pillow-12.3.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f", size = 5350370, upload-time = "2026-07-01T11:55:44.028Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/44/668fb1437e8ce420f62d6106eb66e44a5971602a4d794615bdf79315d82d/pillow-12.3.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701", size = 4780147, upload-time = "2026-07-01T11:55:46.073Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/08/93fa2e70e30a2d81547e481b6ee2bb9522117221fb1e0ce4b5df70967677/pillow-12.3.0-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace", size = 6273659, upload-time = "2026-07-01T11:55:48.264Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/6d/043e96ff814fc31a33077e4cba86082167db520c93632afdf2042febbb0c/pillow-12.3.0-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4", size = 6947439, upload-time = "2026-07-01T11:55:50.503Z" },
+ { url = "https://files.pythonhosted.org/packages/af/92/ba71d2ee2ac0edf3fa33bd9d5ee9ee080da70b1766f3ca3934f9938ddac9/pillow-12.3.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39", size = 6353577, upload-time = "2026-07-01T11:55:52.697Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ce/e63064e2122923ff687c8ad792d0d736a7b3920a56a46982e81a7fdd25d6/pillow-12.3.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71", size = 7060394, upload-time = "2026-07-01T11:55:55.149Z" },
+ { url = "https://files.pythonhosted.org/packages/54/76/a09cc3ccc8d773a7283d34c38bec1708f9e3cc932093cbc4c5e71ac4060b/pillow-12.3.0-cp315-cp315-win32.whl", hash = "sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827", size = 6467375, upload-time = "2026-07-01T11:55:57.769Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/03/1846c49ba3b1d5550392a4bbd06d6fb4578e1cd91a803198b5c90f5f7d53/pillow-12.3.0-cp315-cp315-win_amd64.whl", hash = "sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5", size = 7237048, upload-time = "2026-07-01T11:55:59.975Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/bb/89f35dcc79610423f9f195504d7def7f0d1416a711541b42867e25fe3412/pillow-12.3.0-cp315-cp315-win_arm64.whl", hash = "sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658", size = 2566006, upload-time = "2026-07-01T11:56:02.143Z" },
+ { url = "https://files.pythonhosted.org/packages/30/88/707027ba09942dfa2c28759b5c222d769290a41c6d20ea60ec250801941f/pillow-12.3.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf", size = 5352509, upload-time = "2026-07-01T11:56:04.2Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/6d/00352fa25332c2569cd387851f568cc5a4b75a9adbfb37ac4fbce4c02eec/pillow-12.3.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64", size = 4783167, upload-time = "2026-07-01T11:56:06.631Z" },
+ { url = "https://files.pythonhosted.org/packages/13/4f/9e049dfa21af7c22427275720e2490267ba8138120add5c4c574deb69782/pillow-12.3.0-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e", size = 6329237, upload-time = "2026-07-01T11:56:08.868Z" },
+ { url = "https://files.pythonhosted.org/packages/36/16/cf6eeaae8d0fce8dd390a33437cf68c5d5bd73834a2bc6e2f14efda0ab45/pillow-12.3.0-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777", size = 6997047, upload-time = "2026-07-01T11:56:11.379Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/69/dbf769bdd55f48bf5733cac28edc6364ffaa072ec9ba336266e4fe66be55/pillow-12.3.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1", size = 6400440, upload-time = "2026-07-01T11:56:13.908Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/e1/ffc9cfc2eea0d178da8018e18e959301ad9d6bc9f3edb7181e748a474b97/pillow-12.3.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9", size = 7105895, upload-time = "2026-07-01T11:56:16.575Z" },
+ { url = "https://files.pythonhosted.org/packages/18/f0/a5595c1e8c3ae44b9828cb2f0fa8155e5095ef04d6327b8f61cf44a3df85/pillow-12.3.0-cp315-cp315t-win32.whl", hash = "sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8", size = 6474384, upload-time = "2026-07-01T11:56:18.855Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/04/62bcd9f844984c5938d3b05264a61d797a29d3e0812341a8204af70bbdee/pillow-12.3.0-cp315-cp315t-win_amd64.whl", hash = "sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418", size = 7243537, upload-time = "2026-07-01T11:56:21.214Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/68/1f3066acedf37673694a7141381d8f811ae97f30d34413d236abe7d489f1/pillow-12.3.0-cp315-cp315t-win_arm64.whl", hash = "sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59", size = 2567491, upload-time = "2026-07-01T11:56:23.506Z" },
+ { url = "https://files.pythonhosted.org/packages/75/18/2e8b40223153ccbc60df07f9e8928dc0c76202aa4e55ae9f53962b6510d6/pillow-12.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468", size = 5302510, upload-time = "2026-07-01T11:56:25.736Z" },
+ { url = "https://files.pythonhosted.org/packages/46/3e/51fabf59d5ab801ceab709453d3ab6b180083496579549de4c45ced6528a/pillow-12.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94", size = 4736058, upload-time = "2026-07-01T11:56:28.041Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/20/22fe9384b7949e25fb1293bcfc84fb82590ff4ea6b37c95b24d26d793d86/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e", size = 5237776, upload-time = "2026-07-01T11:56:30.263Z" },
+ { url = "https://files.pythonhosted.org/packages/08/14/f6ba68107680ffa74b39985f3f30884e41318fbc4250caa423c79b4788bb/pillow-12.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3", size = 5860358, upload-time = "2026-07-01T11:56:32.68Z" },
+ { url = "https://files.pythonhosted.org/packages/36/54/0169bc772ec491108b62f644f8ecf1fe5d8ae5ebafde2ee2142210166903/pillow-12.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a", size = 7231786, upload-time = "2026-07-01T11:56:35.046Z" },
+]
+
+[[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, 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, upload-time = "2025-05-15T12:30:06.134Z" },
+]
+
+[[package]]
+name = "pydantic"
+version = "2.13.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-types" },
+ { name = "pydantic-core" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" },
+]
+
+[[package]]
+name = "pydantic-core"
+version = "2.46.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5c/fa/6d7708d2cfc1a832acb6aeb0cd16e801902df8a0f583bb3b4b527fde022e/pydantic_core-2.46.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0e96592440881c74a213e5ad528e2b24d3d4f940de2766bed9010ab1d9e51594", size = 2111872, upload-time = "2026-05-06T13:40:27.596Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/6f/aa064a3e74b5745afbdf250594f38e7ead05e2d651bcb35994b9417a0d4d/pydantic_core-2.46.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0d65b8c354be7fb5f720c3caa8bc940bc2d20ce749c8e06135f07f8ed95dd7c", size = 1948255, upload-time = "2026-05-06T13:39:12.574Z" },
+ { url = "https://files.pythonhosted.org/packages/43/3a/41114a9f7569b84b4d84e7a018c57c56347dac30c0d4a872946ec4e36c46/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bfb192b3f4b9e8a89b6277b6ce787564f62cfd272055f6e685726b111dc7826", size = 1972827, upload-time = "2026-05-06T13:38:19.841Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/25/1ab42e8048fe551934d9884e8d64daa7e990ad386f310a15981aeb6a5b08/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9037063db01f09b09e237c282b6792bd4da634b5402c4e7f0c61effed7701a04", size = 2041051, upload-time = "2026-05-06T13:38:10.447Z" },
+ { url = "https://files.pythonhosted.org/packages/94/c2/1a934597ddf08da410385b3b7aae91956a5a76c635effef456074fad7e88/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e", size = 2221314, upload-time = "2026-05-06T13:40:13.089Z" },
+ { url = "https://files.pythonhosted.org/packages/02/6d/9e8ad178c9c4df27ad3c8f25d1fe2a7ab0d2ba0559fad4aee5d3d1f16771/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c5dac79fa1614d1e06ca695109c6105923bd9c7d1d6c918d4e637b7e6b32fd3", size = 2285146, upload-time = "2026-05-06T13:38:59.224Z" },
+ { url = "https://files.pythonhosted.org/packages/80/50/540cd3aeefc041beb111125c4bff779831a2111fc6b15a9138cda277d32c/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f9fa868638bf362d3d138ea55829cefb3d5f4b0d7f142234382a15e2485dbec4", size = 2089685, upload-time = "2026-05-06T13:38:17.762Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/a4/b440ad35f05f6a38f89fa0f149accb3f0e02be94ca5e15f3c449a61b4bc9/pydantic_core-2.46.4-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:17299feefe090f2caa5b8e37222bb5f663e4935a8bfa6931d4102e5df1a9f398", size = 2115420, upload-time = "2026-05-06T13:37:58.195Z" },
+ { url = "https://files.pythonhosted.org/packages/99/61/de4f55db8dfd57bfdfa9a12ec90fe1b57c4f41062f7ca86f08586b3e0ac0/pydantic_core-2.46.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4c63ebc82684aa89d9a3bcbd13d515b3be44250dc68dd3bd81526c1cb31286c3", size = 2165122, upload-time = "2026-05-06T13:37:01.167Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/52/7c529d7bdb2d1068bd52f51fe32572c8301f9a4febf1948f10639f1436f5/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:aaa2a54443eff1950ba5ddc6b6ccda0d9c84a364276a62f969bdf2a390650848", size = 2182573, upload-time = "2026-05-06T13:38:45.04Z" },
+ { url = "https://files.pythonhosted.org/packages/37/b3/7c40325848ba78247f2812dcf9c7274e38cd801820ca6dd9fe63bcfb0eb4/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:18e5ceec2ab67e6d5f1a9085e5a24c9c4e2ac4545730bfe668680bca05e555f3", size = 2317139, upload-time = "2026-05-06T13:37:15.539Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/37/f913f81a657c865b75da6c0dbed79876073c2a43b5bd9edbe8da785e4d49/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a0f62d0a58f4e7da165457e995725421e0064f2255d8eccebc49f41bbc23b109", size = 2360433, upload-time = "2026-05-06T13:37:30.099Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/67/6acaa1be2567f9256b056d8477158cac7240813956ce86e49deae8e173b4/pydantic_core-2.46.4-cp311-cp311-win32.whl", hash = "sha256:041bde0a48fd37cf71cab1c9d56d3e8625a3793fef1f7dd232b3ff37e978ecda", size = 1985513, upload-time = "2026-05-06T13:38:15.669Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/e6/c505f83dfeda9a2e5c995cfd872949e4d05e12f7feb3dca72f633daefa94/pydantic_core-2.46.4-cp311-cp311-win_amd64.whl", hash = "sha256:6f2eeda33a839975441c86a4119e1383c50b47faf0cbb5176985565c6bb02c33", size = 2071114, upload-time = "2026-05-06T13:40:35.416Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/da/7a263a96d965d9d0df5e8de8a475f33495451117035b09acb110288c381f/pydantic_core-2.46.4-cp311-cp311-win_arm64.whl", hash = "sha256:14f4c5d6db102bd796a627bbb3a17b4cf4574b9ae861d8b7c9a9661c6dd3362d", size = 2044298, upload-time = "2026-05-06T13:38:29.754Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" },
+ { url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" },
+ { url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" },
+ { url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" },
+ { url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" },
+ { url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" },
+ { url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" },
+ { url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" },
+ { url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" },
+ { url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" },
+ { url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" },
+ { url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" },
+ { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" },
+ { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" },
+ { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" },
+ { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" },
+ { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" },
+ { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" },
+ { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" },
+ { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" },
+ { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" },
+ { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" },
+ { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" },
+ { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" },
+ { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" },
+ { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" },
+ { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/a4/73995fd4ebbb46ba0ee51e6fa049b8f02c40daebb762208feda8a6b7894d/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:14d4edf427bdcf950a8a02d7cb44a08614388dd6e1bdcbf4f67504fa7887da9c", size = 2111589, upload-time = "2026-05-06T13:37:10.817Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/7f/f37d3a5e8bfcc2e403f5c57a730f2d815693fb42119e8ea48b3789335af1/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0ce40cd7b21210e99342afafbd4d0f76d784eb5b1d60f3bdc566be4983c6c73b", size = 1944552, upload-time = "2026-05-06T13:36:56.717Z" },
+ { url = "https://files.pythonhosted.org/packages/15/3c/d7eb777b3ff43e8433a4efb39a17aa8fd98a4ee8561a24a67ef5db07b2d6/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90884113d8b48f760e9587002789ddd741e76ab9f89518cd1e43b1f1a52ec44b", size = 1982984, upload-time = "2026-05-06T13:39:06.207Z" },
+ { url = "https://files.pythonhosted.org/packages/63/87/70b9f40170a81afd55ca26c9b2acb25c20d64bcfbf888fafecb3ba077d4c/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66ce7632c22d837c95301830e111ad0128a32b8207533b60896a96c4915192ea", size = 2138417, upload-time = "2026-05-06T13:39:45.476Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" },
+ { url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" },
+ { url = "https://files.pythonhosted.org/packages/11/cb/428de0385b6c8d44b716feba566abfacfbd23ee3c4439faa789a1456242f/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0c563b08bca408dc7f65f700633d8442fffb2421fc47b8101377e9fd65051ff0", size = 2112782, upload-time = "2026-05-06T13:37:04.016Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/b5/6a17bdadd0fc1f170adfd05a20d37c832f52b117b4d9131da1f41bb097ce/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:db06ffe51636ffe9ca531fe9023dd64bdd794be8754cb5df57c5498ae5b518a7", size = 1952146, upload-time = "2026-05-06T13:39:43.092Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/dc/03734d80e362cd43ef65428e9de77c730ce7f2f11c60d2b1e1b39f0fbf99/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:133878133d271ade3d41d1bfb2a45ec38dbdbda40bc065921c6b04e4630127e2", size = 2134492, upload-time = "2026-05-06T13:36:58.124Z" },
+ { url = "https://files.pythonhosted.org/packages/de/df/5e5ffc085ed07cc22d298134d3d911c63e91f6a0eb91fe646750a3209910/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9bc519fbf2b7578398853d815009ae5e4d4603d12f4e3f91da8c06852d3da3e9", size = 2156604, upload-time = "2026-05-06T13:37:49.88Z" },
+ { url = "https://files.pythonhosted.org/packages/81/44/6e112a4253e56f5705467cbab7ab5e91ee7398ba3d56d358635958893d3e/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:c7a7bd4e39e8e4c12c39cd480356842b6a8a06e41b23a55a5e3e191718838ddf", size = 2183828, upload-time = "2026-05-06T13:37:43.053Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/ad/5565071e937d8e752842ac241463944c9eb14c87e2d269f2658a5bd05e98/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:d396ec2b979760aaf3218e76c24e65bd0aca24983298653b3a9d7a45f9e47b30", size = 2310000, upload-time = "2026-05-06T13:37:56.694Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/c3/66883a5cec183e7fba4d024b4cbbe61851a63750ef606b0afecc46d1f2bf/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:86e1a4418c6cd97d60c95c71164158eaf7324fae7b0923264016baa993eba6fc", size = 2361286, upload-time = "2026-05-06T13:40:05.667Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/2d/69abac8f838090bbecd5df894befb2c2619e7996a98ddb949db9f3b93225/pydantic_core-2.46.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983", size = 2193071, upload-time = "2026-05-06T13:38:08.682Z" },
+]
+
+[[package]]
+name = "pygments"
+version = "2.20.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" },
+]
+
+[[package]]
+name = "pytest"
+version = "8.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "iniconfig" },
+ { name = "packaging" },
+ { 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, 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, upload-time = "2025-09-04T14:34:20.226Z" },
+]
+
+[[package]]
+name = "pytest-asyncio"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pytest" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/43/7c/d36d04db312ecf4298932ef77e6e4a9e8ad017906e24e34f0b0c361a2473/pytest_asyncio-1.4.0.tar.gz", hash = "sha256:c6c0d2259945122819f171a32ecea2c349ead889ee28176caaf492143424be42", size = 58514, upload-time = "2026-05-26T09:56:04.083Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/e2/08a497ef684b88559c9cc5f4ad53a37e7b99e727094a86d6ea32536d5d3c/pytest_asyncio-1.4.0-py3-none-any.whl", hash = "sha256:933ca923a23075a87fb7070c0ec272a6848489824d887c85c812670932835aa1", size = 16930, upload-time = "2026-05-26T09:56:02.576Z" },
+]
+
+[[package]]
+name = "python-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, 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, upload-time = "2026-03-01T16:00:25.09Z" },
+]
+
+[[package]]
+name = "python-multipart"
+version = "0.0.32"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/5b/42/55c32bb9b12693c092ad250a0e82edb5b31ddeda6eb772de5f308b3804ad/python_multipart-0.0.32.tar.gz", hash = "sha256:be54b7f3fa167bb83e4fcd936b887b708f4e57fe75911c02aebf53efaf8d938e", size = 46881, upload-time = "2026-06-04T16:18:58.647Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e1/04/e8135ebd1ad02c56ec633277529b2602ff99ff634be76cdba5744cf554fd/python_multipart-0.0.32-py3-none-any.whl", hash = "sha256:ff6d3f776f16878c894e52e107296ffc890e913c611b1a4ec6c44e2821fe2e23", size = 30042, upload-time = "2026-06-04T16:18:57.319Z" },
+]
+
+[[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, upload-time = "2025-09-25T21:33:16.546Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" },
+ { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" },
+ { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" },
+ { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" },
+ { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" },
+ { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" },
+ { 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" },
+ { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" },
+ { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" },
+ { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" },
+ { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" },
+ { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" },
+ { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" },
+ { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" },
+ { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" },
+ { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" },
+ { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" },
+ { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" },
+ { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },
+]
+
+[[package]]
+name = "requests"
+version = "2.34.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "charset-normalizer" },
+ { name = "idna" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" },
+]
+
+[[package]]
+name = "starlette"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/eb/e3/7c1dc7381d9f8ab7d854328ebfa884e62cb3f3d8549ddfd37c7814f42afa/starlette-1.3.1.tar.gz", hash = "sha256:05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0", size = 2703240, upload-time = "2026-06-12T09:23:11.602Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/bb/2799cc2ede3ed41131f8975621e7213dfc7ef4acbbaadfa440f32500c370/starlette-1.3.1-py3-none-any.whl", hash = "sha256:c7372aae11c3c3f26a42df7bd626cec2f47d03483d261d369516a615a53714c6", size = 73632, upload-time = "2026-06-12T09:23:10.017Z" },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
+]
+
+[[package]]
+name = "typing-inspection"
+version = "0.4.2"
+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, 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, upload-time = "2025-10-01T02:14:40.154Z" },
+]
+
+[[package]]
+name = "urllib3"
+version = "2.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
+]
+
+[[package]]
+name = "uvicorn"
+version = "0.51.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "click" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a2/65/b7c6c443ccc58678c91e1e973bbe2a878591538655d6e1d47f24ba1c51f3/uvicorn-0.51.0.tar.gz", hash = "sha256:f6f4b69b657c312f516dd2d268ab9ae6f254b11e4bac504f37b2ab58b24dd0b0", size = 94412, upload-time = "2026-07-08T10:59:05.962Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/45/ec/dbb7e5a6b91f86bfb9eb7d2988a2730907b6a729875b949c7f022e8b88fa/uvicorn-0.51.0-py3-none-any.whl", hash = "sha256:5d38af6cd620f2ae3849fb44fd4879e0890aa1febe8d47eb355fb45d93fe6a5b", size = 73219, upload-time = "2026-07-08T10:59:04.44Z" },
+]
+
+[package.optional-dependencies]
+standard = [
+ { name = "httptools" },
+ { name = "python-dotenv" },
+ { name = "pyyaml" },
+ { name = "uvloop", marker = "platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'" },
+ { name = "watchfiles" },
+ { name = "websockets" },
+]
+
+[[package]]
+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, upload-time = "2025-10-16T22:17:19.342Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c7/d5/69900f7883235562f1f50d8184bb7dd84a2fb61e9ec63f3782546fdbd057/uvloop-0.22.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:c60ebcd36f7b240b30788554b6f0782454826a0ed765d8430652621b5de674b9", size = 1352420, upload-time = "2025-10-16T22:16:21.187Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/73/c4e271b3bce59724e291465cc936c37758886a4868787da0278b3b56b905/uvloop-0.22.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3b7f102bf3cb1995cfeaee9321105e8f5da76fdb104cdad8986f85461a1b7b77", size = 748677, upload-time = "2025-10-16T22:16:22.558Z" },
+ { url = "https://files.pythonhosted.org/packages/86/94/9fb7fad2f824d25f8ecac0d70b94d0d48107ad5ece03769a9c543444f78a/uvloop-0.22.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53c85520781d84a4b8b230e24a5af5b0778efdb39142b424990ff1ef7c48ba21", size = 3753819, upload-time = "2025-10-16T22:16:23.903Z" },
+ { url = "https://files.pythonhosted.org/packages/74/4f/256aca690709e9b008b7108bc85fba619a2bc37c6d80743d18abad16ee09/uvloop-0.22.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:56a2d1fae65fd82197cb8c53c367310b3eabe1bbb9fb5a04d28e3e3520e4f702", size = 3804529, upload-time = "2025-10-16T22:16:25.246Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/74/03c05ae4737e871923d21a76fe28b6aad57f5c03b6e6bfcfa5ad616013e4/uvloop-0.22.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:40631b049d5972c6755b06d0bfe8233b1bd9a8a6392d9d1c45c10b6f9e9b2733", size = 3621267, upload-time = "2025-10-16T22:16:26.819Z" },
+ { url = "https://files.pythonhosted.org/packages/75/be/f8e590fe61d18b4a92070905497aec4c0e64ae1761498cad09023f3f4b3e/uvloop-0.22.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:535cc37b3a04f6cd2c1ef65fa1d370c9a35b6695df735fcff5427323f2cd5473", size = 3723105, upload-time = "2025-10-16T22:16:28.252Z" },
+ { 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" },
+ { url = "https://files.pythonhosted.org/packages/89/8c/182a2a593195bfd39842ea68ebc084e20c850806117213f5a299dfc513d9/uvloop-0.22.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:561577354eb94200d75aca23fbde86ee11be36b00e52a4eaf8f50fb0c86b7705", size = 1358611, upload-time = "2025-10-16T22:16:36.833Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/14/e301ee96a6dc95224b6f1162cd3312f6d1217be3907b79173b06785f2fe7/uvloop-0.22.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1cdf5192ab3e674ca26da2eada35b288d2fa49fdd0f357a19f0e7c4e7d5077c8", size = 751811, upload-time = "2025-10-16T22:16:38.275Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/02/654426ce265ac19e2980bfd9ea6590ca96a56f10c76e63801a2df01c0486/uvloop-0.22.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6e2ea3d6190a2968f4a14a23019d3b16870dd2190cd69c8180f7c632d21de68d", size = 4288562, upload-time = "2025-10-16T22:16:39.375Z" },
+ { url = "https://files.pythonhosted.org/packages/15/c0/0be24758891ef825f2065cd5db8741aaddabe3e248ee6acc5e8a80f04005/uvloop-0.22.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0530a5fbad9c9e4ee3f2b33b148c6a64d47bbad8000ea63704fa8260f4cf728e", size = 4366890, upload-time = "2025-10-16T22:16:40.547Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/53/8369e5219a5855869bcee5f4d317f6da0e2c669aecf0ef7d371e3d084449/uvloop-0.22.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bc5ef13bbc10b5335792360623cc378d52d7e62c2de64660616478c32cd0598e", size = 4119472, upload-time = "2025-10-16T22:16:41.694Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/ba/d69adbe699b768f6b29a5eec7b47dd610bd17a69de51b251126a801369ea/uvloop-0.22.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1f38ec5e3f18c8a10ded09742f7fb8de0108796eb673f30ce7762ce1b8550cad", size = 4239051, upload-time = "2025-10-16T22:16:43.224Z" },
+ { url = "https://files.pythonhosted.org/packages/90/cd/b62bdeaa429758aee8de8b00ac0dd26593a9de93d302bff3d21439e9791d/uvloop-0.22.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3879b88423ec7e97cd4eba2a443aa26ed4e59b45e6b76aabf13fe2f27023a142", size = 1362067, upload-time = "2025-10-16T22:16:44.503Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/f8/a132124dfda0777e489ca86732e85e69afcd1ff7686647000050ba670689/uvloop-0.22.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4baa86acedf1d62115c1dc6ad1e17134476688f08c6efd8a2ab076e815665c74", size = 752423, upload-time = "2025-10-16T22:16:45.968Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/94/94af78c156f88da4b3a733773ad5ba0b164393e357cc4bd0ab2e2677a7d6/uvloop-0.22.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:297c27d8003520596236bdb2335e6b3f649480bd09e00d1e3a99144b691d2a35", size = 4272437, upload-time = "2025-10-16T22:16:47.451Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/35/60249e9fd07b32c665192cec7af29e06c7cd96fa1d08b84f012a56a0b38e/uvloop-0.22.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c1955d5a1dd43198244d47664a5858082a3239766a839b2102a269aaff7a4e25", size = 4292101, upload-time = "2025-10-16T22:16:49.318Z" },
+ { url = "https://files.pythonhosted.org/packages/02/62/67d382dfcb25d0a98ce73c11ed1a6fba5037a1a1d533dcbb7cab033a2636/uvloop-0.22.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b31dc2fccbd42adc73bc4e7cdbae4fc5086cf378979e53ca5d0301838c5682c6", size = 4114158, upload-time = "2025-10-16T22:16:50.517Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/7a/f1171b4a882a5d13c8b7576f348acfe6074d72eaf52cccef752f748d4a9f/uvloop-0.22.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:93f617675b2d03af4e72a5333ef89450dfaa5321303ede6e67ba9c9d26878079", size = 4177360, upload-time = "2025-10-16T22:16:52.646Z" },
+ { url = "https://files.pythonhosted.org/packages/79/7b/b01414f31546caf0919da80ad57cbfe24c56b151d12af68cee1b04922ca8/uvloop-0.22.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:37554f70528f60cad66945b885eb01f1bb514f132d92b6eeed1c90fd54ed6289", size = 1454790, upload-time = "2025-10-16T22:16:54.355Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/31/0bb232318dd838cad3fa8fb0c68c8b40e1145b32025581975e18b11fab40/uvloop-0.22.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:b76324e2dc033a0b2f435f33eb88ff9913c156ef78e153fb210e03c13da746b3", size = 796783, upload-time = "2025-10-16T22:16:55.906Z" },
+ { url = "https://files.pythonhosted.org/packages/42/38/c9b09f3271a7a723a5de69f8e237ab8e7803183131bc57c890db0b6bb872/uvloop-0.22.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:badb4d8e58ee08dad957002027830d5c3b06aea446a6a3744483c2b3b745345c", size = 4647548, upload-time = "2025-10-16T22:16:57.008Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/37/945b4ca0ac27e3dc4952642d4c900edd030b3da6c9634875af6e13ae80e5/uvloop-0.22.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b91328c72635f6f9e0282e4a57da7470c7350ab1c9f48546c0f2866205349d21", size = 4467065, upload-time = "2025-10-16T22:16:58.206Z" },
+ { url = "https://files.pythonhosted.org/packages/97/cc/48d232f33d60e2e2e0b42f4e73455b146b76ebe216487e862700457fbf3c/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:daf620c2995d193449393d6c62131b3fbd40a63bf7b307a1527856ace637fe88", size = 4328384, upload-time = "2025-10-16T22:16:59.36Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/16/c1fd27e9549f3c4baf1dc9c20c456cd2f822dbf8de9f463824b0c0357e06/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6cde23eeda1a25c75b2e07d39970f3374105d5eafbaab2a4482be82f272d5a5e", size = 4296730, upload-time = "2025-10-16T22:17:00.744Z" },
+]
+
+[[package]]
+name = "watchfiles"
+version = "1.2.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/cd/41/5e1a4bb12aac5f1493fa1bdc11154eca3b258ca4eba65d39c473fe19d8e9/watchfiles-1.2.0.tar.gz", hash = "sha256:c995fba777f1ea992f090f9236e9284cf7a5d1a0130dd5a3d82c598cacd76838", size = 108252, upload-time = "2026-05-18T04:32:04.251Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fc/3d/8024c801df84d1587740d0359e7fdd80afeae3d159011f3d5376dd82f18e/watchfiles-1.2.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:704fd259e332e01f9b9c178f4bce9e49027e5587cc2600eeeaf8e76e1c846201", size = 400242, upload-time = "2026-05-18T04:31:19.014Z" },
+ { url = "https://files.pythonhosted.org/packages/87/5b/f4dfd45323e949984a3a7f9dc31d1cbb049921e7d98253488dda72ccdaa9/watchfiles-1.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6543cf55d170003296d185c0af981f3e1311564907e1f4e08671fc7693a890a5", size = 394562, upload-time = "2026-05-18T04:30:08.46Z" },
+ { url = "https://files.pythonhosted.org/packages/98/d8/19483ef075d601c409bce8bcbb5c0f81a10876fff870400568f08ce484a1/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89d8c2394a065ca86f5d2910ff263ae67c127e1376ccc4f9fc35c71db879f80a", size = 456611, upload-time = "2026-05-18T04:30:45.723Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/6a/cc81fbe7ee42f2f22e661a6e12def7807e01b14b2f39e0ff83fd373fd307/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:772b80df316480d894a0e3165fdd19cf77f5d17f9a787f94029465ad0e3529d1", size = 461379, upload-time = "2026-05-18T04:31:29.292Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/57/7e669002082c0a0f4fb5113bb70125f7110124b846b0a11bc5ae8e90eac1/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d158cd89df6053823533e06fb1d73c549133bff5f0396170c0e53d9559340717", size = 493556, upload-time = "2026-05-18T04:30:05.44Z" },
+ { url = "https://files.pythonhosted.org/packages/45/7d/f60a2b19807b21fe8281f3a8da4f59eef0d5f96825ac4680ba2d4f2ebf91/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d516b3283a758e087841aedb8031549fb41ced08f3db10aa6d2bf32dc042525b", size = 575255, upload-time = "2026-05-18T04:30:40.568Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/49/77f5b5e6efbcd57482f74948ebb1b97e5c0046d6b61475042d830c84b3ff/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:53b2290c92e0506d102cd448fbc610d87079553f86caa39d67440856a8b8bba5", size = 467052, upload-time = "2026-05-18T04:31:17.942Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/5a/73e2959af1b97fd5d556f9a8bdba017be23ceeef731869d5eaa0a753d5a3/watchfiles-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a711b51aec4370d0dcda5b6c09463206f133a5759341d7744b953a7b62e1100e", size = 456858, upload-time = "2026-05-18T04:30:30.182Z" },
+ { url = "https://files.pythonhosted.org/packages/50/57/1bc8c27fad7e6c19bddee15d276dbb6ab72480ec01c127afff1673aee417/watchfiles-1.2.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:e2ca07fa7d89195ec0865d3d285666286740bfa83d83e5cee204043a31ecc165", size = 467579, upload-time = "2026-05-18T04:32:15.897Z" },
+ { url = "https://files.pythonhosted.org/packages/09/6c/3c2e44edba3553c5e3c3b8c8a2a6dee6b9e12ae2cf4bd2378bebf9dc3038/watchfiles-1.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e0618518f282c4ebff60f5e5b1247b6d91bb8b9f4476947563a1e74acc66f3c6", size = 633253, upload-time = "2026-05-18T04:31:37.123Z" },
+ { url = "https://files.pythonhosted.org/packages/30/c2/d8c84a882ab39bbefcc4915ab3e91830b7a7e990c5570b0b69075aba3faf/watchfiles-1.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0d191c054d0715c3c95c99df9b8dbf6fd096d8c1e021e8f212e1bd8bc444ccb5", size = 660713, upload-time = "2026-05-18T04:31:24.62Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/07/f97736a5fc605364fe67b25e9fa4a6965dfd4840d50c406ada507e9d735f/watchfiles-1.2.0-cp311-cp311-win32.whl", hash = "sha256:9342472aff9b093c5acd4f6d8f70ae0937964ab56542502bcf5579782da69ae8", size = 277222, upload-time = "2026-05-18T04:31:21.131Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/99/2b04981977fc2608afd60360d928c6aecf6b950292ca221d98f4005f6694/watchfiles-1.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:dbd6c97045dad81227c8d040173da044c1de08de64a5ea8b555da4aee1d5fa22", size = 290274, upload-time = "2026-05-18T04:31:45.966Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/74/f7f58a7075ee9cf612b0cfcddb78b8cd8234f0742d6f0075cf0da2dde1c6/watchfiles-1.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:57a2d9fa4fb4c2ecae57b13dfff2c7ab53e21a2ba674fe9f05506680fcdcc0d7", size = 283460, upload-time = "2026-05-18T04:31:39.126Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/2f/e42c992d2afda3108ea1c02acecc991b9f31d05c14adc2a7cee9ee211fc4/watchfiles-1.2.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:bc13eb17538be00c874699dc0abe4ee2bc8d50bb1166a6b9e175ef3fd7eb8f26", size = 400115, upload-time = "2026-05-18T04:32:02.06Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/8f/6af2ea19065c91d8b0ea3516fdfc8c0d349f407e8e9fbf4e5a17360de8ad/watchfiles-1.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2d95ddc1eb6914154253d239089900813f6a767e174b8e6a50e7fdacb7e4236c", size = 393659, upload-time = "2026-05-18T04:30:50.951Z" },
+ { url = "https://files.pythonhosted.org/packages/13/01/b32a967c56fb3e3e5be3db52c3d3b87fa4513aa367d8ed1ad96d42952e5f/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f70d8b291ef6e88d19b1f297a6905ddb978888d9272b0d05e6f53309856bcfc", size = 453207, upload-time = "2026-05-18T04:31:04.231Z" },
+ { url = "https://files.pythonhosted.org/packages/04/98/97557a812180338cb1abd32e1cffcc4588f59b5f23e0cb006b2ba95ba64a/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:56d8641cf834c2836922899105bd3ce3d0dfc69291d52edf0b4d0436829b34c0", size = 459273, upload-time = "2026-05-18T04:31:50.377Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/a8/b4b08dcb7653b8087c6586f7ce649505900e866bbcfe40dc9587af02e686/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2581a94056e55d7d0a31a823ea92bf73749c489ca2285bfdc0fbe6b2bb49d50c", size = 489927, upload-time = "2026-05-18T04:31:42.485Z" },
+ { url = "https://files.pythonhosted.org/packages/50/94/3dceea03545d2e5ddfd839f0ddd5e1cecbf1697b5a428d5ba11cef6af95d/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:41bc1199f7523b3f82843c88cbb979180c949caef0342cf90968f178e5d49b01", size = 570476, upload-time = "2026-05-18T04:31:03.071Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/f2/d39a5450c3532092b91f81d274360e613c2371bc874a89c7a1a3c5e8d138/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7571e4464cb6e434958f867f7f730b8ab0b75e3f8e5eac0499168486ab3c33a8", size = 465650, upload-time = "2026-05-18T04:30:12.701Z" },
+ { url = "https://files.pythonhosted.org/packages/22/24/ed72f68cbc1333ca9b9f2200aa048bb6658ae41709bc1caad4310f4bdffd/watchfiles-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e53a384f76b631c3ae5334ce6a52f0baa3a911eb94a4eac7f160079868b716d5", size = 456398, upload-time = "2026-05-18T04:30:13.784Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/64/982ef4a4e5bab5b6e5b6becc8cd5e732f6130a78b855f0abec6439a9a135/watchfiles-1.2.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:d20029a60a71a052a24c4db7673bc4de39ab89adbaccbfb5d67987c5d73f424d", size = 465140, upload-time = "2026-05-18T04:31:52.111Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/0c/95282abf4ed680b6096010bcfc30c5fa7a041fc5aa5a2ad17a2cc6c75bba/watchfiles-1.2.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:2cb93af48550faf1cea04c303107c8b75833de7013e57ce27d3b8d21d8d0f58c", size = 630259, upload-time = "2026-05-18T04:31:25.676Z" },
+ { url = "https://files.pythonhosted.org/packages/30/45/607c1de1530c4bdcf2cf1d1ecc2505ddba5d96bd43ba9f2b0e79876f850f/watchfiles-1.2.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2995c176de7692b86a2e4c58d9ec718f753150a979cb4a754e2b4ffa38e70906", size = 659859, upload-time = "2026-05-18T04:30:24.333Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/08/d9e2e0f9e8e6791d33aefc694ad7eefa7f901f63caff84a81ded38692f9c/watchfiles-1.2.0-cp312-cp312-win32.whl", hash = "sha256:7a2cffd17d27d2ecbb310c2b1d8174f222a5495b1a721894afa88ec11e25b898", size = 275480, upload-time = "2026-05-18T04:30:31.307Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/e6/9d42569c0102645cc8cea5d8c7d8a1e9d4ada2cb7f05f75e554b8aa2202a/watchfiles-1.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:f155b3a1b2a5fc89cdc70d47ee5d54e3b75e88efa34982028a35daef9ba00379", size = 288718, upload-time = "2026-05-18T04:32:10.745Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/26/88e0dc6ee3898169d7fa22bb6a69cabf2502d2ee25cb8c876d1262d204f8/watchfiles-1.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:8fa585ede612ee9f9e91b18bebf9ba11b9ae29a4e3a0d0cf6fca3e382133f0d5", size = 281026, upload-time = "2026-05-18T04:30:22.23Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/4d/70a7feced9f87e2ff26dba42667290f41694fc64646c67261fbb8cab5d5c/watchfiles-1.2.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:01ea8d66f0693b9b60a6541c8d10263091ca9a9060d242f3c1f3143f9aad2c98", size = 399730, upload-time = "2026-05-18T04:31:38.162Z" },
+ { url = "https://files.pythonhosted.org/packages/31/3a/0da302f2307aee316922806ebd5726c542cbd787c938271cf14a074c7daf/watchfiles-1.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7ba0480b9a74af058f43b337e937a451e109295c420916d68ad24e3dc02f5e44", size = 392842, upload-time = "2026-05-18T04:30:27.051Z" },
+ { url = "https://files.pythonhosted.org/packages/db/ef/d5bdb705c224dbc256aa0c1ec47bf4e61ec52558f2afb44a71a1fe4d7015/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4f34e26a19f91f710c08e0183429f0d1d15df734e6bc78c31e77b9ea9c433658", size = 452989, upload-time = "2026-05-18T04:31:11.945Z" },
+ { url = "https://files.pythonhosted.org/packages/71/29/5495f2c1661949ef7a35e4d71111d129cfe7606414a26887a919d0a55406/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b4e77f6a55f858504069abd35d336a637555c09bca453dde1ee1e5ada8a6a1fb", size = 458978, upload-time = "2026-05-18T04:30:52.606Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/8c/7f9c07c433811c2fffd93e13fdfb7135de9aab5f2ae41be08960fa0047dc/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0cb4d80e212f116474a545c21c912b445f16bb0cef9e6a73a498164223e14e2f", size = 490248, upload-time = "2026-05-18T04:31:36.003Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/11/d93632febc52fbc21be90231bb7c17fd5387f46c9076fd40a5f9c2ae6910/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b974946a10af379d425e2eef5b62f5c6ebeaccf91d45eaad6f5b27ecd4f91aa0", size = 571847, upload-time = "2026-05-18T04:31:10.862Z" },
+ { url = "https://files.pythonhosted.org/packages/55/b4/383173e73aabb07ad1d9c7aa859d95437ac46a6d6a1e11005facda0c9d19/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86bc13c25a8d1fcd70b51d0ce7c9b65e90de5666fcbfd3e34957cc73ee19aeb5", size = 465974, upload-time = "2026-05-18T04:30:17.006Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/6c/89b1a230a78f57c52dd8893adb1f92f94411721b6ec12596c56d98c74356/watchfiles-1.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca148d73dea36c9763aaa351e4d7a51780ec1584217c45276f4fe8239c768b71", size = 454782, upload-time = "2026-05-18T04:30:35.656Z" },
+ { url = "https://files.pythonhosted.org/packages/24/62/1732118367cfff0a9fce3bf62ff4bfded09ef5df21d9d446b858b3f70a96/watchfiles-1.2.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:c525543d91961c6955b2636b308569e84a1d1c5f5f2932041ab9ef46422f43e3", size = 465182, upload-time = "2026-05-18T04:30:20.846Z" },
+ { url = "https://files.pythonhosted.org/packages/28/96/716f7e5f51339bf22963f3345f9f27d7f3b30e2eadc597e257c881dd3c53/watchfiles-1.2.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:a204794696ffb8f9b10fba6f7cb5216d42f3b2b71860ccac6b6e42f5f10973b0", size = 629841, upload-time = "2026-05-18T04:31:05.397Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/fe/c40783950fd771ccf66ab3ec2722d188a9af1c7f96c6e811f36e40c6e03f/watchfiles-1.2.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:10d86db20695afe7997ac9e1717637d6714a8d0220458c33f3d2061f54cec427", size = 658028, upload-time = "2026-05-18T04:31:48.22Z" },
+ { url = "https://files.pythonhosted.org/packages/71/72/4508db1856d1d87fcbb3b63f4839bab1b5682cb0e8d224d122263c09654a/watchfiles-1.2.0-cp313-cp313-win32.whl", hash = "sha256:eb283ee99e21ad6443c8cdb06ac5b34b1308c329cbdf03fa02b445363714c799", size = 275183, upload-time = "2026-05-18T04:30:59.57Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/36/14b76ca57652e5cc5fd1c11f32a261292c08a0d19a00351013c2549cbfb2/watchfiles-1.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:a0f27f01bee51861392bb6b7c4fdb290b27d1eb194e9e28788d68102a0e898d9", size = 288059, upload-time = "2026-05-18T04:32:07.937Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/8d/0a85e395398d8d20fadfe5c5d32c726eee17a519e78fb356f2cf7531bffe/watchfiles-1.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:3651aa7058595e9cfb75d35dd5ada2bf9f48a5b8a0f3562821d3e210c507e077", size = 280186, upload-time = "2026-05-18T04:31:54.484Z" },
+ { url = "https://files.pythonhosted.org/packages/37/68/36db056f1fdcc5f07302f56e631774d6835bcd6fa3ace402304621d5f9e5/watchfiles-1.2.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:faea288b6f0ab1902ef08f4ca6de005dccf856c4e0c4f21b8c5fce02d90a1b08", size = 399031, upload-time = "2026-05-18T04:30:44.576Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/64/01a9d6f66a82a5c101ce939274106cc72759d62427e153f01edd2b9f87c2/watchfiles-1.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:01859b11fd9fbca670f4d5da00fbac282cfea9bd67a2125d8b2833a3b5617ea9", size = 391205, upload-time = "2026-05-18T04:30:25.413Z" },
+ { url = "https://files.pythonhosted.org/packages/84/2c/0a44fe058cb4bb7b8ede6b6670698bbb7c0400740e378d00022189b7b31d/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fff610d7bb2256a317bb1e96f0d7862c7aa8076733ee5df0fd41bbe76a24a4f4", size = 451892, upload-time = "2026-05-18T04:32:14.005Z" },
+ { url = "https://files.pythonhosted.org/packages/67/a1/351e0d56cd35e6488b5c8b4fb11a809a5bc923e8fe8fed9faf8920be0c89/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b141a4891c995a039cd89e9a49e62df1dc8a559a5d1a6e4c7106d16c12777a55", size = 458867, upload-time = "2026-05-18T04:31:22.279Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/7d/9d09605187f1b838998624049fcf8bf47b73c1a3b76901fcac1782f62277/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f22943b7770483f6ea0721c6b11d022947a98eb0acae14694de034f4d0d38925", size = 490217, upload-time = "2026-05-18T04:31:43.657Z" },
+ { url = "https://files.pythonhosted.org/packages/60/5d/a17a16eccb182f04188cd308ec24b1a71a9b5c4e7098269cf35d9fa56d02/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1bc6195825b7dcd217968bb1f801a60fd4c16e8eeab5bedc7fe917d7d5995ab4", size = 571458, upload-time = "2026-05-18T04:32:11.875Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/3d/4dd457062083ab1938e5dfd45032eb425cee2ac817287ca8ff4356183e5d/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4a4b147f5dca2a5d325a06a832fb43f345751adfbc63204aec30e0d9ca965a2", size = 464707, upload-time = "2026-05-18T04:30:43.492Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/71/ea8c57b128f5383de74d0c7d2d9c57ad7c9a65a930c451bd25d524b295b7/watchfiles-1.2.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4543579a9bdb0c9560039b4ffddbdb39545707659fbc430ce4c10f3f68d557f9", size = 454663, upload-time = "2026-05-18T04:30:16.061Z" },
+ { url = "https://files.pythonhosted.org/packages/53/fd/2e812bf938406d7db351f0703ddd3fc6c061cf30d96153a77bc79a943a44/watchfiles-1.2.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:20aa0e708b920bde876a4aa82dc7dd6ebea228a63a67cda6632c2fc87b787efa", size = 463537, upload-time = "2026-05-18T04:31:44.9Z" },
+ { url = "https://files.pythonhosted.org/packages/86/56/d17a7f1dd1bc3035f1072694a551301272f1739c2d8e319c927cb9e29b38/watchfiles-1.2.0-cp313-cp313t-musllinux_1_1_aarch64.whl", hash = "sha256:d413349d565dab74297f2a63e84a097936be69bf8f3b3801f27f380e32040f44", size = 629194, upload-time = "2026-05-18T04:31:14.141Z" },
+ { url = "https://files.pythonhosted.org/packages/be/06/f1ff66bf5cae50aa4062779a0ecd0bbaf15e466195719074078947d9a17d/watchfiles-1.2.0-cp313-cp313t-musllinux_1_1_x86_64.whl", hash = "sha256:f28b2725eb8cce327b9b3ab02415c853011dc55c95832fe90de6bc56f5315f72", size = 656194, upload-time = "2026-05-18T04:31:47.14Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/54/a9c7ea9a82a4ac65e7004c0a03920b5cdd2f9c3b678757d9cd425aa51d53/watchfiles-1.2.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:b8c8358484d5fa12ef34f05b7f4168eaf1932f408725ff6d023c33ec17bd79d4", size = 400205, upload-time = "2026-05-18T04:32:05.153Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/5d/c9ab3534374a4a67450696905d6ef16a04405448b8dc52bd752ae50423d4/watchfiles-1.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f04b092229ad2c50126dd3c922c8822e51e605993764a33058d4a791ab42281", size = 392508, upload-time = "2026-05-18T04:30:54.849Z" },
+ { url = "https://files.pythonhosted.org/packages/26/ca/1ad30103535cf0cecd7b993e8d50edc5351b1820e38f2d22e3df58962feb/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a7ce236284f002a156f70add88efe5c70879cccbb658be0822c54b1306fc09d", size = 452448, upload-time = "2026-05-18T04:30:53.727Z" },
+ { url = "https://files.pythonhosted.org/packages/37/a1/ceee2cdf2afbd715fa07758d39c9859513eae411b23196f7fd039e5feedd/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b9909cc2b48468b575eefa944919e1fe8a36c5849d5c7c168f80a8c1db69398e", size = 459605, upload-time = "2026-05-18T04:30:23.312Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/f6/421e30fd1cb3907a84ed92ab3f1983e37ba2dca015e9a894a048418417a2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a37faaed405c67e28e6be45a1fa4f206ef5a2860f27c237db9fa30704c38242", size = 490757, upload-time = "2026-05-18T04:30:47.358Z" },
+ { url = "https://files.pythonhosted.org/packages/41/b0/55ed1b97ed08be7bba6f9a541cac15f2a858e1d74d2b07b6da70a82aab00/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9649193aa27bd9ff2e80ff29bfaa93085496c7a3a377592823cc58b77ee88add", size = 568672, upload-time = "2026-05-18T04:30:38.915Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/cf/d8ae8a80dd7bafab395ea7681c10237311bbf34d37704a8c744e7cf31fc7/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e4ff8e37f99cf1da89e255e07c9c4b37c214038c4283707bdec308cb1b0ea1f", size = 464197, upload-time = "2026-05-18T04:30:09.914Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/8a/3076c496ca8dafe0e8cd03fcebdfc47be4b1174b4e5b24ff6e396e6b3af2/watchfiles-1.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:054dc20fd2e3132b4c3883b4a00d72fd6e1f56fdaf89fccd12e8057d74cd74d7", size = 453181, upload-time = "2026-05-18T04:30:14.829Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/10/9745e17c98e7b8a86454df0a3c7b5686bd650383f1e9f26e4ebcbd6cc0c0/watchfiles-1.2.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:e140ed30ebde76796b686e67c182cff10ea2fbab186fafd1560f74bb5a473a6e", size = 465109, upload-time = "2026-05-18T04:30:28.123Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/95/8ef4a95481d3e0cb52d62a06fa6e972e81424be2d9698b91a2fecca9904c/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:bb7e52ecf68ba46d22df23467b87cffeb2146908aa523ebfe803019618cfda06", size = 630653, upload-time = "2026-05-18T04:31:49.304Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/e4/3b3bf36b0f829b50c6ebcb8d031583863c59f923d6a6af3d485e470d0fac/watchfiles-1.2.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:23282a321c8baf9b3a3c4afff673f9fe65eb7fdc2338d765ccad9d3d1916a5ba", size = 657838, upload-time = "2026-05-18T04:31:06.497Z" },
+ { url = "https://files.pythonhosted.org/packages/21/b1/6cbbb50c1f3002ab568777d44aa21206dfb8807a840990c4037523b51812/watchfiles-1.2.0-cp314-cp314-win32.whl", hash = "sha256:c0db965c5f79aa49fe672d297cf1febc5ad149b658594944f49a54a2b96270a7", size = 275108, upload-time = "2026-05-18T04:30:06.891Z" },
+ { url = "https://files.pythonhosted.org/packages/92/45/190ce6db8dcb4536682cf75d3889ff1a27182a58cb519d343cb6d9ea63d8/watchfiles-1.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:71283b39fd17e5408eb123bd37aeecfd9d54c81fc184421943208aadb879d103", size = 288441, upload-time = "2026-05-18T04:32:12.901Z" },
+ { url = "https://files.pythonhosted.org/packages/74/0d/3eae1c2313ab08378431d907c3f8095ecca00f3eda33111cf4f0f2591799/watchfiles-1.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:c5c19526f4e54a00f2666a6c0e9e40d582c09e865055ea7378bf0009aab857b3", size = 280684, upload-time = "2026-05-18T04:31:26.902Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/75/fb64e6c25d6b5ca636d03df34ffb1c6e9873303e76d27967e045f8df088f/watchfiles-1.2.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:d73a585accffa5ae39c17264c36ec3166d2fad7000c780f5ef83b2722afb9dd2", size = 398857, upload-time = "2026-05-18T04:32:17.108Z" },
+ { url = "https://files.pythonhosted.org/packages/73/4e/9f7adf01754cbf81843722ccfec169d8f26c69778281a302855cecd2ee08/watchfiles-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ae99b14c5f21e026e0e9d96f40e07d8570ebee6cafd9d8fc318354606daa7a28", size = 392413, upload-time = "2026-05-18T04:31:07.911Z" },
+ { url = "https://files.pythonhosted.org/packages/47/c8/bec626bcc2d69f44b9acb24ce7d60ed7b16b73628eea747fcbd169d8edda/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4429f3b105524a10b72c3a819b091c495d2811d419c1e1e8df773a5a5974f831", size = 452409, upload-time = "2026-05-18T04:31:20.142Z" },
+ { url = "https://files.pythonhosted.org/packages/00/b7/b6362068e81e7c556d155a34c35d40ac3ef42d747b06d7f6e5bf58e359c2/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43d818978d06062d9b22c4fab2ebe44cf5213d42dc8e62bda8c2760cfa2eeb33", size = 458827, upload-time = "2026-05-18T04:32:06.219Z" },
+ { url = "https://files.pythonhosted.org/packages/67/f8/9a813fa42afb1e0b4625e75f0479826644d3ee8dc287e093799bc01f390c/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b9f732dc58b2dbe69e464ccf8fff7a03b0dd0be439da4c0720d3558527d3d6b4", size = 490104, upload-time = "2026-05-18T04:31:56.034Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/bf/27dfb6094ca4c9aad21298b5525b6c53cb36121ee454331d05161e58d130/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8f200104103feb097de4cab8fe4f5dd18a2026934c7dea98c55a2f5fd6d5a33b", size = 571360, upload-time = "2026-05-18T04:31:57.133Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/39/44a096d67270ea93df91d33877dbe91fbda3aa4f8ec2edf799d93eda8736/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:63ac26eefbf4af1741247d6fb68b11c49a25b2f7413fbd318a83a12aaa9cf666", size = 464644, upload-time = "2026-05-18T04:30:57.33Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/80/c7472203bad6268e3ef1ad260739704847898938ad7ea8b63a5131f46b50/watchfiles-1.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0c4997d4e4a55f0d02b6cde327322daf3a0400e5df6c6b15948994bf72497925", size = 454771, upload-time = "2026-05-18T04:30:48.736Z" },
+ { url = "https://files.pythonhosted.org/packages/51/cf/3b10b268b4b7f0fc26e9debb5eef1998b515887840f444cd3ec80c688755/watchfiles-1.2.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:4c887eba18b7945ac73067a8b4a66f21cd46c2539b2bc68588f7be6c7eb6d26b", size = 463494, upload-time = "2026-05-18T04:31:33.826Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/3e/a4302545cd589262a0dc7d140e86f7688eba3f9c72776c27f7e23b8864c4/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:3416ff151bb6b5a8d8d11664974fbef4d9305b9b2957839ab5a270468fd8df30", size = 629383, upload-time = "2026-05-18T04:31:15.596Z" },
+ { url = "https://files.pythonhosted.org/packages/db/99/d5649df0a9a410d45b7c882304d0b790903ac9b6e8f2cfd12114e0c6b9f2/watchfiles-1.2.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:0e831a271c035d89789cffc386b6aa1375f39f1cd25eb7ca0997e4970d152fc5", size = 656093, upload-time = "2026-05-18T04:31:58.707Z" },
+ { url = "https://files.pythonhosted.org/packages/92/b9/362702539275019a54dd2e94511b31a9b89c5f9e6a21966de7eb692549fc/watchfiles-1.2.0-cp315-cp315-macosx_10_12_x86_64.whl", hash = "sha256:37a6721cdf3f65dbb13aa9503510ccb4451603ac837e44d265d7992a597e1374", size = 400109, upload-time = "2026-05-18T04:31:16.879Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/75/71d5ba62db781e5587bded1d944c675374bc4aa37ff33d5018d98e8b6538/watchfiles-1.2.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:2b37d10b5a63bd4d87e18472d80fa525bd670586fae62e5dd580452764879b65", size = 392167, upload-time = "2026-05-18T04:31:28.058Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/01/c66dd95d0423fe30d31820e2d1d5bda773764131bbb6ac0cb1cf303ac328/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a105bc2283f67e8fbec74253ec2d94925de92ed72c0393f1206bf326b7b7b69", size = 452372, upload-time = "2026-05-18T04:31:00.836Z" },
+ { url = "https://files.pythonhosted.org/packages/91/15/2fe99557e72f85627c6a8eed50d889e8d101623e060a22ad75b875cb932d/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5327989a465505f05cfe06f04fa9d0c2fd5432bb243e10e6f012b1bdca3c8579", size = 459596, upload-time = "2026-05-18T04:31:34.96Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/23/d4acfa0023367428ed48351b3b9b267893037b6cadae55620c61c24bcfd4/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ecb47f183a8025b2aa18b546725c3657e542112ae9c0613a2af79b4fa8d04ad7", size = 490869, upload-time = "2026-05-18T04:31:59.923Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/5f/3164cbdce06c9fb95c4f7b9e2f9760b5e2797af43a9ecc317ef42a23a278/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8520a4ab0e37f770afc34459c4f8f7019e153f9124dc101c15538365875d1ab2", size = 571641, upload-time = "2026-05-18T04:32:00.948Z" },
+ { url = "https://files.pythonhosted.org/packages/41/e6/85d3731c55e65cd7690f3f803d24c139588aaf863e4bf2148fe7a7fa1a19/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:71cd71740ed2c15211ebb237ced4e39a1cdf6f80566e5fe95428da1626f4fde6", size = 464444, upload-time = "2026-05-18T04:30:34.298Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/7d/562641012b8b09872742c3b8adf9629ec479fd78f8d68ae4a0c13da8add6/watchfiles-1.2.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f88af53d6ddaf72179ef613ddc905e6f4785f712b49b80b3bef9f3525e6194b4", size = 453593, upload-time = "2026-05-18T04:31:23.464Z" },
+ { url = "https://files.pythonhosted.org/packages/56/fe/cb8ef3d6f929d14158fdaaad9925985b7310abc9384dcd4d82dd0016fb59/watchfiles-1.2.0-cp315-cp315-manylinux_2_31_riscv64.whl", hash = "sha256:cee9d5efd929efdac5f7e58f72b3376f676b64050a91c5b99a7094c5b2317488", size = 465096, upload-time = "2026-05-18T04:31:30.384Z" },
+ { url = "https://files.pythonhosted.org/packages/25/91/80908e835e100527a9267147b08c0eee1fa6ab0ffec15edc04d1d44885f7/watchfiles-1.2.0-cp315-cp315-musllinux_1_1_aarch64.whl", hash = "sha256:b718bf356bbc15e559bd8ef41782b573b8ae0e3f177ab244b440568d7ea02cfb", size = 630638, upload-time = "2026-05-18T04:30:49.89Z" },
+ { url = "https://files.pythonhosted.org/packages/46/4b/95ab2f256bb4af3cb2eb23b9317bda984ee6e0f11733a5c004a6c95b06e3/watchfiles-1.2.0-cp315-cp315-musllinux_1_1_x86_64.whl", hash = "sha256:922c0e019fe68b3ae392965a766b02a71ba1168c932cebc3733cd52c5fe5b377", size = 657684, upload-time = "2026-05-18T04:31:32.027Z" },
+ { url = "https://files.pythonhosted.org/packages/23/f4/7513ef1e85fc4c6331b59479d6d72661fc391fbe543678052ac72c8b6c19/watchfiles-1.2.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:4674d49eb94706dfe666c069fc0a1b646ffcf920473492e209f6d5f60d3f0cc2", size = 403050, upload-time = "2026-05-18T04:30:36.753Z" },
+ { url = "https://files.pythonhosted.org/packages/27/0b/a54103cfd732bb703c7a749222011a0483ef3705948dae3b203158601119/watchfiles-1.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:094b9b70103d4e963499bdea001ee3c2697b144cd9ae6218a62c0f89ec9e31db", size = 396629, upload-time = "2026-05-18T04:32:03.268Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/2c/73f31a3b893886206c3f54d73e8ad8dee58cdb2f69ad2622e0a8a9e07f4e/watchfiles-1.2.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b0ef001f8c25ad0fa9529f914c1600647ecd0f542d11c19b7894768c67b6acb7", size = 457318, upload-time = "2026-05-18T04:31:01.932Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/f9/45d021e4a5cc7b9dd567f7cbb06d3b75f751a690063fb6cc7ec60f4e46b7/watchfiles-1.2.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a88fc94e647bc4eec523f1caa540258eb71d14278b9daf72fa1e2658a98df0f0", size = 457771, upload-time = "2026-05-18T04:30:56.331Z" },
+]
+
+[[package]]
+name = "websockets"
+version = "16.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/8c/02/b9a097e1e16fee4e2fd1ec8c39f6a9c5d6257bae8fa12640caf869f54436/websockets-16.1.tar.gz", hash = "sha256:299468cbe42e2b9981134c7c51d99387d8a7bf562b00183b3eec53f882846dad", size = 182530, upload-time = "2026-07-10T06:32:57.734Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9e/13/d47429afcc2c28616c32640009c84ea3f95660dab805766345b9682468e0/websockets-16.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a9b1d7a63cba8e6b9b77e499a81eab29d31100298d090ad4507d1048c0b9cae0", size = 179770, upload-time = "2026-07-10T06:30:46.308Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/c7/2f0a722039a1e0107be73ed672ba604449b4956e48733e8e6b8a005aea42/websockets-16.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:bedbc5efeb96621aa2921d2d92608246691399418cac22acba427eb11877ea1f", size = 177455, upload-time = "2026-07-10T06:30:47.601Z" },
+ { url = "https://files.pythonhosted.org/packages/43/6a/c26b0ae449e93d256ce5cdd50d5fe97b575a63e8dcd311a1faa972fd6bc6/websockets-16.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fd847ab82133015afe65d778e7966ab42dba16bd7ad2e5b8a7918db6539f3f94", size = 177731, upload-time = "2026-07-10T06:30:49.102Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/3f/381550b344a02f0d2f84cda25e79b54575291bc7022128a41163fe8ba5b0/websockets-16.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e2fb33ccb16ee40a95cc676d7b0ff451a9a2632f11a0dbc2e666326892b2e1de", size = 187066, upload-time = "2026-07-10T06:30:50.505Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/87/5ab1ec2086910f23cfb9ec0c1c29fbcc24a9d190b5198b1557c00ce4a47e/websockets-16.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f15b6d9ea9c2eaf6ccab964a082b09bfa6634a495bb0c2e9e7ee6943f58976", size = 188301, upload-time = "2026-07-10T06:30:51.835Z" },
+ { url = "https://files.pythonhosted.org/packages/75/4b/bbbb8e6fac4cfc53d7aaa69a3d531bf10799354b0021f4b58914aced8c1a/websockets-16.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:638cf57c48b4ad8ac1ff1e453f4f97db2426b690ddc111e6da96b27b4a340bc3", size = 191594, upload-time = "2026-07-10T06:30:53.229Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/da/6c0c349443d6e999f481e3d9a0e57e7ac2956d75d6391bec24b92af3fe13/websockets-16.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2c1c85f61bc9d5eac57ce705d848dc2d2ce3680638300bf4e1da7d749e2cf4ce", size = 188862, upload-time = "2026-07-10T06:30:54.744Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/ea/a368d37c010425a5451f42052fe804e754e23333e8448aef5d55c8a8d64f/websockets-16.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:eeab6d27f51c7e579023c971f5e6dff200deadf01faf6831beaecd32052dfaef", size = 187633, upload-time = "2026-07-10T06:30:56.055Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/4e/2ecd59add10d0855ec03dbdedfcdacdbd1aaabcd44b7dcbeda27538662e9/websockets-16.1-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:2ed64e5a97b0b97a0b66e18bfe281317a75fbbd5afe692f939ea8d14a4292f2c", size = 185089, upload-time = "2026-07-10T06:30:57.444Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/eb/c6c3dcd7a01097bb0d42f4e9ef21a2c2a491d36b77cd0870ab59f9e8e77f/websockets-16.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9b3b021d0ed4bc16eea9775f62c9fa71acdacba0fc790b38581754dedf29ca60", size = 187790, upload-time = "2026-07-10T06:30:58.731Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/3e/775d36885d5e48ab8020aaf377de0ff5fbeb8bc2682a7e46419e4a14521c/websockets-16.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:6eb604a4167f0a0d53c2243dfc667a29f0b43c3436057184e070bb82a1000fa2", size = 186381, upload-time = "2026-07-10T06:31:00.355Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/90/6305c00812a92e47d0582604c02bd759db0118bbafc13f707d712dbcf898/websockets-16.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:9a3f125e44c3e34d61d111652e608e0f5b85ce08c225c8d56ad0eb822fa40030", size = 188193, upload-time = "2026-07-10T06:31:01.677Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/32/96bf8302c81d961585b4d34a2ddd3f229782f9b8c57bc78bbf98f1b1a4ac/websockets-16.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:8fdf0b00d0d1f30d1f06a92cab46fe542eec3eb302a7aee7163f142d0780f216", size = 185771, upload-time = "2026-07-10T06:31:03.062Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/1f/e8fe44b1d2dc417d740d9959d28fd2a846f268e7df38a686c04ac7dfe947/websockets-16.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:67b56828712f5fa7852de4c0265c28827311a657a4d275b7312ed0d1a918bee4", size = 186803, upload-time = "2026-07-10T06:31:04.34Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/29/b07d3a4e1eb2ab03e94e7f53f0c7a628e85fde6ad86011f7afd08f27b985/websockets-16.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:39c7e7730be33b8f0cd6f0aa8e8c82f9cdd1813f159765e073b2ece65f4824b5", size = 187041, upload-time = "2026-07-10T06:31:05.567Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/fd/e0abb8acc435642ac4a671490f6cf781c882f3fe682cdced9080ea455ab5/websockets-16.1-cp311-cp311-win32.whl", hash = "sha256:c54fe94fb2f11e11b48920c5f971e298cec73ac35db56efe57a49db63dfc95d4", size = 180158, upload-time = "2026-07-10T06:31:06.929Z" },
+ { url = "https://files.pythonhosted.org/packages/81/06/85574d9458d3b913090087b817df0cc47b68e9a01dd0ab6ac04b77f49b0a/websockets-16.1-cp311-cp311-win_amd64.whl", hash = "sha256:f9f4fb9ae8b802e55609685db98382d48fd3feb1397804e1e774968dea0f28c7", size = 180456, upload-time = "2026-07-10T06:31:08.247Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/52/748c014f07f4e0e170c8932de7e647a1511d5ab3049cd978797136aee577/websockets-16.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:b6aa3f7ad345cf3862c21f4fbf2ef5e14d911348476c2845e137c091fe3a3f0b", size = 179798, upload-time = "2026-07-10T06:31:09.664Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/5e/2a2e64d977d084e49d37c187c26c056daaff41965be7300cd5dbde6f8b07/websockets-16.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b43fcfb521ac2f34ba80b7b8ea16303e4ad82dd8af667bf40839ad3a5d37b164", size = 177478, upload-time = "2026-07-10T06:31:11.072Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/12/5b85b4e75d697e548a94962ce5c036b05dd21cb9545759d555c5586422fc/websockets-16.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2bd3e12cd9afbe2baedae0b1eeade8ba64329b60fe2f9abdc966bd10fd2c2ef5", size = 177746, upload-time = "2026-07-10T06:31:12.386Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/62/79b1c8f0cee0da648b4899e1c5b0dbd3aa59846985136a54854db6827ab4/websockets-16.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:35f41979c8623df9bd30d949d82010a8fda5c56ff12cd8508a5b7272b6d4b53a", size = 187345, upload-time = "2026-07-10T06:31:13.754Z" },
+ { url = "https://files.pythonhosted.org/packages/25/34/b7c5c52c2f24280e1c017acb7ad491a566750a5cceca7f3cf999373bba21/websockets-16.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a24d1f35aef07d794a16c853c688e74956c50239bec37b4f2de080056046419b", size = 188581, upload-time = "2026-07-10T06:31:15.075Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/37/604193bebcbeffe96fdf795960b83a15d600880c64dc17ec9c31c5b3427d/websockets-16.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0c64c024ddf7a35331b21fcddb562a039c275d2c82e8c2d12939e7da23997270", size = 191362, upload-time = "2026-07-10T06:31:16.395Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/b4/5ee27575b367d7110d4d13945e2a9de067ec84dc71e54b87f01e38550d9a/websockets-16.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c3e99757f5baafe20fc598e202ea6f5b0b265186ad38d0a17bd8beca16296955", size = 189216, upload-time = "2026-07-10T06:31:17.776Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/22/3e2dcc78d85fc5d9d814895ce6d07d0dfacc0f6aaa1d151f2b8c8d772299/websockets-16.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:353f3bc6e058ac1ccab4b3588e8598837a8c04cfc8351233e6d523be675d844c", size = 187971, upload-time = "2026-07-10T06:31:19.152Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/2f/cd271717b93d5ee19626cb5e38a85baab745c86e33db7c31a3ac729b31b8/websockets-16.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0352f5b38b40e857b6428d468fa21dbb4dd4a567d933c26d9831b4efe1b92f43", size = 185381, upload-time = "2026-07-10T06:31:20.665Z" },
+ { url = "https://files.pythonhosted.org/packages/78/91/6ad6f2f1426317b5001bd490534208c7360636b35bac1dec2e0c22bfc40e/websockets-16.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:70bd789afab579602968c39f21cb925466505f3edff22f0ae852bca54978a4f9", size = 188015, upload-time = "2026-07-10T06:31:22.024Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/6d/533733132ab4c07540efd4a8f0b9a435d3a5059b2f26cc476ace1abf7f45/websockets-16.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:d0fb4b46f121eccd539353baebd1083a8767a9a351109453d1d1caecd1ba40c2", size = 186619, upload-time = "2026-07-10T06:31:23.376Z" },
+ { url = "https://files.pythonhosted.org/packages/08/73/16c059f3d73b3331eba10793704afa4faa9939234fb08ef7dca35794e8f0/websockets-16.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c14b6634af01541e4efe2954fd8f263386f7aa6d37c01e55dd8109fd17661452", size = 188497, upload-time = "2026-07-10T06:31:25.024Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/89/9a8fae7dd2acdcfb1a8844c29fe42b518a04b64fce38a0923b6290e452f1/websockets-16.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:a58532c49a851bcb481e58c1be23b315c17fe2fbbed509d75aeea12f543d2c15", size = 186051, upload-time = "2026-07-10T06:31:26.291Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/40/b240c7dd6a0e0c59c1f68377cc3015263521080c327c15f5e753c1f6d378/websockets-16.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:4e969170c3b08e1d8dabd990fef1fa702c4233aeaabec33f871806e444f6a0e4", size = 187029, upload-time = "2026-07-10T06:31:27.605Z" },
+ { url = "https://files.pythonhosted.org/packages/50/35/524e3fac40e47d6fdcf6c4b2c95ef1bc8a97e01593c90eff86621df7b716/websockets-16.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ff9b000064b88787ba9f7a3cb2af2b68a658ca5aad76458a46469e7124b678a0", size = 187308, upload-time = "2026-07-10T06:31:28.927Z" },
+ { url = "https://files.pythonhosted.org/packages/00/13/56840cf62c8859af6ba22b9529da937332468c80f32b598753e8a66d3990/websockets-16.1-cp312-cp312-win32.whl", hash = "sha256:b9f5d83f80f4d7c4bba6d97f3755ac05850c784dce0fd2ab371c4e41172f53ff", size = 180161, upload-time = "2026-07-10T06:31:30.316Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/ff/87eb9eb44cb62424a8d729834f2b0515a47e2669fabec29820268f4d50a1/websockets-16.1-cp312-cp312-win_amd64.whl", hash = "sha256:6852c9f653966c16109d3b6f31181fd734f7914927e3f0fa1117af7a18c9aa21", size = 180462, upload-time = "2026-07-10T06:31:31.708Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/63/df158b155420b566f025e75613424ad9649a24bcb0e9f259321ab3d58bea/websockets-16.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:b0232ed141cec3df2af5a3959a071c51f40036336b0d37e17faf9ef52fc73e47", size = 179791, upload-time = "2026-07-10T06:31:33.108Z" },
+ { url = "https://files.pythonhosted.org/packages/74/cf/00fe9414dfeafa6fe54eae9f5716c8c8e9ac59d192be3b893c096d395846/websockets-16.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:a71b73d143991714144e159f767b698f03c4a70b8a65ae1733b650cff488045b", size = 177472, upload-time = "2026-07-10T06:31:34.522Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/76/b10633424d40681b4e892ffd08ca5226322b2426e62d4ab71eae484c3a32/websockets-16.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:187323204c3b2fc465e8fc2609e60437c521790cb9c1acb49c4c452a33e57f37", size = 177737, upload-time = "2026-07-10T06:31:35.964Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/61/d3bb03b2229bb1afd72008742d586cf1ea240dce64dd48c71c8c7fd3294c/websockets-16.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9dba74233c8c3ce368850818c98354dad2570f57231b3fd3bd00d7aa57628881", size = 187403, upload-time = "2026-07-10T06:31:37.496Z" },
+ { url = "https://files.pythonhosted.org/packages/26/16/cc2e80478f688fc3c39c67dc1fac6a0783858058914ebc2489917462cb42/websockets-16.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:63339bc8c63c86a463177775cb7c677691f5bcfac7b3b2f01b286d42acd41600", size = 188639, upload-time = "2026-07-10T06:31:38.86Z" },
+ { url = "https://files.pythonhosted.org/packages/15/d6/ad87b2507e57de1cbf897a56c963f2925962ed5e85fbe06aaa83ced27acd/websockets-16.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:23e545ea8ae4263e37cdfd4e22a217f519e48e432728bc461185bbf585f38a83", size = 190078, upload-time = "2026-07-10T06:31:40.218Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/1a/5b37b3fd335d5811f29fc829f2646a3e6d1463a4bf09c3100708684c766e/websockets-16.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2237081454846fb40403a80ba86d82e2038b9c45865ab96af0abe7d002a91045", size = 189267, upload-time = "2026-07-10T06:31:41.523Z" },
+ { url = "https://files.pythonhosted.org/packages/42/98/06afc33e9450d4230f94c664db78875d90f5f6a5fb77f0bc6ec15ae74e1c/websockets-16.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5f5218de1ed047385ca53744caba9435d65f75d008364970a3fae95a05812cf9", size = 188022, upload-time = "2026-07-10T06:31:42.838Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/bf/42fef5d5887c18cf2d148b02debf56cecb9cfbffc68027cde9b12c8f432c/websockets-16.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:75c98e3920039d0edff03b74478ada504b7ce3a1bc406db2cabfca84320f7baf", size = 185435, upload-time = "2026-07-10T06:31:44.219Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/9b/8021c133add5fe40ed40312553a6cd1408c069d7efe3444ad483d4973ed3/websockets-16.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:1facd189d8190af30487a55b4c3688484dd50801628a3b5b2ccd26db08e67057", size = 188080, upload-time = "2026-07-10T06:31:45.986Z" },
+ { url = "https://files.pythonhosted.org/packages/69/54/1e37384f395eaa127383aab15c1c45e200890a7d7b99db5c312233d193e0/websockets-16.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:cc0c6a6eef613c7da32d4fb068f82ef834b58134f6a16b54e6c1e5bf9529ab3d", size = 186678, upload-time = "2026-07-10T06:31:47.449Z" },
+ { url = "https://files.pythonhosted.org/packages/68/79/1caeacab5bc2081e4519288d248bc8bd2de30652e6eaa94be6be09a1fe5b/websockets-16.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:ad9411eded8988b879be6038206698bf7106c85a78f642c004485bcb95be17eb", size = 188554, upload-time = "2026-07-10T06:31:48.886Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/83/b3dca5fad71487b726e31cb0acf56f226792c1cc34e6ab18cbf146bd2d74/websockets-16.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:cd68f0914f3b64694895bc5e9b14e8b447e41d7bf5ffaf989bb8dcb5e2dfdce7", size = 186109, upload-time = "2026-07-10T06:31:50.508Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/0b/8f246c3712f07f207b52ea5fb47f3b2b66fafec7303162644c74aed51c6a/websockets-16.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:fef2debfe7f7ebdda12176f26166f95b7af17af05ba06150fcf889032e0213e9", size = 187061, upload-time = "2026-07-10T06:31:51.861Z" },
+ { url = "https://files.pythonhosted.org/packages/47/eb/27d6c92a01696b6495386af4fc941d7d0a13f2eab2bf9c336111d7321491/websockets-16.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a3cd6c9b798218798f4bb7b2e71c38f0e744bb94ca537b13376f88019d46384d", size = 187347, upload-time = "2026-07-10T06:31:53.246Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/d5/eeee439921f55d5eaeabcea18d0f7ce32cdc39cb8fc1e185431a094c5c7b/websockets-16.1-cp313-cp313-win32.whl", hash = "sha256:84c170c6869633536921e4474b1cce7254c0c9b0053ef5725f966cee47e718e4", size = 180149, upload-time = "2026-07-10T06:31:55.058Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/03/971e98d4a4864cf263f9e94c5b2b7c9a9b7682d77bfbba4e732c55ee85a9/websockets-16.1-cp313-cp313-win_amd64.whl", hash = "sha256:bef52d327d70fa75dad93ee61ea2cb1d1489aca9f35c188833563f5a3b4df0a5", size = 180458, upload-time = "2026-07-10T06:31:56.767Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/e6/da1dc11507f8118145a81c751fe0c77e5e1c11b8554496addb39389e2dc2/websockets-16.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:f881fca0a45dd6789939bd6637cd98169b92f1c3fdc78262f2cb9ec2cb1f324e", size = 179833, upload-time = "2026-07-10T06:31:58.19Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/ac/c0d46f62e31e232487b2c123bc3cfd9a4e45684ca7dc0c37f0987f29baae/websockets-16.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:30c379d5b207d3a7f0ba4c2e4602a895b0bcc63fb5f5371a4ae7fbddb03b672b", size = 177524, upload-time = "2026-07-10T06:31:59.563Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/33/abd966074b34a51e4f134e0aaed80f5a4a0a35163ea5ac58a1bc5a076d23/websockets-16.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:98ab58a4faa72b46da0127ccc1931dcbfc0985b0778892300a092185910c4cbe", size = 177743, upload-time = "2026-07-10T06:32:00.959Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/30/646e47b8a8dff04e227bdab512e6dde60663a647eeac7bbd6edddd92bbc5/websockets-16.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e9c4e369fc181b2d41a99e01477215cecdc8546a39f7d41a59cc0a7065a0b09", size = 187474, upload-time = "2026-07-10T06:32:02.54Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/72/890ab9d77494af93ea65268230bfbc0a90ba789401ed7a44356a44785644/websockets-16.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0704df094b2d5fa7f6f410925a594c2a5c9a09167731a76292e5410934208209", size = 188717, upload-time = "2026-07-10T06:32:04.156Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/aa/baedbbaa6bf9ed6029617ed5e8976535bd805f483ca9b3484e7ad9ee08bf/websockets-16.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b22b1f4950f6ab7126623329c3b47b3b90a14c05db517f2db2a026ad6c928352", size = 190090, upload-time = "2026-07-10T06:32:05.822Z" },
+ { url = "https://files.pythonhosted.org/packages/52/4f/d813ec94e18002571ef4959d87a630eff6e01b72a51bcb0832b75ae8c51a/websockets-16.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1ae4a686a662964a6671069f84f7f908cc3475e782227726b0c622c715962105", size = 189320, upload-time = "2026-07-10T06:32:07.223Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/3c/8ec52a6662f3df64090fba28cd521d405d54759268d8e820477037e8c80d/websockets-16.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:856bdd638f8277f86465057bfdd4da097c73058fb0f9d2bd5baea29e2bf2d367", size = 188068, upload-time = "2026-07-10T06:32:08.586Z" },
+ { url = "https://files.pythonhosted.org/packages/96/7f/f0ae6042b14f86fa5f996c6563ea4cf107adc036ccbedc9d4f418d0095f9/websockets-16.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9003a1fde1c21a322a3ca3fa0c4bda8c639da81dbc925162766086643b05ba87", size = 185493, upload-time = "2026-07-10T06:32:09.968Z" },
+ { url = "https://files.pythonhosted.org/packages/89/ad/5ffc53af9939c49fd653d147fa5b8f78ced1f6bce6c49a7446860945b0ce/websockets-16.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:39e947b1f5fdab045174306e3916785bf3ed537648acc1549827c08c33b10953", size = 188141, upload-time = "2026-07-10T06:32:11.434Z" },
+ { url = "https://files.pythonhosted.org/packages/67/62/729206c0ee577a4db8eae6dd06e0eef725a1287c6df11b2ef831d003df31/websockets-16.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:5dd0e666b5931c0509cf65714686a1c5126771e663a79ac5d40da4f58b1f9502", size = 186653, upload-time = "2026-07-10T06:32:12.845Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/86/e8806a99ec4589914f255e6b658853fe537bf359c05e6ba5762ad9c27917/websockets-16.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:a0285df7925657ad65a65fb8dc330808bce082827538fd50ef45fa12d1fc5bca", size = 188614, upload-time = "2026-07-10T06:32:14.236Z" },
+ { url = "https://files.pythonhosted.org/packages/89/38/ac554e2fc6ff0b8deeff9798b92e7abd8f99e2bd9731532e7033de208220/websockets-16.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:82d1c2cab3c133e9d059b3a5420bed9376bd30e21c185c63dda4ddadf6ddda47", size = 186165, upload-time = "2026-07-10T06:32:15.626Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/c5/4ef4d8e53342f94f3c49e1ae089b32c1e8b3878e15e0022c7708c647f351/websockets-16.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:c39907f1eaf11f6277def65aa02d68f30576b693d0c1ca332aafa3caa723ac6d", size = 187119, upload-time = "2026-07-10T06:32:17.114Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/33/4788b1dd417bd97eeb2698af3b9df6775ac656f96e9987da0419a067602f/websockets-16.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:45c5ea55446171949eb99fd34b771ceddd511ca21958d40d0197ced33159e5ee", size = 187411, upload-time = "2026-07-10T06:32:18.629Z" },
+ { url = "https://files.pythonhosted.org/packages/30/38/00d37aad6dc3244ce349e2864815362e50b3cfc00cac28d216db20efe40f/websockets-16.1-cp314-cp314-win32.whl", hash = "sha256:b8ef8b1c8d6bd029a475ac432e730fba2dfd456715d26c473e2a82291024b99c", size = 179822, upload-time = "2026-07-10T06:32:20.233Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/37/2a8cb0eaddee5eaebda47a90a3ba0898d1ce3d866b02a4857fea17d82e5b/websockets-16.1-cp314-cp314-win_amd64.whl", hash = "sha256:7358ff21632b5d062707f73e859c824f1c3807e73d8ca25e71caca7c4cdcf145", size = 180167, upload-time = "2026-07-10T06:32:21.749Z" },
+ { url = "https://files.pythonhosted.org/packages/07/5a/262ad5fcaef4198997b165060f09a63f861e76939b1786ab546ccc3f8120/websockets-16.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:d0f38f4c3e9b359e257c339c2cc1967ccaeedb102e57c1c986bdce4bf4f32268", size = 180166, upload-time = "2026-07-10T06:32:23.278Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/c7/36377db690f4292826e4501a6dec2801dc55fd1cf0405923b04937e478df/websockets-16.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:3c3d2cbd1602593bad49bd86fa3fbb25407d87a3b4bf8857c0ac5ac4914e1901", size = 177697, upload-time = "2026-07-10T06:32:25.164Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/c7/07171abce1e39799a76f473608580fe98bd43a1230f5146159622c02bccf/websockets-16.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:36069b74671e7e667f48a7484249f84c45a825a134c8b1bdc01875d0daa10d79", size = 177902, upload-time = "2026-07-10T06:32:26.564Z" },
+ { url = "https://files.pythonhosted.org/packages/14/17/c831f48e250bc4749f57c00dcce73337c41cd32f6d59a64567b84e782601/websockets-16.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:587f83c2ce8a5d628e166384d77fa7f0ac69b9007d515ab442123e6615aa8da3", size = 187766, upload-time = "2026-07-10T06:32:27.981Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/2e/4dfe63e245b0ecfaf470cf082d25c6ce35808159135fd88c82653a6b11ab/websockets-16.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a6db7972d52bc1b66cefe2246902e256cbaebc9ba8a45eac09343d7eb6671b2", size = 188939, upload-time = "2026-07-10T06:32:29.365Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/e5/5faf65aebd9562f6b4bc473d24ce38cc56f84eb5f5bee66ed9b86733f93c/websockets-16.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e7d6014888a0632e1ed7a4095248bb3095232999447f2d83bfb1900987dd9ed9", size = 191081, upload-time = "2026-07-10T06:32:30.868Z" },
+ { url = "https://files.pythonhosted.org/packages/49/cd/2634f2f2c0556c1aae6501ed6840019cc569dd6fdbcac6494378daea4dc0/websockets-16.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9cb074d150e4ad2a77aa8a332c2be85f3f64f2681519d2570c1225c12c9821ff", size = 189513, upload-time = "2026-07-10T06:32:32.399Z" },
+ { url = "https://files.pythonhosted.org/packages/59/bb/2c700b51196104f09715b326b1f092ed25326bdf79a03e00a4842e503743/websockets-16.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d19c9067e1fe9490f974bffbc0e443b80a7674c5efb4980c429cc00771f07c5a", size = 188240, upload-time = "2026-07-10T06:32:33.897Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/20/86283636e499a1a357fa9441f690ba34f255e731f2fea174132b3b762b57/websockets-16.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d440ff0c6c7469ad59c0a412c383c235935b43635e89425e3f6a0c36de90c31b", size = 185955, upload-time = "2026-07-10T06:32:35.279Z" },
+ { url = "https://files.pythonhosted.org/packages/91/23/d7fb734b0095d43bc7f1c9f68afd50adb4176e7e513403e8c70ad7daa4fa/websockets-16.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8613129a2533f08de24505e69a3e403cedaadae49abdb043c4d170ca71b7e4bd", size = 188491, upload-time = "2026-07-10T06:32:36.673Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/5e/168a192689db468405ecf3b8e4a2c18811936b0724d017ad7e6d252734f0/websockets-16.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:a5bf9c23f197b4ec88290fd5463f33db67362a1bb10f85fc2e8e7627f0ddab97", size = 186983, upload-time = "2026-07-10T06:32:38.207Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/9b/66795fa91ebe49019ebe4fa910282172252e37046b80e08fc52e0c365150/websockets-16.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:520b0fd0395f075febb283c76755af724ab9fd19dffa4f3bfd18cb4e622790a3", size = 188890, upload-time = "2026-07-10T06:32:39.545Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/32/126bbc844be5afb3613fd43211dac10a9645f4cf39741d04acaa2ec7030c/websockets-16.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:7143aa09a67e1c013be44e81a88dfe90fc6244198ab86c7edd064152cf619805", size = 186583, upload-time = "2026-07-10T06:32:41.038Z" },
+ { url = "https://files.pythonhosted.org/packages/22/b9/0b5db9cbcf6e4970db4496893244a8d92e07f71a8ef27cf34b08aa02fef1/websockets-16.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:7acb811fad08e611755800d1560e395c67e11a6bd563598ea6abb319afb86938", size = 187353, upload-time = "2026-07-10T06:32:42.501Z" },
+ { url = "https://files.pythonhosted.org/packages/99/2e/254b2131a10d831b76e2c18dfe7add9729c6292c674a8085bf8de01ad151/websockets-16.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c5cf88e3faa2f7931bc6baeee7599c97656a3f6ac7f831f4fccba233e141783a", size = 187784, upload-time = "2026-07-10T06:32:43.929Z" },
+ { url = "https://files.pythonhosted.org/packages/21/dc/e7288aa8e3ac5a88a0924619984d663c1abf2a87d0ea98290c66fdaee0ec/websockets-16.1-cp314-cp314t-win32.whl", hash = "sha256:589f8842521c8307684ce0b40ce4ad70c5e0aa46484c6f1225a94ef4b8970341", size = 179947, upload-time = "2026-07-10T06:32:45.495Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/de/37edf1260ff0fbbd2f82433489c4cfbe799ac2ff21355331609879329fe6/websockets-16.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c0e0857c30bbbc2bb5c30687508f0b7ec19aa026cd9f2ff8424d0fee42dcc07", size = 180291, upload-time = "2026-07-10T06:32:47.119Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/f4/84ef884775bbe77c46cce79bc7d705ea3bc6574cc00acf81af89754c077d/websockets-16.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7289d899c79e763e6221c8dcb8959361cb43274418538d7c7ad16a43b01d12f9", size = 177387, upload-time = "2026-07-10T06:32:48.574Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/d9/6831ec6f65e1eeac770375f4f4b604f23df9bafaa1b47004bc5f9488d513/websockets-16.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:e22e9e3719f5131bd62da4db63c8da63eb8c91cc99e16c1cbd122f130e1ae07a", size = 177663, upload-time = "2026-07-10T06:32:50.043Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/d4/21d4922fa7fe855813a8b38f181a0ecf02a586e16c1f095fd05471f78cc2/websockets-16.1-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:83bdabafef431247e6b11a9aab8a0893fd8e82e1ed95b32e0373625b03ffce4a", size = 178501, upload-time = "2026-07-10T06:32:51.439Z" },
+ { url = "https://files.pythonhosted.org/packages/91/87/7a0320df854dacd09507ca972cb04a4dc5aae279583cc5b80ad5f5819533/websockets-16.1-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0b8d13ceabc5c60995f201b5211d76876e17e68706ebf5d3bc666b32eefff1a6", size = 179397, upload-time = "2026-07-10T06:32:52.892Z" },
+ { url = "https://files.pythonhosted.org/packages/31/6a/0da1eb8c8da2ace7b578c8523d32618af85e62a9ebad56051d4a14a38a1c/websockets-16.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:81495f9c0085361c582efbc3207fb877174cfe03370f17d9cd70624404aa526f", size = 180546, upload-time = "2026-07-10T06:32:54.619Z" },
+ { url = "https://files.pythonhosted.org/packages/66/58/bd83247f39ddc26ffc2c24eb05087a3b749e00cb4509fc6d19daa23c8495/websockets-16.1-py3-none-any.whl", hash = "sha256:c5149dfe490ec7e5ee5dbf624c642fb725f93a5575c7f00ab594ca9eddb8dd81", size = 174031, upload-time = "2026-07-10T06:32:56.079Z" },
+]
+
+[[package]]
+name = "yt-dlp"
+version = "2026.7.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/47/c5/9972af4b472b0d55badf841ebafd2f98944cb0ae0f46e11d01f363ea5b91/yt_dlp-2026.7.4.tar.gz", hash = "sha256:b094813404f87a9dd2186f00815231df32e5fd8a5403be0f807b3bb2d21a4432", size = 3049326, upload-time = "2026-07-04T22:42:14.837Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f9/8a/cd4c9b02c10c563adfe78118310129641900e1cd6de888cfae2452072696/yt_dlp-2026.7.4-py3-none-any.whl", hash = "sha256:f11f2b11d5a8ac4059f9bdf29fa4407dc7c6bb00c5097e95ca22a7a9db518266", size = 3184705, upload-time = "2026-07-04T22:42:12.989Z" },
+]