From eba78bfe42bc53998c6bf16a572ce2738c1996a8 Mon Sep 17 00:00:00 2001 From: Chris Feijoo Date: Thu, 3 Sep 2026 02:19:39 +0200 Subject: [PATCH 1/5] Share the optimizer's Optuna study logic in a pure Python core library --- .github/workflows/deploy.yml | 2 +- apps/petrinaut-opt/AGENTS.md | 2 +- apps/petrinaut-opt/README.md | 6 +- apps/petrinaut-opt/docker/Dockerfile | 8 +- apps/petrinaut-opt/package.json | 1 + apps/petrinaut-opt/pyproject.toml | 4 +- apps/petrinaut-opt/src/petrinaut_optimizer.py | 131 +-- .../tests/test_petrinaut_optimizer.py | 67 +- apps/petrinaut-opt/turbo.json | 1 + apps/petrinaut-opt/uv.lock | 22 +- .../architecture.config.ts | 7 + .../@local/petrinaut-optimizer-core/AGENTS.md | 14 + .../@local/petrinaut-optimizer-core/CLAUDE.md | 1 + .../LICENSE-APACHE.md | 189 +++++ .../petrinaut-optimizer-core/LICENSE-MIT.md | 21 + .../petrinaut-optimizer-core/LICENSE.md | 3 + .../@local/petrinaut-optimizer-core/README.md | 31 + .../petrinaut-optimizer-core/package.json | 19 + .../petrinaut-optimizer-core/pyproject.toml | 53 ++ .../runtime-lock.json | 9 + .../src/petrinaut_optimizer_core/__init__.py | 62 ++ .../src/petrinaut_optimizer_core/ask_tell.py | 75 ++ .../petrinaut_optimizer_core/description.py | 204 +++++ .../src/petrinaut_optimizer_core/py.typed | 0 .../petrinaut_optimizer_core/pyodide_entry.py | 56 ++ .../src/petrinaut_optimizer_core/study.py | 102 +++ .../tests/__init__.py | 0 .../tests/conftest.py | 41 + .../tests/test_ask_tell.py | 201 +++++ .../tests/test_description.py | 195 +++++ .../tests/test_pyodide_entry.py | 116 +++ .../tests/test_runtime_lock.py | 25 + .../tests/test_study.py | 116 +++ libs/@local/petrinaut-optimizer-core/uv.lock | 786 ++++++++++++++++++ yarn.lock | 7 + 35 files changed, 2385 insertions(+), 192 deletions(-) create mode 100644 libs/@local/petrinaut-optimizer-core/AGENTS.md create mode 120000 libs/@local/petrinaut-optimizer-core/CLAUDE.md create mode 100644 libs/@local/petrinaut-optimizer-core/LICENSE-APACHE.md create mode 100644 libs/@local/petrinaut-optimizer-core/LICENSE-MIT.md create mode 100644 libs/@local/petrinaut-optimizer-core/LICENSE.md create mode 100644 libs/@local/petrinaut-optimizer-core/README.md create mode 100644 libs/@local/petrinaut-optimizer-core/package.json create mode 100644 libs/@local/petrinaut-optimizer-core/pyproject.toml create mode 100644 libs/@local/petrinaut-optimizer-core/runtime-lock.json create mode 100644 libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py create mode 100644 libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py create mode 100644 libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/description.py create mode 100644 libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/py.typed create mode 100644 libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py create mode 100644 libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/__init__.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/conftest.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/test_description.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/test_runtime_lock.py create mode 100644 libs/@local/petrinaut-optimizer-core/tests/test_study.py create mode 100644 libs/@local/petrinaut-optimizer-core/uv.lock diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6fbd1cedfe0..a15ce8dbdd9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -137,7 +137,7 @@ jobs: push: ["ecr", "ghcr"], dockerfile: "apps/petrinaut-opt/docker/Dockerfile", context: ".", - paths: ["apps/petrinaut-opt", "libs/@hashintel/petrinaut-cli", "libs/@hashintel/petrinaut-core", "libs/@local/petrinaut-python"], + paths: ["apps/petrinaut-opt", "libs/@hashintel/petrinaut-cli", "libs/@hashintel/petrinaut-core", "libs/@local/petrinaut-optimizer-core", "libs/@local/petrinaut-python"], ecs: [{ service: "petrinaut-opt", cluster: "h-stage-euc1-app", service_name: "h-stage-euc1-app-petrinaut-opt" }] }, { diff --git a/apps/petrinaut-opt/AGENTS.md b/apps/petrinaut-opt/AGENTS.md index 33ae8a5edfd..c9bac95819d 100644 --- a/apps/petrinaut-opt/AGENTS.md +++ b/apps/petrinaut-opt/AGENTS.md @@ -2,7 +2,7 @@ Python service running Optuna optimization studies over Petrinaut simulations. -- Depends on `@local/petrinaut-python` only; nothing in the service references `petrinaut-cli` directly. +- Depends on `@local/petrinaut-python` and `@local/petrinaut-optimizer-core`; nothing in the service references `petrinaut-cli` directly. Study construction, suggestion and the trial cap live in the core, shared with the in-browser optimizer; the service adds the HTTP API, the worker thread and telemetry. - Experiment and optimization code stays pure: the host owns worker counts, threads, and other OS concerns. - Run tests with `uv run pytest` from this directory. diff --git a/apps/petrinaut-opt/README.md b/apps/petrinaut-opt/README.md index 4cfe75ef467..73f3df6950b 100644 --- a/apps/petrinaut-opt/README.md +++ b/apps/petrinaut-opt/README.md @@ -119,7 +119,11 @@ flat parameters that are not fixed, each one a descriptor such as: ``` `float`, `int`, and `boolean` map onto `suggest_float`, `suggest_int`, and -`suggest_categorical`, and the study seed seeds the sampler. The bindings' +`suggest_categorical`, and the study seed seeds the sampler. That mapping, the +description's cross-field rules, and the seeded study construction come from +[`@local/petrinaut-optimizer-core`](../../libs/@local/petrinaut-optimizer-core/README.md), +which the in-browser optimizer runs under Pyodide, so a study proposes the same +values in both places. The bindings' [usage manual](../../libs/@local/petrinaut-python/README.md) documents the full response. diff --git a/apps/petrinaut-opt/docker/Dockerfile b/apps/petrinaut-opt/docker/Dockerfile index f8de91c4c6d..cff15799253 100644 --- a/apps/petrinaut-opt/docker/Dockerfile +++ b/apps/petrinaut-opt/docker/Dockerfile @@ -89,10 +89,12 @@ WORKDIR /repo/apps/petrinaut-opt COPY --from=uv /uv /usr/local/bin/uv # Installs dependencies before the service's own source, so editing `src/` -# reuses this layer. Editing the bindings does rebuild it, since they are part -# of the environment. `--no-editable` builds them into the virtualenv, so the -# runner needs the virtualenv alone and no source tree at a matching path. +# reuses this layer. Editing the bindings or the optimizer core does rebuild +# it, since they are part of the environment. `--no-editable` builds them into +# the virtualenv, so the runner needs the virtualenv alone and no source tree +# at a matching path. COPY apps/petrinaut-opt/pyproject.toml apps/petrinaut-opt/uv.lock ./ +COPY libs/@local/petrinaut-optimizer-core /repo/libs/@local/petrinaut-optimizer-core COPY libs/@local/petrinaut-python /repo/libs/@local/petrinaut-python RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --frozen --no-dev --no-install-project --no-editable diff --git a/apps/petrinaut-opt/package.json b/apps/petrinaut-opt/package.json index ebd3f7a7ec2..cb3e0cbb80c 100644 --- a/apps/petrinaut-opt/package.json +++ b/apps/petrinaut-opt/package.json @@ -15,6 +15,7 @@ "test:unit": "uv run pytest && yarn codegen && git diff --exit-code -- openapi/openapi.json" }, "dependencies": { + "@local/petrinaut-optimizer-core": "workspace:*", "@local/petrinaut-python": "workspace:*" } } diff --git a/apps/petrinaut-opt/pyproject.toml b/apps/petrinaut-opt/pyproject.toml index be4cb73fc4b..19f65c5c018 100644 --- a/apps/petrinaut-opt/pyproject.toml +++ b/apps/petrinaut-opt/pyproject.toml @@ -10,7 +10,8 @@ dependencies = [ "opentelemetry-exporter-otlp-proto-http>=1.44.0", "opentelemetry-instrumentation-fastapi>=0.65b0", "opentelemetry-sdk>=1.44.0", - "optuna>=3.6", + "optuna>=4.9,<5", + "petrinaut-optimizer-core", "petrinaut-python", "pydantic>=2.13.4", "python-dotenv>=1.0.0", @@ -18,6 +19,7 @@ dependencies = [ ] [tool.uv.sources] +petrinaut-optimizer-core = { path = "../../libs/@local/petrinaut-optimizer-core", editable = true } petrinaut-python = { path = "../../libs/@local/petrinaut-python", editable = true } [dependency-groups] diff --git a/apps/petrinaut-opt/src/petrinaut_optimizer.py b/apps/petrinaut-opt/src/petrinaut_optimizer.py index 47f97d14741..77948122ea2 100644 --- a/apps/petrinaut-opt/src/petrinaut_optimizer.py +++ b/apps/petrinaut-opt/src/petrinaut_optimizer.py @@ -11,18 +11,15 @@ import threading from collections.abc import Callable, Mapping from contextlib import suppress -from datetime import datetime, timezone -from typing import Any, Literal, TypeAlias, cast +from typing import Any, cast import optuna +import petrinaut_optimizer_core as optimizer_core from opentelemetry import context as otel_context from opentelemetry import trace from opentelemetry.trace import Span, Status, StatusCode from petrinaut import ( - OptimizationBooleanParameter, OptimizationDescribeResult, - OptimizationFloatParameter, - OptimizationIntParameter, OptimizationSession, PetrinautRunError, ) @@ -31,28 +28,17 @@ log = logging.getLogger("pn_optimize") tracer = trace.get_tracer("pn_optimize") -optuna.logging.set_verbosity(optuna.logging.WARNING) -SAMPLERS = { - "tpe": optuna.samplers.TPESampler, - "random": optuna.samplers.RandomSampler, -} -DEFAULT_STUDY_NAME = "opt_study" -# The service-side mirror of the optimization manifest's trial cap; it also +# The optimization manifest's trial cap, mirrored by the shared core; it also # bounds every run's in-memory event log to one frame per trial plus a # handful of control frames, even against a study reporting a huge trial count. -MAX_STUDY_TRIALS = 1000 +MAX_STUDY_TRIALS = optimizer_core.MAX_STUDY_TRIALS MAX_STUDY_SECONDS_ENVIRONMENT_VARIABLE = "HASH_PETRINAUT_OPT_MAX_STUDY_SECONDS" DEFAULT_MAX_STUDY_SECONDS = 900.0 _DISCONNECT_POLL_SECONDS = 0.1 _WORKER_SHUTDOWN_TIMEOUT_SECONDS = 12 _SENTINEL = object() -Scalar: TypeAlias = int | float | bool -ParameterDescriptor: TypeAlias = ( - OptimizationFloatParameter | OptimizationIntParameter | OptimizationBooleanParameter -) - def max_study_seconds_from_environment() -> float: """Read the detached-study wall-clock ceiling in seconds. @@ -73,67 +59,6 @@ def max_study_seconds_from_environment() -> float: return value -def _parse_description( - description: OptimizationDescribeResult, -) -> tuple[ - Literal["maximize", "minimize"], - str, - int, - int, - tuple[ParameterDescriptor, ...], -]: - """Check the semantic rules the protocol schema cannot express. - - The shape is already proven: the bindings validate every describe result - against the CLI's published schema before this sees it. What remains are - cross-field rules — bound ordering, log-scale domains, duplicates — and - this service's own study limits. - """ - sampler = description.study.sampler.value - if sampler not in SAMPLERS: - raise ValueError(f"unsupported Optuna sampler: {sampler!r}") - n_trials = description.study.trials - if n_trials > MAX_STUDY_TRIALS: - raise ValueError( - f"optimization.describe study.trials must not exceed {MAX_STUDY_TRIALS}" - ) - seed = description.study.seed - if seed < 0: - raise ValueError( - "optimization.describe study.seed must be a non-negative integer" - ) - - identifiers: set[str] = set() - for parameter in description.parameters: - identifier = parameter.identifier - if identifier in identifiers: - raise ValueError(f'duplicate optimization parameter "{identifier}"') - identifiers.add(identifier) - - if isinstance(parameter, OptimizationBooleanParameter): - continue - if not math.isfinite(parameter.minimum) or not math.isfinite(parameter.maximum): - raise ValueError(f"{identifier} bounds must be finite numbers") - if parameter.minimum >= parameter.maximum: - raise ValueError(f"{identifier}.maximum must exceed minimum") - if parameter.scale.value == "log" and parameter.minimum <= 0: - raise ValueError(f"{identifier}.minimum must be positive for log scale") - if ( - isinstance(parameter, OptimizationIntParameter) - and parameter.scale.value == "log" - and parameter.step != 1 - ): - raise ValueError(f"{identifier}.step must be 1 for log scale") - - return ( - description.direction.value, - sampler, - n_trials, - seed, - tuple(description.parameters), - ) - - class PetrinautOptimizer: """Optimize the flat parameter descriptors the bindings report.""" @@ -152,51 +77,19 @@ def __init__( if isinstance(raw, OptimizationDescribeResult) else OptimizationDescribeResult.model_validate(raw) ) - direction, sampler_name, n_trials, seed, parameters = _parse_description( - described - ) - - self.parameters = parameters - self.study_name = f"{DEFAULT_STUDY_NAME}_{datetime.now(tz=timezone.utc).strftime('%Y-%m-%dT%H:%M:%S')}" - sampler_options.setdefault("seed", seed) - self.sampler = SAMPLERS[sampler_name](**sampler_options) - self.direction = direction - self.n_trials = n_trials - self.study = optuna.create_study( - study_name=self.study_name, - storage=None, - load_if_exists=False, - direction=self.direction, - sampler=self.sampler, + self.description = optimizer_core.parse_description( + described.model_dump(mode="json") ) + self.parameters = self.description.parameters + self.direction = self.description.direction + self.n_trials = self.description.trials + self.study = optimizer_core.create_study(self.description, **sampler_options) self.pn_model = pn_model self.lock = threading.Lock() - def suggest(self, trial: optuna.Trial) -> dict[str, Scalar]: + def suggest(self, trial: optuna.Trial) -> dict[str, optimizer_core.Scalar]: """Ask Optuna for each non-fixed scenario parameter the study describes.""" - values: dict[str, Scalar] = {} - for parameter in self.parameters: - identifier = parameter.identifier - if isinstance(parameter, OptimizationFloatParameter): - values[identifier] = trial.suggest_float( - identifier, - parameter.minimum, - parameter.maximum, - log=parameter.scale.value == "log", - ) - elif isinstance(parameter, OptimizationIntParameter): - values[identifier] = trial.suggest_int( - identifier, - int(parameter.minimum), - int(parameter.maximum), - step=int(parameter.step), - log=parameter.scale.value == "log", - ) - else: - values[identifier] = trial.suggest_categorical( - identifier, [False, True] - ) - return values + return optimizer_core.suggest(trial, self.parameters) def objective(self, trial: optuna.Trial) -> float: """Propose one flat parameter set and ask Petrinaut to evaluate it.""" diff --git a/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py b/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py index d05b98bf206..554039b2056 100644 --- a/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py +++ b/apps/petrinaut-opt/tests/test_petrinaut_optimizer.py @@ -64,30 +64,6 @@ def objective(self, parameter_values: dict[str, Any]) -> float: raise PetrinautClientError("session closed") -def test_maps_float_integer_step_and_boolean_descriptors_to_optuna( - optimization_description: dict, -) -> None: - model = FakeModel(optimization_description) - optimizer = PetrinautOptimizer(model) # type: ignore[arg-type] - trial = optuna.trial.FixedTrial({"rate": 0.5, "count": 6, "enabled": False}) - - assert optimizer.suggest(trial) == { - "rate": 0.5, - "count": 6, - "enabled": False, - } - distributions = trial.distributions - assert isinstance(distributions["rate"], optuna.distributions.FloatDistribution) - assert distributions["rate"].log is True - assert isinstance(distributions["count"], optuna.distributions.IntDistribution) - assert distributions["count"].step == 2 - assert distributions["count"].log is False - assert isinstance( - distributions["enabled"], optuna.distributions.CategoricalDistribution - ) - assert distributions["enabled"].choices == (False, True) - - def test_objective_sends_only_flat_suggested_values( optimization_description: dict, ) -> None: @@ -134,26 +110,12 @@ def test_objective_propagates_transport_errors( optimizer.objective(trial) -def test_uses_the_session_supplied_seed_for_deterministic_sampling( - optimization_description: dict, -) -> None: - first = PetrinautOptimizer( # type: ignore[arg-type] - FakeModel(optimization_description) - ) - second = PetrinautOptimizer( # type: ignore[arg-type] - FakeModel(optimization_description) - ) - - assert first.suggest(first.study.ask()) == second.suggest(second.study.ask()) - - @pytest.mark.parametrize( "change", [ + # A shape the protocol schema rejects before the shared core sees it. {"direction": "up"}, - {"study": {"trials": 0, "sampler": "random", "seed": 42}}, - # The service-side trial cap bounds every run's event log even when - # the reported study is huge. + # A rule the shared core enforces; its own suite covers the full matrix. { "study": { "trials": petrinaut_optimizer.MAX_STUDY_TRIALS + 1, @@ -161,31 +123,6 @@ def test_uses_the_session_supplied_seed_for_deterministic_sampling( "seed": 42, } }, - {"study": {"trials": 1, "sampler": "unknown", "seed": 42}}, - {"study": {"trials": 1, "sampler": "random", "seed": -1}}, - { - "parameters": [ - { - "identifier": "rate", - "type": "float", - "minimum": 0, - "maximum": 1, - "scale": "log", - } - ] - }, - { - "parameters": [ - { - "identifier": "count", - "type": "int", - "minimum": 1, - "maximum": 10, - "step": 2, - "scale": "log", - } - ] - }, ], ) def test_rejects_invalid_session_descriptions( diff --git a/apps/petrinaut-opt/turbo.json b/apps/petrinaut-opt/turbo.json index 0af8561529c..5cef20eff0a 100644 --- a/apps/petrinaut-opt/turbo.json +++ b/apps/petrinaut-opt/turbo.json @@ -7,6 +7,7 @@ "uv.lock", "scripts/generate_openapi.py", "src/**/*.py", + "../../libs/@local/petrinaut-optimizer-core/src/**/*.py", "../../libs/@local/petrinaut-python/src/**/*.py" ], "outputs": ["openapi/openapi.json"], diff --git a/apps/petrinaut-opt/uv.lock b/apps/petrinaut-opt/uv.lock index 886d3033484..e0f898f09e6 100644 --- a/apps/petrinaut-opt/uv.lock +++ b/apps/petrinaut-opt/uv.lock @@ -996,6 +996,7 @@ dependencies = [ { name = "opentelemetry-instrumentation-fastapi" }, { name = "opentelemetry-sdk" }, { name = "optuna" }, + { name = "petrinaut-optimizer-core" }, { name = "petrinaut-python" }, { name = "pydantic" }, { name = "python-dotenv" }, @@ -1017,7 +1018,8 @@ requires-dist = [ { name = "opentelemetry-exporter-otlp-proto-http", specifier = ">=1.44.0" }, { name = "opentelemetry-instrumentation-fastapi", specifier = ">=0.65b0" }, { name = "opentelemetry-sdk", specifier = ">=1.44.0" }, - { name = "optuna", specifier = ">=3.6" }, + { name = "optuna", specifier = ">=4.9,<5" }, + { name = "petrinaut-optimizer-core", editable = "../../libs/@local/petrinaut-optimizer-core" }, { name = "petrinaut-python", editable = "../../libs/@local/petrinaut-python" }, { name = "pydantic", specifier = ">=2.13.4" }, { name = "python-dotenv", specifier = ">=1.0.0" }, @@ -1032,6 +1034,24 @@ dev = [ { name = "ruff", specifier = ">=0.16.4" }, ] +[[package]] +name = "petrinaut-optimizer-core" +version = "0.1.0" +source = { editable = "../../libs/@local/petrinaut-optimizer-core" } +dependencies = [ + { name = "optuna" }, +] + +[package.metadata] +requires-dist = [{ name = "optuna", specifier = ">=4.9,<5" }] + +[package.metadata.requires-dev] +dev = [ + { name = "basedpyright", specifier = ">=1.39.10" }, + { name = "pytest", specifier = ">=8.3" }, + { name = "ruff", specifier = ">=0.16.4" }, +] + [[package]] name = "petrinaut-python" version = "0.1.0" diff --git a/libs/@local/petrinaut-arch-docs/architecture.config.ts b/libs/@local/petrinaut-arch-docs/architecture.config.ts index 2f9dbc4baf5..aed734e7c60 100644 --- a/libs/@local/petrinaut-arch-docs/architecture.config.ts +++ b/libs/@local/petrinaut-arch-docs/architecture.config.ts @@ -63,6 +63,13 @@ export const config: ArchitectureConfig = { "Python bindings for the CLI's JSON-lines protocol: sessions, run requests, optimization studies. POSIX-only; pydantic validates protocol responses.", language: "python", }, + { + name: "@local/petrinaut-optimizer-core", + path: "libs/@local/petrinaut-optimizer-core", + description: + "Optuna study construction, suggestion and ask/tell loop shared by the optimizer service and the browser worker. Pure Python; runs under CPython and Pyodide.", + language: "python", + }, { name: "@apps/petrinaut-website", path: "apps/petrinaut-website", diff --git a/libs/@local/petrinaut-optimizer-core/AGENTS.md b/libs/@local/petrinaut-optimizer-core/AGENTS.md new file mode 100644 index 00000000000..0f2dd3dd453 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/AGENTS.md @@ -0,0 +1,14 @@ +# Petrinaut optimizer core + +Pure-Python Optuna study logic shared by the optimizer service and the browser worker. + +- Every module here runs under Pyodide as well as CPython: no threads, no asyncio loop ownership, no subprocesses, no file or network access, no pydantic, no OpenTelemetry, and no `pyodide` import (JavaScript values are unwrapped by duck-typing `to_py`). +- Keep the syntax compatible with Python 3.10; the service targets it. +- Run tests with `uv run pytest` from this directory; `uv run basedpyright` checks `src` in strict mode. +- When bumping Optuna, update `runtime-lock.json` too; the lock test fails otherwise. + +Shipping conventions for the Petrinaut packages are in `libs/@hashintel/petrinaut/AGENTS.md`. + +## Architecture docs + +Architecture is declared next to the code it describes, via `@layerRoot` / `@role` in the package docstring of `src/petrinaut_optimizer_core/__init__.py`. Verify with `yarn workspace @local/petrinaut-arch-docs lint:arch-docs`. diff --git a/libs/@local/petrinaut-optimizer-core/CLAUDE.md b/libs/@local/petrinaut-optimizer-core/CLAUDE.md new file mode 120000 index 00000000000..55bf822df99 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/CLAUDE.md @@ -0,0 +1 @@ +./AGENTS.md \ No newline at end of file diff --git a/libs/@local/petrinaut-optimizer-core/LICENSE-APACHE.md b/libs/@local/petrinaut-optimizer-core/LICENSE-APACHE.md new file mode 100644 index 00000000000..4b43328a923 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/LICENSE-APACHE.md @@ -0,0 +1,189 @@ +# Apache License + +_Version 2.0, January 2004_ +_<>_ + +### Terms and Conditions for use, reproduction, and distribution + +#### 1. Definitions + +“License” shall mean the terms and conditions for use, reproduction, and +distribution as defined by Sections 1 through 9 of this document. + +“Licensor” shall mean the copyright owner or entity authorized by the copyright +owner that is granting the License. + +“Legal Entity” shall mean the union of the acting entity and all other entities +that control, are controlled by, or are under common control with that entity. +For the purposes of this definition, “control” means **(i)** the power, direct or +indirect, to cause the direction or management of such entity, whether by +contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the +outstanding shares, or **(iii)** beneficial ownership of such entity. + +“You” (or “Your”) shall mean an individual or Legal Entity exercising +permissions granted by this License. + +“Source” form shall mean the preferred form for making modifications, including +but not limited to software source code, documentation source, and configuration +files. + +“Object” form shall mean any form resulting from mechanical transformation or +translation of a Source form, including but not limited to compiled object code, +generated documentation, and conversions to other media types. + +“Work” shall mean the work of authorship, whether in Source or Object form, made +available under the License, as indicated by a copyright notice that is included +in or attached to the work (an example is provided in the Appendix below). + +“Derivative Works” shall mean any work, whether in Source or Object form, that +is based on (or derived from) the Work and for which the editorial revisions, +annotations, elaborations, or other modifications represent, as a whole, an +original work of authorship. For the purposes of this License, Derivative Works +shall not include works that remain separable from, or merely link (or bind by +name) to the interfaces of, the Work and Derivative Works thereof. + +“Contribution” shall mean any work of authorship, including the original version +of the Work and any modifications or additions to that Work or Derivative Works +thereof, that is intentionally submitted to Licensor for inclusion in the Work +by the copyright owner or by an individual or Legal Entity authorized to submit +on behalf of the copyright owner. For the purposes of this definition, +“submitted” means any form of electronic, verbal, or written communication sent +to the Licensor or its representatives, including but not limited to +communication on electronic mailing lists, source code control systems, and +issue tracking systems that are managed by, or on behalf of, the Licensor for +the purpose of discussing and improving the Work, but excluding communication +that is conspicuously marked or otherwise designated in writing by the copyright +owner as “Not a Contribution.” + +“Contributor” shall mean Licensor and any individual or Legal Entity on behalf +of whom a Contribution has been received by Licensor and subsequently +incorporated within the Work. + +#### 2. Grant of Copyright License + +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable copyright license to reproduce, prepare Derivative Works of, +publicly display, publicly perform, sublicense, and distribute the Work and such +Derivative Works in Source or Object form. + +#### 3. Grant of Patent License + +Subject to the terms and conditions of this License, each Contributor hereby +grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, +irrevocable (except as stated in this section) patent license to make, have +made, use, offer to sell, sell, import, and otherwise transfer the Work, where +such license applies only to those patent claims licensable by such Contributor +that are necessarily infringed by their Contribution(s) alone or by combination +of their Contribution(s) with the Work to which such Contribution(s) was +submitted. If You institute patent litigation against any entity (including a +cross-claim or counterclaim in a lawsuit) alleging that the Work or a +Contribution incorporated within the Work constitutes direct or contributory +patent infringement, then any patent licenses granted to You under this License +for that Work shall terminate as of the date such litigation is filed. + +#### 4. Redistribution + +You may reproduce and distribute copies of the Work or Derivative Works thereof +in any medium, with or without modifications, and in Source or Object form, +provided that You meet the following conditions: + +- **(a)** You must give any other recipients of the Work or Derivative Works a copy of + this License; and +- **(b)** You must cause any modified files to carry prominent notices stating that You + changed the files; and +- **(c)** You must retain, in the Source form of any Derivative Works that You distribute, + all copyright, patent, trademark, and attribution notices from the Source form + of the Work, excluding those notices that do not pertain to any part of the + Derivative Works; and +- **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any + Derivative Works that You distribute must include a readable copy of the + attribution notices contained within such NOTICE file, excluding those notices + that do not pertain to any part of the Derivative Works, in at least one of the + following places: within a NOTICE text file distributed as part of the + Derivative Works; within the Source form or documentation, if provided along + with the Derivative Works; or, within a display generated by the Derivative + Works, if and wherever such third-party notices normally appear. The contents of + the NOTICE file are for informational purposes only and do not modify the + License. You may add Your own attribution notices within Derivative Works that + You distribute, alongside or as an addendum to the NOTICE text from the Work, + provided that such additional attribution notices cannot be construed as + modifying the License. + +You may add Your own copyright statement to Your modifications and may provide +additional or different license terms and conditions for use, reproduction, or +distribution of Your modifications, or for any such Derivative Works as a whole, +provided Your use, reproduction, and distribution of the Work otherwise complies +with the conditions stated in this License. + +#### 5. Submission of Contributions + +Unless You explicitly state otherwise, any Contribution intentionally submitted +for inclusion in the Work by You to the Licensor shall be under the terms and +conditions of this License, without any additional terms or conditions. +Notwithstanding the above, nothing herein shall supersede or modify the terms of +any separate license agreement you may have executed with Licensor regarding +such Contributions. + +#### 6. Trademarks + +This License does not grant permission to use the trade names, trademarks, +service marks, or product names of the Licensor, except as required for +reasonable and customary use in describing the origin of the Work and +reproducing the content of the NOTICE file. + +#### 7. Disclaimer of Warranty + +Unless required by applicable law or agreed to in writing, Licensor provides the +Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, +including, without limitation, any warranties or conditions of TITLE, +NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are +solely responsible for determining the appropriateness of using or +redistributing the Work and assume any risks associated with Your exercise of +permissions under this License. + +#### 8. Limitation of Liability + +In no event and under no legal theory, whether in tort (including negligence), +contract, or otherwise, unless required by applicable law (such as deliberate +and grossly negligent acts) or agreed to in writing, shall any Contributor be +liable to You for damages, including any direct, indirect, special, incidental, +or consequential damages of any character arising as a result of this License or +out of the use or inability to use the Work (including but not limited to +damages for loss of goodwill, work stoppage, computer failure or malfunction, or +any and all other commercial damages or losses), even if such Contributor has +been advised of the possibility of such damages. + +#### 9. Accepting Warranty or Additional Liability + +While redistributing the Work or Derivative Works thereof, You may choose to +offer, and charge a fee for, acceptance of support, warranty, indemnity, or +other liability obligations and/or rights consistent with this License. However, +in accepting such obligations, You may act only on Your own behalf and on Your +sole responsibility, not on behalf of any other Contributor, and only if You +agree to indemnify, defend, and hold each Contributor harmless for any liability +incurred by, or claims asserted against, such Contributor by reason of your +accepting any such warranty or additional liability. + +_END OF TERMS AND CONDITIONS_ + +### APPENDIX: Apply the Apache License to a specific file + +To apply the Apache License to an individual file, attach the following notice. +The text should be enclosed in the appropriate comment syntax for the file +format. + + Copyright © 2025–, HASH + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/libs/@local/petrinaut-optimizer-core/LICENSE-MIT.md b/libs/@local/petrinaut-optimizer-core/LICENSE-MIT.md new file mode 100644 index 00000000000..d85585ee20d --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/LICENSE-MIT.md @@ -0,0 +1,21 @@ +# MIT License + +Copyright © 2025–, HASH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/libs/@local/petrinaut-optimizer-core/LICENSE.md b/libs/@local/petrinaut-optimizer-core/LICENSE.md new file mode 100644 index 00000000000..6dad94c0e5a --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/LICENSE.md @@ -0,0 +1,3 @@ +# License + +Licensed under either of the [Apache License, Version 2.0](LICENSE-APACHE.md) or [MIT license](LICENSE-MIT.md) at your option. diff --git a/libs/@local/petrinaut-optimizer-core/README.md b/libs/@local/petrinaut-optimizer-core/README.md new file mode 100644 index 00000000000..338a0d648f0 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/README.md @@ -0,0 +1,31 @@ +# `@local/petrinaut-optimizer-core` + +The Optuna study logic behind Petrinaut optimization, as one pure-Python +package (`petrinaut_optimizer_core`) with a single runtime dependency, Optuna. +Two hosts import it: + +- `apps/petrinaut-opt`, the FastAPI service, which runs `study.optimize` on a + worker thread and evaluates trials through the Petrinaut CLI. +- `@hashintel/petrinaut-core`'s browser optimization runtime, which loads the + same source files into Pyodide in a Web Worker and drives the ask/tell loop, + evaluating each trial through a channel the host supplies. + +Both parse the CLI's `optimization.describe` result with `parse_description`, +build the seeded study with `create_study`, and map parameters onto Optuna +suggestions with `suggest`, so a study proposes the same values wherever it +runs. `run_study` is the ask/tell driver; `run_browser_study` is the entry the +worker calls, adapting JavaScript callbacks to it. + +`runtime-lock.json` pins the Pyodide distribution and the wheel versions the +browser installs. A test asserts the Optuna pin equals the version this +package's `uv.lock` installs, so the browser and the service cannot drift +apart silently. + +## Development + +```bash +uv sync +uv run pytest +uv run ruff check . && uv run ruff format --check . +uv run basedpyright +``` diff --git a/libs/@local/petrinaut-optimizer-core/package.json b/libs/@local/petrinaut-optimizer-core/package.json new file mode 100644 index 00000000000..a6a45372825 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/package.json @@ -0,0 +1,19 @@ +{ + "name": "@local/petrinaut-optimizer-core", + "version": "0.0.0-private", + "private": true, + "description": "Optuna study logic shared by the Petrinaut optimizer service and the in-browser optimizer", + "license": "(MIT OR Apache-2.0)", + "exports": { + "./python/*": "./src/petrinaut_optimizer_core/*", + "./runtime-lock.json": "./runtime-lock.json", + "./package.json": "./package.json" + }, + "scripts": { + "fix:ruff": "uv run ruff check --fix . && uv run ruff format .", + "install:deps": "uv sync", + "lint:ruff": "uv run ruff check . && uv run ruff format --check .", + "lint:types": "uv run basedpyright", + "test:unit": "uv run pytest" + } +} diff --git a/libs/@local/petrinaut-optimizer-core/pyproject.toml b/libs/@local/petrinaut-optimizer-core/pyproject.toml new file mode 100644 index 00000000000..a4c40ea6a6c --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/pyproject.toml @@ -0,0 +1,53 @@ +[project] +name = "petrinaut-optimizer-core" +version = "0.1.0" +description = "Optuna study construction, suggestion and ask/tell loop shared by the Petrinaut optimizer service and the in-browser optimizer" +readme = "README.md" +requires-python = ">=3.10" +dependencies = [ + "optuna>=4.9,<5", +] + +[dependency-groups] +dev = [ + "basedpyright>=1.39.10", + "pytest>=8.3", + "ruff>=0.16.4", +] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/petrinaut_optimizer_core"] + +[tool.ruff] +target-version = "py310" + +[tool.ruff.lint] +select = ["E", "F", "I", "UP", "B", "SIM", "RUF", "TRY", "DTZ", "PTH"] +ignore = [ + # Error messages name the value that failed: the metric, the seed, the limit. + # This rule asks for that detail to move into exception subclasses instead. + "TRY003", + # Protocol responses are data, and data that does not conform raises + # ValueError. This rule reads every isinstance check as an argument-type + # check and asks for TypeError. + "TRY004", + # `ruff format` owns line width. What it cannot split is a long string or an + # `@role` annotation, which the architecture-docs extractor reads as one line. + "E501", +] + +[tool.basedpyright] +# Production code only. The suites lean on duck-typed doubles, which a checker +# cannot see; typing those is tracked separately. +include = ["src"] +typeCheckingMode = "strict" +pythonVersion = "3.10" +venvPath = "." +venv = ".venv" + +[tool.pytest.ini_options] +testpaths = ["tests"] diff --git a/libs/@local/petrinaut-optimizer-core/runtime-lock.json b/libs/@local/petrinaut-optimizer-core/runtime-lock.json new file mode 100644 index 00000000000..5fb02784833 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/runtime-lock.json @@ -0,0 +1,9 @@ +{ + "pyodide": "314.0.6", + "python": "3.14.2", + "packages": { + "optuna": "4.9.0", + "colorlog": "6.10.1" + }, + "pyodideDistributionPackages": ["numpy", "packaging", "pyyaml", "tqdm"] +} diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py new file mode 100644 index 00000000000..ab81fc681a1 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py @@ -0,0 +1,62 @@ +"""Optuna study logic shared by the optimizer service and the in-browser optimizer. + +Pure Python over Optuna: parse an `optimization.describe` result, build the +seeded study, map parameters onto Optuna suggestions, and drive an ask/tell +loop whose trials the caller evaluates. No threads, no event-loop ownership, +no file or network access, so the same modules run under CPython in the +FastAPI service and under Pyodide in a browser worker. + +@layerRoot optimizer-core +@role Optuna study construction, suggestion and ask/tell loop shared by the service and the browser worker +""" + +from .ask_tell import Evaluate, IsCancelled, OnTrial, objective_of, run_study +from .description import ( + MAX_SEEDS_PER_TRIAL, + MAX_STUDY_TRIALS, + BooleanParameter, + Direction, + FloatParameter, + IntParameter, + Parameter, + SamplerName, + StudyDescription, + parse_description, +) +from .pyodide_entry import run_browser_study, to_python +from .study import ( + SAMPLERS, + Scalar, + best_summary, + create_study, + study_summary, + suggest, + trial_event, +) + +__all__ = [ + "MAX_SEEDS_PER_TRIAL", + "MAX_STUDY_TRIALS", + "SAMPLERS", + "BooleanParameter", + "Direction", + "Evaluate", + "FloatParameter", + "IntParameter", + "IsCancelled", + "OnTrial", + "Parameter", + "SamplerName", + "Scalar", + "StudyDescription", + "best_summary", + "create_study", + "objective_of", + "parse_description", + "run_browser_study", + "run_study", + "study_summary", + "suggest", + "to_python", + "trial_event", +] diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py new file mode 100644 index 00000000000..fe5ba51fc7a --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py @@ -0,0 +1,75 @@ +"""The ask/tell loop: Optuna proposes, the caller evaluates, the study learns. + +The loop owns no simulation. Each trial's values go to `evaluate`, an awaitable +the caller supplies, and the outcome is told back to the study. The browser +worker drives studies with this loop; the service keeps `study.optimize` on a +worker thread. +""" + +from __future__ import annotations + +import math +from collections.abc import Awaitable, Callable, Mapping +from typing import Any, TypeAlias + +import optuna +from optuna.trial import TrialState + +from .description import StudyDescription +from .study import Scalar, study_summary, suggest, trial_event + +Evaluate: TypeAlias = Callable[[dict[str, Scalar]], Awaitable[Mapping[str, Any]]] +OnTrial: TypeAlias = Callable[[dict[str, Any]], object] +IsCancelled: TypeAlias = Callable[[], bool] + + +def objective_of(outcome: Mapping[str, Any]) -> float | None: + """The finite objective of an evaluated trial, or None when it was pruned. + + Accepts `{"objective": x}` and `{"pruned": reason}` as well as the channel's + tagged forms, `{"kind": "objective", "objective": x}` and + `{"kind": "pruned", "reason": reason}`. + """ + if outcome.get("kind") == "pruned" or "pruned" in outcome: + return None + objective = outcome.get("objective") + if ( + isinstance(objective, bool) + or not isinstance(objective, (int, float)) + or not math.isfinite(objective) + ): + raise ValueError("trial objective must be a finite number") + return float(objective) + + +async def run_study( + study: optuna.Study, + description: StudyDescription, + *, + evaluate: Evaluate, + on_trial: OnTrial, + is_cancelled: IsCancelled = lambda: False, +) -> dict[str, Any]: + """Drive `description.trials` ask/tell rounds and return the study summary. + + Cancellation is polled before each ask and after each evaluate; a cancelled + study returns its summary early with `cancelled` set, leaving the trial in + flight untold. An outcome that is neither a finite objective nor a pruned + marker, and any exception from `evaluate` or `on_trial`, ends the study + with that error. + """ + for _ in range(description.trials): + if is_cancelled(): + return {**study_summary(study, description.trials), "cancelled": True} + trial = study.ask() + outcome = await evaluate(suggest(trial, description.parameters)) + if is_cancelled(): + return {**study_summary(study, description.trials), "cancelled": True} + objective = objective_of(outcome) + told = ( + study.tell(trial, state=TrialState.PRUNED) + if objective is None + else study.tell(trial, objective) + ) + on_trial(trial_event(study, told)) + return {**study_summary(study, description.trials), "cancelled": False} diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/description.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/description.py new file mode 100644 index 00000000000..b4ad6a31709 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/description.py @@ -0,0 +1,204 @@ +"""The parsed form of an `optimization.describe` result. + +The result arrives as JSON: from the CLI through the Python bindings in the +service, from the TypeScript describe helper in the browser. Parsing turns it +into plain dataclasses and checks the cross-field rules no schema expresses: +bound ordering, log-scale domains, duplicate identifiers, and the study limits. +""" + +from __future__ import annotations + +import math +from collections.abc import Mapping +from dataclasses import dataclass +from typing import Any, Literal, TypeAlias, cast + +MAX_STUDY_TRIALS = 1000 +MAX_SEEDS_PER_TRIAL = 100 + +Direction: TypeAlias = Literal["maximize", "minimize"] +SamplerName: TypeAlias = Literal["tpe", "random"] + +DIRECTIONS: tuple[Direction, ...] = ("maximize", "minimize") +SAMPLER_NAMES: tuple[SamplerName, ...] = ("tpe", "random") + + +@dataclass(frozen=True) +class FloatParameter: + identifier: str + minimum: float + maximum: float + log: bool + + +@dataclass(frozen=True) +class IntParameter: + identifier: str + minimum: int + maximum: int + step: int + log: bool + + +@dataclass(frozen=True) +class BooleanParameter: + identifier: str + + +Parameter: TypeAlias = FloatParameter | IntParameter | BooleanParameter + + +@dataclass(frozen=True) +class StudyDescription: + direction: Direction + sampler: SamplerName + trials: int + seed: int + seeds_per_trial: int + parameters: tuple[Parameter, ...] + + +def _choice(value: object, choices: tuple[str, ...], message: str) -> str: + if not isinstance(value, str) or value not in choices: + raise ValueError(message) + return value + + +def _mapping(value: object, name: str) -> Mapping[str, Any]: + if not isinstance(value, Mapping): + raise ValueError(f"optimization.describe {name} must be an object") + return cast("Mapping[str, Any]", value) + + +def _string(value: object, name: str) -> str: + if not isinstance(value, str): + raise ValueError(f"optimization.describe {name} must be a string") + return value + + +def _integer(value: object, name: str) -> int: + if isinstance(value, bool) or not isinstance(value, int): + raise ValueError(f"optimization.describe {name} must be an integer") + return value + + +def _number(value: object, name: str) -> float: + if isinstance(value, bool) or not isinstance(value, (int, float)): + raise ValueError(f"optimization.describe {name} must be a number") + return float(value) + + +def _is_log_scale(parameter: Mapping[str, Any], identifier: str) -> bool: + scale = _choice( + parameter.get("scale"), + ("linear", "log"), + f"unsupported optimization parameter scale for {identifier}: {parameter.get('scale')!r}", + ) + return scale == "log" + + +def _parse_parameter(raw: object, index: int) -> Parameter: + parameter = _mapping(raw, f"parameters[{index}]") + identifier = _string(parameter.get("identifier"), f"parameters[{index}].identifier") + kind = parameter.get("type") + if kind == "boolean": + return BooleanParameter(identifier) + if kind == "float": + return FloatParameter( + identifier, + minimum=_number(parameter.get("minimum"), f"{identifier}.minimum"), + maximum=_number(parameter.get("maximum"), f"{identifier}.maximum"), + log=_is_log_scale(parameter, identifier), + ) + if kind == "int": + return IntParameter( + identifier, + minimum=_integer(parameter.get("minimum"), f"{identifier}.minimum"), + maximum=_integer(parameter.get("maximum"), f"{identifier}.maximum"), + step=_integer(parameter.get("step"), f"{identifier}.step"), + log=_is_log_scale(parameter, identifier), + ) + raise ValueError(f"unsupported optimization parameter type: {kind!r}") + + +def _check_domain(parameter: FloatParameter | IntParameter) -> None: + identifier = parameter.identifier + if not math.isfinite(parameter.minimum) or not math.isfinite(parameter.maximum): + raise ValueError(f"{identifier} bounds must be finite numbers") + if parameter.minimum >= parameter.maximum: + raise ValueError(f"{identifier}.maximum must exceed minimum") + if parameter.log and parameter.minimum <= 0: + raise ValueError(f"{identifier}.minimum must be positive for log scale") + if isinstance(parameter, IntParameter) and parameter.log and parameter.step != 1: + raise ValueError(f"{identifier}.step must be 1 for log scale") + + +def parse_description(raw: Mapping[str, Any]) -> StudyDescription: + """Validate a describe result and return it as a `StudyDescription`. + + Raises `ValueError` naming the first field that breaks a rule. + """ + direction = cast( + "Direction", + _choice( + raw.get("direction"), + DIRECTIONS, + f"unsupported optimization direction: {raw.get('direction')!r}", + ), + ) + study = _mapping(raw.get("study"), "study") + sampler = cast( + "SamplerName", + _choice( + study.get("sampler"), + SAMPLER_NAMES, + f"unsupported Optuna sampler: {study.get('sampler')!r}", + ), + ) + trials = _integer(study.get("trials"), "study.trials") + if trials < 1: + raise ValueError("optimization.describe study.trials must be at least 1") + if trials > MAX_STUDY_TRIALS: + raise ValueError( + f"optimization.describe study.trials must not exceed {MAX_STUDY_TRIALS}" + ) + seed = _integer(study.get("seed"), "study.seed") + if seed < 0: + raise ValueError( + "optimization.describe study.seed must be a non-negative integer" + ) + raw_seeds_per_trial = study.get("seedsPerTrial") + seeds_per_trial = ( + 1 + if raw_seeds_per_trial is None + else _integer(raw_seeds_per_trial, "study.seedsPerTrial") + ) + if not 1 <= seeds_per_trial <= MAX_SEEDS_PER_TRIAL: + raise ValueError( + f"optimization.describe study.seedsPerTrial must be between 1 and {MAX_SEEDS_PER_TRIAL}" + ) + + raw_parameters = raw.get("parameters") + if not isinstance(raw_parameters, list): + raise ValueError("optimization.describe parameters must be an array") + parameters: list[Parameter] = [] + identifiers: set[str] = set() + for index, item in enumerate(cast("list[object]", raw_parameters)): + parameter = _parse_parameter(item, index) + if parameter.identifier in identifiers: + raise ValueError( + f'duplicate optimization parameter "{parameter.identifier}"' + ) + identifiers.add(parameter.identifier) + if not isinstance(parameter, BooleanParameter): + _check_domain(parameter) + parameters.append(parameter) + + return StudyDescription( + direction=direction, + sampler=sampler, + trials=trials, + seed=seed, + seeds_per_trial=seeds_per_trial, + parameters=tuple(parameters), + ) diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/py.typed b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/py.typed new file mode 100644 index 00000000000..e69de29bb2d diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py new file mode 100644 index 00000000000..a3b4ca6e7fb --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py @@ -0,0 +1,56 @@ +"""The function the browser worker calls once this package is imported in Pyodide. + +Nothing here imports `pyodide`: the JavaScript callbacks arrive as proxies and +a proxy's result is unwrapped by duck-typing its `to_py`, so the module runs +under CPython too and its tests need no browser. +""" + +from __future__ import annotations + +import json +from collections.abc import Awaitable, Callable, Mapping +from typing import Any, cast + +from .ask_tell import run_study +from .description import parse_description +from .study import Scalar, create_study + + +def to_python(value: object) -> object: + """Unwrap a JsProxy into Python data; any other value passes through.""" + converter = getattr(value, "to_py", None) + return converter() if callable(converter) else value + + +def _object(value: object, name: str) -> Mapping[str, Any]: + if not isinstance(value, Mapping): + raise ValueError(f"{name} must be a JSON object") + return cast("Mapping[str, Any]", value) + + +async def run_browser_study( + description_json: str, + evaluate: Callable[[dict[str, Scalar]], Awaitable[object]], + on_trial: Callable[[dict[str, Any]], object], + is_cancelled: Callable[[], object], +) -> dict[str, Any]: + """Parse the description, build the study, and run the ask/tell loop. + + `evaluate` receives each trial's suggested values as a Python dict and may + resolve to a JavaScript object; `on_trial` receives plain dicts. + """ + description = parse_description( + _object(json.loads(description_json), "optimization description") + ) + study = create_study(description) + + async def evaluate_trial(values: dict[str, Scalar]) -> Mapping[str, Any]: + return _object(to_python(await evaluate(values)), "trial outcome") + + return await run_study( + study, + description, + evaluate=evaluate_trial, + on_trial=on_trial, + is_cancelled=lambda: bool(to_python(is_cancelled())), + ) diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py new file mode 100644 index 00000000000..1a361c1038a --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py @@ -0,0 +1,102 @@ +"""Optuna study construction, value suggestion, and the per-trial event shapes.""" + +from __future__ import annotations + +from collections.abc import Sequence +from typing import Any, TypeAlias + +import optuna +from optuna.samplers import BaseSampler, RandomSampler, TPESampler +from optuna.trial import BaseTrial, FrozenTrial, TrialState + +from .description import ( + FloatParameter, + IntParameter, + Parameter, + SamplerName, + StudyDescription, +) + +optuna.logging.set_verbosity(optuna.logging.WARNING) + +Scalar: TypeAlias = int | float | bool + +SAMPLERS: dict[SamplerName, type[BaseSampler]] = { + "tpe": TPESampler, + "random": RandomSampler, +} + +_STATE_NAMES = { + TrialState.COMPLETE: "complete", + TrialState.PRUNED: "pruned", + TrialState.FAIL: "failed", +} + + +def create_study(description: StudyDescription, **sampler_options: Any) -> optuna.Study: + """An in-memory study whose sampler is seeded with the description's seed unless `seed` is given.""" + sampler_options.setdefault("seed", description.seed) + return optuna.create_study( + direction=description.direction, + sampler=SAMPLERS[description.sampler](**sampler_options), + ) + + +def suggest(trial: BaseTrial, parameters: Sequence[Parameter]) -> dict[str, Scalar]: + """Ask Optuna for one value per described parameter.""" + values: dict[str, Scalar] = {} + for parameter in parameters: + if isinstance(parameter, FloatParameter): + values[parameter.identifier] = trial.suggest_float( + parameter.identifier, + parameter.minimum, + parameter.maximum, + log=parameter.log, + ) + elif isinstance(parameter, IntParameter): + values[parameter.identifier] = trial.suggest_int( + parameter.identifier, + parameter.minimum, + parameter.maximum, + step=parameter.step, + log=parameter.log, + ) + else: + values[parameter.identifier] = trial.suggest_categorical( + parameter.identifier, [False, True] + ) + return values + + +def best_summary(study: optuna.Study) -> dict[str, Any] | None: + """The best completed trial, or None while no trial has completed.""" + try: + best = study.best_trial + except ValueError: + return None + return { + "trial": best.number, + "parameters": dict(best.params), + "objective": best.value, + } + + +def trial_event(study: optuna.Study, trial: FrozenTrial) -> dict[str, Any]: + return { + "trial": trial.number, + "parameters": dict(trial.params), + "objective": trial.value, + "state": _STATE_NAMES[trial.state], + "best": best_summary(study), + } + + +def study_summary(study: optuna.Study, requested_trials: int) -> dict[str, Any]: + states = [trial.state for trial in study.get_trials(deepcopy=False)] + return { + "requestedTrials": requested_trials, + "completedTrials": states.count(TrialState.COMPLETE), + "prunedTrials": states.count(TrialState.PRUNED), + "failedTrials": states.count(TrialState.FAIL), + "best": best_summary(study), + } diff --git a/libs/@local/petrinaut-optimizer-core/tests/__init__.py b/libs/@local/petrinaut-optimizer-core/tests/__init__.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/libs/@local/petrinaut-optimizer-core/tests/conftest.py b/libs/@local/petrinaut-optimizer-core/tests/conftest.py new file mode 100644 index 00000000000..09500deca80 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/tests/conftest.py @@ -0,0 +1,41 @@ +from __future__ import annotations + +from typing import Any + +import pytest + + +@pytest.fixture +def optimization_description() -> dict[str, Any]: + return { + "direction": "maximize", + "study": {"trials": 3, "sampler": "random", "seed": 42}, + "parameters": [ + { + "identifier": "rate", + "type": "float", + "default": 0.5, + "minimum": 0.1, + "maximum": 2.0, + "scale": "log", + }, + { + "identifier": "count", + "type": "int", + "default": 4, + "minimum": 2, + "maximum": 8, + "step": 2, + "scale": "linear", + }, + { + "identifier": "enabled", + "type": "boolean", + "default": True, + }, + ], + } + + +def objective_of_values(values: dict[str, Any]) -> float: + return float(values["rate"] + values["count"] + int(values["enabled"])) diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py b/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py new file mode 100644 index 00000000000..0b7bd03791e --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py @@ -0,0 +1,201 @@ +from __future__ import annotations + +import asyncio +import math +from typing import Any + +import pytest + +from petrinaut_optimizer_core import ( + create_study, + objective_of, + parse_description, + run_study, +) + +from .conftest import objective_of_values + + +class Harness: + def __init__(self, description: dict[str, Any]) -> None: + self.description = parse_description(description) + self.study = create_study(self.description) + self.evaluations: list[dict[str, Any]] = [] + self.events: list[dict[str, Any]] = [] + self.cancelled = False + + async def evaluate(self, values: dict[str, Any]) -> dict[str, Any]: + self.evaluations.append(values) + return {"objective": objective_of_values(values)} + + def run(self, evaluate: Any = None) -> dict[str, Any]: + return asyncio.run( + run_study( + self.study, + self.description, + evaluate=evaluate or self.evaluate, + on_trial=self.events.append, + is_cancelled=lambda: self.cancelled, + ) + ) + + +def test_tells_each_objective_and_reports_every_trial( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + summary = harness.run() + + assert len(harness.evaluations) == 3 + assert [event["trial"] for event in harness.events] == [0, 1, 2] + assert all( + set(event) == {"trial", "parameters", "objective", "state", "best"} + for event in harness.events + ) + assert [event["parameters"] for event in harness.events] == harness.evaluations + assert [event["objective"] for event in harness.events] == [ + objective_of_values(values) for values in harness.evaluations + ] + assert all(event["state"] == "complete" for event in harness.events) + best_objective = max(event["objective"] for event in harness.events) + assert harness.events[-1]["best"]["objective"] == best_objective + assert summary == { + "requestedTrials": 3, + "completedTrials": 3, + "prunedTrials": 0, + "failedTrials": 0, + "best": harness.events[-1]["best"], + "cancelled": False, + } + + +@pytest.mark.parametrize( + "pruned_outcome", + [{"pruned": "simulation failed"}, {"kind": "pruned", "reason": "cancelled"}], +) +def test_records_pruned_outcomes_without_an_objective( + optimization_description: dict[str, Any], + pruned_outcome: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + async def evaluate(values: dict[str, Any]) -> dict[str, Any]: + if len(harness.evaluations) == 1: + harness.evaluations.append(values) + return pruned_outcome + return await harness.evaluate(values) + + summary = harness.run(evaluate) + + assert [event["state"] for event in harness.events] == [ + "complete", + "pruned", + "complete", + ] + assert harness.events[1]["objective"] is None + assert harness.events[1]["best"]["trial"] == 0 + assert summary["completedTrials"] == 2 + assert summary["prunedTrials"] == 1 + + +def test_accepts_the_channel_tagged_objective_form( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + async def evaluate(values: dict[str, Any]) -> dict[str, Any]: + return { + "kind": "objective", + "objective": objective_of_values(values), + "replicates": [], + } + + assert harness.run(evaluate)["completedTrials"] == 3 + + +@pytest.mark.parametrize( + "outcome", + [ + {"objective": math.inf}, + {"objective": math.nan}, + {"objective": "3"}, + {"objective": True}, + {"objective": None}, + {}, + ], +) +def test_rejects_outcomes_without_a_finite_objective(outcome: dict[str, Any]) -> None: + with pytest.raises(ValueError, match="finite number"): + objective_of(outcome) + + +def test_a_non_finite_objective_ends_the_study( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + async def evaluate(_values: dict[str, Any]) -> dict[str, Any]: + return {"objective": math.inf} + + with pytest.raises(ValueError, match="finite number"): + harness.run(evaluate) + + assert harness.events == [] + + +def test_evaluation_errors_propagate( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + async def evaluate(_values: dict[str, Any]) -> dict[str, Any]: + raise RuntimeError("worker crashed") + + with pytest.raises(RuntimeError, match="worker crashed"): + harness.run(evaluate) + + +def test_cancellation_after_an_evaluate_leaves_the_trial_untold( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + async def evaluate(values: dict[str, Any]) -> dict[str, Any]: + outcome = await harness.evaluate(values) + harness.cancelled = len(harness.evaluations) == 1 + return outcome + + summary = harness.run(evaluate) + + assert len(harness.evaluations) == 1 + assert harness.events == [] + assert summary["completedTrials"] == 0 + assert summary["cancelled"] is True + + +def test_cancellation_between_trials_keeps_the_told_trials( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + original_append = harness.events.append + + def on_trial(event: dict[str, Any]) -> None: + original_append(event) + harness.cancelled = True + + summary = asyncio.run( + run_study( + harness.study, + harness.description, + evaluate=harness.evaluate, + on_trial=on_trial, + is_cancelled=lambda: harness.cancelled, + ) + ) + + assert len(harness.evaluations) == 1 + assert len(harness.events) == 1 + assert summary["completedTrials"] == 1 + assert summary["best"] == harness.events[0]["best"] + assert summary["cancelled"] is True diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_description.py b/libs/@local/petrinaut-optimizer-core/tests/test_description.py new file mode 100644 index 00000000000..1dbb0a24d75 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/tests/test_description.py @@ -0,0 +1,195 @@ +from __future__ import annotations + +import json +from typing import Any + +import pytest + +from petrinaut_optimizer_core import ( + MAX_STUDY_TRIALS, + BooleanParameter, + FloatParameter, + IntParameter, + parse_description, +) + + +def test_parses_the_describe_result_into_plain_dataclasses( + optimization_description: dict[str, Any], +) -> None: + description = parse_description(optimization_description) + + assert description.direction == "maximize" + assert description.sampler == "random" + assert description.trials == 3 + assert description.seed == 42 + assert description.seeds_per_trial == 1 + assert description.parameters == ( + FloatParameter("rate", minimum=0.1, maximum=2.0, log=True), + IntParameter("count", minimum=2, maximum=8, step=2, log=False), + BooleanParameter("enabled"), + ) + + +def test_reads_seeds_per_trial_when_reported( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["seedsPerTrial"] = 5 + + assert parse_description(optimization_description).seeds_per_trial == 5 + + +def test_accepts_the_result_after_a_json_round_trip( + optimization_description: dict[str, Any], +) -> None: + round_tripped = json.loads(json.dumps(optimization_description)) + + assert parse_description(round_tripped) == parse_description( + optimization_description + ) + + +@pytest.mark.parametrize( + ("change", "message"), + [ + ({"direction": "up"}, "unsupported optimization direction: 'up'"), + ( + {"study": {"trials": 0, "sampler": "random", "seed": 42}}, + "study.trials must be at least 1", + ), + ( + { + "study": { + "trials": MAX_STUDY_TRIALS + 1, + "sampler": "random", + "seed": 42, + } + }, + f"study.trials must not exceed {MAX_STUDY_TRIALS}", + ), + ( + {"study": {"trials": 1, "sampler": "unknown", "seed": 42}}, + "unsupported Optuna sampler: 'unknown'", + ), + ( + {"study": {"trials": 1, "sampler": "random", "seed": -1}}, + "study.seed must be a non-negative integer", + ), + ( + { + "study": { + "trials": 1, + "sampler": "random", + "seed": 1, + "seedsPerTrial": 0, + } + }, + "study.seedsPerTrial must be between 1 and 100", + ), + ( + {"study": {"trials": 1.5, "sampler": "random", "seed": 1}}, + "study.trials must be an integer", + ), + ( + { + "parameters": [ + {"identifier": "rate", "type": "boolean", "default": True}, + {"identifier": "rate", "type": "boolean", "default": False}, + ] + }, + 'duplicate optimization parameter "rate"', + ), + ( + { + "parameters": [ + { + "identifier": "rate", + "type": "float", + "default": 1, + "minimum": 0, + "maximum": float("inf"), + "scale": "linear", + } + ] + }, + "rate bounds must be finite numbers", + ), + ( + { + "parameters": [ + { + "identifier": "rate", + "type": "float", + "default": 1, + "minimum": 1, + "maximum": 1, + "scale": "linear", + } + ] + }, + "rate.maximum must exceed minimum", + ), + ( + { + "parameters": [ + { + "identifier": "rate", + "type": "float", + "default": 1, + "minimum": 0, + "maximum": 1, + "scale": "log", + } + ] + }, + "rate.minimum must be positive for log scale", + ), + ( + { + "parameters": [ + { + "identifier": "count", + "type": "int", + "default": 1, + "minimum": 1, + "maximum": 10, + "step": 2, + "scale": "log", + } + ] + }, + "count.step must be 1 for log scale", + ), + ( + { + "parameters": [ + { + "identifier": "count", + "type": "int", + "default": 1, + "minimum": 1.5, + "maximum": 10, + "step": 1, + "scale": "linear", + } + ] + }, + "count.minimum must be an integer", + ), + ( + {"parameters": [{"identifier": "rate", "type": "string"}]}, + "unsupported optimization parameter type: 'string'", + ), + ({"parameters": {"rate": {}}}, "parameters must be an array"), + ({"study": None}, "study must be an object"), + ], +) +def test_rejects_descriptions_that_break_a_rule( + optimization_description: dict[str, Any], + change: dict[str, Any], + message: str, +) -> None: + optimization_description.update(change) + + with pytest.raises(ValueError, match=message): + parse_description(optimization_description) diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py b/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py new file mode 100644 index 00000000000..02d224754cc --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py @@ -0,0 +1,116 @@ +from __future__ import annotations + +import asyncio +import json +from typing import Any + +import pytest + +from petrinaut_optimizer_core import run_browser_study, to_python + +from .conftest import objective_of_values + + +class FakeJsProxy: + """Stands in for a Pyodide JsProxy: only `to_py` matters to the entry point.""" + + def __init__(self, value: Any) -> None: + self.value = value + + def to_py(self) -> Any: + return self.value + + +def test_to_python_unwraps_proxies_and_passes_plain_values_through() -> None: + assert to_python(FakeJsProxy({"objective": 1.0})) == {"objective": 1.0} + assert to_python({"objective": 2.0}) == {"objective": 2.0} + assert to_python(3) == 3 + + +def test_runs_a_study_from_json_with_javascript_style_callbacks( + optimization_description: dict[str, Any], +) -> None: + events: list[dict[str, Any]] = [] + evaluated: list[dict[str, Any]] = [] + + async def evaluate(values: dict[str, Any]) -> FakeJsProxy: + evaluated.append(values) + return FakeJsProxy( + {"kind": "objective", "objective": objective_of_values(values)} + ) + + summary = asyncio.run( + run_browser_study( + json.dumps(optimization_description), + evaluate, + events.append, + lambda: False, + ) + ) + + assert len(evaluated) == 3 + assert [event["trial"] for event in events] == [0, 1, 2] + assert all(isinstance(event, dict) for event in events) + assert summary["completedTrials"] == 3 + assert summary["best"] == events[-1]["best"] + + +@pytest.mark.parametrize( + ("cancelled", "completed_trials"), + [(True, 0), (False, 3)], +) +def test_cancellation_is_unwrapped_from_the_callback_proxy( + optimization_description: dict[str, Any], + cancelled: bool, + completed_trials: int, +) -> None: + async def evaluate(values: dict[str, Any]) -> dict[str, Any]: + return {"objective": objective_of_values(values)} + + summary = asyncio.run( + run_browser_study( + json.dumps(optimization_description), + evaluate, + lambda _event: None, + lambda: FakeJsProxy(cancelled), + ) + ) + + assert summary["completedTrials"] == completed_trials + assert summary["cancelled"] is cancelled + + +def test_rejects_a_description_that_breaks_a_rule( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["seed"] = -1 + + async def evaluate(_values: dict[str, Any]) -> dict[str, Any]: + return {"objective": 0.0} + + with pytest.raises(ValueError, match="non-negative integer"): + asyncio.run( + run_browser_study( + json.dumps(optimization_description), + evaluate, + lambda _event: None, + lambda: False, + ) + ) + + +def test_rejects_an_outcome_that_is_not_an_object( + optimization_description: dict[str, Any], +) -> None: + async def evaluate(_values: dict[str, Any]) -> float: + return 1.0 + + with pytest.raises(ValueError, match="trial outcome must be a JSON object"): + asyncio.run( + run_browser_study( + json.dumps(optimization_description), + evaluate, + lambda _event: None, + lambda: False, + ) + ) diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_runtime_lock.py b/libs/@local/petrinaut-optimizer-core/tests/test_runtime_lock.py new file mode 100644 index 00000000000..84f7fa4a16b --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/tests/test_runtime_lock.py @@ -0,0 +1,25 @@ +from __future__ import annotations + +import json +import re +from importlib.metadata import version +from pathlib import Path + +RUNTIME_LOCK = Path(__file__).resolve().parents[1] / "runtime-lock.json" + + +def test_browser_wheel_pins_match_the_versions_this_package_installs() -> None: + lock = json.loads(RUNTIME_LOCK.read_text()) + + assert lock["packages"]["optuna"] == version("optuna") + assert lock["packages"]["colorlog"] == version("colorlog") + + +def test_runtime_lock_names_a_pyodide_release_and_its_distribution_packages() -> None: + lock = json.loads(RUNTIME_LOCK.read_text()) + + assert re.fullmatch(r"\d+\.\d+\.\d+", lock["pyodide"]) + assert re.fullmatch(r"\d+\.\d+\.\d+", lock["python"]) + assert lock["pyodideDistributionPackages"] == sorted( + set(lock["pyodideDistributionPackages"]) + ) diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_study.py b/libs/@local/petrinaut-optimizer-core/tests/test_study.py new file mode 100644 index 00000000000..57cf4566b46 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/tests/test_study.py @@ -0,0 +1,116 @@ +from __future__ import annotations + +from typing import Any + +import optuna +from optuna.trial import TrialState + +from petrinaut_optimizer_core import ( + best_summary, + create_study, + parse_description, + study_summary, + suggest, + trial_event, +) + + +def test_maps_float_integer_step_and_boolean_descriptors_to_optuna( + optimization_description: dict[str, Any], +) -> None: + description = parse_description(optimization_description) + trial = optuna.trial.FixedTrial({"rate": 0.5, "count": 6, "enabled": False}) + + assert suggest(trial, description.parameters) == { + "rate": 0.5, + "count": 6, + "enabled": False, + } + distributions = trial.distributions + assert isinstance(distributions["rate"], optuna.distributions.FloatDistribution) + assert distributions["rate"].log is True + assert isinstance(distributions["count"], optuna.distributions.IntDistribution) + assert distributions["count"].step == 2 + assert distributions["count"].log is False + assert isinstance( + distributions["enabled"], optuna.distributions.CategoricalDistribution + ) + assert distributions["enabled"].choices == (False, True) + + +def test_uses_the_description_seed_for_deterministic_sampling( + optimization_description: dict[str, Any], +) -> None: + description = parse_description(optimization_description) + first = create_study(description) + second = create_study(description) + + assert suggest(first.ask(), description.parameters) == suggest( + second.ask(), description.parameters + ) + + +def test_sampler_options_override_the_description_seed( + optimization_description: dict[str, Any], +) -> None: + description = parse_description(optimization_description) + + def first_suggestion(**sampler_options: Any) -> dict[str, Any]: + study = create_study(description, **sampler_options) + return suggest(study.ask(), description.parameters) + + assert first_suggestion(seed=7) == first_suggestion(seed=7) + assert first_suggestion(seed=7) != first_suggestion() + + +def test_builds_the_sampler_and_direction_from_the_description( + optimization_description: dict[str, Any], +) -> None: + optimization_description["direction"] = "minimize" + optimization_description["study"]["sampler"] = "tpe" + study = create_study(parse_description(optimization_description)) + + assert isinstance(study.sampler, optuna.samplers.TPESampler) + assert study.direction is optuna.study.StudyDirection.MINIMIZE + + +def test_trial_events_and_summary_track_best_and_states( + optimization_description: dict[str, Any], +) -> None: + description = parse_description(optimization_description) + study = create_study(description) + + assert best_summary(study) is None + + first = study.ask() + suggest(first, description.parameters) + first_event = trial_event(study, study.tell(first, 1.5)) + second = study.ask() + suggest(second, description.parameters) + second_event = trial_event(study, study.tell(second, state=TrialState.PRUNED)) + third = study.ask() + suggest(third, description.parameters) + third_event = trial_event(study, study.tell(third, 4.0)) + + assert first_event == { + "trial": 0, + "parameters": dict(first.params), + "objective": 1.5, + "state": "complete", + "best": {"trial": 0, "parameters": dict(first.params), "objective": 1.5}, + } + assert second_event["state"] == "pruned" + assert second_event["objective"] is None + assert second_event["best"]["trial"] == 0 + assert third_event["best"] == { + "trial": 2, + "parameters": dict(third.params), + "objective": 4.0, + } + assert study_summary(study, description.trials) == { + "requestedTrials": 3, + "completedTrials": 2, + "prunedTrials": 1, + "failedTrials": 0, + "best": third_event["best"], + } diff --git a/libs/@local/petrinaut-optimizer-core/uv.lock b/libs/@local/petrinaut-optimizer-core/uv.lock new file mode 100644 index 00000000000..041e7eb88ce --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/uv.lock @@ -0,0 +1,786 @@ +version = 1 +revision = 3 +requires-python = ">=3.10" +resolution-markers = [ + "python_full_version >= '3.12'", + "python_full_version == '3.11.*'", + "python_full_version < '3.11'", +] + +[[package]] +name = "alembic" +version = "1.19.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mako" }, + { name = "sqlalchemy" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/16/2b/e4153978368de59918115c9e01d3ebf58a558a7285efa7e960c383c4b59a/alembic-1.19.1.tar.gz", hash = "sha256:e0fca0518118c78acc493e31bcb5402f190057aaf6df8b5b95ce94c4789cf648", size = 2070816, upload-time = "2026-08-08T16:32:01.565Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/20/89/e62cc37b69ad357cc8ecd6e7367f5245f523d3cbb338a66197212bdf6749/alembic-1.19.1-py3-none-any.whl", hash = "sha256:b39018cb3d9413a19cbd54cf3c02ad33998641f0538eb77413a488a21c3e14be", size = 265946, upload-time = "2026-08-08T16:32:03.153Z" }, +] + +[[package]] +name = "basedpyright" +version = "1.39.10" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "nodejs-wheel-binaries" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/68/43/ad2999f3b09eb2b1e59931d88fac0f7bcc9c17fc18c903268779bd10cc97/basedpyright-1.39.10.tar.gz", hash = "sha256:c8eaf5302f3265e275c7df4fba194d7afa7c1cb53fbfd448e90098360aca2c2e", size = 24740347, upload-time = "2026-08-13T17:09:02.51Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/be/2a/a224054d75a58786c482f63b8ff2a09fc3362268bd1ebd0a61fb3f982153/basedpyright-1.39.10-py3-none-any.whl", hash = "sha256:cbd75d83c0be841329bcfef2d2f1182f152a6d975b8eb199e75cf5b8e9a3de78", size = 13482322, upload-time = "2026-08-13T17:08:59.074Z" }, +] + +[[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 = "colorlog" +version = "6.10.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a2/61/f083b5ac52e505dfc1c624eafbf8c7589a0d7f32daa398d2e7590efa5fda/colorlog-6.10.1.tar.gz", hash = "sha256:eb4ae5cb65fe7fec7773c2306061a8e63e02efc2c72eba9d27b0fa23c94f1321", size = 17162, upload-time = "2025-10-16T16:14:11.978Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/c1/e419ef3723a074172b68aaa89c9f3de486ed4c2399e2dbd8113a4fdcaf9e/colorlog-6.10.1-py3-none-any.whl", hash = "sha256:2d7e8348291948af66122cff006c9f8da6255d224e7cf8e37d8de2df3bad8c9c", size = 11743, upload-time = "2025-10-16T16:14:10.512Z" }, +] + +[[package]] +name = "exceptiongroup" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" }, +] + +[[package]] +name = "greenlet" +version = "3.5.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0b/d8/7cc97c142388aef03f622e001c572c4f84e9252a439549d483f555771970/greenlet-3.5.5.tar.gz", hash = "sha256:adb4bae02e91a8e863e48b177e4014bdcac8a6b5e047ea1df687a61534b85e6c", size = 207585, upload-time = "2026-08-10T15:09:36.136Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/07/67/07ecd6d85c0f253363cbc4ac9e7dd048ca571a267fbccfea084d6009ac3b/greenlet-3.5.5-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:816230f469381ad0a43abc9fa8dda5a699e32fb78958dde32ded93213b70a667", size = 292971, upload-time = "2026-08-10T13:28:09.837Z" }, + { url = "https://files.pythonhosted.org/packages/24/35/426733bc24247ee17bb76df90f550c299ff5f8572b2bdd7cacb5c53fd994/greenlet-3.5.5-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a5433cf291e0ef9114bd14d0d824db6e5e4a43033234bca48181a9597acca07b", size = 609290, upload-time = "2026-08-10T14:14:32.273Z" }, + { url = "https://files.pythonhosted.org/packages/9c/dc/17d3a5acceb2fd0bbc9682a228117b719cdfb68085e6dbb33fa325755f27/greenlet-3.5.5-cp310-cp310-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:19d59f068887d8c5907fc177f27683413ace3011b6ed646c0b309266e74a6502", size = 622650, upload-time = "2026-08-10T14:27:22.004Z" }, + { url = "https://files.pythonhosted.org/packages/51/91/00b3c0566316c6f383ea16ee05388ec4f57f6e0afa49e72ae471eda8c47f/greenlet-3.5.5-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9ff00e12102358292087274dfb1669132387ff6e7920ebf9d85f4826ce0d3a56", size = 622819, upload-time = "2026-08-10T13:40:46.562Z" }, + { url = "https://files.pythonhosted.org/packages/3c/78/52de4f7ac9152ad1dbc8f437895c1e573d30ee1e1427e0f91a280e2417b6/greenlet-3.5.5-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:523bb8e27614d77101ea7a8cf59f8d91219b72d5c29f6a038c92b50828bfa8d0", size = 1582164, upload-time = "2026-08-10T14:15:02.645Z" }, + { url = "https://files.pythonhosted.org/packages/f6/ff/c3855a00c2417e8f61c7b9f0bc4f8f599c6928f5c15681ad251e78a91e05/greenlet-3.5.5-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f1e2db190db51c17433eee424803818cf0670bf049d9cfe0dd07be111d1aa7c4", size = 1648807, upload-time = "2026-08-10T13:40:27.471Z" }, + { url = "https://files.pythonhosted.org/packages/70/21/d29ff6a79dbd1ec1fe74c155d25d4c5a85e221d6b9ffc2cc7a709e7c8c39/greenlet-3.5.5-cp310-cp310-win_amd64.whl", hash = "sha256:740e544169527b82695ce76af2f7ad6f030904658f2f3921a1d245771fb88cfc", size = 322832, upload-time = "2026-08-10T13:28:10.85Z" }, + { url = "https://files.pythonhosted.org/packages/4e/a3/07297917485ee2ca85bc3c8dc6ed85ad3fffcf424047fba62671dba68e97/greenlet-3.5.5-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:be63afcbbccfad3dd95a1ba12ada84dab2ef32031973d80b5b92df67fa763a61", size = 294165, upload-time = "2026-08-10T13:25:17.987Z" }, + { url = "https://files.pythonhosted.org/packages/db/51/6f732f9314cda54c5fd48a7620c7160f4f286967e8045ad94b9d66ce80b7/greenlet-3.5.5-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a268024ce2d7d2b04694bf1594058981a9fa663d1df4b762dee499211ed7c1c", size = 613610, upload-time = "2026-08-10T14:14:33.829Z" }, + { url = "https://files.pythonhosted.org/packages/d8/c0/b27589e25d220289edcd4d582b2b17b83058d1a56d53d971b6ea1a34f10d/greenlet-3.5.5-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:35cbb8bf55ace57fbccb4fb8622c4521713acd8691e77f4696d416ea7ca527da", size = 625481, upload-time = "2026-08-10T14:27:23.647Z" }, + { url = "https://files.pythonhosted.org/packages/51/2d/f2c928218ac52f26d7a2c188c171d1b7e728b23782cb3347e7b4fce1493a/greenlet-3.5.5-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:74cc6df89ec5302337adc9cf096221cbed2510fd444b0e0f1586cf0470740864", size = 624562, upload-time = "2026-08-10T13:40:48.064Z" }, + { url = "https://files.pythonhosted.org/packages/3e/4a/92fc51d5d35912f4f06eec037ba347985defd0be47463a010a325634d9d2/greenlet-3.5.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6d9b454c5fc48aeaa7c4337813dbf513a6870468e426438a04d922c6d0fe63db", size = 1584909, upload-time = "2026-08-10T14:15:04.343Z" }, + { url = "https://files.pythonhosted.org/packages/ac/58/ed98b80ac5738c149a5258544843c45601ade1fd70f61740cdaead6351b3/greenlet-3.5.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:03551ed792cb1b4fc0277a0c60dfd8c343894a0ba06fe60dcd22f568b433da39", size = 1651184, upload-time = "2026-08-10T13:40:28.879Z" }, + { url = "https://files.pythonhosted.org/packages/d8/be/b582ceb80cefdf9d8da34078714e4b12b3d16f509dee0f65e40a5cc8fc7d/greenlet-3.5.5-cp311-cp311-win_amd64.whl", hash = "sha256:ab3df3dffb58bf70564e93a5cec7941e4d9faa5a36cc4234a10d3131afe04f53", size = 323280, upload-time = "2026-08-10T13:26:07.495Z" }, + { url = "https://files.pythonhosted.org/packages/4d/18/5313c4c58598c38b0373c013e4ff2b3e6d258aaaa338f373335ebecdaddd/greenlet-3.5.5-cp311-cp311-win_arm64.whl", hash = "sha256:2b70a766135540c472ac1393d57c2e1b4a2eb85bf526a1e41e6d096173a8cee5", size = 307785, upload-time = "2026-08-10T13:28:34.874Z" }, + { url = "https://files.pythonhosted.org/packages/2e/7e/9ecd0285e3153532ae07aeb88063c43c72b4221cf0d4d123b02f3682e3ff/greenlet-3.5.5-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:49520f0c95a48b42cf55414b8e8479beb274ea70431afc33e3f79903c71f4380", size = 295809, upload-time = "2026-08-10T13:25:34.023Z" }, + { url = "https://files.pythonhosted.org/packages/35/73/60e4bbcc89252037b18087f2ec16405d5b2d5be42dde191bbf3667e96102/greenlet-3.5.5-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55272212cbc5f43d1d723725ab931f1939969b7e9523882ca58b55061769d053", size = 611910, upload-time = "2026-08-10T14:14:35.18Z" }, + { url = "https://files.pythonhosted.org/packages/a4/17/cd5134be659cd4a443e7a61ae670dabec165a814c51162916d637b6dd38e/greenlet-3.5.5-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:655bca754a2ef4efcb0eb48a94d3f4593536d0f3d48f8ed44343c01d16a92f95", size = 624198, upload-time = "2026-08-10T14:27:25.229Z" }, + { url = "https://files.pythonhosted.org/packages/78/ac/5c5b959999b6f09c3026b5dfe171575bc3121c5236ce74f495096f25b203/greenlet-3.5.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:147b25a42e5ca5be3d42356e8f608b37af715a1c196e9bf9d1627f3341adfe1d", size = 621439, upload-time = "2026-08-10T13:40:49.391Z" }, + { url = "https://files.pythonhosted.org/packages/c8/8b/6acf112ed8aee499f25b4d6949820fb02ac950ff9c1f3d793bd5be0599f2/greenlet-3.5.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:27493374cff1d1b7919dc8126547f2aea582737e3046147b434b1e12de56389b", size = 1581342, upload-time = "2026-08-10T14:15:05.653Z" }, + { url = "https://files.pythonhosted.org/packages/b8/d7/734e5f198888876b42d7616ff6644c075baf6b8a2412deadd6b0e1b8b20c/greenlet-3.5.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:12e2ee66c2aba86133f10fd99d6a8856c6d351ffb7be0e4d52ef2cc5fbb705b2", size = 1645744, upload-time = "2026-08-10T13:40:30.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/30/1f42b88dc587b5899ee50616ad56ee40cafaf225df4fb829f10183c62a5c/greenlet-3.5.5-cp312-cp312-win_amd64.whl", hash = "sha256:49ddacd36af37735fab103846f4ee4d18a492dde72730d1699c0c8ebe30d9f18", size = 324171, upload-time = "2026-08-10T13:28:44.472Z" }, + { url = "https://files.pythonhosted.org/packages/76/e5/4dee4d8d2e603fe5fdd7b444e63219f7b9bd852c60c6214511c7157cbe88/greenlet-3.5.5-cp312-cp312-win_arm64.whl", hash = "sha256:5f1b1ff4828cdc1aba4266aff814085d04a1d07959287219af021b838b265d52", size = 308362, upload-time = "2026-08-10T13:26:46.839Z" }, + { url = "https://files.pythonhosted.org/packages/fb/3d/8cef5f724ec0d4add2af8961d504535ec60c3cca9e464f6d03bdba29d85b/greenlet-3.5.5-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:b79fd2a5bc099b5e744f34c4c9a58954a5f4cb7529fb4b6e8446057d61b6edaa", size = 294730, upload-time = "2026-08-10T13:27:51.206Z" }, + { url = "https://files.pythonhosted.org/packages/88/4b/8e7aa3f514273aecff30a16ab1bac09ff54cfc7e6860fdd8058c37ff2499/greenlet-3.5.5-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:634cf15a233a949136879dd388e25d3296e16f3f1e217d2456797b8579ebc6ed", size = 614536, upload-time = "2026-08-10T14:14:36.589Z" }, + { url = "https://files.pythonhosted.org/packages/85/48/4e95e9dd5a8a397dc6a6345dd7f1935113d0fca4f85e89d3976da9cd988d/greenlet-3.5.5-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:499adea519f748407fc6806d20eedabac2884fd73b9f38d81236e190ba20dfef", size = 626924, upload-time = "2026-08-10T14:27:27.048Z" }, + { url = "https://files.pythonhosted.org/packages/89/5d/398a1c71fa7a277deeb376c999979de6786f08fc2d5747a0b9d6e11738dd/greenlet-3.5.5-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2eabb980975cba5b93a95f6f69287d05fc05ac955bfd6a320a7c083eeb52c0b0", size = 623906, upload-time = "2026-08-10T13:40:50.501Z" }, + { url = "https://files.pythonhosted.org/packages/04/1b/745450fc5ea9e0cb17d840d248f284db3363de736d362c7d2d883e3eadba/greenlet-3.5.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:03115c2e0a371999bf8ae616aa8d653f96641d4705c457aebaa187276e9f7537", size = 1581430, upload-time = "2026-08-10T14:15:06.853Z" }, + { url = "https://files.pythonhosted.org/packages/d4/29/d51b296e3191bb15d3d81ec375af1909e4466c0f395d744ed475801798a9/greenlet-3.5.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4441153ffba21b90d3ca89fe3d31f5c093ae6c0bf0cfdfc98f54cde22f95b62e", size = 1645684, upload-time = "2026-08-10T13:40:32.133Z" }, + { url = "https://files.pythonhosted.org/packages/12/63/369f1a1625e64e9e31df3963c6044056e3fdfa3fa3fdba3c54ffefa6e987/greenlet-3.5.5-cp313-cp313-win_amd64.whl", hash = "sha256:95c5b1f4b3a193f8a0c2de4bfdcb48d119f7f1063941f1de1f2168051b3e52dd", size = 324075, upload-time = "2026-08-10T13:26:58.974Z" }, + { url = "https://files.pythonhosted.org/packages/45/78/649cb5c09d4d81f6dd1444e75474a7206784743283a21d24171562ac4899/greenlet-3.5.5-cp313-cp313-win_arm64.whl", hash = "sha256:1af90aa4bc129883b340cdd6957a3bc74f60528a4993bbd1f53aaebe1d9981cc", size = 308260, upload-time = "2026-08-10T13:27:50.795Z" }, + { url = "https://files.pythonhosted.org/packages/7f/8c/080e881fa2be95ff1ddbd6994b2bab3b1a78df3b3fcab39306011764fcc7/greenlet-3.5.5-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:d4a389a852e392a6366058651a20fa5ba40d979865aa81bea2ccbdc44805070d", size = 295309, upload-time = "2026-08-10T13:26:03.032Z" }, + { url = "https://files.pythonhosted.org/packages/25/cc/0ac614e6586c0e42d4cc281a5819150f4f43685744a4c5ff77139286409d/greenlet-3.5.5-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:70b157cd319873e8b544ddc2de158f55bbd0a9b0218c8ce9332039801518e328", size = 661185, upload-time = "2026-08-10T14:14:37.867Z" }, + { url = "https://files.pythonhosted.org/packages/5e/b9/6808725354be8ad305dfe5172377664fc9642d4fc043be246b3314cf4482/greenlet-3.5.5-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8bdfd1424abcf26832961e766570cae79efdb9599d709088c9cb6ef82b194926", size = 673419, upload-time = "2026-08-10T14:27:28.652Z" }, + { url = "https://files.pythonhosted.org/packages/42/2e/40c509967da7f254680826a2fa0dd22138ec79946c70b97542d74cde8b43/greenlet-3.5.5-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:182de51c6b572a705f2fafaab2e783bcf7d2760940229dfe73086cbae037af3e", size = 670822, upload-time = "2026-08-10T13:40:51.833Z" }, + { url = "https://files.pythonhosted.org/packages/2d/22/c3c2eee4a8fe191d6d1d183086c56133d646024e3d70bfd414829f64560b/greenlet-3.5.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8fec3f165dfe332e490c3247c0f6c23b0bfc45f06496ad7f00ddb00e3d35e4dc", size = 1628469, upload-time = "2026-08-10T14:15:08.11Z" }, + { url = "https://files.pythonhosted.org/packages/f7/87/25babd09b94cb1f03e71db815fde463f0262e40cfbd953d58a8d77311351/greenlet-3.5.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c6ce25fee6cabc8bf22cb8b52e642cbb821be5b9aec8094d07ff03378141b8e9", size = 1691952, upload-time = "2026-08-10T13:40:33.502Z" }, + { url = "https://files.pythonhosted.org/packages/2e/3d/5cc9701117ea4dc0eb7bf1f4f9b7888a6e2e5277ddfae095805ace50f2b6/greenlet-3.5.5-cp314-cp314-win_amd64.whl", hash = "sha256:7dffc5c859fe6059974df1e37d7923d654a83e2ae18fdd616994270e001115e1", size = 327458, upload-time = "2026-08-10T13:27:02.868Z" }, + { url = "https://files.pythonhosted.org/packages/a7/6b/594fa2de7fae7629168a404a4305d7d7e31a5742c50a801b1839543cb93d/greenlet-3.5.5-cp314-cp314-win_arm64.whl", hash = "sha256:5e2afcfc4d4305dd715809b03da5cbe437c8984f61d8917751eb5fe4aefa3e07", size = 311146, upload-time = "2026-08-10T13:27:25.046Z" }, + { url = "https://files.pythonhosted.org/packages/24/e0/50cd600b469e5734c72709b6b1838b6bc63f307b573c772c3132d6ecfe92/greenlet-3.5.5-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:0e5a7de979d764aea1f5b6e95cf92b5b37741b9823702041f34b126e7f690277", size = 305471, upload-time = "2026-08-10T13:26:20.568Z" }, + { url = "https://files.pythonhosted.org/packages/75/a3/77acd66dfc6387b5219b2080806c0cabb73c10eb1bb44b413c40a62015ba/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fef01bd457f11fc158b130ca0027a3c365693280e8e231b65bdaf57999f39f5b", size = 672470, upload-time = "2026-08-10T14:14:39.058Z" }, + { url = "https://files.pythonhosted.org/packages/b9/71/0d178142dca3ec19f46fb2212ae73d30ad53b9d548dc64804086033a7089/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5173a72310725a74afc82c164f0e52cb8ad0de62f2bb623f24f6c0cc07d80272", size = 679973, upload-time = "2026-08-10T14:27:30.072Z" }, + { url = "https://files.pythonhosted.org/packages/6e/31/46eb8567302eaf787abf88d09df014e14ae3baf460af1b8b0efdbd3efcd5/greenlet-3.5.5-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:44f08341873200ba8a60a8bc14ace3d91f1754f7fa7bc66157714a8cd420a476", size = 676634, upload-time = "2026-08-10T13:40:53.004Z" }, + { url = "https://files.pythonhosted.org/packages/a3/e9/b88bbf5b29970cb84172dc2c32aa3e5e579ceb94c808e81c826454138850/greenlet-3.5.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d246c0db9a2513cd45f019ba178ea4d4d4705bd210ee465e2c15d76a1ab13874", size = 1637320, upload-time = "2026-08-10T14:15:09.317Z" }, + { url = "https://files.pythonhosted.org/packages/6d/8c/7631ed29cc6f0392f11830076e172ce4885e70b0bc2c1bce1731176d4b4e/greenlet-3.5.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:72507285b5caa1d17904a3f7c322ca780823a54170a0e04ec3f37bcc60d4db71", size = 1697412, upload-time = "2026-08-10T13:40:34.924Z" }, + { url = "https://files.pythonhosted.org/packages/da/0f/f7dd935f9c4cb1be49098770587f54d8a78518e55c89bce86c4fb4109057/greenlet-3.5.5-cp314-cp314t-win_amd64.whl", hash = "sha256:7805655781fb8f28a55d05fe57ed61f5f10f1892fb587673e3bb5264f28041f0", size = 331514, upload-time = "2026-08-10T13:29:20.611Z" }, + { url = "https://files.pythonhosted.org/packages/b7/e5/681b01f8fbc1b55232822f99e8f8afeb78a55a7c76a7bf9dbdc7ccb03a6d/greenlet-3.5.5-cp315-cp315-macosx_11_0_universal2.whl", hash = "sha256:c0db80fcd5b8aece93f66c64f78a786bbb6b96c5fe63ef5a5a4581ecf8bab206", size = 295975, upload-time = "2026-08-10T13:28:45.985Z" }, + { url = "https://files.pythonhosted.org/packages/11/f2/69b488cd9e7267bf4b0fe8cdebf25d8d6df680d21bdf41150d23e23d6652/greenlet-3.5.5-cp315-cp315-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b241c32f912ada659808d68e308c568baf577eebf757d15471472de0c18cfad", size = 666823, upload-time = "2026-08-10T14:14:40.222Z" }, + { url = "https://files.pythonhosted.org/packages/84/d4/d5bc2fdebbdda0c94555925ba79948b8395d75a7f6a36cc85dce5bab9f11/greenlet-3.5.5-cp315-cp315-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ef6a08349401d8eaf3cb12688ac8557de95788556b8631ef17555a4a173022c0", size = 677613, upload-time = "2026-08-10T14:27:31.543Z" }, + { url = "https://files.pythonhosted.org/packages/bd/93/542d8a3a90f3b35c6ad8bf7e56a03010287f2cafa289a5b7985b5207db39/greenlet-3.5.5-cp315-cp315-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f2e3d061b8e13aec2f0441689b3c71b244a20e5d274a52cb0f7e31bd1d139552", size = 675930, upload-time = "2026-08-10T13:40:54.205Z" }, + { url = "https://files.pythonhosted.org/packages/52/b5/89c9f2e8460d71101037d47a1feed11928615a5edd42370be290e0657eeb/greenlet-3.5.5-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:9ab5f5b93655e77fe0d6c2dfd22b5eac751bb1f876d8ec21761b7c1fb9266007", size = 1633878, upload-time = "2026-08-10T14:15:10.693Z" }, + { url = "https://files.pythonhosted.org/packages/b8/60/297de93f3b02ac78a5e04d32bb8bbe3080f4a73d8ed95016561463b70618/greenlet-3.5.5-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:f0e5a21bd4452a88cf032fc43c4a5b307ab1380eacb63b5988f9c0317885e773", size = 1696597, upload-time = "2026-08-10T13:40:36.252Z" }, + { url = "https://files.pythonhosted.org/packages/18/25/54c6eaff4f337fb670215e89eb2d00d9499487b658e709d4b477be4a342e/greenlet-3.5.5-cp315-cp315-win_amd64.whl", hash = "sha256:469dbb0a78625642f4a626cfd0c6e8bccc0385b5e49189b6308bbe849ec88a8e", size = 327700, upload-time = "2026-08-10T13:28:06.752Z" }, + { url = "https://files.pythonhosted.org/packages/67/67/857e88a36301caa0e029870132c2478bd55d896630321432afab03a3115f/greenlet-3.5.5-cp315-cp315-win_arm64.whl", hash = "sha256:2d57406c3efd32d7a81e17a674314e8bd00792cdab49ea3228a49aa1bfb2e769", size = 311750, upload-time = "2026-08-10T13:34:08.815Z" }, + { url = "https://files.pythonhosted.org/packages/10/e2/3144c0a116067ac1e30457b0139a94d60d1d36a86e015de68e9ac87cb3bc/greenlet-3.5.5-cp315-cp315t-macosx_11_0_universal2.whl", hash = "sha256:68184dfcf50ccaa8e864770fe0633a7e27250ea9329f8192ef47ee9ecfd78e1c", size = 306387, upload-time = "2026-08-10T13:27:00.897Z" }, + { url = "https://files.pythonhosted.org/packages/5c/a1/cb4223a7e9b9f43b8807e8eb212358bfe2dfaa174a9ea2889eb1714dcba2/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9ec0dc0e59dc9c61af5c47348365ccbbd7addfafe0a93b00336ff3da2907bdc6", size = 676472, upload-time = "2026-08-10T14:14:41.417Z" }, + { url = "https://files.pythonhosted.org/packages/9e/cd/a154b4498e5d8f12ada291cfb3b8d596eadde2177f5bf09a9be699d2a446/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e604f58e35833fc46ef20302bcb314dddbfd3fcf33a4f936216d51dd678d63ae", size = 684238, upload-time = "2026-08-10T14:27:32.946Z" }, + { url = "https://files.pythonhosted.org/packages/bf/bb/b0031d260c2968a3c87deebc51d80c64e499377f993aafe06ee3b7488cc2/greenlet-3.5.5-cp315-cp315t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:40239b5384f96da3963585cc6d7eaa9b56f8ae67e8d92cc82dd9e202fc847de3", size = 681246, upload-time = "2026-08-10T13:40:55.402Z" }, + { url = "https://files.pythonhosted.org/packages/9a/07/da554b71ab88e649da146e1065d86a48a5c5d92e50ab74ef41b504aa7f56/greenlet-3.5.5-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:a1eaccf5c3a1d3e46dead602c72e6836731e8e245c9de6a27764567b6b62d4c0", size = 1642735, upload-time = "2026-08-10T14:15:11.92Z" }, + { url = "https://files.pythonhosted.org/packages/78/76/26a3782a051677668af9d92beaa47cd87ba9dd5072f762961144a03dd4c6/greenlet-3.5.5-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:19e4e026fe20691f333b8eb1a3bc9625eceba8c3f9d62ec5a6f8581afbc6b5a5", size = 1700925, upload-time = "2026-08-10T13:40:37.656Z" }, + { url = "https://files.pythonhosted.org/packages/28/d9/fe7baf4190c2ae71f267efb9de21b3172bb35bc0ed1ef53dd6027d658e33/greenlet-3.5.5-cp315-cp315t-win_amd64.whl", hash = "sha256:712aee154f648bde84634654bb38bb78c69ac640c37a45c9effed800735049d8", size = 331829, upload-time = "2026-08-10T13:26:48.851Z" }, + { url = "https://files.pythonhosted.org/packages/df/af/419a4e383bd600858a9b67e9b280a60fdc383ee3f2fe5b6c0c1ef04e74d1/greenlet-3.5.5-cp315-cp315t-win_arm64.whl", hash = "sha256:7f049911ee81a16a03c33d5450d8d5867d27f596ca5fb201b86f4524e874468b", size = 315093, upload-time = "2026-08-10T13:29:34.949Z" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, +] + +[[package]] +name = "mako" +version = "1.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/2a/12/b5fa2353e2754cd67fb9f83793fa48ff42c213a5da7e719869d2301f6ab8/mako-1.4.1.tar.gz", hash = "sha256:d7904710b662996425a21627710c4777c45053146942cf8a7aebf757c92b8c27", size = 410165, upload-time = "2026-08-05T06:10:56.611Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/54/12ed58d458474aaab5c3d180173e745a4fe131bb330370596876d19ff60f/mako-1.4.1-py3-none-any.whl", hash = "sha256:a359d9a94a541213958742b2698d0a7757bb83551767bc468a74b9905aba9617", size = 80010, upload-time = "2026-08-05T06:10:58.248Z" }, +] + +[[package]] +name = "markupsafe" +version = "3.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e8/4b/3541d44f3937ba468b75da9eebcae497dcf67adb65caa16760b0a6807ebb/markupsafe-3.0.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2f981d352f04553a7171b8e44369f2af4055f888dfb147d55e42d29e29e74559", size = 11631, upload-time = "2025-09-27T18:36:05.558Z" }, + { url = "https://files.pythonhosted.org/packages/98/1b/fbd8eed11021cabd9226c37342fa6ca4e8a98d8188a8d9b66740494960e4/markupsafe-3.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e1c1493fb6e50ab01d20a22826e57520f1284df32f2d8601fdd90b6304601419", size = 12057, upload-time = "2025-09-27T18:36:07.165Z" }, + { url = "https://files.pythonhosted.org/packages/40/01/e560d658dc0bb8ab762670ece35281dec7b6c1b33f5fbc09ebb57a185519/markupsafe-3.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1ba88449deb3de88bd40044603fafffb7bc2b055d626a330323a9ed736661695", size = 22050, upload-time = "2025-09-27T18:36:08.005Z" }, + { url = "https://files.pythonhosted.org/packages/af/cd/ce6e848bbf2c32314c9b237839119c5a564a59725b53157c856e90937b7a/markupsafe-3.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f42d0984e947b8adf7dd6dde396e720934d12c506ce84eea8476409563607591", size = 20681, upload-time = "2025-09-27T18:36:08.881Z" }, + { url = "https://files.pythonhosted.org/packages/c9/2a/b5c12c809f1c3045c4d580b035a743d12fcde53cf685dbc44660826308da/markupsafe-3.0.3-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c0c0b3ade1c0b13b936d7970b1d37a57acde9199dc2aecc4c336773e1d86049c", size = 20705, upload-time = "2025-09-27T18:36:10.131Z" }, + { url = "https://files.pythonhosted.org/packages/cf/e3/9427a68c82728d0a88c50f890d0fc072a1484de2f3ac1ad0bfc1a7214fd5/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0303439a41979d9e74d18ff5e2dd8c43ed6c6001fd40e5bf2e43f7bd9bbc523f", size = 21524, upload-time = "2025-09-27T18:36:11.324Z" }, + { url = "https://files.pythonhosted.org/packages/bc/36/23578f29e9e582a4d0278e009b38081dbe363c5e7165113fad546918a232/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:d2ee202e79d8ed691ceebae8e0486bd9a2cd4794cec4824e1c99b6f5009502f6", size = 20282, upload-time = "2025-09-27T18:36:12.573Z" }, + { url = "https://files.pythonhosted.org/packages/56/21/dca11354e756ebd03e036bd8ad58d6d7168c80ce1fe5e75218e4945cbab7/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:177b5253b2834fe3678cb4a5f0059808258584c559193998be2601324fdeafb1", size = 20745, upload-time = "2025-09-27T18:36:13.504Z" }, + { url = "https://files.pythonhosted.org/packages/87/99/faba9369a7ad6e4d10b6a5fbf71fa2a188fe4a593b15f0963b73859a1bbd/markupsafe-3.0.3-cp310-cp310-win32.whl", hash = "sha256:2a15a08b17dd94c53a1da0438822d70ebcd13f8c3a95abe3a9ef9f11a94830aa", size = 14571, upload-time = "2025-09-27T18:36:14.779Z" }, + { url = "https://files.pythonhosted.org/packages/d6/25/55dc3ab959917602c96985cb1253efaa4ff42f71194bddeb61eb7278b8be/markupsafe-3.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:c4ffb7ebf07cfe8931028e3e4c85f0357459a3f9f9490886198848f4fa002ec8", size = 15056, upload-time = "2025-09-27T18:36:16.125Z" }, + { url = "https://files.pythonhosted.org/packages/d0/9e/0a02226640c255d1da0b8d12e24ac2aa6734da68bff14c05dd53b94a0fc3/markupsafe-3.0.3-cp310-cp310-win_arm64.whl", hash = "sha256:e2103a929dfa2fcaf9bb4e7c091983a49c9ac3b19c9061b6d5427dd7d14d81a1", size = 13932, upload-time = "2025-09-27T18:36:17.311Z" }, + { url = "https://files.pythonhosted.org/packages/08/db/fefacb2136439fc8dd20e797950e749aa1f4997ed584c62cfb8ef7c2be0e/markupsafe-3.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1cc7ea17a6824959616c525620e387f6dd30fec8cb44f649e31712db02123dad", size = 11631, upload-time = "2025-09-27T18:36:18.185Z" }, + { url = "https://files.pythonhosted.org/packages/e1/2e/5898933336b61975ce9dc04decbc0a7f2fee78c30353c5efba7f2d6ff27a/markupsafe-3.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4bd4cd07944443f5a265608cc6aab442e4f74dff8088b0dfc8238647b8f6ae9a", size = 12058, upload-time = "2025-09-27T18:36:19.444Z" }, + { url = "https://files.pythonhosted.org/packages/1d/09/adf2df3699d87d1d8184038df46a9c80d78c0148492323f4693df54e17bb/markupsafe-3.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b5420a1d9450023228968e7e6a9ce57f65d148ab56d2313fcd589eee96a7a50", size = 24287, upload-time = "2025-09-27T18:36:20.768Z" }, + { url = "https://files.pythonhosted.org/packages/30/ac/0273f6fcb5f42e314c6d8cd99effae6a5354604d461b8d392b5ec9530a54/markupsafe-3.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0bf2a864d67e76e5c9a34dc26ec616a66b9888e25e7b9460e1c76d3293bd9dbf", size = 22940, upload-time = "2025-09-27T18:36:22.249Z" }, + { url = "https://files.pythonhosted.org/packages/19/ae/31c1be199ef767124c042c6c3e904da327a2f7f0cd63a0337e1eca2967a8/markupsafe-3.0.3-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc51efed119bc9cfdf792cdeaa4d67e8f6fcccab66ed4bfdd6bde3e59bfcbb2f", size = 21887, upload-time = "2025-09-27T18:36:23.535Z" }, + { url = "https://files.pythonhosted.org/packages/b2/76/7edcab99d5349a4532a459e1fe64f0b0467a3365056ae550d3bcf3f79e1e/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:068f375c472b3e7acbe2d5318dea141359e6900156b5b2ba06a30b169086b91a", size = 23692, upload-time = "2025-09-27T18:36:24.823Z" }, + { url = "https://files.pythonhosted.org/packages/a4/28/6e74cdd26d7514849143d69f0bf2399f929c37dc2b31e6829fd2045b2765/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:7be7b61bb172e1ed687f1754f8e7484f1c8019780f6f6b0786e76bb01c2ae115", size = 21471, upload-time = "2025-09-27T18:36:25.95Z" }, + { url = "https://files.pythonhosted.org/packages/62/7e/a145f36a5c2945673e590850a6f8014318d5577ed7e5920a4b3448e0865d/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f9e130248f4462aaa8e2552d547f36ddadbeaa573879158d721bbd33dfe4743a", size = 22923, upload-time = "2025-09-27T18:36:27.109Z" }, + { url = "https://files.pythonhosted.org/packages/0f/62/d9c46a7f5c9adbeeeda52f5b8d802e1094e9717705a645efc71b0913a0a8/markupsafe-3.0.3-cp311-cp311-win32.whl", hash = "sha256:0db14f5dafddbb6d9208827849fad01f1a2609380add406671a26386cdf15a19", size = 14572, upload-time = "2025-09-27T18:36:28.045Z" }, + { url = "https://files.pythonhosted.org/packages/83/8a/4414c03d3f891739326e1783338e48fb49781cc915b2e0ee052aa490d586/markupsafe-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01", size = 15077, upload-time = "2025-09-27T18:36:29.025Z" }, + { url = "https://files.pythonhosted.org/packages/35/73/893072b42e6862f319b5207adc9ae06070f095b358655f077f69a35601f0/markupsafe-3.0.3-cp311-cp311-win_arm64.whl", hash = "sha256:3b562dd9e9ea93f13d53989d23a7e775fdfd1066c33494ff43f5418bc8c58a5c", size = 13876, upload-time = "2025-09-27T18:36:29.954Z" }, + { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615, upload-time = "2025-09-27T18:36:30.854Z" }, + { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020, upload-time = "2025-09-27T18:36:31.971Z" }, + { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332, upload-time = "2025-09-27T18:36:32.813Z" }, + { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947, upload-time = "2025-09-27T18:36:33.86Z" }, + { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962, upload-time = "2025-09-27T18:36:35.099Z" }, + { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760, upload-time = "2025-09-27T18:36:36.001Z" }, + { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529, upload-time = "2025-09-27T18:36:36.906Z" }, + { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015, upload-time = "2025-09-27T18:36:37.868Z" }, + { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540, upload-time = "2025-09-27T18:36:38.761Z" }, + { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105, upload-time = "2025-09-27T18:36:39.701Z" }, + { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906, upload-time = "2025-09-27T18:36:40.689Z" }, + { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622, upload-time = "2025-09-27T18:36:41.777Z" }, + { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029, upload-time = "2025-09-27T18:36:43.257Z" }, + { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374, upload-time = "2025-09-27T18:36:44.508Z" }, + { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980, upload-time = "2025-09-27T18:36:45.385Z" }, + { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990, upload-time = "2025-09-27T18:36:46.916Z" }, + { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784, upload-time = "2025-09-27T18:36:47.884Z" }, + { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588, upload-time = "2025-09-27T18:36:48.82Z" }, + { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041, upload-time = "2025-09-27T18:36:49.797Z" }, + { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543, upload-time = "2025-09-27T18:36:51.584Z" }, + { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113, upload-time = "2025-09-27T18:36:52.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911, upload-time = "2025-09-27T18:36:53.513Z" }, + { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658, upload-time = "2025-09-27T18:36:54.819Z" }, + { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066, upload-time = "2025-09-27T18:36:55.714Z" }, + { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639, upload-time = "2025-09-27T18:36:56.908Z" }, + { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569, upload-time = "2025-09-27T18:36:57.913Z" }, + { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284, upload-time = "2025-09-27T18:36:58.833Z" }, + { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801, upload-time = "2025-09-27T18:36:59.739Z" }, + { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769, upload-time = "2025-09-27T18:37:00.719Z" }, + { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642, upload-time = "2025-09-27T18:37:01.673Z" }, + { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612, upload-time = "2025-09-27T18:37:02.639Z" }, + { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200, upload-time = "2025-09-27T18:37:03.582Z" }, + { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973, upload-time = "2025-09-27T18:37:04.929Z" }, + { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619, upload-time = "2025-09-27T18:37:06.342Z" }, + { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029, upload-time = "2025-09-27T18:37:07.213Z" }, + { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408, upload-time = "2025-09-27T18:37:09.572Z" }, + { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005, upload-time = "2025-09-27T18:37:10.58Z" }, + { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048, upload-time = "2025-09-27T18:37:11.547Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821, upload-time = "2025-09-27T18:37:12.48Z" }, + { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606, upload-time = "2025-09-27T18:37:13.485Z" }, + { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043, upload-time = "2025-09-27T18:37:14.408Z" }, + { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747, upload-time = "2025-09-27T18:37:15.36Z" }, + { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341, upload-time = "2025-09-27T18:37:16.496Z" }, + { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073, upload-time = "2025-09-27T18:37:17.476Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661, upload-time = "2025-09-27T18:37:18.453Z" }, + { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069, upload-time = "2025-09-27T18:37:19.332Z" }, + { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670, upload-time = "2025-09-27T18:37:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598, upload-time = "2025-09-27T18:37:21.177Z" }, + { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261, upload-time = "2025-09-27T18:37:22.167Z" }, + { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835, upload-time = "2025-09-27T18:37:23.296Z" }, + { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733, upload-time = "2025-09-27T18:37:24.237Z" }, + { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672, upload-time = "2025-09-27T18:37:25.271Z" }, + { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819, upload-time = "2025-09-27T18:37:26.285Z" }, + { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426, upload-time = "2025-09-27T18:37:27.316Z" }, + { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" }, +] + +[[package]] +name = "nodejs-wheel-binaries" +version = "24.19.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c0/76/7e97195e14346598565a0de4ca8bdbd5e634b3fb5b1ba590b7b1b89f8a63/nodejs_wheel_binaries-24.19.0.tar.gz", hash = "sha256:db217eef8cab8551667863379b08db4d9067403f6cbbe87481eb40edceb8aa9b", size = 8058, upload-time = "2026-08-19T21:47:19.671Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8c/52/0774b52c7be8151ad9d5aff44edc100c3f13d6d8eb3765f63ffa40e69fe8/nodejs_wheel_binaries-24.19.0-py2.py3-none-macosx_13_0_arm64.whl", hash = "sha256:e12cbfd69089504e42fb14194ce734a9dcf3eb38c820ca63dd511d36fb964e9c", size = 56047203, upload-time = "2026-08-19T21:46:43.448Z" }, + { url = "https://files.pythonhosted.org/packages/67/3a/4fdbbfecf2c23d52c0e3f68de7f7c1b3c97a26d328c69c5f6c49c48e340e/nodejs_wheel_binaries-24.19.0-py2.py3-none-macosx_13_0_x86_64.whl", hash = "sha256:1c890adf4b7e6556ccc1ca66c866bb81884b6c9a581dee4e530dc7f78fb9d514", size = 56219459, upload-time = "2026-08-19T21:46:48.45Z" }, + { url = "https://files.pythonhosted.org/packages/5f/a8/0147149415195c59b8a72a594916bfb80d6be4d586f9fbfda313889e0efc/nodejs_wheel_binaries-24.19.0-py2.py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:4e029dadfae1295876063c96b236f673487e8c27379fe146c1e2250283520227", size = 60588256, upload-time = "2026-08-19T21:46:53.298Z" }, + { url = "https://files.pythonhosted.org/packages/f4/89/6631d0982353da1bb7bc00bb1988f702822c62b42634f57999ee53b5c337/nodejs_wheel_binaries-24.19.0-py2.py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:4196a947bcc883f2003ab101762d729f3e99b5e86b75bd09151563403e2eceb8", size = 61123607, upload-time = "2026-08-19T21:46:58.117Z" }, + { url = "https://files.pythonhosted.org/packages/32/a2/fa30f0841e4602995782e124359f9b910c7b481d98decf61ef0b2fc3ebfb/nodejs_wheel_binaries-24.19.0-py2.py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:352e048ab4dd35e7de5f338d1cc4fcbf77a0e93da30bf7336a8217ee246b31d7", size = 62632842, upload-time = "2026-08-19T21:47:03.42Z" }, + { url = "https://files.pythonhosted.org/packages/18/01/22d97ca72213f66cc386ee638db30c2e62757fdf761c6029074bced83d1c/nodejs_wheel_binaries-24.19.0-py2.py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:28d078b2ced9e2069516e652dc4b1380e7a1a7f2d3934eccd1611586d283ba4c", size = 63250653, upload-time = "2026-08-19T21:47:07.938Z" }, + { url = "https://files.pythonhosted.org/packages/88/d1/e3be8fa327a795bcaf7a19cd84299e338a7bce32ff0665fdce9cfa22573c/nodejs_wheel_binaries-24.19.0-py2.py3-none-win_amd64.whl", hash = "sha256:67e3abeb9c3830cae8c8487ae8a2af7cc27dfa75af06145cee5ca7d1857c81bd", size = 42448503, upload-time = "2026-08-19T21:47:12.093Z" }, + { url = "https://files.pythonhosted.org/packages/1d/37/34cf28ba1691a060174948a9927fe61091982d6048b2e403071a9acce443/nodejs_wheel_binaries-24.19.0-py2.py3-none-win_arm64.whl", hash = "sha256:d9074c665ea68b04e183d82482c86dc907d3a9bd15eb6cf85542cb785266bb36", size = 40090155, upload-time = "2026-08-19T21:47:16.032Z" }, +] + +[[package]] +name = "numpy" +version = "2.2.6" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11'", +] +sdist = { url = "https://files.pythonhosted.org/packages/76/21/7d2a95e4bba9dc13d043ee156a356c0a8f0c6309dff6b21b4d71a073b8a8/numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd", size = 20276440, upload-time = "2025-05-17T22:38:04.611Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9a/3e/ed6db5be21ce87955c0cbd3009f2803f59fa08df21b5df06862e2d8e2bdd/numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb", size = 21165245, upload-time = "2025-05-17T21:27:58.555Z" }, + { url = "https://files.pythonhosted.org/packages/22/c2/4b9221495b2a132cc9d2eb862e21d42a009f5a60e45fc44b00118c174bff/numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90", size = 14360048, upload-time = "2025-05-17T21:28:21.406Z" }, + { url = "https://files.pythonhosted.org/packages/fd/77/dc2fcfc66943c6410e2bf598062f5959372735ffda175b39906d54f02349/numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163", size = 5340542, upload-time = "2025-05-17T21:28:30.931Z" }, + { url = "https://files.pythonhosted.org/packages/7a/4f/1cb5fdc353a5f5cc7feb692db9b8ec2c3d6405453f982435efc52561df58/numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf", size = 6878301, upload-time = "2025-05-17T21:28:41.613Z" }, + { url = "https://files.pythonhosted.org/packages/eb/17/96a3acd228cec142fcb8723bd3cc39c2a474f7dcf0a5d16731980bcafa95/numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83", size = 14297320, upload-time = "2025-05-17T21:29:02.78Z" }, + { url = "https://files.pythonhosted.org/packages/b4/63/3de6a34ad7ad6646ac7d2f55ebc6ad439dbbf9c4370017c50cf403fb19b5/numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915", size = 16801050, upload-time = "2025-05-17T21:29:27.675Z" }, + { url = "https://files.pythonhosted.org/packages/07/b6/89d837eddef52b3d0cec5c6ba0456c1bf1b9ef6a6672fc2b7873c3ec4e2e/numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680", size = 15807034, upload-time = "2025-05-17T21:29:51.102Z" }, + { url = "https://files.pythonhosted.org/packages/01/c8/dc6ae86e3c61cfec1f178e5c9f7858584049b6093f843bca541f94120920/numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289", size = 18614185, upload-time = "2025-05-17T21:30:18.703Z" }, + { url = "https://files.pythonhosted.org/packages/5b/c5/0064b1b7e7c89137b471ccec1fd2282fceaae0ab3a9550f2568782d80357/numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d", size = 6527149, upload-time = "2025-05-17T21:30:29.788Z" }, + { url = "https://files.pythonhosted.org/packages/a3/dd/4b822569d6b96c39d1215dbae0582fd99954dcbcf0c1a13c61783feaca3f/numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3", size = 12904620, upload-time = "2025-05-17T21:30:48.994Z" }, + { url = "https://files.pythonhosted.org/packages/da/a8/4f83e2aa666a9fbf56d6118faaaf5f1974d456b1823fda0a176eff722839/numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae", size = 21176963, upload-time = "2025-05-17T21:31:19.36Z" }, + { url = "https://files.pythonhosted.org/packages/b3/2b/64e1affc7972decb74c9e29e5649fac940514910960ba25cd9af4488b66c/numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a", size = 14406743, upload-time = "2025-05-17T21:31:41.087Z" }, + { url = "https://files.pythonhosted.org/packages/4a/9f/0121e375000b5e50ffdd8b25bf78d8e1a5aa4cca3f185d41265198c7b834/numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42", size = 5352616, upload-time = "2025-05-17T21:31:50.072Z" }, + { url = "https://files.pythonhosted.org/packages/31/0d/b48c405c91693635fbe2dcd7bc84a33a602add5f63286e024d3b6741411c/numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491", size = 6889579, upload-time = "2025-05-17T21:32:01.712Z" }, + { url = "https://files.pythonhosted.org/packages/52/b8/7f0554d49b565d0171eab6e99001846882000883998e7b7d9f0d98b1f934/numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a", size = 14312005, upload-time = "2025-05-17T21:32:23.332Z" }, + { url = "https://files.pythonhosted.org/packages/b3/dd/2238b898e51bd6d389b7389ffb20d7f4c10066d80351187ec8e303a5a475/numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf", size = 16821570, upload-time = "2025-05-17T21:32:47.991Z" }, + { url = "https://files.pythonhosted.org/packages/83/6c/44d0325722cf644f191042bf47eedad61c1e6df2432ed65cbe28509d404e/numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1", size = 15818548, upload-time = "2025-05-17T21:33:11.728Z" }, + { url = "https://files.pythonhosted.org/packages/ae/9d/81e8216030ce66be25279098789b665d49ff19eef08bfa8cb96d4957f422/numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab", size = 18620521, upload-time = "2025-05-17T21:33:39.139Z" }, + { url = "https://files.pythonhosted.org/packages/6a/fd/e19617b9530b031db51b0926eed5345ce8ddc669bb3bc0044b23e275ebe8/numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47", size = 6525866, upload-time = "2025-05-17T21:33:50.273Z" }, + { url = "https://files.pythonhosted.org/packages/31/0a/f354fb7176b81747d870f7991dc763e157a934c717b67b58456bc63da3df/numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303", size = 12907455, upload-time = "2025-05-17T21:34:09.135Z" }, + { url = "https://files.pythonhosted.org/packages/82/5d/c00588b6cf18e1da539b45d3598d3557084990dcc4331960c15ee776ee41/numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff", size = 20875348, upload-time = "2025-05-17T21:34:39.648Z" }, + { url = "https://files.pythonhosted.org/packages/66/ee/560deadcdde6c2f90200450d5938f63a34b37e27ebff162810f716f6a230/numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c", size = 14119362, upload-time = "2025-05-17T21:35:01.241Z" }, + { url = "https://files.pythonhosted.org/packages/3c/65/4baa99f1c53b30adf0acd9a5519078871ddde8d2339dc5a7fde80d9d87da/numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3", size = 5084103, upload-time = "2025-05-17T21:35:10.622Z" }, + { url = "https://files.pythonhosted.org/packages/cc/89/e5a34c071a0570cc40c9a54eb472d113eea6d002e9ae12bb3a8407fb912e/numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282", size = 6625382, upload-time = "2025-05-17T21:35:21.414Z" }, + { url = "https://files.pythonhosted.org/packages/f8/35/8c80729f1ff76b3921d5c9487c7ac3de9b2a103b1cd05e905b3090513510/numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87", size = 14018462, upload-time = "2025-05-17T21:35:42.174Z" }, + { url = "https://files.pythonhosted.org/packages/8c/3d/1e1db36cfd41f895d266b103df00ca5b3cbe965184df824dec5c08c6b803/numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249", size = 16527618, upload-time = "2025-05-17T21:36:06.711Z" }, + { url = "https://files.pythonhosted.org/packages/61/c6/03ed30992602c85aa3cd95b9070a514f8b3c33e31124694438d88809ae36/numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49", size = 15505511, upload-time = "2025-05-17T21:36:29.965Z" }, + { url = "https://files.pythonhosted.org/packages/b7/25/5761d832a81df431e260719ec45de696414266613c9ee268394dd5ad8236/numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de", size = 18313783, upload-time = "2025-05-17T21:36:56.883Z" }, + { url = "https://files.pythonhosted.org/packages/57/0a/72d5a3527c5ebffcd47bde9162c39fae1f90138c961e5296491ce778e682/numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4", size = 6246506, upload-time = "2025-05-17T21:37:07.368Z" }, + { url = "https://files.pythonhosted.org/packages/36/fa/8c9210162ca1b88529ab76b41ba02d433fd54fecaf6feb70ef9f124683f1/numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2", size = 12614190, upload-time = "2025-05-17T21:37:26.213Z" }, + { url = "https://files.pythonhosted.org/packages/f9/5c/6657823f4f594f72b5471f1db1ab12e26e890bb2e41897522d134d2a3e81/numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84", size = 20867828, upload-time = "2025-05-17T21:37:56.699Z" }, + { url = "https://files.pythonhosted.org/packages/dc/9e/14520dc3dadf3c803473bd07e9b2bd1b69bc583cb2497b47000fed2fa92f/numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b", size = 14143006, upload-time = "2025-05-17T21:38:18.291Z" }, + { url = "https://files.pythonhosted.org/packages/4f/06/7e96c57d90bebdce9918412087fc22ca9851cceaf5567a45c1f404480e9e/numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d", size = 5076765, upload-time = "2025-05-17T21:38:27.319Z" }, + { url = "https://files.pythonhosted.org/packages/73/ed/63d920c23b4289fdac96ddbdd6132e9427790977d5457cd132f18e76eae0/numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566", size = 6617736, upload-time = "2025-05-17T21:38:38.141Z" }, + { url = "https://files.pythonhosted.org/packages/85/c5/e19c8f99d83fd377ec8c7e0cf627a8049746da54afc24ef0a0cb73d5dfb5/numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f", size = 14010719, upload-time = "2025-05-17T21:38:58.433Z" }, + { url = "https://files.pythonhosted.org/packages/19/49/4df9123aafa7b539317bf6d342cb6d227e49f7a35b99c287a6109b13dd93/numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f", size = 16526072, upload-time = "2025-05-17T21:39:22.638Z" }, + { url = "https://files.pythonhosted.org/packages/b2/6c/04b5f47f4f32f7c2b0e7260442a8cbcf8168b0e1a41ff1495da42f42a14f/numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868", size = 15503213, upload-time = "2025-05-17T21:39:45.865Z" }, + { url = "https://files.pythonhosted.org/packages/17/0a/5cd92e352c1307640d5b6fec1b2ffb06cd0dabe7d7b8227f97933d378422/numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d", size = 18316632, upload-time = "2025-05-17T21:40:13.331Z" }, + { url = "https://files.pythonhosted.org/packages/f0/3b/5cba2b1d88760ef86596ad0f3d484b1cbff7c115ae2429678465057c5155/numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd", size = 6244532, upload-time = "2025-05-17T21:43:46.099Z" }, + { url = "https://files.pythonhosted.org/packages/cb/3b/d58c12eafcb298d4e6d0d40216866ab15f59e55d148a5658bb3132311fcf/numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c", size = 12610885, upload-time = "2025-05-17T21:44:05.145Z" }, + { url = "https://files.pythonhosted.org/packages/6b/9e/4bf918b818e516322db999ac25d00c75788ddfd2d2ade4fa66f1f38097e1/numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6", size = 20963467, upload-time = "2025-05-17T21:40:44Z" }, + { url = "https://files.pythonhosted.org/packages/61/66/d2de6b291507517ff2e438e13ff7b1e2cdbdb7cb40b3ed475377aece69f9/numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda", size = 14225144, upload-time = "2025-05-17T21:41:05.695Z" }, + { url = "https://files.pythonhosted.org/packages/e4/25/480387655407ead912e28ba3a820bc69af9adf13bcbe40b299d454ec011f/numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40", size = 5200217, upload-time = "2025-05-17T21:41:15.903Z" }, + { url = "https://files.pythonhosted.org/packages/aa/4a/6e313b5108f53dcbf3aca0c0f3e9c92f4c10ce57a0a721851f9785872895/numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8", size = 6712014, upload-time = "2025-05-17T21:41:27.321Z" }, + { url = "https://files.pythonhosted.org/packages/b7/30/172c2d5c4be71fdf476e9de553443cf8e25feddbe185e0bd88b096915bcc/numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f", size = 14077935, upload-time = "2025-05-17T21:41:49.738Z" }, + { url = "https://files.pythonhosted.org/packages/12/fb/9e743f8d4e4d3c710902cf87af3512082ae3d43b945d5d16563f26ec251d/numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa", size = 16600122, upload-time = "2025-05-17T21:42:14.046Z" }, + { url = "https://files.pythonhosted.org/packages/12/75/ee20da0e58d3a66f204f38916757e01e33a9737d0b22373b3eb5a27358f9/numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571", size = 15586143, upload-time = "2025-05-17T21:42:37.464Z" }, + { url = "https://files.pythonhosted.org/packages/76/95/bef5b37f29fc5e739947e9ce5179ad402875633308504a52d188302319c8/numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1", size = 18385260, upload-time = "2025-05-17T21:43:05.189Z" }, + { url = "https://files.pythonhosted.org/packages/09/04/f2f83279d287407cf36a7a8053a5abe7be3622a4363337338f2585e4afda/numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff", size = 6377225, upload-time = "2025-05-17T21:43:16.254Z" }, + { url = "https://files.pythonhosted.org/packages/67/0e/35082d13c09c02c011cf21570543d202ad929d961c02a147493cb0c2bdf5/numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06", size = 12771374, upload-time = "2025-05-17T21:43:35.479Z" }, + { url = "https://files.pythonhosted.org/packages/9e/3b/d94a75f4dbf1ef5d321523ecac21ef23a3cd2ac8b78ae2aac40873590229/numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d", size = 21040391, upload-time = "2025-05-17T21:44:35.948Z" }, + { url = "https://files.pythonhosted.org/packages/17/f4/09b2fa1b58f0fb4f7c7963a1649c64c4d315752240377ed74d9cd878f7b5/numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db", size = 6786754, upload-time = "2025-05-17T21:44:47.446Z" }, + { url = "https://files.pythonhosted.org/packages/af/30/feba75f143bdc868a1cc3f44ccfa6c4b9ec522b36458e738cd00f67b573f/numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543", size = 16643476, upload-time = "2025-05-17T21:45:11.871Z" }, + { url = "https://files.pythonhosted.org/packages/37/48/ac2a9584402fb6c0cd5b5d1a91dcf176b15760130dd386bbafdbfe3640bf/numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00", size = 12812666, upload-time = "2025-05-17T21:45:31.426Z" }, +] + +[[package]] +name = "numpy" +version = "2.4.6" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version == '3.11.*'", +] +sdist = { url = "https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz", hash = "sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda", size = 20735807, upload-time = "2026-05-18T23:37:14.07Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/49/ec46835a70be8fa6446c495126ac84fdb28cb2558e1620ffb87a10c8b64c/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4", size = 16969194, upload-time = "2026-05-18T23:33:13.503Z" }, + { url = "https://files.pythonhosted.org/packages/0e/0d/f5957185c0ee2f3e12f78715aa9e3b353fd83633316c8532b38faa37e3f6/numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d", size = 14964111, upload-time = "2026-05-18T23:33:17.795Z" }, + { url = "https://files.pythonhosted.org/packages/ad/40/40a40ee0ddf7ceb782c49af278894b686e586d65d8c1889c8b5da01a3d7d/numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8", size = 5469159, upload-time = "2026-05-18T23:33:20.654Z" }, + { url = "https://files.pythonhosted.org/packages/63/13/f9a8046535cb21deae82f8d03de9617e08882d274fad2539630761888228/numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538", size = 6798936, upload-time = "2026-05-18T23:33:22.987Z" }, + { url = "https://files.pythonhosted.org/packages/33/a8/6fa8c1a345a8c85dbb21932c447bee07c30a2c2a3f31e369c0a84b300147/numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47", size = 15966692, upload-time = "2026-05-18T23:33:26.62Z" }, + { url = "https://files.pythonhosted.org/packages/02/03/74fe2a4cb3817d94d86402f2506554130a2f01414e299b5a843e5a8a957f/numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93", size = 16918164, upload-time = "2026-05-18T23:33:29.955Z" }, + { url = "https://files.pythonhosted.org/packages/c5/80/3615be3313f7e7696609bc194b9f0101da809df79e859bdb84e0cd043f46/numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8", size = 17322877, upload-time = "2026-05-18T23:33:34.724Z" }, + { url = "https://files.pythonhosted.org/packages/ca/ac/a691e0fe2675e370d0e08ff905adc49a1c8830e8cae03efe4477e92cd55d/numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6", size = 18651487, upload-time = "2026-05-18T23:33:38.217Z" }, + { url = "https://files.pythonhosted.org/packages/15/a7/9bc1cd626d7bf6869bfedf27b91b6ab5dd607758bf8e959d6fa80c6a59cb/numpy-2.4.6-cp311-cp311-win32.whl", hash = "sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8", size = 6233945, upload-time = "2026-05-18T23:33:41.331Z" }, + { url = "https://files.pythonhosted.org/packages/c5/31/7fc6239c12bce7e931463251cca4426c465e1876ba3cc785402ef4dd8f4e/numpy-2.4.6-cp311-cp311-win_amd64.whl", hash = "sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147", size = 12608406, upload-time = "2026-05-18T23:33:44.131Z" }, + { url = "https://files.pythonhosted.org/packages/27/83/140f85a466595a16382996a1bf06b2b54bcd597488921b0c9daaeeda72af/numpy-2.4.6-cp311-cp311-win_arm64.whl", hash = "sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577", size = 10479528, upload-time = "2026-05-18T23:33:50.725Z" }, + { url = "https://files.pythonhosted.org/packages/95/2a/3d7b5ac8aac24feaf9ad7ed58f45b0bbc06d37e4338ae84c9f2298b570f9/numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1", size = 16689119, upload-time = "2026-05-18T23:33:54.065Z" }, + { url = "https://files.pythonhosted.org/packages/ea/12/92c4c131527599e8288d6918e888d88726f84d805d784b771f32408aeaef/numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb", size = 14699246, upload-time = "2026-05-18T23:33:57.621Z" }, + { url = "https://files.pythonhosted.org/packages/ad/fe/c0a6b7b2ca128a8fb228575147073b660656734b8ebe4d76c8fd748dcc79/numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41", size = 5204410, upload-time = "2026-05-18T23:34:00.302Z" }, + { url = "https://files.pythonhosted.org/packages/f3/d4/9770d14ba719432bb90a421bfd443872ed0f70f7264b64bec12ea363d5fd/numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698", size = 6551240, upload-time = "2026-05-18T23:34:02.852Z" }, + { url = "https://files.pythonhosted.org/packages/c9/c6/50a46a6205feba2343f1d6d17438107c5dc491ed1c736e6ea68689fd906b/numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f", size = 15671012, upload-time = "2026-05-18T23:34:05.485Z" }, + { url = "https://files.pythonhosted.org/packages/99/60/14115e6364fa676c5397c2ad3004e527e9aa487abf5d0706ec81bbd08529/numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853", size = 16645538, upload-time = "2026-05-18T23:34:09.265Z" }, + { url = "https://files.pythonhosted.org/packages/ae/c5/693cbe59e57db94d2231fa519ca3978dc9e19da5a8f088588f5c6e947ff2/numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a", size = 17020706, upload-time = "2026-05-18T23:34:13.053Z" }, + { url = "https://files.pythonhosted.org/packages/ef/fc/85b7c4eff9b4966ade25c2273cf7e7012e92366c032058653934b37de044/numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2", size = 18368541, upload-time = "2026-05-18T23:34:17.024Z" }, + { url = "https://files.pythonhosted.org/packages/f6/81/e1b27545deedce7f4a0b348618c6b62d74e36a4dc9ccd42f3eb2f85eee32/numpy-2.4.6-cp312-cp312-win32.whl", hash = "sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45", size = 5962825, upload-time = "2026-05-18T23:34:20.3Z" }, + { url = "https://files.pythonhosted.org/packages/ab/ca/feab00bd44aa5fe1ad2c18f08b4d3bb92e26484b0b1d1443897809ed528c/numpy-2.4.6-cp312-cp312-win_amd64.whl", hash = "sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751", size = 12321687, upload-time = "2026-05-18T23:34:23.095Z" }, + { url = "https://files.pythonhosted.org/packages/63/cf/5a6d34850a39d1093558564f77ee8e8e0bee5061151b8f05a55711001ec7/numpy-2.4.6-cp312-cp312-win_arm64.whl", hash = "sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8", size = 10221482, upload-time = "2026-05-18T23:34:25.876Z" }, + { url = "https://files.pythonhosted.org/packages/fb/82/bdab26d7438c6791ca31b7c024ca37c1eab8b726ba236129005cd4a06e45/numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0", size = 16684648, upload-time = "2026-05-18T23:34:29.41Z" }, + { url = "https://files.pythonhosted.org/packages/1b/30/a80189bcc7f5e4258b3fbc3968d909d1756f54d023299ecc39ad6fdb9ef8/numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb", size = 14693902, upload-time = "2026-05-18T23:34:33.013Z" }, + { url = "https://files.pythonhosted.org/packages/97/12/70b5d0d7c15e1ebb8a6a84a8caa1d19e181d84fb58bb6d70aca29099dec1/numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f", size = 5198992, upload-time = "2026-05-18T23:34:36.132Z" }, + { url = "https://files.pythonhosted.org/packages/ba/8c/ebd2a8f8a83541f8d38cc5667e8c2b69cecfd30da6e45693e8158857d44b/numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3", size = 6546944, upload-time = "2026-05-18T23:34:38.484Z" }, + { url = "https://files.pythonhosted.org/packages/bb/c5/7b863a97a91671a0338f4253bd3b5a3d3852f0692dae91711c9f4a10e787/numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b", size = 15669392, upload-time = "2026-05-18T23:34:41.257Z" }, + { url = "https://files.pythonhosted.org/packages/a5/9d/3584b9984ca4c047aea75214ce1a4c4c73d849bd71b604264b7f5653f8a8/numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089", size = 16633220, upload-time = "2026-05-18T23:34:45.075Z" }, + { url = "https://files.pythonhosted.org/packages/05/ae/7c67fba23bd98caec7c99261f3a16072ade14813486b0282cb29846de832/numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a", size = 17020800, upload-time = "2026-05-18T23:34:49.065Z" }, + { url = "https://files.pythonhosted.org/packages/d9/5d/3b6725cb31d983c5e66916f5d36f6d7e5521129e4c4404d64f918292a5b6/numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605", size = 18357600, upload-time = "2026-05-18T23:34:52.709Z" }, + { url = "https://files.pythonhosted.org/packages/f7/da/2ccc6c2fe8898dee01d90c75c5f5f914a23daf99e3e0f59516a08760c8b5/numpy-2.4.6-cp313-cp313-win32.whl", hash = "sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91", size = 5961134, upload-time = "2026-05-18T23:34:55.618Z" }, + { url = "https://files.pythonhosted.org/packages/b5/cd/9cc4dc876fb065d5c220aae4d5e14826b2715331bb7618ce1fb07a679d99/numpy-2.4.6-cp313-cp313-win_amd64.whl", hash = "sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359", size = 12318598, upload-time = "2026-05-18T23:34:58.928Z" }, + { url = "https://files.pythonhosted.org/packages/39/1e/c0bcba1f8694116485fe28fd1be698c278fcda4141c5b0e53a2aed8b12a8/numpy-2.4.6-cp313-cp313-win_arm64.whl", hash = "sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778", size = 10222272, upload-time = "2026-05-18T23:35:02.167Z" }, + { url = "https://files.pythonhosted.org/packages/63/6d/cc5619247c8f4204e507f5883528372e4ac4bb189e579fb859a12e480b1f/numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1", size = 14821197, upload-time = "2026-05-18T23:35:05.468Z" }, + { url = "https://files.pythonhosted.org/packages/00/58/f1c39161c87d9e9bed660f1ed4bafc0e403d5ec9650b6dd77aead07d489b/numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe", size = 5326287, upload-time = "2026-05-18T23:35:08.693Z" }, + { url = "https://files.pythonhosted.org/packages/af/57/3917ab0fd97f271a8694513581b8a36c655f111c446852c302f04ccdb6fc/numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997", size = 6646763, upload-time = "2026-05-18T23:35:11.459Z" }, + { url = "https://files.pythonhosted.org/packages/eb/0f/037e64c494b67581ae18193d770adef354c41f3f2c8ebf865602d949bf8f/numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20", size = 15728070, upload-time = "2026-05-18T23:35:14.79Z" }, + { url = "https://files.pythonhosted.org/packages/21/a6/5d2bae9c9542eb4df16dc9c46dc79c186e9bad53805dfa5399a6023c6db0/numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d", size = 16681752, upload-time = "2026-05-18T23:35:18.836Z" }, + { url = "https://files.pythonhosted.org/packages/92/14/23d1dfb410ae362cd59ce53e936b1513d545eb40db3949ced632e19a459e/numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67", size = 17086024, upload-time = "2026-05-18T23:35:22.52Z" }, + { url = "https://files.pythonhosted.org/packages/4b/6e/23595a2c642cdf3bc567877064bdd7f91c8b0038a4453cf2daf7248eafe9/numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd", size = 18403398, upload-time = "2026-05-18T23:35:26.398Z" }, + { url = "https://files.pythonhosted.org/packages/8a/90/0ac3bc947217e66dec77e7cbc6a1979d1af70b6461b82f620d3bccd5e4c8/numpy-2.4.6-cp313-cp313t-win32.whl", hash = "sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab", size = 6084971, upload-time = "2026-05-18T23:35:29.387Z" }, + { url = "https://files.pythonhosted.org/packages/77/71/5673e351671a1d2bd6063b91b44f70c0affea7d1516fa7a6572941ba4aa1/numpy-2.4.6-cp313-cp313t-win_amd64.whl", hash = "sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75", size = 12458532, upload-time = "2026-05-18T23:35:32.175Z" }, + { url = "https://files.pythonhosted.org/packages/3f/88/19d3503c5046e688f049274b27a3ef3d771152fa80d3ba3d01a3dff61abe/numpy-2.4.6-cp313-cp313t-win_arm64.whl", hash = "sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd", size = 10291881, upload-time = "2026-05-18T23:35:35.465Z" }, + { url = "https://files.pythonhosted.org/packages/f8/91/3ab2044d05fd16d343c5ac2e69b127f1b2854040dd20b193257c78028bd3/numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079", size = 16683458, upload-time = "2026-05-18T23:35:38.353Z" }, + { url = "https://files.pythonhosted.org/packages/8e/62/764ce66fa4147ae6d73071a3abf804ffe606f174618697c571acdf26a7c9/numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7", size = 14704559, upload-time = "2026-05-18T23:35:42.14Z" }, + { url = "https://files.pythonhosted.org/packages/60/61/23f27c172f022e04025b7dc2367f4d63c1a398120607ec896228649a6f48/numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5", size = 5209716, upload-time = "2026-05-18T23:35:45.377Z" }, + { url = "https://files.pythonhosted.org/packages/03/71/21cf70dc6ea3e3acb95fc53a265b2fc248b981f0194ceb5b475271b8809d/numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096", size = 6543947, upload-time = "2026-05-18T23:35:47.926Z" }, + { url = "https://files.pythonhosted.org/packages/d5/91/64288395ee1799bd2e0b04a305dce9666da90c961e1f3fe982a05ee1c036/numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b", size = 15685197, upload-time = "2026-05-18T23:35:50.863Z" }, + { url = "https://files.pythonhosted.org/packages/f3/eb/ebffaa97dc55502df69584a8f0dcf07f69a3e0b3e2323670a2722db9aa39/numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8", size = 16638245, upload-time = "2026-05-18T23:35:54.752Z" }, + { url = "https://files.pythonhosted.org/packages/b8/0b/54f9da33128d7e350fab89c7455902eeae70349ee52bddb448dc4a576f45/numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402", size = 17036587, upload-time = "2026-05-18T23:35:58.355Z" }, + { url = "https://files.pythonhosted.org/packages/b6/f0/fdebc1052db1cc37c64beb22072d67cd6d1c71adca1299f53dec2b5e20d3/numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb", size = 18363226, upload-time = "2026-05-18T23:36:02.845Z" }, + { url = "https://files.pythonhosted.org/packages/aa/b4/298628d98c72b57e57f7165ae6a481a1deaf6f3c28262a6e4c739c275930/numpy-2.4.6-cp314-cp314-win32.whl", hash = "sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1", size = 6010196, upload-time = "2026-05-18T23:36:05.92Z" }, + { url = "https://files.pythonhosted.org/packages/df/ac/46de6dda46478f7942f839e094970be2d4a861e005c4b3bf07c92e291a09/numpy-2.4.6-cp314-cp314-win_amd64.whl", hash = "sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261", size = 12450334, upload-time = "2026-05-18T23:36:09.107Z" }, + { url = "https://files.pythonhosted.org/packages/78/92/b8b798ac784102c0da830d2257d59358e3d3d90d1e2b3f2575dad976c5cf/numpy-2.4.6-cp314-cp314-win_arm64.whl", hash = "sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6", size = 10495678, upload-time = "2026-05-18T23:36:12.766Z" }, + { url = "https://files.pythonhosted.org/packages/30/34/ec28d1aa8115971537c01469ab2011ee96827930f0a124de1000cc2a7ed7/numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a", size = 14823672, upload-time = "2026-05-18T23:36:16.473Z" }, + { url = "https://files.pythonhosted.org/packages/16/bd/f6d1fede4e54e8042a7ff97bb495510f3c220f94bcd9e8b228e87c92cc0d/numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e", size = 5328731, upload-time = "2026-05-18T23:36:19.767Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f0/e105b9e2fd728a9910103884decd6951d9dd73896b914a98d9a231de02ee/numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e", size = 6649805, upload-time = "2026-05-18T23:36:22.266Z" }, + { url = "https://files.pythonhosted.org/packages/82/dd/1206a7ca6ab15e3f02069707ca96222e202af681bb73756da7527f3cb837/numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43", size = 15730496, upload-time = "2026-05-18T23:36:25.713Z" }, + { url = "https://files.pythonhosted.org/packages/51/e7/38d3ea825dcab85a591734decb2f6c67caa7c8367d374df1a1c3842f9b07/numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e", size = 16679616, upload-time = "2026-05-18T23:36:29.652Z" }, + { url = "https://files.pythonhosted.org/packages/93/b7/caabfdf53edf663e0b4eb74d7d405d83baef09eb5e83bcd32d601d72b93e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895", size = 17085145, upload-time = "2026-05-18T23:36:33.449Z" }, + { url = "https://files.pythonhosted.org/packages/f9/45/68d7c33a6bcf3e5aa3bdbd57a367e6f615286dfd6482f97e8ffeb734306e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4", size = 18403813, upload-time = "2026-05-18T23:36:37.369Z" }, + { url = "https://files.pythonhosted.org/packages/9c/50/0753655aa844c99cd9e018aacf76f130f1bd81d881bb74bc0aef5d73a8ba/numpy-2.4.6-cp314-cp314t-win32.whl", hash = "sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063", size = 6156982, upload-time = "2026-05-18T23:36:40.817Z" }, + { url = "https://files.pythonhosted.org/packages/b2/d4/7c67becf668f973cb490cec3e98dfd799d866f9c989a54d355672cfa0db6/numpy-2.4.6-cp314-cp314t-win_amd64.whl", hash = "sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627", size = 12638908, upload-time = "2026-05-18T23:36:43.996Z" }, + { url = "https://files.pythonhosted.org/packages/43/bb/e1c71a4295b1b1d1393d50dbb4f2a36283c6859d9d3892e84f00ec5a91d5/numpy-2.4.6-cp314-cp314t-win_arm64.whl", hash = "sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66", size = 10565867, upload-time = "2026-05-18T23:36:47.114Z" }, + { url = "https://files.pythonhosted.org/packages/de/12/b422cc84439adc0d00de605bf4a308890ae5c26f2c71fbd73e5d08fbb0dd/numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662", size = 16847511, upload-time = "2026-05-18T23:36:50.673Z" }, + { url = "https://files.pythonhosted.org/packages/44/53/f481bef68011740f8849418d82db07230e825013f31f4eef5ba5b805316a/numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7", size = 14889064, upload-time = "2026-05-18T23:36:53.879Z" }, + { url = "https://files.pythonhosted.org/packages/7f/57/42ed575c10ced8af951d426bc4e1f8aff16fd851db33f067036215a7f860/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f", size = 5394157, upload-time = "2026-05-18T23:36:57.194Z" }, + { url = "https://files.pythonhosted.org/packages/6a/ef/f66cc724fcc36c1e364c67f51ae9146090b8b584f27d58b97fdae3edd737/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c", size = 6708728, upload-time = "2026-05-18T23:36:59.575Z" }, + { url = "https://files.pythonhosted.org/packages/1a/9c/c531f2293b91265d8b48e9b329f54fdd7ffae73cb4134ea10cca4237e9cc/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0", size = 15798374, upload-time = "2026-05-18T23:37:02.674Z" }, + { url = "https://files.pythonhosted.org/packages/1a/b0/413077f6b1153ed3cba361401c6783bbad6114804a000cc22eb71c13e190/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02", size = 16747286, upload-time = "2026-05-18T23:37:06.327Z" }, + { url = "https://files.pythonhosted.org/packages/15/ce/e5ec180bc41812edcd8daeb8639d205622c0e8c02259d8ab25a0201b3c2a/numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73", size = 12504263, upload-time = "2026-05-18T23:37:09.715Z" }, +] + +[[package]] +name = "numpy" +version = "2.5.2" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.12'", +] +sdist = { url = "https://files.pythonhosted.org/packages/9a/80/db0b4559e57ec36362bedbb05530a87fafbcb6067708c946967a41d449e7/numpy-2.5.2.tar.gz", hash = "sha256:d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860", size = 20773161, upload-time = "2026-08-09T13:48:27.962Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/72/dccb0aaf40972777283303919f613964227266d0c13adebb79ac124f1c3e/numpy-2.5.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:14e373cfc6387177e8409dac3c7159be8eb05cd77096cd7c950268b86f62831c", size = 16891693, upload-time = "2026-08-09T13:44:51.702Z" }, + { url = "https://files.pythonhosted.org/packages/60/2e/b5aee50a1f74ac815cf8331812cb8251e29024025de462e0c047641c614c/numpy-2.5.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4bbd96c833ecc8cc069ce518078fc8c60cb9cbfb0fea5b7a803ad65035596d03", size = 11903109, upload-time = "2026-08-09T13:44:55.501Z" }, + { url = "https://files.pythonhosted.org/packages/f3/f4/29e78102a80601cf034d4e9767022cffeca2c3b4c926e1754572ca95593d/numpy-2.5.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:6e8172ddfcf5cf74b811d372b570b83c60bd2de87a6fbfbebdadb4a9bd9c6cbb", size = 5350202, upload-time = "2026-08-09T13:44:58.401Z" }, + { url = "https://files.pythonhosted.org/packages/11/4b/dcd3b7eadaf4035d2c7a4289d232523a6964f602598ef7674e4bd7291f93/numpy-2.5.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:65f188481f1669e26f62b701e8205d19e460fa4a9b52a1414ba382330e4a3414", size = 6687736, upload-time = "2026-08-09T13:45:00.813Z" }, + { url = "https://files.pythonhosted.org/packages/e5/21/4947e0e9d6c9fc2e2ff15b8949049ee44f63adb9cacc729ab8793f97e712/numpy-2.5.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8ee9c4eeb8454b3660a8b53493563c3e121c2fc94fbd72b848ef814ed7b676a9", size = 15612696, upload-time = "2026-08-09T13:45:04.151Z" }, + { url = "https://files.pythonhosted.org/packages/3a/5f/62d28cf019460c7f1394105b4d49d9911a9c444cb77ab0bd95a204c5a6de/numpy-2.5.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3cdec01fa790a186d430433fdd4d4ffb70eed6f0eeb4bf05c8dbe2dce0a9bcb8", size = 16722264, upload-time = "2026-08-09T13:45:07.714Z" }, + { url = "https://files.pythonhosted.org/packages/14/25/3f0be4c1b9fdf5dd5e708a6806978564d7c46a055c000496309ff2a2f8af/numpy-2.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:7999d4ddb0c4025018373fd787510d46e04c769467af22869707b3c1cfd459ab", size = 16974396, upload-time = "2026-08-09T13:45:11.316Z" }, + { url = "https://files.pythonhosted.org/packages/22/72/6262cbdeeb45da9d971e40715f579d791603ba8ec0b5e2db1ac55454421d/numpy-2.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c1f017dc0875c9209d219f97feceb7d54c2661bb243deb4114478e1295808af7", size = 18476044, upload-time = "2026-08-09T13:45:14.869Z" }, + { url = "https://files.pythonhosted.org/packages/36/33/29208b8b075bde62d26a81d14b358c42b0f69b6cabd98d4ff97f37f22b05/numpy-2.5.2-cp312-cp312-win32.whl", hash = "sha256:d6a48072864e3324e194a8fbb3c657bcc5b5c869dbc64c9537b1d5c862572c0a", size = 6072817, upload-time = "2026-08-09T13:45:17.867Z" }, + { url = "https://files.pythonhosted.org/packages/7f/b9/87fea2769fe1c47c1b5b01d8310772c9d1a85d485de7cf386ef7a3332b02/numpy-2.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:28ac63476ec7651484215ee7fa15a1f78b57c14621f01e392afe17b9a1390ce4", size = 12464674, upload-time = "2026-08-09T13:45:20.734Z" }, + { url = "https://files.pythonhosted.org/packages/14/52/032b97e00461ab0809bbe4c588b035620e5a14b8cdee47ecddefc7b17d33/numpy-2.5.2-cp312-cp312-win_arm64.whl", hash = "sha256:27650bb0e7140fa3d37b9923b4803645e0b125d190f326eecfd3f4dad8e8ade1", size = 10397131, upload-time = "2026-08-09T13:45:23.73Z" }, + { url = "https://files.pythonhosted.org/packages/f5/d2/6b24738a0ef4557d189b150046cd07823c50e4273e8aebd651222e24306f/numpy-2.5.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8e4cb9a754c8a0c62eaa88273a5fba3391f4a610d1dee893c0755da31c083f15", size = 16886595, upload-time = "2026-08-09T13:45:27.323Z" }, + { url = "https://files.pythonhosted.org/packages/65/60/f2d208d366f263f39c6e69ed309290717aab41078b6d04c9be2a84fa2a07/numpy-2.5.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:52c808f96484f5571a5cc863775ce50247c17dfb3b0361f8ed6b4b0456f80080", size = 11896845, upload-time = "2026-08-09T13:45:31.638Z" }, + { url = "https://files.pythonhosted.org/packages/3c/79/81e0bf24f4d020a2b1d5cd297a9f60c3f24eeb116f9bba5870443f7b6a4a/numpy-2.5.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:29d81e97f668489cba8ebfd796b9bdd453525d35dd9e162e2daec94bf3fc7740", size = 5343880, upload-time = "2026-08-09T13:45:34.373Z" }, + { url = "https://files.pythonhosted.org/packages/ba/cc/e3141cf06d1a8a2c7e107543fe1269c1d1af760d4d683c0794a4ee1127c2/numpy-2.5.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:afb3f0632d6b2e3ba04dbce8d1e48d321b369138b73830b5ca371a0e8d479d56", size = 6682264, upload-time = "2026-08-09T13:45:36.7Z" }, + { url = "https://files.pythonhosted.org/packages/29/f1/2a64a307d92c5d98f5255a4014eb43bb6103ee477087b61ecae44a3aa9b9/numpy-2.5.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0aadf13b60048d501e05fa699efaf7734e2494f3498a4c2a5521d822640324f3", size = 15609566, upload-time = "2026-08-09T13:45:39.518Z" }, + { url = "https://files.pythonhosted.org/packages/7b/44/59a1eb68e773c4098d107ef34a0dbdeca501d72ffcfbff9a7707343921ce/numpy-2.5.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29b86ff8a6cc556b47ec6b64b194815cc80e6bf5eedcc6cddfd65318cb0b4eee", size = 16709995, upload-time = "2026-08-09T13:45:43.661Z" }, + { url = "https://files.pythonhosted.org/packages/8a/4c/3e54d4ddbc359a1295f8b633e8106bcd4d7d4a206e82df051bdfb3058755/numpy-2.5.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6950c4b7dd562453090548ba7f5da7e59f57f85663f15d5dcc60e249192f7e59", size = 16972511, upload-time = "2026-08-09T13:45:47.094Z" }, + { url = "https://files.pythonhosted.org/packages/f2/9f/02e371638ebf19b66d46231e4be52999e87f32d1961b113bc45656608b22/numpy-2.5.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b9727f472d2f3888053b8a75ab0cb94745a9de224bb5846dbadc0092101bc71d", size = 18465609, upload-time = "2026-08-09T13:45:50.808Z" }, + { url = "https://files.pythonhosted.org/packages/eb/ae/ad6645abc7a3510fe48e8ea1ab4598166f500057ef4ebf38bfad4f1577de/numpy-2.5.2-cp313-cp313-win32.whl", hash = "sha256:4f9744f9fbdcea0bc552e8f19e1f141f811a3f9bc2be2cc6e86d982cab23e3f4", size = 6070204, upload-time = "2026-08-09T13:45:54.111Z" }, + { url = "https://files.pythonhosted.org/packages/15/20/f3489f86d81ea460b2bcdceaed094142ca6579f6be0ec527b781d39afe68/numpy-2.5.2-cp313-cp313-win_amd64.whl", hash = "sha256:85aaccb24182c25df891ad0ec333585967e115269d5f1b17f2c9ae005bc96657", size = 12460532, upload-time = "2026-08-09T13:45:57.167Z" }, + { url = "https://files.pythonhosted.org/packages/d5/21/35b31dde1b283b79de828b80f876afd8c94e28fe1e9c375f89e261cc4c0d/numpy-2.5.2-cp313-cp313-win_arm64.whl", hash = "sha256:bd68ece1553d2023c09a4226d9e41c586ad2d20594d1a456186c33513d2cb3f2", size = 10396725, upload-time = "2026-08-09T13:46:00.478Z" }, + { url = "https://files.pythonhosted.org/packages/ac/f8/c3b222bf075b50afd8e949a07a15c4b312a4a84bd8102a332bcd953cbbb4/numpy-2.5.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d787cf769c3baeb5f6235e778edb52c08dfa923789b5958f28e6450f96107cb1", size = 16885180, upload-time = "2026-08-09T13:46:03.939Z" }, + { url = "https://files.pythonhosted.org/packages/17/e1/2c1d4b1987795a92b5bbf7c24fe249ab96aa2573ab0d7604802c189d7b86/numpy-2.5.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:24b9dc2e3d84aa58523798805194e23e736f3f6ce2d1a5b92583ae734e6dbda8", size = 11907878, upload-time = "2026-08-09T13:46:07.045Z" }, + { url = "https://files.pythonhosted.org/packages/b9/ee/d08226fc858044355983a6e5b94f08ff6f3969e0a2b160a4a89f0ddb3445/numpy-2.5.2-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:9e9413326d726c2545bfa65d2c0876871e8d8386e77f992c1d426e180bbd4323", size = 5354922, upload-time = "2026-08-09T13:46:10.04Z" }, + { url = "https://files.pythonhosted.org/packages/94/f0/6d3d933056440ebbc5e6bad92065fc6c26a48a84a36b1208580e94eea76c/numpy-2.5.2-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:60e902ac295855348a5ca2ea4c89108989a9f5fddfad3dfc0a8f36b10358567e", size = 6679168, upload-time = "2026-08-09T13:46:12.275Z" }, + { url = "https://files.pythonhosted.org/packages/c4/3b/ecd49dd90033cceb2704d88ca905d4d7d89b0e8c739608754ffd325fa820/numpy-2.5.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:50e500dc868e9313530ce12ba470fe50ff3afe3d62993ed6eff652dacd555b65", size = 15624501, upload-time = "2026-08-09T13:46:15.322Z" }, + { url = "https://files.pythonhosted.org/packages/c7/99/461bd36dbdfac6c1c53efa370bd55a83227542d0d118f1677dbf1a3dacd5/numpy-2.5.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:318b9a4c845dbea06708a29c84ee429cc3065048db34cdb799047643492050ee", size = 16713701, upload-time = "2026-08-09T13:46:18.949Z" }, + { url = "https://files.pythonhosted.org/packages/f9/9c/2b251df9e8a5d647b62b0cbc1b90a91850c1cf4859ecb532fd0b4eacff6c/numpy-2.5.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:34c319e2963be042673fb46570501b2f06c41924e17e3563d58646b4380dfb68", size = 16986065, upload-time = "2026-08-09T13:46:23.006Z" }, + { url = "https://files.pythonhosted.org/packages/8f/25/20de43f53ff1390534a124475055a19f01fe10c920a0fd11b8e18d6d6052/numpy-2.5.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f06571a052127dc1b4e8b83029b4d1b20daa2b64a31cdd181fc6bc774e9000eb", size = 18470031, upload-time = "2026-08-09T13:46:27.102Z" }, + { url = "https://files.pythonhosted.org/packages/56/5e/0c577ca308d6da5eb79b546ba10bbe5b60148192194e2da060913b1de4f1/numpy-2.5.2-cp314-cp314-win32.whl", hash = "sha256:2cc779226e476d1e1f08c74068c419e60f41a9e0e069c92f6671d31d5c985e98", size = 6121028, upload-time = "2026-08-09T13:46:30.046Z" }, + { url = "https://files.pythonhosted.org/packages/15/5c/7bcbd5b11f94199073320410cddcbb80cee62415bfeb540874b265c2d922/numpy-2.5.2-cp314-cp314-win_amd64.whl", hash = "sha256:7587f53dfbd5edc0f7b87c6217b4c6d2d1f2ef9c3da70bc1315e7db5f8d7ec9d", size = 12597627, upload-time = "2026-08-09T13:46:32.886Z" }, + { url = "https://files.pythonhosted.org/packages/87/bc/4d0b06fba0da90ccc75af62823cb9dcedb6c9ea0cffa058cb2c9ee773a77/numpy-2.5.2-cp314-cp314-win_arm64.whl", hash = "sha256:3e4c367352d3747784248a227fbec218e193b56f7e6692e3b64fc805478ecfdf", size = 10680414, upload-time = "2026-08-09T13:46:36.036Z" }, + { url = "https://files.pythonhosted.org/packages/cd/17/f429aac9dc08833a0d0f188eba38c532a751b1a1f2ca6018a37b455cb321/numpy-2.5.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b879fb674276e331513fb136b78dbc6bd3c848309e0d841cfd63be3896c4cfc1", size = 12026967, upload-time = "2026-08-09T13:46:39.084Z" }, + { url = "https://files.pythonhosted.org/packages/ca/9f/d0849de96a2a4ceaa16662f18ee13eaa9c0aa418269fdc8c4857c56b11da/numpy-2.5.2-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:fd0d703772bba096843785bd38371e31bb4a0c1151497ad5739d182114a73f7f", size = 5473874, upload-time = "2026-08-09T13:46:42.075Z" }, + { url = "https://files.pythonhosted.org/packages/89/3c/8df216d4a4a5422a3de045301cf7df8ea47286d76f5cb7160b0128ac26b7/numpy-2.5.2-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:3a2f061cebd9e3d23bdcfaaded5e2293a4c6a5b60fa42df85d410a725ce621bf", size = 6789276, upload-time = "2026-08-09T13:46:44.387Z" }, + { url = "https://files.pythonhosted.org/packages/e6/3a/20d7e9891c4ddfadd6ff8d95bf4b29f353d8e1770553de2099880551dfb9/numpy-2.5.2-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6df895598c0edcb41030126c89e0f353b07d93238116143b7405e937359736c4", size = 15659154, upload-time = "2026-08-09T13:46:47.538Z" }, + { url = "https://files.pythonhosted.org/packages/aa/d6/f3aa3d2688bf501b858835c6bd087ae9b51a56ae6fca8e2b0990abd177af/numpy-2.5.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1ab3d4a901f844ea836c3e80bf463c6a27d7f3c14e8e292fcf28d348b25b9bce", size = 16748909, upload-time = "2026-08-09T13:46:51.442Z" }, + { url = "https://files.pythonhosted.org/packages/7d/8f/1c5cae8d2baf86ab802ae97a00be55bc7e21ebc11b12bbc33376c5f05342/numpy-2.5.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:cebc2d6dbb605a7703d59751dea4bd6b0ab127a5a4338a6f432df1936fef8b26", size = 17027685, upload-time = "2026-08-09T13:46:55.095Z" }, + { url = "https://files.pythonhosted.org/packages/5c/27/71d3467404aedc1c24ce79610f91b52b0b0f466c43a701aa56fc75c145ab/numpy-2.5.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:eaca7ff36f0f52e2111ec71f169d8fd3e889e7ddc0d2592e0d703fd8d3ce8fac", size = 18501181, upload-time = "2026-08-09T13:46:59.09Z" }, + { url = "https://files.pythonhosted.org/packages/14/2f/42921d27c40aea7e077f4a423ae509fd9220b028cd787bafefd8ab2b3a5f/numpy-2.5.2-cp314-cp314t-win32.whl", hash = "sha256:ddf47472af2e4280d79bac82304f5e80150211f1b9e614b760061d5fdfbb6eba", size = 6271085, upload-time = "2026-08-09T13:47:01.903Z" }, + { url = "https://files.pythonhosted.org/packages/75/e6/bad5f5d56de9b1971bac959963dda276d35c40f1854475005434bbe08692/numpy-2.5.2-cp314-cp314t-win_amd64.whl", hash = "sha256:44ef9675d908e65f9953063837c3277730f3f4437615a4cdab67b366cabaf884", size = 12787971, upload-time = "2026-08-09T13:47:04.963Z" }, + { url = "https://files.pythonhosted.org/packages/df/05/f608795cb34391acd67e38d94a3c36abd8d8576293a3a80727d7595c372c/numpy-2.5.2-cp314-cp314t-win_arm64.whl", hash = "sha256:eaa088384c46f519dacb93b7ec483a6d6b19a4a2085ae4f25ab9b1c43d387d1e", size = 10750306, upload-time = "2026-08-09T13:47:07.976Z" }, + { url = "https://files.pythonhosted.org/packages/33/c6/28de0191c5f82b7d42a0a51390ba98587048aa93a39fafb05bdbe6e8d00c/numpy-2.5.2-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:078f9b027b478c9379b9677babbf0f8b8f1ecfada27636d7b9a93990c638739f", size = 16885274, upload-time = "2026-08-09T13:47:11.439Z" }, + { url = "https://files.pythonhosted.org/packages/dd/d1/973ca116000d244897e468ea1aff30b589e5022e3c8744b71706fe33bd57/numpy-2.5.2-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:50a68f4bacd8a2b33d8da3d2269d0d78500f86ea582e4786dc10f5ef2c2c6842", size = 11907846, upload-time = "2026-08-09T13:47:15.128Z" }, + { url = "https://files.pythonhosted.org/packages/78/d9/8c4b3937ef204cb2fd88d389ccd0f265a2ffb11f35a01d2064cf46714bd6/numpy-2.5.2-cp315-cp315-macosx_14_0_arm64.whl", hash = "sha256:e79aba74ffaf5f78a050d777c184cddf8fdffabab38acf5f3ef1fecbc17895d6", size = 5354892, upload-time = "2026-08-09T13:47:18.07Z" }, + { url = "https://files.pythonhosted.org/packages/74/9b/b6ee65ea2999fdb7023935e108e6fb776ee4082aa15f159acfa857e578c8/numpy-2.5.2-cp315-cp315-macosx_14_0_x86_64.whl", hash = "sha256:9a0731745a72a184490a582fb4af2533512bd071ace67785b5fdffc0ae58dce8", size = 6679309, upload-time = "2026-08-09T13:47:20.456Z" }, + { url = "https://files.pythonhosted.org/packages/43/f3/acb18d8b137a393c8e7803a8c994c9e64bde3930692a69d826993113a159/numpy-2.5.2-cp315-cp315-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4ec954036759bcee3aa484f8603bd9c14f3e776293b85578b8734c2d72777c69", size = 15625850, upload-time = "2026-08-09T13:47:24.365Z" }, + { url = "https://files.pythonhosted.org/packages/a9/bf/a8e9bb0db815a0e265b5744ebedd3af0bd5faad8604e5b50a1cd012f3c91/numpy-2.5.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dc649493697006bc90614a5f0bbc8cb3cb1866715c474e473694968d7e6b99ab", size = 16713664, upload-time = "2026-08-09T13:47:27.965Z" }, + { url = "https://files.pythonhosted.org/packages/0c/c3/6e913736b3dd6582344af32418b5fb9dab34282e8a8174ae1d54ceb0fc13/numpy-2.5.2-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:cf7de32f486e4ac9e2d93b810f9e9ac72a728dd46a32a0bb403222f27f653514", size = 16986749, upload-time = "2026-08-09T13:47:31.541Z" }, + { url = "https://files.pythonhosted.org/packages/80/09/7d3b23eff5c7428ef6c01e6f7052bb60d504c4d33e317b36b8959c24ad97/numpy-2.5.2-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2ffa7bacab3e2ee1b19ed31766bb60bb380b68c23f051e199c5cc598afd68710", size = 18470495, upload-time = "2026-08-09T13:47:35.364Z" }, + { url = "https://files.pythonhosted.org/packages/a5/a4/68a321d825374f6eb677ffe8ef8c6b9a328304e6fd2e39d9530822776607/numpy-2.5.2-cp315-cp315-win32.whl", hash = "sha256:6b588cc8f902d6bff201c19fd00c43ab8545671e3554d014e12e14139e5e8617", size = 6120696, upload-time = "2026-08-09T13:47:38.561Z" }, + { url = "https://files.pythonhosted.org/packages/c8/23/deafbb1700f79fae9cd1e91220f133d124cc267de1b584da3fbf6db2f6cd/numpy-2.5.2-cp315-cp315-win_amd64.whl", hash = "sha256:07d4e89f3a9ab0a9ba24264ccdb642b3dd951b2281e8883a5481a4aa79cc31a7", size = 12597324, upload-time = "2026-08-09T13:47:41.401Z" }, + { url = "https://files.pythonhosted.org/packages/33/cd/3272ba105e3bbbdaeb11357eda31e7a6825ffe159e8171665660299a948f/numpy-2.5.2-cp315-cp315-win_arm64.whl", hash = "sha256:a610dc7e3c52edd39c2bc2375ff9c3fd59cb3ad00e4472d36f83bc1457145788", size = 10680466, upload-time = "2026-08-09T13:47:44.873Z" }, + { url = "https://files.pythonhosted.org/packages/0e/0e/58370637b1bb70a5c9ce2b43f4b521ccb224e36ccb76a6596b17ae4b447c/numpy-2.5.2-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:40f4d451aed46a8046a1aae41c4e55fb3612273df9c502480135e1501576a34b", size = 16993947, upload-time = "2026-08-09T13:47:48.97Z" }, + { url = "https://files.pythonhosted.org/packages/10/93/2abcb807712b289d6d60fe4cf30532f98974a8396d885650f3ba5a13026e/numpy-2.5.2-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:c081cbe16ba1ab53078e5ff29013621e33c509eedab055775d956427712c236e", size = 12025331, upload-time = "2026-08-09T13:47:52.646Z" }, + { url = "https://files.pythonhosted.org/packages/8b/3a/2898e003a5fbaf87e76c039b4ee1f5eb390471b4ffe74887c1f34c4e791e/numpy-2.5.2-cp315-cp315t-macosx_14_0_arm64.whl", hash = "sha256:0090ccdd57ec2703e9b49d0bf554767370581c1dd0a6b2bb2b2d9def317d042a", size = 5472336, upload-time = "2026-08-09T13:47:55.403Z" }, + { url = "https://files.pythonhosted.org/packages/61/a5/23f69d07c544597b29758b31b55c27dc9d541012a2c1496189fef702aec2/numpy-2.5.2-cp315-cp315t-macosx_14_0_x86_64.whl", hash = "sha256:6a9bb119fb8dd21ba30b3f0e555b7e2b081bd9883af21ec9c1c633d161cda3a8", size = 6788387, upload-time = "2026-08-09T13:47:58.192Z" }, + { url = "https://files.pythonhosted.org/packages/15/ea/c0dbdbcf22f43782510a3e492dd3da73c6112b69cac8929d16d127536fc4/numpy-2.5.2-cp315-cp315t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a839318485284a6fb31be4f8f2c91c8f2cb22f4543c4a8903f12b0671ffe07cc", size = 15667096, upload-time = "2026-08-09T13:48:01.562Z" }, + { url = "https://files.pythonhosted.org/packages/fc/5e/29c73c31748cdb0f7566642125ba17fd5b56780cddf891b085dab27e4466/numpy-2.5.2-cp315-cp315t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba0a474801b8dc67b66bf465548abc90e82b44d2611b5770f33008dcabffe8ec", size = 16751730, upload-time = "2026-08-09T13:48:05.706Z" }, + { url = "https://files.pythonhosted.org/packages/47/95/02501e8454796bb58dadf7a99d3181e0b464bf264e1003039572f9779fac/numpy-2.5.2-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:0a4035ae1129ff8777f08bfbd44f1e5d8e9c049ce0c2dd78fc0d92c13e7251c0", size = 17038686, upload-time = "2026-08-09T13:48:09.627Z" }, + { url = "https://files.pythonhosted.org/packages/0e/b5/53a681d91b5c82687067d8ea5035e02d917b5509d6f334cb06484a954714/numpy-2.5.2-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:77843ca236b777e67f8d6b3660ea116e499612703a0ecd7093f316201eb9d8e2", size = 18507727, upload-time = "2026-08-09T13:48:13.744Z" }, + { url = "https://files.pythonhosted.org/packages/42/06/6e11443f7b64ee376c860506091103bf68f92d2cab9e8d96d4501babf07c/numpy-2.5.2-cp315-cp315t-win32.whl", hash = "sha256:7354826bc6f8f69402e9b7fe28d15fcd34feebd74f856f111585c5b0c9fb0251", size = 6269775, upload-time = "2026-08-09T13:48:17.543Z" }, + { url = "https://files.pythonhosted.org/packages/f1/18/195d6b86cd72dbbc501edfa778005fa6b87afd34c153e46028cd3a0938f4/numpy-2.5.2-cp315-cp315t-win_amd64.whl", hash = "sha256:e5651f3f87add730ee6608d915009e19c911fba0cb000c7e3ea994b7d768eb12", size = 12782559, upload-time = "2026-08-09T13:48:21.023Z" }, + { url = "https://files.pythonhosted.org/packages/b4/07/458c344f0f0c178f4481dad5cca790626ffe4c34eabf9467069d06ee4999/numpy-2.5.2-cp315-cp315t-win_arm64.whl", hash = "sha256:5f8e00be2ec6f45f4e8a41a527f68d44a7d96fee92a650e4d8b1326f77f61e6e", size = 10748103, upload-time = "2026-08-09T13:48:24.21Z" }, +] + +[[package]] +name = "optuna" +version = "4.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "alembic" }, + { name = "colorlog" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.4.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.11.*'" }, + { name = "numpy", version = "2.5.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "sqlalchemy" }, + { name = "tqdm" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f4/aa/05f5e3f662cc96a4c478fc3446b8ed6359825a2b504ecb614a9ac84e4a4d/optuna-4.9.0.tar.gz", hash = "sha256:b322e5cbdf1655fb84c37646c4a7a1f391de1b47806bbe222e015825d0a82b87", size = 485834, upload-time = "2026-06-01T06:23:30.424Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ab/f3/e5fcd5d9b15771ed6dc10e3a7eeddc672e418f4f4c4653d216cc1d857e2d/optuna-4.9.0-py3-none-any.whl", hash = "sha256:f52f3be6148654850c92a5860d398fd88ec6b2c84ab68d9c3d07dcff02e7afee", size = 425553, upload-time = "2026-06-01T06:23:28.804Z" }, +] + +[[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 = "petrinaut-optimizer-core" +version = "0.1.0" +source = { editable = "." } +dependencies = [ + { name = "optuna" }, +] + +[package.dev-dependencies] +dev = [ + { name = "basedpyright" }, + { name = "pytest" }, + { name = "ruff" }, +] + +[package.metadata] +requires-dist = [{ name = "optuna", specifier = ">=4.9,<5" }] + +[package.metadata.requires-dev] +dev = [ + { name = "basedpyright", specifier = ">=1.39.10" }, + { name = "pytest", specifier = ">=8.3" }, + { name = "ruff", specifier = ">=0.16.4" }, +] + +[[package]] +name = "pluggy" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, +] + +[[package]] +name = "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.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, +] + +[[package]] +name = "pyyaml" +version = "6.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/a0/39350dd17dd6d6c6507025c0e53aef67a9293a6d37d3511f23ea510d5800/pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b", size = 184227, upload-time = "2025-09-25T21:31:46.04Z" }, + { url = "https://files.pythonhosted.org/packages/05/14/52d505b5c59ce73244f59c7a50ecf47093ce4765f116cdb98286a71eeca2/pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956", size = 174019, upload-time = "2025-09-25T21:31:47.706Z" }, + { url = "https://files.pythonhosted.org/packages/43/f7/0e6a5ae5599c838c696adb4e6330a59f463265bfa1e116cfd1fbb0abaaae/pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8", size = 740646, upload-time = "2025-09-25T21:31:49.21Z" }, + { url = "https://files.pythonhosted.org/packages/2f/3a/61b9db1d28f00f8fd0ae760459a5c4bf1b941baf714e207b6eb0657d2578/pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198", size = 840793, upload-time = "2025-09-25T21:31:50.735Z" }, + { url = "https://files.pythonhosted.org/packages/7a/1e/7acc4f0e74c4b3d9531e24739e0ab832a5edf40e64fbae1a9c01941cabd7/pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b", size = 770293, upload-time = "2025-09-25T21:31:51.828Z" }, + { url = "https://files.pythonhosted.org/packages/8b/ef/abd085f06853af0cd59fa5f913d61a8eab65d7639ff2a658d18a25d6a89d/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0", size = 732872, upload-time = "2025-09-25T21:31:53.282Z" }, + { url = "https://files.pythonhosted.org/packages/1f/15/2bc9c8faf6450a8b3c9fc5448ed869c599c0a74ba2669772b1f3a0040180/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69", size = 758828, upload-time = "2025-09-25T21:31:54.807Z" }, + { url = "https://files.pythonhosted.org/packages/a3/00/531e92e88c00f4333ce359e50c19b8d1de9fe8d581b1534e35ccfbc5f393/pyyaml-6.0.3-cp310-cp310-win32.whl", hash = "sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e", size = 142415, upload-time = "2025-09-25T21:31:55.885Z" }, + { url = "https://files.pythonhosted.org/packages/2a/fa/926c003379b19fca39dd4634818b00dec6c62d87faf628d1394e137354d4/pyyaml-6.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c", size = 158561, upload-time = "2025-09-25T21:31:57.406Z" }, + { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" }, + { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" }, + { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" }, + { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" }, + { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" }, + { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" }, + { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" }, + { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" }, + { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" }, + { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" }, + { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" }, + { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" }, + { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" }, + { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" }, + { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" }, + { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" }, + { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" }, + { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" }, + { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, + { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, + { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, + { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, + { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, + { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, + { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, + { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, + { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, + { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" }, + { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" }, + { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" }, + { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" }, + { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" }, + { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" }, + { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" }, + { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" }, + { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" }, + { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" }, +] + +[[package]] +name = "ruff" +version = "0.16.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f3/85/c8e12473c93018f92d19dd988a294202e1c27426c47ec4de53ffb847b8d8/ruff-0.16.5.tar.gz", hash = "sha256:1b88500f9ffbcab3dedb0082c9f9492e91ec3d618aac1236a3e0189938f7040b", size = 4912003, upload-time = "2026-08-27T16:34:18.258Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c6/b6/77c90a970fe2dae17a723acbd011043ea97c98d7deacccefdc4ba74ec512/ruff-0.16.5-py3-none-linux_armv6l.whl", hash = "sha256:12e5f673e774c35fbb62f288809c7653b73445f8ecec6b6063fd6ea3521aa14b", size = 10011941, upload-time = "2026-08-27T16:33:41.287Z" }, + { url = "https://files.pythonhosted.org/packages/4b/46/6cf67cf6411885a1d6f7f6d801682f155536a85176d10b605e2ceffed8bd/ruff-0.16.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:eda58a5802de40e7ed5b32b64e0b32539338cc6fcd2c78f61e3ad6a0d79f51c3", size = 10204049, upload-time = "2026-08-27T16:33:44.056Z" }, + { url = "https://files.pythonhosted.org/packages/46/fd/c8720ca7a090abf0c2fef4abe8a5ef6e5127ed15196d8886ff75a2b370e2/ruff-0.16.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c5ae9a7b9a8875131f40f8fe967cc86abf899779efd663cb7ce3d572d01da7eb", size = 9809037, upload-time = "2026-08-27T16:33:46.257Z" }, + { url = "https://files.pythonhosted.org/packages/43/45/a684caacdedaca180f52bacccc40bf0789d2c5a7c75f25324853e9eaedb5/ruff-0.16.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7b719b0a1f4d59710d283ab2965f621684a108a9e41da622e3b23f0326cd0025", size = 9964129, upload-time = "2026-08-27T16:33:48.352Z" }, + { url = "https://files.pythonhosted.org/packages/9e/f2/5d2bcdaca6b5b93d1b4dfc166cd2aebf7680143a1b38a28759df13a94d31/ruff-0.16.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2298f2780ed1be0c5cb1361e32ab7b1467f3cce7dabe101d2210a314f2fe42e9", size = 9821518, upload-time = "2026-08-27T16:33:50.57Z" }, + { url = "https://files.pythonhosted.org/packages/aa/ff/011cce29accf9257d5974145b733fc653a37985ed6825413a3987cefbfe0/ruff-0.16.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:258f29035a2dd021e7861e631b227a5b3f14e50c1184c9a6a122c5f4576154d7", size = 10534835, upload-time = "2026-08-27T16:33:52.522Z" }, + { url = "https://files.pythonhosted.org/packages/d7/5a/f0cf109bada9bba0e96c90c21c9f9251803f57225c32d293327a03c710d6/ruff-0.16.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b9a4f0432966834019c74d1b7e5c51224305d7713f3d7faf3e7451f1a3be3cde", size = 11252550, upload-time = "2026-08-27T16:33:54.521Z" }, + { url = "https://files.pythonhosted.org/packages/63/4d/1d481aaea2046c6a7ed7c291f9004c669cce3c087b6b376ed5b08271e3fe/ruff-0.16.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b5eb3a8c3d0ade9cea42b591fd530368e8798380e30e0a308b85a5cf718f09ea", size = 10777949, upload-time = "2026-08-27T16:33:56.88Z" }, + { url = "https://files.pythonhosted.org/packages/ee/34/ee245ca55f64443233034b3d02b03236b19242004281247c079390b7facd/ruff-0.16.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ef0f69e191a13a3c9816f63163c88790cb12cd157bbbb384e9c44745702ab105", size = 10311656, upload-time = "2026-08-27T16:33:59.12Z" }, + { url = "https://files.pythonhosted.org/packages/a7/4d/c33a333e341c0a2b96c715b52d89a606f5a34cd4ac493cd9b8d0187186b8/ruff-0.16.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:0eeab41fbea2c42f98dfb9822cdccda9d24ba38d49f6dc945b5c236d48f0ef29", size = 10532125, upload-time = "2026-08-27T16:34:01.166Z" }, + { url = "https://files.pythonhosted.org/packages/30/e1/a64cef78b40192497bb98a27a8aa8f2c98ee9ee15bc97f7712d94ef32937/ruff-0.16.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:f0768e9df4300713fff30733c87575f68b6f1d8de41184e505b7fdd9c0c95eaf", size = 10097648, upload-time = "2026-08-27T16:34:03.16Z" }, + { url = "https://files.pythonhosted.org/packages/cc/4e/4cdc9ed3c3e109d2f71e62572a37457298d7bc7501ec3138babb7ed32bbd/ruff-0.16.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:95cc70cdc7aa80c338de356279d2adbeb2de0f520b9ecd8aba75b94e95e02f91", size = 9829344, upload-time = "2026-08-27T16:34:05.134Z" }, + { url = "https://files.pythonhosted.org/packages/39/4a/31ed35ce31729955fc583ee0d176d6e784c1290cb0b0a75cb2134c1ab72a/ruff-0.16.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:d185c8398ded1bfd91c0c2cb258346307571eccc473a8490af8c3977399c384a", size = 10277117, upload-time = "2026-08-27T16:34:07.425Z" }, + { url = "https://files.pythonhosted.org/packages/a8/a0/60356d86687b4b666d593df213f4dc3041750d024cb7bf2cfa81cfd65c2e/ruff-0.16.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:fb8e3a3c4c6a784150a7ced53b015f4b253fc2bf97a610886419ead64b4756ef", size = 10711653, upload-time = "2026-08-27T16:34:09.712Z" }, + { url = "https://files.pythonhosted.org/packages/ed/20/656d67f5b25ca9bda4e02b1de25867b2954e1d19e03648060f167ad0f4cc/ruff-0.16.5-py3-none-win32.whl", hash = "sha256:288b0a5f080492fe5635db849f9e2e84aa3cce7b7f0e955997d416c507c76a26", size = 10034250, upload-time = "2026-08-27T16:34:11.8Z" }, + { url = "https://files.pythonhosted.org/packages/5b/42/ee8e68a207b9127fcde6c3d7e197def432f346cb1af159e1fa14ca0d1cdc/ruff-0.16.5-py3-none-win_amd64.whl", hash = "sha256:ddc6385fb2137f616357ca03d6c74f4be987f80fed4008566b754f6032b8546f", size = 10516714, upload-time = "2026-08-27T16:34:13.963Z" }, + { url = "https://files.pythonhosted.org/packages/73/e3/7df5a396e445b9ba49ce9a9437439a4d80042c61c0ade199abf8d16de1ac/ruff-0.16.5-py3-none-win_arm64.whl", hash = "sha256:a64abe90968719b851bb7cedffaa8753fbdbdadab483089682db623f3edc587e", size = 10391564, upload-time = "2026-08-27T16:34:16.064Z" }, +] + +[[package]] +name = "sqlalchemy" +version = "2.0.52" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3b/21/77b4c147963073040dc3c3a5cb7a8c3001a1893c0209432cb77f9df836aa/sqlalchemy-2.0.52.tar.gz", hash = "sha256:5e2d46356ac2ccb7d268ab6c2319ac6a2b42f1b8d5fd8bd3d46855cd82abee97", size = 9945637, upload-time = "2026-08-11T19:07:09.829Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a6/d7/e0354e7334d33ea2795db3ecbe2977026c05a1ecf8ba4b5953c329872453/sqlalchemy-2.0.52-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a7438774e1091192fc50a2bd8ceff5c596912d00ecd46587e88effdea7826101", size = 2172616, upload-time = "2026-08-11T20:58:21.078Z" }, + { url = "https://files.pythonhosted.org/packages/5b/64/98eef682e6946eb1b4195a9a2393db4662ebfcc89f823ae78b938765c3c0/sqlalchemy-2.0.52-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6c1b7ed45bf87b214e0a9def9c2313949067efe6269db5ef18d542ee13250af7", size = 3279798, upload-time = "2026-08-11T21:00:03.535Z" }, + { url = "https://files.pythonhosted.org/packages/20/05/5b96afc1407c314347ad006b72bb251fb68ef84d05505ebf8a39bc47fcde/sqlalchemy-2.0.52-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:309cc8ba50fc5d2174189dfcd49cdf7aa711f8346afcff19f2642ae4fc449c14", size = 3277555, upload-time = "2026-08-11T21:05:47.932Z" }, + { url = "https://files.pythonhosted.org/packages/50/69/ce6776724511d1b5dd40477b08d6a5f0953a45375e092dfa852b1857732c/sqlalchemy-2.0.52-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2f9eccf8793c8c3f8dd2dfd11b9e400cb27d1d19370ef732b66017e212107822", size = 3231246, upload-time = "2026-08-11T21:00:05.184Z" }, + { url = "https://files.pythonhosted.org/packages/72/19/ab0cb9ccdafa2419c796ae62f8740aedb903f1e93bb326064b1a0147e458/sqlalchemy-2.0.52-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9255ceb65a80c1b001129060b63ee776a2e9c288be3b662be36dfbb888fffdcd", size = 3250763, upload-time = "2026-08-11T21:05:49.664Z" }, + { url = "https://files.pythonhosted.org/packages/41/f2/3c9b54b61bec4f493c0007dc9e2700c963c5b32667e21a506f1aca7a8115/sqlalchemy-2.0.52-cp310-cp310-win32.whl", hash = "sha256:2e15b1d1116a64fc399b8c2694a83f3e792fdc58df28514a81e1dc4f8cf22729", size = 2132169, upload-time = "2026-08-11T21:09:48.108Z" }, + { url = "https://files.pythonhosted.org/packages/b3/a1/934bb6cf543a398c72784d1fc777eb530559c16ebe1549fa7611e5989ce9/sqlalchemy-2.0.52-cp310-cp310-win_amd64.whl", hash = "sha256:11560064cc4696e772298b6221ede59e646386d9f2a85d549365473b972f7850", size = 2156289, upload-time = "2026-08-11T21:09:49.429Z" }, + { url = "https://files.pythonhosted.org/packages/6b/08/cc5f7627b92f1456bc0b5fb7e98af4600248abe422a44da0d17a3fe6a448/sqlalchemy-2.0.52-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0c3ce43907374889f3352bdcc6195c970148a2cb71574cd0237a5071a37fb6c", size = 2172460, upload-time = "2026-08-11T20:58:22.429Z" }, + { url = "https://files.pythonhosted.org/packages/ed/dc/9a2abad8bfc8fdcd38c64adc056aeefab7aaa96ecd32f5e8c140e6375f17/sqlalchemy-2.0.52-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a0d48c4b80717c61385b4e966e087c839a66cfd7b780641dcb428f4dba65608", size = 3355720, upload-time = "2026-08-11T21:00:06.746Z" }, + { url = "https://files.pythonhosted.org/packages/a8/73/e75597b5841043e3c74055d00d4feb53d9a49a5c89ba2450d2d9aab53597/sqlalchemy-2.0.52-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:938325a5373267afc53bfbe72983b20fbd64ca47842aac62433c3da1137ecff1", size = 3354394, upload-time = "2026-08-11T21:05:51.454Z" }, + { url = "https://files.pythonhosted.org/packages/12/25/410fbc6c2f1fa8310f4ef1b6847d47d0ac1c042c7b4e81eaaca063d030a9/sqlalchemy-2.0.52-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:5f8438a98d49424acf69d0d53c0a522951dfe49a6f2d86417fbb37ad3066ab43", size = 3306991, upload-time = "2026-08-11T21:00:08.603Z" }, + { url = "https://files.pythonhosted.org/packages/b2/ba/25ffd5c24681ea4b46e62c80ceca8200ce204de1773366321306cf3f608a/sqlalchemy-2.0.52-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:4699dbb8d396d199e7e78fd4d525e3ad3d6008a9c8c0160b87e74c606c2c3736", size = 3327454, upload-time = "2026-08-11T21:05:53.368Z" }, + { url = "https://files.pythonhosted.org/packages/c2/f1/0f1b1d4800e51218e736a06ed55a3b2a59c257600bbaca7673bf13d2dbec/sqlalchemy-2.0.52-cp311-cp311-win32.whl", hash = "sha256:cef328349452ae152637df4d11ce5a0919ecdf0a363e16c830c3518ee33bde72", size = 2131248, upload-time = "2026-08-11T21:09:50.765Z" }, + { url = "https://files.pythonhosted.org/packages/7a/f0/04d2ac5ad66f3d31278f37064ed5f5ef3fe653f7bdaa67036663f223d186/sqlalchemy-2.0.52-cp311-cp311-win_amd64.whl", hash = "sha256:f1c850792a3b25a3ad74dade3f05e4f402cdebfea27438bcadafaa1617f77bcc", size = 2156943, upload-time = "2026-08-11T21:09:51.979Z" }, + { url = "https://files.pythonhosted.org/packages/e0/d5/1b77a026d161f98a08f11af1a5f6c47b98ee7c7e2648af525a1004826c78/sqlalchemy-2.0.52-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:be8c49131665dfe2cc74c498aa1240ffb548d0fd901325dd11c2c7a18956f727", size = 2170940, upload-time = "2026-08-11T20:58:11.25Z" }, + { url = "https://files.pythonhosted.org/packages/54/bd/f444444adb37b5d53753fb1730ee7a421628e2e3b756c4da461af7e6394a/sqlalchemy-2.0.52-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b2d9e507a458832adcfbd8af6e2036ddf069b7710b799448542ebccae2dceee", size = 3383415, upload-time = "2026-08-11T21:02:38.534Z" }, + { url = "https://files.pythonhosted.org/packages/be/57/2eadf93a552568c57e8680b7e58bb5e9770d80942a1bdbaf4f2f63f0d7c8/sqlalchemy-2.0.52-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8738008376d22f30f411ea3efecf39b51110b6996d80bb73786f30bcfdd5fd3b", size = 3398577, upload-time = "2026-08-11T21:16:59.092Z" }, + { url = "https://files.pythonhosted.org/packages/15/c3/2887cf9dd111d1fbf05d22165b404c221ef43e029f7a2695e7302f27a7cc/sqlalchemy-2.0.52-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37a4d548327b6cab9c7d8cdb4e0e82feabee0110c4d150059068e2d1cfbd99ee", size = 3328225, upload-time = "2026-08-11T21:02:40.183Z" }, + { url = "https://files.pythonhosted.org/packages/02/0f/466bdf9e1feeeef5587f868c187d8687e21ff8c85b1775e9041130181132/sqlalchemy-2.0.52-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e49f51a5d59857a7a0dcaf9469febf7197d9394bd88f00d69c2c4e848112cdbf", size = 3357374, upload-time = "2026-08-11T21:17:01.076Z" }, + { url = "https://files.pythonhosted.org/packages/22/20/5c2b4583904af4173076dda1c9e53c9e2ffc7a702d2efde0216bbacbf7cb/sqlalchemy-2.0.52-cp312-cp312-win32.whl", hash = "sha256:afda3ec521d0517d0de783fc70030775841900896d832de5bbd066549290470e", size = 2129366, upload-time = "2026-08-11T21:14:50.991Z" }, + { url = "https://files.pythonhosted.org/packages/ed/06/543dab8ef62d4e9fb96fb31a30c2b8b14a8763bccf48d428294d6b3041c0/sqlalchemy-2.0.52-cp312-cp312-win_amd64.whl", hash = "sha256:2d5e53e36e37129fe0be8b9d08b6e4052c10a963ee6cda56c8c10dcc194b99ca", size = 2157344, upload-time = "2026-08-11T21:14:52.453Z" }, + { url = "https://files.pythonhosted.org/packages/7f/18/e30c6fe1eca1bf34a39fbdd6066121cc9974c850faf6f349eac563697a26/sqlalchemy-2.0.52-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2eb3c6a64b1bfe6704777cfd504e7b8ad093a5f3e03ce67663a5e6742f294e43", size = 2167724, upload-time = "2026-08-11T20:58:12.679Z" }, + { url = "https://files.pythonhosted.org/packages/d0/56/2e17d161a4f7ecc1c2ffb93e607b4e1898bb551b451b283235acb8f6ce47/sqlalchemy-2.0.52-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:923bb183c1dc64fdf7b717965e3d59938ec4f8b8710b419a21ce403e5da9a9e1", size = 3321189, upload-time = "2026-08-11T21:02:41.932Z" }, + { url = "https://files.pythonhosted.org/packages/cf/b8/8490916e893f3f8d74dc9cc54c078619364999dee37047a188e73abbc852/sqlalchemy-2.0.52-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:651d6d8782e80679e6151707c7b490834d46ada526328895abf567f25e63d29c", size = 3338185, upload-time = "2026-08-11T21:17:02.597Z" }, + { url = "https://files.pythonhosted.org/packages/8b/f7/752cc8ee453da222829b3f5c4613614bf750d97429363b70414fa10478e4/sqlalchemy-2.0.52-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b08cddb8989775e3c88799d86704bdfc3ee6e9846118201aa5997f16f27e3a15", size = 3271698, upload-time = "2026-08-11T21:02:43.963Z" }, + { url = "https://files.pythonhosted.org/packages/51/e6/074ade0c07b9e4c8e8bca46820320ed94df9702afdb6f2af06623068d2e6/sqlalchemy-2.0.52-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ab66fa9618269390d4dfa222f2f2f88f7bc4bf5da13905131b818217db7e8057", size = 3308936, upload-time = "2026-08-11T21:17:04.172Z" }, + { url = "https://files.pythonhosted.org/packages/66/07/557c0d04716705599227945ac14e0a17ad0338e899f37d8c2ddff4dcc663/sqlalchemy-2.0.52-cp313-cp313-win32.whl", hash = "sha256:c63bda077685c85ca513286547a531ba57e7a68cf0a7ed3bafcc2bbd18896f4d", size = 2127308, upload-time = "2026-08-11T21:14:53.879Z" }, + { url = "https://files.pythonhosted.org/packages/96/4e/226eda27654318ce525d043025221f689abef883da2c7126f9065121618c/sqlalchemy-2.0.52-cp313-cp313-win_amd64.whl", hash = "sha256:9876b09b9f1ce7398b0ffece585c0a911244c53191187341f6bcae640e133751", size = 2153876, upload-time = "2026-08-11T21:14:55.527Z" }, + { url = "https://files.pythonhosted.org/packages/d5/f5/71cb30af58c9b80a4e1fac0b73bb48f86d497a774a6a2eb6d2f1e657bb73/sqlalchemy-2.0.52-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:410d52be41d17f1a236d19520fbe776257dc16516ed06bd16d433311842aefd9", size = 2169537, upload-time = "2026-08-11T20:58:13.855Z" }, + { url = "https://files.pythonhosted.org/packages/4c/93/d07ebd645d1b07b6b5ed63450a70f063a346a7e0f2c8810daf2e532400cb/sqlalchemy-2.0.52-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dfe9ce533dbe4d0a2ae1486546619bd30b76bcd670539a44d910361376175f5e", size = 3319606, upload-time = "2026-08-11T21:02:45.829Z" }, + { url = "https://files.pythonhosted.org/packages/ae/5c/290c84c7c2566ecd3b65baaae0fddec9bc33b033b398a06123bb86fbfc6e/sqlalchemy-2.0.52-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:812bae5138bfc0aa46fb0686da0fc7f581f68e2bbb05bc24c3713bebaedd1437", size = 3323642, upload-time = "2026-08-11T21:17:05.675Z" }, + { url = "https://files.pythonhosted.org/packages/13/f5/2cc160590ca49173359557880b92a0572293ccb899e8f6cedf150c5a3ddf/sqlalchemy-2.0.52-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:50bff43b632a56fbf5ed9afdd76307e1512b62051bcd5afb341ae67205bbb6c8", size = 3268125, upload-time = "2026-08-11T21:02:47.649Z" }, + { url = "https://files.pythonhosted.org/packages/35/f3/ea8933fc9f7d1353e9c2ff9965eae687c4cef181120574591ed2fa0633e1/sqlalchemy-2.0.52-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:49565daf5af554f538e23aef1fc81a95a4e49658f152285e45c02f5fc44f04cd", size = 3289516, upload-time = "2026-08-11T21:17:07.267Z" }, + { url = "https://files.pythonhosted.org/packages/45/67/05cf86541c1e1716fca1e4a996954a439cd74501707cda607fb7cb02ef50/sqlalchemy-2.0.52-cp314-cp314-win32.whl", hash = "sha256:ab9da41e61b9979b910499d633b241df20c51ee5037e5405b11c2faac3cbe1a2", size = 2130249, upload-time = "2026-08-11T21:14:57.273Z" }, + { url = "https://files.pythonhosted.org/packages/96/d7/8ac6ffa1e36169e762ef65bd835046abb2251b1bc17f8f6708e14ed8d31f/sqlalchemy-2.0.52-cp314-cp314-win_amd64.whl", hash = "sha256:a593db51b3bae75db17a5738ad5f992244b3a03863f83c28117ee482c6a3f76d", size = 2156718, upload-time = "2026-08-11T21:14:58.667Z" }, + { url = "https://files.pythonhosted.org/packages/dc/4b/e01a737eef378e734cc6394a82248a6ce13b167dfa36c731075ce9fc9c64/sqlalchemy-2.0.52-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1e61d08bdf4ee2f41024569e3400de7d6734ba498144766b11260936ccfa582", size = 2190344, upload-time = "2026-08-11T19:53:21.393Z" }, + { url = "https://files.pythonhosted.org/packages/b3/3f/3582293d1e185e71d19d7c731c3e2ee20ba21981c4a1115c0806c1f62120/sqlalchemy-2.0.52-py3-none-any.whl", hash = "sha256:3b81b8363a919ce53453591cdb93702e6bd54ade6c4fa2f468fc053baee5ed89", size = 1950700, upload-time = "2026-08-11T20:47:21.603Z" }, +] + +[[package]] +name = "tomli" +version = "2.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" }, + { url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" }, + { url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" }, + { url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" }, + { url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" }, + { url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" }, + { url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" }, + { url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" }, + { url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" }, + { url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" }, + { url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" }, + { url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" }, + { url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" }, + { url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" }, + { url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" }, + { url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" }, + { url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" }, + { url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" }, + { url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" }, + { url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" }, + { url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" }, + { url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" }, + { url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" }, + { url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" }, + { url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" }, + { url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" }, + { url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" }, + { url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" }, + { url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" }, + { url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" }, + { url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" }, + { url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" }, + { url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" }, + { url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" }, + { url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" }, + { url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" }, + { url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" }, + { url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" }, + { url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" }, + { url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" }, + { url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" }, + { url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" }, + { url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" }, + { url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" }, +] + +[[package]] +name = "tqdm" +version = "4.70.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/21/3b/6c24bec5be5e743ffd99576daa5cc077722fc7d5bbc00bd133fa0c698dc6/tqdm-4.70.0.tar.gz", hash = "sha256:55b0b0dbd97462d06ebee91e4dac24ed4d4702be82b24f07e6c1d27e08cea220", size = 795438, upload-time = "2026-07-27T11:33:15.271Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f9/1c/01bfd571a64e7f270e6bab5e33777debe0edc56759233ce84f27dec92d14/tqdm-4.70.0-py3-none-any.whl", hash = "sha256:7f585706bfddbdebf89daac705b2dfcc16890130727d3197ca62c732b4310953", size = 80184, upload-time = "2026-07-27T11:33:13.167Z" }, +] + +[[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" }, +] diff --git a/yarn.lock b/yarn.lock index ae42bb48cd3..8968ded828a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -917,6 +917,7 @@ __metadata: version: 0.0.0-use.local resolution: "@apps/petrinaut-opt@workspace:apps/petrinaut-opt" dependencies: + "@local/petrinaut-optimizer-core": "workspace:*" "@local/petrinaut-python": "workspace:*" languageName: unknown linkType: soft @@ -9657,6 +9658,12 @@ __metadata: languageName: unknown linkType: soft +"@local/petrinaut-optimizer-core@workspace:*, @local/petrinaut-optimizer-core@workspace:libs/@local/petrinaut-optimizer-core": + version: 0.0.0-use.local + resolution: "@local/petrinaut-optimizer-core@workspace:libs/@local/petrinaut-optimizer-core" + languageName: unknown + linkType: soft + "@local/petrinaut-python@workspace:*, @local/petrinaut-python@workspace:libs/@local/petrinaut-python": version: 0.0.0-use.local resolution: "@local/petrinaut-python@workspace:libs/@local/petrinaut-python" From 5510e2e5f04e57790302f4e3cad795b4217cd4e9 Mon Sep 17 00:00:00 2001 From: Chris Feijoo Date: Thu, 3 Sep 2026 02:33:18 +0200 Subject: [PATCH 2/5] Format the optimizer service pyproject for taplo --- apps/petrinaut-opt/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/petrinaut-opt/pyproject.toml b/apps/petrinaut-opt/pyproject.toml index 19f65c5c018..ef79aee96ae 100644 --- a/apps/petrinaut-opt/pyproject.toml +++ b/apps/petrinaut-opt/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ [tool.uv.sources] petrinaut-optimizer-core = { path = "../../libs/@local/petrinaut-optimizer-core", editable = true } -petrinaut-python = { path = "../../libs/@local/petrinaut-python", editable = true } +petrinaut-python = { path = "../../libs/@local/petrinaut-python", editable = true } [dependency-groups] dev = [ From df468a88380b38567f2d5bf9ce572aae05014d88 Mon Sep 17 00:00:00 2001 From: Chris Feijoo Date: Fri, 4 Sep 2026 05:26:27 +0200 Subject: [PATCH 3/5] Keep the Optuna study alive across segments and run trials in parallel --- .../@local/petrinaut-optimizer-core/README.md | 8 +- .../src/petrinaut_optimizer_core/__init__.py | 13 +- .../src/petrinaut_optimizer_core/ask_tell.py | 102 ++++-- .../petrinaut_optimizer_core/pyodide_entry.py | 124 ++++++-- .../src/petrinaut_optimizer_core/study.py | 37 ++- .../tests/test_ask_tell.py | 222 ++++++++++++- .../tests/test_pyodide_entry.py | 293 ++++++++++++++++-- .../tests/test_study.py | 41 +++ 8 files changed, 760 insertions(+), 80 deletions(-) diff --git a/libs/@local/petrinaut-optimizer-core/README.md b/libs/@local/petrinaut-optimizer-core/README.md index 338a0d648f0..9880e50de17 100644 --- a/libs/@local/petrinaut-optimizer-core/README.md +++ b/libs/@local/petrinaut-optimizer-core/README.md @@ -13,8 +13,12 @@ Two hosts import it: Both parse the CLI's `optimization.describe` result with `parse_description`, build the seeded study with `create_study`, and map parameters onto Optuna suggestions with `suggest`, so a study proposes the same values wherever it -runs. `run_study` is the ask/tell driver; `run_browser_study` is the entry the -worker calls, adapting JavaScript callbacks to it. +runs. `run_study` is the ask/tell driver: it keeps up to `parallelism` trials +in flight and continues a study it already ran, so a stopped or finished study +can be asked for more trials on the same sampler history. The worker keeps a +study in the `StudyHandle` that `create_browser_study` returns, runs segments +of trials on it with `run_browser_study`, and frees it with +`release_browser_study`. `runtime-lock.json` pins the Pyodide distribution and the wheel versions the browser installs. A test asserts the Optuna pin equals the version this diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py index ab81fc681a1..2a884e3ad02 100644 --- a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py @@ -23,7 +23,13 @@ StudyDescription, parse_description, ) -from .pyodide_entry import run_browser_study, to_python +from .pyodide_entry import ( + StudyHandle, + create_browser_study, + release_browser_study, + run_browser_study, + to_python, +) from .study import ( SAMPLERS, Scalar, @@ -31,6 +37,7 @@ create_study, study_summary, suggest, + told_trials, trial_event, ) @@ -49,14 +56,18 @@ "SamplerName", "Scalar", "StudyDescription", + "StudyHandle", "best_summary", + "create_browser_study", "create_study", "objective_of", "parse_description", + "release_browser_study", "run_browser_study", "run_study", "study_summary", "suggest", "to_python", + "told_trials", "trial_event", ] diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py index fe5ba51fc7a..dd64f714df7 100644 --- a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/ask_tell.py @@ -8,7 +8,9 @@ from __future__ import annotations +import asyncio import math +from collections import deque from collections.abc import Awaitable, Callable, Mapping from typing import Any, TypeAlias @@ -42,6 +44,18 @@ def objective_of(outcome: Mapping[str, Any]) -> float | None: return float(objective) +def _tell( + study: optuna.Study, trial: optuna.Trial, outcome: Mapping[str, Any] +) -> dict[str, Any]: + objective = objective_of(outcome) + told = ( + study.tell(trial, state=TrialState.PRUNED) + if objective is None + else study.tell(trial, objective) + ) + return trial_event(study, told) + + async def run_study( study: optuna.Study, description: StudyDescription, @@ -49,27 +63,75 @@ async def run_study( evaluate: Evaluate, on_trial: OnTrial, is_cancelled: IsCancelled = lambda: False, + trials: int | None = None, + parallelism: int = 1, + requested_trials: int | None = None, ) -> dict[str, Any]: - """Drive `description.trials` ask/tell rounds and return the study summary. + """Drive `trials` ask/tell rounds (the description's count by default) and return the study summary. + + The study keeps every trial it is told, so calling this again on the same + study continues its numbering and its sampler's history. The summary counts + every trial the study holds; `requested_trials` is the total the caller has + asked for across calls and defaults to this call's count. + Up to `parallelism` trials are in flight at once, each evaluated in its own + task; outcomes are told, and `on_trial` called, in completion order. Cancellation is polled before each ask and after each evaluate; a cancelled - study returns its summary early with `cancelled` set, leaving the trial in - flight untold. An outcome that is neither a finite objective nor a pruned - marker, and any exception from `evaluate` or `on_trial`, ends the study - with that error. + study waits for the evaluations in flight to settle, reports none of them, + tells every trial it asked and did not report as failed so the sampler + gives it no weight, and returns its summary early with `cancelled` set. An + outcome that is neither a finite objective nor a pruned marker, and any + exception from `evaluate` or `on_trial`, ends the study with that error + after cancelling the evaluations still in flight. """ - for _ in range(description.trials): - if is_cancelled(): - return {**study_summary(study, description.trials), "cancelled": True} - trial = study.ask() - outcome = await evaluate(suggest(trial, description.parameters)) - if is_cancelled(): - return {**study_summary(study, description.trials), "cancelled": True} - objective = objective_of(outcome) - told = ( - study.tell(trial, state=TrialState.PRUNED) - if objective is None - else study.tell(trial, objective) - ) - on_trial(trial_event(study, told)) - return {**study_summary(study, description.trials), "cancelled": False} + count = description.trials if trials is None else trials + if count < 1: + raise ValueError("an optimization run must ask for at least 1 trial") + if parallelism < 1: + raise ValueError("optimization parallelism must be at least 1") + requested = count if requested_trials is None else requested_trials + + settled: deque[tuple[optuna.Trial, Mapping[str, Any]]] = deque() + in_flight: set[asyncio.Task[None]] = set() + untold: dict[int, optuna.Trial] = {} + + async def evaluate_trial(trial: optuna.Trial, values: dict[str, Scalar]) -> None: + settled.append((trial, await evaluate(values))) + + def tell_settled() -> None: + while settled: + trial, outcome = settled.popleft() + del untold[trial.number] + on_trial(_tell(study, trial, outcome)) + + asked = 0 + cancelled = False + try: + while asked < count or in_flight: + if is_cancelled(): + cancelled = True + break + while asked < count and len(in_flight) < parallelism: + trial = study.ask() + untold[trial.number] = trial + values = suggest(trial, description.parameters) + in_flight.add(asyncio.ensure_future(evaluate_trial(trial, values))) + asked += 1 + done, _ = await asyncio.wait(in_flight, return_when=asyncio.FIRST_COMPLETED) + in_flight.difference_update(done) + for task in done: + task.result() + if is_cancelled(): + cancelled = True + break + tell_settled() + except BaseException: + for task in in_flight: + task.cancel() + raise + finally: + if in_flight: + await asyncio.gather(*in_flight, return_exceptions=True) + for trial in untold.values(): + study.tell(trial, state=TrialState.FAIL) + return {**study_summary(study, requested), "cancelled": cancelled} diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py index a3b4ca6e7fb..e4c2591afbd 100644 --- a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/pyodide_entry.py @@ -1,19 +1,42 @@ -"""The function the browser worker calls once this package is imported in Pyodide. +"""The functions the browser worker calls once this package is imported in Pyodide. -Nothing here imports `pyodide`: the JavaScript callbacks arrive as proxies and -a proxy's result is unwrapped by duck-typing its `to_py`, so the module runs -under CPython too and its tests need no browser. +A study lives in a `StudyHandle` between runs, so the worker can stop a study +and later ask for more trials on the same sampler history. Nothing here imports +`pyodide`: the JavaScript callbacks arrive as proxies and a proxy's result is +unwrapped by duck-typing its `to_py`, so the module runs under CPython too and +its tests need no browser. """ from __future__ import annotations import json +import warnings from collections.abc import Awaitable, Callable, Mapping +from dataclasses import dataclass from typing import Any, cast +import optuna +from optuna.exceptions import ExperimentalWarning + from .ask_tell import run_study -from .description import parse_description -from .study import Scalar, create_study +from .description import MAX_STUDY_TRIALS, StudyDescription, parse_description +from .study import Scalar, create_study, told_trials + + +@dataclass +class StudyHandle: + """A study the worker keeps between runs. + + `requested` is the number of trials the study is heading for: the trials + told so far plus those still to run in the current segment. `study` is + None once the handle is released. + """ + + description: StudyDescription + parallelism: int + study: optuna.Study | None + requested: int = 0 + running: bool = False def to_python(value: object) -> object: @@ -28,29 +51,90 @@ def _object(value: object, name: str) -> Mapping[str, Any]: return cast("Mapping[str, Any]", value) -async def run_browser_study( - description_json: str, +def _positive_integer(value: object, name: str) -> int: + if isinstance(value, bool) or not isinstance(value, int) or value < 1: + raise ValueError(f"optimization {name} must be a positive integer") + return value + + +def create_browser_study(description_json: str, parallelism: int = 1) -> StudyHandle: + """Parse the description and build its study. + + `parallelism` above 1 makes the TPE sampler account for trials in flight. + The warning Optuna raises for that experimental argument is silenced + around the construction; the worker is single-threaded, so swapping the + process-wide warning filters is safe here. + """ + description = parse_description( + _object(json.loads(description_json), "optimization description") + ) + parallelism = _positive_integer(parallelism, "parallelism") + with warnings.catch_warnings(): + warnings.simplefilter("ignore", ExperimentalWarning) + study = create_study(description, constant_liar=parallelism > 1) + return StudyHandle(description, parallelism, study) + + +def run_browser_study( + handle: StudyHandle, + trials: int, evaluate: Callable[[dict[str, Scalar]], Awaitable[object]], on_trial: Callable[[dict[str, Any]], object], is_cancelled: Callable[[], object], -) -> dict[str, Any]: - """Parse the description, build the study, and run the ask/tell loop. + parallelism: int | None = None, +) -> Awaitable[dict[str, Any]]: + """Run `trials` more trials on the handle's study and return the awaitable summary. + The arguments are checked and `handle.requested` grows by `trials` before + this returns, so the caller can report the new total as soon as the run is + scheduled. A stopped run drops the trials it never reported from + `requested`, so the next segment counts from the trials the study holds. `evaluate` receives each trial's suggested values as a Python dict and may resolve to a JavaScript object; `on_trial` receives plain dicts. + `parallelism` defaults to the value the study was created with. """ - description = parse_description( - _object(json.loads(description_json), "optimization description") + study = handle.study + if study is None: + raise ValueError("the optimization study was released") + if handle.running: + raise ValueError("the optimization study is already running") + trials = _positive_integer(trials, "trials") + if handle.requested + trials > MAX_STUDY_TRIALS: + raise ValueError( + f"an optimization study must not exceed {MAX_STUDY_TRIALS} trials" + ) + segment_parallelism = ( + handle.parallelism + if parallelism is None + else _positive_integer(parallelism, "parallelism") ) - study = create_study(description) + handle.requested += trials + handle.running = True async def evaluate_trial(values: dict[str, Scalar]) -> Mapping[str, Any]: return _object(to_python(await evaluate(values)), "trial outcome") - return await run_study( - study, - description, - evaluate=evaluate_trial, - on_trial=on_trial, - is_cancelled=lambda: bool(to_python(is_cancelled())), - ) + async def run() -> dict[str, Any]: + try: + summary = await run_study( + study, + handle.description, + evaluate=evaluate_trial, + on_trial=on_trial, + is_cancelled=lambda: bool(to_python(is_cancelled())), + trials=trials, + parallelism=segment_parallelism, + requested_trials=handle.requested, + ) + finally: + handle.running = False + if summary["cancelled"]: + handle.requested = told_trials(study) + return summary + + return run() + + +def release_browser_study(handle: StudyHandle) -> None: + """Drop the study so its trials can be freed; a segment still running ends on its own cancellation.""" + handle.study = None diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py index 1a361c1038a..44c4dc44dad 100644 --- a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py @@ -33,13 +33,25 @@ } -def create_study(description: StudyDescription, **sampler_options: Any) -> optuna.Study: - """An in-memory study whose sampler is seeded with the description's seed unless `seed` is given.""" +def create_study( + description: StudyDescription, + *, + constant_liar: bool = False, + **sampler_options: Any, +) -> optuna.Study: + """An in-memory study whose sampler is seeded with the description's seed unless `seed` is given. + + With `constant_liar`, the TPE sampler counts trials still running as + pending points, so trials asked while others are in flight spread out + instead of landing on the same candidate; Optuna flags the argument as + experimental with an `ExperimentalWarning`. The random sampler has no + history to account for and ignores the flag. + """ sampler_options.setdefault("seed", description.seed) - return optuna.create_study( - direction=description.direction, - sampler=SAMPLERS[description.sampler](**sampler_options), - ) + if constant_liar and description.sampler == "tpe": + sampler_options["constant_liar"] = True + sampler = SAMPLERS[description.sampler](**sampler_options) + return optuna.create_study(direction=description.direction, sampler=sampler) def suggest(trial: BaseTrial, parameters: Sequence[Parameter]) -> dict[str, Scalar]: @@ -91,6 +103,19 @@ def trial_event(study: optuna.Study, trial: FrozenTrial) -> dict[str, Any]: } +def told_trials(study: optuna.Study) -> int: + """How many of the study's trials were told an outcome the loop reported: complete or pruned. + + A trial failed by a stop produced no event, so it is not counted and a + continued study heads for the total its caller sees. + """ + return sum( + 1 + for trial in study.get_trials(deepcopy=False) + if trial.state in (TrialState.COMPLETE, TrialState.PRUNED) + ) + + def study_summary(study: optuna.Study, requested_trials: int) -> dict[str, Any]: states = [trial.state for trial in study.get_trials(deepcopy=False)] return { diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py b/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py index 0b7bd03791e..95ecf520f90 100644 --- a/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py +++ b/libs/@local/petrinaut-optimizer-core/tests/test_ask_tell.py @@ -2,15 +2,18 @@ import asyncio import math +from collections.abc import Callable from typing import Any import pytest +from optuna.trial import TrialState from petrinaut_optimizer_core import ( create_study, objective_of, parse_description, run_study, + suggest, ) from .conftest import objective_of_values @@ -28,17 +31,68 @@ async def evaluate(self, values: dict[str, Any]) -> dict[str, Any]: self.evaluations.append(values) return {"objective": objective_of_values(values)} - def run(self, evaluate: Any = None) -> dict[str, Any]: - return asyncio.run( + def start( + self, evaluate: Any = None, **options: Any + ) -> asyncio.Task[dict[str, Any]]: + return asyncio.ensure_future( run_study( self.study, self.description, evaluate=evaluate or self.evaluate, on_trial=self.events.append, is_cancelled=lambda: self.cancelled, + **options, ) ) + def run(self, evaluate: Any = None, **options: Any) -> dict[str, Any]: + async def scenario() -> dict[str, Any]: + return await self.start(evaluate, **options) + + return asyncio.run(scenario()) + + +class ParallelHarness(Harness): + """Evaluations settle only when the test says so, in the order it chooses.""" + + def __init__(self, description: dict[str, Any]) -> None: + super().__init__(description) + self.pending: dict[int, asyncio.Future[dict[str, Any]]] = {} + self.asked_and_told_at_call: list[tuple[int, int]] = [] + self.interrupted: list[int] = [] + + async def evaluate(self, values: dict[str, Any]) -> dict[str, Any]: + index = len(self.evaluations) + self.evaluations.append(values) + self.asked_and_told_at_call.append( + (len(self.study.get_trials(deepcopy=False)), len(self.events)) + ) + future: asyncio.Future[dict[str, Any]] = ( + asyncio.get_running_loop().create_future() + ) + self.pending[index] = future + try: + return await future + except asyncio.CancelledError: + self.interrupted.append(index) + raise + + def settle(self, index: int) -> None: + self.pending.pop(index).set_result( + {"objective": objective_of_values(self.evaluations[index])} + ) + + def fail(self, index: int, error: Exception) -> None: + self.pending.pop(index).set_exception(error) + + +async def until(condition: Callable[[], bool]) -> None: + for _ in range(1000): + if condition(): + return + await asyncio.sleep(0) + raise AssertionError("the loop never reached the expected state") + def test_tells_each_objective_and_reports_every_trial( optimization_description: dict[str, Any], @@ -70,6 +124,164 @@ def test_tells_each_objective_and_reports_every_trial( } +def test_matches_a_plain_ask_tell_sequence( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["sampler"] = "tpe" + optimization_description["study"]["trials"] = 12 + harness = Harness(optimization_description) + harness.run() + + plain = create_study(harness.description) + expected: list[dict[str, Any]] = [] + for _ in range(12): + trial = plain.ask() + values = suggest(trial, harness.description.parameters) + plain.tell(trial, objective_of_values(values)) + expected.append(values) + + assert harness.evaluations == expected + + +def test_further_trials_continue_the_same_study( + optimization_description: dict[str, Any], +) -> None: + harness = Harness(optimization_description) + + first = harness.run(trials=2) + second = harness.run(trials=3, requested_trials=5) + + assert [event["trial"] for event in harness.events] == [0, 1, 2, 3, 4] + assert first["requestedTrials"] == 2 + assert first["completedTrials"] == 2 + assert second == { + "requestedTrials": 5, + "completedTrials": 5, + "prunedTrials": 0, + "failedTrials": 0, + "best": harness.events[-1]["best"], + "cancelled": False, + } + + +def test_a_continued_tpe_study_keeps_its_sampler_history( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["sampler"] = "tpe" + optimization_description["study"]["trials"] = 15 + continued = Harness(optimization_description) + continued.run(trials=10) + continued.run(trials=5, requested_trials=15) + straight = Harness(optimization_description) + straight.run() + restarted = Harness(optimization_description) + restarted.run(trials=5) + + assert continued.evaluations == straight.evaluations + assert restarted.evaluations == straight.evaluations[:5] + assert continued.evaluations[10:] != restarted.evaluations + + +def test_parallel_trials_are_asked_ahead_and_told_in_completion_order( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["trials"] = 5 + harness = ParallelHarness(optimization_description) + + async def scenario() -> dict[str, Any]: + run = harness.start(parallelism=3) + await until(lambda: len(harness.pending) == 3) + harness.settle(1) + harness.settle(2) + await until(lambda: len(harness.events) == 2 and len(harness.pending) == 3) + harness.settle(0) + harness.settle(4) + harness.settle(3) + return await run + + summary = asyncio.run(scenario()) + + assert harness.asked_and_told_at_call[:3] == [(3, 0), (3, 0), (3, 0)] + assert [event["trial"] for event in harness.events] == [1, 2, 0, 4, 3] + assert all( + event["parameters"] == harness.evaluations[event["trial"]] + for event in harness.events + ) + assert summary["completedTrials"] == 5 + assert summary["requestedTrials"] == 5 + best = max(harness.events, key=lambda event: event["objective"]) + assert summary["best"]["trial"] == best["trial"] + + +def test_cancellation_waits_for_the_trials_in_flight_and_the_study_continues( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["trials"] = 6 + harness = ParallelHarness(optimization_description) + + async def scenario() -> tuple[dict[str, Any], bool, dict[str, Any]]: + run = harness.start(parallelism=3) + await until(lambda: len(harness.pending) == 3) + harness.cancelled = True + harness.settle(0) + for _ in range(20): + await asyncio.sleep(0) + settled_early = run.done() + harness.settle(1) + harness.settle(2) + stopped = await run + harness.cancelled = False + resumed_run = harness.start(trials=2, requested_trials=5) + await until(lambda: 3 in harness.pending) + harness.settle(3) + await until(lambda: 4 in harness.pending) + harness.settle(4) + return stopped, settled_early, await resumed_run + + stopped, settled_early, resumed = asyncio.run(scenario()) + + assert settled_early is False + assert stopped["cancelled"] is True + assert stopped["completedTrials"] == 0 + assert stopped["failedTrials"] == 3 + assert harness.interrupted == [] + assert [event["trial"] for event in harness.events] == [3, 4] + assert resumed["completedTrials"] == 2 + assert resumed["failedTrials"] == 3 + assert resumed["requestedTrials"] == 5 + assert resumed["cancelled"] is False + assert [trial.state for trial in harness.study.get_trials(deepcopy=False)] == [ + TrialState.FAIL + ] * 3 + [TrialState.COMPLETE] * 2 + + +def test_an_evaluation_error_cancels_the_trials_in_flight( + optimization_description: dict[str, Any], +) -> None: + harness = ParallelHarness(optimization_description) + + async def scenario() -> dict[str, Any]: + run = harness.start(parallelism=3) + await until(lambda: len(harness.pending) == 3) + harness.fail(1, RuntimeError("worker crashed")) + return await run + + with pytest.raises(RuntimeError, match="worker crashed"): + asyncio.run(scenario()) + + assert sorted(harness.interrupted) == [0, 2] + assert harness.events == [] + + +@pytest.mark.parametrize("options", [{"trials": 0}, {"parallelism": 0}]) +def test_rejects_a_run_without_trials_or_parallelism( + optimization_description: dict[str, Any], + options: dict[str, int], +) -> None: + with pytest.raises(ValueError, match="at least 1"): + Harness(optimization_description).run(**options) + + @pytest.mark.parametrize( "pruned_outcome", [{"pruned": "simulation failed"}, {"kind": "pruned", "reason": "cancelled"}], @@ -156,7 +368,7 @@ async def evaluate(_values: dict[str, Any]) -> dict[str, Any]: harness.run(evaluate) -def test_cancellation_after_an_evaluate_leaves_the_trial_untold( +def test_cancellation_after_an_evaluate_fails_the_trial_without_an_event( optimization_description: dict[str, Any], ) -> None: harness = Harness(optimization_description) @@ -171,7 +383,11 @@ async def evaluate(values: dict[str, Any]) -> dict[str, Any]: assert len(harness.evaluations) == 1 assert harness.events == [] assert summary["completedTrials"] == 0 + assert summary["failedTrials"] == 1 assert summary["cancelled"] is True + assert [trial.state for trial in harness.study.get_trials(deepcopy=False)] == [ + TrialState.FAIL + ] def test_cancellation_between_trials_keeps_the_told_trials( diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py b/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py index 02d224754cc..bf725708a46 100644 --- a/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py +++ b/libs/@local/petrinaut-optimizer-core/tests/test_pyodide_entry.py @@ -2,11 +2,19 @@ import asyncio import json +import warnings from typing import Any import pytest +from optuna.trial import TrialState -from petrinaut_optimizer_core import run_browser_study, to_python +from petrinaut_optimizer_core import ( + MAX_STUDY_TRIALS, + create_browser_study, + release_browser_study, + run_browser_study, + to_python, +) from .conftest import objective_of_values @@ -21,6 +29,18 @@ def to_py(self) -> Any: return self.value +async def evaluate(values: dict[str, Any]) -> dict[str, Any]: + return {"objective": objective_of_values(values)} + + +def ignore_event(_event: dict[str, Any]) -> None: + pass + + +def never_cancelled() -> bool: + return False + + def test_to_python_unwraps_proxies_and_passes_plain_values_through() -> None: assert to_python(FakeJsProxy({"objective": 1.0})) == {"objective": 1.0} assert to_python({"objective": 2.0}) == {"objective": 2.0} @@ -30,10 +50,11 @@ def test_to_python_unwraps_proxies_and_passes_plain_values_through() -> None: def test_runs_a_study_from_json_with_javascript_style_callbacks( optimization_description: dict[str, Any], ) -> None: + handle = create_browser_study(json.dumps(optimization_description)) events: list[dict[str, Any]] = [] evaluated: list[dict[str, Any]] = [] - async def evaluate(values: dict[str, Any]) -> FakeJsProxy: + async def evaluate_as_javascript(values: dict[str, Any]) -> FakeJsProxy: evaluated.append(values) return FakeJsProxy( {"kind": "objective", "objective": objective_of_values(values)} @@ -41,18 +62,249 @@ async def evaluate(values: dict[str, Any]) -> FakeJsProxy: summary = asyncio.run( run_browser_study( - json.dumps(optimization_description), - evaluate, - events.append, - lambda: False, + handle, 3, evaluate_as_javascript, events.append, never_cancelled ) ) assert len(evaluated) == 3 assert [event["trial"] for event in events] == [0, 1, 2] assert all(isinstance(event, dict) for event in events) + assert summary["requestedTrials"] == 3 assert summary["completedTrials"] == 3 assert summary["best"] == events[-1]["best"] + assert handle.requested == 3 + assert handle.running is False + + +def test_further_trials_continue_the_study_and_count_cumulatively( + optimization_description: dict[str, Any], +) -> None: + handle = create_browser_study(json.dumps(optimization_description)) + events: list[dict[str, Any]] = [] + + asyncio.run(run_browser_study(handle, 3, evaluate, events.append, never_cancelled)) + summary = asyncio.run( + run_browser_study(handle, 2, evaluate, events.append, never_cancelled) + ) + + assert [event["trial"] for event in events] == [0, 1, 2, 3, 4] + assert summary == { + "requestedTrials": 5, + "completedTrials": 5, + "prunedTrials": 0, + "failedTrials": 0, + "best": events[-1]["best"], + "cancelled": False, + } + assert handle.requested == 5 + + +def test_a_continued_tpe_study_does_not_repeat_its_startup_trials( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["sampler"] = "tpe" + description_json = json.dumps(optimization_description) + continued: list[dict[str, Any]] = [] + restarted: list[dict[str, Any]] = [] + + async def record_continued(values: dict[str, Any]) -> dict[str, Any]: + continued.append(values) + return await evaluate(values) + + async def record_restarted(values: dict[str, Any]) -> dict[str, Any]: + restarted.append(values) + return await evaluate(values) + + handle = create_browser_study(description_json) + asyncio.run( + run_browser_study(handle, 10, record_continued, ignore_event, never_cancelled) + ) + asyncio.run( + run_browser_study(handle, 5, record_continued, ignore_event, never_cancelled) + ) + asyncio.run( + run_browser_study( + create_browser_study(description_json), + 5, + record_restarted, + ignore_event, + never_cancelled, + ) + ) + + assert handle.study is not None + assert len(handle.study.get_trials(deepcopy=False)) == 15 + assert restarted == continued[:5] + assert continued[10:] != restarted + + +def test_a_stopped_study_continues_from_the_trials_it_holds( + optimization_description: dict[str, Any], +) -> None: + handle = create_browser_study(json.dumps(optimization_description)) + events: list[dict[str, Any]] = [] + evaluations = 0 + cancelled = False + + async def evaluate_then_stop(values: dict[str, Any]) -> dict[str, Any]: + nonlocal evaluations, cancelled + evaluations += 1 + cancelled = evaluations == 2 + return await evaluate(values) + + stopped = asyncio.run( + run_browser_study( + handle, 4, evaluate_then_stop, events.append, lambda: FakeJsProxy(cancelled) + ) + ) + cancelled = False + resumed = asyncio.run( + run_browser_study( + handle, 2, evaluate_then_stop, events.append, lambda: FakeJsProxy(cancelled) + ) + ) + + assert stopped["cancelled"] is True + assert stopped["requestedTrials"] == 4 + assert stopped["completedTrials"] == 1 + assert stopped["failedTrials"] == 1 + assert [event["trial"] for event in events] == [0, 2, 3] + assert resumed == { + "requestedTrials": 3, + "completedTrials": 3, + "prunedTrials": 0, + "failedTrials": 1, + "best": events[-1]["best"], + "cancelled": False, + } + assert handle.requested == 3 + assert handle.study is not None + assert [trial.state for trial in handle.study.get_trials(deepcopy=False)] == [ + TrialState.COMPLETE, + TrialState.FAIL, + TrialState.COMPLETE, + TrialState.COMPLETE, + ] + + +def test_release_drops_the_study(optimization_description: dict[str, Any]) -> None: + handle = create_browser_study(json.dumps(optimization_description)) + + release_browser_study(handle) + + assert handle.study is None + with pytest.raises(ValueError, match="released"): + run_browser_study(handle, 1, evaluate, ignore_event, never_cancelled) + + +def test_a_study_runs_one_segment_at_a_time( + optimization_description: dict[str, Any], +) -> None: + handle = create_browser_study(json.dumps(optimization_description)) + + async def scenario() -> dict[str, Any]: + gate: asyncio.Future[None] = asyncio.get_running_loop().create_future() + + async def evaluate_after_gate(values: dict[str, Any]) -> dict[str, Any]: + await gate + return await evaluate(values) + + run = asyncio.ensure_future( + run_browser_study( + handle, 1, evaluate_after_gate, ignore_event, never_cancelled + ) + ) + with pytest.raises(ValueError, match="already running"): + run_browser_study(handle, 1, evaluate, ignore_event, never_cancelled) + gate.set_result(None) + return await run + + summary = asyncio.run(scenario()) + + assert summary["completedTrials"] == 1 + assert handle.requested == 1 + assert handle.running is False + + +def test_the_trial_cap_spans_every_segment( + optimization_description: dict[str, Any], +) -> None: + handle = create_browser_study(json.dumps(optimization_description)) + handle.requested = MAX_STUDY_TRIALS - 1 + + with pytest.raises(ValueError, match="must not exceed"): + run_browser_study(handle, 2, evaluate, ignore_event, never_cancelled) + summary = asyncio.run( + run_browser_study(handle, 1, evaluate, ignore_event, never_cancelled) + ) + + assert summary["requestedTrials"] == MAX_STUDY_TRIALS + + +@pytest.mark.parametrize("trials", [0, -1, 2.0, True]) +def test_rejects_a_trial_count_that_is_not_a_positive_integer( + optimization_description: dict[str, Any], + trials: Any, +) -> None: + handle = create_browser_study(json.dumps(optimization_description)) + + with pytest.raises(ValueError, match="trials must be a positive integer"): + run_browser_study(handle, trials, evaluate, ignore_event, never_cancelled) + + +def test_parallelism_makes_the_tpe_sampler_account_for_trials_in_flight_without_a_warning( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"]["sampler"] = "tpe" + description_json = json.dumps(optimization_description) + + with warnings.catch_warnings(): + warnings.simplefilter("error") + sequential = create_browser_study(description_json) + parallel = create_browser_study(description_json, parallelism=3) + + assert sequential.parallelism == 1 + assert parallel.parallelism == 3 + assert sequential.study is not None + assert parallel.study is not None + assert sequential.study.sampler._constant_liar is False + assert parallel.study.sampler._constant_liar is True + with pytest.raises(ValueError, match="parallelism must be a positive integer"): + create_browser_study(description_json, parallelism=0) + + +@pytest.mark.parametrize(("segment_parallelism", "expected_peak"), [(None, 2), (1, 1)]) +def test_keeps_up_to_the_parallelism_trials_in_flight( + optimization_description: dict[str, Any], + segment_parallelism: int | None, + expected_peak: int, +) -> None: + handle = create_browser_study(json.dumps(optimization_description), parallelism=2) + in_flight = 0 + peak = 0 + + async def evaluate_slowly(values: dict[str, Any]) -> dict[str, Any]: + nonlocal in_flight, peak + in_flight += 1 + peak = max(peak, in_flight) + await asyncio.sleep(0) + await asyncio.sleep(0) + in_flight -= 1 + return await evaluate(values) + + summary = asyncio.run( + run_browser_study( + handle, + 5, + evaluate_slowly, + ignore_event, + never_cancelled, + segment_parallelism, + ) + ) + + assert peak == expected_peak + assert summary["completedTrials"] == 5 @pytest.mark.parametrize( @@ -64,15 +316,11 @@ def test_cancellation_is_unwrapped_from_the_callback_proxy( cancelled: bool, completed_trials: int, ) -> None: - async def evaluate(values: dict[str, Any]) -> dict[str, Any]: - return {"objective": objective_of_values(values)} + handle = create_browser_study(json.dumps(optimization_description)) summary = asyncio.run( run_browser_study( - json.dumps(optimization_description), - evaluate, - lambda _event: None, - lambda: FakeJsProxy(cancelled), + handle, 3, evaluate, ignore_event, lambda: FakeJsProxy(cancelled) ) ) @@ -85,32 +333,21 @@ def test_rejects_a_description_that_breaks_a_rule( ) -> None: optimization_description["study"]["seed"] = -1 - async def evaluate(_values: dict[str, Any]) -> dict[str, Any]: - return {"objective": 0.0} - with pytest.raises(ValueError, match="non-negative integer"): - asyncio.run( - run_browser_study( - json.dumps(optimization_description), - evaluate, - lambda _event: None, - lambda: False, - ) - ) + create_browser_study(json.dumps(optimization_description)) def test_rejects_an_outcome_that_is_not_an_object( optimization_description: dict[str, Any], ) -> None: - async def evaluate(_values: dict[str, Any]) -> float: + handle = create_browser_study(json.dumps(optimization_description)) + + async def evaluate_to_a_number(_values: dict[str, Any]) -> float: return 1.0 with pytest.raises(ValueError, match="trial outcome must be a JSON object"): asyncio.run( run_browser_study( - json.dumps(optimization_description), - evaluate, - lambda _event: None, - lambda: False, + handle, 3, evaluate_to_a_number, ignore_event, never_cancelled ) ) diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_study.py b/libs/@local/petrinaut-optimizer-core/tests/test_study.py index 57cf4566b46..6f62a5645f4 100644 --- a/libs/@local/petrinaut-optimizer-core/tests/test_study.py +++ b/libs/@local/petrinaut-optimizer-core/tests/test_study.py @@ -1,8 +1,10 @@ from __future__ import annotations +import warnings from typing import Any import optuna +from optuna.exceptions import ExperimentalWarning from optuna.trial import TrialState from petrinaut_optimizer_core import ( @@ -11,6 +13,7 @@ parse_description, study_summary, suggest, + told_trials, trial_event, ) @@ -74,6 +77,44 @@ def test_builds_the_sampler_and_direction_from_the_description( assert study.direction is optuna.study.StudyDirection.MINIMIZE +def test_constant_liar_reaches_only_the_tpe_sampler( + optimization_description: dict[str, Any], +) -> None: + random_description = parse_description(optimization_description) + optimization_description["study"]["sampler"] = "tpe" + tpe_description = parse_description(optimization_description) + + with warnings.catch_warnings(): + warnings.simplefilter("ignore", ExperimentalWarning) + random_study = create_study(random_description, constant_liar=True) + liar_study = create_study(tpe_description, constant_liar=True) + plain_study = create_study(tpe_description) + + assert isinstance(random_study.sampler, optuna.samplers.RandomSampler) + assert liar_study.sampler._constant_liar is True + assert plain_study.sampler._constant_liar is False + + +def test_told_trials_counts_the_trials_with_an_outcome( + optimization_description: dict[str, Any], +) -> None: + description = parse_description(optimization_description) + study = create_study(description) + + first = study.ask() + suggest(first, description.parameters) + study.tell(first, 1.5) + second = study.ask() + suggest(second, description.parameters) + study.tell(second, state=TrialState.PRUNED) + third = study.ask() + suggest(third, description.parameters) + study.tell(third, state=TrialState.FAIL) + suggest(study.ask(), description.parameters) + + assert told_trials(study) == 2 + + def test_trial_events_and_summary_track_best_and_states( optimization_description: dict[str, Any], ) -> None: From 8ea621c12c975bb46376b1ab250f1a0e89129868 Mon Sep 17 00:00:00 2001 From: Chris Feijoo Date: Fri, 4 Sep 2026 06:53:50 +0200 Subject: [PATCH 4/5] Check in the optimizer core library's turbo task dependencies --- apps/petrinaut-opt/docs/task-dependencies.json | 1 + .../petrinaut-optimizer-core/docs/task-dependencies.json | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 libs/@local/petrinaut-optimizer-core/docs/task-dependencies.json diff --git a/apps/petrinaut-opt/docs/task-dependencies.json b/apps/petrinaut-opt/docs/task-dependencies.json index 406a78131c2..d45a80d0fa8 100644 --- a/apps/petrinaut-opt/docs/task-dependencies.json +++ b/apps/petrinaut-opt/docs/task-dependencies.json @@ -1,6 +1,7 @@ { "package": "@apps/petrinaut-opt", "dependencies": [ + "@local/petrinaut-optimizer-core", "@local/petrinaut-python" ], "tasks": { diff --git a/libs/@local/petrinaut-optimizer-core/docs/task-dependencies.json b/libs/@local/petrinaut-optimizer-core/docs/task-dependencies.json new file mode 100644 index 00000000000..2509fc15c82 --- /dev/null +++ b/libs/@local/petrinaut-optimizer-core/docs/task-dependencies.json @@ -0,0 +1,9 @@ +{ + "package": "@local/petrinaut-optimizer-core", + "dependencies": [], + "tasks": { + "lint:ruff": [], + "lint:types": [], + "test:unit": [] + } +} From 52b48357b2c691513aeac57fd35944df53e61646 Mon Sep 17 00:00:00 2001 From: Chris Feijoo Date: Fri, 4 Sep 2026 14:01:10 +0200 Subject: [PATCH 5/5] Scale the TPE start-up trials to the study's step count --- .../src/petrinaut_optimizer_core/__init__.py | 2 + .../src/petrinaut_optimizer_core/study.py | 36 +++++++++++--- .../tests/test_study.py | 48 +++++++++++++++++++ 3 files changed, 79 insertions(+), 7 deletions(-) diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py index 2a884e3ad02..ad6afbfa650 100644 --- a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/__init__.py @@ -38,6 +38,7 @@ study_summary, suggest, told_trials, + tpe_startup_trials, trial_event, ) @@ -69,5 +70,6 @@ "suggest", "to_python", "told_trials", + "tpe_startup_trials", "trial_event", ] diff --git a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py index 44c4dc44dad..3e8dd62d7a1 100644 --- a/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py +++ b/libs/@local/petrinaut-optimizer-core/src/petrinaut_optimizer_core/study.py @@ -26,6 +26,22 @@ "random": RandomSampler, } +# Optuna's own default; larger studies keep it. +OPTUNA_TPE_STARTUP_TRIALS = 10 + + +def tpe_startup_trials(trials: int) -> int: + """How many trials the TPE sampler draws at random before it models the objective. + + Optuna starts every TPE study with 10 random trials, which is most or all + of a short Petrinaut study, so such a study never proposes anything from + its results. A third of the requested trials, at least 2 and at most + Optuna's default, leaves the sampler enough history to model while giving + a 6-step study 4 modelled steps. + """ + return max(2, min(OPTUNA_TPE_STARTUP_TRIALS, trials // 3)) + + _STATE_NAMES = { TrialState.COMPLETE: "complete", TrialState.PRUNED: "pruned", @@ -41,15 +57,21 @@ def create_study( ) -> optuna.Study: """An in-memory study whose sampler is seeded with the description's seed unless `seed` is given. - With `constant_liar`, the TPE sampler counts trials still running as - pending points, so trials asked while others are in flight spread out - instead of landing on the same candidate; Optuna flags the argument as - experimental with an `ExperimentalWarning`. The random sampler has no - history to account for and ignores the flag. + A TPE sampler draws `tpe_startup_trials(description.trials)` trials at + random before modelling unless `n_startup_trials` is given. With + `constant_liar`, the TPE sampler counts trials still running as pending + points, so trials asked while others are in flight spread out instead of + landing on the same candidate; Optuna flags the argument as experimental + with an `ExperimentalWarning`. The random sampler has no history to + account for and ignores both. """ sampler_options.setdefault("seed", description.seed) - if constant_liar and description.sampler == "tpe": - sampler_options["constant_liar"] = True + if description.sampler == "tpe": + sampler_options.setdefault( + "n_startup_trials", tpe_startup_trials(description.trials) + ) + if constant_liar: + sampler_options["constant_liar"] = True sampler = SAMPLERS[description.sampler](**sampler_options) return optuna.create_study(direction=description.direction, sampler=sampler) diff --git a/libs/@local/petrinaut-optimizer-core/tests/test_study.py b/libs/@local/petrinaut-optimizer-core/tests/test_study.py index 6f62a5645f4..7de78093353 100644 --- a/libs/@local/petrinaut-optimizer-core/tests/test_study.py +++ b/libs/@local/petrinaut-optimizer-core/tests/test_study.py @@ -4,6 +4,7 @@ from typing import Any import optuna +import pytest from optuna.exceptions import ExperimentalWarning from optuna.trial import TrialState @@ -14,6 +15,7 @@ study_summary, suggest, told_trials, + tpe_startup_trials, trial_event, ) @@ -155,3 +157,49 @@ def test_trial_events_and_summary_track_best_and_states( "failedTrials": 0, "best": third_event["best"], } + + +@pytest.mark.parametrize( + ("trials", "startup"), + [(1, 2), (5, 2), (6, 2), (9, 3), (12, 4), (30, 10), (1000, 10)], +) +def test_tpe_startup_trials_are_a_third_of_the_study_within_two_and_ten( + trials: int, startup: int +) -> None: + assert tpe_startup_trials(trials) == startup + + +def test_tpe_study_models_after_its_scaled_startup_trials( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"] = {"trials": 6, "sampler": "tpe", "seed": 42} + description = parse_description(optimization_description) + study = create_study(description) + # Optuna keeps the count on the sampler; nothing public exposes it. + assert study.sampler._n_startup_trials == 2 + + # After two random trials the proposals depend on the objectives told, + # so two studies told different values part ways from the third trial. + def third_suggestion(objectives: list[float]) -> dict[str, Any]: + seeded = create_study(description) + for objective in objectives: + trial = seeded.ask() + suggest(trial, description.parameters) + seeded.tell(trial, objective) + return suggest(seeded.ask(), description.parameters) + + assert third_suggestion([1.0, 2.0]) != third_suggestion([2.0, 1.0]) + + +def test_explicit_startup_trials_win_and_the_random_sampler_ignores_them( + optimization_description: dict[str, Any], +) -> None: + optimization_description["study"] = {"trials": 6, "sampler": "tpe", "seed": 42} + tpe_study = create_study( + parse_description(optimization_description), n_startup_trials=5 + ) + assert tpe_study.sampler._n_startup_trials == 5 + + optimization_description["study"] = {"trials": 6, "sampler": "random", "seed": 42} + random_study = create_study(parse_description(optimization_description)) + assert not hasattr(random_study.sampler, "_n_startup_trials")