Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.
Feature/use a minimum version for uv (#19)
Louis Choquel93beca37c0a2
diff --git a/.cursor/rules/pipes.mdc b/.cursor/rules/pipes.mdcindex 6f61c7ac7..4d6b56166 100644--- a/.cursor/rules/pipes.mdc+++ b/.cursor/rules/pipes.mdc@@ -9,16 +9,14 @@ This rule explains how to build pipes.## The pipelines/ directory-- Pipelines and structures are defined in the `pipelex/pipelex_libraries/pipelines/` directory+- Pipelines and structures are defined in the `pipelex/libraries/` directory-pipelex/pipelex_libraries+pipelex/libraries└── pipelines- ├── structures- └── toml## Pipeline file naming-- Pipeline TOML files should be placed in the `pipelex/pipelex_libraries/pipelines/toml/` directory or a subdirectory of it+- Pipeline TOML files should be placed in the `pipelex/libraries/pipelines/` directory or a subdirectory of it- The file name should be descriptive, in snake_case and end with `.toml`- The file should contain both concepts and pipes definitionsdiff --git a/.env.example b/.env.exampleindex 73218e151..d41b892a3 100644--- a/.env.example+++ b/.env.example@@ -6,8 +6,8 @@ AWS_ACCESS_KEY_ID=AWS_SECRET_ACCESS_KEY=AWS_REGION=-AZURE_OPENAI_ENDPOINT=-AZURE_OPENAI_API_VERSION=+AZURE_OPENAI_API_ENDPOINT=+AZURE_OPENAI_API_VERSION=2025-04-01-preview # this is the latest API version with previex featuresAZURE_OPENAI_API_KEY=ANTHROPIC_API_KEY=@@ -23,5 +23,5 @@ GCP_PROJECT_ID=GCP_REGION=GCP_CREDENTIALS_FILE_PATH=path/to/credentials.json-CUSTOM_ENDPOINT_BASE_URL=-CUSTOM_ENDPOINT_API_KEY=\ No newline at end of file+CUSTOM_ENDPOINT_BASE_URL=http://localhost:11434/v1/ # this is the default url for local ollama server+CUSTOM_ENDPOINT_API_KEY=diff --git a/.github/workflows/lint-check.yml b/.github/workflows/lint-check.ymlindex 174468e10..ea1eabc65 100644--- a/.github/workflows/lint-check.yml+++ b/.github/workflows/lint-check.yml@@ -19,14 +19,8 @@ jobs:with:python-version: "3.11"- - name: Get UV version- id: uv-version- run: echo "UV_VERSION=$(make get-uv-version)" >> $GITHUB_ENV-- - name: Install uv- run: |- curl -LsSf https://astral.sh/uv/${{ env.UV_VERSION }}/install.sh | sh- echo "$HOME/.cargo/bin" >> $GITHUB_PATH+ - name: Check UV installation+ run: make check-uv- name: Verify UV installationrun: uv --versiondiff --git a/.github/workflows/tests-check.yml b/.github/workflows/tests-check.ymlindex f42ca1944..bee8e3d88 100644--- a/.github/workflows/tests-check.yml+++ b/.github/workflows/tests-check.yml@@ -44,14 +44,8 @@ jobs:with:python-version: "3.11"- - name: Get UV version- id: uv-version- run: echo "UV_VERSION=$(make get-uv-version)" >> $GITHUB_ENV-- - name: Install uv- run: |- curl -LsSf https://astral.sh/uv/${{ env.UV_VERSION }}/install.sh | sh- echo "$HOME/.cargo/bin" >> $GITHUB_PATH+ - name: Check UV installation+ run: make check-uv- name: Verify UV installationrun: uv --version@@ -60,4 +54,4 @@ jobs:run: make install- name: Run tests- run: make runtests+ run: make gha-testsdiff --git a/.vscode/tasks.json b/.vscode/tasks.jsonindex 3c6da0647..9574c8230 100644--- a/.vscode/tasks.json+++ b/.vscode/tasks.json@@ -14,11 +14,11 @@}},{- "label": "make run-setup",+ "label": "make validate","type": "shell","command": "make","args": [- "run-setup",+ "validate",],"group": {"kind": "test",diff --git a/AGENTS.md b/AGENTS.mdnew file mode 100644index 000000000..655b99e65--- /dev/null+++ b/AGENTS.md@@ -0,0 +1,36 @@+# General rules++## Repo structure++Pipelex is a framework to run low-code AI workflows for repeatable processes.+This python 3.11 code is in the `pipelex` directory.++## Code Style & formatting++- Imitate existing style+- Use type hints+- Respect Pydantic v2 standard+- Use Typer for CLIs+- Use explicit keyword arguments for function calls with multiple parameters (e.g., `func(arg_name=value)` not just `func(value)`)+- Add trailing commas to multi-line lists, dicts, function arguments, and tuples with >2 items (helps with cleaner diffs and prevents syntax errors when adding items)+- All imports inside this repo's packages must be absolute package paths from the root++## Linting & checking++- Run `make lint` -> it runs `ruff check . --fix` to enforce all our linting rules+- Run `make pyright` -> it typechecks with pyright using proper settings+- Run `make mypy` -> it typechecks with mypy using proper settings+ - if you added a dependency and mypy complains that it's not typed, add it to the list of modules in [[tool.mypy.overrides]] in pyproject.toml, be sure to signal it in your PR recap so that maintainers can look for existing stubs++## Testing++- Always test with `make codex-tests` -> it runs pytest on our `tests/` directory using proper settings+- If all unit tests pass, run `make validate` -> it runs a minimal version of our app with just the inits and data loading++## PR Instructions++- Run `make fix-unused-imports` -> removes unused imports, required to validate PR+- Re-run checks in one call with `make check` -> formatting and linting with Ruff, type-checking with Pyright and Mypy+- Re-run `make codex-tests`+- Write a one-line summary of the changes.+- Be sure to list changes made to configs, tests and dependenciesdiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex bb4e10d28..00596b5ea 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -21,7 +21,7 @@ We are open to contributions in all areas of our core Pipelex library:- Clone the repository locally- Install dependencies: `make install` (creates .venv and installs dependencies)- Copy `.env.example` to `.env` and fill in required API keys (at least OpenAI)-- Run checks to make sure all is good: `make check` & `make runtests`+- Run checks to make sure all is good: `make check` & `make test`- Create a branch with the format user_name/category/short_slug where category is one of: `feature`, `fix`, `refactor`, `doc`, `cicd` or `chore`- Make and commit changes- Push your local branch to your fork@@ -52,14 +52,14 @@ We are open to contributions in all areas of our core Pipelex library:- Clone the repository locally- Install dependencies: `make install` (creates .venv and installs dependencies)- Copy `.env.example` to `.env` and fill in required API keys (at least OpenAI)-- Run checks to make sure all is good: `make check` & `make runtests`+- Run checks to make sure all is good: `make check` & `make test`- Create a branch for your feature/bug-fix with the format user_name/feature/some_feature or user_name/fix/some_bugfix- Make and commit changes- Push your local branch to your fork-- When it's ready, run quality tests:+- When it's ready, re-run quality tests:- Run `make fix-unused-imports` to removed unused imports- Run `make check` for formatting & linting with Ruff, and type-checking with Pyright and Mypy-- Run `make runtests` for test suite+- Run `make test` for test suite- Open a PR that [links to an existing Issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) including a PR title and description- Mark as Draft until CI passes- Maintainers will review the codediff --git a/Makefile b/Makefileindex b26928147..a90394903 100644--- a/Makefile+++ b/Makefile@@ -3,25 +3,31 @@ include .envexportendifVIRTUAL_ENV := $(CURDIR)/.venv-LOCAL_PYTHON := $(VIRTUAL_ENV)/bin/python3.11PROJECT_NAME := $(shell grep '^name = ' pyproject.toml | sed -E 's/name = "(.*)"/\1/')-LOCAL_PYTEST := $(VIRTUAL_ENV)/bin/pytest+VENV_PYTHON := $(VIRTUAL_ENV)/bin/python3.11+VENV_PYTEST := $(VIRTUAL_ENV)/bin/pytest+VENV_RUFF := $(VIRTUAL_ENV)/bin/ruff+VENV_PYRIGHT := $(VIRTUAL_ENV)/bin/pyright+VENV_MYPY := $(VIRTUAL_ENV)/bin/mypy+VENV_PIPELEX := $(VIRTUAL_ENV)/bin/pipelex-define GET_UV_VERSION-$(shell awk '/^\[tool.uv\]/{f=1;next} f==1&&/^required-version/{print $$3;exit}' pyproject.toml | tr -d '"')-endef+UV_MIN_VERSION = $(shell grep -m1 'required-version' pyproject.toml | sed -E 's/.*= *"([^<>=, ]+).*/\1/')define PRINT_TITLE- $(eval PADDED_PROJECT_NAME := $(shell printf '%-15s' "[$(PROJECT_NAME)] " | sed 's/ /=/g'))- $(eval PADDED_TARGET_NAME := $(shell printf '%-15s' "($@) " | sed 's/ /=/g'))- $(if $(1),\- $(eval TITLE := $(shell printf '%s' "=== $(PADDED_PROJECT_NAME) $(PADDED_TARGET_NAME)" | sed 's/[[:space:]]/ /g')$(shell echo " $(1) " | sed 's/[[:space:]]/ /g')),\- $(eval TITLE := $(shell printf '%s' "=== $(PADDED_PROJECT_NAME) $(PADDED_TARGET_NAME)" | sed 's/[[:space:]]/ /g'))\- )- $(eval PADDED_TITLE := $(shell printf '%-126s' "$(TITLE)" | sed 's/ /=/g'))- @echo ""- @echo "$(PADDED_TITLE)"+ $(eval PROJECT_PART := [$(PROJECT_NAME)])+ $(eval TARGET_PART := ($@))+ $(eval MESSAGE_PART := $(1))+ $(if $(MESSAGE_PART),\+ $(eval FULL_TITLE := === $(PROJECT_PART) ===== $(TARGET_PART) ====== $(MESSAGE_PART) ),\+ $(eval FULL_TITLE := === $(PROJECT_PART) ===== $(TARGET_PART) ====== )\+ )+ $(eval TITLE_LENGTH := $(shell echo -n "$(FULL_TITLE)" | wc -c | tr -d ' '))+ $(eval PADDING_LENGTH := $(shell echo $$((126 - $(TITLE_LENGTH)))))+ $(eval PADDING := $(shell printf '%*s' $(PADDING_LENGTH) '' | tr ' ' '='))+ $(eval PADDED_TITLE := $(FULL_TITLE)$(PADDING))+ @echo ""+ @echo "$(PADDED_TITLE)"endefdefine HELP@@ -32,7 +38,7 @@ make env - Create python virtual envmake lock - Refresh uv.lock without updating anythingmake install - Create local virtualenv & install all dependenciesmake update - Upgrade dependencies via uv-make run-setup - Run the setup sequence+make validate - Run the setup sequence to validate the config and librariesmake build - Build the wheelsmake format - format with ruff format@@ -52,9 +58,10 @@ make merge-check-mypy - Run mypy merge check without updating filesmake merge-check-pyright - Run pyright merge check without updating filesmake rl - Shorthand -> reinitlibraries-make s - Shorthand -> run-setup+make v - Shorthand -> validatemake init - Run pipelex init-make runtests - Run tests for github actions (exit on first failure) (no inference)+make codex-tests - Run tests for Codex (exit on first failure) (no inference, no codex_disabled)+make gha-tests - Run tests for github actions (exit on first failure) (no inference, no gha_disabled)make test - Run unit tests (no inference)make test-with-prints - Run tests with prints (no inference)make t - Shorthand -> test-with-prints@@ -75,7 +82,7 @@ make fix-unused-imports - Fix unused imports with ruffendefexport HELP-.PHONY: all help env lock install update format lint pyright mypy build cleanderived cleanenv run-setup s runtests test test-with-prints t test-inference ti test-imgg tg test-ocr to check cc li merge-check-ruff-lint merge-check-ruff-format merge-check-mypy check-unused-imports fix-unused-imports test-name check-uv get-uv-version+.PHONY: all help env lock install update format lint pyright mypy build cleanderived cleanenv validate v gha-tests test test-with-prints t test-inference ti test-imgg tg test-ocr to check cc li merge-check-ruff-lint merge-check-ruff-format merge-check-mypy check-unused-imports fix-unused-imports test-name check-uvall help:@echo "$$HELP"@@ -86,34 +93,16 @@ all help:##########################################################################################check-uv:- $(call PRINT_TITLE,"Checking UV version")- @UV_VERSION=$(GET_UV_VERSION); \- if [ -z "$$UV_VERSION" ]; then \- echo "Error: UV version not found in pyproject.toml"; \- exit 1; \- fi; \- echo "UV_VERSION: $$UV_VERSION"; \- if ! command -v uv >/dev/null 2>&1; then \- echo "Installing UV version $$UV_VERSION"; \- curl -LsSf https://astral.sh/uv/$$UV_VERSION/install.sh | sh; \- elif [ "$$(uv --version | cut -d ' ' -f 2)" != "$$UV_VERSION" ]; then \- echo "Updating UV to version $$UV_VERSION"; \- curl -LsSf https://astral.sh/uv/$$UV_VERSION/install.sh | sh; \- else \- echo "UV version $$UV_VERSION is already installed"; \- fi+ $(call PRINT_TITLE,"Ensuring uv ≥ $(UV_MIN_VERSION)")+ @command -v uv >/dev/null 2>&1 || { \+ echo "uv not found – installing latest …"; \+ curl -LsSf https://astral.sh/uv/install.sh | sh; \+ }+ @uv self update >/dev/null 2>&1 || trueCURRENT_VERSION := $(shell grep '^version = ' pyproject.toml | sed -E 's/version = "(.*)"/\1/')NEXT_VERSION := $(shell echo $(CURRENT_VERSION) | awk -F. '{$$NF = $$NF + 1;} 1' | sed 's/ /./g')-get-uv-version:- @UV_VERSION=$(GET_UV_VERSION); \- if [ -z "$$UV_VERSION" ]; then \- echo "Error: UV version not found in pyproject.toml" >&2; \- exit 1; \- fi; \- echo "$$UV_VERSION"-env: check-uv$(call PRINT_TITLE,"Creating virtual environment")@if [ ! -d $(VIRTUAL_ENV) ]; then \@@ -124,14 +113,14 @@ env: check-uvfiinit: env- $(call PRINT_TITLE,"Running `pipelex init`")- pipelex init+ $(call PRINT_TITLE,"Running pipelex init")+ $(VENV_PIPELEX) initinstall: env$(call PRINT_TITLE,"Installing dependencies")@. $(VIRTUAL_ENV)/bin/activate && \uv sync --all-extras && \- pipelex init && \+ $(VENV_PIPELEX) init && \echo "Installed Pipelex dependencies in ${VIRTUAL_ENV} with all extras and initialized Pipelex";lock: env@@ -145,9 +134,9 @@ update: envuv sync --all-extras && \echo "Updated dependencies in ${VIRTUAL_ENV}";-run-setup: env+validate: env$(call PRINT_TITLE,"Running setup sequence")- pipelex run-setup+ $(VENV_PIPELEX) validatebuild: env$(call PRINT_TITLE,"Building the wheels")@@ -195,42 +184,47 @@ cleanall: cleanderived cleanenv cleanlibraries### TESTING##########################################################################################-runtests: env+codex-tests: env+ $(call PRINT_TITLE,"Unit testing for Codex")+ @echo "• Running unit tests for Codex (excluding inference and codex_disabled)"+ $(VENV_PYTEST) --exitfirst --quiet -m "not inference and not codex_disabled" || [ $$? = 5 ]++gha-tests: env$(call PRINT_TITLE,"Unit testing for github actions")- @echo "• Running unit tests (excluding inference, and gha_disabled)"- $(LOCAL_PYTEST) --exitfirst --quiet -m "not inference and not gha_disabled" || [ $$? = 5 ]+ @echo "• Running unit tests for github actions (excluding inference and gha_disabled)"+ $(VENV_PYTEST) --exitfirst --quiet -m "not inference and not gha_disabled" || [ $$? = 5 ]run-all-tests: env$(call PRINT_TITLE,"Running all unit tests")@echo "• Running all unit tests"- $(LOCAL_PYTEST) --exitfirst --quiet+ $(VENV_PYTEST) --exitfirst --quietrun-manual-trigger-gha-tests: env$(call PRINT_TITLE,"Running GHA tests")@echo "• Running GHA unit tests for inference, llm, and not gha_disabled"- $(LOCAL_PYTEST) --exitfirst --quiet -m "not gha_disabled and (inference or llm)" || [ $$? = 5 ]+ $(VENV_PYTEST) --exitfirst --quiet -m "not gha_disabled and (inference or llm)" || [ $$? = 5 ]run-gha_disabled-tests: env$(call PRINT_TITLE,"Running GHA disabled tests")@echo "• Running GHA disabled unit tests"- $(LOCAL_PYTEST) --exitfirst --quiet -m "gha_disabled" || [ $$? = 5 ]+ $(VENV_PYTEST) --exitfirst --quiet -m "gha_disabled" || [ $$? = 5 ]test: env$(call PRINT_TITLE,"Unit testing without prints but displaying logs via pytest for WARNING level and above")@echo "• Running unit tests"@if [ -n "$(TEST)" ]; then \- $(LOCAL_PYTEST) -s -o log_cli=true -o log_level=WARNING -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) -s -o log_cli=true -o log_level=WARNING -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \else \- $(LOCAL_PYTEST) -s -o log_cli=true -o log_level=WARNING $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) -s -o log_cli=true -o log_level=WARNING $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \fitest-with-prints: env$(call PRINT_TITLE,"Unit testing with prints and our rich logs")@echo "• Running unit tests"@if [ -n "$(TEST)" ]; then \- $(LOCAL_PYTEST) -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \else \- $(LOCAL_PYTEST) -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \fit: test-with-prints@@ -239,9 +233,9 @@ t: test-with-printstest-inference: env$(call PRINT_TITLE,"Unit testing")@if [ -n "$(TEST)" ]; then \- $(LOCAL_PYTEST) --exitfirst -m "inference and not imgg" -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) --exitfirst -m "inference and not imgg" -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \else \- $(LOCAL_PYTEST) --exitfirst -m "inference and not imgg" -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) --exitfirst -m "inference and not imgg" -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \fiti: test-inference@@ -250,9 +244,9 @@ ti: test-inferencetest-ocr: env$(call PRINT_TITLE,"Unit testing ocr")@if [ -n "$(TEST)" ]; then \- $(LOCAL_PYTEST) --exitfirst -m "ocr" -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) --exitfirst -m "ocr" -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \else \- $(LOCAL_PYTEST) --exitfirst -m "ocr" -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) --exitfirst -m "ocr" -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \fito: test-ocr@@ -261,9 +255,9 @@ to: test-ocrtest-imgg: env$(call PRINT_TITLE,"Unit testing")@if [ -n "$(TEST)" ]; then \- $(LOCAL_PYTEST) --exitfirst -m "imgg" -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) --exitfirst -m "imgg" -s -k "$(TEST)" $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \else \- $(LOCAL_PYTEST) --exitfirst -m "imgg" -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \+ $(VENV_PYTEST) --exitfirst -m "imgg" -s $(if $(filter 2,$(VERBOSE)),-vv,$(if $(filter 3,$(VERBOSE)),-vvv,-v)); \fitg: test-imgg@@ -275,20 +269,20 @@ tg: test-imggformat: env$(call PRINT_TITLE,"Formatting with ruff")- uv run ruff format .+ $(VENV_RUFF) format .lint: env$(call PRINT_TITLE,"Linting with ruff")- uv run ruff check . --fix+ $(VENV_RUFF) check . --fixpyright: env$(call PRINT_TITLE,"Typechecking with pyright")- uv run pyright --pythonpath $(LOCAL_PYTHON) && \+ $(VENV_PYRIGHT) --pythonpath $(VENV_PYTHON) && \echo "Done typechecking with pyright — disregard warning about latest version, it's giving us false positives"mypy: env$(call PRINT_TITLE,"Typechecking with mypy")- uv run mypy+ $(VENV_MYPY)##########################################################################################@@ -297,20 +291,20 @@ mypy: envmerge-check-ruff-format: env$(call PRINT_TITLE,"Formatting with ruff")- uv run ruff format --check -v .+ $(VENV_RUFF) format --check -v .merge-check-ruff-lint: env check-unused-imports$(call PRINT_TITLE,"Linting with ruff without fixing files")- uv run ruff check -v .+ $(VENV_RUFF) check -v .merge-check-pyright: env$(call PRINT_TITLE,"Typechecking with pyright")- uv run pyright -p pyproject.toml+ $(VENV_PYRIGHT) --pythonpath $(VENV_PYTHON)merge-check-mypy: env$(call PRINT_TITLE,"Typechecking with mypy")- uv run mypy --version && \- uv run mypy --config-file pyproject.toml+ $(VENV_MYPY) --version && \+ $(VENV_MYPY) --config-file pyproject.toml############################################################################################# SHORTHANDS@@ -318,7 +312,7 @@ merge-check-mypy: envcheck-unused-imports: env$(call PRINT_TITLE,"Checking for unused imports without fixing")- uv run ruff check --select=F401 --no-fix .+ $(VENV_RUFF) check --select=F401 --no-fix .c: init format lint pyright mypy@echo "> done: c = check"@@ -329,16 +323,16 @@ cc: init cleanderived ccheck: cc check-unused-imports@echo "> done: check"-s: init run-setup- @echo "> done: s = run-setup"+v: init validate+ @echo "> done: v = validate"li: lock install@echo "> done: lock install"check-TODOs: env$(call PRINT_TITLE,"Checking for TODOs")- uv run ruff check --select=TD -v .+ $(VENV_RUFF) check --select=TD -v .fix-unused-imports: env$(call PRINT_TITLE,"Fixing unused imports")- uv run ruff check --select=F401 --fix -v .+ $(VENV_RUFF) check --select=F401 --fix -v .diff --git a/pipelex/__init__.py b/pipelex/__init__.pyindex 7c5ab0fec..6e391cf23 100644--- a/pipelex/__init__.py+++ b/pipelex/__init__.py@@ -1,3 +1,4 @@+from pipelex._bootstrap_user_libs import activate as _px_bootstrap_user_libsfrom pipelex.tools.log.log import logfrom pipelex.tools.misc.pretty import pretty_print@@ -10,6 +11,4 @@ __all__ = [# Keep <project>/pipelex_libraries on sys.path for every installer (Fix for uv)# -------------------------------------------------------------from ._bootstrap_user_libs import activate as _px_bootstrap_user_libs-_px_bootstrap_user_libs()diff --git a/pipelex/cli/_cli.py b/pipelex/cli/_cli.pyindex 7a5036749..c8a984f25 100644--- a/pipelex/cli/_cli.py+++ b/pipelex/cli/_cli.py@@ -58,11 +58,11 @@ def init(@app.command()-def run_setup() -> None:+def validate() -> None:"""Run the setup sequence."""LibraryConfig.export_libraries()Pipelex.make()- log.info("Running setup sequence passed OK.")+ log.info("Setup sequence passed OK, config and pipelines are validated.")@app.command()diff --git a/pipelex/cogt/llm/llm_models/llm_model.py b/pipelex/cogt/llm/llm_models/llm_model.pyindex a8f843e29..8306187bc 100644--- a/pipelex/cogt/llm/llm_models/llm_model.py+++ b/pipelex/cogt/llm/llm_models/llm_model.py@@ -35,11 +35,15 @@ class LLMModel(BaseModel):@propertydef name_and_version(self) -> str:- return f"{self.llm_name}:{self.version}"+ return f"{self.llm_name}/{self.version}"@propertydef name_and_version_and_platform(self) -> str:- return f"{self.llm_name}:{self.version}:{self.default_platform}"+ return f"{self.llm_name}/{self.version}/{self.default_platform}"++ @property+ def desc(self) -> str:+ return f"{self.llm_family}/{self.llm_name}/{self.version}/{self.default_platform}"@propertydef is_system_prompt_supported(self) -> bool:diff --git a/pipelex/cogt/plugin/openai/openai_llm_worker.py b/pipelex/cogt/plugin/openai/openai_llm_worker.pyindex dc9d20ecc..12d735b6a 100644--- a/pipelex/cogt/plugin/openai/openai_llm_worker.py+++ b/pipelex/cogt/plugin/openai/openai_llm_worker.py@@ -119,8 +119,9 @@ class OpenAILLMWorker(LLMWorkerAbstract):):raise OpenAIWorkerError(f"LLM family {self.llm_engine.llm_model.llm_family} is not supported by OpenAILLMWorker")except NotFoundError as not_found_error:+ # TODO: record llm config so it can be displayed hereraise OpenAIWorkerModelNotFoundError(- f"OpenAI model or deployment '{self.llm_engine.llm_id}' not found: {not_found_error}"+ f"OpenAI model or deployment not found:\n{self.llm_engine.desc}\nmodel: {self.llm_engine.llm_model.desc}\n{not_found_error}") from not_found_errorexcept APIConnectionError as api_connection_error:raise OpenAIWorkerError(f"OpenAI API connection error: {api_connection_error}") from api_connection_errordiff --git a/pipelex/libraries/llm_deck/base_llm_deck.toml b/pipelex/libraries/llm_deck/base_llm_deck.tomlindex 7108705bb..48710aac7 100644--- a/pipelex/libraries/llm_deck/base_llm_deck.toml+++ b/pipelex/libraries/llm_deck/base_llm_deck.toml@@ -9,6 +9,7 @@gpt-4o-2024-08-06 = { llm_name = "gpt-4o", llm_version = "2024-08-06" }best-claude = "claude-3-7-sonnet"best-gemini = "gemini-2.5-pro"+best-mistral = "mistral-large"##################################################################################################### LLM Presetsdiff --git a/pyproject.toml b/pyproject.tomlindex f7aa7c684..b3b3a81c9 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -37,7 +37,7 @@ dependencies = ["toml>=0.10.2","typer>=0.16.0","typing-extensions>=4.12.2",- "yattag>=1.15.2"+ "yattag>=1.15.2",][project.urls]@@ -199,6 +199,7 @@ markers = ["imgg: slow and costly due to imgg inference calls","ocr: slow and costly due to ocr inference calls","gha_disabled: tests that should not run in GitHub Actions",+ "codex_disabled: tests that should not run in Codex",]minversion = "8.0"@@ -217,7 +218,16 @@ exclude_lines = [][tool.ruff]-exclude = [".mypy_cache", ".ruff_cache", ".venv", ".vscode", "trigger_pipeline"]+exclude = [+ ".cursor",+ ".git",+ ".github",+ ".mypy_cache",+ ".ruff_cache",+ ".venv",+ ".vscode",+ "trigger_pipeline",+]line-length = 150target-version = "py311"@@ -244,7 +254,7 @@ select = [][tool.uv]-required-version = "0.7.2"+required-version = ">=0.7.2"[tool.hatch.build.targets.wheel]packages = ["pipelex"]diff --git a/tests/cogt/asynch/llm_providers/test_anthropic.py b/tests/cogt/asynch/llm_providers/test_anthropic.pyindex 840a42e31..51b4a698c 100644--- a/tests/cogt/asynch/llm_providers/test_anthropic.py+++ b/tests/cogt/asynch/llm_providers/test_anthropic.py@@ -11,6 +11,7 @@ from pipelex.cogt.plugin.anthropic.anthropic_llms import anthropic_list_anthropi# make t VERBOSE=2 TEST=TestAnthropic@pytest.mark.llm@pytest.mark.gha_disabled[email protected]_disabled@pytest.mark.asyncio(loop_scope="class")class TestAnthropic:# pytest -k test_anthropic_list_models -s -vvdiff --git a/tests/cogt/asynch/llm_providers/test_openai.py b/tests/cogt/asynch/llm_providers/test_openai.pyindex 438cda9f2..570deba4d 100644--- a/tests/cogt/asynch/llm_providers/test_openai.py+++ b/tests/cogt/asynch/llm_providers/test_openai.py@@ -11,6 +11,7 @@ from pipelex.hub import get_secrets_provider# make t VERBOSE=2 TEST=TestOpenAI@pytest.mark.llm@pytest.mark.gha_disabled[email protected]_disabled@pytest.mark.asyncio(loop_scope="class")class TestOpenAI:async def test_openai_api_key(self):diff --git a/tests/cogt/synchro/llm_providers/test_bedrock.py b/tests/cogt/synchro/llm_providers/test_bedrock.pyindex e9955c355..8eb1c9a2f 100644--- a/tests/cogt/synchro/llm_providers/test_bedrock.py+++ b/tests/cogt/synchro/llm_providers/test_bedrock.py@@ -10,6 +10,7 @@ from rich.table import Table# make t VERBOSE=2 TEST=TestBedrock@pytest.mark.llm@pytest.mark.gha_disabled[email protected]_disabledclass TestBedrock:# pytest -k test_bedrock_list_available_models -s -vvdef test_bedrock_list_available_models(diff --git a/tests/cogt/synchro/llm_providers/test_mistral.py b/tests/cogt/synchro/llm_providers/test_mistral.pyindex 4d0f89d91..b404a2fcd 100644--- a/tests/cogt/synchro/llm_providers/test_mistral.py+++ b/tests/cogt/synchro/llm_providers/test_mistral.py@@ -10,6 +10,7 @@ from pipelex.cogt.plugin.mistral.mistral_llms import list_mistral_models# make t VERBOSE=2 TEST=TestMistral@pytest.mark.llm@pytest.mark.gha_disabled[email protected]_disabledclass TestMistral:# pytest -k test_mistral_list_models -s -vv# make t VERBOSE=2 TEST=test_mistral_list_modelsdiff --git a/tests/cogt/synchro/test_setup_workers.py b/tests/cogt/synchro/test_setup_workers.pyindex 375748cbd..165f30161 100644--- a/tests/cogt/synchro/test_setup_workers.py+++ b/tests/cogt/synchro/test_setup_workers.py@@ -4,6 +4,7 @@ from pipelex.hub import get_inference_manager@pytest.mark.gha_disabled[email protected]_disabledclass TestCogtSetupWorkers:def test_setup_inference_manager(self):get_inference_manager().setup_llm_workers()diff --git a/tests/tools/basic/__init__.py b/tests/tools/aws/__init__.pysimilarity index 100%rename from tests/tools/basic/__init__.pyrename to tests/tools/aws/__init__.pydiff --git a/tests/tools/test_aws.py b/tests/tools/aws/test_aws.pysimilarity index 96%rename from tests/tools/test_aws.pyrename to tests/tools/aws/test_aws.pyindex d85d16a47..1dd460242 100644--- a/tests/tools/test_aws.py+++ b/tests/tools/aws/test_aws.py@@ -13,6 +13,7 @@ def aws_key_method(request: pytest.FixtureRequest) -> AwsKeyMethod:@pytest.mark.gha_disabled[email protected]_disableddef test_get_aws_access_keys(aws_key_method: AwsKeyMethod):aws_config = get_config().pipelex.aws_configaws_access_key_id, aws_secret_access_key, aws_region = aws_config.get_aws_access_keys_with_method(api_key_method=aws_key_method)diff --git a/tests/tools/basic/test_pydantic.py b/tests/tools/basic/test_pydantic.pydeleted file mode 100644index a8725a1c7..000000000--- a/tests/tools/basic/test_pydantic.py+++ /dev/null@@ -1,35 +0,0 @@-from typing import Any, Dict--from pydantic import RootModel--from pipelex import log--MyDictType = Dict[str, Any]---class MyRootModel(RootModel[MyDictType]):- def check(self):- if not self.root:- log.debug("self.root is empty")- log.debug(f"self.root.items(): {self.root.items()}")- log.debug(f"self.root: {self.root}")---class TestPydantic:- def test_root_model(self):- my_root_model_1 = MyRootModel(root={"a": 1, "b": 2})- log.debug(my_root_model_1)- log.debug(f"my_root_model_1.root: {my_root_model_1.root}")-- my_root_model_2 = MyRootModel(root={})- log.debug(my_root_model_2)- log.debug(f"my_root_model_2.root: {my_root_model_2.root}")- if not my_root_model_2.root:- log.debug("my_root_model_2.root is empty")-- my_root_model_2.check()-- def test_validate_root_model(self):- my_root_model_3_dict = {"root": {"a": 1, "b": 2}}- my_root_model_3 = MyRootModel.model_validate(my_root_model_3_dict)- log.debug(my_root_model_3)diff --git a/tests/tools/class_registry/__init__.py b/tests/tools/class_registry/__init__.pynew file mode 100644index 000000000..8b1378917--- /dev/null+++ b/tests/tools/class_registry/__init__.py@@ -0,0 +1 @@+diff --git a/tests/tools/config/__init__.py b/tests/tools/config/__init__.pynew file mode 100644index 000000000..8b1378917--- /dev/null+++ b/tests/tools/config/__init__.py@@ -0,0 +1 @@+diff --git a/tests/tools/config/test_config_manager.py b/tests/tools/config/test_config_manager.pynew file mode 100644index 000000000..01d53c384--- /dev/null+++ b/tests/tools/config/test_config_manager.py@@ -0,0 +1,9 @@+from pipelex import pretty_print+from pipelex.tools.config.manager import config_manager+++class TestConfigManager:+ def test_get_project_name(self):+ project_name = config_manager.get_project_name()+ pretty_print(project_name, title="project_name")+ assert project_name == "pipelex"diff --git a/tests/tools/misc/test_base_64_utils.py b/tests/tools/misc/test_base_64_utils.pynew file mode 100644index 000000000..aac7f2712--- /dev/null+++ b/tests/tools/misc/test_base_64_utils.py@@ -0,0 +1,70 @@+import base64+from pathlib import Path++import pytest++from pipelex.tools.misc.base_64_utils import (+ encode_to_base64,+ encode_to_base64_async,+ load_binary_as_base64,+ load_binary_as_base64_async,+ save_base64_to_binary_file,+)+from tests.tools.test_data import FileHelperTestCases+++class TestBase64Utils:+ def test_load_binary_as_base64(self) -> None:+ file_path = FileHelperTestCases.TEST_IMAGE+ with open(file_path, "rb") as f:+ expected = base64.b64encode(f.read())++ result = load_binary_as_base64(path=file_path)++ assert result == expected++ @pytest.mark.asyncio+ async def test_load_binary_as_base64_async(self) -> None:+ file_path = FileHelperTestCases.TEST_IMAGE+ with open(file_path, "rb") as f:+ expected = base64.b64encode(f.read())++ result = await load_binary_as_base64_async(path=file_path)++ assert result == expected++ def test_encode_to_base64(self) -> None:+ data = b"hello world"+ expected = base64.b64encode(data)++ assert encode_to_base64(data) == expected++ @pytest.mark.asyncio+ async def test_encode_to_base64_async(self) -> None:+ data = b"async data"+ expected = base64.b64encode(data)++ result = await encode_to_base64_async(data)++ assert result == expected++ def test_save_base64_to_binary_file_plain(self, tmp_path: Path) -> None:+ data = b"binary data"+ b64 = base64.b64encode(data).decode()+ out_file = tmp_path / "out.bin"++ save_base64_to_binary_file(b64=b64, file_path=str(out_file))++ with open(out_file, "rb") as f:+ assert f.read() == data++ def test_save_base64_to_binary_file_data_url(self, tmp_path: Path) -> None:+ data = b"more data"+ b64 = base64.b64encode(data).decode()+ data_url = f"data:application/octet-stream;base64,{b64}"+ out_file = tmp_path / "out.bin"++ save_base64_to_binary_file(b64=data_url, file_path=str(out_file))++ with open(out_file, "rb") as f:+ assert f.read() == datadiff --git a/tests/tools/misc/test_httpx_fetching.py b/tests/tools/misc/test_httpx_fetching.pyindex c9b4dcbe1..e4cef8600 100644--- a/tests/tools/misc/test_httpx_fetching.py+++ b/tests/tools/misc/test_httpx_fetching.py@@ -4,6 +4,7 @@ from pipelex.tools.misc.file_fetch_utils import fetch_file_from_url_httpx, fetchfrom tests.tools.test_data import TestURLs[email protected]_disabledclass TestHttpxFetching:@pytest.mark.asyncio@pytest.mark.parametrize("url", TestURLs.PUBLIC_URLS)diff --git a/tests/tools/misc/test_model_helpers.py b/tests/tools/misc/test_model_helpers.pydeleted file mode 100644index d96b15eb3..000000000--- a/tests/tools/misc/test_model_helpers.py+++ /dev/null@@ -1,36 +0,0 @@-from typing import Any, Dict, cast--from pydantic import BaseModel, Field--from pipelex.tools.typing.pydantic_utils import ExtraFieldAttribute, serialize_model---class ChildModel(BaseModel):- child_name: str- child_secret: str = Field(- ...,- json_schema_extra={ExtraFieldAttribute.IS_HIDDEN: True}, # This field should be hidden- )---class ParentModel(BaseModel):- parent_name: str- child: ChildModel---def test_serialize_model_with_hidden_fields():- # Create nested models- child = ChildModel(child_name="foo", child_secret="secret_foo")- parent = ParentModel(parent_name="bar", child=child)-- # Test default model_dump() shows everything- model_dump_result: Dict[str, Any] = parent.model_dump()- child_dict = cast(Dict[str, Any], model_dump_result["child"])- assert "child_secret" in child_dict- assert child_dict["child_secret"] == "secret_foo"-- # Test our custom serializer omits hidden fields (child_secret)- serialized_result = cast(Dict[str, Any], serialize_model(parent))- child_serialized = cast(Dict[str, Any], serialized_result["child"])- assert "child_secret" not in child_serialized- assert serialized_result == {"parent_name": "bar", "child": {"child_name": "foo"}}diff --git a/tests/tools/basic/test_pretty.py b/tests/tools/misc/test_pretty.pysimilarity index 91%rename from tests/tools/basic/test_pretty.pyrename to tests/tools/misc/test_pretty.pyindex 2685be738..8020ea4de 100644--- a/tests/tools/basic/test_pretty.py+++ b/tests/tools/misc/test_pretty.py@@ -2,6 +2,7 @@ import reimport textwrapfrom typing import Dict, List, Optional, Union+import pytestfrom pydantic import BaseModel, Fieldfrom pytest import CaptureFixture@@ -30,46 +31,17 @@ class ComplexUser(BaseModel):metadata: Dict[str, Union[str, int, bool]] = Field(default_factory=dict)-class TestPrettyPrintInSandbox:- @staticmethod- def remove_ansi_escape_codes(text: str) -> str:- ansi_escape = re.compile(r"\x1B\[[0-?]*[ -/]*[@-~]")- return ansi_escape.sub("", text)-- def test_empty_content(self, capsys: CaptureFixture[str]):- pretty_print_in_sandbox(content="")-- captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)-- expected_output = textwrap.dedent("""\- ╭────╮- │ │- ╰────╯- """)-- assert output == expected_output, f"Output did not match expected:\n{output}"+def remove_ansi_escape_codes(text: str) -> str:+ ansi_escape = re.compile(r"\x1B\[[0-?]*[ -/]*[@-~]")+ return ansi_escape.sub("", text)- def test_none_content(self, capsys: CaptureFixture[str]):- pretty_print_in_sandbox(content=None, title="title", subtitle="subtitle")-- captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)-- expected_output = textwrap.dedent("""\- ╭────────────────────╮- │ title (subtitle): │- │ None │- ╰────────────────────╯- """)-- assert output == expected_output, f"Output did not match expected:\n{output}"+class TestPrettyPrint:def test_pretty_print_with_brackets_optional_edge_case(self, capsys: CaptureFixture[str]):pretty_print(content="Optional[float]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ─────────╮│ Optional[float] │@@ -82,7 +54,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="SomethingBeforeBracketsAnd[SomethingBetweenBrackets]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ──────────────────────────────────────────────╮@@ -96,7 +68,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="List[Optional[int]]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ─────────────╮@@ -110,7 +82,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="Union[str, List[int], Dict[str, Any]]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ───────────────────────────────╮@@ -124,7 +96,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="@decorator[*args, **kwargs]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ─────────────────────╮@@ -138,7 +110,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="List[]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ─╮@@ -152,7 +124,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="Unmatched[bracket", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ───────────╮@@ -166,7 +138,7 @@ class TestPrettyPrintInSandbox:pretty_print(content="🐍Python[版本3.11]", title="title")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ title ────────────╮@@ -176,6 +148,8 @@ class TestPrettyPrintInSandbox:assert output == expected_output, f"Output did not match expected:\n{output}"+ @pytest.mark.gha_disabled+ @pytest.mark.codex_disableddef test_pretty_print_pydantic_object(self, capsys: CaptureFixture[str]):# Create a complex nested objectuser = ComplexUser(@@ -193,7 +167,7 @@ class TestPrettyPrintInSandbox:pretty_print(content=user, title="Complex User")captured = capsys.readouterr()- output = self.remove_ansi_escape_codes(captured.out)+ output = remove_ansi_escape_codes(captured.out)expected_output = textwrap.dedent("""\╭─ Complex User ──────────────────────────────────────────────────────────────────────────────────╮@@ -216,3 +190,34 @@ class TestPrettyPrintInSandbox:""")assert output == expected_output, f"Make sure you enable pytest '-s' option. Output did not match expected:\n{output}"+++class TestPrettyPrintInSandbox:+ def test_empty_content(self, capsys: CaptureFixture[str]):+ pretty_print_in_sandbox(content="")++ captured = capsys.readouterr()+ output = remove_ansi_escape_codes(captured.out)++ expected_output = textwrap.dedent("""\+ ╭────╮+ │ │+ ╰────╯+ """)++ assert output == expected_output, f"Output did not match expected:\n{output}"++ def test_none_content(self, capsys: CaptureFixture[str]):+ pretty_print_in_sandbox(content=None, title="title", subtitle="subtitle")++ captured = capsys.readouterr()+ output = remove_ansi_escape_codes(captured.out)++ expected_output = textwrap.dedent("""\+ ╭────────────────────╮+ │ title (subtitle): │+ │ None │+ ╰────────────────────╯+ """)++ assert output == expected_output, f"Output did not match expected:\n{output}"diff --git a/tests/tools/misc/test_string_utils.py b/tests/tools/misc/test_string_utils.pynew file mode 100644index 000000000..8f35fac80--- /dev/null+++ b/tests/tools/misc/test_string_utils.py@@ -0,0 +1,127 @@+import pytest++from pipelex.tools.misc.string_utils import (+ camel_to_snake_case,+ can_inject_text,+ is_none_or_has_text,+ is_not_none_and_has_text,+ pascal_case_to_sentence,+ pascal_case_to_snake_case,+ snake_to_capitalize_first_letter,+ snake_to_pascal_case,+)+++class BadStr:+ def __str__(self) -> str: # pyright: ignore[reportImplicitOverride] pragma: no cover - used only for raising+ raise RuntimeError("boom")+++ "value, expected",+ [+ (None, True),+ ("abc", True),+ ("", False),+ (" ", False),+ ("!!!", False),+ ("é", True),+ ],+)+def test_is_none_or_has_text(value: str | None, expected: bool) -> None:+ assert is_none_or_has_text(value) is expected+++ "value, expected",+ [+ (None, False),+ ("abc", True),+ ("", False),+ (" ", False),+ ("###", False),+ ("é", True),+ ],+)+def test_is_not_none_and_has_text(value: str | None, expected: bool) -> None:+ assert is_not_none_and_has_text(value) is expected+++ "value, expected",+ [+ ("abc", True),+ (0, False),+ ([], False),+ ([1], True),+ ("", False),+ (BadStr(), False),+ ],+)+def test_can_inject_text(value: object, expected: bool) -> None:+ assert can_inject_text(value) is expected+++ "camel, expected",+ [+ ("thisIsATest", "this_is_a_test"),+ ("HTTPRequest", "http_request"),+ ("myURLParser", "my_url_parser"),+ ("already_snake", "already_snake"),+ ],+)+def test_camel_to_snake_case(camel: str, expected: str) -> None:+ assert camel_to_snake_case(camel) == expected+++ "pascal, expected",+ [+ ("ThisIsATest", "this_is_a_test"),+ ("HTTPRequest", "http_request"),+ ("ParseJSONData", "parse_json_data"),+ ],+)+def test_pascal_case_to_snake_case(pascal: str, expected: str) -> None:+ assert pascal_case_to_snake_case(pascal) == expected+++ "text, expected",+ [+ ("HelloWorld", "Hello world"),+ ("BOB LowKey", "Bob low key"),+ ("ParseJSONData", "Parse json data"),+ ("ACDPService", "Acdp service"),+ ("JSON2XMLConverter", "Json 2 xml converter"),+ ],+)+def test_pascal_case_to_sentence(text: str, expected: str) -> None:+ assert pascal_case_to_sentence(text) == expected+++ "snake, expected",+ [+ ("hello_world", "HelloWorld"),+ ("my_name_is", "MyNameIs"),+ ("a", "A"),+ ("", ""),+ ],+)+def test_snake_to_pascal_case(snake: str, expected: str) -> None:+ assert snake_to_pascal_case(snake) == expected+++ "snake, expected",+ [+ ("hello_world", "Hello world"),+ ("this_is_a_test", "This is a test"),+ ("HELLO_WORLD", "Hello world"),+ ("abc", "Abc"),+ ],+)+def test_snake_to_capitalize_first_letter(snake: str, expected: str) -> None:+ assert snake_to_capitalize_first_letter(snake) == expecteddiff --git a/tests/tools/basic/test_text.py b/tests/tools/misc/test_text.pysimilarity index 100%rename from tests/tools/basic/test_text.pyrename to tests/tools/misc/test_text.pydiff --git a/tests/tools/pdf/__init__.py b/tests/tools/pdf/__init__.pynew file mode 100644index 000000000..8b1378917--- /dev/null+++ b/tests/tools/pdf/__init__.py@@ -0,0 +1 @@+diff --git a/tests/tools/test_pdf.py b/tests/tools/pdf/test_pdf.pysimilarity index 100%rename from tests/tools/test_pdf.pyrename to tests/tools/pdf/test_pdf.pydiff --git a/tests/tools/templating/__init__.py b/tests/tools/templating/__init__.pynew file mode 100644index 000000000..8b1378917--- /dev/null+++ b/tests/tools/templating/__init__.py@@ -0,0 +1 @@+diff --git a/tests/tools/test_jinja2.py b/tests/tools/templating/test_jinja2.pysimilarity index 100%rename from tests/tools/test_jinja2.pyrename to tests/tools/templating/test_jinja2.pydiff --git a/tests/tools/test_file_helpers.py b/tests/tools/test_file_helpers.pydeleted file mode 100644index fe82ef912..000000000--- a/tests/tools/test_file_helpers.py+++ /dev/null@@ -1,30 +0,0 @@-import base64--import pytest--from pipelex.tools.misc.base_64_utils import encode_to_base64_async, load_binary_as_base64_async-from tests.tools.test_data import FileHelperTestCases---async def test_load_image_as_base64_from_bytes_async():- # Prepare test data- with open(FileHelperTestCases.TEST_IMAGE, "rb") as image_file:- test_image_bytes = image_file.read()- expected_base64 = base64.b64encode(test_image_bytes)-- # Call the function- result = await encode_to_base64_async(test_image_bytes)-- # Assert the result- assert result == expected_base64- assert isinstance(result, bytes)---async def test_load_image_as_base64_from_path_async():- # Call the function- result = await load_binary_as_base64_async(FileHelperTestCases.TEST_IMAGE)-- # Assert that the result is bytes- assert isinstance(result, bytes)diff --git a/tests/tools/test_utilities.py b/tests/tools/test_utilities.pydeleted file mode 100644index a7741507b..000000000--- a/tests/tools/test_utilities.py+++ /dev/null@@ -1,24 +0,0 @@-import inspect--from pipelex import pretty_print-from pipelex.tools.config.manager import config_manager---class TestUtilities:- def test_get_package_name_here_1(self):- frame = inspect.currentframe()- module = inspect.getmodule(frame)- assert module is not None- package_name = module.__name__.split(sep=".", maxsplit=1)[0]- pretty_print(package_name, title="package_name")- assert package_name == "tests"-- def test_get_package_name_here_2(self):- """Get the name of the package containing this module."""- package_name = __name__.split(".", maxsplit=1)[0]- pretty_print(package_name, title="package_name")- assert package_name == "tests"-- def test_get_project_name(self):- project_name = config_manager.get_project_name()- pretty_print(project_name, title="project_name")diff --git a/tests/tools/typing/__init__.py b/tests/tools/typing/__init__.pynew file mode 100644index 000000000..8b1378917--- /dev/null+++ b/tests/tools/typing/__init__.py@@ -0,0 +1 @@+diff --git a/tests/tools/typing/test_pydantic_utils.py b/tests/tools/typing/test_pydantic_utils.pynew file mode 100644index 000000000..09b0c14b5--- /dev/null+++ b/tests/tools/typing/test_pydantic_utils.py@@ -0,0 +1,111 @@+from enum import StrEnum+from typing import Any, Dict, cast++import pytest+from pydantic import BaseModel, ConfigDict, Field, ValidationError++from pipelex.tools.typing.pydantic_utils import (+ CustomBaseModel,+ ExtraFieldAttribute,+ clean_model_to_dict,+ convert_strenum_to_str,+ format_pydantic_validation_error,+ serialize_model,+)+++class ChildModel(BaseModel):+ child_name: str+ child_secret: str = Field(+ ...,+ json_schema_extra={ExtraFieldAttribute.IS_HIDDEN: True}, # This field should be hidden+ )+++class ParentModel(BaseModel):+ parent_name: str+ child: ChildModel+++def test_serialize_model_with_hidden_fields():+ # Create nested models+ child = ChildModel(child_name="foo", child_secret="secret_foo")+ parent = ParentModel(parent_name="bar", child=child)++ # Test default model_dump() shows everything+ model_dump_result: Dict[str, Any] = parent.model_dump()+ child_dict = cast(Dict[str, Any], model_dump_result["child"])+ assert "child_secret" in child_dict+ assert child_dict["child_secret"] == "secret_foo"++ # Test our custom serializer omits hidden fields (child_secret)+ serialized_result = cast(Dict[str, Any], serialize_model(parent))+ child_serialized = cast(Dict[str, Any], serialized_result["child"])+ assert "child_secret" not in child_serialized+ assert serialized_result == {"parent_name": "bar", "child": {"child_name": "foo"}}+++class SimpleEnum(StrEnum):+ FIRST = "first"+ SECOND = "second"++ def display_name(self) -> str: # pragma: no cover - simple helper+ return self.value.upper()+++class ModelWithEnum(BaseModel):+ name: str+ enum_val: SimpleEnum+ secret: str = Field(+ "hidden",+ json_schema_extra={ExtraFieldAttribute.IS_HIDDEN: True},+ )+++def test_clean_model_to_dict_stringifies_enums_and_hides_fields() -> None:+ model = ModelWithEnum(name="foo", enum_val=SimpleEnum.FIRST, secret="hidden")+ result = clean_model_to_dict(model)+ assert result == {"name": "foo", "enum_val": "FIRST"}+++def test_convert_strenum_to_str_recursive() -> None:+ data = {+ "enum": SimpleEnum.SECOND,+ "nested": [SimpleEnum.FIRST, {"e": SimpleEnum.SECOND}],+ }+ converted = convert_strenum_to_str(data)+ assert converted == {+ "enum": "SECOND",+ "nested": ["FIRST", {"e": "SECOND"}],+ }+++def test_format_pydantic_validation_error() -> None:+ class Validated(BaseModel):+ model_config = ConfigDict(extra="forbid")+ a: int+ b: str++ with pytest.raises(ValidationError) as exc:+ Validated.model_validate({"a": "not_int", "c": 1})++ formatted = format_pydantic_validation_error(exc.value)+ assert "Missing required fields: ['b']" in formatted+ assert "Extra forbidden fields: ['c: 1']" in formatted+++def test_custom_base_model_truncates_repr() -> None:+ class TestModel(CustomBaseModel):+ base_64: str+ url: str+ other: str++ TestModel.truncate_length = 10+ model = TestModel(+ base_64="b" * 20,+ url="data:image/png;base64," + "x" * 20,+ other="val",+ )+ repr_str = repr(model)+ assert "bbbbbbbbbb…" in repr_str+ assert "data:image…" in repr_strdiff --git a/tests/tools/test_class_structure.py b/tests/tools/typing/test_type_inspector.pysimilarity index 100%rename from tests/tools/test_class_structure.pyrename to tests/tools/typing/test_type_inspector.pydiff --git a/uv.lock b/uv.lockindex d7328815d..22679490d 100644--- a/uv.lock+++ b/uv.lock@@ -58,7 +58,7 @@ wheels = [[[package]]name = "aiohttp"-version = "3.12.0"+version = "3.12.4"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohappyeyeballs" },@@ -69,25 +69,25 @@ dependencies = [{ name = "propcache" },{ name = "yarl" },]-sdist = { url = "https://files.pythonhosted.org/packages/6a/61/d37b33a074ad867d1ecec9f03183e2b9fee067745cae17e73c264f556d57/aiohttp-3.12.0.tar.gz", hash = "sha256:e3f0a2b4d7fb16c0d584d9b8860f1e46d39f7d93372b25a6f80c10015a7acdab", size = 7762804, upload-time = "2025-05-24T22:33:33.318Z" }+sdist = { url = "https://files.pythonhosted.org/packages/57/77/92b356837fad83cc5709afc0b6e21dce65a413293fed15e6999bafdf36b0/aiohttp-3.12.4.tar.gz", hash = "sha256:d8229b412121160740f5745583c786f3f494d2416fe5f76aabd815da6ab6b193", size = 7781788, upload-time = "2025-05-29T01:36:57.715Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/d9/8c/f2d1c0cb4b859185bb38369180785342ef0ba56328c8cb2a0b7c9ddf8651/aiohttp-3.12.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:38ab87bc3c2f2c3861438e537cbd6732d72b73f2b82ea9ba4b214b6aca170ad9", size = 697333, upload-time = "2025-05-24T22:30:51.888Z" },- { url = "https://files.pythonhosted.org/packages/6e/d7/65d1de0140b952cc88683cf4f52fe0c29d5c617ee1c5a4b9b40ad43d67c8/aiohttp-3.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8862c9b190854c0ff3f5a3f25abee9ed7641aee6eccdc81aed2c3d427623d3dc", size = 469618, upload-time = "2025-05-24T22:30:54.168Z" },- { url = "https://files.pythonhosted.org/packages/35/49/4aaefdfa5aa74bc6276660175664eb6e1e654ae3befe5342abfcbf596ec7/aiohttp-3.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8cd1eb1d5498cc541ce40946e148371e23efefcf48afdaa68f49328d2849f393", size = 457881, upload-time = "2025-05-24T22:30:56.616Z" },- { url = "https://files.pythonhosted.org/packages/c2/c5/8eea63458cbf37e8b917cff62a0d5606c5df58b502cd00b03aaf57db6383/aiohttp-3.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:07b7e64a7c325e2d87523e1f8210bdba0e2e159703ad00f75bff336134d8490a", size = 1728063, upload-time = "2025-05-24T22:30:58.707Z" },- { url = "https://files.pythonhosted.org/packages/9c/32/70b637ee15e3e72b6b028748a2a46bb555ae91311bf9c266db2e248922b2/aiohttp-3.12.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1accf0a2270e1e05b453d1dd0f51f176148eec81306c39da39b7af5b29e1d56b", size = 1676733, upload-time = "2025-05-24T22:31:01.632Z" },- { url = "https://files.pythonhosted.org/packages/ba/b0/146f27c6d1565d692c3c9d7ba20af6b794ad43984260ec733f024c26da5a/aiohttp-3.12.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8c3aaae0180d804b4fe95cee7fe03c2ff362828c5ebb7a8370132957104b6311", size = 1775525, upload-time = "2025-05-24T22:31:03.68Z" },- { url = "https://files.pythonhosted.org/packages/10/1b/29707acfc556b9acb2471702623e3c2962569ae5df58e977b356825b65cd/aiohttp-3.12.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c0ab714799a6fd698715d9fc1d1a546a99288288939506fede60d133dc53328b", size = 1814571, upload-time = "2025-05-24T22:31:05.675Z" },- { url = "https://files.pythonhosted.org/packages/da/96/ced0a23a2898aa97facc8aa7dc92e207541811de1c34f30cb4338f57dda1/aiohttp-3.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:02b33c67d7db1a4b2df28e5c1e4d8c025db8e4432b3d054db3ea695063cbfc52", size = 1717031, upload-time = "2025-05-24T22:31:07.761Z" },- { url = "https://files.pythonhosted.org/packages/5f/8f/25760fca550eaaa8c3759f854eda95e3c3e373d942434939da823211c39e/aiohttp-3.12.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3718948668ae986d53bd2c443ffc82e6559de2bec1d66a215c1c5e059d80ff37", size = 1654106, upload-time = "2025-05-24T22:31:09.717Z" },- { url = "https://files.pythonhosted.org/packages/ef/26/d81ed27b520c25b5b84102bd6ddbf16154d7b07d12097b3fdad7c5e5df3b/aiohttp-3.12.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fc9f188d2b864f65b17cee23d7a1923285df0c7b978058b0e2006426700d4c93", size = 1702381, upload-time = "2025-05-24T22:31:11.812Z" },- { url = "https://files.pythonhosted.org/packages/3d/51/c0e7dc789cdc7105803099c89e57d8dcfe4671600e3ec0f05ce1fb6954be/aiohttp-3.12.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:0851359eeb146690c19d368a1c86acf33dc17535ac8123e25a0eff5f5fa110e1", size = 1697542, upload-time = "2025-05-24T22:31:13.822Z" },- { url = "https://files.pythonhosted.org/packages/8a/f4/83d9fff93bbb4b26aeb319bd007c63e87e37655bc63fdfb7b561c663b631/aiohttp-3.12.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:3fcc1ccd74c932ce6b6fad61e054baa23e6624db8f5a9ec462af023abe5c600d", size = 1677726, upload-time = "2025-05-24T22:31:15.865Z" },- { url = "https://files.pythonhosted.org/packages/f7/54/7878850b0d764f82ac9629ca8dc4b44c21e2f771dd1aff51d9c336dd6a64/aiohttp-3.12.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:062eaf38763c6b22fcbd47a97ba06952ad7751ed7b054a690cddeed4f50547fe", size = 1771326, upload-time = "2025-05-24T22:31:17.989Z" },- { url = "https://files.pythonhosted.org/packages/64/3c/f07536f9f5c9572d91260463e4d132ad225b07a34552a0d0b3f01b3988df/aiohttp-3.12.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:b19f964b9130d572f0fed752417446ff6622fd1288e8c7860824a0dd57cd8dd5", size = 1791787, upload-time = "2025-05-24T22:31:20.706Z" },- { url = "https://files.pythonhosted.org/packages/7e/41/ac33993993b2b0b1e9082b99a72c2a18ab595d53f258aa33d8cdf6ee98cf/aiohttp-3.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b210c1cdc7f1a45714d17510b7e049ca7b15766b66f8c278a2c73a6021bbc389", size = 1704843, upload-time = "2025-05-24T22:31:22.947Z" },- { url = "https://files.pythonhosted.org/packages/6b/3c/b8396363eae9e77a2c605d826e549f2f5d1d79f77b12f17c655e7e3b6a2f/aiohttp-3.12.0-cp311-cp311-win32.whl", hash = "sha256:6859c7ecd01cbcc839476c7d9504a19bf334bbe45715df611d351103945a9d23", size = 414813, upload-time = "2025-05-24T22:31:25.03Z" },- { url = "https://files.pythonhosted.org/packages/72/9f/d7bd0442c1af0efd9af493399db1eccafce8c5e47f1600b565e069eaaf99/aiohttp-3.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:0159620f09dd338bab29e7136efd51c971462a5bb69dcdace39a2c581e87c4af", size = 439203, upload-time = "2025-05-24T22:31:27.047Z" },+ { url = "https://files.pythonhosted.org/packages/e9/5e/bd16acce20e07e01d7db8f9a5102714f90928f87ec9cb248db642893ebdf/aiohttp-3.12.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6cfe7a78ed06047420f7709b9ae438431ea2dc50a9c00960a4b996736f1a70a3", size = 702194, upload-time = "2025-05-29T01:34:25.982Z" },+ { url = "https://files.pythonhosted.org/packages/65/1d/cc50b39ca7a24c28e5e79ec7c5a3682c84af76d814f2e1284e1aa473122c/aiohttp-3.12.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1188186a118a6793b1e510399f5deb2dcab9643af05fd5217f7f5b067b863671", size = 474473, upload-time = "2025-05-29T01:34:28.245Z" },+ { url = "https://files.pythonhosted.org/packages/52/6b/bf1ff91cb6eda30964c29a7fbe2a294db00724ceab344696eeebfe4c9ccf/aiohttp-3.12.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d54362f38f532869553a38328931f5f150f0f4fdbee8e122da447663a86552c5", size = 462734, upload-time = "2025-05-29T01:34:29.887Z" },+ { url = "https://files.pythonhosted.org/packages/7c/c3/846872117cc6db1db1b86d20119a3132b8519144d5e710c2e066d07cac86/aiohttp-3.12.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4299504448f37ea9803e6ec99295d7a84a66e674300daa51ca69cace8b7ae31a", size = 1732930, upload-time = "2025-05-29T01:34:31.576Z" },+ { url = "https://files.pythonhosted.org/packages/d0/bd/df557ee83c3e36945499317b9f51dab642c17c779c939fe2df4c0307b85e/aiohttp-3.12.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:1972bac2ee5dc283ccee3d58501bba08599d58dad6dbbbf58da566dc1a3ac039", size = 1681599, upload-time = "2025-05-29T01:34:33.59Z" },+ { url = "https://files.pythonhosted.org/packages/1b/b9/e043c06325300644fed7685f904323ecf937adc99971ac229ab97b0769d2/aiohttp-3.12.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a286d40eb51d2908130b4e64ca8ae1a1fdf20657ef564eea2556255d52e2147b", size = 1780391, upload-time = "2025-05-29T01:34:35.474Z" },+ { url = "https://files.pythonhosted.org/packages/6c/98/a43da221916db0b9567914e41de5a7e008904b9301540614feab2a03ee45/aiohttp-3.12.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:94650ff81e7370ceb79272914be8250558d595864cb0cc3e9c6932a16738e33b", size = 1819437, upload-time = "2025-05-29T01:34:37.458Z" },+ { url = "https://files.pythonhosted.org/packages/bb/9d/e315bdfc2e8ba0382699e686330b588f135189c51df79689e6a843513eb0/aiohttp-3.12.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:03a2ca7b7e9436ae933d89d41f21ef535f21dcdc883820544102ddda63b595c2", size = 1721898, upload-time = "2025-05-29T01:34:39.297Z" },+ { url = "https://files.pythonhosted.org/packages/c1/a4/8250493ab4e540df5a3672e5d01c28ca71fd31b4a9afc217c9678ca350e3/aiohttp-3.12.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ea47b02ec80408bed4d59b3b824b44514173e4ebd0bc04a901ffd12084142451", size = 1658974, upload-time = "2025-05-29T01:34:41.114Z" },+ { url = "https://files.pythonhosted.org/packages/94/d3/06c8ba3afb270afa44ffb6cf3fb0a44502be347f0fc7fdce290a60760197/aiohttp-3.12.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:41a6ea58ed974e67d75b39536997d81288a04844d8162194d3947cbff52b093d", size = 1707245, upload-time = "2025-05-29T01:34:43.002Z" },+ { url = "https://files.pythonhosted.org/packages/da/5c/d889d8edca8cdb6bb0ff9cfa58b3977320186050c8cfe2f4ceeee149b498/aiohttp-3.12.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:d563387ae8966b6668162698a66495c5d72ce864405a7dfc6cc9c4bc851a63ce", size = 1702405, upload-time = "2025-05-29T01:34:44.904Z" },+ { url = "https://files.pythonhosted.org/packages/e9/db/809ac0c7fa7ddfad33ab888fe3c83aecbfc7f03e44f387a70c20a0a096b7/aiohttp-3.12.4-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b853c7f7664742d48c57f382ebae5c76efa7f323569c6d93866795092485deec", size = 1682593, upload-time = "2025-05-29T01:34:46.792Z" },+ { url = "https://files.pythonhosted.org/packages/35/85/9e1f9c7f0b0f70dfae55932c1f080230f885f84137132efc639e98611347/aiohttp-3.12.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:5d74f5fadbab802c598b440b4aecfeadc99194535d87db5764b732a52a0527fb", size = 1776193, upload-time = "2025-05-29T01:34:49.155Z" },+ { url = "https://files.pythonhosted.org/packages/83/12/b6b7b9c2d08c5346473878575195468a585041daa816ffbd97156c960ed0/aiohttp-3.12.4-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9f5065674d38b4a738f38b344429e3688fdcccc9d2d5ec50ca03af5dbf91307e", size = 1796654, upload-time = "2025-05-29T01:34:51.588Z" },+ { url = "https://files.pythonhosted.org/packages/b7/09/0500ae6b1174abc74ab1a7a36033ecffc11e46e47a23487d75fa00d04b46/aiohttp-3.12.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:567db7411a004acd82be2499c10a22e06d4acb51929ce353a62f02f61d005e1c", size = 1709713, upload-time = "2025-05-29T01:34:53.579Z" },+ { url = "https://files.pythonhosted.org/packages/7b/55/8f5faa6e13c51609430081b42c39eb12006c9fb9111eeaedca0f3f574d3b/aiohttp-3.12.4-cp311-cp311-win32.whl", hash = "sha256:4bc000b0eee7c4b8fdc13349ab106c4ff15e6f6c1afffb04a8f5af96f1b89af3", size = 419713, upload-time = "2025-05-29T01:34:55.368Z" },+ { url = "https://files.pythonhosted.org/packages/6a/a9/97e318bfb3fc7a0cffc9dee9f0ec77db5339207887f5f4ebe1a11ecd5f32/aiohttp-3.12.4-cp311-cp311-win_amd64.whl", hash = "sha256:44f1cb869916ba52b7876243b6bb7841430846b66b61933b8e96cfaf44515b78", size = 444103, upload-time = "2025-05-29T01:34:57.133Z" },][[package]]@@ -122,7 +122,7 @@ wheels = [[[package]]name = "anthropic"-version = "0.52.0"+version = "0.52.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -133,9 +133,9 @@ dependencies = [{ name = "sniffio" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/57/fd/8a9332f5baf352c272494a9d359863a53385a208954c1a7251a524071930/anthropic-0.52.0.tar.gz", hash = "sha256:f06bc924d7eb85f8a43fe587b875ff58b410d60251b7dc5f1387b322a35bd67b", size = 229372, upload-time = "2025-05-22T16:42:22.044Z" }+sdist = { url = "https://files.pythonhosted.org/packages/0c/6b/7d632b680556812f36b663891ccab8f5bf71b61913a3c7332aa7aa2822be/anthropic-0.52.1.tar.gz", hash = "sha256:da4a7c3aeac0170cb45a42dc3369ca1fcf2b3238edf845cb056505d4b0c42fcf", size = 241807, upload-time = "2025-05-28T13:13:40.851Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/a0/43/172c0031654908bbac2a87d356fff4de1b4947a9b14b9658540b69416417/anthropic-0.52.0-py3-none-any.whl", hash = "sha256:c026daa164f0e3bde36ce9cbdd27f5f1419fff03306be1e138726f42e6a7810f", size = 286076, upload-time = "2025-05-22T16:42:20Z" },+ { url = "https://files.pythonhosted.org/packages/9d/e7/36ad2dc22811ea004e1f511b2f5604fe71a56bdfd3b969b265892d45affa/anthropic-0.52.1-py3-none-any.whl", hash = "sha256:807cee7ebc5503753da0403a77932decf5a4c036041ddda58b4edcdb2a3da551", size = 286076, upload-time = "2025-05-28T13:13:39.052Z" },][[package]]@@ -177,16 +177,16 @@ wheels = [[[package]]name = "boto3-stubs"-version = "1.38.23"+version = "1.38.26"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "botocore-stubs" },{ name = "types-s3transfer" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/2f/e6/ef30f5f599501ecc1ba0dd157e0a5060ca31767d071872b4f4eee07f5d93/boto3_stubs-1.38.23.tar.gz", hash = "sha256:f7632c193f06828b984d7e2bcfbc8c5eca8066ed390a235ad9f35f72307512bc", size = 99083, upload-time = "2025-05-23T19:26:36.907Z" }+sdist = { url = "https://files.pythonhosted.org/packages/1e/89/9e2658210ac11459405ed8c82f47be533a5d16ae3b8203c90564b7a738a0/boto3_stubs-1.38.26.tar.gz", hash = "sha256:492e59e42323de43018ffa6d00d3bb2b93d1fead042e76c6a68fd0a0c0fe3236", size = 99065, upload-time = "2025-05-29T19:47:49.383Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/86/9c/e6ca48614f64b70e314a34b8c4a6309ac28f6dbb27492e3b20aad18f7aa6/boto3_stubs-1.38.23-py3-none-any.whl", hash = "sha256:fb6f97862fa67f8c3052a936ef4e012880a6c0719fce5b94b24e205c300c24dd", size = 68665, upload-time = "2025-05-23T19:26:28.486Z" },+ { url = "https://files.pythonhosted.org/packages/48/51/881ac3c7ebeefdfe0e712b1f4d815261707a492187ea301506168cf6fc20/boto3_stubs-1.38.26-py3-none-any.whl", hash = "sha256:3022b2a8f6925c60c9ce68c5e090ff9fd2bad0c918300395a1c242681a67c11c", size = 68669, upload-time = "2025-05-29T19:47:42.352Z" },][[package]]@@ -205,14 +205,14 @@ wheels = [[[package]]name = "botocore-stubs"-version = "1.38.19"+version = "1.38.26"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "types-awscrt" },]-sdist = { url = "https://files.pythonhosted.org/packages/43/70/6204c97f8d8362364f11c16085566abdcaa114c264d3a4d709ff697b203b/botocore_stubs-1.38.19.tar.gz", hash = "sha256:84f67a42bb240a8ea0c5fe4f05d497cc411177db600bc7012182e499ac24bf19", size = 42269, upload-time = "2025-05-19T20:18:13.556Z" }+sdist = { url = "https://files.pythonhosted.org/packages/08/f2/fd2f5a8ef00bbcfe00c12b8c49e247510266929dff5578b6fec360967a21/botocore_stubs-1.38.26.tar.gz", hash = "sha256:3bbf7662fc97e28a50dc959752619cf57029194987268b4dc13df4e54767204c", size = 42315, upload-time = "2025-05-29T20:18:25.22Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/b4/ce/28b143452c22b678678d832bf8b41218e3d319bf94062b48c28fe5d81163/botocore_stubs-1.38.19-py3-none-any.whl", hash = "sha256:66fd7d231c21134a12acbe313ef7a6b152cbf9bfd7bfa12a62f8c33e94737e26", size = 65603, upload-time = "2025-05-19T20:18:10.445Z" },+ { url = "https://files.pythonhosted.org/packages/28/4a/f99ef1ff37620c0c23aa67e3d9de5fce0f98b38fd26e6d30438ee440c0fc/botocore_stubs-1.38.26-py3-none-any.whl", hash = "sha256:c86ac7d2c7e24ea50a866a9686a293dfe8b40281cc3465d79e2e0e48d35ad93b", size = 65628, upload-time = "2025-05-29T20:18:23.125Z" },][[package]]@@ -257,14 +257,14 @@ wheels = [[[package]]name = "click"-version = "8.1.8"+version = "8.2.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "colorama", marker = "sys_platform == 'win32'" },]-sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593, upload-time = "2024-12-21T18:38:44.339Z" }+sdist = { url = "https://files.pythonhosted.org/packages/60/6c/8ca2efa64cf75a977a0d7fac081354553ebe483345c734fb6b6515d96bbc/click-8.2.1.tar.gz", hash = "sha256:27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202", size = 286342, upload-time = "2025-05-20T23:19:49.832Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/7e/d4/7ebdbd03970677812aac39c869717059dbb71a4cfc033ca6e5221787892c/click-8.1.8-py3-none-any.whl", hash = "sha256:63c132bbbed01578a06712a2d1f497bb62d9c1c0d329b7903a866228027263b2", size = 98188, upload-time = "2024-12-21T18:38:41.666Z" },+ { url = "https://files.pythonhosted.org/packages/85/32/10bb5764d90a8eee674e9dc6f4db6a0ab47c8c4d0d83c27f7c39ac415a4d/click-8.2.1-py3-none-any.whl", hash = "sha256:61a3265b914e850b85317d0b3109c7f8cd35a670f963866005d6ef1d5175a12b", size = 102215, upload-time = "2025-05-20T23:19:47.796Z" },][[package]]@@ -661,21 +661,22 @@ wheels = [[[package]]name = "mypy"-version = "1.15.0"+version = "1.16.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "mypy-extensions" },+ { name = "pathspec" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/ce/43/d5e49a86afa64bd3839ea0d5b9c7103487007d728e1293f52525d6d5486a/mypy-1.15.0.tar.gz", hash = "sha256:404534629d51d3efea5c800ee7c42b72a6554d6c400e6a79eafe15d11341fd43", size = 3239717, upload-time = "2025-02-05T03:50:34.655Z" }+sdist = { url = "https://files.pythonhosted.org/packages/d4/38/13c2f1abae94d5ea0354e146b95a1be9b2137a0d506728e0da037c4276f6/mypy-1.16.0.tar.gz", hash = "sha256:84b94283f817e2aa6350a14b4a8fb2a35a53c286f97c9d30f53b63620e7af8ab", size = 3323139, upload-time = "2025-05-29T13:46:12.532Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/03/bc/f6339726c627bd7ca1ce0fa56c9ae2d0144604a319e0e339bdadafbbb599/mypy-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2922d42e16d6de288022e5ca321cd0618b238cfc5570e0263e5ba0a77dbef56f", size = 10662338, upload-time = "2025-02-05T03:50:17.287Z" },- { url = "https://files.pythonhosted.org/packages/e2/90/8dcf506ca1a09b0d17555cc00cd69aee402c203911410136cd716559efe7/mypy-1.15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2ee2d57e01a7c35de00f4634ba1bbf015185b219e4dc5909e281016df43f5ee5", size = 9787540, upload-time = "2025-02-05T03:49:51.21Z" },- { url = "https://files.pythonhosted.org/packages/05/05/a10f9479681e5da09ef2f9426f650d7b550d4bafbef683b69aad1ba87457/mypy-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:973500e0774b85d9689715feeffcc980193086551110fd678ebe1f4342fb7c5e", size = 11538051, upload-time = "2025-02-05T03:50:20.885Z" },- { url = "https://files.pythonhosted.org/packages/e9/9a/1f7d18b30edd57441a6411fcbc0c6869448d1a4bacbaee60656ac0fc29c8/mypy-1.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a95fb17c13e29d2d5195869262f8125dfdb5c134dc8d9a9d0aecf7525b10c2c", size = 12286751, upload-time = "2025-02-05T03:49:42.408Z" },- { url = "https://files.pythonhosted.org/packages/72/af/19ff499b6f1dafcaf56f9881f7a965ac2f474f69f6f618b5175b044299f5/mypy-1.15.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1905f494bfd7d85a23a88c5d97840888a7bd516545fc5aaedff0267e0bb54e2f", size = 12421783, upload-time = "2025-02-05T03:49:07.707Z" },- { url = "https://files.pythonhosted.org/packages/96/39/11b57431a1f686c1aed54bf794870efe0f6aeca11aca281a0bd87a5ad42c/mypy-1.15.0-cp311-cp311-win_amd64.whl", hash = "sha256:c9817fa23833ff189db061e6d2eff49b2f3b6ed9856b4a0a73046e41932d744f", size = 9265618, upload-time = "2025-02-05T03:49:54.581Z" },- { url = "https://files.pythonhosted.org/packages/09/4e/a7d65c7322c510de2c409ff3828b03354a7c43f5a8ed458a7a131b41c7b9/mypy-1.15.0-py3-none-any.whl", hash = "sha256:5469affef548bd1895d86d3bf10ce2b44e33d86923c29e4d675b3e323437ea3e", size = 2221777, upload-time = "2025-02-05T03:50:08.348Z" },+ { url = "https://files.pythonhosted.org/packages/24/c4/ff2f79db7075c274fe85b5fff8797d29c6b61b8854c39e3b7feb556aa377/mypy-1.16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9f826aaa7ff8443bac6a494cf743f591488ea940dd360e7dd330e30dd772a5ab", size = 10884498, upload-time = "2025-05-29T13:18:54.066Z" },+ { url = "https://files.pythonhosted.org/packages/02/07/12198e83006235f10f6a7808917376b5d6240a2fd5dce740fe5d2ebf3247/mypy-1.16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:82d056e6faa508501af333a6af192c700b33e15865bda49611e3d7d8358ebea2", size = 10011755, upload-time = "2025-05-29T13:34:00.851Z" },+ { url = "https://files.pythonhosted.org/packages/f1/9b/5fd5801a72b5d6fb6ec0105ea1d0e01ab2d4971893076e558d4b6d6b5f80/mypy-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:089bedc02307c2548eb51f426e085546db1fa7dd87fbb7c9fa561575cf6eb1ff", size = 11800138, upload-time = "2025-05-29T13:32:55.082Z" },+ { url = "https://files.pythonhosted.org/packages/2e/81/a117441ea5dfc3746431e51d78a4aca569c677aa225bca2cc05a7c239b61/mypy-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6a2322896003ba66bbd1318c10d3afdfe24e78ef12ea10e2acd985e9d684a666", size = 12533156, upload-time = "2025-05-29T13:19:12.963Z" },+ { url = "https://files.pythonhosted.org/packages/3f/38/88ec57c6c86014d3f06251e00f397b5a7daa6888884d0abf187e4f5f587f/mypy-1.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:021a68568082c5b36e977d54e8f1de978baf401a33884ffcea09bd8e88a98f4c", size = 12742426, upload-time = "2025-05-29T13:20:22.72Z" },+ { url = "https://files.pythonhosted.org/packages/bd/53/7e9d528433d56e6f6f77ccf24af6ce570986c2d98a5839e4c2009ef47283/mypy-1.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:54066fed302d83bf5128632d05b4ec68412e1f03ef2c300434057d66866cea4b", size = 9478319, upload-time = "2025-05-29T13:21:17.582Z" },+ { url = "https://files.pythonhosted.org/packages/99/a3/6ed10530dec8e0fdc890d81361260c9ef1f5e5c217ad8c9b21ecb2b8366b/mypy-1.16.0-py3-none-any.whl", hash = "sha256:29e1499864a3888bca5c1542f2d7232c6e586295183320caa95758fc84034031", size = 2265773, upload-time = "2025-05-29T13:35:18.762Z" },][[package]]@@ -689,11 +690,11 @@ wheels = [[[package]]name = "networkx"-version = "3.4.2"+version = "3.5"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/fd/1d/06475e1cd5264c0b870ea2cc6fdb3e37177c1e565c43f56ff17a10e3937f/networkx-3.4.2.tar.gz", hash = "sha256:307c3669428c5362aab27c8a1260aa8f47c4e91d3891f48be0141738d8d053e1", size = 2151368, upload-time = "2024-10-21T12:39:38.695Z" }+sdist = { url = "https://files.pythonhosted.org/packages/6c/4f/ccdb8ad3a38e583f214547fd2f7ff1fc160c43a75af88e6aec213404b96a/networkx-3.5.tar.gz", hash = "sha256:d4c6f9cf81f52d69230866796b82afbccdec3db7ae4fbd1b65ea750feed50037", size = 2471065, upload-time = "2025-05-29T11:35:07.804Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/b9/54/dd730b32ea14ea797530a4479b2ed46a6fb250f682a9cfb997e968bf0261/networkx-3.4.2-py3-none-any.whl", hash = "sha256:df5d4365b724cf81b8c6a7312509d0c22386097011ad1abe274afd5e9d3bbc5f", size = 1723263, upload-time = "2024-10-21T12:39:36.247Z" },+ { url = "https://files.pythonhosted.org/packages/eb/8d/776adee7bbf76365fdd7f2552710282c79a4ead5d2a46408c9043a2b70ba/networkx-3.5-py3-none-any.whl", hash = "sha256:0030d386a9a06dee3565298b4a734b68589749a544acbb6c412dc9e2489ec6ec", size = 2034406, upload-time = "2025-05-29T11:35:04.961Z" },][[package]]@@ -734,7 +735,7 @@ wheels = [[[package]]name = "openai"-version = "1.82.0"+version = "1.82.1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -746,9 +747,9 @@ dependencies = [{ name = "tqdm" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/3f/19/6b09bb3132f7e1a7a2291fd46fb33659bbccca041f863abd682e14ba86d7/openai-1.82.0.tar.gz", hash = "sha256:b0a009b9a58662d598d07e91e4219ab4b1e3d8ba2db3f173896a92b9b874d1a7", size = 461092, upload-time = "2025-05-22T20:08:07.282Z" }+sdist = { url = "https://files.pythonhosted.org/packages/5e/53/fd5318cd79202744711c120f008d9bd987eacc063b15910a820bc9b9f40e/openai-1.82.1.tar.gz", hash = "sha256:ffc529680018e0417acac85f926f92aa0bbcbc26e82e2621087303c66bc7f95d", size = 461322, upload-time = "2025-05-29T16:15:14.526Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/51/4b/a59464ee5f77822a81ee069b4021163a0174940a92685efc3cf8b4c443a3/openai-1.82.0-py3-none-any.whl", hash = "sha256:8c40647fea1816516cb3de5189775b30b5f4812777e40b8768f361f232b61b30", size = 720412, upload-time = "2025-05-22T20:08:05.637Z" },+ { url = "https://files.pythonhosted.org/packages/a8/d9/7ec61c010f0d0b0bc57dab8b8dff398f84230d269e8bfa068ad542ff050c/openai-1.82.1-py3-none-any.whl", hash = "sha256:334eb5006edf59aa464c9e932b9d137468d810b2659e5daea9b3a8c39d052395", size = 720466, upload-time = "2025-05-29T16:15:12.531Z" },][[package]]@@ -795,15 +796,24 @@ wheels = [[[package]]name = "pandas-stubs"-version = "2.2.3.250308"+version = "2.2.3.250527"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "numpy" },{ name = "types-pytz" },]-sdist = { url = "https://files.pythonhosted.org/packages/2e/5a/261f5c67a73e46df2d5984fe7129d66a3ed4864fd7aa9d8721abb3fc802e/pandas_stubs-2.2.3.250308.tar.gz", hash = "sha256:3a6e9daf161f00b85c83772ed3d5cff9522028f07a94817472c07b91f46710fd", size = 103986, upload-time = "2025-03-08T20:51:04.999Z" }+sdist = { url = "https://files.pythonhosted.org/packages/5f/0d/5fe7f7f3596eb1c2526fea151e9470f86b379183d8b9debe44b2098651ca/pandas_stubs-2.2.3.250527.tar.gz", hash = "sha256:e2d694c4e72106055295ad143664e5c99e5815b07190d1ff85b73b13ff019e63", size = 106312, upload-time = "2025-05-27T15:24:29.716Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/ba/64/ab61d9ca06ff66c07eb804ec27dec1a2be1978b3c3767caaa91e363438cc/pandas_stubs-2.2.3.250308-py3-none-any.whl", hash = "sha256:a377edff3b61f8b268c82499fdbe7c00fdeed13235b8b71d6a1dc347aeddc74d", size = 158053, upload-time = "2025-03-08T20:51:03.411Z" },+ { url = "https://files.pythonhosted.org/packages/ec/f8/46141ba8c9d7064dc5008bfb4a6ae5bd3c30e4c61c28b5c5ed485bf358ba/pandas_stubs-2.2.3.250527-py3-none-any.whl", hash = "sha256:cd0a49a95b8c5f944e605be711042a4dd8550e2c559b43d70ba2c4b524b66163", size = 159683, upload-time = "2025-05-27T15:24:28.4Z" },+]++[[package]]+name = "pathspec"+version = "0.12.1"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/ca/bc/f35b8446f4531a7cb215605d100cd88b7ac6f44ab3fc94870c120ab3adbf/pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712", size = 51043, upload-time = "2023-12-10T22:30:45Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/cc/20/ff623b09d963f88bfde16306a54e12ee5ea43e9b597108672ff3a408aad6/pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08", size = 31191, upload-time = "2023-12-10T22:30:43.14Z" },][[package]]@@ -1243,27 +1253,27 @@ wheels = [[[package]]name = "ruff"-version = "0.11.11"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/b2/53/ae4857030d59286924a8bdb30d213d6ff22d8f0957e738d0289990091dd8/ruff-0.11.11.tar.gz", hash = "sha256:7774173cc7c1980e6bf67569ebb7085989a78a103922fb83ef3dfe230cd0687d", size = 4186707, upload-time = "2025-05-22T19:19:34.363Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/b1/14/f2326676197bab099e2a24473158c21656fbf6a207c65f596ae15acb32b9/ruff-0.11.11-py3-none-linux_armv6l.whl", hash = "sha256:9924e5ae54125ed8958a4f7de320dab7380f6e9fa3195e3dc3b137c6842a0092", size = 10229049, upload-time = "2025-05-22T19:18:45.516Z" },- { url = "https://files.pythonhosted.org/packages/9a/f3/bff7c92dd66c959e711688b2e0768e486bbca46b2f35ac319bb6cce04447/ruff-0.11.11-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:c8a93276393d91e952f790148eb226658dd275cddfde96c6ca304873f11d2ae4", size = 11053601, upload-time = "2025-05-22T19:18:49.269Z" },- { url = "https://files.pythonhosted.org/packages/e2/38/8e1a3efd0ef9d8259346f986b77de0f62c7a5ff4a76563b6b39b68f793b9/ruff-0.11.11-py3-none-macosx_11_0_arm64.whl", hash = "sha256:d6e333dbe2e6ae84cdedefa943dfd6434753ad321764fd937eef9d6b62022bcd", size = 10367421, upload-time = "2025-05-22T19:18:51.754Z" },- { url = "https://files.pythonhosted.org/packages/b4/50/557ad9dd4fb9d0bf524ec83a090a3932d284d1a8b48b5906b13b72800e5f/ruff-0.11.11-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7885d9a5e4c77b24e8c88aba8c80be9255fa22ab326019dac2356cff42089fc6", size = 10581980, upload-time = "2025-05-22T19:18:54.011Z" },- { url = "https://files.pythonhosted.org/packages/c4/b2/e2ed82d6e2739ece94f1bdbbd1d81b712d3cdaf69f0a1d1f1a116b33f9ad/ruff-0.11.11-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1b5ab797fcc09121ed82e9b12b6f27e34859e4227080a42d090881be888755d4", size = 10089241, upload-time = "2025-05-22T19:18:56.041Z" },- { url = "https://files.pythonhosted.org/packages/3d/9f/b4539f037a5302c450d7c695c82f80e98e48d0d667ecc250e6bdeb49b5c3/ruff-0.11.11-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e231ff3132c1119ece836487a02785f099a43992b95c2f62847d29bace3c75ac", size = 11699398, upload-time = "2025-05-22T19:18:58.248Z" },- { url = "https://files.pythonhosted.org/packages/61/fb/32e029d2c0b17df65e6eaa5ce7aea5fbeaed22dddd9fcfbbf5fe37c6e44e/ruff-0.11.11-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:a97c9babe1d4081037a90289986925726b802d180cca784ac8da2bbbc335f709", size = 12427955, upload-time = "2025-05-22T19:19:00.981Z" },- { url = "https://files.pythonhosted.org/packages/6e/e3/160488dbb11f18c8121cfd588e38095ba779ae208292765972f7732bfd95/ruff-0.11.11-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d8c4ddcbe8a19f59f57fd814b8b117d4fcea9bee7c0492e6cf5fdc22cfa563c8", size = 12069803, upload-time = "2025-05-22T19:19:03.258Z" },- { url = "https://files.pythonhosted.org/packages/ff/16/3b006a875f84b3d0bff24bef26b8b3591454903f6f754b3f0a318589dcc3/ruff-0.11.11-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6224076c344a7694c6fbbb70d4f2a7b730f6d47d2a9dc1e7f9d9bb583faf390b", size = 11242630, upload-time = "2025-05-22T19:19:05.871Z" },- { url = "https://files.pythonhosted.org/packages/65/0d/0338bb8ac0b97175c2d533e9c8cdc127166de7eb16d028a43c5ab9e75abd/ruff-0.11.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:882821fcdf7ae8db7a951df1903d9cb032bbe838852e5fc3c2b6c3ab54e39875", size = 11507310, upload-time = "2025-05-22T19:19:08.584Z" },- { url = "https://files.pythonhosted.org/packages/6f/bf/d7130eb26174ce9b02348b9f86d5874eafbf9f68e5152e15e8e0a392e4a3/ruff-0.11.11-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:dcec2d50756463d9df075a26a85a6affbc1b0148873da3997286caf1ce03cae1", size = 10441144, upload-time = "2025-05-22T19:19:13.621Z" },- { url = "https://files.pythonhosted.org/packages/b3/f3/4be2453b258c092ff7b1761987cf0749e70ca1340cd1bfb4def08a70e8d8/ruff-0.11.11-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:99c28505ecbaeb6594701a74e395b187ee083ee26478c1a795d35084d53ebd81", size = 10081987, upload-time = "2025-05-22T19:19:15.821Z" },- { url = "https://files.pythonhosted.org/packages/6c/6e/dfa4d2030c5b5c13db158219f2ec67bf333e8a7748dccf34cfa2a6ab9ebc/ruff-0.11.11-py3-none-musllinux_1_2_i686.whl", hash = "sha256:9263f9e5aa4ff1dec765e99810f1cc53f0c868c5329b69f13845f699fe74f639", size = 11073922, upload-time = "2025-05-22T19:19:18.104Z" },- { url = "https://files.pythonhosted.org/packages/ff/f4/f7b0b0c3d32b593a20ed8010fa2c1a01f2ce91e79dda6119fcc51d26c67b/ruff-0.11.11-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:64ac6f885e3ecb2fdbb71de2701d4e34526651f1e8503af8fb30d4915a3fe345", size = 11568537, upload-time = "2025-05-22T19:19:20.889Z" },- { url = "https://files.pythonhosted.org/packages/d2/46/0e892064d0adc18bcc81deed9aaa9942a27fd2cd9b1b7791111ce468c25f/ruff-0.11.11-py3-none-win32.whl", hash = "sha256:1adcb9a18802268aaa891ffb67b1c94cd70578f126637118e8099b8e4adcf112", size = 10536492, upload-time = "2025-05-22T19:19:23.642Z" },- { url = "https://files.pythonhosted.org/packages/1b/d9/232e79459850b9f327e9f1dc9c047a2a38a6f9689e1ec30024841fc4416c/ruff-0.11.11-py3-none-win_amd64.whl", hash = "sha256:748b4bb245f11e91a04a4ff0f96e386711df0a30412b9fe0c74d5bdc0e4a531f", size = 11612562, upload-time = "2025-05-22T19:19:27.013Z" },- { url = "https://files.pythonhosted.org/packages/ce/eb/09c132cff3cc30b2e7244191dcce69437352d6d6709c0adf374f3e6f476e/ruff-0.11.11-py3-none-win_arm64.whl", hash = "sha256:6c51f136c0364ab1b774767aa8b86331bd8e9d414e2d107db7a2189f35ea1f7b", size = 10735951, upload-time = "2025-05-22T19:19:30.043Z" },+version = "0.11.12"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/15/0a/92416b159ec00cdf11e5882a9d80d29bf84bba3dbebc51c4898bfbca1da6/ruff-0.11.12.tar.gz", hash = "sha256:43cf7f69c7d7c7d7513b9d59c5d8cafd704e05944f978614aa9faff6ac202603", size = 4202289, upload-time = "2025-05-29T13:31:40.037Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/60/cc/53eb79f012d15e136d40a8e8fc519ba8f55a057f60b29c2df34efd47c6e3/ruff-0.11.12-py3-none-linux_armv6l.whl", hash = "sha256:c7680aa2f0d4c4f43353d1e72123955c7a2159b8646cd43402de6d4a3a25d7cc", size = 10285597, upload-time = "2025-05-29T13:30:57.539Z" },+ { url = "https://files.pythonhosted.org/packages/e7/d7/73386e9fb0232b015a23f62fea7503f96e29c29e6c45461d4a73bac74df9/ruff-0.11.12-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:2cad64843da9f134565c20bcc430642de897b8ea02e2e79e6e02a76b8dcad7c3", size = 11053154, upload-time = "2025-05-29T13:31:00.865Z" },+ { url = "https://files.pythonhosted.org/packages/4e/eb/3eae144c5114e92deb65a0cb2c72326c8469e14991e9bc3ec0349da1331c/ruff-0.11.12-py3-none-macosx_11_0_arm64.whl", hash = "sha256:9b6886b524a1c659cee1758140138455d3c029783d1b9e643f3624a5ee0cb0aa", size = 10403048, upload-time = "2025-05-29T13:31:03.413Z" },+ { url = "https://files.pythonhosted.org/packages/29/64/20c54b20e58b1058db6689e94731f2a22e9f7abab74e1a758dfba058b6ca/ruff-0.11.12-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3cc3a3690aad6e86c1958d3ec3c38c4594b6ecec75c1f531e84160bd827b2012", size = 10597062, upload-time = "2025-05-29T13:31:05.539Z" },+ { url = "https://files.pythonhosted.org/packages/29/3a/79fa6a9a39422a400564ca7233a689a151f1039110f0bbbabcb38106883a/ruff-0.11.12-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f97fdbc2549f456c65b3b0048560d44ddd540db1f27c778a938371424b49fe4a", size = 10155152, upload-time = "2025-05-29T13:31:07.986Z" },+ { url = "https://files.pythonhosted.org/packages/e5/a4/22c2c97b2340aa968af3a39bc38045e78d36abd4ed3fa2bde91c31e712e3/ruff-0.11.12-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:74adf84960236961090e2d1348c1a67d940fd12e811a33fb3d107df61eef8fc7", size = 11723067, upload-time = "2025-05-29T13:31:10.57Z" },+ { url = "https://files.pythonhosted.org/packages/bc/cf/3e452fbd9597bcd8058856ecd42b22751749d07935793a1856d988154151/ruff-0.11.12-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:b56697e5b8bcf1d61293ccfe63873aba08fdbcbbba839fc046ec5926bdb25a3a", size = 12460807, upload-time = "2025-05-29T13:31:12.88Z" },+ { url = "https://files.pythonhosted.org/packages/2f/ec/8f170381a15e1eb7d93cb4feef8d17334d5a1eb33fee273aee5d1f8241a3/ruff-0.11.12-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4d47afa45e7b0eaf5e5969c6b39cbd108be83910b5c74626247e366fd7a36a13", size = 12063261, upload-time = "2025-05-29T13:31:15.236Z" },+ { url = "https://files.pythonhosted.org/packages/0d/bf/57208f8c0a8153a14652a85f4116c0002148e83770d7a41f2e90b52d2b4e/ruff-0.11.12-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:692bf9603fe1bf949de8b09a2da896f05c01ed7a187f4a386cdba6760e7f61be", size = 11329601, upload-time = "2025-05-29T13:31:18.68Z" },+ { url = "https://files.pythonhosted.org/packages/c3/56/edf942f7fdac5888094d9ffa303f12096f1a93eb46570bcf5f14c0c70880/ruff-0.11.12-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:08033320e979df3b20dba567c62f69c45e01df708b0f9c83912d7abd3e0801cd", size = 11522186, upload-time = "2025-05-29T13:31:21.216Z" },+ { url = "https://files.pythonhosted.org/packages/ed/63/79ffef65246911ed7e2290aeece48739d9603b3a35f9529fec0fc6c26400/ruff-0.11.12-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:929b7706584f5bfd61d67d5070f399057d07c70585fa8c4491d78ada452d3bef", size = 10449032, upload-time = "2025-05-29T13:31:23.417Z" },+ { url = "https://files.pythonhosted.org/packages/88/19/8c9d4d8a1c2a3f5a1ea45a64b42593d50e28b8e038f1aafd65d6b43647f3/ruff-0.11.12-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:7de4a73205dc5756b8e09ee3ed67c38312dce1aa28972b93150f5751199981b5", size = 10129370, upload-time = "2025-05-29T13:31:25.777Z" },+ { url = "https://files.pythonhosted.org/packages/bc/0f/2d15533eaa18f460530a857e1778900cd867ded67f16c85723569d54e410/ruff-0.11.12-py3-none-musllinux_1_2_i686.whl", hash = "sha256:2635c2a90ac1b8ca9e93b70af59dfd1dd2026a40e2d6eebaa3efb0465dd9cf02", size = 11123529, upload-time = "2025-05-29T13:31:28.396Z" },+ { url = "https://files.pythonhosted.org/packages/4f/e2/4c2ac669534bdded835356813f48ea33cfb3a947dc47f270038364587088/ruff-0.11.12-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:d05d6a78a89166f03f03a198ecc9d18779076ad0eec476819467acb401028c0c", size = 11577642, upload-time = "2025-05-29T13:31:30.647Z" },+ { url = "https://files.pythonhosted.org/packages/a7/9b/c9ddf7f924d5617a1c94a93ba595f4b24cb5bc50e98b94433ab3f7ad27e5/ruff-0.11.12-py3-none-win32.whl", hash = "sha256:f5a07f49767c4be4772d161bfc049c1f242db0cfe1bd976e0f0886732a4765d6", size = 10475511, upload-time = "2025-05-29T13:31:32.917Z" },+ { url = "https://files.pythonhosted.org/packages/fd/d6/74fb6d3470c1aada019ffff33c0f9210af746cca0a4de19a1f10ce54968a/ruff-0.11.12-py3-none-win_amd64.whl", hash = "sha256:5a4d9f8030d8c3a45df201d7fb3ed38d0219bccd7955268e863ee4a115fa0832", size = 11523573, upload-time = "2025-05-29T13:31:35.782Z" },+ { url = "https://files.pythonhosted.org/packages/44/42/d58086ec20f52d2b0140752ae54b355ea2be2ed46f914231136dd1effcc7/ruff-0.11.12-py3-none-win_arm64.whl", hash = "sha256:65194e37853158d368e333ba282217941029a28ea90913c67e558c611d04daa5", size = 10697770, upload-time = "2025-05-29T13:31:38.009Z" },][[package]]@@ -1488,14 +1498,14 @@ wheels = [[[package]]name = "types-networkx"-version = "3.4.2.20250523"+version = "3.4.2.20250527"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "numpy" },]-sdist = { url = "https://files.pythonhosted.org/packages/53/b2/0107a729e830bd133b9b33158064305788103a17442da2724e7b61081c1c/types_networkx-3.4.2.20250523.tar.gz", hash = "sha256:c35e7b39b72e3fc1a8a2c13df7609c34e41fc63d1ddaeec8fe5ed019c08e9e51", size = 62960, upload-time = "2025-05-23T03:05:36.637Z" }+sdist = { url = "https://files.pythonhosted.org/packages/d4/b7/23d8a8b4118857749206e4cb184f060f1c9c3b12e594c835bad1946c771c/types_networkx-3.4.2.20250527.tar.gz", hash = "sha256:484914f0dee6ce8d87bda494f641a9227e954d716d2f330bfcbf69c2431b646d", size = 63063, upload-time = "2025-05-27T03:05:21.842Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/37/f6/dcaf1dcfe6f1a482dfde00b6c462afd2b0edfd95d81726723149ec26e8c8/types_networkx-3.4.2.20250523-py3-none-any.whl", hash = "sha256:c8743e177411c22d586ae8a20c5f0a83d078de98156f31e22b0f26b412c315af", size = 147745, upload-time = "2025-05-23T03:05:35.564Z" },+ { url = "https://files.pythonhosted.org/packages/fc/de/51f3bbb96dfddd38bc67d2282bbbd5a97861ba196f36d03449eed97a0cb1/types_networkx-3.4.2.20250527-py3-none-any.whl", hash = "sha256:3716f750e61bf46ceba2a43474d7f9b61f306274a243cee6cc2aa9f4fb37ab41", size = 147791, upload-time = "2025-05-27T03:05:20.313Z" },][[package]]@@ -1539,11 +1549,11 @@ wheels = [[[package]]name = "types-s3transfer"-version = "0.12.0"+version = "0.13.0"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/fb/d5/830e9efe91a26601a2bebde6f299239d2d26e542f5d4b3bc7e8c23c81a3f/types_s3transfer-0.12.0.tar.gz", hash = "sha256:f8f59201481e904362873bf0be3267f259d60ad946ebdfcb847d092a1fa26f98", size = 14096, upload-time = "2025-04-23T00:38:19.131Z" }+sdist = { url = "https://files.pythonhosted.org/packages/42/c1/45038f259d6741c252801044e184fec4dbaeff939a58f6160d7c32bf4975/types_s3transfer-0.13.0.tar.gz", hash = "sha256:203dadcb9865c2f68fb44bc0440e1dc05b79197ba4a641c0976c26c9af75ef52", size = 14175, upload-time = "2025-05-28T02:16:07.614Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/fc/43/6097275152463ac9bacf1e00aab30bc6682bf45f6a031be8bf029c030ba2/types_s3transfer-0.12.0-py3-none-any.whl", hash = "sha256:101bbc5b7f00b71512374df881f480fc6bf63c948b5098ab024bf3370fbfb0e8", size = 19553, upload-time = "2025-04-23T00:38:17.865Z" },+ { url = "https://files.pythonhosted.org/packages/c8/5d/6bbe4bf6a79fb727945291aef88b5ecbdba857a603f1bbcf1a6be0d3f442/types_s3transfer-0.13.0-py3-none-any.whl", hash = "sha256:79c8375cbf48a64bff7654c02df1ec4b20d74f8c5672fc13e382f593ca5565b3", size = 19588, upload-time = "2025-05-28T02:16:06.709Z" },][[package]]