From 94c96832e6781a7fa5afb138d6fb72e8b0e6d818 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 21:25:32 +0100 Subject: [PATCH 1/7] feat: add synthetic test data sets Add one CSV partition per Node of a synthetic data set, a manifest with URLs, sizes and checksums, and the seeded generator that writes them. Tests check that the committed files match the generator. Add CI (lint, test, gate) for the Python code of the repository. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 93 ++++++ .gitignore | 1 + README.md | 18 ++ data/README.md | 51 ++++ data/manifest.json | 31 ++ data/synthetic-growth/node-a.csv | 51 ++++ data/synthetic-growth/node-b.csv | 51 ++++ pyproject.toml | 41 +++ scripts/generate_test_data.py | 165 +++++++++++ tests/test_generate_test_data.py | 76 +++++ uv.lock | 487 +++++++++++++++++++++++++++++++ 11 files changed, 1065 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 data/README.md create mode 100644 data/manifest.json create mode 100644 data/synthetic-growth/node-a.csv create mode 100644 data/synthetic-growth/node-b.csv create mode 100644 pyproject.toml create mode 100644 scripts/generate_test_data.py create mode 100644 tests/test_generate_test_data.py create mode 100644 uv.lock diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..47857825 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,93 @@ +# Everything that must pass on pull requests and pushes to `main`. Needs no +# secrets. No `paths:` filters, so that the gate always reports. The gate +# `passed` ("CI passed") is the only check to require; add every new job to +# its `needs`. The retired demo `2023-ecp-f2f` is not checked. +name: CI +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +# Only a new head commit of a pull request cancels its runs in progress +# (action `synchronize`, first attempt); runs for other actions and reruns +# wait, so that a run on the same commit never leaves a cancelled, failed +# `CI passed` (see "Cancelled runs" in `actions/gate/README.md` of +# `elixir-cloud-aai/.github`). Runs for pushes get their own group, so that +# none is dropped +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.sha || github.ref }} + cancel-in-progress: >- + ${{ github.event_name == 'pull_request' + && github.event.action == 'synchronize' + && github.run_attempt == 1 }} + +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Check out repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - name: Set up Python + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: "3.13" + - name: Set up uv + uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + with: + version: "0.13.6" + - name: Install dependencies + run: | + uv sync --locked --python "$(which python)" + echo "${PWD}/.venv/bin" >> "$GITHUB_PATH" + - name: Run linters and type checks + run: | + ruff check . + ruff format --check . + mypy + + test: + name: Test + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Check out repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - name: Set up Python + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 + with: + python-version: "3.13" + - name: Set up uv + uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + with: + version: "0.13.6" + - name: Install dependencies + run: | + uv sync --locked --python "$(which python)" + echo "${PWD}/.venv/bin" >> "$GITHUB_PATH" + # Fails below 100% coverage and if the test data differ from what + # `scripts/generate_test_data.py` writes (`pyproject.toml`) + - name: Run tests + run: pytest + + passed: + name: CI passed + runs-on: ubuntu-latest + timeout-minutes: 5 + if: always() + needs: [lint, test] + permissions: {} + steps: + - name: Check results of all jobs + uses: elixir-cloud-aai/.github/actions/gate@743e82d290a53768454999e413756a924e383259 # v1.0.0 + with: + needs: ${{ toJSON(needs) }} diff --git a/.gitignore b/.gitignore index 809180c4..40842a87 100644 --- a/.gitignore +++ b/.gitignore @@ -180,3 +180,4 @@ poetry.toml .netrc results/ .snakemake/ +.uv-cache/ diff --git a/README.md b/README.md index 10d2d118..bd19ff0b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,13 @@ Follow the shortcuts in the following table to the individual demos. | --- | --- | --- | | [2023-ecp-f2f](demos/2023-ecp-f2f/README.md) | ELIXIR Compute Face-to-Face, Helsinki, Feb 7-8, 2023 | Task execution via the [Task Execution Service (TES) API](https://github.com/ga4gh/task-execution-schemas/) on Kubernetes and HPC; TES-based task distribution with random and distance-based task distribution logic; execution of a CWL workflow via the `cwl-tes` TES backend | +## Test data + +The folder [`data/`](data/README.md) holds small, open and synthetic test +data sets for the demos, e.g. one partition per Node for federated analytics. +Its [`manifest.json`](data/manifest.json) lists the URL, size and checksum of +every file. The data are made up; never add real or sensitive data. + ## Requirements All demos require the following software to be installed: @@ -46,6 +53,16 @@ reports, pull requests or discussions. Please read our [contributor guidelines][docs-contributing] if you want to contribute. And please mind our [Code of Conduct][docs-coc] for all interactions with the community. +To run the checks of the CI on your computer, install [uv][req-uv] and run, +from the repository root: + +```sh +uv run ruff check . +uv run ruff format --check . +uv run mypy +uv run pytest +``` + ## Versioning Outside of version control, individual demos are not explicitly versioned. When @@ -78,6 +95,7 @@ thread in our [Q&A forum][contact-qa], or send us an [email][contact-email]. [req-conda]: [req-git]: [req-mamba]: +[req-uv]: [res-elixir]: [res-elixir-cloud]: [res-ga4gh]: diff --git a/data/README.md b/data/README.md new file mode 100644 index 00000000..7a12d457 --- /dev/null +++ b/data/README.md @@ -0,0 +1,51 @@ +# Test data + +Small, open test data sets for the demos of this repository, and for anyone +who wants to try a federated analysis on ELIXIR On-Cloud services without +real data. + +> [!IMPORTANT] +> All data sets here are **synthetic**: a seeded random number generator made +> them up. They describe no person, organism or experiment. Don't add real +> data, and never personal or other sensitive data, to this folder. + +## Data sets + +| Data set | Files | Columns | License | +| --- | --- | --- | --- | +| `synthetic-growth` | One CSV file per Node: [`node-a.csv`](synthetic-growth/node-a.csv), [`node-b.csv`](synthetic-growth/node-b.csv), 50 rows each | `sample_id`, `condition` (`control` or `treated`), `od600` (optical density at 600 nm), `expression` (reporter expression level) | [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) | + +The partitions differ slightly on purpose (`node-b` has a higher mean +`od600`), like data of the same kind from two sites. + +## Locations + +[`manifest.json`](manifest.json) lists every file with its Node, its URL, its +size and its SHA-256 checksum. The URLs point to the `main` branch of this +repository on GitHub, e.g.: + +```text +https://raw.githubusercontent.com/elixir-cloud-aai/elixir-cloud-demos/main/data/synthetic-growth/node-a.csv +``` + +A TES task can use such a URL directly as an input (`inputs[].url`), as long +as the TES service may download from GitHub. To place the data at a Node +instead, e.g. in its object store, copy the files there and check them +against the checksums of the manifest: + +```sh +sha256sum synthetic-growth/*.csv +``` + +## Regenerate + +The files are made by +[`scripts/generate_test_data.py`](../scripts/generate_test_data.py). To change +them, change the script and run, from the repository root: + +```sh +uv run python scripts/generate_test_data.py +``` + +The tests (`uv run --group dev pytest`) fail if the committed files and the +manifest differ from what the script writes. diff --git a/data/manifest.json b/data/manifest.json new file mode 100644 index 00000000..cdb30e5c --- /dev/null +++ b/data/manifest.json @@ -0,0 +1,31 @@ +{ + "datasets": [ + { + "name": "synthetic-growth", + "description": "Synthetic growth measurements (optical density at 600 nm and a reporter expression level) under two conditions, split into one partition per Node. Made up by a seeded random number generator; describes no real sample.", + "license": "CC0-1.0", + "columns": [ + "sample_id", + "condition", + "od600", + "expression" + ], + "files": [ + { + "node": "node-a", + "path": "synthetic-growth/node-a.csv", + "url": "https://raw.githubusercontent.com/elixir-cloud-aai/elixir-cloud-demos/main/data/synthetic-growth/node-a.csv", + "sha256": "425161d3670348f82b5fa1144dc9528b236c5a02fab4e609d5bbcd02fcff0f0f", + "size": 1626 + }, + { + "node": "node-b", + "path": "synthetic-growth/node-b.csv", + "url": "https://raw.githubusercontent.com/elixir-cloud-aai/elixir-cloud-demos/main/data/synthetic-growth/node-b.csv", + "sha256": "70b57e5c779eb9f1d14c9206d396e80a2e066ca031167ac1e71ff32089648ad6", + "size": 1624 + } + ] + } + ] +} diff --git a/data/synthetic-growth/node-a.csv b/data/synthetic-growth/node-a.csv new file mode 100644 index 00000000..2766ea10 --- /dev/null +++ b/data/synthetic-growth/node-a.csv @@ -0,0 +1,51 @@ +sample_id,condition,od600,expression +node-a-001,control,0.864,10.819 +node-a-002,treated,1.096,12.936 +node-a-003,control,1.016,8.690 +node-a-004,treated,1.144,12.350 +node-a-005,control,0.930,10.701 +node-a-006,treated,1.027,12.872 +node-a-007,control,0.880,6.775 +node-a-008,treated,1.067,12.276 +node-a-009,control,0.659,11.929 +node-a-010,treated,1.193,13.309 +node-a-011,control,0.884,9.614 +node-a-012,treated,1.092,14.759 +node-a-013,control,0.770,7.679 +node-a-014,treated,0.834,11.691 +node-a-015,control,0.951,10.412 +node-a-016,treated,1.139,11.847 +node-a-017,control,0.845,11.500 +node-a-018,treated,1.067,14.695 +node-a-019,control,0.847,9.262 +node-a-020,treated,0.966,10.246 +node-a-021,control,0.885,8.949 +node-a-022,treated,1.149,11.580 +node-a-023,control,0.623,9.943 +node-a-024,treated,1.202,14.908 +node-a-025,control,0.831,11.627 +node-a-026,treated,1.066,11.924 +node-a-027,control,0.983,11.107 +node-a-028,treated,1.239,12.276 +node-a-029,control,0.801,6.771 +node-a-030,treated,1.158,11.784 +node-a-031,control,0.853,11.522 +node-a-032,treated,1.054,11.541 +node-a-033,control,0.904,9.268 +node-a-034,treated,0.890,11.165 +node-a-035,control,0.663,12.035 +node-a-036,treated,1.046,12.340 +node-a-037,control,0.782,10.524 +node-a-038,treated,1.283,12.174 +node-a-039,control,0.840,10.768 +node-a-040,treated,1.136,12.226 +node-a-041,control,0.702,9.111 +node-a-042,treated,0.942,12.595 +node-a-043,control,0.778,8.067 +node-a-044,treated,1.164,11.861 +node-a-045,control,0.774,10.597 +node-a-046,treated,1.193,12.906 +node-a-047,control,0.802,10.976 +node-a-048,treated,1.108,14.895 +node-a-049,control,0.794,11.480 +node-a-050,treated,1.116,12.720 diff --git a/data/synthetic-growth/node-b.csv b/data/synthetic-growth/node-b.csv new file mode 100644 index 00000000..4a8846fa --- /dev/null +++ b/data/synthetic-growth/node-b.csv @@ -0,0 +1,51 @@ +sample_id,condition,od600,expression +node-b-001,control,0.822,8.013 +node-b-002,treated,1.229,10.905 +node-b-003,control,0.919,9.204 +node-b-004,treated,1.070,11.367 +node-b-005,control,0.732,12.331 +node-b-006,treated,1.127,10.545 +node-b-007,control,0.953,10.564 +node-b-008,treated,1.092,12.271 +node-b-009,control,1.031,6.892 +node-b-010,treated,1.182,13.765 +node-b-011,control,0.903,8.882 +node-b-012,treated,1.261,12.358 +node-b-013,control,0.885,11.261 +node-b-014,treated,1.326,15.815 +node-b-015,control,0.816,11.073 +node-b-016,treated,1.001,11.708 +node-b-017,control,1.008,9.024 +node-b-018,treated,0.964,15.086 +node-b-019,control,0.859,11.567 +node-b-020,treated,1.195,13.818 +node-b-021,control,0.712,10.524 +node-b-022,treated,1.146,15.652 +node-b-023,control,0.750,12.510 +node-b-024,treated,1.210,12.185 +node-b-025,control,0.848,12.203 +node-b-026,treated,1.305,10.544 +node-b-027,control,0.937,10.820 +node-b-028,treated,1.156,12.424 +node-b-029,control,0.843,11.200 +node-b-030,treated,1.154,13.368 +node-b-031,control,0.914,9.690 +node-b-032,treated,1.088,12.533 +node-b-033,control,0.935,9.914 +node-b-034,treated,1.096,13.135 +node-b-035,control,0.828,13.415 +node-b-036,treated,1.216,11.050 +node-b-037,control,0.949,9.063 +node-b-038,treated,1.238,13.244 +node-b-039,control,0.819,11.919 +node-b-040,treated,1.164,10.574 +node-b-041,control,0.944,9.256 +node-b-042,treated,1.180,12.525 +node-b-043,control,0.972,9.316 +node-b-044,treated,0.970,12.671 +node-b-045,control,0.841,9.745 +node-b-046,treated,1.114,12.840 +node-b-047,control,0.846,9.972 +node-b-048,treated,1.143,11.635 +node-b-049,control,0.845,7.865 +node-b-050,treated,1.044,12.991 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..0174ad7a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,41 @@ +[project] +name = "elixir-cloud-demos" +version = "0.0.0" +description = "Demonstrators of ELIXIR On-Cloud" +readme = "README.md" +license = "Apache-2.0" +requires-python = ">=3.12" +dependencies = [] + +[dependency-groups] +dev = [ + "mypy>=1.13", + "pytest>=8.3", + "pytest-cov>=6.0", + "ruff>=0.8", +] + +[tool.uv] +package = false + +[tool.pytest.ini_options] +pythonpath = ["scripts"] +testpaths = ["tests"] +addopts = "--cov=scripts --cov-report=term-missing --cov-fail-under=100" + +[tool.ruff] +extend-exclude = ["demos/2023-ecp-f2f"] + +[tool.ruff.lint] +select = ["E", "F", "I", "B", "UP", "D", "ANN"] + +[tool.ruff.lint.isort] +known-first-party = ["generate_test_data"] + +[tool.ruff.lint.pydocstyle] +convention = "google" + +[tool.mypy] +strict = true +files = ["scripts", "tests"] +mypy_path = "scripts" diff --git a/scripts/generate_test_data.py b/scripts/generate_test_data.py new file mode 100644 index 00000000..e4e23ba4 --- /dev/null +++ b/scripts/generate_test_data.py @@ -0,0 +1,165 @@ +#!/usr/bin/env python3 +"""Generate the synthetic test data sets of the demos. + +The data are made up from a seeded random number generator: they describe no +person, organism or experiment. Each Node of a federated demo gets its own +partition, so that the demos can run the same analysis at several Nodes and +combine the results. + +Run ``python scripts/generate_test_data.py`` from the repository root to +rewrite ``data/``; the tests check that the committed files match. +""" + +import argparse +import csv +import hashlib +import io +import json +import random +from collections.abc import Sequence +from pathlib import Path +from typing import Any + +BASE_URL = ( + "https://raw.githubusercontent.com/elixir-cloud-aai/elixir-cloud-demos/main/data" +) +DATASET = "synthetic-growth" +NODES = ("node-a", "node-b") +N_ROWS = 50 +COLUMNS = ("sample_id", "condition", "od600", "expression") +CONDITIONS = ("control", "treated") +# Mean optical density and expression per condition; node offsets mimic batch +# effects between sites. +MEANS = {"control": (0.80, 10.0), "treated": (1.10, 12.5)} +NODE_OFFSET = {"node-a": 0.0, "node-b": 0.05} + + +def _seed(node: str) -> int: + """Derive a stable seed from a Node name. + + Args: + node: Name of the Node. + + Returns: + A seed that is the same on every platform and Python version. + """ + return int.from_bytes(hashlib.sha256(node.encode()).digest()[:8], "big") + + +def make_rows(node: str, n_rows: int = N_ROWS) -> list[dict[str, str]]: + """Make the rows of one Node's partition. + + Args: + node: Name of the Node; it seeds the generator and prefixes sample IDs. + n_rows: Number of rows. + + Returns: + Rows with the columns of ``COLUMNS``, values formatted as strings. + + Raises: + ValueError: If ``n_rows`` is not positive. + """ + if n_rows < 1: + raise ValueError("n_rows must be positive") + rng = random.Random(_seed(node)) + offset = NODE_OFFSET.get(node, 0.0) + rows = [] + for idx in range(n_rows): + condition = CONDITIONS[idx % len(CONDITIONS)] + od_mean, expr_mean = MEANS[condition] + rows.append( + { + "sample_id": f"{node}-{idx + 1:03d}", + "condition": condition, + "od600": f"{max(0.01, rng.gauss(od_mean + offset, 0.1)):.3f}", + "expression": f"{rng.gauss(expr_mean, 1.5):.3f}", + } + ) + return rows + + +def _to_csv(rows: list[dict[str, str]]) -> bytes: + """Serialise rows as CSV with Unix line endings. + + Args: + rows: Rows to write. + + Returns: + The CSV file content. + """ + buffer = io.StringIO() + writer = csv.DictWriter(buffer, fieldnames=COLUMNS, lineterminator="\n") + writer.writeheader() + writer.writerows(rows) + return buffer.getvalue().encode() + + +def write_data_sets(out_dir: Path, base_url: str = BASE_URL) -> dict[str, Any]: + """Write the data sets and their manifest. + + Args: + out_dir: Directory to write into; it is created if missing. + base_url: URL under which ``out_dir`` is published. + + Returns: + The manifest, as also written to ``manifest.json``. + """ + files = [] + for node in NODES: + rel_path = f"{DATASET}/{node}.csv" + content = _to_csv(make_rows(node=node)) + target = out_dir / rel_path + target.parent.mkdir(parents=True, exist_ok=True) + target.write_bytes(content) + files.append( + { + "node": node, + "path": rel_path, + "url": f"{base_url}/{rel_path}", + "sha256": hashlib.sha256(content).hexdigest(), + "size": len(content), + } + ) + manifest: dict[str, Any] = { + "datasets": [ + { + "name": DATASET, + "description": ( + "Synthetic growth measurements (optical density at 600 nm " + "and a reporter expression level) under two conditions, " + "split into one partition per Node. Made up by a seeded " + "random number generator; describes no real sample." + ), + "license": "CC0-1.0", + "columns": list(COLUMNS), + "files": files, + } + ] + } + (out_dir / "manifest.json").write_text(json.dumps(manifest, indent=2) + "\n") + return manifest + + +def main(argv: Sequence[str] | None = None) -> int: + """Generate the data sets from the command line. + + Args: + argv: Command line arguments; ``sys.argv`` if not given. + + Returns: + The exit code. + """ + parser = argparse.ArgumentParser(description="Generate the test data sets.") + parser.add_argument( + "--out-dir", + type=Path, + default=Path(__file__).resolve().parents[1] / "data", + help="directory to write into (default: data/ of the repository)", + ) + args = parser.parse_args(argv) + write_data_sets(out_dir=args.out_dir) + return 0 + + +if __name__ == "__main__": # pragma: no cover + raise SystemExit(main()) diff --git a/tests/test_generate_test_data.py b/tests/test_generate_test_data.py new file mode 100644 index 00000000..76a9e1ed --- /dev/null +++ b/tests/test_generate_test_data.py @@ -0,0 +1,76 @@ +"""Tests for the generator of the synthetic test data sets.""" + +import hashlib +import json +from pathlib import Path + +import pytest + +import generate_test_data as gen + +REPO_ROOT = Path(__file__).resolve().parents[1] +DATA_DIR = REPO_ROOT / "data" + + +def test_rows_are_deterministic() -> None: + """The same node and seed always give the same rows.""" + assert gen.make_rows(node="node-a", n_rows=5) == gen.make_rows( + node="node-a", n_rows=5 + ) + + +def test_rows_differ_between_nodes() -> None: + """Each node gets its own partition.""" + assert gen.make_rows(node="node-a", n_rows=5) != gen.make_rows( + node="node-b", n_rows=5 + ) + + +def test_rows_have_expected_columns() -> None: + """Every row has the documented columns and value types.""" + rows = gen.make_rows(node="node-a", n_rows=20) + assert len(rows) == 20 + for row in rows: + assert list(row) == list(gen.COLUMNS) + assert row["sample_id"].startswith("node-a-") + assert row["condition"] in gen.CONDITIONS + assert float(row["od600"]) > 0 + + +def test_rows_reject_non_positive_count() -> None: + """Asking for no rows is an error.""" + with pytest.raises(ValueError): + gen.make_rows(node="node-a", n_rows=0) + + +def test_write_data_sets_creates_files_and_manifest(tmp_path: Path) -> None: + """Writing creates one CSV per node and a manifest with checksums.""" + manifest = gen.write_data_sets(out_dir=tmp_path, base_url="https://x.org/data") + files = manifest["datasets"][0]["files"] + assert [f["node"] for f in files] == list(gen.NODES) + for entry in files: + path = tmp_path / entry["path"] + content = path.read_bytes() + assert entry["sha256"] == hashlib.sha256(content).hexdigest() + assert entry["size"] == len(content) + assert entry["url"] == f"https://x.org/data/{entry['path']}" + on_disk = json.loads((tmp_path / "manifest.json").read_text()) + assert on_disk == manifest + + +def test_committed_data_match_generator(tmp_path: Path) -> None: + """The committed data sets are exactly what the generator writes.""" + gen.write_data_sets(out_dir=tmp_path) + for name in ["manifest.json"] + [ + f["path"] + for f in json.loads((tmp_path / "manifest.json").read_text())["datasets"][0][ + "files" + ] + ]: + assert (DATA_DIR / name).read_bytes() == (tmp_path / name).read_bytes(), name + + +def test_main_writes_to_given_directory(tmp_path: Path) -> None: + """The command line entry point writes into the given directory.""" + assert gen.main(["--out-dir", str(tmp_path)]) == 0 + assert (tmp_path / "manifest.json").is_file() diff --git a/uv.lock b/uv.lock new file mode 100644 index 00000000..1b3c62ea --- /dev/null +++ b/uv.lock @@ -0,0 +1,487 @@ +version = 1 +revision = 3 +requires-python = ">=3.12" +resolution-markers = [ + "python_full_version >= '3.15'", + "python_full_version < '3.15'", +] + +[[package]] +name = "ast-serialize" +version = "0.13.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/d5/5dc1ee8a80c3b20a0b63c61b43ba6bc53517faecd1def47bcd752d22268e/ast_serialize-0.13.1.tar.gz", hash = "sha256:401cc84e8888d4d76f2c8d296fa006ed1a5ff993b6aff90dd777c03973efd025", size = 955137, upload-time = "2026-10-17T00:04:17.183Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f3/a8/fbd136b9f70c59e75f59a8e974c84102976f1201828b4f886480ba956936/ast_serialize-0.13.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:3e129d44b0cffbea24a7f40117ce49e30993c3d119e584d4817ebd6f87246456", size = 897306, upload-time = "2026-10-17T00:02:52.479Z" }, + { url = "https://files.pythonhosted.org/packages/50/3f/2ad51e9823a790e7a70fd781e9595ab3abeace27f3aefcaa1939457efd72/ast_serialize-0.13.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:523d45bab16ddaf1399c04c4fe81bbf180f81e33c2f7bcbe76be56b0f7311ab4", size = 1236082, upload-time = "2026-10-17T00:02:54.82Z" }, + { url = "https://files.pythonhosted.org/packages/c0/5c/8e959db5cc2237f9d4c560a8e2253c98f9746883fb4774651e4cda458901/ast_serialize-0.13.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:638333fb8ae72c62753f9e794fda20290883ddc65b0d85e26e08f8bb227567ad", size = 1221242, upload-time = "2026-10-17T00:02:56.395Z" }, + { url = "https://files.pythonhosted.org/packages/d6/05/ab1c56c3b7adcac88764bba609502d6b4989e449b2dd60eb478e1d20e369/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cc34c670747d85d4232834665e247009413eaebe47c69eaf60a5c439aaecaed9", size = 1282105, upload-time = "2026-10-17T00:02:58.275Z" }, + { url = "https://files.pythonhosted.org/packages/0d/f4/41981fcd2ddffe0760e5326be9dcbd2eda9478a8430a637e5123bd8fcb26/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8c8ebd419811c435812d242fb2a173e57dfede198c9ac9a0a584666ebc9b9331", size = 1287905, upload-time = "2026-10-17T00:03:00.068Z" }, + { url = "https://files.pythonhosted.org/packages/6a/43/b783addc5681153707121991b7b47892f7e9c8ba58a0d03b71a3b023ba47/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8899c038b1c15ae8b98e379057fb3ef398ceb0b21d1737a8156dd5a0923b7e51", size = 1541806, upload-time = "2026-10-17T00:03:01.503Z" }, + { url = "https://files.pythonhosted.org/packages/47/10/969db095038ee15270f65ad20d1129c5e4da605bf7e93b70ae640f1c8a9f/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e14c4de98f965647a74e6eaf37e20207124e45451ccd36e84a6f6ebab45e0372", size = 1309946, upload-time = "2026-10-17T00:03:02.971Z" }, + { url = "https://files.pythonhosted.org/packages/06/dd/7c623d2fb0b868948952d1787e629a43b866f7d4caefd5445e20aefacec4/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f3e8a3eff69af640db985360fef35073fb46956dfc3e5c614cf00920d2746dd", size = 1302773, upload-time = "2026-10-17T00:03:04.378Z" }, + { url = "https://files.pythonhosted.org/packages/d4/c2/4d49469110a19a44fc6269f4fd59679bcf84df068f185f89b73bee4da19b/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:75d7750fe98f6f35a96c43aba8d98a2e623e22c778a0c17ab9ede92eb10f5d82", size = 1299579, upload-time = "2026-10-17T00:03:05.88Z" }, + { url = "https://files.pythonhosted.org/packages/9d/9a/2d381f1f262dda15affc8ad643fba1619eb07e7d9f8bd904deffef183006/ast_serialize-0.13.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:43e8ddd63e80fc280c2f790157386f27f9b9f6ccb9c4f8e803b863cbfb085769", size = 1355969, upload-time = "2026-10-17T00:03:07.321Z" }, + { url = "https://files.pythonhosted.org/packages/9d/9c/2266794e6c25fa9ce51ce04a9bf4b7e330e3ac9351ba3fa14e487678acdb/ast_serialize-0.13.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9221e09496fb942901993c1812ee87950cc0ecbb514c7c0f1f5fa6d78f701ed8", size = 1460227, upload-time = "2026-10-17T00:03:08.733Z" }, + { url = "https://files.pythonhosted.org/packages/2b/d6/14deb28e5d8f328f626a0778ea2cf98fe908f2bbcccd804cb6f449ee1782/ast_serialize-0.13.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:7a5c38bdb93669c596f94fb7204dd6ebe4fadb19058ac9a2faf2948c2a175f96", size = 1562691, upload-time = "2026-10-17T00:03:10.25Z" }, + { url = "https://files.pythonhosted.org/packages/f5/19/7a28c0e5ba54f0d3e054f847a2a549b748cb179ab433321a8dc1b39e398d/ast_serialize-0.13.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:acf4e9f055d75058ab01536da330648746f2f82b7697a85230547f2d5ebe895c", size = 1558669, upload-time = "2026-10-17T00:03:11.799Z" }, + { url = "https://files.pythonhosted.org/packages/18/9a/f9e2690eab58217f1d395a964a78efa7eaf813a1e38be8dfd9a8d45d0840/ast_serialize-0.13.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:87427913c325adc811e81e7c9a757b061f47ef1e29114ac479aa0953a2687a98", size = 1665071, upload-time = "2026-10-17T00:03:13.284Z" }, + { url = "https://files.pythonhosted.org/packages/8e/f3/ef5b159a0d7161b404f05e7ec21cf7735ee7edc10c000cd2cbbc7bb6b69a/ast_serialize-0.13.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:ad88921f95b92bc144d9ad059a0e16f8c1ae69f5239f2d3c6536fd2774f73dfe", size = 1473364, upload-time = "2026-10-17T00:03:14.563Z" }, + { url = "https://files.pythonhosted.org/packages/1d/87/6e8ac4a865124a12cc4f915bf1bcfac3bba426cd5f58d3712a873ee61012/ast_serialize-0.13.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f8b17e2921e56621bcb46792bd3e0b82ca3b85de78d5936e7b8174ba1758b0aa", size = 1500566, upload-time = "2026-10-17T00:03:15.917Z" }, + { url = "https://files.pythonhosted.org/packages/f5/1e/29155f1621433008013ad5c940a03d41a676be0680c41527040472d37583/ast_serialize-0.13.1-cp314-cp314t-win32.whl", hash = "sha256:2f9a9ce8b0994f757b941f7f7fe384a6666b4162b941ebc5c248081baea18e47", size = 1128674, upload-time = "2026-10-17T00:03:17.481Z" }, + { url = "https://files.pythonhosted.org/packages/bb/64/2506da65143ea138de5822e9173e0b72320a2f70e23bd723f044033175f1/ast_serialize-0.13.1-cp314-cp314t-win_amd64.whl", hash = "sha256:5d99910e6b9a9b9360bcca2ae99aee36cc912ce058df2a57d1c33099b6cb2593", size = 1163306, upload-time = "2026-10-17T00:03:19.046Z" }, + { url = "https://files.pythonhosted.org/packages/6d/8f/c7cb22638899b0cf15908809c270560e46395e65604bc59e4b623ab9f405/ast_serialize-0.13.1-cp314-cp314t-win_arm64.whl", hash = "sha256:a789cbe14d0a0e9ec9b32a456e5abc81ad8799479c3cfd88a29e3442262aebe6", size = 1133775, upload-time = "2026-10-17T00:03:20.377Z" }, + { url = "https://files.pythonhosted.org/packages/2b/e2/b0c140fe50fa39dd249e382f7733af6f816c90021fe7959a0b026f86237f/ast_serialize-0.13.1-cp315-abi3.abi3t-macosx_10_12_x86_64.whl", hash = "sha256:23d768369b89d551077dc173da6892fad00443338417523b6732f4e8ba4a7ed5", size = 1236160, upload-time = "2026-10-17T00:03:21.945Z" }, + { url = "https://files.pythonhosted.org/packages/23/c4/a8a2ca21e3943555b48221f8fba546877a7ad39efaf6505506524967d7c4/ast_serialize-0.13.1-cp315-abi3.abi3t-macosx_11_0_arm64.whl", hash = "sha256:68f8829d114dab6c9db4a8bbb8d0e342958faee1b5e15a29022678df639960f8", size = 1222214, upload-time = "2026-10-17T00:03:23.462Z" }, + { url = "https://files.pythonhosted.org/packages/15/19/2f58f2ba64e4799b39de85c140aef09a03aa6ea53be75dd292a9d9b9d8ae/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e385b17d5bde892a6184003a9aff3518387908b73f8f5ea539313c07c8c0ede", size = 1282979, upload-time = "2026-10-17T00:03:24.695Z" }, + { url = "https://files.pythonhosted.org/packages/b1/af/ca6087fe84210c1ccd43e3182917bb70649fa1e69745a90c1d59ba08fea8/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:02686b281ec9b8e9614f6f0db27e12e4cac515f336c5d05b678bc9eb73ff2af5", size = 1288596, upload-time = "2026-10-17T00:03:26.04Z" }, + { url = "https://files.pythonhosted.org/packages/b0/2c/4ef964c763329a0347125e745ec0451ba4fbaceec9efe2ac729b7cd55f17/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a8ab2c2585b2e22e48cd4aff2136fce4eab4ced569b85f150ef9a5a5d6f34d49", size = 1545540, upload-time = "2026-10-17T00:03:27.52Z" }, + { url = "https://files.pythonhosted.org/packages/bb/85/aa961dbb75813cfa94de0ce9a16a9510c226b95f604c405421e727f44bb0/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c652d9f5d52d8b81eff3ff2c95c9dd0f281de45f6ad5d3fa95527550c396454a", size = 1309374, upload-time = "2026-10-17T00:03:29.091Z" }, + { url = "https://files.pythonhosted.org/packages/b4/e6/f2b67c327d9f9533e41791804403ccc2dc457821195a2e51f0b587a90b90/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:121e1d08d58b75c15491cc3003609cbad71ac2b0016043c36d30a6b2032b6605", size = 1303466, upload-time = "2026-10-17T00:03:30.451Z" }, + { url = "https://files.pythonhosted.org/packages/73/1d/33f18b81d1bb1f5d682943ea92fda8130a6593627f12f6201668d40824fd/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_31_riscv64.whl", hash = "sha256:30cf89b6a6844542d116c758725d13de5b97b9410a51ee577715f761270d0c1c", size = 1300576, upload-time = "2026-10-17T00:03:32.102Z" }, + { url = "https://files.pythonhosted.org/packages/25/cb/64914144925f1a4abdd9217e717b122255c38fc5ebe4342f92052f3bacbc/ast_serialize-0.13.1-cp315-abi3.abi3t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:732aaae9e498c973fc63fd7f308009b57c4afa6ff59d0b674d894e57d0bca01a", size = 1355960, upload-time = "2026-10-17T00:03:33.676Z" }, + { url = "https://files.pythonhosted.org/packages/ee/80/bd29379fab2bce19adc0bf9177002b11b23dfe8d8fecf409998b458b4624/ast_serialize-0.13.1-cp315-abi3.abi3t-musllinux_1_2_aarch64.whl", hash = "sha256:d9c1a920b2aa0c1e016bed7721689717034ca0dba64ac3a3ff243b003d4e8dd8", size = 1459779, upload-time = "2026-10-17T00:03:35.09Z" }, + { url = "https://files.pythonhosted.org/packages/83/89/012dbe733de05ffdf8e40ca0f9fa5d417cb16ec93a74463c57c001914198/ast_serialize-0.13.1-cp315-abi3.abi3t-musllinux_1_2_armv7l.whl", hash = "sha256:847cad4c22953823f5e76d0b126c6f9da670cfa45b1df41b9324e22189d77611", size = 1563399, upload-time = "2026-10-17T00:03:37.285Z" }, + { url = "https://files.pythonhosted.org/packages/69/37/ee4bcb0358bee38744eb0f18560446572d095fe3bf6b63d6f739d08a839c/ast_serialize-0.13.1-cp315-abi3.abi3t-musllinux_1_2_i686.whl", hash = "sha256:aca07de3ca8e3d9f2b716c3c31f4f384fe4bd2d03e09912417cff7a3e08036f7", size = 1558808, upload-time = "2026-10-17T00:03:38.711Z" }, + { url = "https://files.pythonhosted.org/packages/54/1c/ff44c5355251d61ef22934c4430bb31a61de4781d25a992154aac9b8c82a/ast_serialize-0.13.1-cp315-abi3.abi3t-musllinux_1_2_ppc64le.whl", hash = "sha256:5db12d843d931b9d1f1519ce66b9cbfe72d8563b75c1204d255322254d1964dd", size = 1666324, upload-time = "2026-10-17T00:03:40.376Z" }, + { url = "https://files.pythonhosted.org/packages/c8/bb/6da4bfc8aa3403e6447607131bf3463acaf954d990c6c8b6787c1902ddfe/ast_serialize-0.13.1-cp315-abi3.abi3t-musllinux_1_2_riscv64.whl", hash = "sha256:fb8021f4dc3296de18737e3b8b34994411da725374d74a0b9eb32a738f2a23d0", size = 1474089, upload-time = "2026-10-17T00:03:41.715Z" }, + { url = "https://files.pythonhosted.org/packages/21/97/897e33bef2eefd880e6350e375cc66bc5bcd00a139be480fd655f5b3f095/ast_serialize-0.13.1-cp315-abi3.abi3t-musllinux_1_2_x86_64.whl", hash = "sha256:0d764913374ba21df8cd618045b371ed104ce55c6276de7c59e554a4f5ba26fd", size = 1501542, upload-time = "2026-10-17T00:03:43.08Z" }, + { url = "https://files.pythonhosted.org/packages/8d/4c/821211ac83870c27e4412381b7c7838336456b40575bf840e4680b2018d9/ast_serialize-0.13.1-cp315-abi3.abi3t-win32.whl", hash = "sha256:2bad302ae2427454ef9dab71bd5c3ad67188860c39d36daee38f72031edb39c4", size = 1126118, upload-time = "2026-10-17T00:03:44.616Z" }, + { url = "https://files.pythonhosted.org/packages/1f/86/2b2d5e6c4fa352874a80618e742ffd32d249dee6c119f4233b51afc6b8f4/ast_serialize-0.13.1-cp315-abi3.abi3t-win_amd64.whl", hash = "sha256:032b09d86c785c3984e975378b7861f2a68ac44e22ba7b07b93a536b2524eeb8", size = 1163766, upload-time = "2026-10-17T00:03:45.986Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/d610cfcdabaa44fd62a54ca1fc57a7dba120643798b089a14914973562de/ast_serialize-0.13.1-cp315-abi3.abi3t-win_arm64.whl", hash = "sha256:929eda0c419e622ab49df3a4c45f81c57dcc10874bbad55d0470a4a03324dac3", size = 1134043, upload-time = "2026-10-17T00:03:48.453Z" }, + { url = "https://files.pythonhosted.org/packages/f0/89/0e30f9eddf7d44ccf9d25979030754fd0457af61fa4279acb8c293a04f97/ast_serialize-0.13.1-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:bf53a3ba1cbe45399fc1e4ccd684b8f2a11cca450f89706b79122f478534c6f5", size = 897546, upload-time = "2026-10-17T00:03:50.093Z" }, + { url = "https://files.pythonhosted.org/packages/81/92/d705be88ff452b9ba0088b554a0cbd308fd01879da092b33fd2ad7d1aa60/ast_serialize-0.13.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:4bcf1d5f4eefecaa325a34ecf079b2741189e7d0821523f92cb343a389a67489", size = 1242416, upload-time = "2026-10-17T00:03:51.521Z" }, + { url = "https://files.pythonhosted.org/packages/60/c2/98370845a7f35cb8a25782e78284b48e01bf3128339881d48d613f304f8f/ast_serialize-0.13.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:1b158f1c9e3a0d386913924c57995d6df78224868a4d0f215bdd41587c97b34a", size = 1229729, upload-time = "2026-10-17T00:03:52.825Z" }, + { url = "https://files.pythonhosted.org/packages/d8/8b/2d7ffed76addd9d3fcf37fb171400942735c8912264c763561a85407f6a8/ast_serialize-0.13.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77a6201b69ce42e919f2fd9a559138d5410b5d8afff7c3a6b1f500b0481ff7d8", size = 1292255, upload-time = "2026-10-17T00:03:54.148Z" }, + { url = "https://files.pythonhosted.org/packages/6b/2a/bb9e0e719d89cc950fadfcfcc9cb4bc7640419c4228c852f031ab8abf440/ast_serialize-0.13.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6eb0be64c9b8f1ed26637eef345abe75ea90351c92c85a8aec7838b3af971011", size = 1298501, upload-time = "2026-10-17T00:03:55.559Z" }, + { url = "https://files.pythonhosted.org/packages/7a/32/13ce07dce48226f5bd9cfd8f708ec101a8be05aa430cda4918ce31ce8c82/ast_serialize-0.13.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7f2427bddfca208e84de700044fadf9aef2769a70bae740a1bdabb89ee9e1117", size = 1553758, upload-time = "2026-10-17T00:03:56.952Z" }, + { url = "https://files.pythonhosted.org/packages/e2/fb/9b51d186db0c20ca28cbaaefd50f03b573c89327b9a2627820cbce22196b/ast_serialize-0.13.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88df960e67184a71874e5b2ee014f87d1254a0dbc1f903c7bd7b1ab7733ecaef", size = 1318258, upload-time = "2026-10-17T00:03:58.418Z" }, + { url = "https://files.pythonhosted.org/packages/c5/fa/da311559dd3dae9af5825cf21660775a929b970f72e3786af3f2cd667944/ast_serialize-0.13.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9f99786e0d62082a5b121b3437f3167562133711df22128de1e9886f57f0b226", size = 1313260, upload-time = "2026-10-17T00:04:00.194Z" }, + { url = "https://files.pythonhosted.org/packages/2b/11/97a4b9e5b4776d72f47fcd9a09a497bbf68ec8c1ae074307a2c51e410d85/ast_serialize-0.13.1-cp39-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:a01b515b25a03184eff4acef25b981ae007916379682e908fc8785b342a0bf3e", size = 1309992, upload-time = "2026-10-17T00:04:01.575Z" }, + { url = "https://files.pythonhosted.org/packages/2e/c4/62f85121a80cd451ef04f550cf0f7ea0ad9ff46cc4e9a5b9ae439b6527b1/ast_serialize-0.13.1-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:29422d7bcd9e7f39411571c36cec45ce8a7a9b3ad4b2e7aa64497c15a9e397f6", size = 1362715, upload-time = "2026-10-17T00:04:02.881Z" }, + { url = "https://files.pythonhosted.org/packages/c1/fa/c5f4a545f72a7681e3295bab6e3600ee0862ec4391bed961fe9f735b67e0/ast_serialize-0.13.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:6ffb0f548a7dc126067fdfb7b2325ab5dfcdeecc29faf5e0f0461c96d6ebfa3d", size = 1469931, upload-time = "2026-10-17T00:04:04.181Z" }, + { url = "https://files.pythonhosted.org/packages/38/a9/65aed4f8fa7a001a7cfdc03e68e844517ab041ba6fb614b7d78a1d6ac056/ast_serialize-0.13.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:2876444a5f87a7c76f371af3c07c2fda563a08bc8af52568df812e8aba4bf568", size = 1570945, upload-time = "2026-10-17T00:04:05.778Z" }, + { url = "https://files.pythonhosted.org/packages/fb/8c/44b2da991cede79bfbf52089f33a5f0168945466b3d9cd38b5dcf08e7130/ast_serialize-0.13.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:885a62ec6481ce58ab24c6357360d7a82023b62dd7e5e7ceccf59e9662a3272b", size = 1569978, upload-time = "2026-10-17T00:04:07.347Z" }, + { url = "https://files.pythonhosted.org/packages/46/e4/109b2a5beca700237767d5add920c2f8e1ba9bd5799b0faf143d0e9cf4ef/ast_serialize-0.13.1-cp39-abi3-musllinux_1_2_ppc64le.whl", hash = "sha256:2015fd0165e463aac3b1aadc6a1fa1e5820c14ca950821f4fe02f8a3f6a388d6", size = 1676082, upload-time = "2026-10-17T00:04:08.7Z" }, + { url = "https://files.pythonhosted.org/packages/73/e0/7df70f6dbb11b5762da5416318f08316a1c51348e0d69ec79ca5f98f836a/ast_serialize-0.13.1-cp39-abi3-musllinux_1_2_riscv64.whl", hash = "sha256:eb41e1906502ac80d24ff343f45008552a3f5b5158607959fe6a07dbfc6eb037", size = 1483207, upload-time = "2026-10-17T00:04:10.162Z" }, + { url = "https://files.pythonhosted.org/packages/1f/bc/523aa1c08bd69b5654621beb3dc1a9035715a4a63762fb8d219d6fb3eb81/ast_serialize-0.13.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ca9acc67f796aa2554fa3037dccc022a4b08b38b2ad153edfac9c9bb7cb1f3c6", size = 1512140, upload-time = "2026-10-17T00:04:11.589Z" }, + { url = "https://files.pythonhosted.org/packages/66/83/6607060659998f00afdea0d8375c1e6e2b7d515ab905090d9a5a02f48851/ast_serialize-0.13.1-cp39-abi3-win32.whl", hash = "sha256:4f98da562e5901d69c7dd30885594c5438f859edf354e9ac7517d188fb026c3a", size = 1131889, upload-time = "2026-10-17T00:04:12.953Z" }, + { url = "https://files.pythonhosted.org/packages/9f/6f/bafd6490fe7b355627fabe95f4417e3d02da93102c8552550eb9a0774e1e/ast_serialize-0.13.1-cp39-abi3-win_amd64.whl", hash = "sha256:ddf7cbc9c8abf70102c4a088efe154bb86bfb825b0a10e556d2b15972cf99bd7", size = 1171153, upload-time = "2026-10-17T00:04:14.362Z" }, + { url = "https://files.pythonhosted.org/packages/11/25/4235f4b375a67a37ac595bf478a5407a744eaf7b64113c1c3a5432b8d954/ast_serialize-0.13.1-cp39-abi3-win_arm64.whl", hash = "sha256:48f11d96c9ec71119612f8e79a8c55c12f2b136716d68347433c561d27a25f43", size = 1139035, upload-time = "2026-10-17T00:04:15.767Z" }, +] + +[[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 = "coverage" +version = "7.17.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ed/8f/19651ed6f648de7e1383bb759207078e2ad8addeca711187e1cb3a495f14/coverage-7.17.3.tar.gz", hash = "sha256:6695d1bb2a9a2fbd7806d69d78cf30f35eb0f65045da0ec5b5045242fadd6a78", size = 1004507, upload-time = "2026-11-12T12:26:44.986Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/72/8a/f8f26089835e9fc5e969d73d26f4d159c522ac9f4a32e07fccbce711264a/coverage-7.17.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:203aa5e42c88e9accfa18a0cc91950499efaa5b179a1da14bcbf5b995afdbcb6", size = 228508, upload-time = "2026-11-12T12:24:20.866Z" }, + { url = "https://files.pythonhosted.org/packages/76/a8/aa6d208d9d81c2f80af848d97887afb2ddff51aae7333f7aace68faebe57/coverage-7.17.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:61138b3a51d91ee443b04962ec9990fa140208a7a082b1754135ebd1378a420f", size = 228760, upload-time = "2026-11-12T12:24:22.248Z" }, + { url = "https://files.pythonhosted.org/packages/55/d7/d2b47e1b177758211509243d7540eae642f633c98de29203258cff9b4b83/coverage-7.17.3-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d0e0fc055d4436f4b6de83f50cbd9da38af18fb36341b162b408ad7842068a33", size = 261171, upload-time = "2026-11-12T12:24:23.689Z" }, + { url = "https://files.pythonhosted.org/packages/7a/9f/fa0545021ba561812c64cf680f4c9fe49dec93fe74049f3fd38f33c7dd19/coverage-7.17.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0860a5f27ceccd53ee4070acc182588ed4f15b7401cdcca09d8c0cece9c2ad7d", size = 264512, upload-time = "2026-11-12T12:24:24.955Z" }, + { url = "https://files.pythonhosted.org/packages/8c/b9/cf9791e66c73f7530724cc5ee5e306f4e1bdde8951e3069d337105109e0a/coverage-7.17.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:84b5a474040b33f3d805c0b19fadf5a2e78fdd46e0bcb8b813631e5cac64195e", size = 265022, upload-time = "2026-11-12T12:24:26.315Z" }, + { url = "https://files.pythonhosted.org/packages/47/af/0d88bdf1e4a274a717faf91edf1b970605c32722c2fa563428a398c67f5f/coverage-7.17.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a5fa43619c0a53a0424783cc08dbb26a2115e3a890ab566fef811b77d04d5501", size = 267310, upload-time = "2026-11-12T12:24:27.523Z" }, + { url = "https://files.pythonhosted.org/packages/44/27/798abcf5038335fa1b7e8d739a74e53dfa4a6569ef69db2eec941d1901d9/coverage-7.17.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dc6f3c1406fe7e8e2d59eed1f476c5429dcdd11cd3fbe1341acf8ddc4bb9b383", size = 261399, upload-time = "2026-11-12T12:24:29.144Z" }, + { url = "https://files.pythonhosted.org/packages/2d/92/92625c36222c3e75af20054521b53fff2b2aef907528a8748eccaa3c8126/coverage-7.17.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a1dc44fba727d1cbd8daa88ced7dd867aebef5631b116210f2a2d4da08622d03", size = 262916, upload-time = "2026-11-12T12:24:30.371Z" }, + { url = "https://files.pythonhosted.org/packages/9b/71/a14cfe5a3525ad3a942aff0bbb1737a3b536d899bcc60307607c9f17df24/coverage-7.17.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:1e7a015f952798d7d5120e8122c160fce7322b0b9d144b9be6af71552a3e68da", size = 261078, upload-time = "2026-11-12T12:24:31.679Z" }, + { url = "https://files.pythonhosted.org/packages/9d/7a/40d1f7488a000d5dc97d70a478686ba4d8f2f752da1d98b4aeaec23d8117/coverage-7.17.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:b6876123ce43459a4b39d5778108010b06164225c3a25c6a43cb85a97f80c549", size = 265138, upload-time = "2026-11-12T12:24:33.428Z" }, + { url = "https://files.pythonhosted.org/packages/ca/ac/7f160d9cfdf0a6d81eb2dcaa262225248b50042959d8ab72f05eccc5827c/coverage-7.17.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:76a3ddca94ef96b477b7edceac08b1abe0ff26e1ebe1d7000e35bdd17dcde5c4", size = 260584, upload-time = "2026-11-12T12:24:34.758Z" }, + { url = "https://files.pythonhosted.org/packages/c5/25/11c7a20e326c8acb23fe94a1ce8bcc4711757ee87ae48c50e806c4be7cf3/coverage-7.17.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c45c4e99a09c70e7d6fe101f59fe4556b89d99bfc80cd4e7f5e13ebb6c1e4854", size = 263083, upload-time = "2026-11-12T12:24:36.226Z" }, + { url = "https://files.pythonhosted.org/packages/34/67/94e93cfbbb5e73cd929040a9e51a58e1f5bbffdb7d7ac919ddb39faab4fd/coverage-7.17.3-cp312-cp312-win32.whl", hash = "sha256:1b358585003cf99a13d1327e11582af19154d2cf3dea366fe0d10ce479a5c9f9", size = 230371, upload-time = "2026-11-12T12:24:37.663Z" }, + { url = "https://files.pythonhosted.org/packages/67/54/da7c1a906013e008c00e752f1fffe8f4688a747d7037f85b79e83d7b7442/coverage-7.17.3-cp312-cp312-win_amd64.whl", hash = "sha256:df0faa493ab92bbf33ff8bdab442c5b75089baa5ba752844871b5ce9d009a026", size = 230953, upload-time = "2026-11-12T12:24:38.892Z" }, + { url = "https://files.pythonhosted.org/packages/9c/78/c54e323d40fd5832b51baa0f403fb3c3fd51785f16ffc7d6168a612aa9ab/coverage-7.17.3-cp312-cp312-win_arm64.whl", hash = "sha256:d5a3cd933fdffb958b4046d6f19d3138c7c8a28c439aac800badf61fab6d655e", size = 230757, upload-time = "2026-11-12T12:24:40.119Z" }, + { url = "https://files.pythonhosted.org/packages/ca/f9/32cfe0942a05d63f501d8c66ff61e658f82c277a46dc9dd21c2d691aa52d/coverage-7.17.3-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:28d082105e1ead78de56eb46edde029b5af88e22f8bde74fd092ca164bf15492", size = 229799, upload-time = "2026-11-12T12:24:41.464Z" }, + { url = "https://files.pythonhosted.org/packages/59/6f/f1bc0d3e1d72063b1ca4caf7238770ec11ff0747e4e04c2e0fdd72734855/coverage-7.17.3-cp313-cp313-android_24_x86_64.whl", hash = "sha256:683a204e9773f3127ef836640712270bc4893f10bd7e1ce8a21735dca4c14429", size = 229871, upload-time = "2026-11-12T12:24:42.801Z" }, + { url = "https://files.pythonhosted.org/packages/21/2c/1a3329fa772949a376d64362c2829a0718798ba503fb55338cc4002d132c/coverage-7.17.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:e4d18e90c87621590a0b1cf2e4caa96f0aa511073f8a1caa3244e09e569564cc", size = 228142, upload-time = "2026-11-12T12:24:44.03Z" }, + { url = "https://files.pythonhosted.org/packages/83/c6/73d97609380203ca8e763094563f631b76a34974da6940a4b5c91397a07a/coverage-7.17.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:f3347c72d0f4cb3803f4ccdd4331a49a90ef2daa683ce89e2480278400bd2eee", size = 228442, upload-time = "2026-11-12T12:24:45.278Z" }, + { url = "https://files.pythonhosted.org/packages/f6/40/5d529e99978d20bb049d76b4496c55a090896a70961b28ab4e3607802899/coverage-7.17.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c4ae9befec714c867f42bbea99e1ec25eecdbe51c8faf1cc82164bd65bf4db0c", size = 228540, upload-time = "2026-11-12T12:24:46.509Z" }, + { url = "https://files.pythonhosted.org/packages/36/ce/c9f97fe1cda3e9985e6e5fe88505712bdad72032b2ecce1cbda9cf77b13b/coverage-7.17.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8a0aef07b2eaeee9d82ca62241d5c6586aed5dd729300507d2d3f612588c2634", size = 228824, upload-time = "2026-11-12T12:24:47.868Z" }, + { url = "https://files.pythonhosted.org/packages/ed/8c/084855adc7d953c222d4271e2265ad08ee6b690b7394475833640eca4543/coverage-7.17.3-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4b1300f07904db81508b87a72471e80d37fb6d48debf1168e12edccc81cd0225", size = 260008, upload-time = "2026-11-12T12:24:49.375Z" }, + { url = "https://files.pythonhosted.org/packages/f9/81/287400710ece16ca6421593c6426b1dcf43809466bfe8fe143857fc8e34f/coverage-7.17.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:222bc51858b0f64cb15d51380541712f8d5dc9bb5ce4fd9828bf466503d6debb", size = 262996, upload-time = "2026-11-12T12:24:50.863Z" }, + { url = "https://files.pythonhosted.org/packages/1d/b5/1b668b30b528cadb26fb404b0fb09f5ec21d03e6e8fae88eb302d243d77f/coverage-7.17.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:39c063c038b710e0bca3afd4997ccee680674bece468fac13cb8aee9af530d31", size = 263934, upload-time = "2026-11-12T12:24:54.175Z" }, + { url = "https://files.pythonhosted.org/packages/41/a1/bf82406278a1d6bd273400a6950e9f51370f2c414e0a2ccee96f6f606cf9/coverage-7.17.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1d26daefd513c4775a6d06846389da9a9e3498b6ddba24982359b75b703dd341", size = 266119, upload-time = "2026-11-12T12:24:55.486Z" }, + { url = "https://files.pythonhosted.org/packages/62/a3/7f518c0350fd3a5ad27991acb50b843361aea6755f593c1ed503ef378cec/coverage-7.17.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f848ec842cb95fddae4b88830b249e8bade41697f16909688d2af80e8b51e7b6", size = 260259, upload-time = "2026-11-12T12:24:56.997Z" }, + { url = "https://files.pythonhosted.org/packages/da/59/d74e18b4ba02fab1dafa4267260ca80761d2f3c82917c3ce5e46d3ade4eb/coverage-7.17.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4d64248cb7c995aa66dac34c66286c80fb78b13c19bee1503720cc6e55e5de17", size = 262154, upload-time = "2026-11-12T12:24:58.311Z" }, + { url = "https://files.pythonhosted.org/packages/eb/4a/af3b009eaa4565e59caf6c51c12a8909c5acc5186a6e95f366691f86156e/coverage-7.17.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:59b4bd56882387b5a957048a77531669d53d641ce8148c23149d2550e9fd4e25", size = 259946, upload-time = "2026-11-12T12:24:59.583Z" }, + { url = "https://files.pythonhosted.org/packages/a6/5b/d1a9f7b8097065b82a87335215008822354d43d534e330aa023fe42e7f33/coverage-7.17.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:1ba5c445d4c7718422753a393bcb0feb6d9834321cdb43dcb585725a392b3edd", size = 264285, upload-time = "2026-11-12T12:25:01.22Z" }, + { url = "https://files.pythonhosted.org/packages/32/8b/b186fb0075d4d5d1cd290f9e0b15c9666ce1cc656fd6beb816ef29c2f7eb/coverage-7.17.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:b355277f181890fdfc7f49af89f398f8735f031b2f9a5801082e678e9ae85972", size = 259995, upload-time = "2026-11-12T12:25:03.022Z" }, + { url = "https://files.pythonhosted.org/packages/cb/66/f5c3fcfe4981bce212dde6504eb28dd00b49520fdfe487d5aaf0edb0e20d/coverage-7.17.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:16ed46c0d461a3972e8474268c22bf5d88cdd1088435313edc7e220050c5ac97", size = 262034, upload-time = "2026-11-12T12:25:04.584Z" }, + { url = "https://files.pythonhosted.org/packages/1b/c5/f2709522b213b00a9d3cbc01573666c62c8ddc6d16f1c7f1b45cf00efc99/coverage-7.17.3-cp313-cp313-win32.whl", hash = "sha256:dcd6ea389b3da63f467b05c0f47db037a672592ab2035d4bfbb1f662eef4f4a3", size = 230341, upload-time = "2026-11-12T12:25:06.03Z" }, + { url = "https://files.pythonhosted.org/packages/ff/d1/e6875a808ef55eef9c235cb0a9752390860255dbaf7ff792b8cc8d099a80/coverage-7.17.3-cp313-cp313-win_amd64.whl", hash = "sha256:49fff24117050f1784447ae8181e75a78b01cfef4b6a8ccba676d466d1d68d9b", size = 231060, upload-time = "2026-11-12T12:25:07.318Z" }, + { url = "https://files.pythonhosted.org/packages/09/33/8c966bd7588350df9f56fb0c57cf786b743c622b7f0af4c58cd45de121a7/coverage-7.17.3-cp313-cp313-win_arm64.whl", hash = "sha256:d3353cb2ad4254fa433cc53d1ee1fe80eebde529085b238393f3f6d5af821f70", size = 230780, upload-time = "2026-11-12T12:25:08.652Z" }, + { url = "https://files.pythonhosted.org/packages/98/bd/86199a63e36d1ec253e128aa3df186933c7c5993945be114b9e5102b7c77/coverage-7.17.3-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:6f8f925262bc0d6fea12d5dde6998aa57f162e05d5a7d50b95d400ab05bb4537", size = 229914, upload-time = "2026-11-12T12:25:10.352Z" }, + { url = "https://files.pythonhosted.org/packages/d5/43/e0366c117f7cd88889674837e2146e9114d7c045fd7383c9f3c551f5b863/coverage-7.17.3-cp314-cp314-android_24_x86_64.whl", hash = "sha256:9e888603ea67c63ba264f39f3459f4cf68adc78dcd9f8bfa65dde601265a40f1", size = 230030, upload-time = "2026-11-12T12:25:11.794Z" }, + { url = "https://files.pythonhosted.org/packages/a6/b6/1f7e3f29bb0700586d6709d533a0421ed96e1372b608facc6870c05b0489/coverage-7.17.3-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:fab6f713a1f2f0ab7fb7d55f3aea15d1f3fbd31ace61b585ecd87c8e34f898fb", size = 228215, upload-time = "2026-11-12T12:25:13.133Z" }, + { url = "https://files.pythonhosted.org/packages/9e/cd/81261279e5a47a1295992e5d648fa30626af692c05b0767a037120953a17/coverage-7.17.3-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:4300ad360b21af19584c4cc82022979544d776ba2fb2df5418b2f3cae1eee6d2", size = 228518, upload-time = "2026-11-12T12:25:14.389Z" }, + { url = "https://files.pythonhosted.org/packages/78/37/3a28b845dc06bcf17e0501fd641020760b61754444b904aa4973fd7c8098/coverage-7.17.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:e033255f24c1df6e046b6c4e9f91baacae08426beb5296bea8d46176b3a137d8", size = 228726, upload-time = "2026-11-12T12:25:15.693Z" }, + { url = "https://files.pythonhosted.org/packages/79/dd/b770682a17e5e911e9c4db6af947641ed334dfd6155632f71fa54375f4a3/coverage-7.17.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:22a80bbdee3c22fb3319befaa112a2ed2d6e1417aa75c310f048235170ceca44", size = 228894, upload-time = "2026-11-12T12:25:17.47Z" }, + { url = "https://files.pythonhosted.org/packages/e9/e4/420e4d6f9ce1e6b8234bafad3508974950ec926063eb4d5e8d71c498b0a5/coverage-7.17.3-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cfb1d2c52bb66e847669000658a5394d50aba835df8e31c2146034f978c8a4cf", size = 260939, upload-time = "2026-11-12T12:25:18.67Z" }, + { url = "https://files.pythonhosted.org/packages/26/2c/c871c22a11981f58895e4dd167f4aa64c04853c5a0e91de853408c0f2d3e/coverage-7.17.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:eb25b51a30d07db8493901e3040284f2e756ec2b6549ee392798b9ef4c0607b3", size = 263872, upload-time = "2026-11-12T12:25:20Z" }, + { url = "https://files.pythonhosted.org/packages/43/f3/f90e9619f2b0e1dc4d5f487163c3e9fd21629acfe3cd8abb97fa2afa12b2/coverage-7.17.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2b9a39e25bf0e6fe072c6f3bceaa02f5303b9f975e83f590d118c4e92aacf6d8", size = 264877, upload-time = "2026-11-12T12:25:21.341Z" }, + { url = "https://files.pythonhosted.org/packages/f3/8e/b45330abc908d11c65e68be5f240237ad433c8e03dcb99b474541f129e3e/coverage-7.17.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9e331bc028b44496ad85d4a2656dbad0feb35baf4a66500042c4aaa878ea132c", size = 267361, upload-time = "2026-11-12T12:25:22.549Z" }, + { url = "https://files.pythonhosted.org/packages/38/80/06eaca23adf2d3b1526fca9e6d3433b0b4aa91e653b59774ea9fc44e1c03/coverage-7.17.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:17a4bd9edd312744035e1298a6ac30dd7332a7f1ecdc63c9eb0685589b161eb1", size = 260674, upload-time = "2026-11-12T12:25:23.869Z" }, + { url = "https://files.pythonhosted.org/packages/58/1b/cf0a2d4d5aaf87b6b9f7d5f0c2e5d110079e9c2a23e11c04f20c98e98689/coverage-7.17.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:cc12f44ac4d5d6be301285c0a4f9c4ae52e673672e284b2a2744e20d24025573", size = 262658, upload-time = "2026-11-12T12:25:25.255Z" }, + { url = "https://files.pythonhosted.org/packages/fb/23/ede764173d08bd9cefeeee344826c22e93d7111fd17b0677436616c98662/coverage-7.17.3-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:0241e03dd65a1edf2e841eb19d8d72dca21ada5c869dcef6c9fde1b166d519a9", size = 260759, upload-time = "2026-11-12T12:25:26.949Z" }, + { url = "https://files.pythonhosted.org/packages/e1/44/b93c258ecbe1848f2117f7466e8c3060554b419f6eabd3761ef95d095c4b/coverage-7.17.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:42a1f511a334745a66b8f580c4d561e728243e35f3ada0ada35444c4b2fb9fa9", size = 265227, upload-time = "2026-11-12T12:25:28.493Z" }, + { url = "https://files.pythonhosted.org/packages/9f/fc/09a224782b0720b6a4c9e2fba0a479b87a2b046c523ffdd56339d2d8d516/coverage-7.17.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:095ad10d17a28c845f2e5f99e398db2f0c680401731ff63a3a1789f2e61ef1e0", size = 260428, upload-time = "2026-11-12T12:25:29.799Z" }, + { url = "https://files.pythonhosted.org/packages/1d/c9/3027a58b3db40ded4dc43a8040a45a91e61ebb9f32a4de86e30a29d8effb/coverage-7.17.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:28b05f6b2622551805324196c32f3f20f4fa639bade8ac299ca83073253f6663", size = 262489, upload-time = "2026-11-12T12:25:31.127Z" }, + { url = "https://files.pythonhosted.org/packages/69/a5/f9f767f731fd5a314e66fecd55d8ae320da95467feaf0f3742edf890049f/coverage-7.17.3-cp314-cp314-win32.whl", hash = "sha256:8b8188229ab3b3769a1c4aaa22357447555416deb440326c665a3bd25fd45ce0", size = 230582, upload-time = "2026-11-12T12:25:32.302Z" }, + { url = "https://files.pythonhosted.org/packages/5b/1f/d377b98f63d876649083ce837f0e7cc2eefbfcb4088dc4a1428612ccd741/coverage-7.17.3-cp314-cp314-win_amd64.whl", hash = "sha256:957ba72e11d26b6e6e1abdaa72e41020871f4108c8ff64ff571fc50c81fb57a3", size = 231206, upload-time = "2026-11-12T12:25:33.558Z" }, + { url = "https://files.pythonhosted.org/packages/89/2e/2c1607f6f1505fbed80910d95e51ce520945ad34a640c532123f75de5580/coverage-7.17.3-cp314-cp314-win_arm64.whl", hash = "sha256:f7ff8b21efcbdf9c7a6c051dc158c9bb9e938b7af33e55ed264d2e529b836d17", size = 231047, upload-time = "2026-11-12T12:25:34.908Z" }, + { url = "https://files.pythonhosted.org/packages/11/79/428dc7fe065893833222ef604a261a5e16aa304be055ee99dff0fbb3bd66/coverage-7.17.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:3f6d942e066ca009bd1f7ebf5450287a5e9bfc5a6e20a8d8c408a61b433c7f94", size = 229254, upload-time = "2026-11-12T12:25:36.209Z" }, + { url = "https://files.pythonhosted.org/packages/fe/e8/60ce9cf304d2505cff1389a98e13bd67792f44bed530935bcce48db693f1/coverage-7.17.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e3948b2e5c3af0133af3e117ee033e6cc656c43d7549d3296e4b3807908dec9f", size = 229584, upload-time = "2026-11-12T12:25:37.567Z" }, + { url = "https://files.pythonhosted.org/packages/42/b3/f209433ec9dde9dd4e471afafd6b467b51653af4a678e39792638832c85e/coverage-7.17.3-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0bad8245a15bc7b15d26d25ece243bbf5d1b1229144f3db189014174429b63bb", size = 269701, upload-time = "2026-11-12T12:25:38.827Z" }, + { url = "https://files.pythonhosted.org/packages/4a/0c/34a2caf1e74950efe9f24de673767ec67fe60470c900610e58fa639366f7/coverage-7.17.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bdf8fefb9f1acb3e92842fb42e29968d053e9545e4e9d9edb5c32a30fab8f899", size = 272171, upload-time = "2026-11-12T12:25:40.298Z" }, + { url = "https://files.pythonhosted.org/packages/ac/1b/1e87f731b4e930cb636cc15bfb55855d52a1f31e9193d645e96ad7ebe0ab/coverage-7.17.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:499acdc43bf1addf7fecc59a3123847bb96873c07001cfbeb709a71b181fa03d", size = 274823, upload-time = "2026-11-12T12:25:41.529Z" }, + { url = "https://files.pythonhosted.org/packages/c8/1f/e6e2cfe9d4f4df4228587b7f528d8b9985005e9f904c2e59ce51d236dbd4/coverage-7.17.3-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:11116ab42247d55980b51ab49b5c066de9b6baa56fe371fd555e54feae338619", size = 276333, upload-time = "2026-11-12T12:25:42.834Z" }, + { url = "https://files.pythonhosted.org/packages/9e/1f/3937e3745b511d67228dcbf15f7f24cec9da7fdacee443ecf837465c1663/coverage-7.17.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:56b469b63d8270aa67bc919ab8457f4d83115459556a76d09238052a3ab094db", size = 269560, upload-time = "2026-11-12T12:25:44.059Z" }, + { url = "https://files.pythonhosted.org/packages/33/73/1b597ea0d77d062ed62d556e3a94c85fb7d3e56cac526d8a273f4e8872ea/coverage-7.17.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:95da285cf77352d4a527e1fd16c1c5c3762e42d1d71cfa9ef2c72a5c796cce36", size = 272118, upload-time = "2026-11-12T12:25:45.643Z" }, + { url = "https://files.pythonhosted.org/packages/60/8a/1daee0aeb0a1d16884f5da92e2cf9300913bb216f42dff221329b3bd5651/coverage-7.17.3-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:c38a85dde92c4129641544aca998382f7448a87a17d202765a6adb8a87a33fc7", size = 269548, upload-time = "2026-11-12T12:25:47.043Z" }, + { url = "https://files.pythonhosted.org/packages/40/d3/78fa95e9980917e2b75b97c056c3e70f9c9c9170fcde210897b4c0b35d03/coverage-7.17.3-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e9396d4d90fb47a1e124a985ac6a3172dbd58334d1de5189f06b75ae96ff69ee", size = 273964, upload-time = "2026-11-12T12:25:48.222Z" }, + { url = "https://files.pythonhosted.org/packages/14/fa/2870663f070df38497ead9197a7e5af06f00286d5236192ea3d23bda68a1/coverage-7.17.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:e266c693c8bd6541f31cd71eda9b5aa3732adecbd04522880ea3d23d99b202eb", size = 269021, upload-time = "2026-11-12T12:25:49.548Z" }, + { url = "https://files.pythonhosted.org/packages/30/fa/390e1199f21b4c2a8797492aa5351e8b74065fef609b717255cd88e54c5a/coverage-7.17.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0837b71a40749d9c4016cf8c51ba8c6153f7dd40cf4dfa287a2f28376fa50917", size = 270929, upload-time = "2026-11-12T12:25:51.099Z" }, + { url = "https://files.pythonhosted.org/packages/4e/e3/e29ec216a87330812142af2290224002b84804c5361eebe68c57e2ace5cd/coverage-7.17.3-cp314-cp314t-win32.whl", hash = "sha256:8a054b755bc6665b339a923fed14a54446c43c942bf4edf08a59b1225b284c93", size = 230892, upload-time = "2026-11-12T12:25:52.755Z" }, + { url = "https://files.pythonhosted.org/packages/9c/e0/3854a8d843b31a317f251a0fc148c1980dde60f872fce30f6f037dc432e2/coverage-7.17.3-cp314-cp314t-win_amd64.whl", hash = "sha256:fa8903475085973b5c916e8a958afd22101b9559880ffbeab5aeac4196768338", size = 231750, upload-time = "2026-11-12T12:25:53.953Z" }, + { url = "https://files.pythonhosted.org/packages/84/b7/748a7b92e7e7605532754e5718ef3109144ed7e58c0721d0d5c9fa9083a6/coverage-7.17.3-cp314-cp314t-win_arm64.whl", hash = "sha256:582c5d80b6de5b1909a4222ec1f5676bb2e03815c6be9ff43db2d8a71de5079c", size = 231381, upload-time = "2026-11-12T12:25:55.232Z" }, + { url = "https://files.pythonhosted.org/packages/e3/44/8cb5635090ddf8674625f5067c0575ead89863664fff3cf73fb2f93c9287/coverage-7.17.3-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:49a4f12eff115fc2447d3438b2c08d7e5adb3abc811c050ee508f8189718cc5d", size = 229920, upload-time = "2026-11-12T12:25:56.587Z" }, + { url = "https://files.pythonhosted.org/packages/8a/54/b7ba20ab94696a790c2703ceb32f10b15f0a70dc2ae19178fd17d4915937/coverage-7.17.3-cp315-cp315-android_24_x86_64.whl", hash = "sha256:e04385647f444d55b483a0e4dc519f46134846eddd80910a0d0953ea19e58358", size = 230038, upload-time = "2026-11-12T12:25:57.842Z" }, + { url = "https://files.pythonhosted.org/packages/ae/57/00c6e8a207674280408907cf4861e925c8e136770d333f5c9ee4dde5dc12/coverage-7.17.3-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:faee34ea548318f6f9010928edab2f91b36a19b58376e69ab0e76d4f3a0bf9df", size = 228239, upload-time = "2026-11-12T12:25:59.159Z" }, + { url = "https://files.pythonhosted.org/packages/81/ab/b3f996c33524cef1d9bf80fe677619bf17282fefb9f3497da83fabea67cd/coverage-7.17.3-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:7c420ffa993c25cc74c263e9c1c869fbaea7d16dcb6448eef4fa6f1905560f5a", size = 228535, upload-time = "2026-11-12T12:26:00.402Z" }, + { url = "https://files.pythonhosted.org/packages/32/ed/83f6e5ef0f7e39deb1d7915c2eb3c8946c002afba2f5f58ae05f870e3532/coverage-7.17.3-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:e592f790fee57e2bedaa27cdc76988a082090d1aac560ca4bbea80a7a58436ec", size = 228733, upload-time = "2026-11-12T12:26:01.649Z" }, + { url = "https://files.pythonhosted.org/packages/d8/34/d256f50c5bf16255ae04aa917ba1857e127023dfd2c06499f777c7a4cd29/coverage-7.17.3-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:59c15dcae783ed291da3af6be2e70762322637ac886b19671d12123521cf6ac3", size = 228929, upload-time = "2026-11-12T12:26:02.97Z" }, + { url = "https://files.pythonhosted.org/packages/35/a4/31617273e938a7d9c7378335cb41e147bc6c293acac8ea643d74b3bc29e3/coverage-7.17.3-cp315-cp315-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:733368982d2799ff04d768916fb755e54d4ce11af3573488ece451745c90d4a7", size = 260825, upload-time = "2026-11-12T12:26:04.219Z" }, + { url = "https://files.pythonhosted.org/packages/10/61/1bd79ec66957f4ea7ce5f687a18aa50f3b3e8715e4843f6ed3e5f03f24bf/coverage-7.17.3-cp315-cp315-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:a13a946d8de807d8992e56a09502952d81bfbb4b80204ef77a6a2a38b4ce22be", size = 264469, upload-time = "2026-11-12T12:26:05.491Z" }, + { url = "https://files.pythonhosted.org/packages/e9/47/db887dff6eaf0a24396021ee4956eac563bd286677252e444f89a80e5166/coverage-7.17.3-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c769e6a28bb645c915449ed8ddf6059765a72d8ef79590bfd6202022a4441cd3", size = 265623, upload-time = "2026-11-12T12:26:06.798Z" }, + { url = "https://files.pythonhosted.org/packages/69/b9/e86863e2ac724844a07dbd165da6912d31c6a2cad99ab23b2c204e655bbc/coverage-7.17.3-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bf7a43782b20951fe9ddc6f6c28da51c65d3c0d5d5fc3c5a0e566986aa3ec0aa", size = 267981, upload-time = "2026-11-12T12:26:08.051Z" }, + { url = "https://files.pythonhosted.org/packages/72/d0/a3536c347bf036e3aa383c85db80a3ce5f2ca961f8500f46c25ac6a14c3c/coverage-7.17.3-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b65db089de3f219c850f21a2ca915f43f6fa1da5bfb55871c089d3be82c10369", size = 261235, upload-time = "2026-11-12T12:26:09.392Z" }, + { url = "https://files.pythonhosted.org/packages/7b/26/f7c1a5c62c66a4ceccb9889eb7fefaca6c34fc72f47553ffb134262533cb/coverage-7.17.3-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:228f4bcecadcbb1ec3ed088b0595c5c08f3fca01406b72e8a02209a3af16aff9", size = 263461, upload-time = "2026-11-12T12:26:10.684Z" }, + { url = "https://files.pythonhosted.org/packages/45/4f/51a9d4af3dac74e146d65e0b696a98eaad7badc3837e42fa386c8ef96c55/coverage-7.17.3-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:3a5691ef42b16e22976ec0352a76a0f7c3b4196fe3d39805dcc765e31ce54f22", size = 261436, upload-time = "2026-11-12T12:26:12.421Z" }, + { url = "https://files.pythonhosted.org/packages/e5/bb/6bcac633b71c1e675d9bc7ba97e9b28c32a3309db57185ce5af35176b1c7/coverage-7.17.3-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:2765261bdcb5f6c01af41d97ec4fcfe18acd1114d8d2690536a36f86b67c179f", size = 265926, upload-time = "2026-11-12T12:26:13.684Z" }, + { url = "https://files.pythonhosted.org/packages/d4/6f/fc1007053178d2fbef0a89014a60e34a8b7a9e831d2f78301a55f0cbf644/coverage-7.17.3-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:45268757a45946ab3fc9d2c30019aff2d3804ae660121d5b31f523366f604e67", size = 260770, upload-time = "2026-11-12T12:26:15.247Z" }, + { url = "https://files.pythonhosted.org/packages/44/e4/90fee6c30eacfd84d6969223f823e4d14f02a07df9ad91e5de2b3fd6c466/coverage-7.17.3-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:24389d7d50f1fe98ac8d8ec1c946656a75b97d953b51a714484e174ed9f48eb1", size = 263276, upload-time = "2026-11-12T12:26:16.551Z" }, + { url = "https://files.pythonhosted.org/packages/3e/03/4108b8e1f428dd511a422510fce64aae0afa7b7350f73a55f6d6d5812d7e/coverage-7.17.3-cp315-cp315-win32.whl", hash = "sha256:ff0ca078fe63faffff1cff24c804afd4010e35d9c75bb593877b3d4321826c91", size = 230578, upload-time = "2026-11-12T12:26:17.793Z" }, + { url = "https://files.pythonhosted.org/packages/95/46/e213941d820ab8e2ba788177569e781c50381bfd9ddb35d50f5f63d096cb/coverage-7.17.3-cp315-cp315-win_amd64.whl", hash = "sha256:f8f6252bb4c457d686c18e42965087b30155ff72b0dbda6e79a43ee3682c0870", size = 231196, upload-time = "2026-11-12T12:26:19.172Z" }, + { url = "https://files.pythonhosted.org/packages/f7/4c/703768310ea21b513fdfd42d114447f0a335b763d70aacd54f8ecbc1e59a/coverage-7.17.3-cp315-cp315-win_arm64.whl", hash = "sha256:5559549a14f997b261c936ca463ed67e030511f914ffd1692ad08b3b16ed6034", size = 231046, upload-time = "2026-11-12T12:26:20.477Z" }, + { url = "https://files.pythonhosted.org/packages/5b/4c/e27066a48746f622abc8ccf941917294bf46ee87077427d9a22aa98a74a3/coverage-7.17.3-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:b6db3399e76a366353dd0c9a009fe74c3d1c892de35863331c4d06fbe0dd83b8", size = 229243, upload-time = "2026-11-12T12:26:22.109Z" }, + { url = "https://files.pythonhosted.org/packages/38/29/129c10c8b1555ece4aaa9ad197769abda281bc204d7b055bf85681e12e15/coverage-7.17.3-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:47e49fced11190fdc678182b0e7f8947db4fc1c1216094923a1d2bbedba3c84a", size = 229600, upload-time = "2026-11-12T12:26:23.372Z" }, + { url = "https://files.pythonhosted.org/packages/11/91/4cd15480a1d6bb7102dfd42c03197034aff1cb0f12b3791ed6e14872c2d6/coverage-7.17.3-cp315-cp315t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:fb5945d7360fb258dee758258d93ea624a712fae494e7a0037a92505b3eb8b32", size = 270046, upload-time = "2026-11-12T12:26:24.615Z" }, + { url = "https://files.pythonhosted.org/packages/1e/b0/b7db33135f973cba720c20d8055c26177217cd07c4e903fc24a71715be0e/coverage-7.17.3-cp315-cp315t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:47cd7674a39bad6480e565e2a5b77f8089ebfbcd3aacc572abc6cebabe1f4cc9", size = 272815, upload-time = "2026-11-12T12:26:25.864Z" }, + { url = "https://files.pythonhosted.org/packages/a1/ea/207ab861d69f4008d90d193ab5e9d5721ea2a75ec4a1e826720519142795/coverage-7.17.3-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff5069e99039739c2fade5dd12cf8df7dc1b1217a0b915110605e0bbdddf1187", size = 275531, upload-time = "2026-11-12T12:26:27.096Z" }, + { url = "https://files.pythonhosted.org/packages/a9/6e/d5144a94a9758d25f3d9143b86a0ab04feded2a30d8c9365c646d504aea9/coverage-7.17.3-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b7028eabf24ad18646dbfc6b352cece01779914e69254ddcacdfb9f805d89f61", size = 276906, upload-time = "2026-11-12T12:26:28.311Z" }, + { url = "https://files.pythonhosted.org/packages/e7/b4/8328eaa253b44b081e25236abb4717f7afd37ecae02cc6ca77d853efdde9/coverage-7.17.3-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:349ab42e0b6b72892f187a60a0890b3a76710e93b7c31579e81648d46230a8ed", size = 270557, upload-time = "2026-11-12T12:26:29.969Z" }, + { url = "https://files.pythonhosted.org/packages/6b/bd/22effefa744acb7cac84addd7d619538c7604fe7d7b6fe3b989ad6f60fed/coverage-7.17.3-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:397e5342fd4f19ae930a5234643a63a8eaccc18a2f034a2f1765a5313123489d", size = 273009, upload-time = "2026-11-12T12:26:31.591Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b6/5e1a93260f8524832bd5781108dc38497d7930bb451014350ce61b22f848/coverage-7.17.3-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:8009572d242674765b84ecceba126c2392b1824b32f41db1f3323d23d4cb598f", size = 270006, upload-time = "2026-11-12T12:26:32.85Z" }, + { url = "https://files.pythonhosted.org/packages/25/35/e7ccdc8675afd66c4c9310e883c255dec3277fdff65c640ec0ac531b1f9e/coverage-7.17.3-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:dc116b251f7a4ae0266dba0ef31a742c6c517d3a99b4d50016548a17d407ac5f", size = 274755, upload-time = "2026-11-12T12:26:34.058Z" }, + { url = "https://files.pythonhosted.org/packages/1e/a3/d8c76a38363e59654516041471cdc5b325fa22835a87d5213e20553454fb/coverage-7.17.3-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:b73148d024d086239fc04c03daaeb1934a6d295312dd0d6a04a937326c1207d4", size = 270158, upload-time = "2026-11-12T12:26:35.772Z" }, + { url = "https://files.pythonhosted.org/packages/0f/e9/cf0fded465f8d9a238d6b4fa4908a84f08ae483b3d4adddbd9668dc09ab0/coverage-7.17.3-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:7f02996b09190bcdee3b2af38bf2279e4a1a65306afd3e6c229029dbe41e42ea", size = 271819, upload-time = "2026-11-12T12:26:37.046Z" }, + { url = "https://files.pythonhosted.org/packages/ac/24/fcde10f418dec10e647c1d697f5fee500605adae2a0105fe772ed6dfff17/coverage-7.17.3-cp315-cp315t-win32.whl", hash = "sha256:80e219a51ef7ccf78fcd584257e523ece0d390cb3d9d3896660eac05a19ac691", size = 230874, upload-time = "2026-11-12T12:26:38.293Z" }, + { url = "https://files.pythonhosted.org/packages/80/bf/095490c7d43ba2e38eb0c4af31a37beb1f2347c4765613e39f8587c5f00a/coverage-7.17.3-cp315-cp315t-win_amd64.whl", hash = "sha256:86563b5323fc13239d943b22a1bb9ec60f9ca17bd9a0be09c40a89836697aea2", size = 231735, upload-time = "2026-11-12T12:26:40.717Z" }, + { url = "https://files.pythonhosted.org/packages/1e/f8/21db698c4785e3604755415aaeaa49bf00220c210f09c06dd185fce6f986/coverage-7.17.3-cp315-cp315t-win_arm64.whl", hash = "sha256:f8356475aba020621f8277f1a81c2dbdbda8286c7c6130f242c9816e044062a9", size = 231374, upload-time = "2026-11-12T12:26:42.14Z" }, + { url = "https://files.pythonhosted.org/packages/d1/8e/f7d7e69e2ad34ce08595b787eb578f669c00fd57d432ed4c7cfd71666f36/coverage-7.17.3-py3-none-any.whl", hash = "sha256:21745c08f2835b847a16887b748d3084dddeb0571ae2a0d62e33644413568b99", size = 219999, upload-time = "2026-11-12T12:26:43.553Z" }, +] + +[[package]] +name = "elixir-cloud-demos" +version = "0.0.0" +source = { virtual = "." } + +[package.dev-dependencies] +dev = [ + { name = "mypy" }, + { name = "pytest" }, + { name = "pytest-cov" }, + { name = "ruff" }, +] + +[package.metadata] + +[package.metadata.requires-dev] +dev = [ + { name = "mypy", specifier = ">=1.13" }, + { name = "pytest", specifier = ">=8.3" }, + { name = "pytest-cov", specifier = ">=6.0" }, + { name = "ruff", specifier = ">=0.8" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/e1/2069291243c926a2ff1cd706c7f3eeb9b62144bf60f77c9fb9ff2fb26bd3/iniconfig-2.3.1.tar.gz", hash = "sha256:67f4b9c50da0dedf52af349e7749a80a9057a5031199791b906c3bb3ae878960", size = 21209, upload-time = "2026-10-06T22:48:38.076Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/56/43/4ca9e49d27a1fcf6bece6f6aec0ea46bb9112489b93d4b688fb415457bdb/iniconfig-2.3.1-py3-none-any.whl", hash = "sha256:9121e2c1fdb355232495be3194c8dfe87ccc2d5dee45947b78e68f499790d7a7", size = 7552, upload-time = "2026-10-06T22:48:36.959Z" }, +] + +[[package]] +name = "librt" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/04/f5/9dc696772d241814bacac7880bac32f2930b5a6ebc1f85317b83161a011c/librt-0.16.0.tar.gz", hash = "sha256:ac38d6d8d66bf3d744148dbbc0b8e193e195a51e364ed55e224631f5721891fc", size = 219839, upload-time = "2026-09-29T00:55:32.891Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ad/76/bbdaeb87b7c47b5c7343e90222b9bfa4e4a8a83f647e02933ad0129225b1/librt-0.16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fe52bf4641069e7978a14253b036cb9002def1926317e710f2e249f8a8c47742", size = 151028, upload-time = "2026-09-29T00:52:41.508Z" }, + { url = "https://files.pythonhosted.org/packages/fd/0c/ab8ed3dab0085931aec4a792c7eaac8dc6c5ff4691fda3a5360d9d8a9cd2/librt-0.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5bcc2c4726ced915b00de0c9856a4eeabfb3fddb93e10e0b8f735b7709358b6d", size = 155283, upload-time = "2026-09-29T00:52:42.873Z" }, + { url = "https://files.pythonhosted.org/packages/eb/36/494e79d460c80c1f030661e8287c9eca5e1ad652dc2b2180b6cd42abce0a/librt-0.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff7baa55f8e7c69851419e50a666015d02a74198716fd45c0125a2112e0a389f", size = 503185, upload-time = "2026-09-29T00:52:44.638Z" }, + { url = "https://files.pythonhosted.org/packages/9b/34/a8464038dd9db6e4381fa2b6eb73dc9a50888d77102c4c139304ac35cddc/librt-0.16.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:b95d5d92ab83d39e760a52091bb1baba664f3a2351e39b1e16801e5747c2f0e9", size = 496738, upload-time = "2026-09-29T00:52:46.441Z" }, + { url = "https://files.pythonhosted.org/packages/6a/53/e0e5e334ef0c6ed27039d323819368b9ef6712be87d55ee2bf9799398afd/librt-0.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b6d085d70bce51d43c5c7c36d63490770180d8779e71c49305c87b4213918de7", size = 513818, upload-time = "2026-09-29T00:52:48.068Z" }, + { url = "https://files.pythonhosted.org/packages/ad/f7/7ce72cbf19d0addd05090b339152fd0548a02562c2866a603e6e3b3da2df/librt-0.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:36e53948e99bbe3ffea257124cfcae1cfb01831555c9a9c903c9f9a72db7fd07", size = 531952, upload-time = "2026-09-29T00:52:49.816Z" }, + { url = "https://files.pythonhosted.org/packages/83/22/0b1bcb6a8e723c8b4fd60dfc8ae8ec6461c54073fbc8685efeb8d900d407/librt-0.16.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:54d11f726aae9df5a6ffbbf0a03a52449bbac84a53ef03669cb41cdfd4ae41bf", size = 524465, upload-time = "2026-09-29T00:52:51.354Z" }, + { url = "https://files.pythonhosted.org/packages/64/2e/e9c23b8b9df1813da1be205deca9606beb7ddd033972246cd426d05374a0/librt-0.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4323193ac0cd025f85af531df8ba91bf24d1973b401697347a6282e8fd3fcf5e", size = 543191, upload-time = "2026-09-29T00:52:53.284Z" }, + { url = "https://files.pythonhosted.org/packages/bc/e5/6a8b21b342c03ed7e230fa3afbfd2edc58e6e87ef1f0d11fa2b9a748c252/librt-0.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e42f8e098b9c5396fefa05fb1cc7e33b0e08fc51da106b5de4a45fd22aac6743", size = 546979, upload-time = "2026-09-29T00:52:54.932Z" }, + { url = "https://files.pythonhosted.org/packages/84/9e/b5129023eced1be01e01c22757f53be551d463b1bb7264f787927404c1d6/librt-0.16.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:39ec1d5a14e37baf1450a6cabf03fe552340808bf1ad9d71824ab90117716459", size = 555317, upload-time = "2026-09-29T00:52:56.869Z" }, + { url = "https://files.pythonhosted.org/packages/71/89/28bba5938c725fe91f06bf93f7fa6c6b150229df53a87b454b0d5c2a796e/librt-0.16.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d1aabe3925cbb4a08d15b7b20ba4011b53019da0c4173a25155139b7b1baed65", size = 535846, upload-time = "2026-09-29T00:52:58.475Z" }, + { url = "https://files.pythonhosted.org/packages/22/92/63773026614f888c5d4e370e395ce42ca604b89f70b3acdfedbf94851b80/librt-0.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:300c3ffdc459f4a779a8411ecb188e3ac0b1ff3a3a7b099642555dedae06c69b", size = 573700, upload-time = "2026-09-29T00:53:00.127Z" }, + { url = "https://files.pythonhosted.org/packages/66/8f/347d4677eefb57cd9f8e01d95a1dcee9a91b4e44e664173c32ff6f3752e5/librt-0.16.0-cp312-cp312-win32.whl", hash = "sha256:c17194318e4c0c0348b36f36c2ec7534436fe0a4c15582403162a4f08c80797a", size = 106158, upload-time = "2026-09-29T00:53:02.031Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2c/5193dc81127cd5ddfad031391b046bf32dda219b38463ab872407ca30646/librt-0.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:25a58a19ea8d83b68209f04912df765e9260635ef77646542ed4b4abe6bc7940", size = 126176, upload-time = "2026-09-29T00:53:03.445Z" }, + { url = "https://files.pythonhosted.org/packages/ff/3d/9668a400c8dd81d162eba38b33fa49fa6205f1a64493570a13fbb815c3ee/librt-0.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:f7be7cf555bc30ec12622e9447299cc4a9b8ff307548b634794353db0c2065dc", size = 116572, upload-time = "2026-09-29T00:53:04.815Z" }, + { url = "https://files.pythonhosted.org/packages/46/cd/ae5e0e9dba45d1399aa04a5395bcc0bead40d9fa06dc903634a7b4d7473d/librt-0.16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c5e6144e68b577f157519f2ba88ca20e3ed61c29b00e5cdfa76cd2d45acf059a", size = 151036, upload-time = "2026-09-29T00:53:06.284Z" }, + { url = "https://files.pythonhosted.org/packages/41/5a/48a16e323c5f9447a94cce7b59babf60fa04e62c3365ecf060c77ed8b320/librt-0.16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:33f41443a1f4e1f099331b3d8120e409fbff84b9760bc1cc9ea496f37ddaa5cc", size = 155211, upload-time = "2026-09-29T00:53:07.72Z" }, + { url = "https://files.pythonhosted.org/packages/3f/29/0f59299eb4251a409b2e690ad4b7d9f8a676db829d7817ec961f32b44f7e/librt-0.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e510b7770bee609617a3374a96548eb114cae048023e3f049ee449e7ff2db32", size = 502587, upload-time = "2026-09-29T00:53:09.191Z" }, + { url = "https://files.pythonhosted.org/packages/de/ba/d6fb4ef8d1537c396079d72289f16be7cd35a366e5065c51253fea2760b6/librt-0.16.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:efc49c462d4516b8a58b00b490078fa64689fd1fe66970cc190131d7afb8027e", size = 496146, upload-time = "2026-09-29T00:53:11.016Z" }, + { url = "https://files.pythonhosted.org/packages/52/fc/8c50dd4d7cc97c0ee8f252c8a3104980f234391cf1519b554e8b9de08b60/librt-0.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:92caf82ebef5e12d21c72242b70d1e92536f1711cf2a727a4c276de4b4469087", size = 513336, upload-time = "2026-09-29T00:53:12.655Z" }, + { url = "https://files.pythonhosted.org/packages/a9/59/16c409c56f708eda2db9a0553662845d45e3871c77d70a240dae3f3bdc56/librt-0.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:17bac7f7a16b328fff77e440287693eb017abde913595b5827ebccbc21ecd8a6", size = 531689, upload-time = "2026-09-29T00:53:14.39Z" }, + { url = "https://files.pythonhosted.org/packages/88/82/d34772a6c29d1446dcca6e64d74062efd508523ab351aa16625a4689d5cc/librt-0.16.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5b976054553670829985ed767feb78fb6bcede0175327c4844dd5c281c1be659", size = 524537, upload-time = "2026-09-29T00:53:16.064Z" }, + { url = "https://files.pythonhosted.org/packages/77/8f/24c5631313746131ccee53bc91fdc8374f9cf25e0082a1fee9c93bb98acc/librt-0.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:0058f9d68721094105917254c72ac0569117bb7b13b9769cf45d26d89f9d21cd", size = 543231, upload-time = "2026-09-29T00:53:17.939Z" }, + { url = "https://files.pythonhosted.org/packages/f2/cb/5f8e0d41dbd8b499c2265e939c31acc9ba59845565bf99539ad1c06aebcf/librt-0.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:30b7beaf3f4487b7d8adef1f158b49067cb4d5a19fa7a3bf31a4e7a820e435c5", size = 546499, upload-time = "2026-09-29T00:53:19.666Z" }, + { url = "https://files.pythonhosted.org/packages/be/61/063052de441d1385f59cea4223f184bf9e5d125de1ae3239b490aa1e486e/librt-0.16.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:468df902df016a06eb0e40b0747dc8d14e47d7a38b18b63b1fb167d85cb94d63", size = 555261, upload-time = "2026-09-29T00:53:21.292Z" }, + { url = "https://files.pythonhosted.org/packages/14/11/a2ada0529372268d6401afa9d457a095b68cd7753532b6f7f33049a19b43/librt-0.16.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:aea7b1f2b125dad5de85f049136651bff256c883c65e6b9209b2da0a1ac3cdef", size = 536029, upload-time = "2026-09-29T00:53:23.07Z" }, + { url = "https://files.pythonhosted.org/packages/23/9d/5bb6d38853382986dca702fc7e06c8256d30f5fa0676d882773b744610dc/librt-0.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a8afb6557920860b7a3a596eb804cf37e09e7cf8a803db2478c202acc72d8c2e", size = 573748, upload-time = "2026-09-29T00:53:24.696Z" }, + { url = "https://files.pythonhosted.org/packages/99/f6/0025cde35ff7f607684dc775a2b2d732cce2561cec050a6ee1fb2e1fc6fe/librt-0.16.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:77c7a2b4fe2c1369e0d5aa1cade26740a7b14be32fbc9a5535d617d20065c39d", size = 79861, upload-time = "2026-09-29T00:53:26.089Z" }, + { url = "https://files.pythonhosted.org/packages/93/93/303b8592909bd583f83f02818ffbea3f7647ca1e22b1cd5465d04b8145fe/librt-0.16.0-cp313-cp313-win32.whl", hash = "sha256:02d89c813d5ff74b17df72d3a34819d132cd168e56b81bf755b809bd9e46b8c4", size = 106236, upload-time = "2026-09-29T00:53:27.43Z" }, + { url = "https://files.pythonhosted.org/packages/cf/24/80bbb463c60ed18e29cb26aba386ddb76609580e4e7160710e550587018c/librt-0.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:14ed6ebe3e4f85f326d7920011ad30ff49ed9334e62cf88caef9ba973d9e3a92", size = 126180, upload-time = "2026-09-29T00:53:28.7Z" }, + { url = "https://files.pythonhosted.org/packages/43/80/b1a6fbdd7da825cdd55c71aa81eb6cfa82c513c360774152eacb50b4a771/librt-0.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:83d4041a3d9b2fd053a8a4e1f22878b3e5833e2712956382d5c048d791454e91", size = 116557, upload-time = "2026-09-29T00:53:30.012Z" }, + { url = "https://files.pythonhosted.org/packages/1e/93/9e0cf7da129a93c3dc7f45bc3cd4a660f2aaa995aa8a6f95c2583ef41239/librt-0.16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:931a0bb0fcac88f263e269e46eb30ba8e21402cd3c62ca40cb97034c0693fab1", size = 149844, upload-time = "2026-09-29T00:53:31.391Z" }, + { url = "https://files.pythonhosted.org/packages/8f/26/8a90d2a8f2b2e471bb486b7aec117b8ae622715ed6c39853aec48ea20073/librt-0.16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1bc17e54e5305f8d40b7ca203671ff5a9e59c1d0f8ea0f625dcca53a3984de11", size = 154111, upload-time = "2026-09-29T00:53:32.718Z" }, + { url = "https://files.pythonhosted.org/packages/35/ce/67abb46258da4d3e42ff5b141db6f38c59357bef84c7979f183b22f924f1/librt-0.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:877698bf6bca5721d8be345f2fe09778e40ecadea8b58c73075f2b1a53666bf2", size = 494234, upload-time = "2026-09-29T00:53:34.466Z" }, + { url = "https://files.pythonhosted.org/packages/12/f9/ea7162414a16f8f1bbd3b493ad6d22b926c5471916e078350bdbca8c4e5f/librt-0.16.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:5981c011b306781ce561e18e14230a14524a3d8109b97553666c942c18f31a96", size = 491173, upload-time = "2026-09-29T00:53:36.124Z" }, + { url = "https://files.pythonhosted.org/packages/b1/09/9b3e869060dd33f9989b80ba4fea306f6db8cecefcdfe6d7346ef0603f65/librt-0.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:afced3dfc17cd805ecf7a3d77996a71cf5f2c75aa66eb0c21a9930f4fc992f86", size = 505547, upload-time = "2026-09-29T00:53:37.686Z" }, + { url = "https://files.pythonhosted.org/packages/50/07/79007d2165f649ea93e08c0962d1d62c70af9cde77965255095bf9d96f9a/librt-0.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ca8052401c55d7511dda6760719fda7618067e83535d7d0010096d216c34b667", size = 523057, upload-time = "2026-09-29T00:53:39.301Z" }, + { url = "https://files.pythonhosted.org/packages/61/0c/8fbaff66d0ba376d8864653f5acce1569bae27e89648671f26f7eca67ab8/librt-0.16.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:1e511762a074005bb0aa569166779834e75e438370226930d0ce1866d4b6a33b", size = 515158, upload-time = "2026-09-29T00:53:41.012Z" }, + { url = "https://files.pythonhosted.org/packages/df/2e/23ff0dece76f07a4124413a57682efa0bbeb5765ac0122bc0955513f82ca/librt-0.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f1e8591bd8a5a628cd7f07954c6a1592359a878bf032957a8e9057a41d644311", size = 534183, upload-time = "2026-09-29T00:53:42.451Z" }, + { url = "https://files.pythonhosted.org/packages/26/c4/e11dea21d9a29486eba78887380374189d472734fa32cc50cb37ca44d3d0/librt-0.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a4aaefb4ba6c07e1aeebb2795c8958148f1d6f9af3b555b53d23d766edb6d67a", size = 540663, upload-time = "2026-09-29T00:53:44.272Z" }, + { url = "https://files.pythonhosted.org/packages/44/75/e873ae158a8b7f5359be33e7fd6c1fbe02d9a78a3e89a77de6b0e837f476/librt-0.16.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:d92db7a0f6aee44f1baee94750457e8d2d1c6ccea41842de6268d34e8dc7eddd", size = 545908, upload-time = "2026-09-29T00:53:45.812Z" }, + { url = "https://files.pythonhosted.org/packages/ba/36/8939d3f6a93e11bd9592e6fe28d2b44f1c2dc4bed6e22e72359a91e18ffb/librt-0.16.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:378dfaffb38e59c24a87cde5713cd865d51ff7383fa12947f3907f306ea1ca55", size = 523302, upload-time = "2026-09-29T00:53:47.596Z" }, + { url = "https://files.pythonhosted.org/packages/71/14/35309f44a077f0f42ade0e2e7cd88c0cea760c661af205c01ea90d3c0e1f/librt-0.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3e0c39bdc85370422e8b637be76eb1fd07d30967551b03e62267dd156f553152", size = 565911, upload-time = "2026-09-29T00:53:49.278Z" }, + { url = "https://files.pythonhosted.org/packages/78/0c/df6255b94967f3159ebc46f08d8e783c12da6ee269ddb74b2efed63c640c/librt-0.16.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:1b384b90ab79a7bc30b566895809a636e0666f21f3cf12b54823d025b7e83839", size = 79119, upload-time = "2026-09-29T00:53:50.938Z" }, + { url = "https://files.pythonhosted.org/packages/6b/44/d30d5a5461378c9d33f36736c6791c3b4c4ba4b1ffe0da7350aedcb2c9a0/librt-0.16.0-cp314-cp314-win32.whl", hash = "sha256:52327da75a94012e7f932f913d20d3876bed3c102be00e6c3e8600ff7bdd58a7", size = 100140, upload-time = "2026-09-29T00:53:52.205Z" }, + { url = "https://files.pythonhosted.org/packages/c2/98/769712f356a1e897df3581bb0c3100375d054a000de26099360ea65b5111/librt-0.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:3f0b8114c44b2ac06ff5dacd08e07e8e807ff4f46083f2a1602685122559be41", size = 120464, upload-time = "2026-09-29T00:53:53.495Z" }, + { url = "https://files.pythonhosted.org/packages/bf/d3/ae2abccc8bdc8b063c1613a77686e17b74e9d3d60cfe6f12c63fa2821b9f/librt-0.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:8caf96a4ef8fb27d0ac0d1ad8337d26a240acd4a02fe4345d0a8f264753e8f99", size = 110889, upload-time = "2026-09-29T00:53:54.817Z" }, + { url = "https://files.pythonhosted.org/packages/e4/26/0737d4be058dd6376eade7dd8b380d4b869b6394cee929393a5a431c45bb/librt-0.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:953107e2f68d0f3512c48f898b0dbf0ce5cc52bba0f318d847c985dc555ee4cc", size = 159838, upload-time = "2026-09-29T00:53:56.22Z" }, + { url = "https://files.pythonhosted.org/packages/01/96/9bc96531d7c620e9949af904470f02e3fa8f35129ab8e8f281c51eaa3788/librt-0.16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ad37d5b9abd49c9a655dcda7ea52a8a752884062ef1ee71ae17c2f2a0f81fe6a", size = 162018, upload-time = "2026-09-29T00:53:57.532Z" }, + { url = "https://files.pythonhosted.org/packages/0e/fa/b0289dcb186eb3f97221ba00da5f4bd3ba7fa5e99752d48aa8d336615334/librt-0.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c4aa329c17bd1aaea4f6e89335d8ccd494b3a5830b6654462273e50e11023f0", size = 703983, upload-time = "2026-09-29T00:53:59.024Z" }, + { url = "https://files.pythonhosted.org/packages/d9/ab/05ebbbde7530fc5eeb58fbd1581522a9f64f132fa703c4c595eed6e14760/librt-0.16.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:0ead24d2562a49473dddd9efef8581f020007eb0054389c3ee3ffad38b1ca4c9", size = 683847, upload-time = "2026-09-29T00:54:00.671Z" }, + { url = "https://files.pythonhosted.org/packages/a3/75/f52aeecd4dbadbddf80725ba7de126d8bd5d0eb66247eae17a81ed90dd4d/librt-0.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:02118f56a9c36ddd07dfd9b919d9ecc117ba20a90987d56aa4c429fa34509188", size = 698045, upload-time = "2026-09-29T00:54:02.247Z" }, + { url = "https://files.pythonhosted.org/packages/e6/55/fa277a835cd6eb42380591ceb85f48c5b4d2b2d7e2cb9869e1e17d24d237/librt-0.16.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4e29522c62e28595ff7e324c6834ade51127707f0e255b18d1c1cf03d39c1048", size = 724640, upload-time = "2026-09-29T00:54:04.078Z" }, + { url = "https://files.pythonhosted.org/packages/25/e4/2cf64354f3fde8ebd591b3b48f96510bee24ac5f7d1e567adbbe210abdbd/librt-0.16.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3ff4b2367926b69c6215635902cccb04048e73094e9862900d27cb2c6bbff143", size = 731748, upload-time = "2026-09-29T00:54:05.741Z" }, + { url = "https://files.pythonhosted.org/packages/f8/c9/c180af3e94e01aa529fa93d7733fec2abc47f222345400cf21d5481d5f8a/librt-0.16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c6f1b27bf1632a7e016af9f145f82be95e1edd7721a646505c21059257cb5a04", size = 754960, upload-time = "2026-09-29T00:54:07.38Z" }, + { url = "https://files.pythonhosted.org/packages/95/d6/01073aa78c58f356b10d9c57b3fe9abb143df338142bcd316df417b89db0/librt-0.16.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:5696d7f52e7b37217cb3a8f92c744fe835942602fdd4c1a8bc4741d3bfdce15e", size = 747000, upload-time = "2026-09-29T00:54:09.06Z" }, + { url = "https://files.pythonhosted.org/packages/f7/d8/1de3783908658d697a8cfc00582f61299ffba7796d7260c112e4700b1109/librt-0.16.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:6072e92dd876ff6ceeb6cf371e35e51f479349837391341f479b08df4564242b", size = 749569, upload-time = "2026-09-29T00:54:10.702Z" }, + { url = "https://files.pythonhosted.org/packages/b7/32/e817f66c96d6caa8bb8435ff93c4c220624d59efc506be59ab98fcd01d0c/librt-0.16.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:39ca4f2f2fe05de8e63493da592d84311adabe5bef52b193851981da9816b302", size = 729483, upload-time = "2026-09-29T00:54:12.25Z" }, + { url = "https://files.pythonhosted.org/packages/7c/c9/23992ccd2b9d22798fdd0f61353183a47414e651da782ad83eb680f50833/librt-0.16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f9807485a908f00355820f18e91e045ffdcdc5adb68aaec40a1e2b88c5f7bba1", size = 776584, upload-time = "2026-09-29T00:54:13.837Z" }, + { url = "https://files.pythonhosted.org/packages/67/3b/e8af957f08e6e2e8e566b099e43d2748418aa565df6ee1d9d3331209fdfe/librt-0.16.0-cp314-cp314t-win32.whl", hash = "sha256:94be5cb7bca4df6201f4183e9e4fa2086c655283d20b38cd84500a69057575a7", size = 104402, upload-time = "2026-09-29T00:54:15.568Z" }, + { url = "https://files.pythonhosted.org/packages/ca/1c/946e6443d7cd32347a086043395e421e52fd603c9163d2ec970ceab8eed6/librt-0.16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d46ca272b251d033dd4527b0dec5f261a28a52bd5fa0f99c117b0a1f8588cc2d", size = 126227, upload-time = "2026-09-29T00:54:17.165Z" }, + { url = "https://files.pythonhosted.org/packages/c2/a3/bc4f9959d3c62bcbf9e5fd3470a8bbd8bf33224ed4c25d7fba173201b8ac/librt-0.16.0-cp314-cp314t-win_arm64.whl", hash = "sha256:b9d6d4b14e92d876f8026b54c20c445f36425214c1081dc76f74e40db386b82b", size = 116493, upload-time = "2026-09-29T00:54:18.567Z" }, + { url = "https://files.pythonhosted.org/packages/b6/4b/10fdb42dfab4c1533e1570e686b18e86ff4328b406361b39fb3016667638/librt-0.16.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:6fe436af2eaf630474f491af5d032cbe45f93fcff5c3b9fe4ab194a7255b20ff", size = 149829, upload-time = "2026-09-29T00:54:19.933Z" }, + { url = "https://files.pythonhosted.org/packages/8e/30/a90ca13f1d3d91af1680000a4038536907018fbd51764767287a05d28b8b/librt-0.16.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:8ff5d26c529336be9bd7ae04483235d77778ee7d6444a95353102b542601ce81", size = 154522, upload-time = "2026-09-29T00:54:21.306Z" }, + { url = "https://files.pythonhosted.org/packages/5c/dd/bcf364eacfa070bb1fc88d503111ae7177914197ba1fa717c748926e7930/librt-0.16.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:909d8e3c1faee44cb762b1c519ff8613dcc5ceae5c99987a00917b5a31fd1d6a", size = 497593, upload-time = "2026-09-29T00:54:22.798Z" }, + { url = "https://files.pythonhosted.org/packages/18/c1/2c4e81e347bdabfe8346bfc6dc37ae5e154d61c88e30848ec0606025a5e0/librt-0.16.0-cp315-cp315-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:6d4a64283ee61824b5790de882bc68e2d9d7a5143537cb7a966f7354f71646d4", size = 480459, upload-time = "2026-09-29T00:54:24.364Z" }, + { url = "https://files.pythonhosted.org/packages/ab/d7/fef2a3cb8400701be496f6e459876f650b3451f407e30cb243de571ae615/librt-0.16.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5810ba811297fdf37a1531a57667cb8ace0842013ca8606bf9eb7c24cf4be154", size = 507814, upload-time = "2026-09-29T00:54:25.997Z" }, + { url = "https://files.pythonhosted.org/packages/e1/6f/53762927a32e9dc9eb1d1c1f3528da281290c86d96929a8af652f671266e/librt-0.16.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e56aaf8c167548dc8e5d6f3bd0f48dcdd299a23c73be3f744aab79d99e9c7f5d", size = 525114, upload-time = "2026-09-29T00:54:27.747Z" }, + { url = "https://files.pythonhosted.org/packages/6c/67/0b9d031f303c4e8c691a9a8ef9d272f13b530c11cc563b819df621b6a348/librt-0.16.0-cp315-cp315-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:8f36c58e33b304b525c6c9c5076399c6ebf1109e17b9051a05a407b091b9215b", size = 520465, upload-time = "2026-09-29T00:54:29.331Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d5/2056a3a85864e882eb17a203a10ddb26fa748bc9718ec67e79059ab46cae/librt-0.16.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:242e00b3d4fa37c3d3c1ca5f5c9adb7d909ddb1eac9c41f2787320d00caa0af2", size = 537257, upload-time = "2026-09-29T00:54:30.915Z" }, + { url = "https://files.pythonhosted.org/packages/54/57/e0d79790c163cbc0909e209a6f62e30bb713b647f905a176cdc64848fd4d/librt-0.16.0-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:0253721561787b8df8443eb347b7a6461015354e5bdd37ee38a41fef220d2bb0", size = 527442, upload-time = "2026-09-29T00:54:32.478Z" }, + { url = "https://files.pythonhosted.org/packages/aa/50/1c0c95aba7af51f4752ea34fbf2eb79b36e7cae3a72536248e8c735de735/librt-0.16.0-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:3e483a8d69ede8067db70c0e83007423b6925de6fd53afed01d66160f2e9398c", size = 548139, upload-time = "2026-09-29T00:54:34.183Z" }, + { url = "https://files.pythonhosted.org/packages/98/91/a8a43dd5138d4f55f88846b8f0c85454a4fad69952cebfcff9948f831290/librt-0.16.0-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:69ba927445cfaaffb4081003ef5224c55a5c2ab67ef956f416ef744916e44121", size = 529708, upload-time = "2026-09-29T00:54:35.761Z" }, + { url = "https://files.pythonhosted.org/packages/2d/41/d5226881ab2b7c20d9d587b37bdd4a0ec8775a96d00ca87ac9f385587db4/librt-0.16.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:d6a365f2ab45a984d0e00eee0dd17f599ceab8cadab6ea07b6111c8132fc0e42", size = 567781, upload-time = "2026-09-29T00:54:37.409Z" }, + { url = "https://files.pythonhosted.org/packages/bb/bf/2345ba57a626e8c78c4ddcc724636a8df5a593fe46c1ee76bbf477e32b0d/librt-0.16.0-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:f01f3805f2dae4781c0c34b440e31740d082950bdaf89a6f601ad589a28af57a", size = 79177, upload-time = "2026-09-29T00:54:38.792Z" }, + { url = "https://files.pythonhosted.org/packages/1e/40/99e77936cc9207f629b077bf7cbc5e2f0827cddd7c29792f04ef881bd2c3/librt-0.16.0-cp315-cp315-win32.whl", hash = "sha256:b0e3e721c75d2e79a76d4422c79d7ba705fe1bbafec907037fe7a657a480a0e3", size = 100127, upload-time = "2026-09-29T00:54:40.251Z" }, + { url = "https://files.pythonhosted.org/packages/56/1e/801fe26bc622061b9dfd010e166d94142cb774b733217e6d98d1c0cf2638/librt-0.16.0-cp315-cp315-win_amd64.whl", hash = "sha256:bc02954b1295de798bbdb0b4e2d8a28c2117de8b5c73dcbeb27dc32572dfb971", size = 120480, upload-time = "2026-09-29T00:54:41.722Z" }, + { url = "https://files.pythonhosted.org/packages/bb/a9/d533983055bd36e112627384c2c038845d1df882540b8bcefb566475640b/librt-0.16.0-cp315-cp315-win_arm64.whl", hash = "sha256:c5db585d43449a5f54303d4b2774e45e1babd975cfe1630a3d708c0b80c3e560", size = 110915, upload-time = "2026-09-29T00:54:43.052Z" }, + { url = "https://files.pythonhosted.org/packages/55/fe/d62238fa9c653b0e0613290349467cb65711b5800e8e474f45e942a0ad95/librt-0.16.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f06c689cb14afd9b612727553a5ec5a40febf113ca41c4413a2b0b334285884b", size = 159714, upload-time = "2026-09-29T00:54:44.497Z" }, + { url = "https://files.pythonhosted.org/packages/f3/ac/f31efe7818700be72ba4f9af8a80fa67c39808c8d26dacc55dc1f6f35172/librt-0.16.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:13b4e8aba90b0b1c82474e9844aa9ffe7ad3faa484350e1da64cb8188d903134", size = 162086, upload-time = "2026-09-29T00:54:45.968Z" }, + { url = "https://files.pythonhosted.org/packages/d9/16/4d7487bf86a9d7e8e18f37ba5538789233ea693637379b75701bd35ec9de/librt-0.16.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5a269c46ae327d8e6f8c1f85f7516cb52c0fa48127565a1105a4f4a05ff2a0b4", size = 712727, upload-time = "2026-09-29T00:54:47.486Z" }, + { url = "https://files.pythonhosted.org/packages/77/74/50cd550ccc1a517b9ed62347625c01ddf8c4afad66490312677c011458f6/librt-0.16.0-cp315-cp315t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:a33e0dae1f8592146a4764d54ce842b278732d21a84e17c3bbe6b1bc158a2248", size = 681106, upload-time = "2026-09-29T00:54:49.126Z" }, + { url = "https://files.pythonhosted.org/packages/df/5d/7293f712975ee6fdd2251411fd9ef1c62bc99c7b83ecbe62dbc999b1fab7/librt-0.16.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:47ada6ea32636492c61aa8ad27ae3b9404bfe7a97e3ba946d1984236cc741da0", size = 705921, upload-time = "2026-09-29T00:54:50.905Z" }, + { url = "https://files.pythonhosted.org/packages/67/f7/8aab946f11d59d1bece9ffc65d994b200c789a8ca5a95c17e17e609f912a/librt-0.16.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c43bd6e642d8a248c114327f98dd25ac5a7cb5aa168ef02f0559b91874df16b8", size = 731786, upload-time = "2026-09-29T00:54:52.584Z" }, + { url = "https://files.pythonhosted.org/packages/43/76/1c42ab31e7cb8384ebf6d3af607213c495222474f4940443ae7639ab7685/librt-0.16.0-cp315-cp315t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c3d1bb7841a816ace6449bb26d3f9560dbfa20e71c568d23f0f62bf1e68f50b1", size = 744964, upload-time = "2026-09-29T00:54:54.217Z" }, + { url = "https://files.pythonhosted.org/packages/6f/2e/4b19982d933d2dfced671e840b219e4c1cd3f507df6e6dabb51bbd4e3850/librt-0.16.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:3931f7a3db322e7f44e02a280e3949326ce9579ad388ee8d691dc7c76da9fb70", size = 765305, upload-time = "2026-09-29T00:54:55.815Z" }, + { url = "https://files.pythonhosted.org/packages/b8/1b/e872583de2dcb3ac7746e7a2321aeeb168274f3952a87dc66e05ddb29faf/librt-0.16.0-cp315-cp315t-musllinux_1_2_i686.whl", hash = "sha256:f4462528b6000afe8f16907b5c7c2553abf1df005ba5140e6eb394541c3624c3", size = 744959, upload-time = "2026-09-29T00:54:57.532Z" }, + { url = "https://files.pythonhosted.org/packages/10/de/a18c6bcfb297af2674233e90b3c3661c3a0af0f1434a0c966d2ef708a835/librt-0.16.0-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:80039ba9b6a7d5f1a0175a4cca6bbefead87bd854c80abad1cb30afe47a830db", size = 758138, upload-time = "2026-09-29T00:54:59.484Z" }, + { url = "https://files.pythonhosted.org/packages/22/1c/0df1d732539c297bb1a093e1fe3204d2faf76a9022cf4e1d1c2fce059790/librt-0.16.0-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:7a1d272724b581bb6bc769dfdafed6da2ecc9886ba2450311de55a4ac2e1e9cd", size = 744268, upload-time = "2026-09-29T00:55:01.179Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f7/ccaf31331f20c91a5bd9bd48ffc3f743f9c81bb5720cc7b2a720ca204f0a/librt-0.16.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:fbe4fb8c5445f7496d7f7f6bb0807875d09d47e6771ffa175fb2df2895fb86ba", size = 785783, upload-time = "2026-09-29T00:55:02.938Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ea/7421d9e6db894cd6cd788b604b3394a163ded6b942052b6f96c23ccf08e1/librt-0.16.0-cp315-cp315t-win32.whl", hash = "sha256:375bfe6b572a8f6cfc398709356046173bf27e64c4c5edaf5f7062f051fb4bf9", size = 104355, upload-time = "2026-09-29T00:55:04.533Z" }, + { url = "https://files.pythonhosted.org/packages/85/6d/7c31a506eb847bc58aeb2402d58e17605e821f68ab5df5e66fe274a6df41/librt-0.16.0-cp315-cp315t-win_amd64.whl", hash = "sha256:bd3150023d3dc2bc70f3784e59ffa1140d56ddba3d8125b3d6f9f85221279bfc", size = 126134, upload-time = "2026-09-29T00:55:06.017Z" }, + { url = "https://files.pythonhosted.org/packages/36/69/7a5d10ac409c4da0355e054a14371871da9b5557fcc42772cd00181c6cce/librt-0.16.0-cp315-cp315t-win_arm64.whl", hash = "sha256:8ceafb70f2a4f0826f11031942e59c0728fd98da112dc346d4352bde1e486866", size = 116391, upload-time = "2026-09-29T00:55:07.484Z" }, +] + +[[package]] +name = "mypy" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ast-serialize" }, + { name = "librt", marker = "platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions" }, + { name = "pathspec" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4a/3c/78ecece71ee4b5445389a4ccd11627cfb9c69e4de554d11060171f376305/mypy-2.4.1.tar.gz", hash = "sha256:63b590965691e540a335fa74dadf31a7069142f6b72e234689bbd244edf55623", size = 4066728, upload-time = "2026-10-28T19:23:13.286Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/1a/0be9dc6af5e0e04128f18a5e36b4ca44bfb0085857d37aa6a7de1ac2b0cb/mypy-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d63737426a048a27705a4eedb828669f4bc0873612a1b46b0b9fe892b2ebaaaf", size = 14381321, upload-time = "2026-10-28T19:21:54.223Z" }, + { url = "https://files.pythonhosted.org/packages/0d/a6/7907e36711a8a8c703f961f076fab61793383694140bd1fd87589f3f68d4/mypy-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7344869cad05f073b8cae2826774fa0161e3eb2f5c685b76813574008d77d750", size = 14466373, upload-time = "2026-10-28T19:22:25.211Z" }, + { url = "https://files.pythonhosted.org/packages/5d/b8/7313212b29de570c25c9859d7c8e4ef2251a6d34338a1e20031d94297721/mypy-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a20ff6cd2af7a670c64f089bfa5fbcebe8ff3bf896c5e6ac7c9862c7960e4494", size = 15553666, upload-time = "2026-10-28T19:22:36.511Z" }, + { url = "https://files.pythonhosted.org/packages/23/8f/92966b6082ff49da9142e1e527eb9af4359a9a61632a1cfc313da96b37fe/mypy-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9ed1195502cca32be5ef756b1693477f4991db2f2e34eaa90cc4ad6bea4f9531", size = 15802641, upload-time = "2026-10-28T19:21:13.421Z" }, + { url = "https://files.pythonhosted.org/packages/b6/b4/874f6fd54b005020ad63e2cf7a59b178d16a771d478849b29b842cb0cf14/mypy-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:4c194c5d878130fca1ae662dfb1feb6274afbab0b40032c80147377e0ea803d5", size = 11383067, upload-time = "2026-10-28T19:22:03.516Z" }, + { url = "https://files.pythonhosted.org/packages/b0/41/5ae8e6528c2faa96e4a921a999d2c7ac7c565bee184b4282bf62ffa76b5d/mypy-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:71eda06e5bae51976ce869fda429159c9cec678bd02f25bb197f0265c8f991be", size = 10946882, upload-time = "2026-10-28T19:21:39.51Z" }, + { url = "https://files.pythonhosted.org/packages/6a/65/cd19bc06b67d2df4828220245fd98569ba40fac00c60ba48bef1817d8ac3/mypy-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3f1613bfe6726169a5680ec3dad5fe1f6d96285c12aded51ad432eadedd39d45", size = 14214179, upload-time = "2026-10-28T19:22:27.49Z" }, + { url = "https://files.pythonhosted.org/packages/c9/db/4d54ca4f49a0113d0c956980272aefdc6eec5458f7a72b350785b9ef2249/mypy-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:680ba5d9f0e3fe0c746b3d14df15f2a718e4bc308a1145616a1ea691ce7c354b", size = 14376217, upload-time = "2026-10-28T19:21:08.019Z" }, + { url = "https://files.pythonhosted.org/packages/a2/45/089b4724b85f0f408941be5298f817ee89181c1ce031a73d60ebb150c2c7/mypy-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1fb70621535c22fd4b1a0450d37ed1d6c5eb39656a1cebfb189084c12de54ba7", size = 15467623, upload-time = "2026-10-28T19:21:21.555Z" }, + { url = "https://files.pythonhosted.org/packages/27/4c/15edbc64b0b1412bfe94c74192b3b56554ab642b85a31bb06cef6313101f/mypy-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4af5ad558033bf71a44a1be149ed61633522824f84c1b6bc2445d3fe2d2a5296", size = 15729867, upload-time = "2026-10-28T19:21:37.557Z" }, + { url = "https://files.pythonhosted.org/packages/76/5b/7d160fb685994b65b0ca86d352f3afb5424f96a9e6914719f7b861fb6701/mypy-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:acdd82cb3a2eb10720e87706a128d75785d005a8c47e36a4973221524f41fc56", size = 11390802, upload-time = "2026-10-28T19:22:18.081Z" }, + { url = "https://files.pythonhosted.org/packages/9a/ea/453d27f8d531f57c5f14aa73094eaa48e3fb77f680bdede2045cb64fa58b/mypy-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:133886ef1a7a8cf673df55d865e41580c6c46aa9b8e31e1325dfe315c038f745", size = 10950427, upload-time = "2026-10-28T19:22:59.003Z" }, + { url = "https://files.pythonhosted.org/packages/7d/75/282d43d6fea7be984ac63e75ffd8eee146ba2f3b077bb1ca5bf3f973e0c4/mypy-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c45485061ba08f700acc12cfc8b177e6997e6bc353605babfc0abb081e079456", size = 14233251, upload-time = "2026-10-28T19:22:44.977Z" }, + { url = "https://files.pythonhosted.org/packages/ac/a8/9021263cc7e761451c7d8131bdfab3c0a5c2d67aa2d694670019e1ab86a7/mypy-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:727890a32f1858c09549eb55a8b234fe990d460450b28f03e8213ef925f1247c", size = 14394953, upload-time = "2026-10-28T19:21:29.492Z" }, + { url = "https://files.pythonhosted.org/packages/16/10/4192a5cea09ebbc41c534f57bd0d8f0fb42a8e810632cda6e37f072c59fd/mypy-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:beb254fec368c4e7f7f82a5f310c6470b893ec88a90b66426da971c6826b0453", size = 15442824, upload-time = "2026-10-28T19:22:42.068Z" }, + { url = "https://files.pythonhosted.org/packages/99/e6/d3b0a7474aa4f696594a47a218b6796d9c4346fc81ed288904278cddd9bd/mypy-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ec416d5d2ae689e681f5727e328723f18d8b5dc8c903a146b7851dc5727aad8a", size = 15717227, upload-time = "2026-10-28T19:22:54.026Z" }, + { url = "https://files.pythonhosted.org/packages/48/6a/2ec530dacd4f77ca50d0fa05b854098f2d75e5d18c587d2612b44f10d68c/mypy-2.4.1-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:0e95ad0bec03ced9a73b42514208abd24c789e67f0e1eba476e276dd7a2dea3a", size = 7898637, upload-time = "2026-10-28T19:21:41.709Z" }, + { url = "https://files.pythonhosted.org/packages/cc/56/de9d7bad12e3868d5f1f4279aed20b1b568b2c5e166f2d3a05b211dca0b1/mypy-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:51f742d4154824837ca6e92aa81f00eec222700a3c337bd258e5562a3880d75a", size = 11576656, upload-time = "2026-10-28T19:22:13.232Z" }, + { url = "https://files.pythonhosted.org/packages/b8/12/4fa9883b9b59e5c96ff62845ad019dc47786031c45d67eaccf452cffffd8/mypy-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:f44dd4c5ab22df21206dd926c98381ebdbf5bfd696df37dd38ded2d23143fcb6", size = 11174403, upload-time = "2026-10-28T19:23:01.346Z" }, + { url = "https://files.pythonhosted.org/packages/3f/f2/827e356fc4f74c60b8da42663336e035b49d948a3c11224b0fc7543086b1/mypy-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2875280687e64740e6ddcef43bd4c5852ad45ff34549740f6aea3f0373870b93", size = 15713427, upload-time = "2026-10-28T19:21:26.757Z" }, + { url = "https://files.pythonhosted.org/packages/a2/fa/e58a4fcae1d238189eac758036c0921992a86e3e6209190efd96d61fc5d4/mypy-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ea0714d2bccaf6d010c970e1d3ba2c9c2add79d2030aad2ef03167d788948276", size = 15938481, upload-time = "2026-10-28T19:22:34.371Z" }, + { url = "https://files.pythonhosted.org/packages/a1/54/a20f881801b88900923f2be1541a4b438ad0f0883e03836641fdc3d7adf4/mypy-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:63c6ff0e7ea546943001a91639c9f0c64b60d239268fa5d29e4a6c87f82c2373", size = 17243006, upload-time = "2026-10-28T19:22:39.425Z" }, + { url = "https://files.pythonhosted.org/packages/de/1c/ff84a6133a6e89c390bff6b25d9bad6598e7891b205f4b30b496906d636d/mypy-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a5b5da107dc2c93fb0a22f7a45dbaea5dc131afc7056b5468d78e819f9a138e6", size = 17557728, upload-time = "2026-10-28T19:21:43.607Z" }, + { url = "https://files.pythonhosted.org/packages/15/4a/effa47d39b8fadf679c08e7c78559e523f9769a42a75662d2d15b2b9cdd6/mypy-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:c3a4d0c47053cc90035dd3a2c321112b593ad42935d0cbfd747288e1564fa8ca", size = 12370826, upload-time = "2026-10-28T19:22:29.779Z" }, + { url = "https://files.pythonhosted.org/packages/46/9f/b214ececb1a97fbb61ab3dfd48ae3cffd92ae2c148af4c9dc94c6c56772b/mypy-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:0c5bf267645351887b72903fd2f5fbddcf85234e0e6c4ad94e2fcfb4f0c3f971", size = 11851083, upload-time = "2026-10-28T19:23:11.288Z" }, + { url = "https://files.pythonhosted.org/packages/57/5b/e44a2edb0b25a9f1429de770e1d0238af23302671dd40c77ac5efeb0c559/mypy-2.4.1-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:db599d03e7d60d15f2e0a11665c18bc52a88699fcab990fdf8cecd5be8ac801c", size = 14243144, upload-time = "2026-10-28T19:21:10.975Z" }, + { url = "https://files.pythonhosted.org/packages/59/d4/5c99dc3a28e11d2f0fcbb02df63d2d3e574dedc0f9f69d50901df305a7a6/mypy-2.4.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c6c7210e40dd423af7d65cbe428b5906d11dc60659337bdae4e5fdf02ce32ed7", size = 14409316, upload-time = "2026-10-28T19:22:15.515Z" }, + { url = "https://files.pythonhosted.org/packages/c3/c9/3108b38f4c30eabd80194f5d9771a87e27196c5e0ddb5bf4b99c6ed1e97e/mypy-2.4.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a2d4a51db92059eecc2c33b2a5194b28585ebfd917292c015fe87a77dbff6cd2", size = 15445573, upload-time = "2026-10-28T19:22:05.635Z" }, + { url = "https://files.pythonhosted.org/packages/dd/12/84a53eceaf11c46dfd7931fb6b8902d01fb33787d3a991e81c461458150b/mypy-2.4.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:01b7718552d017f88d1151f3cc9d6556d778a90bd58060a2c3d87d070f9099fb", size = 15732989, upload-time = "2026-10-28T19:23:06.512Z" }, + { url = "https://files.pythonhosted.org/packages/65/ba/bf017dc2abdf83b2f74e29c43834b7af67dc1f1b20202f02dae60b4781a0/mypy-2.4.1-cp315-cp315-pyemscripten_2026_5_wasm32.whl", hash = "sha256:3467b1d13000812ab85dc2a3834b9379ec77798ca1bcabe434e23fb21fead692", size = 7898932, upload-time = "2026-10-28T19:21:59.366Z" }, + { url = "https://files.pythonhosted.org/packages/76/05/0c22b1f0390120a8592d31209cb6b9f932b6a0b426fe643e550de15139e3/mypy-2.4.1-cp315-cp315-win_amd64.whl", hash = "sha256:080cf64a60b90a73435542feecf4171904cc5710658165b40c6869115d4aa100", size = 11577577, upload-time = "2026-10-28T19:22:01.302Z" }, + { url = "https://files.pythonhosted.org/packages/73/fb/ac01e173629697ddac2f11e51efd10347d673f9a7311b03f4aba710ebccd/mypy-2.4.1-cp315-cp315-win_arm64.whl", hash = "sha256:f9118a3f50de264b614861bb11814833a742138ac3c8e2e49a860b6977fb2704", size = 11173540, upload-time = "2026-10-28T19:21:46.444Z" }, + { url = "https://files.pythonhosted.org/packages/5b/e4/b9b9c8eb09e70927ee65b1456cfed35710b6e4ff0b07f364ceaf2202307c/mypy-2.4.1-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:9d7dafd56179d296651df9e1844b91c9517c379398f017a2a435d077a28943c1", size = 15706623, upload-time = "2026-10-28T19:22:20.528Z" }, + { url = "https://files.pythonhosted.org/packages/26/74/1ceb1ca884add0565e618d013dd24333039100dc0fcc42661561f2e1cae5/mypy-2.4.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d923cec43316f0e6736b8298fd00abeaaf348a091c20e7296b3aebceecb63eca", size = 15944095, upload-time = "2026-10-28T19:21:04.779Z" }, + { url = "https://files.pythonhosted.org/packages/2b/68/27bcf9b4efa22733b6050485ae37845b94c9b8851abe4fc60632d905c32d/mypy-2.4.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6e081b466e88d4343adffe11aff0f02df34b5b9070b4b700053a0b7294c0be1", size = 17223065, upload-time = "2026-10-28T19:23:03.724Z" }, + { url = "https://files.pythonhosted.org/packages/1a/a3/ed5724b317bf585c29f3c8be2792e97d45925d65a9c8af40ceeb267072e6/mypy-2.4.1-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:70196470ac300f444a302a738541101893c2c57804078b33690286a7899149e9", size = 17560589, upload-time = "2026-10-28T19:21:34.539Z" }, + { url = "https://files.pythonhosted.org/packages/42/2f/005185e6ab4752fd6cc2d1a6d1421fe21979770afe2490c00c555f34a913/mypy-2.4.1-cp315-cp315t-win_amd64.whl", hash = "sha256:de95648e0a6d46fa9929b956ed2c87c5dc9933d4d59945e6390e9d753c74e7c1", size = 12353324, upload-time = "2026-10-28T19:22:51.481Z" }, + { url = "https://files.pythonhosted.org/packages/a1/d6/20420cc9c780087139662534d128c2f3274361f8bb7e9cf0d5495a846ed5/mypy-2.4.1-cp315-cp315t-win_arm64.whl", hash = "sha256:ef8d5be90032261197ac388d945d8ff4f476c95880798a1911760af64ddfe71f", size = 11845599, upload-time = "2026-10-28T19:22:23.136Z" }, + { url = "https://files.pythonhosted.org/packages/21/5c/6e8010f8f2c4ad817364592d4b3883633417269b913fc9d5174fdeb7e565/mypy-2.4.1-py3-none-any.whl", hash = "sha256:1784648d6ec8c2b5465e3f26241b845a0b3cb4e56c993c64abe16989e7698999", size = 2801286, upload-time = "2026-10-28T19:21:19.516Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d0/6f/43edf3be2748d0e40974a5ee046a8bb4c9961a4bdd3e7d5c6dcbf32d1af6/mypy_extensions-1.2.0.tar.gz", hash = "sha256:c6e275a07f1c2fc096b62940452d0eaa3f3af7de45d704787866240a7c6d5a51", size = 6566, upload-time = "2026-11-03T16:26:33.692Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b5/99/7b1adac7e97ce7bbda34792dc6e9b2f5cc5cffd1875883f78a818b2a2687/mypy_extensions-1.2.0-py3-none-any.whl", hash = "sha256:993e7a20aa5671eb41a7132cf555af30062da99729601601b9a8382b11cae768", size = 5114, upload-time = "2026-11-03T16:26:32.731Z" }, +] + +[[package]] +name = "packaging" +version = "26.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" }, +] + +[[package]] +name = "pathspec" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5a/82/42f767fc1c1143d6fd36efb827202a2d997a375e160a71eb2888a925aac1/pathspec-1.1.1.tar.gz", hash = "sha256:17db5ecd524104a120e173814c90367a96a98d07c45b2e10c2f3919fff91bf5a", size = 135180, upload-time = "2026-04-27T01:46:08.907Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f1/d9/7fb5aa316bc299258e68c73ba3bddbc499654a07f151cba08f6153988714/pathspec-1.1.1-py3-none-any.whl", hash = "sha256:a00ce642f577bf7f473932318056212bc4f8bfdf53128c78bbd5af0b9b20b189", size = 57328, upload-time = "2026-04-27T01:46:07.06Z" }, +] + +[[package]] +name = "pluggy" +version = "1.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bf/db/7fc19e6f2dc92a966727031389fc2e08b558f0f25eb7403c1119ad4713cd/pluggy-1.7.0.tar.gz", hash = "sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8", size = 123304, upload-time = "2026-10-15T09:50:58.343Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/40/9e/2b38731e0fc536806f16490e1a12d7f0dc2a1235aa8cc07bcc75416a7daa/pluggy-1.7.0-py3-none-any.whl", hash = "sha256:7dd7b0d8832ba3cb632c306926ded123429211b83641b35dc5c41ad2d34f9bec", size = 27082, upload-time = "2026-10-15T09:50:56.808Z" }, +] + +[[package]] +name = "pygments" +version = "2.21.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/49/2e/ced460408999b33da6b31b0021b0f37d329e202d4169aeb164493778f25b/pygments-2.21.0.tar.gz", hash = "sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c", size = 5005329, upload-time = "2026-08-17T08:02:48.824Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/46/17f022dd3e953bf20a04a028a21ec746d942f8d2af30fa0f124fa0e6a684/pygments-2.21.0-py3-none-any.whl", hash = "sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9", size = 1250147, upload-time = "2026-08-17T08:02:44.912Z" }, +] + +[[package]] +name = "pytest" +version = "9.2.0" +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/79/42/bb4641652e58dedeac2ec51abc1f8cae4fee4ec63899a0999016229a0f2a/pytest-9.2.0.tar.gz", hash = "sha256:97c4f3b1f3c7414aa36465e09b8220f1d03627993bd51b1282e193753c80557b", size = 1797555, upload-time = "2026-10-27T21:30:20.728Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/51/39/1f5d8c8877a0fa327db959c19341d4be61660de1ab6b7391f9eb805bcd67/pytest-9.2.0-py3-none-any.whl", hash = "sha256:07acdcf88ec174f907dc01af70bf52d49b014bbab03faeeade31c96b18c2e588", size = 411776, upload-time = "2026-10-27T21:30:19.131Z" }, +] + +[[package]] +name = "pytest-cov" +version = "7.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "coverage" }, + { name = "pluggy" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/51/a849f96e117386044471c8ec2bd6cfebacda285da9525c9106aeb28da671/pytest_cov-7.1.0.tar.gz", hash = "sha256:30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2", size = 55592, upload-time = "2026-03-21T20:11:16.284Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl", hash = "sha256:a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678", size = 22876, upload-time = "2026-03-21T20:11:14.438Z" }, +] + +[[package]] +name = "ruff" +version = "0.17.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/86/cc/7b71512eb8b49926efb887cc66c74dd993642943c29eba51a877f6b85692/ruff-0.17.5.tar.gz", hash = "sha256:625e57d80cd43352d12ea81690f3eac46cddc8c0f35026d137fb0f157f94592e", size = 5368382, upload-time = "2026-11-12T17:54:55.04Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d4/f2/61df414cb4338617290a9023ad09486e207fb9a6d09357a7be34f2e369a4/ruff-0.17.5-py3-none-linux_armv6l.whl", hash = "sha256:d511dd302982e46a285528942fa6557d57730edc4bdb9def95e86a2603d77396", size = 10231309, upload-time = "2026-11-12T17:54:09.314Z" }, + { url = "https://files.pythonhosted.org/packages/d1/72/8ed970f3361f7c8d3f8e1b3b1af27cf086bc4b3a6b62ec20e21a1aaaaff5/ruff-0.17.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:b72fbc232e328bdbb9cdddf4f1aedcd61bd1aa64d75fc012114b4add0bd7f26b", size = 10250018, upload-time = "2026-11-12T17:54:11.983Z" }, + { url = "https://files.pythonhosted.org/packages/dc/4b/8b10f6c9d0a18413301ae8dd2af9d180a81bb738b1b731d944a37404c523/ruff-0.17.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:6f0db748508f04a04e3fbebcc636a5c8b3bd76274f8ed28f497c44d75c2ea2d7", size = 9504737, upload-time = "2026-11-12T17:54:14.567Z" }, + { url = "https://files.pythonhosted.org/packages/b7/ea/1b3afa3943239dede7a0755ea139bdb51879f0f3f96f92894081d5c7d2e5/ruff-0.17.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f6a7b138edf9cc402ca736a59d9525e6d766e5395760b72e7e146e6251ac963", size = 10168006, upload-time = "2026-11-12T17:54:17.195Z" }, + { url = "https://files.pythonhosted.org/packages/31/08/ee641daa45f83792f91274b65796cb011f1065f588911bfa3909ad9e31e7/ruff-0.17.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e52622ecf3a0df9d03e796fe3eed4aa085adda65520db7e0619cbd2192a97342", size = 10043751, upload-time = "2026-11-12T17:54:19.815Z" }, + { url = "https://files.pythonhosted.org/packages/f8/cf/1c59fdb42d0b5671ad5b160636fab4005ee28db72cb06aef6e3f3c04f377/ruff-0.17.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54c0f67d1be11b55d12c184a819fc229f5eee3ef45c16c4fcad41258e83b4882", size = 10690562, upload-time = "2026-11-12T17:54:22.789Z" }, + { url = "https://files.pythonhosted.org/packages/49/c5/578074716173fb0c1591e9648a9f85c469888d9530cb35b89b757dc1208b/ruff-0.17.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dd0dfe7c6fe5a447fce467c58e69893be1d9a7e4378f5b9906432da33d94a97f", size = 11338465, upload-time = "2026-11-12T17:54:25.523Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b9/d6428bcf5ed88f4dc1d6e3417ee350236ed36e7a35f9477b727c00e437bf/ruff-0.17.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ec4ecf40fb4d6e1265b009dbe551727920926fc0f769070c452d6d84b422a74d", size = 10895501, upload-time = "2026-11-12T17:54:28.441Z" }, + { url = "https://files.pythonhosted.org/packages/f2/8a/1e29c0c3785ae7e5cd0d54ee8717a08867ef71545796340be4c653c57e24/ruff-0.17.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:40ca8afaac309b41a5b2e09e4e7beb1f824826b93c25697c4d74f573324fba4e", size = 10613231, upload-time = "2026-11-12T17:54:30.862Z" }, + { url = "https://files.pythonhosted.org/packages/32/b6/88944350c14bb90651014d678ad554e233ae2a79c14ad52101845f93d15b/ruff-0.17.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:8e85601bd6d9b6c3e3b95c0e0dccdbac1d23c6bcef006d187fbcddaf8225a5df", size = 10562789, upload-time = "2026-11-12T17:54:33.869Z" }, + { url = "https://files.pythonhosted.org/packages/6f/fd/2792e955b0bf54295cdcdddc4bb3f380c0790d7e60e789f528a9e6e48a31/ruff-0.17.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f93d2b7d449ed9545304f6923699ca20d13c675b69f258481709a08ae61076db", size = 10069824, upload-time = "2026-11-12T17:54:36.663Z" }, + { url = "https://files.pythonhosted.org/packages/07/9c/d7cad341b4c19237948a6dd1fcea1c9c39c9d08b70f22f0e157d1236ebd6/ruff-0.17.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:0e5c125c5b31dc8efc948d41357496a4c4a312977565ccba740030efdff83580", size = 10038961, upload-time = "2026-11-12T17:54:39.452Z" }, + { url = "https://files.pythonhosted.org/packages/cc/a1/9cd0d4c371ddc70267d3bd557e718e2bdfb94c25e49d25605edfabb764bd/ruff-0.17.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:50dfc3c6b3ebd0a932f11dfd579bd42234b0b7137e68940eb6abdbfdb9d69697", size = 10385012, upload-time = "2026-11-12T17:54:41.808Z" }, + { url = "https://files.pythonhosted.org/packages/8f/a9/35f078ce98d4df318328ea5270382b5b65e680f7953b3db54f8e009c420c/ruff-0.17.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:86bd1f3b83c25f9b8055c6e796f0685b39d3127ce947322098c3108cf82fd586", size = 10793672, upload-time = "2026-11-12T17:54:44.342Z" }, + { url = "https://files.pythonhosted.org/packages/2c/a5/2e136dede2a88aaaf54498bbbdc81bc810f788ef6ef01efb97037d73cd1d/ruff-0.17.5-py3-none-win32.whl", hash = "sha256:e1546609b2ad73f1d6c5c076881b788672b7b3cc3283981182cbdbb6524ed88a", size = 9929908, upload-time = "2026-11-12T17:54:47.067Z" }, + { url = "https://files.pythonhosted.org/packages/ec/8c/e4db9ae1e0ee233c04df007ab6d0d42f799ae9abd95d352b6092ee7bc4bf/ruff-0.17.5-py3-none-win_amd64.whl", hash = "sha256:aa415d57c244299279901d776607fee3df7831c2a7435433fbfacde8632c6550", size = 10275454, upload-time = "2026-11-12T17:54:49.401Z" }, + { url = "https://files.pythonhosted.org/packages/e6/65/a1648bc1550e7683bf7bf1e2ce2485c9f8535cbca6cca9ec7b73cc12fb8e/ruff-0.17.5-py3-none-win_arm64.whl", hash = "sha256:64a6fd668a336df959c522991de33e9e3c8be463afc0c9ac8f029f9d19ef756e", size = 9849020, upload-time = "2026-11-12T17:54:52.055Z" }, +] + +[[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" }, +] From 99365e5005b8448231da2c26a8d79712187f104a Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 21:30:52 +0100 Subject: [PATCH 2/7] fix: pin line endings and document data URLs Keep LF endings of the test data, write the manifest with LF, say that the URLs follow main, and test the documented difference between the partitions. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 2 ++ data/README.md | 6 +++++- scripts/generate_test_data.py | 4 +++- tests/test_generate_test_data.py | 12 +++++++++++- 4 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..b8067e87 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# The test data are compared byte for byte and checksummed: keep LF endings +data/** -text diff --git a/data/README.md b/data/README.md index 7a12d457..374a14ee 100644 --- a/data/README.md +++ b/data/README.md @@ -28,6 +28,10 @@ repository on GitHub, e.g.: https://raw.githubusercontent.com/elixir-cloud-aai/elixir-cloud-demos/main/data/synthetic-growth/node-a.csv ``` +The URLs follow `main`: a change to the data changes what they serve and +the checksums in the manifest. For a fixed copy, replace `main` by a commit +SHA in the URLs. + A TES task can use such a URL directly as an input (`inputs[].url`), as long as the TES service may download from GitHub. To place the data at a Node instead, e.g. in its object store, copy the files there and check them @@ -47,5 +51,5 @@ them, change the script and run, from the repository root: uv run python scripts/generate_test_data.py ``` -The tests (`uv run --group dev pytest`) fail if the committed files and the +The tests (`uv run pytest`) fail if the committed files and the manifest differ from what the script writes. diff --git a/scripts/generate_test_data.py b/scripts/generate_test_data.py index e4e23ba4..efe12e8c 100644 --- a/scripts/generate_test_data.py +++ b/scripts/generate_test_data.py @@ -136,7 +136,9 @@ def write_data_sets(out_dir: Path, base_url: str = BASE_URL) -> dict[str, Any]: } ] } - (out_dir / "manifest.json").write_text(json.dumps(manifest, indent=2) + "\n") + (out_dir / "manifest.json").write_text( + json.dumps(manifest, indent=2) + "\n", newline="\n" + ) return manifest diff --git a/tests/test_generate_test_data.py b/tests/test_generate_test_data.py index 76a9e1ed..a5721da3 100644 --- a/tests/test_generate_test_data.py +++ b/tests/test_generate_test_data.py @@ -39,7 +39,7 @@ def test_rows_have_expected_columns() -> None: def test_rows_reject_non_positive_count() -> None: """Asking for no rows is an error.""" - with pytest.raises(ValueError): + with pytest.raises(ValueError, match="positive"): gen.make_rows(node="node-a", n_rows=0) @@ -74,3 +74,13 @@ def test_main_writes_to_given_directory(tmp_path: Path) -> None: """The command line entry point writes into the given directory.""" assert gen.main(["--out-dir", str(tmp_path)]) == 0 assert (tmp_path / "manifest.json").is_file() + + +def test_node_b_has_higher_mean_od600() -> None: + """The partitions differ like data of two sites, as the README says.""" + + def mean_od600(node: str) -> float: + rows = gen.make_rows(node=node) + return sum(float(r["od600"]) for r in rows) / len(rows) + + assert mean_od600("node-b") > mean_od600("node-a") From 50c6acbad0bc35541425ea0cbb09787975337caf Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 21:36:34 +0100 Subject: [PATCH 3/7] fix: drop trailing slash of the base URL Co-Authored-By: Claude Opus 5.5 --- scripts/generate_test_data.py | 1 + tests/test_generate_test_data.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/scripts/generate_test_data.py b/scripts/generate_test_data.py index efe12e8c..3847b848 100644 --- a/scripts/generate_test_data.py +++ b/scripts/generate_test_data.py @@ -104,6 +104,7 @@ def write_data_sets(out_dir: Path, base_url: str = BASE_URL) -> dict[str, Any]: Returns: The manifest, as also written to ``manifest.json``. """ + base_url = base_url.rstrip("/") files = [] for node in NODES: rel_path = f"{DATASET}/{node}.csv" diff --git a/tests/test_generate_test_data.py b/tests/test_generate_test_data.py index a5721da3..68d33ae7 100644 --- a/tests/test_generate_test_data.py +++ b/tests/test_generate_test_data.py @@ -84,3 +84,10 @@ def mean_od600(node: str) -> float: return sum(float(r["od600"]) for r in rows) / len(rows) assert mean_od600("node-b") > mean_od600("node-a") + + +def test_base_url_trailing_slash_is_ignored(tmp_path: Path) -> None: + """A trailing slash of the base URL gives no empty path segment.""" + manifest = gen.write_data_sets(out_dir=tmp_path, base_url="https://x.org/data/") + url = manifest["datasets"][0]["files"][0]["url"] + assert url == "https://x.org/data/synthetic-growth/node-a.csv" From b03cd307b15b7bd37ce89418218262549192bd48 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 21:35:19 +0100 Subject: [PATCH 4/7] feat: add federated analytics demo Run local summary statistics as one TES task per partition, directly or through a proTES gateway, read the aggregates from the task logs and combine them into the statistics of the whole data set. --local runs without services; tests use a fake TES service. Co-Authored-By: Claude Opus 5.5 --- README.md | 1 + demos/federated-analytics/README.md | 93 +++++ .../federated_analytics.py | 371 ++++++++++++++++++ demos/federated-analytics/local_stats.py | 76 ++++ pyproject.toml | 12 +- tests/test_federated_analytics.py | 262 +++++++++++++ 6 files changed, 810 insertions(+), 5 deletions(-) create mode 100644 demos/federated-analytics/README.md create mode 100644 demos/federated-analytics/federated_analytics.py create mode 100644 demos/federated-analytics/local_stats.py create mode 100644 tests/test_federated_analytics.py diff --git a/README.md b/README.md index bd19ff0b..d57518a3 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Follow the shortcuts in the following table to the individual demos. | Name | First Demo | Description | | --- | --- | --- | | [2023-ecp-f2f](demos/2023-ecp-f2f/README.md) | ELIXIR Compute Face-to-Face, Helsinki, Feb 7-8, 2023 | Task execution via the [Task Execution Service (TES) API](https://github.com/ga4gh/task-execution-schemas/) on Kubernetes and HPC; TES-based task distribution with random and distance-based task distribution logic; execution of a CWL workflow via the `cwl-tes` TES backend | +| [federated-analytics](demos/federated-analytics/README.md) | Not yet given | The same analysis at two Nodes via TES tasks, optionally through the proTES gateway; only aggregates leave the Nodes and are combined into the result of the whole data set | ## Test data diff --git a/demos/federated-analytics/README.md b/demos/federated-analytics/README.md new file mode 100644 index 00000000..4591f10d --- /dev/null +++ b/demos/federated-analytics/README.md @@ -0,0 +1,93 @@ +# Demonstrator federated-analytics + +Runs the same analysis at two Nodes through GA4GH TES, optionally through the +proTES gateway, and combines the results. Only aggregates leave the Nodes, +never the rows. + +> [!IMPORTANT] +> The demo uses the synthetic test data of [`data/`](../../data/README.md). +> Never run it on real, personal or other sensitive data. + +## How it works + +1. The data set `synthetic-growth` has one partition per Node (`node-a`, + `node-b`). [`data/manifest.json`](../../data/manifest.json) lists their + URLs. +2. For each partition, [`federated_analytics.py`](federated_analytics.py) + sends one TES task. The task downloads the partition and runs + [`local_stats.py`](local_stats.py) in a `python:3.13-slim` container. The + script prints the count, sum and sum of squares of each value column per + condition, as JSON. +3. The client reads that output from the task logs (`view=FULL`, standard + output of the executor), so no object store is needed for outputs. +4. The client combines the aggregates into the mean and standard deviation per + condition, and Welch's t statistic of `treated` against `control`. The + result is exactly the one of all rows in one place; the tests check this. + +## Quick start (no services) + +From a fresh clone, with Python 3.12 or later: + +```sh +python demos/federated-analytics/federated_analytics.py --local +``` + +`--local` runs `local_stats.py` on the local copies of the partitions instead +of in TES tasks. It works if the output ends like this: + +```text +Welch's t (treated vs control), od600: 13.81 +Welch's t (treated vs control), expression: 8.48 +``` + +Add `--json` for machine-readable output. CI runs this quick start on every +change. + +## Run against TES services + +Through one proTES gateway (all tasks to the gateway, which routes them to its +TES instances): + +```sh +export TES_TOKEN= +python demos/federated-analytics/federated_analytics.py --tes https://protes.example.org +``` + +With one TES service per partition (in the order of the manifest: `node-a`, +then `node-b`): + +```sh +python demos/federated-analytics/federated_analytics.py \ + --tes https://tes.node-a.example.org \ + --tes https://tes.node-b.example.org +``` + +| Option or variable | Meaning | +| --- | --- | +| `--tes URL` | Base URL of a TES service or gateway, without `/ga4gh/tes/v1`. With one URL, all tasks go there; with several, partitions go to them in turn. | +| `TES_TOKEN` | Access token, sent as bearer token if set. proTES 0.3.0 and later need one, from an identity provider the gateway accepts (see [Access control](https://protes.readthedocs.io/en/latest/access-control/)). | +| `--image` | Container image with Python 3 for the tasks (default: `python:3.13-slim`). | +| `--manifest` | Manifest of the partitions (default: `data/manifest.json`). | + +The services need: + +- to download the partitions from `raw.githubusercontent.com`, or copies of + them at URLs they can reach (edit a copy of the manifest and pass it with + `--manifest`); +- to accept inputs with `content` (TES 1.1), for the script; +- to report the standard output of executors in the task logs. + +proTES routes each task to one of its TES instances at random, unless its +operator enables [routing by distance to the +data](https://protes.readthedocs.io/en/latest/plugins/#routing-by-distance-to-the-data-opt-in). +For the federated case, where each partition stays at its Node, place each +partition at its Node and enable that routing, or send each partition to its +Node's TES service directly. + +## What has been run + +- The quick start (`--local`) and the TES client against an in-memory fake TES + service, in the tests of this repository. +- **Not run:** against a deployed TES service or proTES gateway with access + tokens. Please report results in the + [issues](https://github.com/elixir-cloud-aai/elixir-cloud-demos/issues). diff --git a/demos/federated-analytics/federated_analytics.py b/demos/federated-analytics/federated_analytics.py new file mode 100644 index 00000000..16dafb52 --- /dev/null +++ b/demos/federated-analytics/federated_analytics.py @@ -0,0 +1,371 @@ +#!/usr/bin/env python3 +"""Run the same analysis at several Nodes and combine the results. + +For each partition of the test data set, the client sends a GA4GH TES task +that runs ``local_stats.py`` on that partition and prints aggregates (count, +sum and sum of squares). The client reads them from the task logs and +combines them into the statistics of the whole data set: mean and standard +deviation per condition, and Welch's t statistic of treated against control. +The rows never leave the Nodes; the result is the same as if all rows were in +one place. + +Send all tasks to one proTES gateway (``--tes https://protes.example.org``), +or each partition to a TES service of its own (one ``--tes`` per partition). +With ``--local``, the client runs ``local_stats.py`` on the local copies of +the partitions instead, without any service. +""" + +import argparse +import json +import math +import os +import subprocess +import sys +import time +import urllib.request +from collections.abc import Callable, Sequence +from pathlib import Path +from typing import Any + +from local_stats import GROUP_COLUMN, VALUE_COLUMNS, Stats + +HERE = Path(__file__).resolve().parent +DATA_DIR = HERE.parents[1] / "data" +DATASET = "synthetic-growth" +SCRIPT = HERE / "local_stats.py" +DEFAULT_IMAGE = "python:3.13-slim" +TES_PATH = "/ga4gh/tes/v1/tasks" +TERMINAL_STATES = {"COMPLETE", "EXECUTOR_ERROR", "SYSTEM_ERROR", "CANCELED"} +CONTROL, TREATED = "control", "treated" + +# Sends a request and returns the decoded JSON response. +Transport = Callable[[urllib.request.Request], Any] + + +class TaskError(RuntimeError): + """A TES task failed or its output could not be read.""" + + +def load_partitions(manifest: Path, dataset: str = DATASET) -> list[dict[str, Any]]: + """Read the partitions of a data set from the manifest. + + Args: + manifest: Path of ``manifest.json``. + dataset: Name of the data set. + + Returns: + The file entries of the data set, one per partition. + + Raises: + KeyError: If the manifest has no such data set. + """ + data = json.loads(manifest.read_text()) + for entry in data["datasets"]: + if entry["name"] == dataset: + return list(entry["files"]) + raise KeyError(f"data set {dataset!r} not in {manifest}") + + +def combine(partials: Sequence[Stats]) -> dict[str, dict[str, dict[str, float]]]: + """Combine the aggregates of several partitions. + + Args: + partials: Aggregates of each partition, as ``local_stats.summarise`` + returns them. + + Returns: + ``{condition: {column: {"n", "mean", "sd"}}}`` over all partitions; + ``sd`` is the sample standard deviation (``nan`` for one value). + """ + totals: Stats = {} + for partial in partials: + for group, columns in partial.items(): + for col, agg in columns.items(): + total = totals.setdefault(group, {}).setdefault( + col, {"n": 0.0, "sum": 0.0, "sumsq": 0.0} + ) + for key in ("n", "sum", "sumsq"): + total[key] += agg[key] + result: dict[str, dict[str, dict[str, float]]] = {} + for group, columns in totals.items(): + for col, agg in columns.items(): + n = agg["n"] + mean = agg["sum"] / n + var = ( + max(0.0, (agg["sumsq"] - n * mean * mean) / (n - 1)) + if n > 1 + else math.nan + ) + result.setdefault(group, {})[col] = { + "n": n, + "mean": mean, + "sd": math.sqrt(var), + } + return result + + +def welch_t(a: dict[str, float], b: dict[str, float]) -> float: + """Compute Welch's t statistic of ``b`` against ``a``. + + Args: + a: ``n``, ``mean`` and ``sd`` of the first group. + b: ``n``, ``mean`` and ``sd`` of the second group. + + Returns: + The t statistic; ``nan`` if it is undefined. + """ + se = math.sqrt(a["sd"] ** 2 / a["n"] + b["sd"] ** 2 / b["n"]) + if se == 0 or math.isnan(se): + return math.nan + return (b["mean"] - a["mean"]) / se + + +def run_local(partitions: Sequence[dict[str, Any]], data_dir: Path) -> list[Stats]: + """Run ``local_stats.py`` on the local copies of the partitions. + + Args: + partitions: File entries of the manifest. + data_dir: Directory that holds the files under their ``path``. + + Returns: + The aggregates of each partition. + """ + partials = [] + for part in partitions: + out = subprocess.run( # noqa: S603 - fixed script, paths from manifest + [sys.executable, str(SCRIPT), str(data_dir / part["path"])], + check=True, + capture_output=True, + text=True, + ) + partials.append(json.loads(out.stdout)) + return partials + + +def make_task(part: dict[str, Any], script: str, image: str) -> dict[str, Any]: + """Build the TES task for one partition. + + Args: + part: File entry of the manifest. + script: Source code of ``local_stats.py``. + image: Container image with Python 3. + + Returns: + The task, as the TES API expects it. + """ + return { + "name": f"federated-analytics-{part['node']}", + "description": "Summary statistics of one partition (elixir-cloud-demos)", + "inputs": [ + {"url": part["url"], "path": "/data/input.csv", "type": "FILE"}, + {"content": script, "path": "/data/local_stats.py", "type": "FILE"}, + ], + "executors": [ + { + "image": image, + "command": ["python3", "/data/local_stats.py", "/data/input.csv"], + } + ], + } + + +def _http(request: urllib.request.Request) -> Any: # pragma: no cover + """Send a request and decode the JSON response. + + Args: + request: The request. + + Returns: + The decoded response body. + """ + with urllib.request.urlopen(request, timeout=60) as response: # noqa: S310 + return json.load(response) + + +class TesClient: + """Minimal client of the GA4GH TES API. + + Args: + base_url: Base URL of the service, without ``/ga4gh/tes/v1``. + token: Access token, sent as bearer token if given. + transport: Function that sends requests; for tests. + """ + + def __init__( + self, base_url: str, token: str | None = None, transport: Transport = _http + ) -> None: + """Initialise the client.""" + self.url = base_url.rstrip("/") + TES_PATH + self.token = token + self.transport = transport + + def _request(self, url: str, body: dict[str, Any] | None = None) -> Any: + """Send a GET request, or a POST request if there is a body. + + Args: + url: URL to send to. + body: JSON body of a POST request. + + Returns: + The decoded response body. + """ + headers = {"Accept": "application/json"} + data = None + if body is not None: + headers["Content-Type"] = "application/json" + data = json.dumps(body).encode() + if self.token: + headers["Authorization"] = f"Bearer {self.token}" + return self.transport(urllib.request.Request(url, data=data, headers=headers)) + + def submit(self, task: dict[str, Any]) -> str: + """Create a task. + + Args: + task: The task. + + Returns: + The ID of the task. + """ + return str(self._request(self.url, task)["id"]) + + def wait( + self, + task_id: str, + poll: float = 5.0, + timeout: float = 1800.0, + sleep: Callable[[float], None] = time.sleep, + ) -> str: + """Wait for a task to end and return the output of its executor. + + Args: + task_id: ID of the task. + poll: Seconds between status requests. + timeout: Seconds to wait at most. + sleep: Function to wait with; for tests. + + Returns: + The standard output of the last executor. + + Raises: + TaskError: If the task doesn't complete in time, fails, or has no + output in its logs. + """ + waited = 0.0 + while True: + task = self._request(f"{self.url}/{task_id}?view=FULL") + state = task.get("state", "UNKNOWN") + if state in TERMINAL_STATES: + break + if waited >= timeout: + raise TaskError(f"task {task_id} still {state} after {timeout}s") + sleep(poll) + waited += poll + if state != "COMPLETE": + raise TaskError(f"task {task_id} ended in state {state}") + try: + return str(task["logs"][-1]["logs"][-1]["stdout"]) + except (KeyError, IndexError, TypeError) as exc: + raise TaskError(f"task {task_id} has no executor output") from exc + + +def run_tes( + partitions: Sequence[dict[str, Any]], + clients: Sequence[TesClient], + image: str = DEFAULT_IMAGE, + **wait_kwargs: Any, +) -> list[Stats]: + """Run ``local_stats.py`` as one TES task per partition. + + Partitions go to the clients in turn: with one client (a gateway), all + tasks go there; with one client per partition, each gets its own. + + Args: + partitions: File entries of the manifest. + clients: TES clients. + image: Container image with Python 3. + **wait_kwargs: Passed on to ``TesClient.wait``. + + Returns: + The aggregates of each partition. + """ + script = SCRIPT.read_text() + submitted = [] + for idx, part in enumerate(partitions): + client = clients[idx % len(clients)] + task_id = client.submit(make_task(part, script, image)) + print(f"Submitted {part['node']} to {client.url}: {task_id}", file=sys.stderr) + submitted.append((client, task_id)) + partials = [] + for client, task_id in submitted: + stdout = client.wait(task_id, **wait_kwargs) + try: + partials.append(json.loads(stdout.strip().splitlines()[-1])) + except (IndexError, json.JSONDecodeError) as exc: + raise TaskError(f"task {task_id} printed no JSON: {stdout!r}") from exc + return partials + + +def report(result: dict[str, dict[str, dict[str, float]]]) -> str: + """Format the combined statistics as a table. + + Args: + result: Output of ``combine``. + + Returns: + The table, one line per condition and column, then Welch's t. + """ + lines = [f"{GROUP_COLUMN:<10} {'column':<11} {'n':>4} {'mean':>8} {'sd':>8}"] + for group in sorted(result): + for col in VALUE_COLUMNS: + agg = result[group][col] + lines.append( + f"{group:<10} {col:<11} {agg['n']:>4.0f} " + f"{agg['mean']:>8.3f} {agg['sd']:>8.3f}" + ) + if CONTROL in result and TREATED in result: + for col in VALUE_COLUMNS: + t = welch_t(result[CONTROL][col], result[TREATED][col]) + lines.append(f"Welch's t ({TREATED} vs {CONTROL}), {col}: {t:.2f}") + return "\n".join(lines) + + +def main(argv: Sequence[str] | None = None) -> int: + """Run the demo from the command line. + + Args: + argv: Command line arguments; ``sys.argv[1:]`` if not given. + + Returns: + The exit code. + """ + parser = argparse.ArgumentParser(description="Federated analytics demo.") + where = parser.add_mutually_exclusive_group(required=True) + where.add_argument( + "--local", action="store_true", help="run locally, without services" + ) + where.add_argument( + "--tes", + action="append", + metavar="URL", + help="base URL of a TES service or gateway; repeat for one per partition", + ) + parser.add_argument("--manifest", type=Path, default=DATA_DIR / "manifest.json") + parser.add_argument("--image", default=DEFAULT_IMAGE) + parser.add_argument("--json", action="store_true", help="print JSON") + args = parser.parse_args(argv) + + partitions = load_partitions(args.manifest) + if args.local: + partials = run_local(partitions, args.manifest.parent) + else: + token = os.environ.get("TES_TOKEN") or None + clients = [TesClient(url, token=token) for url in args.tes] + partials = run_tes(partitions, clients, image=args.image) + result = combine(partials) + print(json.dumps(result, indent=2, sort_keys=True) if args.json else report(result)) + return 0 + + +if __name__ == "__main__": # pragma: no cover + raise SystemExit(main()) diff --git a/demos/federated-analytics/local_stats.py b/demos/federated-analytics/local_stats.py new file mode 100644 index 00000000..9fcc921f --- /dev/null +++ b/demos/federated-analytics/local_stats.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python3 +"""Compute summary statistics of one Node's partition. + +This script runs at each Node, inside a TES task (or locally with +``--local`` of ``federated_analytics.py``). It reads a CSV file with a +``condition`` column and numeric columns, and prints, as JSON, the count, sum +and sum of squares of each numeric column per condition. Only these +aggregates leave the Node, never the rows. + +It needs only the Python standard library, so that any Python image can run +it. +""" + +import csv +import json +import sys +from collections.abc import Iterable, Sequence +from pathlib import Path + +VALUE_COLUMNS = ("od600", "expression") +GROUP_COLUMN = "condition" + +Stats = dict[str, dict[str, dict[str, float]]] + + +def summarise(rows: Iterable[dict[str, str]]) -> Stats: + """Compute count, sum and sum of squares per condition and column. + + Args: + rows: Rows with a ``condition`` column and the columns of + ``VALUE_COLUMNS``. + + Returns: + Aggregates as ``{condition: {column: {"n", "sum", "sumsq"}}}``. + + Raises: + ValueError: If a row lacks a column or has a non-numeric value. + """ + stats: Stats = {} + for row in rows: + try: + group = row[GROUP_COLUMN] + values = {col: float(row[col]) for col in VALUE_COLUMNS} + except (KeyError, TypeError, ValueError) as exc: + raise ValueError(f"invalid row {row!r}: {exc}") from exc + per_group = stats.setdefault(group, {}) + for col, value in values.items(): + agg = per_group.setdefault(col, {"n": 0.0, "sum": 0.0, "sumsq": 0.0}) + agg["n"] += 1 + agg["sum"] += value + agg["sumsq"] += value * value + return stats + + +def main(argv: Sequence[str] | None = None) -> int: + """Print the aggregates of a CSV file as JSON. + + Args: + argv: Command line arguments (the path of the CSV file); + ``sys.argv[1:]`` if not given. + + Returns: + The exit code. + """ + args = list(sys.argv[1:] if argv is None else argv) + if len(args) != 1: + print("usage: local_stats.py ", file=sys.stderr) + return 2 + with Path(args[0]).open(newline="") as handle: + stats = summarise(csv.DictReader(handle)) + print(json.dumps(stats, sort_keys=True)) + return 0 + + +if __name__ == "__main__": # pragma: no cover + raise SystemExit(main()) diff --git a/pyproject.toml b/pyproject.toml index 0174ad7a..6a8d27d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,23 +19,25 @@ dev = [ package = false [tool.pytest.ini_options] -pythonpath = ["scripts"] +pythonpath = ["scripts", "demos/federated-analytics"] testpaths = ["tests"] -addopts = "--cov=scripts --cov-report=term-missing --cov-fail-under=100" +addopts = "--cov=scripts --cov=demos/federated-analytics --cov-report=term-missing --cov-fail-under=100" [tool.ruff] extend-exclude = ["demos/2023-ecp-f2f"] [tool.ruff.lint] select = ["E", "F", "I", "B", "UP", "D", "ANN"] +# JSON documents of the TES API are typed as Any +ignore = ["ANN401"] [tool.ruff.lint.isort] -known-first-party = ["generate_test_data"] +known-first-party = ["generate_test_data", "federated_analytics", "local_stats"] [tool.ruff.lint.pydocstyle] convention = "google" [tool.mypy] strict = true -files = ["scripts", "tests"] -mypy_path = "scripts" +files = ["scripts", "demos/federated-analytics", "tests"] +mypy_path = ["scripts", "demos/federated-analytics"] diff --git a/tests/test_federated_analytics.py b/tests/test_federated_analytics.py new file mode 100644 index 00000000..dfb67ec8 --- /dev/null +++ b/tests/test_federated_analytics.py @@ -0,0 +1,262 @@ +"""Tests for the federated analytics demo.""" + +import csv +import json +import math +import statistics +import subprocess +import sys +import urllib.request +from pathlib import Path +from typing import Any, cast + +import pytest + +import federated_analytics as fa +import local_stats + +REPO_ROOT = Path(__file__).resolve().parents[1] +MANIFEST = REPO_ROOT / "data" / "manifest.json" +DEMO = REPO_ROOT / "demos" / "federated-analytics" / "federated_analytics.py" + + +def _all_rows() -> list[dict[str, str]]: + """Read the rows of all partitions, as if they were in one place.""" + rows: list[dict[str, str]] = [] + for part in fa.load_partitions(MANIFEST): + with (MANIFEST.parent / part["path"]).open(newline="") as handle: + rows.extend(csv.DictReader(handle)) + return rows + + +class FakeTes: + """In-memory TES service that runs ``local_stats`` on submitted tasks.""" + + def __init__( + self, states: list[str] | None = None, stdout: str | None = None + ) -> None: + """Set the states to report before the final one, and the output.""" + self.states = list(states or []) + self.stdout = stdout + self.tasks: dict[str, dict[str, Any]] = {} + self.requests: list[urllib.request.Request] = [] + + def __call__(self, request: urllib.request.Request) -> Any: + """Answer a request like a TES service.""" + self.requests.append(request) + if request.data is not None: + task = json.loads(cast(bytes, request.data)) + task_id = f"task-{len(self.tasks) + 1}" + self.tasks[task_id] = task + return {"id": task_id} + task_id = request.full_url.rsplit("/", 1)[1].split("?")[0] + if self.states: + return {"id": task_id, "state": self.states.pop(0)} + task = self.tasks[task_id] + if self.stdout is None: + url = task["inputs"][0]["url"] + part = next(p for p in fa.load_partitions(MANIFEST) if p["url"] == url) + with (MANIFEST.parent / part["path"]).open(newline="") as handle: + stdout = json.dumps(local_stats.summarise(csv.DictReader(handle))) + else: + stdout = self.stdout + return { + "id": task_id, + "state": "COMPLETE", + "logs": [{"logs": [{"stdout": stdout + "\n"}]}], + } + + +def test_summarise_counts_sums_and_squares() -> None: + """The aggregates of a partition are count, sum and sum of squares.""" + rows = [ + {"condition": "a", "od600": "1", "expression": "2"}, + {"condition": "a", "od600": "3", "expression": "4"}, + ] + stats = local_stats.summarise(rows) + assert stats["a"]["od600"] == {"n": 2, "sum": 4, "sumsq": 10} + assert stats["a"]["expression"] == {"n": 2, "sum": 6, "sumsq": 20} + + +@pytest.mark.parametrize( + "row", + [ + {"condition": "a", "od600": "x", "expression": "1"}, + {"condition": "a", "od600": "1"}, + ], +) +def test_summarise_rejects_invalid_rows(row: dict[str, str]) -> None: + """Rows with missing or non-numeric values are errors.""" + with pytest.raises(ValueError): + local_stats.summarise([row]) + + +def test_local_stats_main_prints_json(capsys: pytest.CaptureFixture[str]) -> None: + """The script prints the aggregates of a file as JSON.""" + part = fa.load_partitions(MANIFEST)[0] + assert local_stats.main([str(MANIFEST.parent / part["path"])]) == 0 + stats = json.loads(capsys.readouterr().out) + assert stats["control"]["od600"]["n"] == 25 + + +def test_local_stats_main_needs_one_argument() -> None: + """Without exactly one file, the script exits with a usage error.""" + assert local_stats.main([]) == 2 + + +def test_federated_result_equals_pooled_result() -> None: + """Combining partition aggregates gives the statistics of all rows.""" + partials = fa.run_local(fa.load_partitions(MANIFEST), MANIFEST.parent) + result = fa.combine(partials) + rows = _all_rows() + for group in local_stats.summarise(rows): + for col in local_stats.VALUE_COLUMNS: + values = [float(r[col]) for r in rows if r["condition"] == group] + assert result[group][col]["n"] == len(values) + assert result[group][col]["mean"] == pytest.approx(statistics.fmean(values)) + assert result[group][col]["sd"] == pytest.approx(statistics.stdev(values)) + + +def test_combine_single_value_has_undefined_sd() -> None: + """The standard deviation of one value is not a number.""" + result = fa.combine([{"a": {"x": {"n": 1, "sum": 2, "sumsq": 4}}}]) + assert result["a"]["x"]["mean"] == 2 + assert math.isnan(result["a"]["x"]["sd"]) + + +def test_welch_t() -> None: + """Welch's t is the mean difference over its standard error.""" + a = {"n": 4.0, "mean": 1.0, "sd": 2.0} + b = {"n": 4.0, "mean": 3.0, "sd": 2.0} + assert fa.welch_t(a, b) == pytest.approx(2 / math.sqrt(2)) + assert math.isnan(fa.welch_t(a | {"sd": 0.0}, b | {"sd": 0.0})) + + +def test_load_partitions_unknown_dataset() -> None: + """Asking for a data set that isn't in the manifest is an error.""" + with pytest.raises(KeyError): + fa.load_partitions(MANIFEST, dataset="nope") + + +def test_make_task_runs_script_on_partition() -> None: + """The task downloads the partition and runs the script on it.""" + part = fa.load_partitions(MANIFEST)[0] + task = fa.make_task(part, "print(1)", "img") + assert task["inputs"][0]["url"] == part["url"] + assert task["inputs"][1]["content"] == "print(1)" + assert task["executors"][0]["image"] == "img" + + +def test_run_tes_through_gateway_equals_local() -> None: + """Through one gateway, the result is the same as locally.""" + partitions = fa.load_partitions(MANIFEST) + fake = FakeTes(states=["QUEUED", "RUNNING"]) + client = fa.TesClient("https://gw.example.org/", token="t", transport=fake) + partials = fa.run_tes(partitions, [client], sleep=lambda _: None) + assert partials == fa.run_local(partitions, MANIFEST.parent) + assert len(fake.tasks) == len(partitions) + first = fake.requests[0] + assert first.full_url == "https://gw.example.org/ga4gh/tes/v1/tasks" + assert first.get_header("Authorization") == "Bearer t" + + +def test_run_tes_one_service_per_partition() -> None: + """With one service per partition, each gets one task.""" + partitions = fa.load_partitions(MANIFEST) + fakes = [FakeTes() for _ in partitions] + clients = [ + fa.TesClient(f"https://tes{i}.example.org", transport=f) + for i, f in enumerate(fakes) + ] + fa.run_tes(partitions, clients) + assert [len(f.tasks) for f in fakes] == [1] * len(partitions) + assert fakes[0].requests[0].get_header("Authorization") is None + + +@pytest.mark.parametrize("state", ["EXECUTOR_ERROR", "SYSTEM_ERROR", "CANCELED"]) +def test_wait_raises_on_failed_task(state: str) -> None: + """A task that doesn't complete is an error.""" + fake = FakeTes(states=[state]) + client = fa.TesClient("https://tes.example.org", transport=fake) + task_id = client.submit({}) + with pytest.raises(fa.TaskError, match=state): + client.wait(task_id) + + +def test_wait_times_out() -> None: + """A task that runs too long is an error.""" + fake = FakeTes(states=["RUNNING"] * 3) + client = fa.TesClient("https://tes.example.org", transport=fake) + task_id = client.submit({}) + with pytest.raises(fa.TaskError, match="still RUNNING"): + client.wait(task_id, poll=1, timeout=1, sleep=lambda _: None) + + +def test_wait_raises_without_logs() -> None: + """A completed task without executor logs is an error.""" + + def transport(request: urllib.request.Request) -> Any: + return {"id": "x"} if request.data else {"state": "COMPLETE", "logs": []} + + client = fa.TesClient("https://tes.example.org", transport=transport) + with pytest.raises(fa.TaskError, match="no executor output"): + client.wait(client.submit({})) + + +def test_run_tes_raises_on_non_json_output() -> None: + """A task that prints no JSON is an error.""" + fake = FakeTes(stdout="oops") + client = fa.TesClient("https://tes.example.org", transport=fake) + with pytest.raises(fa.TaskError, match="no JSON"): + fa.run_tes(fa.load_partitions(MANIFEST), [client]) + + +def test_report_lists_groups_and_t() -> None: + """The report has one line per condition and column, then Welch's t.""" + result = fa.combine(fa.run_local(fa.load_partitions(MANIFEST), MANIFEST.parent)) + text = fa.report(result) + assert "control" in text and "treated" in text + assert text.count("Welch's t") == len(local_stats.VALUE_COLUMNS) + + +def test_report_without_both_conditions() -> None: + """Without both conditions, the report leaves out Welch's t.""" + result = fa.combine( + [{"a": {c: {"n": 2, "sum": 2, "sumsq": 2} for c in local_stats.VALUE_COLUMNS}}] + ) + assert "Welch" not in fa.report(result) + + +def test_main_local(capsys: pytest.CaptureFixture[str]) -> None: + """``--local --json`` prints the combined statistics as JSON.""" + assert fa.main(["--local", "--json"]) == 0 + result = json.loads(capsys.readouterr().out) + assert result["treated"]["expression"]["n"] == 50 + + +def test_main_tes( + monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] +) -> None: + """``--tes`` sends the tasks with the token of ``TES_TOKEN``.""" + fake = FakeTes() + original = fa.TesClient.__init__ + + def init(self: fa.TesClient, base_url: str, token: str | None = None) -> None: + original(self, base_url, token=token, transport=fake) + + monkeypatch.setattr(fa.TesClient, "__init__", init) + monkeypatch.setenv("TES_TOKEN", "secret-for-test") + assert fa.main(["--tes", "https://gw.example.org"]) == 0 + assert "Welch's t" in capsys.readouterr().out + assert fake.requests[0].get_header("Authorization") == "Bearer secret-for-test" + + +def test_quick_start_runs_as_script() -> None: + """The README's quick start works from a fresh clone.""" + out = subprocess.run( + [sys.executable, str(DEMO), "--local"], + check=True, + capture_output=True, + text=True, + ) + assert "Welch's t (treated vs control), expression" in out.stdout From 5bd913e4abd1338983659d19595a9124af034aa4 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 21:42:45 +0100 Subject: [PATCH 5/7] fix: validate TES URLs and report task errors Accept --tes once or once per partition, add --poll and --timeout, count request time against the timeout, turn HTTP and network errors into a message and exit code 1, and limit the ANN401 exception to the demo and its tests. Co-Authored-By: Claude Opus 5.5 --- demos/federated-analytics/README.md | 7 +- .../federated_analytics.py | 50 ++++++++++--- pyproject.toml | 2 +- tests/test_federated_analytics.py | 71 ++++++++++++++++--- 4 files changed, 112 insertions(+), 18 deletions(-) diff --git a/demos/federated-analytics/README.md b/demos/federated-analytics/README.md index 4591f10d..5b145df3 100644 --- a/demos/federated-analytics/README.md +++ b/demos/federated-analytics/README.md @@ -64,10 +64,15 @@ python demos/federated-analytics/federated_analytics.py \ | Option or variable | Meaning | | --- | --- | -| `--tes URL` | Base URL of a TES service or gateway, without `/ga4gh/tes/v1`. With one URL, all tasks go there; with several, partitions go to them in turn. | +| `--tes URL` | Base URL of a TES service or gateway, without `/ga4gh/tes/v1`. Give it once (all tasks go there) or once per partition (in the order of the manifest); other counts are an error. | | `TES_TOKEN` | Access token, sent as bearer token if set. proTES 0.3.0 and later need one, from an identity provider the gateway accepts (see [Access control](https://protes.readthedocs.io/en/latest/access-control/)). | | `--image` | Container image with Python 3 for the tasks (default: `python:3.13-slim`). | | `--manifest` | Manifest of the partitions (default: `data/manifest.json`). | +| `--poll` | Seconds between status requests (default: 5). | +| `--timeout` | Seconds to wait for each task, requests included (default: 1800). | + +If a request or a task fails, the demo prints the error (with a hint for HTTP +401 and 403) and exits with code 1. Tasks it has already sent keep running. The services need: diff --git a/demos/federated-analytics/federated_analytics.py b/demos/federated-analytics/federated_analytics.py index 16dafb52..5bd2fe20 100644 --- a/demos/federated-analytics/federated_analytics.py +++ b/demos/federated-analytics/federated_analytics.py @@ -22,6 +22,7 @@ import subprocess import sys import time +import urllib.error import urllib.request from collections.abc import Callable, Sequence from pathlib import Path @@ -208,6 +209,9 @@ def _request(self, url: str, body: dict[str, Any] | None = None) -> Any: Returns: The decoded response body. + + Raises: + TaskError: If the request fails. """ headers = {"Accept": "application/json"} data = None @@ -216,7 +220,14 @@ def _request(self, url: str, body: dict[str, Any] | None = None) -> Any: data = json.dumps(body).encode() if self.token: headers["Authorization"] = f"Bearer {self.token}" - return self.transport(urllib.request.Request(url, data=data, headers=headers)) + request = urllib.request.Request(url, data=data, headers=headers) + try: + return self.transport(request) + except urllib.error.HTTPError as exc: + hint = " (is TES_TOKEN set and valid?)" if exc.code in (401, 403) else "" + raise TaskError(f"{url}: HTTP {exc.code} {exc.reason}{hint}") from exc + except urllib.error.URLError as exc: + raise TaskError(f"{url}: {exc.reason}") from exc def submit(self, task: dict[str, Any]) -> str: """Create a task. @@ -235,14 +246,16 @@ def wait( poll: float = 5.0, timeout: float = 1800.0, sleep: Callable[[float], None] = time.sleep, + clock: Callable[[], float] = time.monotonic, ) -> str: """Wait for a task to end and return the output of its executor. Args: task_id: ID of the task. poll: Seconds between status requests. - timeout: Seconds to wait at most. + timeout: Seconds to wait at most for this task, requests included. sleep: Function to wait with; for tests. + clock: Monotonic clock in seconds; for tests. Returns: The standard output of the last executor. @@ -251,16 +264,15 @@ def wait( TaskError: If the task doesn't complete in time, fails, or has no output in its logs. """ - waited = 0.0 + deadline = clock() + timeout while True: task = self._request(f"{self.url}/{task_id}?view=FULL") state = task.get("state", "UNKNOWN") if state in TERMINAL_STATES: break - if waited >= timeout: + if clock() >= deadline: raise TaskError(f"task {task_id} still {state} after {timeout}s") sleep(poll) - waited += poll if state != "COMPLETE": raise TaskError(f"task {task_id} ended in state {state}") try: @@ -330,11 +342,12 @@ def report(result: dict[str, dict[str, dict[str, float]]]) -> str: return "\n".join(lines) -def main(argv: Sequence[str] | None = None) -> int: +def main(argv: Sequence[str] | None = None, transport: Transport = _http) -> int: """Run the demo from the command line. Args: argv: Command line arguments; ``sys.argv[1:]`` if not given. + transport: Function that sends requests to TES; for tests. Returns: The exit code. @@ -353,15 +366,36 @@ def main(argv: Sequence[str] | None = None) -> int: parser.add_argument("--manifest", type=Path, default=DATA_DIR / "manifest.json") parser.add_argument("--image", default=DEFAULT_IMAGE) parser.add_argument("--json", action="store_true", help="print JSON") + parser.add_argument( + "--poll", type=float, default=5.0, help="seconds between status requests" + ) + parser.add_argument( + "--timeout", type=float, default=1800.0, help="seconds to wait per task" + ) args = parser.parse_args(argv) partitions = load_partitions(args.manifest) if args.local: partials = run_local(partitions, args.manifest.parent) else: + if len(args.tes) not in (1, len(partitions)): + parser.error( + f"give --tes once (gateway) or {len(partitions)} times " + "(one per partition)" + ) token = os.environ.get("TES_TOKEN") or None - clients = [TesClient(url, token=token) for url in args.tes] - partials = run_tes(partitions, clients, image=args.image) + clients = [TesClient(url, token=token, transport=transport) for url in args.tes] + try: + partials = run_tes( + partitions, + clients, + image=args.image, + poll=args.poll, + timeout=args.timeout, + ) + except TaskError as exc: + print(f"Error: {exc}", file=sys.stderr) + return 1 result = combine(partials) print(json.dumps(result, indent=2, sort_keys=True) if args.json else report(result)) return 0 diff --git a/pyproject.toml b/pyproject.toml index 6a8d27d9..857686c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ extend-exclude = ["demos/2023-ecp-f2f"] [tool.ruff.lint] select = ["E", "F", "I", "B", "UP", "D", "ANN"] # JSON documents of the TES API are typed as Any -ignore = ["ANN401"] +per-file-ignores = { "demos/federated-analytics/*" = ["ANN401"], "tests/test_federated_analytics.py" = ["ANN401"] } [tool.ruff.lint.isort] known-first-party = ["generate_test_data", "federated_analytics", "local_stats"] diff --git a/tests/test_federated_analytics.py b/tests/test_federated_analytics.py index dfb67ec8..46cb47f8 100644 --- a/tests/test_federated_analytics.py +++ b/tests/test_federated_analytics.py @@ -6,6 +6,7 @@ import statistics import subprocess import sys +import urllib.error import urllib.request from pathlib import Path from typing import Any, cast @@ -189,7 +190,13 @@ def test_wait_times_out() -> None: client = fa.TesClient("https://tes.example.org", transport=fake) task_id = client.submit({}) with pytest.raises(fa.TaskError, match="still RUNNING"): - client.wait(task_id, poll=1, timeout=1, sleep=lambda _: None) + client.wait( + task_id, + poll=1, + timeout=1, + sleep=lambda _: None, + clock=iter(range(10)).__next__, + ) def test_wait_raises_without_logs() -> None: @@ -239,18 +246,55 @@ def test_main_tes( ) -> None: """``--tes`` sends the tasks with the token of ``TES_TOKEN``.""" fake = FakeTes() - original = fa.TesClient.__init__ - - def init(self: fa.TesClient, base_url: str, token: str | None = None) -> None: - original(self, base_url, token=token, transport=fake) - - monkeypatch.setattr(fa.TesClient, "__init__", init) monkeypatch.setenv("TES_TOKEN", "secret-for-test") - assert fa.main(["--tes", "https://gw.example.org"]) == 0 + assert fa.main(["--tes", "https://gw.example.org"], transport=fake) == 0 assert "Welch's t" in capsys.readouterr().out assert fake.requests[0].get_header("Authorization") == "Bearer secret-for-test" +def test_main_rejects_mismatched_tes_count() -> None: + """``--tes`` must be given once or once per partition.""" + urls = ["--tes", "https://a.org", "--tes", "https://b.org", "--tes", "https://c"] + with pytest.raises(SystemExit): + fa.main(urls, transport=FakeTes()) + + +def test_main_reports_task_errors(capsys: pytest.CaptureFixture[str]) -> None: + """A failed task ends the run with a message and exit code 1.""" + fake = FakeTes(states=["SYSTEM_ERROR"] * 2) + assert ( + fa.main(["--tes", "https://gw.example.org", "--poll", "0"], transport=fake) == 1 + ) + assert "SYSTEM_ERROR" in capsys.readouterr().err + + +def test_request_wraps_http_errors() -> None: + """HTTP and network errors become task errors with a hint.""" + + def transport(request: urllib.request.Request) -> Any: + raise urllib.error.HTTPError(request.full_url, 401, "Unauthorized", {}, None) # type: ignore[arg-type] + + client = fa.TesClient("https://tes.example.org", transport=transport) + with pytest.raises(fa.TaskError, match="401.*TES_TOKEN"): + client.submit({}) + + +def test_wait_counts_request_time() -> None: + """The timeout includes the time requests take, not only sleeps.""" + fake = FakeTes(states=["RUNNING"] * 5) + client = fa.TesClient("https://tes.example.org", transport=fake) + task_id = client.submit({}) + ticks = iter([0.0, 100.0, 200.0]) + with pytest.raises(fa.TaskError, match="still RUNNING"): + client.wait( + task_id, + poll=1, + timeout=150, + sleep=lambda _: None, + clock=lambda: next(ticks), + ) + + def test_quick_start_runs_as_script() -> None: """The README's quick start works from a fresh clone.""" out = subprocess.run( @@ -260,3 +304,14 @@ def test_quick_start_runs_as_script() -> None: text=True, ) assert "Welch's t (treated vs control), expression" in out.stdout + + +def test_request_wraps_network_errors() -> None: + """Network errors become task errors.""" + + def transport(request: urllib.request.Request) -> Any: + raise urllib.error.URLError("no route") + + client = fa.TesClient("https://tes.example.org", transport=transport) + with pytest.raises(fa.TaskError, match="no route"): + client.submit({}) From 91b10ac5896a523a95c88d6206e6aa4799a85709 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 21:47:10 +0100 Subject: [PATCH 6/7] fix: wrap all request errors, check options Turn timeouts, connection errors and non-JSON bodies into task errors, and accept only positive, finite --poll and --timeout values. Co-Authored-By: Claude Opus 5.5 --- .../federated_analytics.py | 27 ++++++++++++++-- tests/test_federated_analytics.py | 32 ++++++++++++++++--- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/demos/federated-analytics/federated_analytics.py b/demos/federated-analytics/federated_analytics.py index 5bd2fe20..7b10e79f 100644 --- a/demos/federated-analytics/federated_analytics.py +++ b/demos/federated-analytics/federated_analytics.py @@ -228,6 +228,8 @@ def _request(self, url: str, body: dict[str, Any] | None = None) -> Any: raise TaskError(f"{url}: HTTP {exc.code} {exc.reason}{hint}") from exc except urllib.error.URLError as exc: raise TaskError(f"{url}: {exc.reason}") from exc + except (OSError, ValueError) as exc: + raise TaskError(f"{url}: {exc}") from exc def submit(self, task: dict[str, Any]) -> str: """Create a task. @@ -342,6 +344,27 @@ def report(result: dict[str, dict[str, dict[str, float]]]) -> str: return "\n".join(lines) +def _positive(value: str) -> float: + """Parse a positive number of seconds. + + Args: + value: Command line value. + + Returns: + The number. + + Raises: + argparse.ArgumentTypeError: If the value is not a positive number. + """ + try: + number = float(value) + except ValueError: + number = 0.0 + if not (number > 0 and math.isfinite(number)): + raise argparse.ArgumentTypeError(f"not a positive number: {value!r}") + return number + + def main(argv: Sequence[str] | None = None, transport: Transport = _http) -> int: """Run the demo from the command line. @@ -367,10 +390,10 @@ def main(argv: Sequence[str] | None = None, transport: Transport = _http) -> int parser.add_argument("--image", default=DEFAULT_IMAGE) parser.add_argument("--json", action="store_true", help="print JSON") parser.add_argument( - "--poll", type=float, default=5.0, help="seconds between status requests" + "--poll", type=_positive, default=5.0, help="seconds between status requests" ) parser.add_argument( - "--timeout", type=float, default=1800.0, help="seconds to wait per task" + "--timeout", type=_positive, default=1800.0, help="seconds to wait per task" ) args = parser.parse_args(argv) diff --git a/tests/test_federated_analytics.py b/tests/test_federated_analytics.py index 46cb47f8..b982a221 100644 --- a/tests/test_federated_analytics.py +++ b/tests/test_federated_analytics.py @@ -252,18 +252,31 @@ def test_main_tes( assert fake.requests[0].get_header("Authorization") == "Bearer secret-for-test" -def test_main_rejects_mismatched_tes_count() -> None: +def test_main_rejects_mismatched_tes_count( + capsys: pytest.CaptureFixture[str], +) -> None: """``--tes`` must be given once or once per partition.""" - urls = ["--tes", "https://a.org", "--tes", "https://b.org", "--tes", "https://c"] - with pytest.raises(SystemExit): + n_parts = len(fa.load_partitions(MANIFEST)) + urls = [arg for i in range(n_parts + 1) for arg in ("--tes", f"https://{i}.org")] + with pytest.raises(SystemExit) as exc: fa.main(urls, transport=FakeTes()) + assert exc.value.code == 2 + assert "give --tes once" in capsys.readouterr().err + + +@pytest.mark.parametrize("value", ["0", "-1", "x", "nan", "inf"]) +def test_main_rejects_non_positive_poll(value: str) -> None: + """``--poll`` and ``--timeout`` must be positive numbers.""" + with pytest.raises(SystemExit): + fa.main(["--tes", "https://gw.org", "--poll", value], transport=FakeTes()) def test_main_reports_task_errors(capsys: pytest.CaptureFixture[str]) -> None: """A failed task ends the run with a message and exit code 1.""" fake = FakeTes(states=["SYSTEM_ERROR"] * 2) assert ( - fa.main(["--tes", "https://gw.example.org", "--poll", "0"], transport=fake) == 1 + fa.main(["--tes", "https://gw.example.org", "--poll", "0.01"], transport=fake) + == 1 ) assert "SYSTEM_ERROR" in capsys.readouterr().err @@ -315,3 +328,14 @@ def transport(request: urllib.request.Request) -> Any: client = fa.TesClient("https://tes.example.org", transport=transport) with pytest.raises(fa.TaskError, match="no route"): client.submit({}) + + +def test_request_wraps_timeouts() -> None: + """Read timeouts become task errors.""" + + def transport(request: urllib.request.Request) -> Any: + raise TimeoutError("read timed out") + + client = fa.TesClient("https://tes.example.org", transport=transport) + with pytest.raises(fa.TaskError, match="timed out"): + client.submit({}) From 055983e8f95e10b7c7abb5921f934df274893d38 Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Fri, 13 Nov 2026 22:02:33 +0100 Subject: [PATCH 7/7] fix: harden TES client and local statistics Send tokens only over HTTPS, refuse redirects, validate TES responses, cancel sent tasks on failure, emit strict JSON, and reject empty partitions and non-finite values with errors that name no data values. Co-Authored-By: Claude Opus 5.5 --- demos/federated-analytics/README.md | 8 +- .../federated_analytics.py | 136 +++++++++++++++--- demos/federated-analytics/local_stats.py | 37 +++-- tests/test_federated_analytics.py | 115 +++++++++++++++ 4 files changed, 269 insertions(+), 27 deletions(-) diff --git a/demos/federated-analytics/README.md b/demos/federated-analytics/README.md index 5b145df3..7cc06b93 100644 --- a/demos/federated-analytics/README.md +++ b/demos/federated-analytics/README.md @@ -72,7 +72,13 @@ python demos/federated-analytics/federated_analytics.py \ | `--timeout` | Seconds to wait for each task, requests included (default: 1800). | If a request or a task fails, the demo prints the error (with a hint for HTTP -401 and 403) and exits with code 1. Tasks it has already sent keep running. +401 and 403) and exits with code 1. It then asks the services to cancel the +tasks it has sent. + +The demo sends `TES_TOKEN` only over HTTPS (plain HTTP only to `localhost`) +and refuses redirects, so that the token never goes to another origin. If a +partition has invalid data, `local_stats.py` names the row number and column +only, never values, so that no data leave the Node through the task logs. The services need: diff --git a/demos/federated-analytics/federated_analytics.py b/demos/federated-analytics/federated_analytics.py index 7b10e79f..85db2500 100644 --- a/demos/federated-analytics/federated_analytics.py +++ b/demos/federated-analytics/federated_analytics.py @@ -23,6 +23,7 @@ import sys import time import urllib.error +import urllib.parse import urllib.request from collections.abc import Callable, Sequence from pathlib import Path @@ -170,6 +171,39 @@ def make_task(part: dict[str, Any], script: str, image: str) -> dict[str, Any]: } +class NoRedirect(urllib.request.HTTPRedirectHandler): + """Refuse redirects, so that tokens never go to another origin.""" + + def redirect_request( + self, + req: urllib.request.Request, + fp: Any, + code: int, + msg: str, + headers: Any, + newurl: str, + ) -> urllib.request.Request | None: + """Refuse to follow a redirect. + + Args: + req: The original request. + fp: The response body. + code: The HTTP status code. + msg: The HTTP reason phrase. + headers: The response headers. + newurl: The target of the redirect. + + Raises: + urllib.error.HTTPError: Always. + """ + raise urllib.error.HTTPError( + req.full_url, code, f"refused redirect to {newurl}", headers, fp + ) + + +_OPENER = urllib.request.build_opener(NoRedirect) + + def _http(request: urllib.request.Request) -> Any: # pragma: no cover """Send a request and decode the JSON response. @@ -179,7 +213,7 @@ def _http(request: urllib.request.Request) -> Any: # pragma: no cover Returns: The decoded response body. """ - with urllib.request.urlopen(request, timeout=60) as response: # noqa: S310 + with _OPENER.open(request, timeout=60) as response: return json.load(response) @@ -195,7 +229,19 @@ class TesClient: def __init__( self, base_url: str, token: str | None = None, transport: Transport = _http ) -> None: - """Initialise the client.""" + """Initialise the client. + + Raises: + ValueError: If a token would go over plain HTTP to a host other + than localhost. + """ + parsed = urllib.parse.urlsplit(base_url) + if ( + token + and parsed.scheme != "https" + and parsed.hostname not in ("localhost", "127.0.0.1", "::1") + ): + raise ValueError(f"refusing to send a token to {base_url}: use HTTPS") self.url = base_url.rstrip("/") + TES_PATH self.token = token self.transport = transport @@ -239,8 +285,25 @@ def submit(self, task: dict[str, Any]) -> str: Returns: The ID of the task. + + Raises: + TaskError: If the response has no task ID. + """ + response = self._request(self.url, task) + if not isinstance(response, dict) or "id" not in response: + raise TaskError(f"{self.url}: malformed response, no task ID") + return str(response["id"]) + + def cancel(self, task_id: str) -> None: + """Cancel a task, as far as possible; errors are ignored. + + Args: + task_id: ID of the task. """ - return str(self._request(self.url, task)["id"]) + try: + self._request(f"{self.url}/{task_id}:cancel", {}) + except TaskError: + pass def wait( self, @@ -269,6 +332,8 @@ def wait( deadline = clock() + timeout while True: task = self._request(f"{self.url}/{task_id}?view=FULL") + if not isinstance(task, dict): + raise TaskError(f"task {task_id}: malformed response") state = task.get("state", "UNKNOWN") if state in TERMINAL_STATES: break @@ -302,24 +367,56 @@ def run_tes( Returns: The aggregates of each partition. + + Raises: + TaskError: If a task can't be sent or fails; the tasks sent so far + are then cancelled. """ script = SCRIPT.read_text() - submitted = [] - for idx, part in enumerate(partitions): - client = clients[idx % len(clients)] - task_id = client.submit(make_task(part, script, image)) - print(f"Submitted {part['node']} to {client.url}: {task_id}", file=sys.stderr) - submitted.append((client, task_id)) + submitted: list[tuple[TesClient, str]] = [] partials = [] - for client, task_id in submitted: - stdout = client.wait(task_id, **wait_kwargs) - try: - partials.append(json.loads(stdout.strip().splitlines()[-1])) - except (IndexError, json.JSONDecodeError) as exc: - raise TaskError(f"task {task_id} printed no JSON: {stdout!r}") from exc + try: + for idx, part in enumerate(partitions): + client = clients[idx % len(clients)] + task_id = client.submit(make_task(part, script, image)) + print( + f"Submitted {part['node']} to {client.url}: {task_id}", + file=sys.stderr, + ) + submitted.append((client, task_id)) + for client, task_id in submitted: + stdout = client.wait(task_id, **wait_kwargs) + try: + partials.append(json.loads(stdout.strip().splitlines()[-1])) + except (IndexError, json.JSONDecodeError) as exc: + raise TaskError(f"task {task_id} printed no JSON") from exc + except TaskError: + for client, task_id in submitted: + client.cancel(task_id) + raise return partials +def to_json(result: dict[str, dict[str, dict[str, float]]]) -> str: + """Serialise the combined statistics as strict JSON. + + Args: + result: Output of ``combine``. + + Returns: + JSON, with ``null`` for undefined values such as the standard + deviation of a single value. + """ + clean = { + group: { + col: {k: (None if math.isnan(v) else v) for k, v in agg.items()} + for col, agg in columns.items() + } + for group, columns in result.items() + } + return json.dumps(clean, indent=2, sort_keys=True, allow_nan=False) + + def report(result: dict[str, dict[str, dict[str, float]]]) -> str: """Format the combined statistics as a table. @@ -407,7 +504,12 @@ def main(argv: Sequence[str] | None = None, transport: Transport = _http) -> int "(one per partition)" ) token = os.environ.get("TES_TOKEN") or None - clients = [TesClient(url, token=token, transport=transport) for url in args.tes] + try: + clients = [ + TesClient(url, token=token, transport=transport) for url in args.tes + ] + except ValueError as exc: + parser.error(str(exc)) try: partials = run_tes( partitions, @@ -420,7 +522,7 @@ def main(argv: Sequence[str] | None = None, transport: Transport = _http) -> int print(f"Error: {exc}", file=sys.stderr) return 1 result = combine(partials) - print(json.dumps(result, indent=2, sort_keys=True) if args.json else report(result)) + print(to_json(result) if args.json else report(result)) return 0 diff --git a/demos/federated-analytics/local_stats.py b/demos/federated-analytics/local_stats.py index 9fcc921f..1292e6e0 100644 --- a/demos/federated-analytics/local_stats.py +++ b/demos/federated-analytics/local_stats.py @@ -13,6 +13,7 @@ import csv import json +import math import sys from collections.abc import Iterable, Sequence from pathlib import Path @@ -34,21 +35,35 @@ def summarise(rows: Iterable[dict[str, str]]) -> Stats: Aggregates as ``{condition: {column: {"n", "sum", "sumsq"}}}``. Raises: - ValueError: If a row lacks a column or has a non-numeric value. + ValueError: If there are no rows, or a row lacks a column or has a + value that is not a finite number. The message names the row + number and column only, never values, so that no data leave the + Node through error logs. """ stats: Stats = {} - for row in rows: - try: - group = row[GROUP_COLUMN] - values = {col: float(row[col]) for col in VALUE_COLUMNS} - except (KeyError, TypeError, ValueError) as exc: - raise ValueError(f"invalid row {row!r}: {exc}") from exc + for number, row in enumerate(rows, start=1): + group = row.get(GROUP_COLUMN) + if group is None: + raise ValueError(f"row {number}: missing column {GROUP_COLUMN!r}") + values = {} + for col in VALUE_COLUMNS: + try: + value = float(row[col]) + except (KeyError, TypeError, ValueError): + value = math.nan + if not math.isfinite(value): + raise ValueError( + f"row {number}: column {col!r} is not a finite number" + ) from None + values[col] = value per_group = stats.setdefault(group, {}) for col, value in values.items(): agg = per_group.setdefault(col, {"n": 0.0, "sum": 0.0, "sumsq": 0.0}) agg["n"] += 1 agg["sum"] += value agg["sumsq"] += value * value + if not stats: + raise ValueError("partition has no rows") return stats @@ -66,8 +81,12 @@ def main(argv: Sequence[str] | None = None) -> int: if len(args) != 1: print("usage: local_stats.py ", file=sys.stderr) return 2 - with Path(args[0]).open(newline="") as handle: - stats = summarise(csv.DictReader(handle)) + try: + with Path(args[0]).open(newline="") as handle: + stats = summarise(csv.DictReader(handle)) + except ValueError as exc: + print(f"Error: {exc}", file=sys.stderr) + return 1 print(json.dumps(stats, sort_keys=True)) return 0 diff --git a/tests/test_federated_analytics.py b/tests/test_federated_analytics.py index b982a221..55e46f2a 100644 --- a/tests/test_federated_analytics.py +++ b/tests/test_federated_analytics.py @@ -45,6 +45,8 @@ def __init__( def __call__(self, request: urllib.request.Request) -> Any: """Answer a request like a TES service.""" self.requests.append(request) + if request.full_url.endswith(":cancel"): + return {} if request.data is not None: task = json.loads(cast(bytes, request.data)) task_id = f"task-{len(self.tasks) + 1}" @@ -84,6 +86,7 @@ def test_summarise_counts_sums_and_squares() -> None: [ {"condition": "a", "od600": "x", "expression": "1"}, {"condition": "a", "od600": "1"}, + {"od600": "1", "expression": "1"}, ], ) def test_summarise_rejects_invalid_rows(row: dict[str, str]) -> None: @@ -339,3 +342,115 @@ def transport(request: urllib.request.Request) -> Any: client = fa.TesClient("https://tes.example.org", transport=transport) with pytest.raises(fa.TaskError, match="timed out"): client.submit({}) + + +def test_summarise_errors_name_no_values() -> None: + """Errors give the row number and column, never the values of the row.""" + rows = [ + {"condition": "a", "od600": "1", "expression": "2"}, + {"condition": "secret-group", "od600": "secret-value", "expression": "2"}, + ] + with pytest.raises(ValueError) as exc: + local_stats.summarise(rows) + assert "row 2" in str(exc.value) and "od600" in str(exc.value) + assert "secret" not in str(exc.value) + assert exc.value.__cause__ is None + + +@pytest.mark.parametrize("value", ["nan", "inf", "-inf"]) +def test_summarise_rejects_non_finite_values(value: str) -> None: + """Non-finite values are errors.""" + with pytest.raises(ValueError, match="finite"): + local_stats.summarise([{"condition": "a", "od600": value, "expression": "1"}]) + + +def test_summarise_rejects_empty_partition() -> None: + """A partition without rows is an error.""" + with pytest.raises(ValueError, match="no rows"): + local_stats.summarise([]) + + +def test_local_stats_main_reports_invalid_data( + tmp_path: Path, capsys: pytest.CaptureFixture[str] +) -> None: + """Invalid data end with a short message and exit code 1, no traceback.""" + path = tmp_path / "bad.csv" + path.write_text("condition,od600,expression\nsecret,x,1\n") + assert local_stats.main([str(path)]) == 1 + err = capsys.readouterr().err + assert "row 1" in err and "secret" not in err + + +def test_json_output_has_no_nan() -> None: + """Undefined values are null in JSON output.""" + result = fa.combine([{"a": {"x": {"n": 1, "sum": 2, "sumsq": 4}}}]) + assert json.loads(fa.to_json(result))["a"]["x"]["sd"] is None + + +@pytest.mark.parametrize( + "response", [{"no": "id"}, ["not", "an", "object"]], ids=["no-id", "list"] +) +def test_submit_rejects_malformed_responses(response: Any) -> None: + """A response without a task ID is a task error.""" + client = fa.TesClient("https://tes.example.org", transport=lambda _: response) + with pytest.raises(fa.TaskError, match="malformed"): + client.submit({}) + + +def test_wait_rejects_malformed_responses() -> None: + """A status response that is not an object is a task error.""" + + def transport(request: urllib.request.Request) -> Any: + return {"id": "x"} if request.data else ["oops"] + + client = fa.TesClient("https://tes.example.org", transport=transport) + with pytest.raises(fa.TaskError, match="malformed"): + client.wait(client.submit({})) + + +def test_token_needs_https() -> None: + """A token is never sent over plain HTTP, except to localhost.""" + with pytest.raises(ValueError, match="HTTPS"): + fa.TesClient("http://tes.example.org", token="t") + fa.TesClient("http://localhost:8000", token="t") + fa.TesClient("http://127.0.0.1:8000", token="t") + fa.TesClient("http://tes.example.org") + + +def test_main_refuses_token_over_http( + monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[str] +) -> None: + """The command line refuses to send a token over plain HTTP.""" + monkeypatch.setenv("TES_TOKEN", "t") + with pytest.raises(SystemExit): + fa.main(["--tes", "http://gw.example.org"], transport=FakeTes()) + assert "HTTPS" in capsys.readouterr().err + + +def test_redirects_are_refused() -> None: + """Redirects are refused, so that tokens never go to another origin.""" + handler = fa.NoRedirect() + request = urllib.request.Request("https://tes.example.org/x") + with pytest.raises(urllib.error.HTTPError, match="redirect"): + handler.redirect_request( + request, None, 302, "Found", {}, "https://evil.example.org/" + ) + + +def test_run_tes_cancels_tasks_on_failure() -> None: + """When a task fails, the client cancels the tasks it has sent.""" + fake = FakeTes(states=["SYSTEM_ERROR"]) + client = fa.TesClient("https://tes.example.org", transport=fake) + with pytest.raises(fa.TaskError): + fa.run_tes(fa.load_partitions(MANIFEST), [client]) + cancelled = [r.full_url for r in fake.requests if r.full_url.endswith(":cancel")] + assert cancelled == [f"{client.url}/task-{i}:cancel" for i in (1, 2)] + + +def test_cancel_ignores_errors() -> None: + """Cancelling is best effort: errors are ignored.""" + + def transport(request: urllib.request.Request) -> Any: + raise urllib.error.URLError("down") + + fa.TesClient("https://tes.example.org", transport=transport).cancel("x")