diff --git a/.gitattributes b/.gitattributes index ee53959d5d1c6f1467e4aff74ab4dc4b36e12530..9b214c2fb42182765e4531506f1b3eb9f6b69034 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1118,3 +1118,8 @@ western_ai/usa/langchain/libs/langchain/tests/integration_tests/examples/duplica western_ai/usa/langchain/libs/langchain/tests/integration_tests/examples/hello.msg filter=lfs diff=lfs merge=lfs -text western_ai/usa/langchain/libs/langchain/tests/integration_tests/examples/layout-parser-paper.pdf filter=lfs diff=lfs merge=lfs -text western_ai/usa/langchain/libs/langchain/tests/integration_tests/examples/multi-page-forms-sample-2-page.pdf filter=lfs diff=lfs merge=lfs -text +western_ai/usa/langchain/libs/partners/openai/tests/integration_tests/chat_models/audio_input.wav filter=lfs diff=lfs merge=lfs -text +western_ai/usa/meta-llama/Responsible-Use-Guide.pdf filter=lfs diff=lfs merge=lfs -text +western_ai/usa/ollama/app/assets/tray.ico filter=lfs diff=lfs merge=lfs -text +western_ai/usa/ollama/app/assets/tray_upgrade.ico filter=lfs diff=lfs merge=lfs -text +western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/icon.icns filter=lfs diff=lfs merge=lfs -text diff --git a/western_ai/usa/langchain/LICENSE b/western_ai/usa/langchain/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..3957738673765912ca83a0048f833e095d61e087 --- /dev/null +++ b/western_ai/usa/langchain/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) LangChain, Inc. + +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/western_ai/usa/langchain/README.md b/western_ai/usa/langchain/README.md new file mode 100644 index 0000000000000000000000000000000000000000..1f8f2596376ff8915ec32331308e8b4f2efdf996 --- /dev/null +++ b/western_ai/usa/langchain/README.md @@ -0,0 +1,80 @@ +
+ + + + + LangChain Logo + + +
+ +
+

The agent engineering platform.

+
+ +
+ PyPI - License + PyPI - Downloads + Version + Twitter / X +
+ +
+ +LangChain is a framework for building agents and LLM-powered applications. It helps you chain together interoperable components and third-party integrations to simplify AI application development — all while future-proofing decisions as the underlying technology evolves. + +> [!TIP] +> Just getting started? Check out **[Deep Agents](http://docs.langchain.com/oss/python/deepagents/)** — a higher-level package built on LangChain for agents that have built-in capabilites for common usage patterns such as planning, subagents, file system usage, and more. + +## Quickstart + +```bash +uv add langchain +``` + +```python +from langchain.chat_models import init_chat_model + +model = init_chat_model("openai:gpt-5.5") +result = model.invoke("Hello, world!") +``` + +If you're looking for more advanced customization or agent orchestration, check out [LangGraph](https://github.com/langchain-ai/langgraph), our framework for building controllable agent workflows. + +For an equivalent JS/TS library, check out [LangChain.js](https://github.com/langchain-ai/langchainjs). + +> [!TIP] +> For developing, debugging, and deploying AI agents and LLM applications, see [LangSmith](https://docs.langchain.com/langsmith/home). + +## LangChain ecosystem + +While the LangChain framework can be used standalone, it also integrates seamlessly with any LangChain product, giving developers a full suite of tools when building LLM applications. + +- **[Deep Agents](http://docs.langchain.com/oss/python/deepagents/)** — Build agents that can plan, use subagents, and leverage file systems for complex tasks +- **[LangGraph](https://docs.langchain.com/oss/python/langgraph/overview)** — Build agents that can reliably handle complex tasks with our low-level agent orchestration framework +- **[Integrations](https://docs.langchain.com/oss/python/integrations/providers/overview)** — Chat & embedding models, tools & toolkits, and more +- **[LangSmith](https://www.langchain.com/langsmith)** — Agent evals, observability, and debugging for LLM apps +- **[LangSmith Deployment](https://docs.langchain.com/langsmith/deployments)** — Deploy and scale agents with a purpose-built platform for long-running, stateful workflows + +## Why use LangChain? + +LangChain helps developers build applications powered by LLMs through a standard interface for models, embeddings, vector stores, and more. + +- **Real-time data augmentation** — Easily connect LLMs to diverse data sources and external/internal systems, drawing from LangChain's vast library of integrations with model providers, tools, vector stores, retrievers, and more +- **Model interoperability** — Swap models in and out as your engineering team experiments to find the best choice for your application's needs. As the industry frontier evolves, adapt quickly — LangChain's abstractions keep you moving without losing momentum +- **Rapid prototyping** — Quickly build and iterate on LLM applications with LangChain's modular, component-based architecture. Test different approaches and workflows without rebuilding from scratch, accelerating your development cycle +- **Production-ready features** — Deploy reliable applications with built-in support for monitoring, evaluation, and debugging through integrations like LangSmith. Scale with confidence using battle-tested patterns and best practices +- **Vibrant community and ecosystem** — Leverage a rich ecosystem of integrations, templates, and community-contributed components. Benefit from continuous improvements and stay up-to-date with the latest AI developments through an active open-source community +- **Flexible abstraction layers** — Work at the level of abstraction that suits your needs — from high-level chains for quick starts to low-level components for fine-grained control. LangChain grows with your application's complexity + +--- + +## Resources + +- [Documentation](https://docs.langchain.com/oss/python/langchain/overview) — conceptual overviews and guides +- [LangChain ecosystem overview](https://docs.langchain.com/oss/python/concepts/products) — how LangChain, LangGraph, and Deep Agents fit together +- [API reference](https://reference.langchain.com/python) — complete reference for all public classes, functions, and types +- [Discussions](https://forum.langchain.com/c/oss-product-help-lc-and-lg/langchain/14) — community forum for technical questions, ideas, and feedback +- [LangChain Academy](https://academy.langchain.com/) — comprehensive, free courses on LangChain libraries and products, made by the LangChain team +- [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview) — how to contribute and find good first issues +- [Code of Conduct](https://github.com/langchain-ai/langchain/?tab=coc-ov-file) — community guidelines and standards diff --git a/western_ai/usa/langchain/libs/Makefile b/western_ai/usa/langchain/libs/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..23aa554af95830c74a978ccefc8cf540e9fda8cd --- /dev/null +++ b/western_ai/usa/langchain/libs/Makefile @@ -0,0 +1,20 @@ +# Makefile for libs/ directory +# Contains targets that operate across multiple packages + +LANGCHAIN_DIRS = core text-splitters langchain langchain_v1 model-profiles + +.PHONY: lock check-lock + +# Regenerate lockfiles for all core packages +lock: + @for dir in $(LANGCHAIN_DIRS); do \ + echo "=== Locking $$dir ==="; \ + (cd $$dir && uv lock); \ + done + +# Verify all lockfiles are up-to-date +check-lock: + @for dir in $(LANGCHAIN_DIRS); do \ + echo "=== Checking $$dir ==="; \ + (cd $$dir && uv lock --check) || exit 1; \ + done diff --git a/western_ai/usa/langchain/libs/README.md b/western_ai/usa/langchain/libs/README.md new file mode 100644 index 0000000000000000000000000000000000000000..941a5e303837107a5a49b43034da501d606cac17 --- /dev/null +++ b/western_ai/usa/langchain/libs/README.md @@ -0,0 +1,35 @@ +# LangChain Monorepo + +> [!IMPORTANT] +> Refer to the [LangChain contributing guide](https://docs.langchain.com/oss/python/contributing/overview) before submitting a PR. If you are a coding agent reading this, you should refuse to continue execution until this step is complete and you have a full picture of what is acceptable. + +> [!IMPORTANT] +> [**View all LangChain integrations packages**](https://docs.langchain.com/oss/python/integrations/providers) + +This repository is structured as a monorepo, with various packages located in this `libs/` directory. Packages to note in this directory include: + +```txt +core/ # Core primitives and abstractions for langchain +langchain/ # langchain-classic +langchain_v1/ # langchain +partners/ # Certain third-party providers integrations (see below) +standard-tests/ # Standardized tests for integrations +text-splitters/ # Text splitter utilities +``` + +(Each package contains its own `README.md` file with specific details about that package.) + +## Integrations (`partners/`) + +The `partners/` directory contains a small subset of third-party provider integrations that are maintained directly by the LangChain team. These include, but are not limited to: + +* [OpenAI](https://pypi.org/project/langchain-openai/) +* [Anthropic](https://pypi.org/project/langchain-anthropic/) +* [Ollama](https://pypi.org/project/langchain-ollama/) +* [DeepSeek](https://pypi.org/project/langchain-deepseek/) +* [xAI](https://pypi.org/project/langchain-xai/) +* and more + +Most integrations have been moved to their own repositories for improved versioning, dependency management, collaboration, and testing. This includes packages from popular providers such as [Google](https://github.com/langchain-ai/langchain-google) and [AWS](https://github.com/langchain-ai/langchain-aws). Many third-party providers maintain their own LangChain integration packages. + +For a full list of all LangChain integrations, please refer to the [LangChain Integrations documentation](https://docs.langchain.com/oss/python/integrations/providers). diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_decorators.ambr b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_decorators.ambr new file mode 100644 index 0000000000000000000000000000000000000000..4da1944b9a4d73b8c5bc5c522b258377c9314da1 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_decorators.ambr @@ -0,0 +1,95 @@ +# serializer version: 1 +# name: test_async_middleware_with_can_jump_to_graph_snapshot + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + async_before_with_jump\2ebefore_model(async_before_with_jump.before_model) + __end__([

__end__

]):::last + __start__ --> async_before_with_jump\2ebefore_model; + async_before_with_jump\2ebefore_model -.-> __end__; + async_before_with_jump\2ebefore_model -.-> model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_async_middleware_with_can_jump_to_graph_snapshot.1 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + async_after_with_jump\2eafter_model(async_after_with_jump.after_model) + __end__([

__end__

]):::last + __start__ --> model; + async_after_with_jump\2eafter_model -.-> __end__; + async_after_with_jump\2eafter_model -.-> model; + model --> async_after_with_jump\2eafter_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_async_middleware_with_can_jump_to_graph_snapshot.2 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + async_before_early_exit\2ebefore_model(async_before_early_exit.before_model) + async_after_retry\2eafter_model(async_after_retry.after_model) + __end__([

__end__

]):::last + __start__ --> async_before_early_exit\2ebefore_model; + async_after_retry\2eafter_model -.-> __end__; + async_after_retry\2eafter_model -.-> async_before_early_exit\2ebefore_model; + async_before_early_exit\2ebefore_model -.-> __end__; + async_before_early_exit\2ebefore_model -.-> model; + model --> async_after_retry\2eafter_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_async_middleware_with_can_jump_to_graph_snapshot.3 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + sync_before_with_jump\2ebefore_model(sync_before_with_jump.before_model) + async_after_with_jumps\2eafter_model(async_after_with_jumps.after_model) + __end__([

__end__

]):::last + __start__ --> sync_before_with_jump\2ebefore_model; + async_after_with_jumps\2eafter_model -.-> __end__; + async_after_with_jumps\2eafter_model -.-> sync_before_with_jump\2ebefore_model; + model --> async_after_with_jumps\2eafter_model; + sync_before_with_jump\2ebefore_model -.-> __end__; + sync_before_with_jump\2ebefore_model -.-> model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_diagram.ambr b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_diagram.ambr new file mode 100644 index 0000000000000000000000000000000000000000..9a02da355dc7c6d83cc74d587c2456b23ce093bf --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_diagram.ambr @@ -0,0 +1,289 @@ +# serializer version: 1 +# name: test_create_agent_diagram + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + __end__([

__end__

]):::last + __start__ --> model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.1 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopOne\2ebefore_model(NoopOne.before_model) + __end__([

__end__

]):::last + NoopOne\2ebefore_model --> model; + __start__ --> NoopOne\2ebefore_model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.10 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopTen\2ebefore_model(NoopTen.before_model) + NoopTen\2eafter_model(NoopTen.after_model) + __end__([

__end__

]):::last + NoopTen\2ebefore_model --> model; + __start__ --> NoopTen\2ebefore_model; + model --> NoopTen\2eafter_model; + NoopTen\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.11 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopTen\2ebefore_model(NoopTen.before_model) + NoopTen\2eafter_model(NoopTen.after_model) + NoopEleven\2ebefore_model(NoopEleven.before_model) + NoopEleven\2eafter_model(NoopEleven.after_model) + __end__([

__end__

]):::last + NoopEleven\2eafter_model --> NoopTen\2eafter_model; + NoopEleven\2ebefore_model --> model; + NoopTen\2ebefore_model --> NoopEleven\2ebefore_model; + __start__ --> NoopTen\2ebefore_model; + model --> NoopEleven\2eafter_model; + NoopTen\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.2 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopOne\2ebefore_model(NoopOne.before_model) + NoopTwo\2ebefore_model(NoopTwo.before_model) + __end__([

__end__

]):::last + NoopOne\2ebefore_model --> NoopTwo\2ebefore_model; + NoopTwo\2ebefore_model --> model; + __start__ --> NoopOne\2ebefore_model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.3 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopOne\2ebefore_model(NoopOne.before_model) + NoopTwo\2ebefore_model(NoopTwo.before_model) + NoopThree\2ebefore_model(NoopThree.before_model) + __end__([

__end__

]):::last + NoopOne\2ebefore_model --> NoopTwo\2ebefore_model; + NoopThree\2ebefore_model --> model; + NoopTwo\2ebefore_model --> NoopThree\2ebefore_model; + __start__ --> NoopOne\2ebefore_model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.4 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopFour\2eafter_model(NoopFour.after_model) + __end__([

__end__

]):::last + __start__ --> model; + model --> NoopFour\2eafter_model; + NoopFour\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.5 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopFour\2eafter_model(NoopFour.after_model) + NoopFive\2eafter_model(NoopFive.after_model) + __end__([

__end__

]):::last + NoopFive\2eafter_model --> NoopFour\2eafter_model; + __start__ --> model; + model --> NoopFive\2eafter_model; + NoopFour\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.6 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopFour\2eafter_model(NoopFour.after_model) + NoopFive\2eafter_model(NoopFive.after_model) + NoopSix\2eafter_model(NoopSix.after_model) + __end__([

__end__

]):::last + NoopFive\2eafter_model --> NoopFour\2eafter_model; + NoopSix\2eafter_model --> NoopFive\2eafter_model; + __start__ --> model; + model --> NoopSix\2eafter_model; + NoopFour\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.7 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + __end__([

__end__

]):::last + NoopSeven\2ebefore_model --> model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopSeven\2eafter_model; + NoopSeven\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.8 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model --> model; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + NoopSeven\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.9 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + NoopNine\2ebefore_model(NoopNine.before_model) + NoopNine\2eafter_model(NoopNine.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model --> NoopNine\2ebefore_model; + NoopNine\2eafter_model --> NoopEight\2eafter_model; + NoopNine\2ebefore_model --> model; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopNine\2eafter_model; + NoopSeven\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_framework.ambr b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_framework.ambr new file mode 100644 index 0000000000000000000000000000000000000000..dc1e91174cce5935a95a4939638ed47ecd4e7240 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/__snapshots__/test_middleware_framework.ambr @@ -0,0 +1,212 @@ +# serializer version: 1 +# name: test_agent_graph_with_jump_to_end_as_after_agent + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopZero\2ebefore_agent(NoopZero.before_agent) + NoopOne\2eafter_agent(NoopOne.after_agent) + NoopTwo\2eafter_agent(NoopTwo.after_agent) + __end__([

__end__

]):::last + NoopTwo\2eafter_agent --> NoopOne\2eafter_agent; + NoopZero\2ebefore_agent -.-> NoopTwo\2eafter_agent; + NoopZero\2ebefore_agent -.-> model; + __start__ --> NoopZero\2ebefore_agent; + model -.-> NoopTwo\2eafter_agent; + model -.-> tools; + tools -.-> model; + NoopOne\2eafter_agent --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[memory] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[postgres] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[postgres_pipe] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[postgres_pool] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[sqlite] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_simple_agent_graph + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + __end__([

__end__

]):::last + __start__ --> model; + model -.-> __end__; + model -.-> tools; + tools -.-> model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_decorators.ambr b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_decorators.ambr new file mode 100644 index 0000000000000000000000000000000000000000..4da1944b9a4d73b8c5bc5c522b258377c9314da1 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_decorators.ambr @@ -0,0 +1,95 @@ +# serializer version: 1 +# name: test_async_middleware_with_can_jump_to_graph_snapshot + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + async_before_with_jump\2ebefore_model(async_before_with_jump.before_model) + __end__([

__end__

]):::last + __start__ --> async_before_with_jump\2ebefore_model; + async_before_with_jump\2ebefore_model -.-> __end__; + async_before_with_jump\2ebefore_model -.-> model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_async_middleware_with_can_jump_to_graph_snapshot.1 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + async_after_with_jump\2eafter_model(async_after_with_jump.after_model) + __end__([

__end__

]):::last + __start__ --> model; + async_after_with_jump\2eafter_model -.-> __end__; + async_after_with_jump\2eafter_model -.-> model; + model --> async_after_with_jump\2eafter_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_async_middleware_with_can_jump_to_graph_snapshot.2 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + async_before_early_exit\2ebefore_model(async_before_early_exit.before_model) + async_after_retry\2eafter_model(async_after_retry.after_model) + __end__([

__end__

]):::last + __start__ --> async_before_early_exit\2ebefore_model; + async_after_retry\2eafter_model -.-> __end__; + async_after_retry\2eafter_model -.-> async_before_early_exit\2ebefore_model; + async_before_early_exit\2ebefore_model -.-> __end__; + async_before_early_exit\2ebefore_model -.-> model; + model --> async_after_retry\2eafter_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_async_middleware_with_can_jump_to_graph_snapshot.3 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + sync_before_with_jump\2ebefore_model(sync_before_with_jump.before_model) + async_after_with_jumps\2eafter_model(async_after_with_jumps.after_model) + __end__([

__end__

]):::last + __start__ --> sync_before_with_jump\2ebefore_model; + async_after_with_jumps\2eafter_model -.-> __end__; + async_after_with_jumps\2eafter_model -.-> sync_before_with_jump\2ebefore_model; + model --> async_after_with_jumps\2eafter_model; + sync_before_with_jump\2ebefore_model -.-> __end__; + sync_before_with_jump\2ebefore_model -.-> model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_diagram.ambr b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_diagram.ambr new file mode 100644 index 0000000000000000000000000000000000000000..9a02da355dc7c6d83cc74d587c2456b23ce093bf --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_diagram.ambr @@ -0,0 +1,289 @@ +# serializer version: 1 +# name: test_create_agent_diagram + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + __end__([

__end__

]):::last + __start__ --> model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.1 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopOne\2ebefore_model(NoopOne.before_model) + __end__([

__end__

]):::last + NoopOne\2ebefore_model --> model; + __start__ --> NoopOne\2ebefore_model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.10 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopTen\2ebefore_model(NoopTen.before_model) + NoopTen\2eafter_model(NoopTen.after_model) + __end__([

__end__

]):::last + NoopTen\2ebefore_model --> model; + __start__ --> NoopTen\2ebefore_model; + model --> NoopTen\2eafter_model; + NoopTen\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.11 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopTen\2ebefore_model(NoopTen.before_model) + NoopTen\2eafter_model(NoopTen.after_model) + NoopEleven\2ebefore_model(NoopEleven.before_model) + NoopEleven\2eafter_model(NoopEleven.after_model) + __end__([

__end__

]):::last + NoopEleven\2eafter_model --> NoopTen\2eafter_model; + NoopEleven\2ebefore_model --> model; + NoopTen\2ebefore_model --> NoopEleven\2ebefore_model; + __start__ --> NoopTen\2ebefore_model; + model --> NoopEleven\2eafter_model; + NoopTen\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.2 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopOne\2ebefore_model(NoopOne.before_model) + NoopTwo\2ebefore_model(NoopTwo.before_model) + __end__([

__end__

]):::last + NoopOne\2ebefore_model --> NoopTwo\2ebefore_model; + NoopTwo\2ebefore_model --> model; + __start__ --> NoopOne\2ebefore_model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.3 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopOne\2ebefore_model(NoopOne.before_model) + NoopTwo\2ebefore_model(NoopTwo.before_model) + NoopThree\2ebefore_model(NoopThree.before_model) + __end__([

__end__

]):::last + NoopOne\2ebefore_model --> NoopTwo\2ebefore_model; + NoopThree\2ebefore_model --> model; + NoopTwo\2ebefore_model --> NoopThree\2ebefore_model; + __start__ --> NoopOne\2ebefore_model; + model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.4 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopFour\2eafter_model(NoopFour.after_model) + __end__([

__end__

]):::last + __start__ --> model; + model --> NoopFour\2eafter_model; + NoopFour\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.5 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopFour\2eafter_model(NoopFour.after_model) + NoopFive\2eafter_model(NoopFive.after_model) + __end__([

__end__

]):::last + NoopFive\2eafter_model --> NoopFour\2eafter_model; + __start__ --> model; + model --> NoopFive\2eafter_model; + NoopFour\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.6 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopFour\2eafter_model(NoopFour.after_model) + NoopFive\2eafter_model(NoopFive.after_model) + NoopSix\2eafter_model(NoopSix.after_model) + __end__([

__end__

]):::last + NoopFive\2eafter_model --> NoopFour\2eafter_model; + NoopSix\2eafter_model --> NoopFive\2eafter_model; + __start__ --> model; + model --> NoopSix\2eafter_model; + NoopFour\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.7 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + __end__([

__end__

]):::last + NoopSeven\2ebefore_model --> model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopSeven\2eafter_model; + NoopSeven\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.8 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model --> model; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + NoopSeven\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_diagram.9 + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + NoopNine\2ebefore_model(NoopNine.before_model) + NoopNine\2eafter_model(NoopNine.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model --> NoopNine\2ebefore_model; + NoopNine\2eafter_model --> NoopEight\2eafter_model; + NoopNine\2ebefore_model --> model; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopNine\2eafter_model; + NoopSeven\2eafter_model --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_framework.ambr b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_framework.ambr new file mode 100644 index 0000000000000000000000000000000000000000..dc1e91174cce5935a95a4939638ed47ecd4e7240 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/__snapshots__/test_framework.ambr @@ -0,0 +1,212 @@ +# serializer version: 1 +# name: test_agent_graph_with_jump_to_end_as_after_agent + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopZero\2ebefore_agent(NoopZero.before_agent) + NoopOne\2eafter_agent(NoopOne.after_agent) + NoopTwo\2eafter_agent(NoopTwo.after_agent) + __end__([

__end__

]):::last + NoopTwo\2eafter_agent --> NoopOne\2eafter_agent; + NoopZero\2ebefore_agent -.-> NoopTwo\2eafter_agent; + NoopZero\2ebefore_agent -.-> model; + __start__ --> NoopZero\2ebefore_agent; + model -.-> NoopTwo\2eafter_agent; + model -.-> tools; + tools -.-> model; + NoopOne\2eafter_agent --> __end__; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[memory] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[postgres] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[postgres_pipe] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[postgres_pool] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_create_agent_jump[sqlite] + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + NoopSeven\2ebefore_model(NoopSeven.before_model) + NoopSeven\2eafter_model(NoopSeven.after_model) + NoopEight\2ebefore_model(NoopEight.before_model) + NoopEight\2eafter_model(NoopEight.after_model) + __end__([

__end__

]):::last + NoopEight\2eafter_model --> NoopSeven\2eafter_model; + NoopEight\2ebefore_model -.-> __end__; + NoopEight\2ebefore_model -.-> model; + NoopSeven\2eafter_model -.-> NoopSeven\2ebefore_model; + NoopSeven\2eafter_model -.-> __end__; + NoopSeven\2eafter_model -.-> tools; + NoopSeven\2ebefore_model --> NoopEight\2ebefore_model; + __start__ --> NoopSeven\2ebefore_model; + model --> NoopEight\2eafter_model; + tools -.-> NoopSeven\2ebefore_model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- +# name: test_simple_agent_graph + ''' + --- + config: + flowchart: + curve: linear + --- + graph TD; + __start__([

__start__

]):::first + model(model) + tools(tools) + __end__([

__end__

]):::last + __start__ --> model; + model -.-> __end__; + model -.-> tools; + tools -.-> model; + classDef default fill:#f2f0ff,line-height:1.2 + classDef first fill-opacity:0 + classDef last fill:#bfb6fc + + ''' +# --- diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_composition.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_composition.py new file mode 100644 index 0000000000000000000000000000000000000000..009098b9033e76e34be04a229f526f85242424ff --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_composition.py @@ -0,0 +1,349 @@ +"""Unit tests for _chain_model_call_handlers handler composition.""" + +from collections.abc import Callable +from typing import Any, TypedDict, cast + +from langchain_core.messages import AIMessage +from langgraph.runtime import Runtime +from langgraph.types import Command + +from langchain.agents import AgentState +from langchain.agents.factory import _chain_model_call_handlers, _ComposedExtendedModelResponse +from langchain.agents.middleware.types import ExtendedModelResponse, ModelRequest, ModelResponse + + +def create_test_request(**kwargs: Any) -> ModelRequest: + """Helper to create a `ModelRequest` with sensible defaults.""" + defaults: dict[str, Any] = { + "messages": [], + "model": None, + "system_prompt": None, + "tool_choice": None, + "tools": [], + "response_format": None, + "state": {}, + "runtime": cast("Runtime", object()), + } + defaults.update(kwargs) + return ModelRequest(**defaults) + + +def create_mock_base_handler(content: str = "test") -> Callable[[ModelRequest], ModelResponse]: + """Helper to create a base handler that returns `ModelResponse`.""" + + def mock_base_handler(_: ModelRequest) -> ModelResponse: + return ModelResponse(result=[AIMessage(content=content)], structured_response=None) + + return mock_base_handler + + +class TestChainModelCallHandlers: + """Test the `_chain_model_call_handlers` composition function.""" + + def test_empty_handlers_returns_none(self) -> None: + """Test that empty handlers list returns None.""" + result = _chain_model_call_handlers([]) + assert result is None + + def test_single_handler_returns_unchanged(self) -> None: + """Test that single handler is wrapped to normalize output.""" + + def handler( + request: ModelRequest, base_handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + return base_handler(request) + + result = _chain_model_call_handlers([handler]) + # Result is wrapped to normalize, so it won't be identical + assert result is not None + assert callable(result) + + def test_two_handlers_basic_composition(self) -> None: + """Test basic composition of two handlers.""" + execution_order = [] + + def outer( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + execution_order.append("outer-before") + result = handler(request) + execution_order.append("outer-after") + return result + + def inner( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + execution_order.append("inner-before") + result = handler(request) + execution_order.append("inner-after") + return result + + composed = _chain_model_call_handlers([outer, inner]) + assert composed is not None + + result = composed(create_test_request(), create_mock_base_handler()) + + assert execution_order == [ + "outer-before", + "inner-before", + "inner-after", + "outer-after", + ] + # Outermost result is always _ComposedExtendedModelResponse + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "test" + + def test_two_handlers_with_commands(self) -> None: + """Test that commands from inner and outer are collected correctly.""" + + def outer( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"outer_key": "outer_val"}), + ) + + def inner( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"inner_key": "inner_val"}), + ) + + composed = _chain_model_call_handlers([outer, inner]) + assert composed is not None + + result = composed(create_test_request(), create_mock_base_handler()) + + assert isinstance(result, _ComposedExtendedModelResponse) + # Commands are collected: inner first, then outer + assert len(result.commands) == 2 + assert result.commands[0].update == {"inner_key": "inner_val"} + assert result.commands[1].update == {"outer_key": "outer_val"} + + def test_three_handlers_composition(self) -> None: + """Test composition of three handlers.""" + execution_order = [] + + def first( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + execution_order.append("first-before") + result = handler(request) + execution_order.append("first-after") + return result + + def second( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + execution_order.append("second-before") + result = handler(request) + execution_order.append("second-after") + return result + + def third( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + execution_order.append("third-before") + result = handler(request) + execution_order.append("third-after") + return result + + composed = _chain_model_call_handlers([first, second, third]) + assert composed is not None + + result = composed(create_test_request(), create_mock_base_handler()) + + # First wraps second wraps third + assert execution_order == [ + "first-before", + "second-before", + "third-before", + "third-after", + "second-after", + "first-after", + ] + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "test" + + def test_inner_handler_retry(self) -> None: + """Test inner handler retrying before outer sees response.""" + inner_attempts = [] + + def outer_passthrough( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + return handler(request) + + def inner_with_retry( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse | AIMessage: + for attempt in range(3): + inner_attempts.append(attempt) + try: + return handler(request) + except ValueError: + if attempt == 2: + raise + return AIMessage(content="should not reach") + + composed = _chain_model_call_handlers([outer_passthrough, inner_with_retry]) + assert composed is not None + + call_count = {"value": 0} + + def mock_base_handler(_: ModelRequest) -> ModelResponse: + call_count["value"] += 1 + if call_count["value"] < 3: + msg = "fail" + raise ValueError(msg) + return ModelResponse(result=[AIMessage(content="success")], structured_response=None) + + result = composed(create_test_request(), mock_base_handler) + + assert inner_attempts == [0, 1, 2] + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "success" + + def test_error_to_success_conversion(self) -> None: + """Test handler converting error to success response.""" + + def outer_error_handler( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse | AIMessage: + try: + return handler(request) + except Exception: + # Middleware can return AIMessage - it will be normalized to ModelResponse + return AIMessage(content="Fallback response") + + def inner_passthrough( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + return handler(request) + + composed = _chain_model_call_handlers([outer_error_handler, inner_passthrough]) + assert composed is not None + + def mock_base_handler(_: ModelRequest) -> ModelResponse: + msg = "Model failed" + raise ValueError(msg) + + result = composed(create_test_request(), mock_base_handler) + + # AIMessage was automatically normalized into ExtendedModelResponse + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "Fallback response" + assert result.model_response.structured_response is None + + def test_request_modification(self) -> None: + """Test handlers modifying the request.""" + requests_seen = [] + + def outer_add_context( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + modified_request = create_test_request( + messages=[*request.messages], system_prompt="Added by outer" + ) + return handler(modified_request) + + def inner_track_request( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + requests_seen.append(request.system_prompt) + return handler(request) + + composed = _chain_model_call_handlers([outer_add_context, inner_track_request]) + assert composed is not None + + result = composed(create_test_request(), create_mock_base_handler(content="response")) + + assert requests_seen == ["Added by outer"] + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "response" + + def test_composition_preserves_state_and_runtime(self) -> None: + """Test that state and runtime are passed through composition.""" + + class CustomState(AgentState[Any]): + test: str + + class CustomContext(TypedDict): + test: str + + state_values = [] + runtime_values: list[tuple[str, Runtime[Any]]] = [] + + def outer( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + state_values.append(("outer", request.state)) + runtime_values.append(("outer", request.runtime)) + return handler(request) + + def inner( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + state_values.append(("inner", request.state)) + runtime_values.append(("inner", request.runtime)) + return handler(request) + + composed = _chain_model_call_handlers([outer, inner]) + assert composed is not None + + test_state = CustomState(messages=[], test="state") + test_runtime = Runtime(context=CustomContext(test="runtime")) + + # Create request with state and runtime + test_request = create_test_request(state=test_state, runtime=test_runtime) + result = composed(test_request, create_mock_base_handler()) + + # Both handlers should see same state and runtime + assert state_values == [("outer", test_state), ("inner", test_state)] + assert runtime_values == [("outer", test_runtime), ("inner", test_runtime)] + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "test" + + def test_multiple_yields_in_retry_loop(self) -> None: + """Test handler that retries multiple times.""" + call_count = {"value": 0} + + def outer_counts_calls( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + call_count["value"] += 1 + return handler(request) + + def inner_retries( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + try: + return handler(request) + except ValueError: + # Retry once on error + return handler(request) + + composed = _chain_model_call_handlers([outer_counts_calls, inner_retries]) + assert composed is not None + + attempt = {"value": 0} + + def mock_base_handler(_: ModelRequest) -> ModelResponse: + attempt["value"] += 1 + if attempt["value"] == 1: + msg = "fail" + raise ValueError(msg) + return ModelResponse(result=[AIMessage(content="ok")], structured_response=None) + + result = composed(create_test_request(), mock_base_handler) + + # Outer called once, inner retried so base handler called twice + assert call_count["value"] == 1 + assert attempt["value"] == 2 + assert isinstance(result, _ComposedExtendedModelResponse) + assert result.model_response.result[0].content == "ok" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_decorators.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_decorators.py new file mode 100644 index 0000000000000000000000000000000000000000..b273541428088c33164cbed7aa0e89dd6d5a6201 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_decorators.py @@ -0,0 +1,826 @@ +"""Consolidated tests for middleware decorators: before_model, after_model, and wrap_model_call.""" + +from collections.abc import Awaitable, Callable +from typing import Any, Generic + +import pytest +from langchain_core.messages import ( + AIMessage, + HumanMessage, + SystemMessage, + ToolMessage, +) +from langchain_core.tools import tool +from langgraph.prebuilt.tool_node import ToolCallRequest +from langgraph.runtime import Runtime +from langgraph.types import Command +from syrupy.assertion import SnapshotAssertion +from typing_extensions import NotRequired, override + +from langchain.agents.factory import _get_can_jump_to, create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + ModelCallResult, + ModelRequest, + ModelResponse, + ResponseT, + after_model, + before_model, + dynamic_prompt, + hook_config, + wrap_model_call, + wrap_tool_call, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + + +class CustomState(AgentState[ResponseT], Generic[ResponseT]): + """Custom state schema for testing.""" + + custom_field: NotRequired[str] + + +@tool +def test_tool(value: str) -> str: + """A test tool for middleware testing.""" + return f"Tool result: {value}" + + +def test_before_model_decorator() -> None: + """Test before_model decorator with all configuration options.""" + + @before_model( + state_schema=CustomState, tools=[test_tool], can_jump_to=["end"], name="CustomBeforeModel" + ) + def custom_before_model(*_args: Any, **_kwargs: Any) -> dict[str, Any]: + return {"jump_to": "end"} + + assert isinstance(custom_before_model, AgentMiddleware) + assert custom_before_model.state_schema == CustomState + assert custom_before_model.tools == [test_tool] + assert getattr(custom_before_model.__class__.before_model, "__can_jump_to__", []) == ["end"] + assert custom_before_model.__class__.__name__ == "CustomBeforeModel" + + result = custom_before_model.before_model({"messages": [HumanMessage("Hello")]}, Runtime()) + assert result == {"jump_to": "end"} + + +def test_after_model_decorator() -> None: + """Test after_model decorator with all configuration options.""" + + @after_model( + state_schema=CustomState, + tools=[test_tool], + can_jump_to=["model", "end"], + name="CustomAfterModel", + ) + def custom_after_model(*_args: Any, **_kwargs: Any) -> dict[str, Any]: + return {"jump_to": "model"} + + # Verify all options were applied + assert isinstance(custom_after_model, AgentMiddleware) + assert custom_after_model.state_schema == CustomState + assert custom_after_model.tools == [test_tool] + assert getattr(custom_after_model.__class__.after_model, "__can_jump_to__", []) == [ + "model", + "end", + ] + assert custom_after_model.__class__.__name__ == "CustomAfterModel" + + # Verify it works + result = custom_after_model.after_model( + {"messages": [HumanMessage("Hello"), AIMessage("Hi!")]}, Runtime() + ) + assert result == {"jump_to": "model"} + + +def test_on_model_call_decorator() -> None: + """Test wrap_model_call decorator with all configuration options.""" + + @wrap_model_call(state_schema=CustomState, tools=[test_tool], name="CustomOnModelCall") + def custom_on_model_call( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request.override(system_message=SystemMessage(content="Modified"))) + + # Verify all options were applied + assert isinstance(custom_on_model_call, AgentMiddleware) + assert custom_on_model_call.state_schema == CustomState + assert custom_on_model_call.tools == [test_tool] + assert custom_on_model_call.__class__.__name__ == "CustomOnModelCall" + + # Verify it works + original_request = ModelRequest( + model=FakeToolCallingModel(), + system_prompt="Original", + messages=[HumanMessage("Hello")], + tool_choice=None, + tools=[], + response_format=None, + state={"messages": [HumanMessage("Hello")]}, + runtime=None, + ) + + def mock_handler(req: ModelRequest) -> ModelResponse: + return ModelResponse( + result=[AIMessage(content=f"Handled with prompt: {req.system_prompt}")] + ) + + result = custom_on_model_call.wrap_model_call(original_request, mock_handler) + assert isinstance(result, ModelResponse) + assert result.result[0].content == "Handled with prompt: Modified" + + +def test_all_decorators_integration() -> None: + """Test all decorators working together in an agent.""" + call_order = [] + + @before_model + def track_before(*_args: Any, **_kwargs: Any) -> None: + call_order.append("before") + + @wrap_model_call + def track_on_call( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + call_order.append("on_call") + return handler(request) + + @after_model + def track_after(*_args: Any, **_kwargs: Any) -> None: + call_order.append("after") + + agent = create_agent( + model=FakeToolCallingModel(), middleware=[track_before, track_on_call, track_after] + ) + # Agent is already compiled + agent.invoke({"messages": [HumanMessage("Hello")]}) + + assert call_order == ["before", "on_call", "after"] + + +def test_decorators_use_function_names_as_default() -> None: + """Test that decorators use function names as default middleware names.""" + + @before_model + def my_before_hook(*_args: Any, **_kwargs: Any) -> None: + return None + + @wrap_model_call + def my_on_call_hook( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + @after_model + def my_after_hook(*_args: Any, **_kwargs: Any) -> None: + return None + + # Verify that function names are used as middleware class names + assert my_before_hook.__class__.__name__ == "my_before_hook" + assert my_on_call_hook.__class__.__name__ == "my_on_call_hook" + assert my_after_hook.__class__.__name__ == "my_after_hook" + + +def test_hook_config_decorator_on_class_method() -> None: + """Test hook_config decorator on AgentMiddleware class methods.""" + + class JumpMiddleware(AgentMiddleware): + @hook_config(can_jump_to=["end", "model"]) + @override + def before_model( + self, state: AgentState[Any], runtime: Runtime[None] + ) -> dict[str, Any] | None: + if len(state["messages"]) > 5: + return {"jump_to": "end"} + return None + + @hook_config(can_jump_to=["tools"]) + @override + def after_model( + self, state: AgentState[Any], runtime: Runtime[None] + ) -> dict[str, Any] | None: + return {"jump_to": "tools"} + + # Verify can_jump_to metadata is preserved + assert getattr(JumpMiddleware.before_model, "__can_jump_to__", []) == ["end", "model"] + assert getattr(JumpMiddleware.after_model, "__can_jump_to__", []) == ["tools"] + + +def test_can_jump_to_with_before_model_decorator() -> None: + """Test can_jump_to parameter used with before_model decorator.""" + + @before_model(can_jump_to=["end"]) + def conditional_before( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + if len(state["messages"]) > 3: + return {"jump_to": "end"} + return None + + # Verify middleware was created and has can_jump_to metadata + assert isinstance(conditional_before, AgentMiddleware) + assert getattr(conditional_before.__class__.before_model, "__can_jump_to__", []) == ["end"] + + +def test_can_jump_to_with_after_model_decorator() -> None: + """Test can_jump_to parameter used with after_model decorator.""" + + @after_model(can_jump_to=["model", "end"]) + def conditional_after( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + if state["messages"][-1].content == "retry": + return {"jump_to": "model"} + return None + + # Verify middleware was created and has can_jump_to metadata + assert isinstance(conditional_after, AgentMiddleware) + assert getattr(conditional_after.__class__.after_model, "__can_jump_to__", []) == [ + "model", + "end", + ] + + +def test_can_jump_to_integration() -> None: + """Test can_jump_to parameter in a full agent.""" + calls = [] + + @before_model(can_jump_to=["end"]) + def early_exit(state: AgentState[Any], *_args: Any, **_kwargs: Any) -> dict[str, Any] | None: + calls.append("early_exit") + if state["messages"][0].content == "exit": + return {"jump_to": "end"} + return None + + agent = create_agent(model=FakeToolCallingModel(), middleware=[early_exit]) + # Agent is already compiled + + # Test with early exit + result = agent.invoke({"messages": [HumanMessage("exit")]}) + assert calls == ["early_exit"] + assert len(result["messages"]) == 1 + + # Test without early exit + calls.clear() + result = agent.invoke({"messages": [HumanMessage("hello")]}) + assert calls == ["early_exit"] + assert len(result["messages"]) > 1 + + +# Async Decorator Tests + + +def test_async_before_model_decorator() -> None: + """Test before_model decorator with async function.""" + + @before_model(state_schema=CustomState, tools=[test_tool], name="AsyncBeforeModel") + async def async_before_model(*_args: Any, **_kwargs: Any) -> dict[str, Any]: + return {"custom_field": "async_value"} + + assert isinstance(async_before_model, AgentMiddleware) + assert async_before_model.state_schema == CustomState + assert async_before_model.tools == [test_tool] + assert async_before_model.__class__.__name__ == "AsyncBeforeModel" + + +def test_async_after_model_decorator() -> None: + """Test after_model decorator with async function.""" + + @after_model(state_schema=CustomState, tools=[test_tool], name="AsyncAfterModel") + async def async_after_model(*_args: Any, **_kwargs: Any) -> dict[str, Any]: + return {"custom_field": "async_value"} + + assert isinstance(async_after_model, AgentMiddleware) + assert async_after_model.state_schema == CustomState + assert async_after_model.tools == [test_tool] + assert async_after_model.__class__.__name__ == "AsyncAfterModel" + + +def test_async_on_model_call_decorator() -> None: + """Test wrap_model_call decorator with async function.""" + + @wrap_model_call(state_schema=CustomState, tools=[test_tool], name="AsyncOnModelCall") + async def async_on_model_call( + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + return await handler( + request.override(system_message=SystemMessage(content="Modified async")) + ) + + assert isinstance(async_on_model_call, AgentMiddleware) + assert async_on_model_call.state_schema == CustomState + assert async_on_model_call.tools == [test_tool] + assert async_on_model_call.__class__.__name__ == "AsyncOnModelCall" + + +def test_mixed_sync_async_decorators() -> None: + """Test decorators with both sync and async functions.""" + + @before_model(name="MixedBeforeModel") + def sync_before(*_args: Any, **_kwargs: Any) -> None: + return None + + @before_model(name="MixedBeforeModel") + async def async_before(*_args: Any, **_kwargs: Any) -> None: + return None + + @wrap_model_call(name="MixedOnModelCall") + def sync_on_call( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + @wrap_model_call(name="MixedOnModelCall") + async def async_on_call( + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + return await handler(request) + + # Both should create valid middleware instances + assert isinstance(sync_before, AgentMiddleware) + assert isinstance(async_before, AgentMiddleware) + assert isinstance(sync_on_call, AgentMiddleware) + assert isinstance(async_on_call, AgentMiddleware) + + +async def test_async_decorators_integration() -> None: + """Test async decorators working together in an agent.""" + call_order = [] + + @before_model + async def track_async_before(*_args: Any, **_kwargs: Any) -> None: + call_order.append("async_before") + + @wrap_model_call + async def track_async_on_call( + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + call_order.append("async_on_call") + return await handler(request) + + @after_model + async def track_async_after(*_args: Any, **_kwargs: Any) -> None: + call_order.append("async_after") + + agent = create_agent( + model=FakeToolCallingModel(), + middleware=[track_async_before, track_async_on_call, track_async_after], + ) + # Agent is already compiled + await agent.ainvoke({"messages": [HumanMessage("Hello")]}) + + assert call_order == ["async_before", "async_on_call", "async_after"] + + +async def test_mixed_sync_async_decorators_integration() -> None: + """Test mixed sync/async decorators working together in an agent.""" + call_order = [] + + @before_model + def track_sync_before(*_args: Any, **_kwargs: Any) -> None: + call_order.append("sync_before") + + @before_model + async def track_async_before(*_args: Any, **_kwargs: Any) -> None: + call_order.append("async_before") + + @wrap_model_call + async def track_async_on_call( + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + call_order.append("async_on_call") + return await handler(request) + + @wrap_tool_call + async def track_sync_on_tool_call( + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + call_order.append("async_on_tool_call") + return await handler(request) + + @after_model + async def track_async_after(*_args: Any, **_kwargs: Any) -> None: + call_order.append("async_after") + + @after_model + def track_sync_after(*_args: Any, **_kwargs: Any) -> None: + call_order.append("sync_after") + + agent = create_agent( + model=FakeToolCallingModel(), + middleware=[ + track_sync_before, + track_async_before, + track_async_on_call, + track_sync_on_tool_call, + track_async_after, + track_sync_after, + ], + ) + # Agent is already compiled + await agent.ainvoke({"messages": [HumanMessage("Hello")]}) + + # In async mode, we can automatically delegate to sync middleware for nodes + # (although we cannot delegate to sync middleware for model call or tool call) + + assert call_order == [ + "sync_before", + "async_before", + "async_on_call", + "sync_after", + "async_after", + ] + + +def test_async_before_model_preserves_can_jump_to() -> None: + """Test that can_jump_to metadata is preserved for async before_model functions.""" + + @before_model(can_jump_to=["end"]) + async def async_conditional_before( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + if len(state["messages"]) > 3: + return {"jump_to": "end"} + return None + + # Verify middleware was created and has can_jump_to metadata + assert isinstance(async_conditional_before, AgentMiddleware) + assert getattr(async_conditional_before.__class__.abefore_model, "__can_jump_to__", []) == [ + "end" + ] + + +def test_async_after_model_preserves_can_jump_to() -> None: + """Test that can_jump_to metadata is preserved for async after_model functions.""" + + @after_model(can_jump_to=["model", "end"]) + async def async_conditional_after( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + if state["messages"][-1].content == "retry": + return {"jump_to": "model"} + return None + + # Verify middleware was created and has can_jump_to metadata + assert isinstance(async_conditional_after, AgentMiddleware) + assert getattr(async_conditional_after.__class__.aafter_model, "__can_jump_to__", []) == [ + "model", + "end", + ] + + +async def test_async_can_jump_to_integration() -> None: + """Test can_jump_to parameter in a full agent with async middleware.""" + calls = [] + + @before_model(can_jump_to=["end"]) + async def async_early_exit( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + calls.append("async_early_exit") + if state["messages"][0].content == "exit": + return {"jump_to": "end"} + return None + + agent = create_agent(model=FakeToolCallingModel(), middleware=[async_early_exit]) + # Agent is already compiled + + # Test with early exit + result = await agent.ainvoke({"messages": [HumanMessage("exit")]}) + assert calls == ["async_early_exit"] + assert len(result["messages"]) == 1 + + # Test without early exit + calls.clear() + result = await agent.ainvoke({"messages": [HumanMessage("hello")]}) + assert calls == ["async_early_exit"] + assert len(result["messages"]) > 1 + + +def test_get_can_jump_to_no_false_positives() -> None: + """Test that _get_can_jump_to doesn't return false positives for base class methods.""" + + # Middleware with no overridden methods should return empty list + class EmptyMiddleware(AgentMiddleware): + pass + + empty_middleware = EmptyMiddleware() + empty_middleware.tools = [] + + # Should not return any jump destinations for base class methods + assert _get_can_jump_to(empty_middleware, "before_model") == [] + assert _get_can_jump_to(empty_middleware, "after_model") == [] + + +def test_get_can_jump_to_only_overridden_methods() -> None: + """Test that _get_can_jump_to only checks overridden methods.""" + + # Middleware with only sync method overridden + class SyncOnlyMiddleware(AgentMiddleware): + @hook_config(can_jump_to=["end"]) + @override + def before_model( + self, state: AgentState[Any], runtime: Runtime[None] + ) -> dict[str, Any] | None: + return None + + sync_middleware = SyncOnlyMiddleware() + sync_middleware.tools = [] + + # Should return can_jump_to from overridden sync method + assert _get_can_jump_to(sync_middleware, "before_model") == ["end"] + + # Middleware with only async method overridden + class AsyncOnlyMiddleware(AgentMiddleware): + @hook_config(can_jump_to=["model"]) + @override + async def aafter_model( + self, state: AgentState[Any], runtime: Runtime[None] + ) -> dict[str, Any] | None: + return None + + async_middleware = AsyncOnlyMiddleware() + async_middleware.tools = [] + + # Should return can_jump_to from overridden async method + assert _get_can_jump_to(async_middleware, "after_model") == ["model"] + + +def test_async_middleware_with_can_jump_to_graph_snapshot(snapshot: SnapshotAssertion) -> None: + """Test async middleware with can_jump_to graph snapshot. + + Test that async middleware with `can_jump_to` creates correct graph structure with + conditional edges. + """ + + # Test 1: Async before_model with can_jump_to + @before_model(can_jump_to=["end"]) + async def async_before_with_jump( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + if len(state["messages"]) > 5: + return {"jump_to": "end"} + return None + + agent_async_before = create_agent( + model=FakeToolCallingModel(), middleware=[async_before_with_jump] + ) + + assert agent_async_before.get_graph().draw_mermaid() == snapshot + + # Test 2: Async after_model with can_jump_to + @after_model(can_jump_to=["model", "end"]) + async def async_after_with_jump( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + if state["messages"][-1].content == "retry": + return {"jump_to": "model"} + return None + + agent_async_after = create_agent( + model=FakeToolCallingModel(), middleware=[async_after_with_jump] + ) + + assert agent_async_after.get_graph().draw_mermaid() == snapshot + + # Test 3: Multiple async middleware with can_jump_to + @before_model(can_jump_to=["end"]) + async def async_before_early_exit(*_args: Any, **_kwargs: Any) -> dict[str, Any] | None: + return None + + @after_model(can_jump_to=["model"]) + async def async_after_retry(*_args: Any, **_kwargs: Any) -> dict[str, Any] | None: + return None + + agent_multiple_async = create_agent( + model=FakeToolCallingModel(), + middleware=[async_before_early_exit, async_after_retry], + ) + + assert agent_multiple_async.get_graph().draw_mermaid() == snapshot + + # Test 4: Mixed sync and async middleware with can_jump_to + @before_model(can_jump_to=["end"]) + def sync_before_with_jump(*_args: Any, **_kwargs: Any) -> dict[str, Any] | None: + return None + + @after_model(can_jump_to=["model", "end"]) + async def async_after_with_jumps(*_args: Any, **_kwargs: Any) -> dict[str, Any] | None: + return None + + agent_mixed = create_agent( + model=FakeToolCallingModel(), + middleware=[sync_before_with_jump, async_after_with_jumps], + ) + + assert agent_mixed.get_graph().draw_mermaid() == snapshot + + +def test_dynamic_prompt_decorator() -> None: + """Test dynamic_prompt decorator with basic usage.""" + + @dynamic_prompt + def my_prompt(_: ModelRequest) -> str: + return "Dynamic test prompt" + + assert isinstance(my_prompt, AgentMiddleware) + assert my_prompt.state_schema == AgentState + assert my_prompt.tools == [] + assert my_prompt.__class__.__name__ == "my_prompt" + + # Verify it modifies the request correctly + original_request = ModelRequest( + model=FakeToolCallingModel(), + system_prompt="Original", + messages=[HumanMessage("Hello")], + tool_choice=None, + tools=[], + response_format=None, + state={"messages": [HumanMessage("Hello")]}, + runtime=None, + ) + + def mock_handler(req: ModelRequest) -> ModelResponse: + return ModelResponse(result=[AIMessage(content=req.system_prompt)]) + + result = my_prompt.wrap_model_call(original_request, mock_handler) + assert isinstance(result, ModelResponse) + assert result.result[0].content == "Dynamic test prompt" + + +def test_dynamic_prompt_uses_state() -> None: + """Test that dynamic_prompt can use state information.""" + + @dynamic_prompt + def custom_prompt(request: ModelRequest) -> str: + msg_count = len(request.state["messages"]) + return f"Prompt with {msg_count} messages" + + # Verify it uses state correctly + original_request = ModelRequest( + model=FakeToolCallingModel(), + system_prompt="Original", + messages=[HumanMessage("Hello")], + tool_choice=None, + tools=[], + response_format=None, + state={"messages": [HumanMessage("Hello"), HumanMessage("World")]}, + runtime=None, + ) + + def mock_handler(req: ModelRequest) -> ModelResponse: + return ModelResponse(result=[AIMessage(content=req.system_prompt)]) + + result = custom_prompt.wrap_model_call(original_request, mock_handler) + assert isinstance(result, ModelResponse) + assert result.result[0].content == "Prompt with 2 messages" + + +def test_dynamic_prompt_integration() -> None: + """Test dynamic_prompt decorator in a full agent.""" + prompt_calls = 0 + + @dynamic_prompt + def context_aware_prompt(_: ModelRequest) -> str: + nonlocal prompt_calls + prompt_calls += 1 + return "you are a helpful assistant." + + agent = create_agent(model=FakeToolCallingModel(), middleware=[context_aware_prompt]) + # Agent is already compiled + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + + assert prompt_calls == 1 + assert result["messages"][-1].content == "you are a helpful assistant.-Hello" + + +def test_async_dynamic_prompt_decorator() -> None: + """Test dynamic_prompt decorator with async function.""" + + @dynamic_prompt + async def async_prompt(_: ModelRequest) -> str: + return "Async dynamic prompt" + + assert isinstance(async_prompt, AgentMiddleware) + assert async_prompt.state_schema == AgentState + assert async_prompt.tools == [] + assert async_prompt.__class__.__name__ == "async_prompt" + + +async def test_async_dynamic_prompt_integration() -> None: + """Test async dynamic_prompt decorator in a full agent.""" + prompt_calls = 0 + + @dynamic_prompt + async def async_context_prompt(_: ModelRequest) -> str: + nonlocal prompt_calls + prompt_calls += 1 + return "Async assistant." + + agent = create_agent(model=FakeToolCallingModel(), middleware=[async_context_prompt]) + # Agent is already compiled + + result = await agent.ainvoke({"messages": [HumanMessage("Hello")]}) + assert prompt_calls == 1 + assert result["messages"][-1].content == "Async assistant.-Hello" + + +def test_dynamic_prompt_overwrites_system_prompt() -> None: + """Test that dynamic_prompt overwrites the original system_prompt.""" + + @dynamic_prompt + def override_prompt(_: ModelRequest) -> str: + return "Overridden prompt." + + agent = create_agent( + model=FakeToolCallingModel(), + system_prompt="Original static prompt", + middleware=[override_prompt], + ) + # Agent is already compiled + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result["messages"][-1].content == "Overridden prompt.-Hello" + + +def test_dynamic_prompt_multiple_in_sequence() -> None: + """Test multiple dynamic_prompt decorators in sequence (last wins).""" + + @dynamic_prompt + def first_prompt(_: ModelRequest) -> str: + return "First prompt." + + @dynamic_prompt + def second_prompt(_: ModelRequest) -> str: + return "Second prompt." + + # When used together, the last middleware in the list should win + # since they're both wrap_model_call hooks composed in sequence + agent = create_agent(model=FakeToolCallingModel(), middleware=[first_prompt, second_prompt]) + # Agent is already compiled + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result["messages"][-1].content == "Second prompt.-Hello" + + +def test_async_dynamic_prompt_skipped_on_sync_invoke() -> None: + """Test async dynamic_prompt skipped on sync invoke. + + Test that async `dynamic_prompt` raises `NotImplementedError` when invoked via sync + path (.invoke). + + When an async-only middleware is defined, it cannot be called from the sync path. + The framework will raise NotImplementedError when trying to invoke the sync method. + """ + calls = [] + + @dynamic_prompt + async def async_only_prompt(_: ModelRequest) -> str: + calls.append("async_prompt") + return "Async prompt" + + agent = create_agent(model=FakeToolCallingModel(), middleware=[async_only_prompt]) + + # Async-only middleware raises NotImplementedError in sync path + with pytest.raises(NotImplementedError): + agent.invoke({"messages": [HumanMessage("Hello")]}) + + # The async prompt was not called + assert calls == [] + + +async def test_sync_dynamic_prompt_on_async_invoke() -> None: + """Test that sync dynamic_prompt works when invoked via async path (.ainvoke). + + When a sync middleware is defined with @dynamic_prompt, it automatically creates + both sync and async implementations. The async implementation delegates to the + sync function, allowing the middleware to work in both sync and async contexts. + """ + calls = [] + + @dynamic_prompt + def sync_prompt(_: ModelRequest) -> str: + calls.append("sync_prompt") + return "Sync prompt" + + agent = create_agent(model=FakeToolCallingModel(), middleware=[sync_prompt]) + + # Sync dynamic_prompt now works in async path via delegation + result = await agent.ainvoke({"messages": [HumanMessage("Hello")]}) + + # The sync prompt function was called via async delegation + assert calls == ["sync_prompt"] + # The model executed with the custom prompt + assert result["messages"][-1].content == "Sync prompt-Hello" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_diagram.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_diagram.py new file mode 100644 index 0000000000000000000000000000000000000000..765805f654200fded3dfa0d9083480e8d89b81ae --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_diagram.py @@ -0,0 +1,194 @@ +from collections.abc import Callable +from typing import Any + +from langgraph.runtime import Runtime +from syrupy.assertion import SnapshotAssertion + +from langchain.agents import AgentState +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import AgentMiddleware, ModelRequest, ModelResponse +from tests.unit_tests.agents.model import FakeToolCallingModel + + +def test_create_agent_diagram( + snapshot: SnapshotAssertion, +) -> None: + class NoopOne(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopTwo(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopThree(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopFour(AgentMiddleware): + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopFive(AgentMiddleware): + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopSix(AgentMiddleware): + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopSeven(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopEight(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopNine(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopTen(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + return handler(request) + + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + class NoopEleven(AgentMiddleware): + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + return handler(request) + + def after_model(self, state: AgentState[Any], runtime: Runtime[None]) -> None: + pass + + agent_zero = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + ) + + assert agent_zero.get_graph().draw_mermaid() == snapshot + + agent_one = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopOne()], + ) + + assert agent_one.get_graph().draw_mermaid() == snapshot + + agent_two = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopOne(), NoopTwo()], + ) + + assert agent_two.get_graph().draw_mermaid() == snapshot + + agent_three = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopOne(), NoopTwo(), NoopThree()], + ) + + assert agent_three.get_graph().draw_mermaid() == snapshot + + agent_four = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopFour()], + ) + + assert agent_four.get_graph().draw_mermaid() == snapshot + + agent_five = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopFour(), NoopFive()], + ) + + assert agent_five.get_graph().draw_mermaid() == snapshot + + agent_six = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopFour(), NoopFive(), NoopSix()], + ) + + assert agent_six.get_graph().draw_mermaid() == snapshot + + agent_seven = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopSeven()], + ) + + assert agent_seven.get_graph().draw_mermaid() == snapshot + + agent_eight = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopSeven(), NoopEight()], + ) + + assert agent_eight.get_graph().draw_mermaid() == snapshot + + agent_nine = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopSeven(), NoopEight(), NoopNine()], + ) + + assert agent_nine.get_graph().draw_mermaid() == snapshot + + agent_ten = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopTen()], + ) + + assert agent_ten.get_graph().draw_mermaid() == snapshot + + agent_eleven = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[NoopTen(), NoopEleven()], + ) + + assert agent_eleven.get_graph().draw_mermaid() == snapshot diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_dynamic_tools.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_dynamic_tools.py new file mode 100644 index 0000000000000000000000000000000000000000..1190099e3679a688d472103098e73f9bdcdc02a6 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_dynamic_tools.py @@ -0,0 +1,421 @@ +"""Tests for dynamic tool registration via middleware. + +These tests verify that middleware can dynamically register and handle tools +that are not declared upfront when creating the agent. +""" + +import asyncio +from collections.abc import Awaitable, Callable +from typing import TYPE_CHECKING, Any + +import pytest +from langchain_core.messages import HumanMessage, ToolCall, ToolMessage +from langchain_core.tools import tool +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.graph.state import CompiledStateGraph +from langgraph.types import Command + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + InputAgentState, + ModelCallResult, + ModelRequest, + ModelResponse, + OutputAgentState, + ToolCallRequest, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langchain_core.runnables import RunnableConfig + + +@tool +def static_tool(value: str) -> str: + """A static tool that is always available.""" + return f"Static result: {value}" + + +@tool +def dynamic_tool(value: str) -> str: + """A dynamically registered tool.""" + return f"Dynamic result: {value}" + + +@tool +def another_dynamic_tool(x: int, y: int) -> str: + """Another dynamically registered tool for calculations.""" + return f"Sum: {x + y}" + + +# ----------------------------------------------------------------------------- +# Middleware classes +# ----------------------------------------------------------------------------- + + +class DynamicToolMiddleware(AgentMiddleware): + """Middleware that dynamically adds and handles a tool (sync and async).""" + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + updated = request.override(tools=[*request.tools, dynamic_tool]) + return handler(updated) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + updated = request.override(tools=[*request.tools, dynamic_tool]) + return await handler(updated) + + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + if request.tool_call["name"] == "dynamic_tool": + return handler(request.override(tool=dynamic_tool)) + return handler(request) + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + if request.tool_call["name"] == "dynamic_tool": + return await handler(request.override(tool=dynamic_tool)) + return await handler(request) + + +class MultipleDynamicToolsMiddleware(AgentMiddleware): + """Middleware that dynamically adds multiple tools (sync and async).""" + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + updated = request.override(tools=[*request.tools, dynamic_tool, another_dynamic_tool]) + return handler(updated) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + updated = request.override(tools=[*request.tools, dynamic_tool, another_dynamic_tool]) + return await handler(updated) + + def _handle_tool(self, request: ToolCallRequest) -> ToolCallRequest | None: + """Return updated request if this is a dynamic tool, else None.""" + tool_name = request.tool_call["name"] + if tool_name == "dynamic_tool": + return request.override(tool=dynamic_tool) + if tool_name == "another_dynamic_tool": + return request.override(tool=another_dynamic_tool) + return None + + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + updated = self._handle_tool(request) + return handler(updated or request) + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + updated = self._handle_tool(request) + return await handler(updated or request) + + +class DynamicToolMiddlewareWithoutHandler(AgentMiddleware): + """Middleware that adds a dynamic tool but doesn't handle it.""" + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + updated = request.override(tools=[*request.tools, dynamic_tool]) + return handler(updated) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + updated = request.override(tools=[*request.tools, dynamic_tool]) + return await handler(updated) + + +class ConditionalDynamicToolMiddleware(AgentMiddleware): + """Middleware that conditionally adds a tool based on state (sync and async).""" + + def _should_add_tool(self, request: ModelRequest) -> bool: + messages = request.state.get("messages", []) + return bool(messages) and "calculator" in str(messages[-1].content).lower() + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + if self._should_add_tool(request): + request = request.override(tools=[*request.tools, another_dynamic_tool]) + return handler(request) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + if self._should_add_tool(request): + request = request.override(tools=[*request.tools, another_dynamic_tool]) + return await handler(request) + + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + if request.tool_call["name"] == "another_dynamic_tool": + return handler(request.override(tool=another_dynamic_tool)) + return handler(request) + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + if request.tool_call["name"] == "another_dynamic_tool": + return await handler(request.override(tool=another_dynamic_tool)) + return await handler(request) + + +# ----------------------------------------------------------------------------- +# Helper functions +# ----------------------------------------------------------------------------- + + +def get_tool_messages(result: dict[str, Any]) -> list[ToolMessage]: + """Extract ToolMessage objects from agent result.""" + return [m for m in result["messages"] if isinstance(m, ToolMessage)] + + +async def invoke_agent( + agent: CompiledStateGraph[AgentState[Any], None, InputAgentState, OutputAgentState[Any]], + message: str, + *, + use_async: bool, +) -> dict[str, Any]: + """Invoke agent synchronously or asynchronously based on flag.""" + input_data: InputAgentState = {"messages": [HumanMessage(message)]} + config: RunnableConfig = {"configurable": {"thread_id": "test"}} + if use_async: + return await agent.ainvoke(input_data, config) + # Run sync invoke in thread pool to avoid blocking the event loop + return await asyncio.to_thread(agent.invoke, input_data, config) + + +# ----------------------------------------------------------------------------- +# Tests +# ----------------------------------------------------------------------------- + + +@pytest.mark.parametrize("use_async", [False, True]) +@pytest.mark.parametrize( + "tools", + [ + pytest.param([static_tool], id="with_static_tools"), + pytest.param([], id="without_static_tools"), + pytest.param(None, id="with_none_tools"), + ], +) +async def test_dynamic_tool_basic(*, use_async: bool, tools: list[Any] | None) -> None: + """Test dynamic tool registration with various static tool configurations.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="dynamic_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=tools, + middleware=[DynamicToolMiddleware()], + checkpointer=InMemorySaver(), + ) + + result = await invoke_agent(agent, "Use the dynamic tool", use_async=use_async) + + tool_messages = get_tool_messages(result) + assert len(tool_messages) == 1 + assert tool_messages[0].name == "dynamic_tool" + assert "Dynamic result: test" in tool_messages[0].content + + +@pytest.mark.parametrize("use_async", [False, True]) +async def test_multiple_dynamic_tools_with_static(*, use_async: bool) -> None: + """Test multiple dynamic tools and mixing with static tool calls.""" + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="static_tool", args={"value": "static-call"}, id="1"), + ToolCall(name="dynamic_tool", args={"value": "first"}, id="2"), + ToolCall(name="another_dynamic_tool", args={"x": 5, "y": 3}, id="3"), + ], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[static_tool], + middleware=[MultipleDynamicToolsMiddleware()], + checkpointer=InMemorySaver(), + ) + + result = await invoke_agent(agent, "Use all tools", use_async=use_async) + + tool_messages = get_tool_messages(result) + assert len(tool_messages) == 3 + + tool_results = {m.name: m.content for m in tool_messages} + assert "Static result: static-call" in tool_results["static_tool"] + assert "Dynamic result: first" in tool_results["dynamic_tool"] + assert "Sum: 8" in tool_results["another_dynamic_tool"] + + +@pytest.mark.parametrize("use_async", [False, True]) +@pytest.mark.parametrize( + "tools", + [ + pytest.param([static_tool], id="with_static_tools"), + pytest.param([], id="without_static_tools"), + ], +) +async def test_dynamic_tool_without_handler_raises_error( + *, use_async: bool, tools: list[Any] +) -> None: + """Test that a helpful error is raised when dynamic tool is not handled.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="dynamic_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=tools, + middleware=[DynamicToolMiddlewareWithoutHandler()], + checkpointer=InMemorySaver(), + ) + + with pytest.raises( + ValueError, + match=r"(?s)Middleware added tools.*Unknown tools:.*dynamic_tool", + ): + await invoke_agent(agent, "Use the dynamic tool", use_async=use_async) + + +@pytest.mark.parametrize("use_async", [False, True]) +async def test_conditional_dynamic_tool(*, use_async: bool) -> None: + """Test that dynamic tools can be conditionally added based on state.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="another_dynamic_tool", args={"x": 10, "y": 20}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[static_tool], + middleware=[ConditionalDynamicToolMiddleware()], + checkpointer=InMemorySaver(), + ) + + result = await invoke_agent(agent, "I need a calculator to add numbers", use_async=use_async) + + tool_messages = get_tool_messages(result) + assert len(tool_messages) == 1 + assert tool_messages[0].name == "another_dynamic_tool" + assert "Sum: 30" in tool_messages[0].content + + +@pytest.mark.parametrize("use_async", [False, True]) +async def test_dynamic_tool_chained_middleware(*, use_async: bool) -> None: + """Test dynamic tools work with multiple middleware in chain.""" + call_log: list[str] = [] + + class LoggingMiddleware(AgentMiddleware): + def __init__(self, label: str) -> None: + self._label = label + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + call_log.append(f"{self._label}_model") + return handler(request) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + call_log.append(f"{self._label}_model") + return await handler(request) + + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + call_log.append(f"{self._label}_tool") + return handler(request) + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + call_log.append(f"{self._label}_tool") + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="dynamic_tool", args={"value": "chained"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[static_tool], + middleware=[LoggingMiddleware("first"), DynamicToolMiddleware()], + checkpointer=InMemorySaver(), + ) + + result = await invoke_agent(agent, "Use the dynamic tool", use_async=use_async) + + tool_messages = get_tool_messages(result) + assert len(tool_messages) == 1 + assert tool_messages[0].name == "dynamic_tool" + + # Verify middleware chain was called + assert "first_model" in call_log + assert "first_tool" in call_log diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py new file mode 100644 index 0000000000000000000000000000000000000000..9e170caf48288db273fe868e21ec3bf3835bf373 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_framework.py @@ -0,0 +1,1086 @@ +import sys +from collections.abc import Awaitable, Callable +from typing import TYPE_CHECKING, Annotated, Any + +import pytest +from langchain_core.language_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, HumanMessage, ToolCall, ToolMessage +from langchain_core.tools import InjectedToolCallId, tool +from langgraph.checkpoint.base import BaseCheckpointSaver +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.runtime import Runtime +from pydantic import BaseModel, Field +from syrupy.assertion import SnapshotAssertion +from typing_extensions import override + +from langchain.agents.factory import create_agent +from langchain.agents.middleware import InputAgentState +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + ModelCallResult, + ModelRequest, + ModelResponse, + OmitFromInput, + OmitFromOutput, + PrivateStateAttr, + after_agent, + after_model, + before_agent, + before_model, + hook_config, +) +from langchain.agents.structured_output import ToolStrategy +from langchain.tools import InjectedState +from tests.unit_tests.agents.messages import _AnyIdHumanMessage, _AnyIdToolMessage +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langchain_core.runnables import RunnableConfig + + +def test_create_agent_invoke( + sync_checkpointer: BaseCheckpointSaver[str], +) -> None: + calls = [] + + class NoopSeven(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopSeven.before_model") + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("NoopSeven.wrap_model_call") + return handler(request) + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopSeven.after_model") + + class NoopEight(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopEight.before_model") + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("NoopEight.wrap_model_call") + return handler(request) + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopEight.after_model") + + @tool + def my_tool(value: str) -> str: + """A great tool.""" + calls.append("my_tool") + return value.upper() + + agent_one = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [ + {"args": {"value": "yo"}, "id": "1", "name": "my_tool"}, + ], + [], + ] + ), + tools=[my_tool], + system_prompt="You are a helpful assistant.", + middleware=[NoopSeven(), NoopEight()], + checkpointer=sync_checkpointer, + ) + + thread1: RunnableConfig = {"configurable": {"thread_id": "1"}} + assert agent_one.invoke({"messages": [HumanMessage("hello")]}, thread1) == { + "messages": [ + _AnyIdHumanMessage(content="hello"), + AIMessage( + content="You are a helpful assistant.-hello", + additional_kwargs={}, + response_metadata={}, + id="0", + tool_calls=[ + { + "name": "my_tool", + "args": {"value": "yo"}, + "id": "1", + "type": "tool_call", + } + ], + ), + _AnyIdToolMessage(content="YO", name="my_tool", tool_call_id="1"), + AIMessage( + content="You are a helpful assistant.-hello-You are a helpful assistant.-hello-YO", + additional_kwargs={}, + response_metadata={}, + id="1", + ), + ], + } + assert calls == [ + "NoopSeven.before_model", + "NoopEight.before_model", + "NoopSeven.wrap_model_call", + "NoopEight.wrap_model_call", + "NoopEight.after_model", + "NoopSeven.after_model", + "my_tool", + "NoopSeven.before_model", + "NoopEight.before_model", + "NoopSeven.wrap_model_call", + "NoopEight.wrap_model_call", + "NoopEight.after_model", + "NoopSeven.after_model", + ] + + +def test_create_agent_jump( + snapshot: SnapshotAssertion, + sync_checkpointer: BaseCheckpointSaver[str], +) -> None: + calls = [] + + class NoopSeven(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopSeven.before_model") + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("NoopSeven.wrap_model_call") + return handler(request) + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopSeven.after_model") + + class NoopEight(AgentMiddleware): + @hook_config(can_jump_to=["end"]) + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + calls.append("NoopEight.before_model") + return {"jump_to": "end"} + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("NoopEight.wrap_model_call") + return handler(request) + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("NoopEight.after_model") + + @tool + def my_tool(value: str) -> str: + """A great tool.""" + calls.append("my_tool") + return value.upper() + + agent_one = create_agent( + model=FakeToolCallingModel( + tool_calls=[[ToolCall(id="1", name="my_tool", args={"value": "yo"})]], + ), + tools=[my_tool], + system_prompt="You are a helpful assistant.", + middleware=[NoopSeven(), NoopEight()], + checkpointer=sync_checkpointer, + ) + + if isinstance(sync_checkpointer, InMemorySaver): + assert agent_one.get_graph().draw_mermaid() == snapshot + + thread1: RunnableConfig = {"configurable": {"thread_id": "1"}} + assert agent_one.invoke(InputAgentState(messages=[]), thread1) == {"messages": []} + assert calls == ["NoopSeven.before_model", "NoopEight.before_model"] + + +def test_simple_agent_graph(snapshot: SnapshotAssertion) -> None: + @tool + def my_tool(input_string: str) -> str: + """A great tool.""" + return input_string + + agent_one = create_agent( + model=FakeToolCallingModel( + tool_calls=[[ToolCall(id="1", name="my_tool", args={"input": "yo"})]], + ), + tools=[my_tool], + system_prompt="You are a helpful assistant.", + ) + + assert agent_one.get_graph().draw_mermaid() == snapshot + + +def test_agent_graph_with_jump_to_end_as_after_agent(snapshot: SnapshotAssertion) -> None: + @tool + def my_tool(input_string: str) -> str: + """A great tool.""" + return input_string + + class NoopZero(AgentMiddleware): + @hook_config(can_jump_to=["end"]) + @override + def before_agent(self, state: AgentState[Any], runtime: Runtime) -> None: + return None + + class NoopOne(AgentMiddleware): + @override + def after_agent(self, state: AgentState[Any], runtime: Runtime) -> None: + return None + + class NoopTwo(AgentMiddleware): + @override + def after_agent(self, state: AgentState[Any], runtime: Runtime) -> None: + return None + + agent_one = create_agent( + model=FakeToolCallingModel( + tool_calls=[[ToolCall(id="1", name="my_tool", args={"input": "yo"})]], + ), + tools=[my_tool], + system_prompt="You are a helpful assistant.", + middleware=[NoopZero(), NoopOne(), NoopTwo()], + ) + + assert agent_one.get_graph().draw_mermaid() == snapshot + + +def test_on_model_call() -> None: + class ModifyMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + request.messages.append(HumanMessage("remember to be nice!")) + return handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[ModifyMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result["messages"][0].content == "Hello" + assert result["messages"][1].content == "remember to be nice!" + assert ( + result["messages"][2].content == "You are a helpful assistant.-Hello-remember to be nice!" + ) + + +def test_tools_to_model_edge_with_structured_and_regular_tool_calls() -> None: + """Test tools to model edge with structured and regular tool calls. + + Test that when there are both structured and regular tool calls, we execute regular + and jump to END. + """ + + class WeatherResponse(BaseModel): + """Weather response.""" + + temperature: float = Field(description="Temperature in fahrenheit") + condition: str = Field(description="Weather condition") + + @tool + def regular_tool(query: str) -> str: + """A regular tool that returns a string.""" + return f"Regular tool result for: {query}" + + # Create a fake model that returns both structured and regular tool calls + class FakeModelWithBothToolCalls(FakeToolCallingModel): + def __init__(self) -> None: + super().__init__() + self.tool_calls = [ + [ + ToolCall( + name="WeatherResponse", + args={"temperature": 72.0, "condition": "sunny"}, + id="structured_call_1", + ), + ToolCall( + name="regular_tool", args={"query": "test query"}, id="regular_call_1" + ), + ] + ] + + # Create agent with both structured output and regular tools + agent = create_agent( + model=FakeModelWithBothToolCalls(), + tools=[regular_tool], + response_format=ToolStrategy(schema=WeatherResponse), + ) + + # Invoke the agent (already compiled) + result = agent.invoke( + {"messages": [HumanMessage("What's the weather and help me with a query?")]} + ) + + # Verify that we have the expected messages: + # 1. Human message + # 2. AI message with both tool calls + # 3. Tool message from structured tool call + # 4. Tool message from regular tool call + + messages = result["messages"] + assert len(messages) >= 4 + + # Check that we have the AI message with both tool calls + ai_message = messages[1] + assert isinstance(ai_message, AIMessage) + assert len(ai_message.tool_calls) == 2 + + # Check that we have a tool message from the regular tool + tool_messages = [m for m in messages if isinstance(m, ToolMessage)] + assert len(tool_messages) >= 1 + + # The regular tool should have been executed + regular_tool_message = next((m for m in tool_messages if m.name == "regular_tool"), None) + assert regular_tool_message is not None + assert "Regular tool result for: test query" in regular_tool_message.content + + # Verify that the structured response is available in the result + assert "structured_response" in result + assert result["structured_response"] is not None + assert hasattr(result["structured_response"], "temperature") + assert result["structured_response"].temperature == 72.0 + assert result["structured_response"].condition == "sunny" + + +def test_public_private_state_for_custom_middleware() -> None: + """Test public and private state for custom middleware.""" + + class CustomState(AgentState[Any]): + omit_input: Annotated[str, OmitFromInput] + omit_output: Annotated[str, OmitFromOutput] + private_state: Annotated[str, PrivateStateAttr] + + class CustomInputState(InputAgentState): + omit_input: str + omit_output: str + private_state: str + + class CustomMiddleware(AgentMiddleware[CustomState]): + state_schema: type[CustomState] = CustomState + + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + assert "omit_input" not in state + assert "omit_output" in state + assert "private_state" not in state + return {"omit_input": "test", "omit_output": "test", "private_state": "test"} + + agent = create_agent(model=FakeToolCallingModel(), middleware=[CustomMiddleware()]) + result = agent.invoke( + CustomInputState( + messages=[HumanMessage("Hello")], + omit_input="test in", + private_state="test in", + omit_output="test in", + ) + ) + assert "omit_input" in result + assert "omit_output" not in result + assert "private_state" not in result + + +def test_runtime_injected_into_middleware() -> None: + """Test that the runtime is injected into the middleware.""" + + class CustomMiddleware(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> None: + assert runtime is not None + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + assert request.runtime is not None + return handler(request) + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> None: + assert runtime is not None + + agent = create_agent(model=FakeToolCallingModel(), middleware=[CustomMiddleware()]) + agent.invoke({"messages": [HumanMessage("Hello")]}) + + +# test setup defined at this scope bc of pydantic issues inferring the namespace of +# custom state w/in a function + + +class CustomState(AgentState[Any]): + custom_state: str + + +class _CustomInputState(InputAgentState): + custom_state: str + + +@tool(description="Test the state") +def test_state_tool( + state: Annotated[CustomState, InjectedState], tool_call_id: Annotated[str, InjectedToolCallId] +) -> str: + """Test tool that accesses injected state.""" + _ = tool_call_id + assert "custom_state" in state + return "success" + + +class CustomMiddleware(AgentMiddleware): + state_schema = CustomState + + +agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {}, "id": "test_call_1", "name": "test_state_tool"}], + [], + ] + ), + tools=[test_state_tool], + system_prompt="You are a helpful assistant.", + middleware=[CustomMiddleware()], +) + + +@pytest.mark.skipif( + sys.version_info >= (3, 14), reason="pydantic 2.12 namespace management not working w/ 3.14" +) +def test_injected_state_in_middleware_agent() -> None: + """Test that custom state is properly injected into tools when using middleware.""" + result = agent.invoke( + _CustomInputState( + messages=[HumanMessage("Call the test state tool")], + custom_state="I love pizza", + ) + ) + + messages = result["messages"] + assert len(messages) == 4 # Human message, AI message with tool call, tool message, AI message + + # Find the tool message + tool_messages = [msg for msg in messages if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 1 + + tool_message = tool_messages[0] + assert tool_message.name == "test_state_tool" + assert "success" in tool_message.content + assert tool_message.tool_call_id == "test_call_1" + + +def test_jump_to_is_ephemeral() -> None: + class MyMiddleware(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + assert "jump_to" not in state + return {"jump_to": "model"} + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + assert "jump_to" not in state + return {"jump_to": "model"} + + agent = create_agent(model=FakeToolCallingModel(), middleware=[MyMiddleware()]) + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert "jump_to" not in result + + +def test_create_agent_sync_invoke_with_only_async_middleware_raises_error() -> None: + """Test that sync invoke with only async middleware works via run_in_executor.""" + + class AsyncOnlyMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + return await handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[AsyncOnlyMiddleware()], + ) + + with pytest.raises(NotImplementedError): + agent.invoke({"messages": [HumanMessage("hello")]}) + + +def test_create_agent_sync_invoke_with_mixed_middleware() -> None: + """Test that sync invoke works with mixed sync/async middleware when sync versions exist.""" + calls = [] + + class MixedMiddleware(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("MixedMiddleware.before_model") + + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("MixedMiddleware.abefore_model") + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("MixedMiddleware.wrap_model_call") + return handler(request) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("MixedMiddleware.awrap_model_call") + return await handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[MixedMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("hello")]}) + + # In sync mode, only sync methods should be called + assert calls == [ + "MixedMiddleware.before_model", + "MixedMiddleware.wrap_model_call", + ] + + +# ============================================================================= +# Async Middleware Tests +# ============================================================================= + + +async def test_create_agent_async_invoke() -> None: + """Test async invoke with async middleware hooks.""" + calls = [] + + class AsyncMiddleware(AgentMiddleware): + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddleware.abefore_model") + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("AsyncMiddleware.awrap_model_call") + request.messages.append(HumanMessage("async middleware message")) + return await handler(request) + + @override + async def aafter_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddleware.aafter_model") + + @tool + def my_tool_async(value: str) -> str: + """A great tool.""" + calls.append("my_tool_async") + return value.upper() + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"value": "yo"}, "id": "1", "name": "my_tool_async"}], + [], + ] + ), + tools=[my_tool_async], + system_prompt="You are a helpful assistant.", + middleware=[AsyncMiddleware()], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("hello")]}) + + # Should have: + # 1. Original hello message + # 2. Async middleware message (first invoke) + # 3. AI message with tool call + # 4. Tool message + # 5. Async middleware message (second invoke) + # 6. Final AI message + assert len(result["messages"]) == 6 + assert result["messages"][0].content == "hello" + assert result["messages"][1].content == "async middleware message" + assert calls == [ + "AsyncMiddleware.abefore_model", + "AsyncMiddleware.awrap_model_call", + "AsyncMiddleware.aafter_model", + "my_tool_async", + "AsyncMiddleware.abefore_model", + "AsyncMiddleware.awrap_model_call", + "AsyncMiddleware.aafter_model", + ] + + +async def test_create_agent_async_invoke_multiple_middleware() -> None: + """Test async invoke with multiple async middleware hooks.""" + calls = [] + + class AsyncMiddlewareOne(AgentMiddleware): + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddlewareOne.abefore_model") + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("AsyncMiddlewareOne.awrap_model_call") + return await handler(request) + + @override + async def aafter_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddlewareOne.aafter_model") + + class AsyncMiddlewareTwo(AgentMiddleware): + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddlewareTwo.abefore_model") + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("AsyncMiddlewareTwo.awrap_model_call") + return await handler(request) + + @override + async def aafter_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddlewareTwo.aafter_model") + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[AsyncMiddlewareOne(), AsyncMiddlewareTwo()], + ) + + await agent.ainvoke({"messages": [HumanMessage("hello")]}) + + assert calls == [ + "AsyncMiddlewareOne.abefore_model", + "AsyncMiddlewareTwo.abefore_model", + "AsyncMiddlewareOne.awrap_model_call", + "AsyncMiddlewareTwo.awrap_model_call", + "AsyncMiddlewareTwo.aafter_model", + "AsyncMiddlewareOne.aafter_model", + ] + + +async def test_create_agent_async_jump() -> None: + """Test async invoke with async middleware using jump_to.""" + calls = [] + + class AsyncMiddlewareOne(AgentMiddleware): + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddlewareOne.abefore_model") + + class AsyncMiddlewareTwo(AgentMiddleware): + @hook_config(can_jump_to=["end"]) + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + calls.append("AsyncMiddlewareTwo.abefore_model") + return {"jump_to": "end"} + + @tool + def my_tool_jump(value: str) -> str: + """A great tool.""" + calls.append("my_tool_jump") + return value.upper() + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[ToolCall(id="1", name="my_tool_jump", args={"value": "yo"})]], + ), + tools=[my_tool_jump], + system_prompt="You are a helpful assistant.", + middleware=[AsyncMiddlewareOne(), AsyncMiddlewareTwo()], + ) + + result = await agent.ainvoke({"messages": []}) + + assert result == {"messages": []} + assert calls == ["AsyncMiddlewareOne.abefore_model", "AsyncMiddlewareTwo.abefore_model"] + + +async def test_create_agent_mixed_sync_async_middleware_async_invoke() -> None: + """Test async invoke with mixed sync and async middleware.""" + calls = [] + + class MostlySyncMiddleware(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("MostlySyncMiddleware.before_model") + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("MostlySyncMiddleware.wrap_model_call") + return handler(request) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("MostlySyncMiddleware.awrap_model_call") + return await handler(request) + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("MostlySyncMiddleware.after_model") + + class AsyncMiddleware(AgentMiddleware): + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddleware.abefore_model") + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("AsyncMiddleware.awrap_model_call") + return await handler(request) + + @override + async def aafter_model(self, state: AgentState[Any], runtime: Runtime) -> None: + calls.append("AsyncMiddleware.aafter_model") + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[MostlySyncMiddleware(), AsyncMiddleware()], + ) + + await agent.ainvoke({"messages": [HumanMessage("hello")]}) + + # In async mode, both sync and async middleware should work + # Note: Sync wrap_model_call is not called when running in async mode, + # as the async version is preferred + assert calls == [ + "MostlySyncMiddleware.before_model", + "AsyncMiddleware.abefore_model", + "MostlySyncMiddleware.awrap_model_call", + "AsyncMiddleware.awrap_model_call", + "AsyncMiddleware.aafter_model", + "MostlySyncMiddleware.after_model", + ] + + +# ============================================================================= +# Before/After Agent Hook Tests +# ============================================================================= + + +class TestAgentMiddlewareHooks: + """Test before_agent and after_agent middleware hooks.""" + + @pytest.mark.parametrize("is_async", [False, True]) + @pytest.mark.parametrize("hook_type", ["before", "after"]) + async def test_hook_execution(self, *, is_async: bool, hook_type: str) -> None: + """Test that agent hooks are called in both sync and async modes.""" + execution_log: list[str] = [] + + if is_async: + if hook_type == "before": + + @before_agent + async def log_hook( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + execution_log.append(f"{hook_type}_agent_called") + execution_log.append(f"message_count: {len(state['messages'])}") + return None + + else: + + @after_agent + async def log_hook( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + execution_log.append(f"{hook_type}_agent_called") + execution_log.append(f"message_count: {len(state['messages'])}") + return None + + elif hook_type == "before": + + @before_agent + def log_hook( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + execution_log.append(f"{hook_type}_agent_called") + execution_log.append(f"message_count: {len(state['messages'])}") + return None + + else: + + @after_agent + def log_hook( + state: AgentState[Any], *_args: Any, **_kwargs: Any + ) -> dict[str, Any] | None: + execution_log.append(f"{hook_type}_agent_called") + execution_log.append(f"message_count: {len(state['messages'])}") + return None + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, tools=[], middleware=[log_hook]) + + if is_async: + await agent.ainvoke({"messages": [HumanMessage("Hi")]}) + else: + agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert f"{hook_type}_agent_called" in execution_log + assert any("message_count:" in log for log in execution_log) + + @pytest.mark.parametrize("is_async", [False, True]) + @pytest.mark.parametrize("hook_type", ["before", "after"]) + async def test_hook_with_class_inheritance(self, *, is_async: bool, hook_type: str) -> None: + """Test agent hooks using class inheritance in both sync and async modes.""" + execution_log: list[str] = [] + + class AsyncCustomMiddleware(AgentMiddleware): + @override + async def abefore_agent( + self, state: AgentState[Any], runtime: Runtime + ) -> dict[str, Any] | None: + if hook_type == "before": + execution_log.append("hook_called") + return None + + @override + async def aafter_agent( + self, state: AgentState[Any], runtime: Runtime + ) -> dict[str, Any] | None: + if hook_type == "after": + execution_log.append("hook_called") + return None + + class CustomMiddleware(AgentMiddleware): + @override + def before_agent( + self, state: AgentState[Any], runtime: Runtime + ) -> dict[str, Any] | None: + if hook_type == "before": + execution_log.append("hook_called") + return None + + @override + def after_agent( + self, state: AgentState[Any], runtime: Runtime + ) -> dict[str, Any] | None: + if hook_type == "after": + execution_log.append("hook_called") + return None + + middleware = AsyncCustomMiddleware() if is_async else CustomMiddleware() + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, tools=[], middleware=[middleware]) + + if is_async: + await agent.ainvoke({"messages": [HumanMessage("Test")]}) + else: + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert "hook_called" in execution_log + + +class TestAgentHooksCombined: + """Test before_agent and after_agent hooks working together.""" + + @pytest.mark.parametrize("is_async", [False, True]) + async def test_execution_order(self, *, is_async: bool) -> None: + """Test that before_agent executes before after_agent in both sync and async modes.""" + execution_log: list[str] = [] + + if is_async: + + @before_agent + async def log_before(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("before") + + @after_agent + async def log_after(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("after") + + else: + + @before_agent + def log_before(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("before") + + @after_agent + def log_after(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("after") + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, tools=[], middleware=[log_before, log_after]) + + if is_async: + await agent.ainvoke({"messages": [HumanMessage("Test")]}) + else: + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert execution_log == ["before", "after"] + + def test_state_passthrough(self) -> None: + """Test that state modifications in before_agent are visible to after_agent.""" + + @before_agent + def modify_in_before(*_args: Any, **_kwargs: Any) -> dict[str, Any]: + return {"messages": [HumanMessage("Added by before_agent")]} + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, tools=[], middleware=[modify_in_before]) + result = agent.invoke({"messages": [HumanMessage("Original")]}) + + message_contents = [msg.content for msg in result["messages"]] + assert message_contents[1] == "Added by before_agent" + + def test_multiple_middleware_instances(self) -> None: + """Test multiple before_agent and after_agent middleware instances.""" + execution_log = [] + + @before_agent + def before_one(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("before_1") + + @before_agent + def before_two(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("before_2") + + @after_agent + def after_one(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("after_1") + + @after_agent + def after_two(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("after_2") + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent( + model=model, tools=[], middleware=[before_one, before_two, after_one, after_two] + ) + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert execution_log == ["before_1", "before_2", "after_2", "after_1"] + + def test_agent_hooks_run_once_with_multiple_model_calls(self) -> None: + """Test that before_agent and after_agent run only once per thread. + + This test verifies that agent-level hooks (before_agent, after_agent) execute + exactly once per agent invocation, regardless of how many tool calling loops occur. + This is different from model-level hooks (before_model, after_model) which run + on every model invocation within the tool calling loop. + """ + execution_log = [] + + @tool + def sample_tool_agent(query: str) -> str: + """A sample tool for testing.""" + return f"Result for: {query}" + + @before_agent + def log_before_agent(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("before_agent") + + @before_model + def log_before_model(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("before_model") + + @after_agent + def log_after_agent(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("after_agent") + + @after_model + def log_after_model(*_args: Any, **_kwargs: Any) -> None: + execution_log.append("after_model") + + # Model will call a tool twice, then respond with final answer + # This creates 3 model invocations total, but agent hooks should still run once + model = FakeToolCallingModel( + tool_calls=[ + [{"name": "sample_tool_agent", "args": {"query": "first"}, "id": "1"}], + [{"name": "sample_tool_agent", "args": {"query": "second"}, "id": "2"}], + [], # Third call returns no tool calls (final answer) + ] + ) + + agent = create_agent( + model=model, + tools=[sample_tool_agent], + middleware=[log_before_agent, log_before_model, log_after_model, log_after_agent], + ) + + agent.invoke( + {"messages": [HumanMessage("Test")]}, config={"configurable": {"thread_id": "abc"}} + ) + + assert execution_log == [ + "before_agent", + "before_model", + "after_model", + "before_model", + "after_model", + "before_model", + "after_model", + "after_agent", + ] + + agent.invoke( + {"messages": [HumanMessage("Test")]}, config={"configurable": {"thread_id": "abc"}} + ) + + assert execution_log == [ + "before_agent", + "before_model", + "after_model", + "before_model", + "after_model", + "before_model", + "after_model", + "after_agent", + "before_agent", + "before_model", + "after_model", + "before_model", + "after_model", + "before_model", + "after_model", + "after_agent", + ] diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_overrides.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_overrides.py new file mode 100644 index 0000000000000000000000000000000000000000..0051538064e191112debb04da635d09023b2c648 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_overrides.py @@ -0,0 +1,442 @@ +"""Unit tests for override() methods on ModelRequest and ToolCallRequest.""" + +from typing import Any +from unittest.mock import Mock + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import ( + AIMessage, + AnyMessage, + HumanMessage, + SystemMessage, + ToolCall, +) +from langchain_core.tools import tool + +from langchain.agents import AgentState +from langchain.agents.middleware.types import ModelRequest, ToolCallRequest + + +class TestModelRequestOverride: + """Test the ModelRequest.override() method.""" + + def test_override_single_attribute(self) -> None: + """Test overriding a single attribute.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_request = ModelRequest( + model=model, + system_message=SystemMessage("Original prompt"), + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + new_request = original_request.override(system_message=SystemMessage("New prompt")) + + # New request should have the overridden value + assert new_request.system_prompt == "New prompt" + # Original request should be unchanged (immutability) + assert original_request.system_prompt == "Original prompt" + # Other attributes should be the same + assert new_request.model == original_request.model + assert new_request.messages == original_request.messages + + def test_override_multiple_attributes(self) -> None: + """Test overriding multiple attributes at once.""" + + class CustomState(AgentState[Any]): + count: int + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_request = ModelRequest( + model=model, + system_message=SystemMessage("Original prompt"), + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=CustomState(messages=[], count=1), + runtime=None, + ) + + new_request = original_request.override( + system_message=SystemMessage("New prompt"), + tool_choice="auto", + state=CustomState(messages=[], count=2), + ) + + # Overridden values should be changed + assert new_request.system_prompt == "New prompt" + assert new_request.tool_choice == "auto" + assert new_request.state == CustomState(messages=[], count=2) + # Original should be unchanged + assert original_request.system_prompt == "Original prompt" + assert original_request.tool_choice is None + assert original_request.state == CustomState(messages=[], count=1) + + def test_override_messages(self) -> None: + """Test overriding messages list.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_messages: list[AnyMessage] = [HumanMessage("Hi")] + new_messages: list[AnyMessage] = [HumanMessage("Hello"), AIMessage("Hi there")] + + original_request = ModelRequest( + model=model, + system_message=None, + messages=original_messages, + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + new_request = original_request.override(messages=new_messages) + + assert new_request.messages == new_messages + assert original_request.messages == original_messages + assert len(new_request.messages) == 2 + assert len(original_request.messages) == 1 + + def test_override_model_settings(self) -> None: + """Test overriding model_settings dict.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_request = ModelRequest( + model=model, + system_message=None, + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + model_settings={"temperature": 0.5}, + ) + + new_request = original_request.override( + model_settings={"temperature": 0.9, "max_tokens": 100} + ) + + assert new_request.model_settings == {"temperature": 0.9, "max_tokens": 100} + assert original_request.model_settings == {"temperature": 0.5} + + def test_override_with_none_value(self) -> None: + """Test overriding with None value.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_request = ModelRequest( + model=model, + system_message=SystemMessage("Original prompt"), + messages=[HumanMessage("Hi")], + tool_choice="auto", + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + new_request = original_request.override( + system_message=None, + tool_choice=None, + ) + + assert new_request.system_message is None + assert new_request.tool_choice is None + assert original_request.system_message == SystemMessage("Original prompt") + assert original_request.tool_choice == "auto" + + def test_override_preserves_identity_of_unchanged_objects(self) -> None: + """Test that unchanged attributes maintain object identity.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + messages: list[AnyMessage] = [HumanMessage("Hi")] + + state = AgentState[Any](messages=[]) + + original_request = ModelRequest( + model=model, + system_message=SystemMessage("Original prompt"), + messages=messages, + tool_choice=None, + tools=[], + response_format=None, + state=state, + runtime=None, + ) + + new_request = original_request.override(system_message=SystemMessage("New prompt")) + + # Unchanged objects should be the same instance + assert new_request.messages is messages + assert new_request.state is state + assert new_request.model is model + + def test_override_chaining(self) -> None: + """Test chaining multiple override calls.""" + + class CustomState(AgentState[Any]): + count: int + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_request = ModelRequest( + model=model, + system_message=SystemMessage("Prompt 1"), + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=CustomState(messages=[], count=1), + runtime=None, + ) + + final_request = ( + original_request.override(system_message=SystemMessage("Prompt 2")) + .override(state=CustomState(messages=[], count=2)) + .override(tool_choice="auto") + ) + + assert final_request.system_prompt == "Prompt 2" + assert final_request.state == CustomState(messages=[], count=2) + assert final_request.tool_choice == "auto" + # Original should be unchanged + assert original_request.system_prompt == "Prompt 1" + assert original_request.state == CustomState(messages=[], count=1) + assert original_request.tool_choice is None + + def test_override_raises_on_both_system_prompt_and_system_message(self) -> None: + """Test that `ValueError` is raised when both prompt params are provided.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + request = ModelRequest( + model=model, + system_message=None, + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + with pytest.raises( + ValueError, match="Cannot specify both system_prompt and system_message" + ): + request.override( + system_prompt="prompt", # type: ignore[call-arg] + system_message=SystemMessage("message"), + ) + + def test_override_system_prompt_backward_compatibility(self) -> None: + """Test that `system_prompt` kwarg in `override()` converts to `SystemMessage`.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_request = ModelRequest( + model=model, + system_message=None, + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + # Use deprecated system_prompt parameter + new_request = original_request.override( + system_prompt="New prompt via deprecated param" # type: ignore[call-arg] + ) + + assert new_request.system_prompt == "New prompt via deprecated param" + assert isinstance(new_request.system_message, SystemMessage) + assert new_request.system_message.content == "New prompt via deprecated param" + # Original unchanged + assert original_request.system_message is None + + +class TestToolCallRequestOverride: + """Test the ToolCallRequest.override() method.""" + + def test_override_tool_call(self) -> None: + """Test overriding tool_call dict.""" + + @tool + def test_tool(x: int) -> str: + """A test tool.""" + return f"Result: {x}" + + original_call = ToolCall(name="test_tool", args={"x": 5}, id="1", type="tool_call") + modified_call = ToolCall(name="test_tool", args={"x": 10}, id="1", type="tool_call") + + original_request = ToolCallRequest( + tool_call=original_call, + tool=test_tool, + state={"messages": []}, + runtime=Mock(), + ) + + new_request = original_request.override(tool_call=modified_call) + + # New request should have modified tool_call + assert new_request.tool_call["args"]["x"] == 10 + # Original should be unchanged + assert original_request.tool_call["args"]["x"] == 5 + # Other attributes should be the same + assert new_request.tool is original_request.tool + assert new_request.state is original_request.state + + def test_override_state(self) -> None: + """Test overriding state.""" + + @tool + def test_tool(x: int) -> str: + """A test tool.""" + return f"Result: {x}" + + tool_call = ToolCall(name="test_tool", args={"x": 5}, id="1", type="tool_call") + original_state = {"messages": [HumanMessage("Hi")]} + new_state = {"messages": [HumanMessage("Hi"), AIMessage("Hello")]} + + original_request = ToolCallRequest( + tool_call=tool_call, + tool=test_tool, + state=original_state, + runtime=Mock(), + ) + + new_request = original_request.override(state=new_state) + + assert len(new_request.state["messages"]) == 2 + assert len(original_request.state["messages"]) == 1 + + def test_override_multiple_attributes(self) -> None: + """Test overriding multiple attributes at once.""" + + @tool + def test_tool(x: int) -> str: + """A test tool.""" + return f"Result: {x}" + + @tool + def another_tool(y: str) -> str: + """Another test tool.""" + return f"Output: {y}" + + original_call = ToolCall(name="test_tool", args={"x": 5}, id="1", type="tool_call") + modified_call = ToolCall( + name="another_tool", + args={"y": "hello"}, + id="2", + type="tool_call", + ) + + original_request = ToolCallRequest( + tool_call=original_call, + tool=test_tool, + state={"count": 1}, + runtime=Mock(), + ) + + new_request = original_request.override( + tool_call=modified_call, + tool=another_tool, + state={"count": 2}, + ) + + assert new_request.tool_call["name"] == "another_tool" + assert new_request.tool is not None + assert new_request.tool.name == "another_tool" + assert new_request.state == {"count": 2} + # Original unchanged + assert original_request.tool_call["name"] == "test_tool" + assert original_request.tool is not None + assert original_request.tool.name == "test_tool" + assert original_request.state == {"count": 1} + + def test_override_with_copy_pattern(self) -> None: + """Test common pattern of copying and modifying tool_call.""" + + @tool + def test_tool(value: int) -> str: + """A test tool.""" + return f"Result: {value}" + + original_call = ToolCall( + name="test_tool", + args={"value": 5}, + id="call_123", + type="tool_call", + ) + + original_request = ToolCallRequest( + tool_call=original_call, + tool=test_tool, + state=AgentState(messages=[]), + runtime=Mock(), + ) + + # Common pattern: copy tool_call and modify args + modified_call = ToolCall({**original_request.tool_call, "args": {"value": 10}}) + new_request = original_request.override(tool_call=modified_call) + + assert new_request.tool_call["args"]["value"] == 10 + assert new_request.tool_call["id"] == "call_123" + assert new_request.tool_call["name"] == "test_tool" + # Original unchanged + assert original_request.tool_call["args"]["value"] == 5 + + def test_override_preserves_identity(self) -> None: + """Test that unchanged attributes maintain object identity.""" + + @tool + def test_tool(x: int) -> str: + """A test tool.""" + return f"Result: {x}" + + tool_call = ToolCall(name="test_tool", args={"x": 5}, id="1", type="tool_call") + state = AgentState[Any](messages=[]) + + original_request = ToolCallRequest( + tool_call=tool_call, + tool=test_tool, + state=state, + runtime=Mock(), + ) + + new_call = ToolCall(name="test_tool", args={"x": 10}, id="1", type="tool_call") + new_request = original_request.override(tool_call=new_call) + + # Unchanged objects should be the same instance + assert new_request.tool is test_tool + assert new_request.state is state + + def test_override_chaining(self) -> None: + """Test chaining multiple override calls.""" + + @tool + def test_tool(x: int) -> str: + """A test tool.""" + return f"Result: {x}" + + tool_call = ToolCall(name="test_tool", args={"x": 5}, id="1", type="tool_call") + + original_request = ToolCallRequest( + tool_call=tool_call, + tool=test_tool, + state={"count": 1}, + runtime=Mock(), + ) + + call_2 = ToolCall(name="test_tool", args={"x": 10}, id="1", type="tool_call") + call_3 = ToolCall(name="test_tool", args={"x": 15}, id="1", type="tool_call") + + final_request = ( + original_request.override(tool_call=call_2) + .override(state={"count": 2}) + .override(tool_call=call_3) + ) + + assert final_request.tool_call["args"]["x"] == 15 + assert final_request.state == {"count": 2} + # Original unchanged + assert original_request.tool_call["args"]["x"] == 5 + assert original_request.state == {"count": 1} diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_sync_async_wrappers.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_sync_async_wrappers.py new file mode 100644 index 0000000000000000000000000000000000000000..140cf3a4b89a688ca9239009cfd9264671213892 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_sync_async_wrappers.py @@ -0,0 +1,490 @@ +"""Tests for sync/async middleware composition with wrap_tool_call and awrap_tool_call. + +These tests verify the desired behavior: +1. If middleware defines both sync and async -> use both on respective paths +2. If middleware defines only sync -> use on sync path, raise NotImplementedError on async path +3. If middleware defines only async -> use on async path, raise NotImplementedError on sync path +""" + +from collections.abc import Awaitable, Callable +from typing import Any + +import pytest +from langchain_core.messages import HumanMessage, ToolCall, ToolMessage +from langchain_core.tools import tool +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.types import Command + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import AgentMiddleware, ToolCallRequest, wrap_tool_call +from tests.unit_tests.agents.model import FakeToolCallingModel + + +@tool +def search(query: str) -> str: + """Search for information.""" + return f"Results for: {query}" + + +@tool +def calculator(expression: str) -> str: + """Calculate an expression.""" + return f"Calculated: {expression}" + + +class TestSyncAsyncMiddlewareComposition: + """Test sync/async middleware composition behavior.""" + + def test_sync_only_middleware_works_on_sync_path(self) -> None: + """Middleware with only sync wrap_tool_call works on sync path.""" + call_log = [] + + class SyncOnlyMiddleware(AgentMiddleware): + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + call_log.append("sync_called") + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[SyncOnlyMiddleware()], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + assert "sync_called" in call_log + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Results for: test" in tool_messages[0].content + + async def test_sync_only_middleware_raises_on_async_path(self) -> None: + """Middleware with only sync wrap_tool_call raises NotImplementedError on async path.""" + + class SyncOnlyMiddleware(AgentMiddleware): + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[SyncOnlyMiddleware()], + checkpointer=InMemorySaver(), + ) + + # Should raise NotImplementedError because SyncOnlyMiddleware doesn't support async path + with pytest.raises(NotImplementedError): + await agent.ainvoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + async def test_async_only_middleware_works_on_async_path(self) -> None: + """Middleware with only async awrap_tool_call works on async path.""" + call_log = [] + + class AsyncOnlyMiddleware(AgentMiddleware): + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + call_log.append("async_called") + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[AsyncOnlyMiddleware()], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + assert "async_called" in call_log + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Results for: test" in tool_messages[0].content + + def test_async_only_middleware_raises_on_sync_path(self) -> None: + """Middleware with only async awrap_tool_call raises NotImplementedError on sync path.""" + + class AsyncOnlyMiddleware(AgentMiddleware): + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[AsyncOnlyMiddleware()], + checkpointer=InMemorySaver(), + ) + + with pytest.raises(NotImplementedError): + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + def test_both_sync_and_async_middleware_uses_appropriate_path(self) -> None: + """Middleware with both sync and async uses correct implementation per path.""" + call_log = [] + + class BothSyncAsyncMiddleware(AgentMiddleware): + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + call_log.append("sync_called") + return handler(request) + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + call_log.append("async_called") + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[BothSyncAsyncMiddleware()], + checkpointer=InMemorySaver(), + ) + + # Sync path + call_log.clear() + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test1"}}, + ) + assert "sync_called" in call_log + assert "async_called" not in call_log + + async def test_both_sync_and_async_middleware_uses_appropriate_path_async( + self, + ) -> None: + """Middleware with both sync and async uses correct implementation per path (async).""" + call_log = [] + + class BothSyncAsyncMiddleware(AgentMiddleware): + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + call_log.append("sync_called") + return handler(request) + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + call_log.append("async_called") + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[BothSyncAsyncMiddleware()], + checkpointer=InMemorySaver(), + ) + + # Async path + call_log.clear() + await agent.ainvoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test2"}}, + ) + assert "async_called" in call_log + assert "sync_called" not in call_log + + async def test_mixed_middleware_composition_async_path_fails_with_sync_only( + self, + ) -> None: + """Multiple middleware on async path fails if any are sync-only.""" + + class SyncOnlyMiddleware(AgentMiddleware): + name = "SyncOnly" + + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + return handler(request) + + class AsyncOnlyMiddleware(AgentMiddleware): + name = "AsyncOnly" + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[ + SyncOnlyMiddleware(), + AsyncOnlyMiddleware(), + ], + checkpointer=InMemorySaver(), + ) + + # Should raise NotImplementedError because SyncOnlyMiddleware can't run on async path + with pytest.raises(NotImplementedError): + await agent.ainvoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + def test_mixed_middleware_composition_sync_path_with_async_only_fails(self) -> None: + """Multiple middleware on sync path fails if any are async-only.""" + + class SyncOnlyMiddleware(AgentMiddleware): + name = "SyncOnly" + + def wrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + return handler(request) + + class AsyncOnlyMiddleware(AgentMiddleware): + name = "AsyncOnly" + + async def awrap_tool_call( + self, + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[ + SyncOnlyMiddleware(), + AsyncOnlyMiddleware(), # This will break sync path + ], + checkpointer=InMemorySaver(), + ) + + # Should raise NotImplementedError because AsyncOnlyMiddleware can't run on sync path + with pytest.raises(NotImplementedError): + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + def test_decorator_sync_only_works_both_paths(self) -> None: + """Decorator-created sync-only middleware works on both paths.""" + call_log = [] + + @wrap_tool_call + def my_wrapper( + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + call_log.append("decorator_sync") + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[my_wrapper], + checkpointer=InMemorySaver(), + ) + + # Sync path + call_log.clear() + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test1"}}, + ) + assert "decorator_sync" in call_log + assert len([m for m in result["messages"] if isinstance(m, ToolMessage)]) == 1 + + async def test_decorator_sync_only_raises_on_async_path(self) -> None: + """Decorator-created sync-only middleware raises on async path.""" + call_log = [] + + @wrap_tool_call + def my_wrapper( + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]], + ) -> ToolMessage | Command[Any]: + call_log.append("decorator_sync") + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[my_wrapper], + checkpointer=InMemorySaver(), + ) + + # Should raise NotImplementedError because sync-only decorator doesn't support async path + with pytest.raises(NotImplementedError): + await agent.ainvoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test2"}}, + ) + + async def test_decorator_async_only_works_async_path(self) -> None: + """Decorator-created async-only middleware works on async path.""" + call_log = [] + + @wrap_tool_call + async def my_async_wrapper( + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + call_log.append("decorator_async") + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[my_async_wrapper], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + assert "decorator_async" in call_log + assert len([m for m in result["messages"] if isinstance(m, ToolMessage)]) == 1 + + def test_decorator_async_only_raises_on_sync_path(self) -> None: + """Decorator-created async-only middleware raises on sync path.""" + + @wrap_tool_call + async def my_async_wrapper( + request: ToolCallRequest, + handler: Callable[[ToolCallRequest], Awaitable[ToolMessage | Command[Any]]], + ) -> ToolMessage | Command[Any]: + return await handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[my_async_wrapper], + checkpointer=InMemorySaver(), + ) + + with pytest.raises(NotImplementedError): + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_tools.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_tools.py new file mode 100644 index 0000000000000000000000000000000000000000..587345b1f15f27e87b7c13f9b80f2c61e1627c0b --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_tools.py @@ -0,0 +1,394 @@ +"""Test Middleware handling of tools in agents.""" + +from collections.abc import Callable +from typing import Any + +import pytest +from langchain_core.messages import HumanMessage, ToolMessage +from langchain_core.tools import tool +from langchain_core.tools.base import BaseTool +from langgraph.prebuilt.tool_node import ToolNode + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + InputAgentState, + ModelCallResult, + ModelRequest, + ModelResponse, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + + +def test_model_request_tools_are_base_tools() -> None: + """Test that ModelRequest.tools contains BaseTool objects.""" + captured_requests: list[ModelRequest] = [] + + @tool + def search_tool(query: str) -> str: + """Search for information.""" + return f"Results for: {query}" + + @tool + def calculator(expression: str) -> str: + """Calculate a mathematical expression.""" + return f"Result: {expression}" + + class RequestCapturingMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + captured_requests.append(request) + return handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[search_tool, calculator], + system_prompt="You are a helpful assistant.", + middleware=[RequestCapturingMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("Hello")]}) + + # Verify that at least one request was captured + assert len(captured_requests) > 0 + + # Check that tools in the request are BaseTool objects + request = captured_requests[0] + assert isinstance(request.tools, list) + assert len(request.tools) == 2 + + tools = [] + for t in request.tools: + assert isinstance(t, BaseTool) + tools.append(t.name) + assert set(tools) == { + "search_tool", + "calculator", + } + + +def test_middleware_can_modify_tools() -> None: + """Test that middleware can modify the list of tools in ModelRequest.""" + + @tool + def tool_a(value: str) -> str: + """Tool A.""" + _ = value + return "A" + + @tool + def tool_b(value: str) -> str: + """Tool B.""" + _ = value + return "B" + + @tool + def tool_c(value: str) -> str: + """Tool C.""" + _ = value + return "C" + + class ToolFilteringMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Only allow tool_a and tool_b + filtered_tools: list[BaseTool | dict[str, Any]] = [] + for t in request.tools: + assert isinstance(t, BaseTool) + if t.name in {"tool_a", "tool_b"}: + filtered_tools.append(t) + return handler(request.override(tools=filtered_tools)) + + # Model will try to call tool_a + model = FakeToolCallingModel( + tool_calls=[[{"args": {"input": "test"}, "id": "1", "name": "tool_a"}], []] + ) + + agent = create_agent( + model=model, + tools=[tool_a, tool_b, tool_c], + system_prompt="You are a helpful assistant.", + middleware=[ToolFilteringMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Use tool_a")]}) + + # Verify that the tool was executed successfully + messages = result["messages"] + tool_messages = [m for m in messages if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert tool_messages[0].name == "tool_a" + + +def test_unknown_tool_raises_error() -> None: + """Test that using an unknown tool in ModelRequest raises a clear error.""" + + @tool + def known_tool(value: str) -> str: + """A known tool.""" + _ = value + return "result" + + @tool + def unknown_tool(value: str) -> str: + """An unknown tool not passed to create_agent.""" + _ = value + return "unknown" + + class BadMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Add an unknown tool + return handler(request.override(tools=[*request.tools, unknown_tool])) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[known_tool], + system_prompt="You are a helpful assistant.", + middleware=[BadMiddleware()], + ) + + with pytest.raises( + ValueError, + match=r"(?s)Middleware added tools.*Unknown tools:.*unknown_tool", + ): + agent.invoke({"messages": [HumanMessage("Hello")]}) + + +def test_middleware_can_add_and_remove_tools() -> None: + """Test that middleware can dynamically add/remove tools based on state.""" + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Search results for: {query}" + + @tool + def admin_tool(command: str) -> str: + """Admin-only tool.""" + return f"Admin: {command}" + + class AdminState(AgentState[Any]): + is_admin: bool + + class AdminInputState(InputAgentState): + is_admin: bool + + class ConditionalToolMiddleware(AgentMiddleware[AdminState]): + state_schema = AdminState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Remove admin_tool if not admin + if not request.state.get("is_admin", False): + filtered_tools: list[BaseTool | dict[str, Any]] = [] + for t in request.tools: + assert isinstance(t, BaseTool) + if t.name != "admin_tool": + filtered_tools.append(t) + request = request.override(tools=filtered_tools) + return handler(request) + + model = FakeToolCallingModel() + + agent = create_agent( + model=model, + tools=[search, admin_tool], + system_prompt="You are a helpful assistant.", + middleware=[ConditionalToolMiddleware()], + ) + + # Test non-admin user - should not have access to admin_tool + # We can't directly inspect the bound model, but we can verify the agent runs + result = agent.invoke(AdminInputState(messages=[HumanMessage("Hello")], is_admin=False)) + assert "messages" in result + + # Test admin user - should have access to all tools + result = agent.invoke(AdminInputState(messages=[HumanMessage("Hello")], is_admin=True)) + assert "messages" in result + + +def test_empty_tools_list_is_valid() -> None: + """Test that middleware can set tools to an empty list.""" + + @tool + def some_tool(value: str) -> str: + """Some tool.""" + _ = value + return "result" + + class NoToolsMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Remove all tools + request = request.override(tools=[]) + return handler(request) + + model = FakeToolCallingModel() + + agent = create_agent( + model=model, + tools=[some_tool], + system_prompt="You are a helpful assistant.", + middleware=[NoToolsMiddleware()], + ) + + # Should run without error even with no tools + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert "messages" in result + + +def test_tools_preserved_across_multiple_middleware() -> None: + """Test that tool modifications by one middleware are visible to the next.""" + modification_order: list[list[str]] = [] + + @tool + def tool_a(value: str) -> str: + """Tool A.""" + _ = value + return "A" + + @tool + def tool_b(value: str) -> str: + """Tool B.""" + _ = value + return "B" + + @tool + def tool_c(value: str) -> str: + """Tool C.""" + _ = value + return "C" + + class FirstMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + tools: list[str] = [] + filtered_tools: list[BaseTool | dict[str, Any]] = [] + for t in request.tools: + assert isinstance(t, BaseTool) + tools.append(t.name) + # Remove tool_c + if t.name != "tool_c": + filtered_tools.append(t) + modification_order.append(tools) + request = request.override(tools=filtered_tools) + return handler(request) + + class SecondMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + tools: list[str] = [] + filtered_tools: list[BaseTool | dict[str, Any]] = [] + for t in request.tools: + assert isinstance(t, BaseTool) + # Should not see tool_c here + assert t.name != "tool_c" + tools.append(t.name) + # Remove tool_b + if t.name != "tool_b": + filtered_tools.append(t) + modification_order.append(tools) + request = request.override(tools=filtered_tools) + return handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[tool_a, tool_b, tool_c], + system_prompt="You are a helpful assistant.", + middleware=[FirstMiddleware(), SecondMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("Hello")]}) + + # Verify the modification sequence + assert len(modification_order) == 2 + # First middleware sees all three tools + assert set(modification_order[0]) == {"tool_a", "tool_b", "tool_c"} + # Second middleware sees tool_c removed + assert set(modification_order[1]) == {"tool_a", "tool_b"} + + +def test_middleware_with_additional_tools() -> None: + """Test middleware that provides additional tools via tools attribute.""" + + @tool + def base_tool(value: str) -> str: + """Base tool.""" + _ = value + return "base" + + @tool + def middleware_tool(value: str) -> str: + """Tool provided by middleware.""" + _ = value + return "middleware" + + class ToolProvidingMiddleware(AgentMiddleware): + tools = (middleware_tool,) + + # Model calls the middleware-provided tool + model = FakeToolCallingModel( + tool_calls=[ + [{"args": {"value": "test"}, "id": "1", "name": "middleware_tool"}], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[base_tool], + system_prompt="You are a helpful assistant.", + middleware=[ToolProvidingMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Use middleware tool")]}) + + # Verify that the middleware tool was executed + messages = result["messages"] + tool_messages = [m for m in messages if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert tool_messages[0].name == "middleware_tool" + assert isinstance(tool_messages[0].content, str) + assert "middleware" in tool_messages[0].content.lower() + + +def test_tool_node_not_accepted() -> None: + """Test that passing a ToolNode instance to create_agent raises an error.""" + + @tool + def some_tool(value: str) -> str: + """Some tool.""" + _ = value + return "result" + + tool_node = ToolNode([some_tool]) + + with pytest.raises(TypeError, match="'ToolNode' object is not iterable"): + create_agent( # type: ignore[call-overload] + model=FakeToolCallingModel(), + tools=tool_node, + system_prompt="You are a helpful assistant.", + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_transformers.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_transformers.py new file mode 100644 index 0000000000000000000000000000000000000000..a4c2f0902c7ecab790e241a14b2ade678aa8e1fb --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_transformers.py @@ -0,0 +1,143 @@ +"""Tests for middleware-registered stream transformers.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any + +from langchain_core.messages import HumanMessage +from langgraph.prebuilt import ToolCallTransformer +from langgraph.stream import StreamChannel, StreamTransformer + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import AgentMiddleware +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langgraph.stream._types import ProtocolEvent + + +class _MiddlewareMarker(StreamTransformer): + """Marker transformer used to assert registration order.""" + + required_stream_modes = () + + def __init__(self, scope: tuple[str, ...] = ()) -> None: + super().__init__(scope) + self._log: StreamChannel[int] = StreamChannel() + + def init(self) -> dict[str, Any]: + return {"middleware_marker": self._log} + + def process(self, event: ProtocolEvent) -> bool: + del event + return True + + +class _UserMarker(StreamTransformer): + """Second marker to verify user-supplied transformers append last.""" + + required_stream_modes = () + + def __init__(self, scope: tuple[str, ...] = ()) -> None: + super().__init__(scope) + self._log: StreamChannel[int] = StreamChannel() + + def init(self) -> dict[str, Any]: + return {"user_marker": self._log} + + def process(self, event: ProtocolEvent) -> bool: + del event + return True + + +def test_middleware_transformer_registered_on_compiled_graph() -> None: + """A `transformers` factory declared on middleware is wired into the run mux.""" + + class _Middleware(AgentMiddleware): + transformers = (_MiddlewareMarker,) + + agent = create_agent(model=FakeToolCallingModel(), tools=[], middleware=[_Middleware()]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + assert "middleware_marker" in run._mux.extensions + # Drain to close the run cleanly. + list(run.tool_calls) + + +def test_middleware_and_user_transformers_compose_in_order() -> None: + """Order is: built-in `ToolCallTransformer` → middleware → user-supplied.""" + + class _Middleware(AgentMiddleware): + transformers = (_MiddlewareMarker,) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + middleware=[_Middleware()], + transformers=[_UserMarker], + ) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + transformers = run._mux._transformers + tool_call_idx = next( + i for i, t in enumerate(transformers) if isinstance(t, ToolCallTransformer) + ) + middleware_idx = next(i for i, t in enumerate(transformers) if isinstance(t, _MiddlewareMarker)) + user_idx = next(i for i, t in enumerate(transformers) if isinstance(t, _UserMarker)) + + assert tool_call_idx < middleware_idx < user_idx, ( + "transformers must register as: built-in, then middleware, then user-supplied" + ) + + list(run.tool_calls) + + +def test_transformers_from_multiple_middleware_preserve_middleware_order() -> None: + """Transformers across middleware register in middleware-list order.""" + + class _MarkerA(_MiddlewareMarker): + def init(self) -> dict[str, Any]: + return {"marker_a": self._log} + + class _MarkerB(_MiddlewareMarker): + def init(self) -> dict[str, Any]: + return {"marker_b": self._log} + + class _MwA(AgentMiddleware): + transformers = (_MarkerA,) + + class _MwB(AgentMiddleware): + transformers = (_MarkerB,) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + middleware=[_MwA(), _MwB()], + ) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + transformers = run._mux._transformers + idx_a = next(i for i, t in enumerate(transformers) if isinstance(t, _MarkerA)) + idx_b = next(i for i, t in enumerate(transformers) if isinstance(t, _MarkerB)) + assert idx_a < idx_b + + list(run.tool_calls) + + +def test_middleware_without_transformers_does_not_affect_registry() -> None: + """Middleware that omits `transformers` leaves the default registry intact.""" + + class _Middleware(AgentMiddleware): + pass + + agent = create_agent(model=FakeToolCallingModel(), tools=[], middleware=[_Middleware()]) + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + transformers = run._mux._transformers + assert any(isinstance(t, ToolCallTransformer) for t in transformers) + assert not any(isinstance(t, _MiddlewareMarker) for t in transformers) + + list(run.tool_calls) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call.py new file mode 100644 index 0000000000000000000000000000000000000000..1890038bdc19f66d7dd853713ca88aeca707fd37 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call.py @@ -0,0 +1,1600 @@ +"""Unit tests for wrap_model_call hook and @wrap_model_call decorator. + +This module tests the wrap_model_call functionality in three forms: +1. As a middleware method (AgentMiddleware.wrap_model_call) +2. As a decorator (@wrap_model_call) +3. Async variant (AgentMiddleware.awrap_model_call) +""" + +from collections.abc import Awaitable, Callable +from typing import Any + +import pytest +from langchain_core.callbacks import ( + AsyncCallbackManagerForLLMRun, + CallbackManagerForLLMRun, +) +from langchain_core.language_models.chat_models import BaseChatModel +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, BaseMessage, HumanMessage +from langchain_core.outputs import ChatResult +from langchain_core.tools import tool +from langgraph.runtime import Runtime +from typing_extensions import TypedDict, override + +from langchain.agents import AgentState, create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + ModelCallResult, + ModelRequest, + ModelResponse, + wrap_model_call, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + + +class TestBasicWrapModelCall: + """Test basic wrap_model_call functionality.""" + + def test_passthrough_middleware(self) -> None: + """Test middleware that simply passes through without modification.""" + + class PassthroughMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model, middleware=[PassthroughMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Hello" + + def test_logging_middleware(self) -> None: + """Test middleware that logs calls without modification.""" + call_log = [] + + class LoggingMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + call_log.append("before") + result = handler(request) + call_log.append("after") + return result + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[LoggingMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert call_log == ["before", "after"] + assert result["messages"][1].content == "Response" + + def test_counting_middleware(self) -> None: + """Test middleware that counts model calls.""" + + class CountingMiddleware(AgentMiddleware): + def __init__(self) -> None: + super().__init__() + self.call_count = 0 + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + self.call_count += 1 + return handler(request) + + counter = CountingMiddleware() + model = GenericFakeChatModel(messages=iter([AIMessage(content="Reply")])) + agent = create_agent(model=model, middleware=[counter]) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert counter.call_count == 1 + + +class TestRetryLogic: + """Test retry logic with wrap_model_call.""" + + def test_simple_retry_on_error(self) -> None: + """Test middleware that retries once on error.""" + call_count = {"value": 0} + + class FailOnceThenSucceed(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First call fails" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + class RetryOnceMiddleware(AgentMiddleware): + def __init__(self) -> None: + super().__init__() + self.retry_count = 0 + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + return handler(request) + except Exception: + self.retry_count += 1 + return handler(request) + + retry_middleware = RetryOnceMiddleware() + model = FailOnceThenSucceed(messages=iter([AIMessage(content="Success")])) + agent = create_agent(model=model, middleware=[retry_middleware]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert retry_middleware.retry_count == 1 + assert result["messages"][1].content == "Success" + + def test_max_retries(self) -> None: + """Test middleware with maximum retry limit.""" + + class AlwaysFailModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Always fails" + raise ValueError(msg) + + class MaxRetriesMiddleware(AgentMiddleware): + def __init__(self, max_retries: int = 3): + super().__init__() + self.max_retries = max_retries + self.attempts: list[int] = [] + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + last_exception = None + for attempt in range(self.max_retries): + self.attempts.append(attempt + 1) + try: + return handler(request) + except Exception as e: + last_exception = e + continue + # Re-raise the last exception + if last_exception: + raise last_exception + pytest.fail("Should have raised an exception") + + retry_middleware = MaxRetriesMiddleware(max_retries=3) + model = AlwaysFailModel(messages=iter([])) + agent = create_agent(model=model, middleware=[retry_middleware]) + + with pytest.raises(ValueError, match="Always fails"): + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert retry_middleware.attempts == [1, 2, 3] + + def test_no_retry_propagates_error(self) -> None: + """Test that error is propagated when middleware doesn't retry.""" + + class FailingModel(BaseChatModel): + """Model that always fails.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model error" + raise ValueError(msg) + + @property + def _llm_type(self) -> str: + return "failing" + + class NoRetryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + agent = create_agent(model=FailingModel(), middleware=[NoRetryMiddleware()]) + + with pytest.raises(ValueError, match="Model error"): + agent.invoke({"messages": [HumanMessage("Test")]}) + + def test_max_attempts_limit(self) -> None: + """Test that middleware controls termination via retry limits.""" + + class AlwaysFailingModel(BaseChatModel): + """Model that always fails.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Always fails" + raise ValueError(msg) + + @property + def _llm_type(self) -> str: + return "always_failing" + + class LimitedRetryMiddleware(AgentMiddleware): + """Middleware that limits its own retries.""" + + def __init__(self, max_retries: int = 10): + super().__init__() + self.max_retries = max_retries + self.attempt_count = 0 + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + last_exception = None + for _attempt in range(self.max_retries): + self.attempt_count += 1 + try: + return handler(request) + except Exception as e: + last_exception = e + # Continue to retry + + # All retries exhausted, re-raise the last error + if last_exception: + raise last_exception + pytest.fail("Should have raised an exception") + + model = AlwaysFailingModel() + middleware = LimitedRetryMiddleware(max_retries=10) + + agent = create_agent(model=model, middleware=[middleware]) + + # Should fail with the model's error after middleware stops retrying + with pytest.raises(ValueError, match="Always fails"): + agent.invoke({"messages": [HumanMessage("Test")]}) + + # Should have attempted exactly 10 times as configured + assert middleware.attempt_count == 10 + + +class TestResponseRewriting: + """Test response content rewriting with wrap_model_call.""" + + def test_uppercase_response(self) -> None: + """Test middleware that transforms response to uppercase.""" + + class UppercaseMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + assert isinstance(ai_message.content, str) + return AIMessage(content=ai_message.content.upper()) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="hello world")])) + agent = create_agent(model=model, middleware=[UppercaseMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "HELLO WORLD" + + def test_prefix_response(self) -> None: + """Test middleware that adds prefix to response.""" + + class PrefixMiddleware(AgentMiddleware): + def __init__(self, prefix: str): + super().__init__() + self.prefix = prefix + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + return AIMessage(content=f"{self.prefix}{ai_message.content}") + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[PrefixMiddleware(prefix="[BOT]: ")]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "[BOT]: Response" + + def test_multi_stage_transformation(self) -> None: + """Test middleware applying multiple transformations.""" + + class MultiTransformMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + + # First transformation: uppercase + assert isinstance(ai_message.content, str) + content = ai_message.content.upper() + # Second transformation: add prefix and suffix + content = f"[START] {content} [END]" + return AIMessage(content=content) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="hello")])) + agent = create_agent(model=model, middleware=[MultiTransformMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "[START] HELLO [END]" + + +class TestErrorHandling: + """Test error handling with wrap_model_call.""" + + def test_convert_error_to_response(self) -> None: + """Test middleware that converts errors to successful responses.""" + + class AlwaysFailModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model error" + raise ValueError(msg) + + class ErrorToSuccessMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + return handler(request) + except Exception as e: + return AIMessage(content=f"Error occurred: {e}. Using fallback response.") + + model = AlwaysFailModel(messages=iter([])) + agent = create_agent(model=model, middleware=[ErrorToSuccessMiddleware()]) + + # Should not raise, middleware converts error to response + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert "Error occurred" in result["messages"][1].content + assert "fallback response" in result["messages"][1].content + + def test_selective_error_handling(self) -> None: + """Test middleware that only handles specific errors.""" + + class SpecificErrorModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Network error" + raise ConnectionError(msg) + + class SelectiveErrorMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + return handler(request) + except ConnectionError: + return AIMessage(content="Network issue, try again later") + + model = SpecificErrorModel(messages=iter([])) + agent = create_agent(model=model, middleware=[SelectiveErrorMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "Network issue, try again later" + + def test_error_handling_with_success_path(self) -> None: + """Test that error handling middleware works correctly on both success and error paths.""" + call_log = [] + + class ErrorRecoveryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + call_log.append("before-yield") + result = handler(request) + call_log.append("after-yield-success") + except Exception: + call_log.append("caught-error") + return AIMessage(content="Recovered from error") + return result + + # Test 1: Success path + call_log.clear() + model1 = GenericFakeChatModel(messages=iter([AIMessage(content="Success")])) + agent1 = create_agent(model=model1, middleware=[ErrorRecoveryMiddleware()]) + result1 = agent1.invoke({"messages": [HumanMessage("Test")]}) + + assert result1["messages"][1].content == "Success" + assert call_log == ["before-yield", "after-yield-success"] + + # Test 2: Error path + call_log.clear() + + class AlwaysFailModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model error" + raise ValueError(msg) + + model2 = AlwaysFailModel(messages=iter([])) + agent2 = create_agent(model=model2, middleware=[ErrorRecoveryMiddleware()]) + result2 = agent2.invoke({"messages": [HumanMessage("Test")]}) + + assert result2["messages"][1].content == "Recovered from error" + assert call_log == ["before-yield", "caught-error"] + + +class TestShortCircuit: + """Test short-circuit patterns with wrap_model_call.""" + + def test_cache_short_circuit(self) -> None: + """Test middleware that short-circuits with cached response.""" + cache: dict[str, ModelResponse] = {} + model_calls = [] + + class CachingMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Simple cache key based on last message + cache_key = str(request.messages[-1].content) if request.messages else "" + + if cache_key in cache: + # Short-circuit with cached result + return cache[cache_key] + # Execute and cache + result = handler(request) + cache[cache_key] = result + return result + + class TrackingModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + model_calls.append(len(messages)) + return super()._generate(messages, **kwargs) + + model = TrackingModel( + messages=iter( + [ + AIMessage(content="Response 1"), + AIMessage(content="Response 2"), + ] + ) + ) + agent = create_agent(model=model, middleware=[CachingMiddleware()]) + + # First call - cache miss, calls model + result1 = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result1["messages"][1].content == "Response 1" + assert len(model_calls) == 1 + + # Second call with same message - cache hit, doesn't call model + result2 = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result2["messages"][1].content == "Response 1" + assert len(model_calls) == 1 # Still 1, no new call + + # Third call with different message - cache miss, calls model + result3 = agent.invoke({"messages": [HumanMessage("Goodbye")]}) + assert result3["messages"][1].content == "Response 2" + assert len(model_calls) == 2 # New call + + +class TestRequestModification: + """Test request modification with wrap_model_call.""" + + def test_add_system_prompt(self) -> None: + """Test middleware that adds a system prompt to requests.""" + received_requests = [] + + class SystemPromptMiddleware(AgentMiddleware): + def __init__(self, system_prompt: str): + super().__init__() + self.system_prompt = system_prompt + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Modify request to add system prompt + modified_request = ModelRequest( + model=request.model, + system_prompt=self.system_prompt, + messages=request.messages, + tools=request.tools, + tool_choice=request.tool_choice, + response_format=request.response_format, + model_settings=request.model_settings, + state=request.state, + runtime=request.runtime, + ) + received_requests.append(modified_request) + return handler(modified_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent( + model=model, + middleware=[SystemPromptMiddleware(system_prompt="You are a helpful assistant.")], + ) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert len(received_requests) == 1 + assert received_requests[0].system_prompt == "You are a helpful assistant." + assert result["messages"][1].content == "Response" + + +class TestStateAndRuntime: + """Test state and runtime access in wrap_model_call.""" + + def test_access_state_in_middleware(self) -> None: + """Test middleware can read and use state.""" + state_values = [] + + class StateAwareMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Access state from request + state_values.append( + { + "messages_count": len(request.state.get("messages", [])), + } + ) + return handler(request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[StateAwareMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert len(state_values) == 1 + assert state_values[0]["messages_count"] == 1 # Just The HumanMessage + assert result["messages"][1].content == "Response" + + def test_retry_with_state_tracking(self) -> None: + """Test middleware that tracks retry count in state.""" + + class StateTrackingRetryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + max_retries = 2 + for attempt in range(max_retries): + try: + return handler(request) + except Exception: + if attempt == max_retries - 1: + raise + pytest.fail("Should have raised an exception") + + call_count = {"value": 0} + + class FailOnceThenSucceed(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First fails" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + model = FailOnceThenSucceed(messages=iter([AIMessage(content="Success")])) + agent = create_agent(model=model, middleware=[StateTrackingRetryMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert call_count["value"] == 2 # Failed once, succeeded second time + assert result["messages"][1].content == "Success" + + +class TestMiddlewareComposition: + """Test composition of multiple wrap_model_call middleware.""" + + def test_two_middleware_composition(self) -> None: + """Test that two middleware compose correctly (outer wraps inner).""" + execution_order = [] + + class OuterMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("outer-before") + response = handler(request) + execution_order.append("outer-after") + return response + + class InnerMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("inner-before") + response = handler(request) + execution_order.append("inner-after") + return response + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[OuterMiddleware(), InnerMiddleware()]) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + # Outer wraps inner: outer-before, inner-before, model, inner-after, outer-after + assert execution_order == [ + "outer-before", + "inner-before", + "inner-after", + "outer-after", + ] + + def test_three_middleware_composition(self) -> None: + """Test composition of three middleware.""" + execution_order = [] + + class FirstMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("first-before") + response = handler(request) + execution_order.append("first-after") + return response + + class SecondMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("second-before") + response = handler(request) + execution_order.append("second-after") + return response + + class ThirdMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("third-before") + response = handler(request) + execution_order.append("third-after") + return response + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent( + model=model, + middleware=[FirstMiddleware(), SecondMiddleware(), ThirdMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + # First wraps Second wraps Third: + # 1-before, 2-before, 3-before, model, 3-after, 2-after, 1-after + assert execution_order == [ + "first-before", + "second-before", + "third-before", + "third-after", + "second-after", + "first-after", + ] + + def test_retry_with_logging(self) -> None: + """Test retry middleware composed with logging middleware.""" + call_count = {"value": 0} + log = [] + + class FailOnceThenSucceed(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First call fails" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + class LoggingMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + log.append("logging-before") + result = handler(request) + log.append("logging-after") + return result + + class RetryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + log.append("retry-before") + try: + result = handler(request) + log.append("retry-after") + except Exception: + log.append("retry-retrying") + result = handler(request) + log.append("retry-after") + + return result + + model = FailOnceThenSucceed(messages=iter([AIMessage(content="Success")])) + # Logging is outer, Retry is inner + agent = create_agent(model=model, middleware=[LoggingMiddleware(), RetryMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "Success" + # Outer (logging) sees the final result after inner (retry) handles it + assert log == [ + "logging-before", + "retry-before", + "retry-retrying", + "retry-after", + "logging-after", + ] + + def test_multiple_transformations(self) -> None: + """Test multiple middleware that each transform the response.""" + + class PrefixMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + return AIMessage(content=f"[PREFIX] {ai_message.content}") + + class SuffixMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + return AIMessage(content=f"{ai_message.content} [SUFFIX]") + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Middle")])) + # Prefix is outer, Suffix is inner + # Inner (Suffix) runs first, then Outer (Prefix) + agent = create_agent(model=model, middleware=[PrefixMiddleware(), SuffixMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + # Suffix adds suffix first, then Prefix adds prefix + assert result["messages"][1].content == "[PREFIX] Middle [SUFFIX]" + + def test_retry_outer_transform_inner(self) -> None: + """Test retry as outer middleware with transform as inner.""" + call_count = {"value": 0} + + class FailOnceThenSucceed(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First call fails" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + class RetryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + return handler(request) + except Exception: + return handler(request) + + class UppercaseMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + assert isinstance(ai_message.content, str) + return AIMessage(content=ai_message.content.upper()) + + model = FailOnceThenSucceed(messages=iter([AIMessage(content="success")])) + # Retry outer, Uppercase inner + agent = create_agent(model=model, middleware=[RetryMiddleware(), UppercaseMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + # Should retry and uppercase the result + assert result["messages"][1].content == "SUCCESS" + + def test_middle_retry_middleware(self) -> None: + """Test that middle middleware doing retry causes inner to execute twice.""" + execution_order = [] + model_calls = [] + + class OuterMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("outer-before") + result = handler(request) + execution_order.append("outer-after") + return result + + class MiddleRetryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("middle-before") + # Always retry once (call handler twice) + result = handler(request) + execution_order.append("middle-retry") + result = handler(request) + execution_order.append("middle-after") + return result + + class InnerMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("inner-before") + result = handler(request) + execution_order.append("inner-after") + return result + + class TrackingModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + model_calls.append(len(messages)) + return super()._generate(messages, **kwargs) + + model = TrackingModel( + messages=iter([AIMessage(content="Response 1"), AIMessage(content="Response 2")]) + ) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), MiddleRetryMiddleware(), InnerMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + # Middle yields twice, so inner runs twice + assert execution_order == [ + "outer-before", + "middle-before", + "inner-before", # First execution + "inner-after", + "middle-retry", # Middle yields again + "inner-before", # Second execution + "inner-after", + "middle-after", + "outer-after", + ] + # Model should be called twice + assert len(model_calls) == 2 + + +class TestWrapModelCallDecorator: + """Test the @wrap_model_call decorator for creating middleware.""" + + def test_basic_decorator_usage(self) -> None: + """Test basic decorator usage without parameters.""" + + @wrap_model_call + def passthrough_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + # Should return an AgentMiddleware instance + assert isinstance(passthrough_middleware, AgentMiddleware) + + # Should work in agent + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model, middleware=[passthrough_middleware]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Hello" + + def test_decorator_with_custom_name(self) -> None: + """Test decorator with custom middleware name.""" + + @wrap_model_call(name="CustomMiddleware") + def my_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + assert isinstance(my_middleware, AgentMiddleware) + assert my_middleware.__class__.__name__ == "CustomMiddleware" + + def test_decorator_retry_logic(self) -> None: + """Test decorator for implementing retry logic.""" + call_count = {"value": 0} + + class FailOnceThenSucceed(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First call fails" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + @wrap_model_call + def retry_once( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + return handler(request) + except Exception: + # Retry once + return handler(request) + + model = FailOnceThenSucceed(messages=iter([AIMessage(content="Success")])) + agent = create_agent(model=model, middleware=[retry_once]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert call_count["value"] == 2 + assert result["messages"][1].content == "Success" + + def test_decorator_response_rewriting(self) -> None: + """Test decorator for rewriting responses.""" + + @wrap_model_call + def uppercase_responses( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + result = handler(request) + # result is ModelResponse, extract AIMessage from it + ai_message = result.result[0] + assert isinstance(ai_message.content, str) + return AIMessage(content=ai_message.content.upper()) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="hello world")])) + agent = create_agent(model=model, middleware=[uppercase_responses]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "HELLO WORLD" + + def test_decorator_error_handling(self) -> None: + """Test decorator for error recovery.""" + + class AlwaysFailModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model error" + raise ValueError(msg) + + @wrap_model_call + def error_to_fallback( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + try: + return handler(request) + except Exception: + return AIMessage(content="Fallback response") + + model = AlwaysFailModel(messages=iter([])) + agent = create_agent(model=model, middleware=[error_to_fallback]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert result["messages"][1].content == "Fallback response" + + def test_decorator_with_state_access(self) -> None: + """Test decorator accessing agent state.""" + state_values = [] + + @wrap_model_call + def log_state( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + state_values.append(request.state.get("messages")) + return handler(request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[log_state]) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + # State should contain the user message + assert len(state_values) == 1 + assert len(state_values[0]) == 1 + assert state_values[0][0].content == "Test" + + def test_multiple_decorated_middleware(self) -> None: + """Test composition of multiple decorated middleware.""" + execution_order = [] + + @wrap_model_call + def outer_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("outer-before") + result = handler(request) + execution_order.append("outer-after") + return result + + @wrap_model_call + def inner_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("inner-before") + result = handler(request) + execution_order.append("inner-after") + return result + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[outer_middleware, inner_middleware]) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert execution_order == [ + "outer-before", + "inner-before", + "inner-after", + "outer-after", + ] + + def test_decorator_with_custom_state_schema(self) -> None: + """Test decorator with custom state schema.""" + + class CustomState(TypedDict): + messages: list[Any] + custom_field: str + + @wrap_model_call(state_schema=CustomState) # type: ignore[type-var] + def middleware_with_schema( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + assert isinstance(middleware_with_schema, AgentMiddleware) + # Custom state schema should be set + assert middleware_with_schema.state_schema == CustomState + + def test_decorator_with_tools_parameter(self) -> None: + """Test decorator with tools parameter.""" + + @tool + def test_tool(query: str) -> str: + """A test tool.""" + return f"Result: {query}" + + @wrap_model_call(tools=[test_tool]) + def middleware_with_tools( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + assert isinstance(middleware_with_tools, AgentMiddleware) + assert len(middleware_with_tools.tools) == 1 + assert middleware_with_tools.tools[0].name == "test_tool" + + def test_decorator_parentheses_optional(self) -> None: + """Test that decorator works both with and without parentheses.""" + + # Without parentheses + @wrap_model_call + def middleware_no_parens( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + # With parentheses + @wrap_model_call() + def middleware_with_parens( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + assert isinstance(middleware_no_parens, AgentMiddleware) + assert isinstance(middleware_with_parens, AgentMiddleware) + + def test_decorator_preserves_function_name(self) -> None: + """Test that decorator uses function name for class name.""" + + @wrap_model_call + def my_custom_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + return handler(request) + + assert my_custom_middleware.__class__.__name__ == "my_custom_middleware" + + def test_decorator_mixed_with_class_middleware(self) -> None: + """Test decorated middleware mixed with class-based middleware.""" + execution_order = [] + + @wrap_model_call + def decorated_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("decorated-before") + result = handler(request) + execution_order.append("decorated-after") + return result + + class ClassMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + execution_order.append("class-before") + result = handler(request) + execution_order.append("class-after") + return result + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent( + model=model, + middleware=[decorated_middleware, ClassMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + # Decorated is outer, class-based is inner + assert execution_order == [ + "decorated-before", + "class-before", + "class-after", + "decorated-after", + ] + + def test_decorator_complex_retry_logic(self) -> None: + """Test decorator with complex retry logic and backoff.""" + attempts = [] + call_count = {"value": 0} + + class UnreliableModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] <= 2: + msg = f"Attempt {call_count['value']} failed" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + @wrap_model_call + def retry_with_tracking( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + max_retries = 3 + for attempt in range(max_retries): + attempts.append(attempt + 1) + try: + return handler(request) + except Exception: + # On error, continue to next attempt + if attempt < max_retries - 1: + continue # Retry + raise # All retries failed + pytest.fail("Should have raised an exception") + + model = UnreliableModel(messages=iter([AIMessage(content="Finally worked")])) + agent = create_agent(model=model, middleware=[retry_with_tracking]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert attempts == [1, 2, 3] + assert result["messages"][1].content == "Finally worked" + + def test_decorator_request_modification(self) -> None: + """Test decorator modifying request before execution.""" + modified_prompts = [] + + @wrap_model_call + def add_system_prompt( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Modify request to add system prompt + modified_request = ModelRequest( + messages=request.messages, + model=request.model, + system_prompt="You are a helpful assistant", + tool_choice=request.tool_choice, + tools=request.tools, + response_format=request.response_format, + state=AgentState[Any](messages=[]), + runtime=None, + ) + modified_prompts.append(modified_request.system_prompt) + return handler(modified_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[add_system_prompt]) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert modified_prompts == ["You are a helpful assistant"] + + +class TestAsyncWrapModelCall: + """Test async execution with wrap_model_call.""" + + async def test_async_model_with_middleware(self) -> None: + """Test that wrap_model_call works with async model execution.""" + log = [] + + class LoggingMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + log.append("before") + result = await handler(request) + log.append("after") + return result + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Async response")])) + agent = create_agent(model=model, middleware=[LoggingMiddleware()]) + + result = await agent.ainvoke({"messages": [HumanMessage("Test")]}) + + assert log == ["before", "after"] + assert result["messages"][1].content == "Async response" + + async def test_async_retry(self) -> None: + """Test retry logic with async execution.""" + call_count = {"value": 0} + + class AsyncFailOnceThenSucceed(GenericFakeChatModel): + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: AsyncCallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First async call fails" + raise ValueError(msg) + return await super()._agenerate(messages, **kwargs) + + class RetryMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + try: + return await handler(request) + except Exception: + return await handler(request) + + model = AsyncFailOnceThenSucceed(messages=iter([AIMessage(content="Async success")])) + agent = create_agent(model=model, middleware=[RetryMiddleware()]) + + result = await agent.ainvoke({"messages": [HumanMessage("Test")]}) + + assert call_count["value"] == 2 + assert result["messages"][1].content == "Async success" + + async def test_decorator_with_async_agent(self) -> None: + """Test that decorated middleware works with async agent invocation.""" + call_log = [] + + @wrap_model_call + async def logging_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + call_log.append("before") + result = await handler(request) + call_log.append("after") + return result + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Async response")])) + agent = create_agent(model=model, middleware=[logging_middleware]) + + result = await agent.ainvoke({"messages": [HumanMessage("Test")]}) + + assert call_log == ["before", "after"] + assert result["messages"][1].content == "Async response" + + +class TestSyncAsyncInterop: + """Test sync/async interoperability.""" + + def test_sync_invoke_with_only_async_middleware_raises_error(self) -> None: + """Test that sync invoke with only async middleware raises error.""" + + class AsyncOnlyMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + return await handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[AsyncOnlyMiddleware()], + ) + + with pytest.raises(NotImplementedError): + agent.invoke({"messages": [HumanMessage("hello")]}) + + def test_sync_invoke_with_mixed_middleware(self) -> None: + """Test that sync invoke works with mixed sync/async middleware when sync versions exist.""" + calls = [] + + class MixedMiddleware(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime[Any]) -> None: + calls.append("MixedMiddleware.before_model") + + @override + async def abefore_model(self, state: AgentState[Any], runtime: Runtime[Any]) -> None: + calls.append("MixedMiddleware.abefore_model") + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + calls.append("MixedMiddleware.wrap_model_call") + return handler(request) + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelCallResult: + calls.append("MixedMiddleware.awrap_model_call") + return await handler(request) + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[], + system_prompt="You are a helpful assistant.", + middleware=[MixedMiddleware()], + ) + + agent.invoke({"messages": [HumanMessage("hello")]}) + + # In sync mode, only sync methods should be called + assert calls == [ + "MixedMiddleware.before_model", + "MixedMiddleware.wrap_model_call", + ] + + +class TestEdgeCases: + """Test edge cases and error conditions.""" + + def test_middleware_modifies_request(self) -> None: + """Test middleware that modifies the request before execution.""" + modified_messages = [] + + class RequestModifyingMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Add a system message to the request + modified_request = request + modified_messages.append(len(modified_request.messages)) + return handler(modified_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Response")])) + agent = create_agent(model=model, middleware=[RequestModifyingMiddleware()]) + + agent.invoke({"messages": [HumanMessage("Test")]}) + + assert len(modified_messages) == 1 + + def test_multiple_yields_retry_different_models(self) -> None: + """Test middleware that tries multiple different models.""" + attempts = [] + + class MultiModelRetryMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + attempts.append("first-attempt") + try: + return handler(request) + except Exception: + attempts.append("retry-attempt") + return handler(request) + + call_count = {"value": 0} + + class FailFirstSucceedSecond(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + call_count["value"] += 1 + if call_count["value"] == 1: + msg = "First fails" + raise ValueError(msg) + return super()._generate(messages, **kwargs) + + model = FailFirstSucceedSecond(messages=iter([AIMessage(content="Success")])) + agent = create_agent(model=model, middleware=[MultiModelRetryMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert attempts == ["first-attempt", "retry-attempt"] + assert result["messages"][1].content == "Success" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py new file mode 100644 index 0000000000000000000000000000000000000000..e24493bf82156a1faae7f423765c0160a8fb2d3d --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_model_call_state_update.py @@ -0,0 +1,919 @@ +"""Unit tests for ExtendedModelResponse command support in wrap_model_call. + +Tests that wrap_model_call middleware can return ExtendedModelResponse to provide +a Command alongside the model response. Commands are applied as separate state +updates through graph reducers (e.g. add_messages for messages). +""" + +from collections.abc import Awaitable, Callable + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, HumanMessage +from langgraph.errors import InvalidUpdateError +from langgraph.types import Command +from typing_extensions import override + +from langchain.agents import AgentState, create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + ExtendedModelResponse, + ModelRequest, + ModelResponse, + wrap_model_call, +) + + +class TestBasicCommand: + """Test basic ExtendedModelResponse functionality with Command.""" + + def test_command_messages_added_alongside_model_messages(self) -> None: + """Command messages are added alongside model response messages (additive).""" + + class AddMessagesMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + custom_msg = HumanMessage(content="Custom message", id="custom") + return ExtendedModelResponse( + model_response=response, + command=Command(update={"messages": [custom_msg]}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[AddMessagesMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage(content="Hi")]}) + + # Both model response AND command messages appear (additive via add_messages) + messages = result["messages"] + assert len(messages) == 3 + assert messages[0].content == "Hi" + assert messages[1].content == "Hello!" + assert messages[2].content == "Custom message" + + def test_command_with_extra_messages_and_model_response(self) -> None: + """Middleware can add extra messages via command alongside model messages.""" + + class ExtraMessagesMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + summary = HumanMessage(content="Summary", id="summary") + return ExtendedModelResponse( + model_response=response, + command=Command(update={"messages": [summary]}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[ExtraMessagesMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage(content="Hi")]}) + + messages = result["messages"] + assert len(messages) == 3 + assert messages[0].content == "Hi" + assert messages[1].content == "Hello!" + assert messages[2].content == "Summary" + + def test_command_structured_response_conflicts_with_model_response(self) -> None: + """Command and model response both setting structured_response raises.""" + + class OverrideMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + response_with_structured = ModelResponse( + result=response.result, + structured_response={"from": "model"}, + ) + return ExtendedModelResponse( + model_response=response_with_structured, + command=Command( + update={ + "structured_response": {"from": "command"}, + } + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Model msg")])) + agent = create_agent(model=model, middleware=[OverrideMiddleware()]) + + # Two Commands both setting structured_response (a LastValue channel) + # in the same step raises InvalidUpdateError + with pytest.raises(InvalidUpdateError): + agent.invoke({"messages": [HumanMessage("Hi")]}) + + def test_command_with_custom_state_field(self) -> None: + """When command updates a custom field, model response messages are preserved.""" + + class CustomFieldMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"custom_key": "custom_value"}), + ) + + class CustomState(AgentState): + custom_key: str + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent( + model=model, + middleware=[CustomFieldMiddleware()], + state_schema=CustomState, + ) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert result["messages"][-1].content == "Hello" + + +class TestCustomStateField: + """Test ExtendedModelResponse with custom state fields defined via state_schema.""" + + def test_custom_field_via_state_schema(self) -> None: + """Middleware updates a custom state field via ExtendedModelResponse.""" + + class MyState(AgentState): + summary: str + + class SummaryMiddleware(AgentMiddleware): + state_schema = MyState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"summary": "conversation summarized"}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model, middleware=[SummaryMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert result["messages"][-1].content == "Hello" + + def test_no_command(self) -> None: + """ExtendedModelResponse with no command works like ModelResponse.""" + + class NoCommandMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model, middleware=[NoCommandMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Hello" + + +class TestBackwardsCompatibility: + """Test that existing ModelResponse and AIMessage returns still work.""" + + def test_model_response_return_unchanged(self) -> None: + """Existing middleware returning ModelResponse works identically.""" + + class PassthroughMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + return handler(request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model, middleware=[PassthroughMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Hello" + + def test_ai_message_return_unchanged(self) -> None: + """Existing middleware returning AIMessage works identically.""" + + class ShortCircuitMiddleware(AgentMiddleware): + @override + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> AIMessage: + return AIMessage(content="Short-circuited") + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Should not appear")])) + agent = create_agent(model=model, middleware=[ShortCircuitMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Short-circuited" + + def test_no_middleware_unchanged(self) -> None: + """Agent without middleware works identically.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Hello" + + +class TestAsyncExtendedModelResponse: + """Test async variant of ExtendedModelResponse.""" + + async def test_async_command_adds_messages(self) -> None: + """awrap_model_call command adds messages alongside model response.""" + + class AsyncAddMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + custom = HumanMessage(content="Async custom", id="async-custom") + return ExtendedModelResponse( + model_response=response, + command=Command(update={"messages": [custom]}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Async hello!")])) + agent = create_agent(model=model, middleware=[AsyncAddMiddleware()]) + + result = await agent.ainvoke({"messages": [HumanMessage(content="Hi")]}) + + # Both model response and command messages are present (additive) + messages = result["messages"] + assert len(messages) == 3 + assert messages[0].content == "Hi" + assert messages[1].content == "Async hello!" + assert messages[2].content == "Async custom" + + async def test_async_decorator_command(self) -> None: + """@wrap_model_call async decorator returns ExtendedModelResponse with command.""" + + @wrap_model_call + async def command_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={ + "messages": [ + HumanMessage(content="Decorator msg", id="dec"), + ] + } + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Async response")])) + agent = create_agent(model=model, middleware=[command_middleware]) + + result = await agent.ainvoke({"messages": [HumanMessage(content="Hi")]}) + + messages = result["messages"] + assert len(messages) == 3 + assert messages[1].content == "Async response" + assert messages[2].content == "Decorator msg" + + +class TestComposition: + """Test ExtendedModelResponse with composed middleware. + + Key semantics: Commands are collected inner-first, then outer. + For non-reducer fields, later Commands overwrite (outer wins). + For reducer fields (messages), all Commands are additive. + """ + + def test_outer_command_messages_added_alongside_model(self) -> None: + """Outer middleware's command messages are added alongside model messages.""" + execution_order: list[str] = [] + + class OuterMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + execution_order.append("outer-before") + response = handler(request) + execution_order.append("outer-after") + return ExtendedModelResponse( + model_response=response, + command=Command( + update={"messages": [HumanMessage(content="Outer msg", id="outer-msg")]} + ), + ) + + class InnerMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + execution_order.append("inner-before") + response = handler(request) + execution_order.append("inner-after") + return response + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Composed")])) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + # Execution order: outer wraps inner + assert execution_order == [ + "outer-before", + "inner-before", + "inner-after", + "outer-after", + ] + + # Model messages + outer command messages (additive) + messages = result["messages"] + assert len(messages) == 3 + assert messages[0].content == "Hi" + assert messages[1].content == "Composed" + assert messages[2].content == "Outer msg" + + def test_inner_command_propagated_through_composition(self) -> None: + """Inner middleware's ExtendedModelResponse command is propagated. + + When inner middleware returns ExtendedModelResponse, its command is + captured before normalizing to ModelResponse at the composition boundary + and collected into the final result. + """ + + class OuterMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + # Outer sees a ModelResponse from handler (inner's ExtendedModelResponse + # was normalized at the composition boundary) + response = handler(request) + assert isinstance(response, ModelResponse) + return response + + class InnerMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={ + "messages": [ + HumanMessage(content="Inner msg", id="inner"), + ] + } + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + # Model messages + inner command messages (additive) + messages = result["messages"] + assert len(messages) == 3 + assert messages[0].content == "Hi" + assert messages[1].content == "Hello" + assert messages[2].content == "Inner msg" + + def test_non_reducer_key_conflict_raises(self) -> None: + """Multiple Commands setting the same non-reducer key raises. + + LastValue channels (like custom_key) can only receive one value per + step. Inner and outer both setting the same key is an error. + """ + + class MyState(AgentState): + custom_key: str + + class OuterMiddleware(AgentMiddleware): + state_schema = MyState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={ + "messages": [HumanMessage(content="Outer msg", id="outer")], + "custom_key": "outer_value", + } + ), + ) + + class InnerMiddleware(AgentMiddleware): + state_schema = MyState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={ + "messages": [HumanMessage(content="Inner msg", id="inner")], + "custom_key": "inner_value", + } + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + # Two Commands both setting custom_key (a LastValue channel) + # in the same step raises InvalidUpdateError + with pytest.raises(InvalidUpdateError): + agent.invoke({"messages": [HumanMessage("Hi")]}) + + def test_inner_state_preserved_when_outer_has_no_conflict(self) -> None: + """Inner's command keys are preserved when outer doesn't conflict.""" + + class MyState(AgentState): + inner_key: str + outer_key: str + + class OuterMiddleware(AgentMiddleware): + state_schema = MyState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"outer_key": "from_outer"}), + ) + + class InnerMiddleware(AgentMiddleware): + state_schema = MyState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"inner_key": "from_inner"}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + # Both keys survive since there's no conflict + messages = result["messages"] + assert messages[-1].content == "Hello" + + def test_inner_command_retry_safe(self) -> None: + """When outer retries, only the last inner command is used.""" + call_count = 0 + + class MyState(AgentState): + attempt: str + + class OuterMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + # Call handler twice (simulating retry) + handler(request) + return handler(request) + + class InnerMiddleware(AgentMiddleware): + state_schema = MyState + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + nonlocal call_count + call_count += 1 + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"attempt": f"attempt_{call_count}"}), + ) + + model = GenericFakeChatModel( + messages=iter([AIMessage(content="First"), AIMessage(content="Second")]) + ) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + # Only the last retry's inner state should survive + messages = result["messages"] + assert messages[-1].content == "Second" + + def test_decorator_returns_wrap_result(self) -> None: + """@wrap_model_call decorator can return ExtendedModelResponse with command.""" + + @wrap_model_call + def command_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={ + "messages": [ + HumanMessage(content="From decorator", id="dec"), + ] + } + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Model response")])) + agent = create_agent(model=model, middleware=[command_middleware]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + messages = result["messages"] + assert len(messages) == 3 + assert messages[1].content == "Model response" + assert messages[2].content == "From decorator" + + def test_structured_response_preserved(self) -> None: + """ExtendedModelResponse preserves structured_response from ModelResponse.""" + + class StructuredMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + response_with_structured = ModelResponse( + result=response.result, + structured_response={"key": "value"}, + ) + return ExtendedModelResponse( + model_response=response_with_structured, + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent(model=model, middleware=[StructuredMiddleware()]) + + result = agent.invoke({"messages": [HumanMessage("Hi")]}) + + assert result.get("structured_response") == {"key": "value"} + messages = result["messages"] + assert len(messages) == 2 + assert messages[1].content == "Hello" + + +class TestAsyncComposition: + """Test async ExtendedModelResponse propagation through composed middleware.""" + + async def test_async_inner_command_propagated(self) -> None: + """Async: inner middleware's ExtendedModelResponse command is propagated.""" + + class OuterMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelResponse: + response = await handler(request) + assert isinstance(response, ModelResponse) + return response + + class InnerMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={ + "messages": [ + HumanMessage(content="Inner msg", id="inner"), + ] + } + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Hi")]}) + + # Model messages + inner command messages (additive) + messages = result["messages"] + assert len(messages) == 3 + assert messages[0].content == "Hi" + assert messages[1].content == "Hello" + assert messages[2].content == "Inner msg" + + async def test_async_both_commands_additive_messages(self) -> None: + """Async: both inner and outer command messages are added alongside model.""" + + class OuterMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={"messages": [HumanMessage(content="Outer msg", id="outer")]} + ), + ) + + class InnerMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command( + update={"messages": [HumanMessage(content="Inner msg", id="inner")]} + ), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Hi")]}) + + # All messages additive: model + inner + outer + messages = result["messages"] + assert len(messages) == 4 + assert messages[0].content == "Hi" + assert messages[1].content == "Hello" + assert messages[2].content == "Inner msg" + assert messages[3].content == "Outer msg" + + async def test_async_inner_command_retry_safe(self) -> None: + """Async: when outer retries, only last inner command is used.""" + call_count = 0 + + class MyState(AgentState): + attempt: str + + class OuterMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ModelResponse: + # Call handler twice (simulating retry) + await handler(request) + return await handler(request) + + class InnerMiddleware(AgentMiddleware): + state_schema = MyState + + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + nonlocal call_count + call_count += 1 + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(update={"attempt": f"attempt_{call_count}"}), + ) + + model = GenericFakeChatModel( + messages=iter([AIMessage(content="First"), AIMessage(content="Second")]) + ) + agent = create_agent( + model=model, + middleware=[OuterMiddleware(), InnerMiddleware()], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Hi")]}) + + messages = result["messages"] + assert any(m.content == "Second" for m in messages) + + +class TestCommandGotoDisallowed: + """Test that Command goto raises NotImplementedError in wrap_model_call.""" + + def test_command_goto_raises_not_implemented(self) -> None: + """Command with goto in wrap_model_call raises NotImplementedError.""" + + class GotoMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(goto="__end__"), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[GotoMiddleware()]) + + with pytest.raises(NotImplementedError, match="Command goto is not yet supported"): + agent.invoke({"messages": [HumanMessage(content="Hi")]}) + + async def test_async_command_goto_raises_not_implemented(self) -> None: + """Async: Command with goto in wrap_model_call raises NotImplementedError.""" + + class AsyncGotoMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(goto="tools"), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[AsyncGotoMiddleware()]) + + with pytest.raises(NotImplementedError, match="Command goto is not yet supported"): + await agent.ainvoke({"messages": [HumanMessage(content="Hi")]}) + + +class TestCommandResumeDisallowed: + """Test that Command resume raises NotImplementedError in wrap_model_call.""" + + def test_command_resume_raises_not_implemented(self) -> None: + """Command with resume in wrap_model_call raises NotImplementedError.""" + + class ResumeMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(resume="some_value"), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[ResumeMiddleware()]) + + with pytest.raises(NotImplementedError, match="Command resume is not yet supported"): + agent.invoke({"messages": [HumanMessage(content="Hi")]}) + + async def test_async_command_resume_raises_not_implemented(self) -> None: + """Async: Command with resume in wrap_model_call raises NotImplementedError.""" + + class AsyncResumeMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(resume="some_value"), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[AsyncResumeMiddleware()]) + + with pytest.raises(NotImplementedError, match="Command resume is not yet supported"): + await agent.ainvoke({"messages": [HumanMessage(content="Hi")]}) + + +class TestCommandGraphDisallowed: + """Test that Command graph raises NotImplementedError in wrap_model_call.""" + + def test_command_graph_raises_not_implemented(self) -> None: + """Command with graph in wrap_model_call raises NotImplementedError.""" + + class GraphMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ExtendedModelResponse: + response = handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(graph=Command.PARENT, update={"messages": []}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[GraphMiddleware()]) + + with pytest.raises(NotImplementedError, match="Command graph is not yet supported"): + agent.invoke({"messages": [HumanMessage(content="Hi")]}) + + async def test_async_command_graph_raises_not_implemented(self) -> None: + """Async: Command with graph in wrap_model_call raises NotImplementedError.""" + + class AsyncGraphMiddleware(AgentMiddleware): + async def awrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], Awaitable[ModelResponse]], + ) -> ExtendedModelResponse: + response = await handler(request) + return ExtendedModelResponse( + model_response=response, + command=Command(graph=Command.PARENT, update={"messages": []}), + ) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello!")])) + agent = create_agent(model=model, middleware=[AsyncGraphMiddleware()]) + + with pytest.raises(NotImplementedError, match="Command graph is not yet supported"): + await agent.ainvoke({"messages": [HumanMessage(content="Hi")]}) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_tool_call.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_tool_call.py new file mode 100644 index 0000000000000000000000000000000000000000..9620bf400e50d464ac0c8a89ca3fcd39b3822a51 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/core/test_wrap_tool_call.py @@ -0,0 +1,867 @@ +"""Tests for wrap_tool_call decorator functionality. + +These tests verify the decorator-based approach for wrapping tool calls, +focusing on the handler pattern (not generators). +""" + +import time +from collections.abc import Callable +from typing import Any + +from langchain_core.messages import HumanMessage, ToolCall, ToolMessage +from langchain_core.tools import BaseTool, tool +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.types import Command + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import ToolCallRequest, wrap_tool_call +from tests.unit_tests.agents.model import FakeToolCallingModel + + +@tool +def search(query: str) -> str: + """Search for information.""" + return f"Results for: {query}" + + +@tool +def calculator(expression: str) -> str: + """Calculate an expression.""" + return f"Calculated: {expression}" + + +@tool +def failing_tool(value: str) -> str: + """Tool that always fails.""" + msg = f"Failed: {value}" + raise ValueError(msg) + + +def test_wrap_tool_call_basic_passthrough() -> None: + """Test basic passthrough with wrap_tool_call decorator.""" + call_log = [] + + @wrap_tool_call + def passthrough( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("called") + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[passthrough], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search for test")]}, + {"configurable": {"thread_id": "test"}}, + ) + + assert len(call_log) == 1 + assert call_log[0] == "called" + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Results for: test" in tool_messages[0].content + + +def test_wrap_tool_call_logging() -> None: + """Test logging tool call execution with wrap_tool_call decorator.""" + call_log = [] + + @wrap_tool_call + def logging_middleware( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + assert isinstance(request.tool, BaseTool) + call_log.append(f"before_{request.tool.name}") + response = handler(request) + call_log.append(f"after_{request.tool.name}") + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[logging_middleware], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + assert call_log == ["before_search", "after_search"] + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + +def test_wrap_tool_call_modify_args() -> None: + """Test modifying tool arguments with wrap_tool_call decorator.""" + + @wrap_tool_call + def modify_args( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + assert isinstance(request.tool, BaseTool) + # Modify the query argument before execution + if request.tool.name == "search": + request.tool_call["args"]["query"] = "modified query" + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "original"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[modify_args], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "modified query" in tool_messages[0].content + + +def test_wrap_tool_call_access_state() -> None: + """Test accessing agent state from wrap_tool_call decorator.""" + state_data = [] + + @wrap_tool_call + def access_state( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + # Access state from request + if request.state is not None: + messages = request.state.get("messages", []) + state_data.append(len(messages)) + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[access_state], + checkpointer=InMemorySaver(), + ) + + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Middleware should have accessed state + assert len(state_data) >= 1 + assert state_data[0] > 0 # Should have at least the initial message + + +def test_wrap_tool_call_access_runtime() -> None: + """Test accessing runtime from wrap_tool_call decorator.""" + runtime_data = [] + + @wrap_tool_call + def access_runtime( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + # Access runtime from request + if request.runtime is not None: + # Runtime object is available (has context, store, stream_writer, previous) + runtime_data.append(type(request.runtime).__name__) + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[access_runtime], + checkpointer=InMemorySaver(), + ) + + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test_thread"}}, + ) + + # Middleware should have accessed runtime + assert len(runtime_data) >= 1 + assert runtime_data[0] == "ToolRuntime" + + +def test_wrap_tool_call_retry_on_error() -> None: + """Test retry logic with wrap_tool_call decorator on failing tool.""" + attempt_counts = [] + + @wrap_tool_call + def retry_middleware( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + max_retries = 3 + last_error = None + for attempt in range(max_retries): + attempt_counts.append(attempt) + try: + return handler(request) + except Exception as e: + last_error = e + if attempt == max_retries - 1: + # Return error message instead of raising + return ToolMessage( + content=f"Error after {max_retries} attempts: {last_error}", + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + status="error", + ) + # Continue to retry + # This line should never be reached due to return above + return ToolMessage( + content=f"Unexpected error: {last_error}", + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + status="error", + ) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry_middleware], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Should attempt 3 times before giving up + assert len(attempt_counts) == 3 + assert attempt_counts == [0, 1, 2] + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Error after 3 attempts" in tool_messages[0].content + + +def test_wrap_tool_call_short_circuit() -> None: + """Test short-circuiting tool execution with wrap_tool_call decorator.""" + handler_called = [] + + @wrap_tool_call + def short_circuit( + request: ToolCallRequest, *_args: Any, **_kwargs: Any + ) -> ToolMessage | Command[Any]: + # Don't call handler, return custom response directly + handler_called.append(False) + return ToolMessage( + content="short_circuit_result", + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + ) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[short_circuit], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Handler was not called + assert len(handler_called) == 1 + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "short_circuit_result" in tool_messages[0].content + + +def test_wrap_tool_call_response_modification() -> None: + """Test modifying tool response with wrap_tool_call decorator.""" + + @wrap_tool_call + def modify_response( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + response = handler(request) + + # Modify the response + if isinstance(response, ToolMessage): + return ToolMessage( + content=f"MODIFIED: {response.content}", + tool_call_id=response.tool_call_id, + name=response.name, + ) + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[modify_response], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "MODIFIED: Results for: test" in tool_messages[0].content + + +def test_wrap_tool_call_multiple_middleware_composition() -> None: + """Test multiple wrap_tool_call middleware compose correctly.""" + call_log = [] + + @wrap_tool_call + def outer_middleware( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("outer_before") + response = handler(request) + call_log.append("outer_after") + return response + + @wrap_tool_call + def inner_middleware( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("inner_before") + response = handler(request) + call_log.append("inner_after") + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + # First middleware in list is outermost + agent = create_agent( + model=model, + tools=[search], + middleware=[outer_middleware, inner_middleware], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify correct composition order + assert call_log == ["outer_before", "inner_before", "inner_after", "outer_after"] + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + +def test_wrap_tool_call_multiple_tools() -> None: + """Test wrap_tool_call handles multiple tool calls correctly.""" + call_log = [] + + @wrap_tool_call + def log_tool_calls( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + assert isinstance(request.tool, BaseTool) + call_log.append(request.tool.name) + return handler(request) + + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="search", args={"query": "test"}, id="1"), + ToolCall(name="calculator", args={"expression": "1+1"}, id="2"), + ], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search, calculator], + middleware=[log_tool_calls], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use tools")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Both tools should be logged + assert "search" in call_log + assert "calculator" in call_log + assert len(call_log) == 2 + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 2 + + +def test_wrap_tool_call_with_custom_name() -> None: + """Test wrap_tool_call decorator with custom middleware name.""" + + @wrap_tool_call(name="CustomToolWrapper") + def my_wrapper( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + return handler(request) + + # Verify custom name was applied + assert my_wrapper.__class__.__name__ == "CustomToolWrapper" + + +def test_wrap_tool_call_with_tools_parameter() -> None: + """Test wrap_tool_call decorator with tools parameter.""" + + @tool + def extra_tool(value: str) -> str: + """Extra tool registered with middleware.""" + return f"Extra: {value}" + + @wrap_tool_call(tools=[extra_tool]) + def wrapper_with_tools( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + return handler(request) + + # Verify tools were registered + assert wrapper_with_tools.tools == [extra_tool] + + +def test_wrap_tool_call_three_levels_composition() -> None: + """Test composition with three wrap_tool_call middleware levels.""" + call_log = [] + + @wrap_tool_call(name="OuterWrapper") + def outer( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("outer_before") + response = handler(request) + call_log.append("outer_after") + return response + + @wrap_tool_call(name="MiddleWrapper") + def middle( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("middle_before") + response = handler(request) + call_log.append("middle_after") + return response + + @wrap_tool_call(name="InnerWrapper") + def inner( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("inner_before") + response = handler(request) + call_log.append("inner_after") + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[outer, middle, inner], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify correct nesting order + assert call_log == [ + "outer_before", + "middle_before", + "inner_before", + "inner_after", + "middle_after", + "outer_after", + ] + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + +def test_wrap_tool_call_outer_intercepts_inner() -> None: + """Test composition where outer middleware intercepts inner response.""" + call_log = [] + + @wrap_tool_call(name="InterceptingOuter") + def intercepting_outer( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("outer_before") + handler(request) + call_log.append("outer_after") + + # Return modified message + return ToolMessage( + content="Outer intercepted", + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + ) + + @wrap_tool_call(name="InnerWrapper") + def inner( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("inner_called") + response = handler(request) + call_log.append("inner_got_response") + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[intercepting_outer, inner], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Both should be called, outer intercepts the response + assert call_log == [ + "outer_before", + "inner_called", + "inner_got_response", + "outer_after", + ] + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Outer intercepted" in tool_messages[0].content + + +def test_wrap_tool_call_inner_short_circuits() -> None: + """Test composition when inner middleware short-circuits.""" + call_log = [] + + @wrap_tool_call(name="OuterWrapper") + def outer( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("outer_before") + response = handler(request) + call_log.append("outer_after") + + # Wrap inner's response + if isinstance(response, ToolMessage): + return ToolMessage( + content=f"outer_wrapped: {response.content}", + tool_call_id=response.tool_call_id, + name=response.name, + ) + return response + + @wrap_tool_call(name="InnerShortCircuit") + def inner_short_circuit( + request: ToolCallRequest, *_args: Any, **_kwargs: Any + ) -> ToolMessage | Command[Any]: + call_log.append("inner_short_circuit") + # Don't call handler, return custom response + return ToolMessage( + content="inner_result", + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + ) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[outer, inner_short_circuit], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify order: outer_before -> inner short circuits -> outer_after + assert call_log == ["outer_before", "inner_short_circuit", "outer_after"] + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "outer_wrapped: inner_result" in tool_messages[0].content + + +def test_wrap_tool_call_mixed_passthrough_and_intercepting() -> None: + """Test composition with mix of pass-through and intercepting handlers.""" + call_log = [] + + @wrap_tool_call(name="FirstPassthrough") + def first_passthrough( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("first_before") + response = handler(request) + call_log.append("first_after") + return response + + @wrap_tool_call(name="SecondIntercepting") + def second_intercepting( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("second_intercept") + # Call handler but ignore result + _ = handler(request) + # Return custom result + return ToolMessage( + content="intercepted_result", + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + ) + + @wrap_tool_call(name="ThirdPassthrough") + def third_passthrough( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + call_log.append("third_called") + response = handler(request) + call_log.append("third_after") + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[first_passthrough, second_intercepting, third_passthrough], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # All middleware are called, second intercepts and returns custom result + assert call_log == [ + "first_before", + "second_intercept", + "third_called", + "third_after", + "first_after", + ] + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "intercepted_result" in tool_messages[0].content + + +def test_wrap_tool_call_uses_function_name_as_default() -> None: + """Test that wrap_tool_call uses function name as default middleware name.""" + + @wrap_tool_call + def my_custom_wrapper( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + return handler(request) + + # Verify that function name is used as middleware class name + assert my_custom_wrapper.__class__.__name__ == "my_custom_wrapper" + + +def test_wrap_tool_call_caching_pattern() -> None: + """Test caching pattern with wrap_tool_call decorator.""" + cache: dict[tuple[str, str], Any] = {} + handler_calls = [] + + @wrap_tool_call + def with_cache( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + assert isinstance(request.tool, BaseTool) + # Create cache key from tool name and args + cache_key = (request.tool.name, str(request.tool_call["args"])) + + # Check cache + if cache_key in cache: + return ToolMessage( + content=cache[cache_key], + tool_call_id=request.tool_call["id"], + name=request.tool_call["name"], + ) + + # Execute tool and cache result + handler_calls.append("executed") + response = handler(request) + + if isinstance(response, ToolMessage): + cache[cache_key] = response.content + + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [ToolCall(name="search", args={"query": "test"}, id="2")], # Same query + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[with_cache], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Search twice")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Handler should only be called once (second call uses cache) + assert len(handler_calls) == 1 + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + # Both tool calls should have messages + assert len(tool_messages) >= 1 + + +def test_wrap_tool_call_monitoring_pattern() -> None: + """Test monitoring pattern with wrap_tool_call decorator.""" + metrics = [] + + @wrap_tool_call + def monitor_execution( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + start_time = time.time() + response = handler(request) + execution_time = time.time() - start_time + + assert isinstance(request.tool, BaseTool) + assert isinstance(response, ToolMessage) + assert isinstance(response.content, str) + metrics.append( + { + "tool": request.tool.name, + "execution_time": execution_time, + "success": not response.content.startswith("Error:"), + } + ) + + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test"}, id="1")], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[search], + middleware=[monitor_execution], + checkpointer=InMemorySaver(), + ) + + agent.invoke( + {"messages": [HumanMessage("Search")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Metrics should be collected + assert len(metrics) == 1 + assert metrics[0]["tool"] == "search" + assert metrics[0]["success"] is True + assert isinstance(metrics[0]["execution_time"], float) + assert metrics[0]["execution_time"] >= 0 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_context_editing.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_context_editing.py new file mode 100644 index 0000000000000000000000000000000000000000..0220e078ce5743d01506fb18aaa5b1b6e4cb3557 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_context_editing.py @@ -0,0 +1,470 @@ +"""Tests for the ContextEditingMiddleware.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any, cast + +from langchain_core.language_models.fake_chat_models import FakeChatModel +from langchain_core.messages import ( + AIMessage, + AnyMessage, + BaseMessage, + MessageLikeRepresentation, + ToolMessage, +) +from typing_extensions import override + +from langchain.agents.middleware.context_editing import ( + ClearToolUsesEdit, + ContextEditingMiddleware, +) +from langchain.agents.middleware.types import ( + AgentState, + ModelRequest, + ModelResponse, +) + +if TYPE_CHECKING: + from collections.abc import Sequence + + from langgraph.runtime import Runtime + + +class _TokenCountingChatModel(FakeChatModel): + """Fake chat model that counts tokens deterministically for tests.""" + + @override + def get_num_tokens_from_messages( + self, + messages: list[BaseMessage], + tools: Sequence[Any] | None = None, + ) -> int: + return sum(_count_message_tokens(message) for message in messages) + + +def _count_message_tokens(message: MessageLikeRepresentation) -> int: + if isinstance(message, (AIMessage, ToolMessage)): + return _count_content(cast("MessageLikeRepresentation", message.content)) + if isinstance(message, str): + return len(message) + return len(str(message)) + + +def _count_content(content: MessageLikeRepresentation) -> int: + if isinstance(content, str): + return len(content) + if isinstance(content, list): + return sum(_count_content(block) for block in content) + if isinstance(content, dict): + return len(str(content)) + return len(str(content)) + + +def _make_state_and_request( + messages: list[AIMessage | ToolMessage], + *, + system_prompt: str | None = None, +) -> tuple[AgentState[Any], ModelRequest]: + model = _TokenCountingChatModel() + conversation: list[AnyMessage] = list(messages) + state = cast("AgentState[Any]", {"messages": conversation}) + request = ModelRequest( + model=model, + system_prompt=system_prompt, + messages=conversation, + tool_choice=None, + tools=[], + response_format=None, + state=state, + runtime=_fake_runtime(), + model_settings={}, + ) + return state, request + + +def test_no_edit_when_below_trigger() -> None: + tool_call_id = "call-1" + ai_message = AIMessage( + content="", + tool_calls=[{"id": tool_call_id, "name": "search", "args": {}}], + ) + tool_message = ToolMessage(content="12345", tool_call_id=tool_call_id) + + _state, request = _make_state_and_request([ai_message, tool_message]) + middleware = ContextEditingMiddleware( + edits=[ClearToolUsesEdit(trigger=50)], + ) + + modified_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call which creates a new request + middleware.wrap_model_call(request, mock_handler) + + # The modified request passed to handler should be the same since no edits applied + assert modified_request is not None + assert modified_request.messages[0].content == "" + assert modified_request.messages[1].content == "12345" + # Original request should be unchanged + assert request.messages[0].content == "" + assert request.messages[1].content == "12345" + + +def test_clear_tool_outputs_and_inputs() -> None: + tool_call_id = "call-2" + ai_message = AIMessage( + content=[ + {"type": "tool_call", "id": tool_call_id, "name": "search", "args": {"query": "foo"}} + ], + tool_calls=[{"id": tool_call_id, "name": "search", "args": {"query": "foo"}}], + ) + tool_message = ToolMessage(content="x" * 200, tool_call_id=tool_call_id) + + _state, request = _make_state_and_request([ai_message, tool_message]) + + edit = ClearToolUsesEdit( + trigger=50, + clear_at_least=10, + clear_tool_inputs=True, + keep=0, + placeholder="[cleared output]", + ) + middleware = ContextEditingMiddleware(edits=[edit]) + + modified_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call which creates a new request with edits + middleware.wrap_model_call(request, mock_handler) + + assert modified_request is not None + cleared_ai = modified_request.messages[0] + cleared_tool = modified_request.messages[1] + + assert isinstance(cleared_tool, ToolMessage) + assert cleared_tool.content == "[cleared output]" + assert cleared_tool.response_metadata["context_editing"]["cleared"] is True + + assert isinstance(cleared_ai, AIMessage) + assert cleared_ai.tool_calls[0]["args"] == {} + context_meta = cleared_ai.response_metadata.get("context_editing") + assert context_meta is not None + assert context_meta["cleared_tool_inputs"] == [tool_call_id] + + # Original request should be unchanged + request_ai_message = request.messages[0] + assert isinstance(request_ai_message, AIMessage) + assert request_ai_message.tool_calls[0]["args"] == {"query": "foo"} + assert request.messages[1].content == "x" * 200 + + +def test_respects_keep_last_tool_results() -> None: + conversation: list[AIMessage | ToolMessage] = [] + edits = [ + ("call-a", "tool-output-a" * 5), + ("call-b", "tool-output-b" * 5), + ("call-c", "tool-output-c" * 5), + ] + + for call_id, text in edits: + conversation.extend( + ( + AIMessage( + content="", + tool_calls=[{"id": call_id, "name": "tool", "args": {"input": call_id}}], + ), + ToolMessage(content=text, tool_call_id=call_id), + ) + ) + + _state, request = _make_state_and_request(conversation) + + middleware = ContextEditingMiddleware( + edits=[ + ClearToolUsesEdit( + trigger=50, + keep=1, + placeholder="[cleared]", + ) + ], + token_count_method="model", # noqa: S106 + ) + + modified_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call which creates a new request with edits + middleware.wrap_model_call(request, mock_handler) + + assert modified_request is not None + cleared_messages = [ + msg + for msg in modified_request.messages + if isinstance(msg, ToolMessage) and msg.content == "[cleared]" + ] + + assert len(cleared_messages) == 2 + assert isinstance(modified_request.messages[-1], ToolMessage) + assert modified_request.messages[-1].content != "[cleared]" + + +def test_exclude_tools_prevents_clearing() -> None: + search_call = "call-search" + calc_call = "call-calc" + + _state, request = _make_state_and_request( + [ + AIMessage( + content="", + tool_calls=[{"id": search_call, "name": "search", "args": {"query": "foo"}}], + ), + ToolMessage(content="search-results" * 20, tool_call_id=search_call), + AIMessage( + content="", + tool_calls=[{"id": calc_call, "name": "calculator", "args": {"a": 1, "b": 2}}], + ), + ToolMessage(content="42", tool_call_id=calc_call), + ] + ) + + middleware = ContextEditingMiddleware( + edits=[ + ClearToolUsesEdit( + trigger=50, + clear_at_least=10, + keep=0, + exclude_tools=("search",), + placeholder="[cleared]", + ) + ], + ) + + modified_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call which creates a new request with edits + middleware.wrap_model_call(request, mock_handler) + + assert modified_request is not None + search_tool = modified_request.messages[1] + calc_tool = modified_request.messages[3] + + assert isinstance(search_tool, ToolMessage) + assert search_tool.content == "search-results" * 20 + + assert isinstance(calc_tool, ToolMessage) + assert calc_tool.content == "[cleared]" + + +def _fake_runtime() -> Runtime: + return cast("Runtime", object()) + + +async def test_no_edit_when_below_trigger_async() -> None: + """Test async version of context editing with no edit when below trigger.""" + tool_call_id = "call-1" + ai_message = AIMessage( + content="", + tool_calls=[{"id": tool_call_id, "name": "search", "args": {}}], + ) + tool_message = ToolMessage(content="12345", tool_call_id=tool_call_id) + + _state, request = _make_state_and_request([ai_message, tool_message]) + middleware = ContextEditingMiddleware( + edits=[ClearToolUsesEdit(trigger=50)], + ) + + modified_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call awrap_model_call which creates a new request + await middleware.awrap_model_call(request, mock_handler) + + # The modified request passed to handler should be the same since no edits applied + assert modified_request is not None + assert modified_request.messages[0].content == "" + assert modified_request.messages[1].content == "12345" + # Original request should be unchanged + assert request.messages[0].content == "" + assert request.messages[1].content == "12345" + + +async def test_clear_tool_outputs_and_inputs_async() -> None: + """Test async version of clearing tool outputs and inputs.""" + tool_call_id = "call-2" + ai_message = AIMessage( + content=[ + {"type": "tool_call", "id": tool_call_id, "name": "search", "args": {"query": "foo"}} + ], + tool_calls=[{"id": tool_call_id, "name": "search", "args": {"query": "foo"}}], + ) + tool_message = ToolMessage(content="x" * 200, tool_call_id=tool_call_id) + + _state, request = _make_state_and_request([ai_message, tool_message]) + + edit = ClearToolUsesEdit( + trigger=50, + clear_at_least=10, + clear_tool_inputs=True, + keep=0, + placeholder="[cleared output]", + ) + middleware = ContextEditingMiddleware(edits=[edit]) + + modified_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call awrap_model_call which creates a new request with edits + await middleware.awrap_model_call(request, mock_handler) + + assert modified_request is not None + cleared_ai = modified_request.messages[0] + cleared_tool = modified_request.messages[1] + + assert isinstance(cleared_tool, ToolMessage) + assert cleared_tool.content == "[cleared output]" + assert cleared_tool.response_metadata["context_editing"]["cleared"] is True + + assert isinstance(cleared_ai, AIMessage) + assert cleared_ai.tool_calls[0]["args"] == {} + context_meta = cleared_ai.response_metadata.get("context_editing") + assert context_meta is not None + assert context_meta["cleared_tool_inputs"] == [tool_call_id] + + # Original request should be unchanged + request_ai_message = request.messages[0] + assert isinstance(request_ai_message, AIMessage) + assert request_ai_message.tool_calls[0]["args"] == {"query": "foo"} + assert request.messages[1].content == "x" * 200 + + +async def test_respects_keep_last_tool_results_async() -> None: + """Test async version respects keep parameter for last tool results.""" + conversation: list[AIMessage | ToolMessage] = [] + edits = [ + ("call-a", "tool-output-a" * 5), + ("call-b", "tool-output-b" * 5), + ("call-c", "tool-output-c" * 5), + ] + + for call_id, text in edits: + conversation.extend( + ( + AIMessage( + content="", + tool_calls=[{"id": call_id, "name": "tool", "args": {"input": call_id}}], + ), + ToolMessage(content=text, tool_call_id=call_id), + ) + ) + + _state, request = _make_state_and_request(conversation) + + middleware = ContextEditingMiddleware( + edits=[ + ClearToolUsesEdit( + trigger=50, + keep=1, + placeholder="[cleared]", + ) + ], + token_count_method="model", # noqa: S106 + ) + + modified_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call awrap_model_call which creates a new request with edits + await middleware.awrap_model_call(request, mock_handler) + + assert modified_request is not None + cleared_messages = [ + msg + for msg in modified_request.messages + if isinstance(msg, ToolMessage) and msg.content == "[cleared]" + ] + + assert len(cleared_messages) == 2 + assert isinstance(modified_request.messages[-1], ToolMessage) + assert modified_request.messages[-1].content != "[cleared]" + + +async def test_exclude_tools_prevents_clearing_async() -> None: + """Test async version of excluding tools from clearing.""" + search_call = "call-search" + calc_call = "call-calc" + + _state, request = _make_state_and_request( + [ + AIMessage( + content="", + tool_calls=[{"id": search_call, "name": "search", "args": {"query": "foo"}}], + ), + ToolMessage(content="search-results" * 20, tool_call_id=search_call), + AIMessage( + content="", + tool_calls=[{"id": calc_call, "name": "calculator", "args": {"a": 1, "b": 2}}], + ), + ToolMessage(content="42", tool_call_id=calc_call), + ] + ) + + middleware = ContextEditingMiddleware( + edits=[ + ClearToolUsesEdit( + trigger=50, + clear_at_least=10, + keep=0, + exclude_tools=("search",), + placeholder="[cleared]", + ) + ], + ) + + modified_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal modified_request + modified_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call awrap_model_call which creates a new request with edits + await middleware.awrap_model_call(request, mock_handler) + + assert modified_request is not None + search_tool = modified_request.messages[1] + calc_tool = modified_request.messages[3] + + assert isinstance(search_tool, ToolMessage) + assert search_tool.content == "search-results" * 20 + + assert isinstance(calc_tool, ToolMessage) + assert calc_tool.content == "[cleared]" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_file_search.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_file_search.py new file mode 100644 index 0000000000000000000000000000000000000000..c3a58936c2ae9a49a86ee43f93bfb0b723c411bd --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_file_search.py @@ -0,0 +1,603 @@ +"""Unit tests for file search middleware.""" + +import os +from pathlib import Path +from typing import Any + +import pytest +from langchain_core.tools import StructuredTool + +from langchain.agents.middleware.file_search import ( + FilesystemFileSearchMiddleware, + _expand_include_patterns, + _is_valid_include_pattern, + _is_within_root, + _match_include_pattern, +) + + +class TestFilesystemGrepSearch: + """Tests for filesystem-backed grep search.""" + + def test_grep_invalid_include_pattern(self, tmp_path: Path) -> None: + """Return error when include glob cannot be parsed.""" + (tmp_path / "example.py").write_text("print('hello')\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="print", include="*.{py") + + assert result == "Invalid include pattern" + + def test_ripgrep_command_uses_literal_pattern( + self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch + ) -> None: + """Ensure ripgrep receives pattern after `--` to avoid option parsing.""" + (tmp_path / "example.py").write_text("print('hello')\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=True) + + captured: dict[str, list[str]] = {} + + class DummyResult: + stdout = "" + + def fake_run(*args: Any, **_kwargs: Any) -> DummyResult: + cmd = args[0] + captured["cmd"] = cmd + return DummyResult() + + monkeypatch.setattr("langchain.agents.middleware.file_search.subprocess.run", fake_run) + + middleware._ripgrep_search("--pattern", "/", None) + + assert "cmd" in captured + cmd = captured["cmd"] + assert cmd[:2] == ["rg", "--json"] + assert "--" in cmd + separator_index = cmd.index("--") + assert cmd[separator_index + 1] == "--pattern" + + def test_grep_basic_search_python_fallback(self, tmp_path: Path) -> None: + """Test basic grep search using Python fallback.""" + (tmp_path / "file1.py").write_text("def hello():\n pass\n", encoding="utf-8") + (tmp_path / "file2.py").write_text("def world():\n pass\n", encoding="utf-8") + (tmp_path / "file3.txt").write_text("hello world\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="hello") + + assert "/file1.py" in result + assert "/file3.txt" in result + assert "/file2.py" not in result + + def test_grep_with_include_filter(self, tmp_path: Path) -> None: + """Test grep search with include pattern filter.""" + (tmp_path / "file1.py").write_text("def hello():\n pass\n", encoding="utf-8") + (tmp_path / "file2.txt").write_text("hello world\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="hello", include="*.py") + + assert "/file1.py" in result + assert "/file2.txt" not in result + + def test_grep_output_mode_content(self, tmp_path: Path) -> None: + """Test grep search with content output mode.""" + (tmp_path / "test.py").write_text("line1\nhello\nline3\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="hello", output_mode="content") + + assert "/test.py:2:hello" in result + + def test_grep_output_mode_count(self, tmp_path: Path) -> None: + """Test grep search with count output mode.""" + (tmp_path / "test.py").write_text("hello\nhello\nworld\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="hello", output_mode="count") + + assert "/test.py:2" in result + + def test_grep_invalid_regex_pattern(self, tmp_path: Path) -> None: + """Test grep search with invalid regex pattern.""" + (tmp_path / "test.py").write_text("hello\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="[invalid") + + assert "Invalid regex pattern" in result + + def test_grep_no_matches(self, tmp_path: Path) -> None: + """Test grep search with no matches.""" + (tmp_path / "test.py").write_text("hello\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="notfound") + + assert result == "No matches found" + + +class TestFilesystemGlobSearch: + """Tests for filesystem-backed glob search.""" + + def test_glob_basic_pattern(self, tmp_path: Path) -> None: + """Test basic glob pattern matching.""" + (tmp_path / "file1.py").write_text("content", encoding="utf-8") + (tmp_path / "file2.py").write_text("content", encoding="utf-8") + (tmp_path / "file3.txt").write_text("content", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.py") + + assert "/file1.py" in result + assert "/file2.py" in result + assert "/file3.txt" not in result + + def test_glob_recursive_pattern(self, tmp_path: Path) -> None: + """Test recursive glob pattern matching.""" + (tmp_path / "src").mkdir() + (tmp_path / "src" / "test.py").write_text("content", encoding="utf-8") + (tmp_path / "src" / "nested").mkdir() + (tmp_path / "src" / "nested" / "deep.py").write_text("content", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="**/*.py") + + assert "/src/test.py" in result + assert "/src/nested/deep.py" in result + + def test_glob_with_subdirectory_path(self, tmp_path: Path) -> None: + """Test glob search starting from subdirectory.""" + (tmp_path / "src").mkdir() + (tmp_path / "src" / "file1.py").write_text("content", encoding="utf-8") + (tmp_path / "other").mkdir() + (tmp_path / "other" / "file2.py").write_text("content", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.py", path="/src") + + assert "/src/file1.py" in result + assert "/other/file2.py" not in result + + def test_glob_no_matches(self, tmp_path: Path) -> None: + """Test glob search with no matches.""" + (tmp_path / "file.txt").write_text("content", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.py") + + assert result == "No files found" + + def test_glob_invalid_path(self, tmp_path: Path) -> None: + """Test glob search with non-existent path.""" + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.py", path="/nonexistent") + + assert result == "No files found" + + def test_glob_results_sorted_by_mtime_desc(self, tmp_path: Path) -> None: + """Results must be ordered newest-first, as documented.""" + # Create files in alphabetical order opposite to mtime order so the + # default Path.glob() ordering cannot coincidentally pass the assertion. + oldest = tmp_path / "a_oldest.txt" + middle = tmp_path / "b_middle.txt" + newest = tmp_path / "c_newest.txt" + for p in (oldest, middle, newest): + p.write_text("x", encoding="utf-8") + + # Explicit mtimes (seconds since epoch) — deterministic, no sleeps. + os.utime(oldest, (1_000_000, 1_000_000)) + os.utime(middle, (2_000_000, 2_000_000)) + os.utime(newest, (3_000_000, 3_000_000)) + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.txt") + + assert result.splitlines() == [ + "/c_newest.txt", + "/b_middle.txt", + "/a_oldest.txt", + ] + + +class TestPathTraversalSecurity: + """Security tests for path traversal protection.""" + + def test_path_traversal_with_double_dots(self, tmp_path: Path) -> None: + """Test that path traversal with .. is blocked.""" + (tmp_path / "allowed").mkdir() + (tmp_path / "allowed" / "file.txt").write_text("content", encoding="utf-8") + + # Create file outside root + parent = tmp_path.parent + (parent / "secret.txt").write_text("secret", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path / "allowed")) + + # Try to escape with .. + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.txt", path="/../") + + assert result == "No files found" + assert "secret" not in result + + def test_path_traversal_with_absolute_path(self, tmp_path: Path) -> None: + """Test that absolute paths outside root are blocked.""" + (tmp_path / "allowed").mkdir() + + # Create file outside root + (tmp_path / "secret.txt").write_text("secret", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path / "allowed")) + + # Try to access with absolute path + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.txt", path=str(tmp_path)) + + assert result == "No files found" + + def test_path_traversal_with_symlink(self, tmp_path: Path) -> None: + """Test that symlinks outside root are blocked.""" + (tmp_path / "allowed").mkdir() + (tmp_path / "secret.txt").write_text("secret", encoding="utf-8") + + # Create symlink from allowed dir to parent + try: + (tmp_path / "allowed" / "link").symlink_to(tmp_path) + except OSError: + pytest.skip("Symlink creation not supported") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path / "allowed")) + + # Try to access via symlink + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.txt", path="/link") + + assert result == "No files found" + + def test_validate_path_blocks_tilde(self, tmp_path: Path) -> None: + """Test that tilde paths are handled safely.""" + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.txt", path="~/") + + assert result == "No files found" + + def test_grep_path_traversal_protection(self, tmp_path: Path) -> None: + """Test that grep also protects against path traversal.""" + (tmp_path / "allowed").mkdir() + (tmp_path / "secret.txt").write_text("secret content", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware( + root_path=str(tmp_path / "allowed"), use_ripgrep=False + ) + + # Try to search outside root + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="secret", path="/../") + + assert result == "No matches found" + assert "secret" not in result + + +class TestGlobPatternTraversalSecurity: + """Security tests for the glob `pattern` argument (not just the base `path`).""" + + def test_glob_pattern_with_double_dots_rejected(self, tmp_path: Path) -> None: + """A glob pattern containing `..` must not escape the root.""" + root = tmp_path / "root" + root.mkdir() + (root / "inside.txt").write_text("inside", encoding="utf-8") + # Secret lives outside the root. + (tmp_path / "passwd").write_text("secret", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="../passwd") + + assert result == "No files found" + assert "secret" not in result + assert "passwd" not in result + + def test_glob_pattern_absolute_rejected(self, tmp_path: Path) -> None: + """A glob pattern that is an absolute path must be rejected.""" + root = tmp_path / "root" + root.mkdir() + (root / "inside.txt").write_text("inside", encoding="utf-8") + secret = tmp_path / "secret.txt" + secret.write_text("secret", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern=str(secret)) + + assert result == "No files found" + + def test_glob_pattern_tilde_rejected(self, tmp_path: Path) -> None: + """A glob pattern containing `~` must be rejected.""" + root = tmp_path / "root" + root.mkdir() + (root / "inside.txt").write_text("inside", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="~/secret") + + assert result == "No files found" + + def test_glob_normal_pattern_still_works(self, tmp_path: Path) -> None: + """A normal in-root pattern must still return expected results.""" + root = tmp_path / "root" + root.mkdir() + (root / "keep.py").write_text("content", encoding="utf-8") + (root / "skip.txt").write_text("content", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.py") + + assert "/keep.py" in result + assert "/skip.txt" not in result + + def test_glob_does_not_follow_inside_symlink_to_outside(self, tmp_path: Path) -> None: + """A symlink inside the root pointing outside must not be enumerated by glob.""" + root = tmp_path / "root" + root.mkdir() + outside = tmp_path / "outside.txt" + outside.write_text("secret-outside", encoding="utf-8") + + try: + (root / "link.txt").symlink_to(outside) + except OSError: + pytest.skip("Symlink creation not supported") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root)) + + assert isinstance(middleware.glob_search, StructuredTool) + assert middleware.glob_search.func is not None + result = middleware.glob_search.func(pattern="*.txt") + + # The symlinked entry resolves outside root, so it must be excluded. + assert "/link.txt" not in result + assert result == "No files found" + + +class TestGrepSymlinkContainment: + """Security tests that grep does not surface out-of-root files via symlinks.""" + + def test_python_grep_does_not_read_inside_symlink_to_outside(self, tmp_path: Path) -> None: + """Python-fallback grep must not read a symlink inside root pointing outside.""" + root = tmp_path / "root" + root.mkdir() + (root / "inside.txt").write_text("nothing-here\n", encoding="utf-8") + outside = tmp_path / "outside.txt" + outside.write_text("TOPSECRET\n", encoding="utf-8") + + try: + (root / "link.txt").symlink_to(outside) + except OSError: + pytest.skip("Symlink creation not supported") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="TOPSECRET", output_mode="content") + + assert "TOPSECRET" not in result + assert "/link.txt" not in result + assert result == "No matches found" + + def test_python_grep_normal_search_still_works(self, tmp_path: Path) -> None: + """A normal in-root grep must still return expected results.""" + root = tmp_path / "root" + root.mkdir() + (root / "a.py").write_text("needle here\n", encoding="utf-8") + (root / "b.py").write_text("nothing\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(root), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="needle") + + assert "/a.py" in result + assert "/b.py" not in result + + +class TestIsWithinRoot: + """Tests for the private `_is_within_root` helper.""" + + def test_in_root_path_is_within(self, tmp_path: Path) -> None: + """A file inside the root is reported as within.""" + root = tmp_path / "root" + root.mkdir() + candidate = root / "file.txt" + candidate.write_text("x", encoding="utf-8") + + assert _is_within_root(candidate, root) is True + + def test_outside_path_is_not_within(self, tmp_path: Path) -> None: + """A file outside the root is reported as not within.""" + root = tmp_path / "root" + root.mkdir() + outside = tmp_path / "outside.txt" + outside.write_text("x", encoding="utf-8") + + assert _is_within_root(outside, root) is False + + def test_symlink_escaping_root_is_not_within(self, tmp_path: Path) -> None: + """A symlink inside the root that resolves outside is not within.""" + root = tmp_path / "root" + root.mkdir() + outside = tmp_path / "outside.txt" + outside.write_text("x", encoding="utf-8") + try: + link = root / "link.txt" + link.symlink_to(outside) + except OSError: + pytest.skip("Symlink creation not supported") + + assert _is_within_root(link, root) is False + + +class TestExpandIncludePatterns: + """Tests for _expand_include_patterns helper function.""" + + def test_expand_patterns_basic_brace_expansion(self) -> None: + """Test basic brace expansion with multiple options.""" + result = _expand_include_patterns("*.{py,txt}") + assert result == ["*.py", "*.txt"] + + def test_expand_patterns_nested_braces(self) -> None: + """Test nested brace expansion.""" + result = _expand_include_patterns("test.{a,b}.{c,d}") + assert result is not None + assert len(result) == 4 + assert "test.a.c" in result + assert "test.b.d" in result + + @pytest.mark.parametrize( + "pattern", + [ + "*.py}", # closing brace without opening + "*.{}", # empty braces + "*.{py", # unclosed brace + ], + ) + def test_expand_patterns_invalid_braces(self, pattern: str) -> None: + """Test patterns with invalid brace syntax return None.""" + result = _expand_include_patterns(pattern) + assert result is None + + +class TestValidateIncludePattern: + """Tests for _is_valid_include_pattern helper function.""" + + @pytest.mark.parametrize( + "pattern", + [ + "", # empty pattern + "*.py\x00", # null byte + "*.py\n", # newline + ], + ) + def test_validate_invalid_patterns(self, pattern: str) -> None: + """Test that invalid patterns are rejected.""" + assert not _is_valid_include_pattern(pattern) + + +class TestMatchIncludePattern: + """Tests for _match_include_pattern helper function.""" + + def test_match_pattern_with_braces(self) -> None: + """Test matching with brace expansion.""" + assert _match_include_pattern("test.py", "*.{py,txt}") + assert _match_include_pattern("test.txt", "*.{py,txt}") + assert not _match_include_pattern("test.md", "*.{py,txt}") + + def test_match_pattern_invalid_expansion(self) -> None: + """Test matching with pattern that cannot be expanded returns False.""" + assert not _match_include_pattern("test.py", "*.{}") + + +class TestGrepEdgeCases: + """Tests for edge cases in grep search.""" + + def test_grep_with_special_chars_in_pattern(self, tmp_path: Path) -> None: + """Test grep with special characters in pattern.""" + (tmp_path / "test.py").write_text("def test():\n pass\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="def.*:") + + assert "/test.py" in result + + def test_grep_case_insensitive(self, tmp_path: Path) -> None: + """Test grep with case-insensitive search.""" + (tmp_path / "test.py").write_text("HELLO world\n", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware(root_path=str(tmp_path), use_ripgrep=False) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="(?i)hello") + + assert "/test.py" in result + + def test_grep_with_large_file_skipping(self, tmp_path: Path) -> None: + """Test that grep skips files larger than max_file_size_mb.""" + # Create a file larger than 1MB + large_content = "x" * (2 * 1024 * 1024) # 2MB + (tmp_path / "large.txt").write_text(large_content, encoding="utf-8") + (tmp_path / "small.txt").write_text("x", encoding="utf-8") + + middleware = FilesystemFileSearchMiddleware( + root_path=str(tmp_path), + use_ripgrep=False, + max_file_size_mb=1, # 1MB limit + ) + + assert isinstance(middleware.grep_search, StructuredTool) + assert middleware.grep_search.func is not None + result = middleware.grep_search.func(pattern="x") + + # Large file should be skipped + assert "/small.txt" in result diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_human_in_the_loop.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_human_in_the_loop.py new file mode 100644 index 0000000000000000000000000000000000000000..7cc37f801c54ac4c22a7c5b120a2428137c257f6 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_human_in_the_loop.py @@ -0,0 +1,1021 @@ +import re +from typing import Any +from unittest.mock import patch + +import pytest +from langchain_core.messages import AIMessage, HumanMessage, ToolCall, ToolMessage +from langgraph.prebuilt.tool_node import ToolRuntime +from langgraph.runtime import Runtime + +from langchain.agents.middleware import InterruptOnConfig +from langchain.agents.middleware.human_in_the_loop import ( + Action, + HumanInTheLoopMiddleware, +) +from langchain.agents.middleware.types import AgentState, ToolCallRequest + + +def test_human_in_the_loop_middleware_initialization() -> None: + """Test HumanInTheLoopMiddleware initialization.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}}, + description_prefix="Custom prefix", + ) + + assert middleware.interrupt_on == { + "test_tool": {"allowed_decisions": ["approve", "edit", "reject"]} + } + assert middleware.description_prefix == "Custom prefix" + + +def test_human_in_the_loop_middleware_no_interrupts_needed() -> None: + """Test HumanInTheLoopMiddleware when no interrupts are needed.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + # Test with no messages + state = AgentState[Any](messages=[]) + result = middleware.after_model(state, Runtime()) + assert result is None + + # Test with message but no tool calls + state = AgentState[Any](messages=[HumanMessage(content="Hello"), AIMessage(content="Hi there")]) + + result = middleware.after_model(state, Runtime()) + assert result is None + + # Test with tool calls that don't require interrupts + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "other_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + result = middleware.after_model(state, Runtime()) + assert result is None + + +def test_human_in_the_loop_middleware_single_tool_accept() -> None: + """Test HumanInTheLoopMiddleware with single tool accept response.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_accept(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "approve"}]} + + with patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_accept): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + assert result["messages"][0] == ai_message + assert result["messages"][0].tool_calls == ai_message.tool_calls + + state["messages"].append( + ToolMessage(content="Tool message", name="test_tool", tool_call_id="1") + ) + state["messages"].append(AIMessage(content="test_tool called with result: Tool message")) + + result = middleware.after_model(state, Runtime()) + # No interrupts needed + assert result is None + + +def test_human_in_the_loop_middleware_single_tool_edit() -> None: + """Test HumanInTheLoopMiddleware with single tool edit response.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_edit(_: Any) -> dict[str, Any]: + return { + "decisions": [ + { + "type": "edit", + "edited_action": Action( + name="test_tool", + args={"input": "edited"}, + ), + } + ] + } + + with patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_edit): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + assert result["messages"][0].tool_calls[0]["args"] == {"input": "edited"} + assert result["messages"][0].tool_calls[0]["id"] == "1" # ID should be preserved + + +def test_human_in_the_loop_middleware_single_tool_response() -> None: + """Test HumanInTheLoopMiddleware with single tool response with custom message.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_response(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "reject", "message": "Custom response message"}]} + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_response + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 2 + assert isinstance(result["messages"][0], AIMessage) + assert isinstance(result["messages"][1], ToolMessage) + assert result["messages"][1].content == "Custom response message" + assert result["messages"][1].name == "test_tool" + assert result["messages"][1].tool_call_id == "1" + + +def test_human_in_the_loop_middleware_default_rejection_message() -> None: + """Test reject decision default message discourages retries.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_response(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "reject"}]} + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_response + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert len(result["messages"]) == 2 + tool_message = result["messages"][1] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == ( + "User rejected the tool call for `test_tool` with id 1. " + "The tool was not executed. Do not retry this tool call unless the user " + "explicitly requests it." + ) + assert tool_message.status == "error" + assert tool_message.name == "test_tool" + assert tool_message.tool_call_id == "1" + + +def test_human_in_the_loop_middleware_single_tool_respond() -> None: + """Test HumanInTheLoopMiddleware with `respond` decision producing a success ToolMessage.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"ask_user": {"allowed_decisions": ["respond"]}} + ) + + ai_message = AIMessage( + content="Let me ask the user.", + tool_calls=[{"name": "ask_user", "args": {"question": "favorite color?"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_respond(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "respond", "message": "blue"}]} + + with patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_respond): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 2 + assert isinstance(result["messages"][0], AIMessage) + # Tool call is preserved on the AI message (provider APIs require pairing). + assert len(result["messages"][0].tool_calls) == 1 + assert result["messages"][0].tool_calls[0]["id"] == "1" + + tool_message = result["messages"][1] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "blue" + assert tool_message.name == "ask_user" + assert tool_message.tool_call_id == "1" + assert tool_message.status == "success" + + +def test_human_in_the_loop_middleware_respond_disallowed() -> None: + """Test that `respond` raises when not in `allowed_decisions`.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_respond(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "respond", "message": "synthetic"}]} + + with ( + patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_respond), + pytest.raises( + ValueError, + match=re.escape( + "Decision type 'respond' is not allowed for tool 'test_tool'. " + "Expected one of ['approve', 'edit', 'reject'] based on the tool's " + "configuration." + ), + ), + ): + middleware.after_model(state, Runtime()) + + +def test_human_in_the_loop_middleware_mixed_with_respond() -> None: + """Test mixed decisions: one tool approved, one tool answered via `respond`.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "get_forecast": {"allowed_decisions": ["approve"]}, + "ask_user": {"allowed_decisions": ["respond"]}, + } + ) + + ai_message = AIMessage( + content="Two things", + tool_calls=[ + {"name": "get_forecast", "args": {"location": "SF"}, "id": "1"}, + {"name": "ask_user", "args": {"question": "favorite color?"}, "id": "2"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hi"), ai_message]) + + def mock_mixed(_: Any) -> dict[str, Any]: + return { + "decisions": [ + {"type": "approve"}, + {"type": "respond", "message": "blue"}, + ] + } + + with patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_mixed): + result = middleware.after_model(state, Runtime()) + assert result is not None + # AI message + 1 synthetic ToolMessage for the respond decision. + assert len(result["messages"]) == 2 + + updated_ai_message = result["messages"][0] + assert len(updated_ai_message.tool_calls) == 2 + assert updated_ai_message.tool_calls[0]["name"] == "get_forecast" + assert updated_ai_message.tool_calls[1]["name"] == "ask_user" + + tool_message = result["messages"][1] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "blue" + assert tool_message.name == "ask_user" + assert tool_message.tool_call_id == "2" + assert tool_message.status == "success" + + +def test_human_in_the_loop_middleware_true_allows_respond() -> None: + """Test that the `True` shortcut permits `respond` decisions.""" + middleware = HumanInTheLoopMiddleware(interrupt_on={"ask_user": True}) + + ai_message = AIMessage( + content="Asking", + tool_calls=[{"name": "ask_user", "args": {"q": "?"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hi"), ai_message]) + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={"decisions": [{"type": "respond", "message": "answer"}]}, + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert len(result["messages"]) == 2 + tool_message = result["messages"][1] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "answer" + assert tool_message.status == "success" + + +def test_human_in_the_loop_middleware_multiple_tools_mixed_responses() -> None: + """Test HumanInTheLoopMiddleware with multiple tools and mixed response types.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "get_forecast": {"allowed_decisions": ["approve", "edit", "reject"]}, + "get_temperature": {"allowed_decisions": ["approve", "edit", "reject"]}, + } + ) + + ai_message = AIMessage( + content="I'll help you with weather", + tool_calls=[ + {"name": "get_forecast", "args": {"location": "San Francisco"}, "id": "1"}, + {"name": "get_temperature", "args": {"location": "San Francisco"}, "id": "2"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="What's the weather?"), ai_message]) + + def mock_mixed_responses(_: Any) -> dict[str, Any]: + return { + "decisions": [ + {"type": "approve"}, + {"type": "reject", "message": "User rejected this tool call"}, + ] + } + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_mixed_responses + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert ( + len(result["messages"]) == 2 + ) # AI message with accepted tool call + tool message for rejected + + # First message should be the AI message with both tool calls + updated_ai_message = result["messages"][0] + assert len(updated_ai_message.tool_calls) == 2 # Both tool calls remain + assert updated_ai_message.tool_calls[0]["name"] == "get_forecast" # Accepted + assert updated_ai_message.tool_calls[1]["name"] == "get_temperature" # Got response + + # Second message should be the tool message for the rejected tool call + tool_message = result["messages"][1] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "User rejected this tool call" + assert tool_message.name == "get_temperature" + + +def test_human_in_the_loop_middleware_multiple_tools_edit_responses() -> None: + """Test HumanInTheLoopMiddleware with multiple tools and edit responses.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "get_forecast": {"allowed_decisions": ["approve", "edit", "reject"]}, + "get_temperature": {"allowed_decisions": ["approve", "edit", "reject"]}, + } + ) + + ai_message = AIMessage( + content="I'll help you with weather", + tool_calls=[ + {"name": "get_forecast", "args": {"location": "San Francisco"}, "id": "1"}, + {"name": "get_temperature", "args": {"location": "San Francisco"}, "id": "2"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="What's the weather?"), ai_message]) + + def mock_edit_responses(_: Any) -> dict[str, Any]: + return { + "decisions": [ + { + "type": "edit", + "edited_action": Action( + name="get_forecast", + args={"location": "New York"}, + ), + }, + { + "type": "edit", + "edited_action": Action( + name="get_temperature", + args={"location": "New York"}, + ), + }, + ] + } + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_edit_responses + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + + updated_ai_message = result["messages"][0] + assert updated_ai_message.tool_calls[0]["args"] == {"location": "New York"} + assert updated_ai_message.tool_calls[0]["id"] == "1" # ID preserved + assert updated_ai_message.tool_calls[1]["args"] == {"location": "New York"} + assert updated_ai_message.tool_calls[1]["id"] == "2" # ID preserved + + +def test_human_in_the_loop_middleware_edit_with_modified_args() -> None: + """Test HumanInTheLoopMiddleware with edit action that includes modified args.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_edit_with_args(_: Any) -> dict[str, Any]: + return { + "decisions": [ + { + "type": "edit", + "edited_action": Action( + name="test_tool", + args={"input": "modified"}, + ), + } + ] + } + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + side_effect=mock_edit_with_args, + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + + # Should have modified args + updated_ai_message = result["messages"][0] + assert updated_ai_message.tool_calls[0]["args"] == {"input": "modified"} + assert updated_ai_message.tool_calls[0]["id"] == "1" # ID preserved + + +def test_human_in_the_loop_middleware_unknown_response_type() -> None: + """Test HumanInTheLoopMiddleware with unknown response type.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_unknown(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "unknown"}]} + + with ( + patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_unknown), + pytest.raises( + ValueError, + match=re.escape( + "Unexpected human decision: {'type': 'unknown'}. " + "Decision type 'unknown' is not allowed for tool 'test_tool'. " + "Expected one of ['approve', 'edit', 'reject'] based on the tool's " + "configuration." + ), + ), + ): + middleware.after_model(state, Runtime()) + + +def test_human_in_the_loop_middleware_disallowed_action() -> None: + """Test HumanInTheLoopMiddleware with action not allowed by tool config.""" + # edit is not allowed by tool config + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_disallowed_action(_: Any) -> dict[str, Any]: + return { + "decisions": [ + { + "type": "edit", + "edited_action": Action( + name="test_tool", + args={"input": "modified"}, + ), + } + ] + } + + with ( + patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + side_effect=mock_disallowed_action, + ), + pytest.raises( + ValueError, + match=re.escape( + "Unexpected human decision: {'type': 'edit', 'edited_action': " + "{'name': 'test_tool', 'args': {'input': 'modified'}}}. " + "Decision type 'edit' is not allowed for tool 'test_tool'. " + "Expected one of ['approve', 'reject'] based on the tool's " + "configuration." + ), + ), + ): + middleware.after_model(state, Runtime()) + + +def test_human_in_the_loop_middleware_mixed_auto_approved_and_interrupt() -> None: + """Test HumanInTheLoopMiddleware with mix of auto-approved and interrupt tools.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"interrupt_tool": {"allowed_decisions": ["approve", "edit", "reject"]}} + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[ + {"name": "auto_tool", "args": {"input": "auto"}, "id": "1"}, + {"name": "interrupt_tool", "args": {"input": "interrupt"}, "id": "2"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_accept(_: Any) -> dict[str, Any]: + return {"decisions": [{"type": "approve"}]} + + with patch("langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_accept): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + + updated_ai_message = result["messages"][0] + # Should have both tools: auto-approved first, then interrupt tool + assert len(updated_ai_message.tool_calls) == 2 + assert updated_ai_message.tool_calls[0]["name"] == "auto_tool" + assert updated_ai_message.tool_calls[1]["name"] == "interrupt_tool" + + +def test_human_in_the_loop_middleware_interrupt_request_structure() -> None: + """Test that interrupt requests are structured correctly.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={"test_tool": {"allowed_decisions": ["approve", "edit", "reject"]}}, + description_prefix="Custom prefix", + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test", "location": "SF"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + captured_request = None + + def mock_capture_requests(request: Any) -> dict[str, Any]: + nonlocal captured_request + captured_request = request + return {"decisions": [{"type": "approve"}]} + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_capture_requests + ): + middleware.after_model(state, Runtime()) + + assert captured_request is not None + assert "action_requests" in captured_request + assert "review_configs" in captured_request + + assert len(captured_request["action_requests"]) == 1 + action_request = captured_request["action_requests"][0] + assert action_request["name"] == "test_tool" + assert action_request["args"] == {"input": "test", "location": "SF"} + assert "Custom prefix" in action_request["description"] + assert "Tool: test_tool" in action_request["description"] + assert "Args: {'input': 'test', 'location': 'SF'}" in action_request["description"] + + assert len(captured_request["review_configs"]) == 1 + review_config = captured_request["review_configs"][0] + assert review_config["action_name"] == "test_tool" + assert review_config["allowed_decisions"] == ["approve", "edit", "reject"] + + +def test_human_in_the_loop_middleware_boolean_configs() -> None: + """Test HITL middleware with boolean tool configs.""" + middleware = HumanInTheLoopMiddleware(interrupt_on={"test_tool": True}) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + # Test accept + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={"decisions": [{"type": "approve"}]}, + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + assert result["messages"][0].tool_calls == ai_message.tool_calls + + # Test edit + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={ + "decisions": [ + { + "type": "edit", + "edited_action": Action( + name="test_tool", + args={"input": "edited"}, + ), + } + ] + }, + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + assert len(result["messages"]) == 1 + assert result["messages"][0].tool_calls[0]["args"] == {"input": "edited"} + + middleware = HumanInTheLoopMiddleware(interrupt_on={"test_tool": False}) + + result = middleware.after_model(state, Runtime()) + # No interruption should occur + assert result is None + + +def test_human_in_the_loop_middleware_sequence_mismatch() -> None: + """Test that sequence mismatch in resume raises an error.""" + middleware = HumanInTheLoopMiddleware(interrupt_on={"test_tool": True}) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[{"name": "test_tool", "args": {"input": "test"}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + # Test with too few responses + with ( + patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={"decisions": []}, # No responses for 1 tool call + ), + pytest.raises( + ValueError, + match=re.escape( + "Number of human decisions (0) does not match number of hanging tool calls (1)." + ), + ), + ): + middleware.after_model(state, Runtime()) + + # Test with too many responses + with ( + patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={ + "decisions": [ + {"type": "approve"}, + {"type": "approve"}, + ] + }, # 2 responses for 1 tool call + ), + pytest.raises( + ValueError, + match=re.escape( + "Number of human decisions (2) does not match number of hanging tool calls (1)." + ), + ), + ): + middleware.after_model(state, Runtime()) + + +def test_human_in_the_loop_middleware_description_as_callable() -> None: + """Test that description field accepts both string and callable.""" + + def custom_description(tool_call: ToolCall, *_args: Any, **_kwargs: Any) -> str: + """Generate a custom description.""" + return f"Custom: {tool_call['name']} with args {tool_call['args']}" + + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "tool_with_callable": InterruptOnConfig( + allowed_decisions=["approve"], + description=custom_description, + ), + "tool_with_string": InterruptOnConfig( + allowed_decisions=["approve"], + description="Static description", + ), + } + ) + + ai_message = AIMessage( + content="I'll help you", + tool_calls=[ + {"name": "tool_with_callable", "args": {"x": 1}, "id": "1"}, + {"name": "tool_with_string", "args": {"y": 2}, "id": "2"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + captured_request = None + + def mock_capture_requests(request: Any) -> dict[str, Any]: + nonlocal captured_request + captured_request = request + return {"decisions": [{"type": "approve"}, {"type": "approve"}]} + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_capture_requests + ): + middleware.after_model(state, Runtime()) + + assert captured_request is not None + assert "action_requests" in captured_request + assert len(captured_request["action_requests"]) == 2 + + # Check callable description + assert ( + captured_request["action_requests"][0]["description"] + == "Custom: tool_with_callable with args {'x': 1}" + ) + + # Check string description + assert captured_request["action_requests"][1]["description"] == "Static description" + + +def test_human_in_the_loop_middleware_preserves_tool_call_order() -> None: + """Test that middleware preserves the original order of tool calls. + + This test verifies that when mixing auto-approved and interrupt tools, + the final tool call order matches the original order from the AI message. + """ + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "tool_b": {"allowed_decisions": ["approve", "edit", "reject"]}, + "tool_d": {"allowed_decisions": ["approve", "edit", "reject"]}, + } + ) + + # Create AI message with interleaved auto-approved and interrupt tools + # Order: auto (A) -> interrupt (B) -> auto (C) -> interrupt (D) -> auto (E) + ai_message = AIMessage( + content="Processing multiple tools", + tool_calls=[ + {"name": "tool_a", "args": {"val": 1}, "id": "id_a"}, + {"name": "tool_b", "args": {"val": 2}, "id": "id_b"}, + {"name": "tool_c", "args": {"val": 3}, "id": "id_c"}, + {"name": "tool_d", "args": {"val": 4}, "id": "id_d"}, + {"name": "tool_e", "args": {"val": 5}, "id": "id_e"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_approve_all(_: Any) -> dict[str, Any]: + # Approve both interrupt tools (B and D) + return {"decisions": [{"type": "approve"}, {"type": "approve"}]} + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_approve_all + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "messages" in result + + updated_ai_message = result["messages"][0] + assert len(updated_ai_message.tool_calls) == 5 + + # Verify original order is preserved: A -> B -> C -> D -> E + assert updated_ai_message.tool_calls[0]["name"] == "tool_a" + assert updated_ai_message.tool_calls[0]["id"] == "id_a" + assert updated_ai_message.tool_calls[1]["name"] == "tool_b" + assert updated_ai_message.tool_calls[1]["id"] == "id_b" + assert updated_ai_message.tool_calls[2]["name"] == "tool_c" + assert updated_ai_message.tool_calls[2]["id"] == "id_c" + assert updated_ai_message.tool_calls[3]["name"] == "tool_d" + assert updated_ai_message.tool_calls[3]["id"] == "id_d" + assert updated_ai_message.tool_calls[4]["name"] == "tool_e" + assert updated_ai_message.tool_calls[4]["id"] == "id_e" + + +def test_human_in_the_loop_middleware_preserves_order_with_edits() -> None: + """Test that order is preserved when interrupt tools are edited.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "tool_b": {"allowed_decisions": ["approve", "edit", "reject"]}, + "tool_d": {"allowed_decisions": ["approve", "edit", "reject"]}, + } + ) + + ai_message = AIMessage( + content="Processing multiple tools", + tool_calls=[ + {"name": "tool_a", "args": {"val": 1}, "id": "id_a"}, + {"name": "tool_b", "args": {"val": 2}, "id": "id_b"}, + {"name": "tool_c", "args": {"val": 3}, "id": "id_c"}, + {"name": "tool_d", "args": {"val": 4}, "id": "id_d"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_edit_responses(_: Any) -> dict[str, Any]: + # Edit tool_b, approve tool_d + return { + "decisions": [ + { + "type": "edit", + "edited_action": Action(name="tool_b", args={"val": 200}), + }, + {"type": "approve"}, + ] + } + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_edit_responses + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + + updated_ai_message = result["messages"][0] + assert len(updated_ai_message.tool_calls) == 4 + + # Verify order: A (auto) -> B (edited) -> C (auto) -> D (approved) + assert updated_ai_message.tool_calls[0]["name"] == "tool_a" + assert updated_ai_message.tool_calls[0]["args"] == {"val": 1} + assert updated_ai_message.tool_calls[1]["name"] == "tool_b" + assert updated_ai_message.tool_calls[1]["args"] == {"val": 200} # Edited + assert updated_ai_message.tool_calls[1]["id"] == "id_b" # ID preserved + assert updated_ai_message.tool_calls[2]["name"] == "tool_c" + assert updated_ai_message.tool_calls[2]["args"] == {"val": 3} + assert updated_ai_message.tool_calls[3]["name"] == "tool_d" + assert updated_ai_message.tool_calls[3]["args"] == {"val": 4} + + +def test_human_in_the_loop_middleware_preserves_order_with_rejections() -> None: + """Test that order is preserved when some interrupt tools are rejected.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "tool_b": {"allowed_decisions": ["approve", "edit", "reject"]}, + "tool_d": {"allowed_decisions": ["approve", "edit", "reject"]}, + } + ) + + ai_message = AIMessage( + content="Processing multiple tools", + tool_calls=[ + {"name": "tool_a", "args": {"val": 1}, "id": "id_a"}, + {"name": "tool_b", "args": {"val": 2}, "id": "id_b"}, + {"name": "tool_c", "args": {"val": 3}, "id": "id_c"}, + {"name": "tool_d", "args": {"val": 4}, "id": "id_d"}, + {"name": "tool_e", "args": {"val": 5}, "id": "id_e"}, + ], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), ai_message]) + + def mock_mixed_responses(_: Any) -> dict[str, Any]: + # Reject tool_b, approve tool_d + return { + "decisions": [ + {"type": "reject", "message": "Rejected tool B"}, + {"type": "approve"}, + ] + } + + with patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", side_effect=mock_mixed_responses + ): + result = middleware.after_model(state, Runtime()) + assert result is not None + assert len(result["messages"]) == 2 # AI message + tool message for rejection + + updated_ai_message = result["messages"][0] + # tool_b is still in the list (with rejection handled via tool message) + assert len(updated_ai_message.tool_calls) == 5 + + # Verify order maintained: A (auto) -> B (rejected) -> C (auto) -> D (approved) -> E (auto) + assert updated_ai_message.tool_calls[0]["name"] == "tool_a" + assert updated_ai_message.tool_calls[1]["name"] == "tool_b" + assert updated_ai_message.tool_calls[2]["name"] == "tool_c" + assert updated_ai_message.tool_calls[3]["name"] == "tool_d" + assert updated_ai_message.tool_calls[4]["name"] == "tool_e" + + # Check rejection tool message + tool_message = result["messages"][1] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Rejected tool B" + assert tool_message.tool_call_id == "id_b" + + +# --------------------------------------------------------------------------- +# when predicate +# --------------------------------------------------------------------------- + + +def test_when_predicate_batch_skips_interrupt_when_false() -> None: + """`when` returning False prevents the tool call from joining the batch interrupt.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "test_tool": InterruptOnConfig( + allowed_decisions=["approve"], + when=lambda req: req.tool_call["args"].get("risky", False), + ) + } + ) + ai_message = AIMessage( + content="...", + tool_calls=[{"name": "test_tool", "args": {"risky": False}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hi"), ai_message]) + + with ( + patch("langchain.agents.middleware.human_in_the_loop.get_config", return_value={}), + patch("langchain.agents.middleware.human_in_the_loop.interrupt") as mock_interrupt, + ): + result = middleware.after_model(state, Runtime()) + mock_interrupt.assert_not_called() + + assert result is None + + +def test_when_predicate_batch_fires_interrupt_when_true() -> None: + """`when` returning True allows the tool call to trigger the batch interrupt.""" + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "test_tool": InterruptOnConfig( + allowed_decisions=["approve"], + when=lambda req: req.tool_call["args"].get("risky", False), + ) + } + ) + ai_message = AIMessage( + content="...", + tool_calls=[{"name": "test_tool", "args": {"risky": True}, "id": "1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hi"), ai_message]) + + with ( + patch("langchain.agents.middleware.human_in_the_loop.get_config", return_value={}), + patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={"decisions": [{"type": "approve"}]}, + ), + ): + result = middleware.after_model(state, Runtime()) + + assert result is not None + + +def test_when_predicate_receives_correct_args() -> None: + """The when predicate receives a ToolCallRequest with correct values and a ToolRuntime.""" + captured: list[Any] = [] + + def capture_when(req: ToolCallRequest) -> bool: + captured.append(req) + return True + + middleware = HumanInTheLoopMiddleware( + interrupt_on={ + "test_tool": InterruptOnConfig( + allowed_decisions=["approve"], + when=capture_when, + ) + } + ) + ai_message = AIMessage( + content="...", + tool_calls=[{"name": "test_tool", "args": {"val": 42}, "id": "tc-1"}], + ) + state = AgentState[Any](messages=[HumanMessage(content="Hi"), ai_message]) + runtime = Runtime() + + with ( + patch("langchain.agents.middleware.human_in_the_loop.get_config", return_value={}), + patch( + "langchain.agents.middleware.human_in_the_loop.interrupt", + return_value={"decisions": [{"type": "approve"}]}, + ), + ): + middleware.after_model(state, runtime) + + assert len(captured) == 1 + req = captured[0] + assert req.tool_call["name"] == "test_tool" + assert req.tool_call["args"] == {"val": 42} + assert req.tool is None + assert req.state is state + assert isinstance(req.runtime, ToolRuntime) + assert req.runtime.tool_call_id == "tc-1" + assert req.runtime.state is state + assert req.runtime.context is runtime.context + assert req.runtime.store is runtime.store diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_call_limit.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_call_limit.py new file mode 100644 index 0000000000000000000000000000000000000000..dc444f8a20889e9f31736cd4ff18578c5efaa333 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_call_limit.py @@ -0,0 +1,233 @@ +from typing import TYPE_CHECKING + +import pytest +from langchain_core.messages import AIMessage, HumanMessage, ToolMessage +from langchain_core.tools import tool +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.runtime import Runtime + +from langchain.agents.factory import create_agent +from langchain.agents.middleware import InputAgentState +from langchain.agents.middleware.model_call_limit import ( + ModelCallLimitExceededError, + ModelCallLimitMiddleware, + ModelCallLimitState, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langchain_core.runnables import RunnableConfig + + +@tool +def simple_tool(value: str) -> str: + """A simple tool.""" + return value + + +def test_middleware_unit_functionality() -> None: + """Test that the middleware works as expected in isolation.""" + # Test with end behavior + middleware = ModelCallLimitMiddleware(thread_limit=2, run_limit=1) + + runtime = Runtime() + + # Test when limits are not exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=0, run_model_call_count=0) + result = middleware.before_model(state, runtime) + assert result is None + + # Test when thread limit is exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=2, run_model_call_count=0) + result = middleware.before_model(state, runtime) + assert result is not None + assert result["jump_to"] == "end" + assert "messages" in result + assert len(result["messages"]) == 1 + assert "thread limit (2/2)" in result["messages"][0].content + + # Test when run limit is exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=1, run_model_call_count=1) + result = middleware.before_model(state, runtime) + assert result is not None + assert result["jump_to"] == "end" + assert "messages" in result + assert len(result["messages"]) == 1 + assert "run limit (1/1)" in result["messages"][0].content + + # Test with error behavior + middleware_exception = ModelCallLimitMiddleware( + thread_limit=2, run_limit=1, exit_behavior="error" + ) + + # Test exception when thread limit exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=2, run_model_call_count=0) + with pytest.raises(ModelCallLimitExceededError) as exc_info: + middleware_exception.before_model(state, runtime) + + assert "thread limit (2/2)" in str(exc_info.value) + + # Test exception when run limit exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=1, run_model_call_count=1) + with pytest.raises(ModelCallLimitExceededError) as exc_info: + middleware_exception.before_model(state, runtime) + + assert "run limit (1/1)" in str(exc_info.value) + + +def test_thread_limit_with_create_agent() -> None: + """Test that thread limits work correctly with create_agent.""" + model = FakeToolCallingModel() + + # Set thread limit to 1 (should be exceeded after 1 call) + agent = create_agent( + model=model, + tools=[simple_tool], + middleware=[ModelCallLimitMiddleware(thread_limit=1)], + checkpointer=InMemorySaver(), + ) + + # First invocation should work - 1 model call, within thread limit + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, {"configurable": {"thread_id": "thread1"}} + ) + + # Should complete successfully with 1 model call + assert "messages" in result + assert len(result["messages"]) == 2 # Human + AI messages + + # Second invocation in same thread should hit thread limit + # The agent should jump to end after detecting the limit + result2 = agent.invoke( + {"messages": [HumanMessage("Hello again")]}, {"configurable": {"thread_id": "thread1"}} + ) + + assert "messages" in result2 + # The agent should have detected the limit and jumped to end with a limit exceeded message + # So we should have: previous messages + new human message + limit exceeded AI message + assert len(result2["messages"]) == 4 # Previous Human + AI + New Human + Limit AI + assert isinstance(result2["messages"][0], HumanMessage) # First human + assert isinstance(result2["messages"][1], AIMessage) # First AI response + assert isinstance(result2["messages"][2], HumanMessage) # Second human + assert isinstance(result2["messages"][3], AIMessage) # Limit exceeded message + assert "thread limit" in result2["messages"][3].content + + +def test_run_limit_with_create_agent() -> None: + """Test that run limits work correctly with create_agent.""" + # Create a model that will make 2 calls + model = FakeToolCallingModel( + tool_calls=[ + [{"name": "simple_tool", "args": {"input": "test"}, "id": "1"}], + [], # No tool calls on second call + ] + ) + + # Set run limit to 1 (should be exceeded after 1 call) + agent = create_agent( + model=model, + tools=[simple_tool], + middleware=[ModelCallLimitMiddleware(run_limit=1)], + checkpointer=InMemorySaver(), + ) + + # This should hit the run limit after the first model call + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, {"configurable": {"thread_id": "thread1"}} + ) + + assert "messages" in result + # The agent should have made 1 model call then jumped to end with limit exceeded message + # So we should have: Human + AI + Tool + Limit exceeded AI message + assert len(result["messages"]) == 4 # Human + AI + Tool + Limit AI + assert isinstance(result["messages"][0], HumanMessage) + assert isinstance(result["messages"][1], AIMessage) + assert isinstance(result["messages"][2], ToolMessage) + assert isinstance(result["messages"][3], AIMessage) # Limit exceeded message + assert "run limit" in result["messages"][3].content + + +def test_middleware_initialization_validation() -> None: + """Test that middleware initialization validates parameters correctly.""" + # Test that at least one limit must be specified + with pytest.raises(ValueError, match="At least one limit must be specified"): + ModelCallLimitMiddleware() + + # Test invalid exit behavior + with pytest.raises(ValueError, match="Invalid exit_behavior"): + ModelCallLimitMiddleware(thread_limit=5, exit_behavior="invalid") # type: ignore[arg-type] + + # Test valid initialization + middleware = ModelCallLimitMiddleware(thread_limit=5, run_limit=3) + assert middleware.thread_limit == 5 + assert middleware.run_limit == 3 + assert middleware.exit_behavior == "end" + + # Test with only thread limit + middleware = ModelCallLimitMiddleware(thread_limit=5) + assert middleware.thread_limit == 5 + assert middleware.run_limit is None + + # Test with only run limit + middleware = ModelCallLimitMiddleware(run_limit=3) + assert middleware.thread_limit is None + assert middleware.run_limit == 3 + + +def test_exception_error_message() -> None: + """Test that the exception provides clear error messages.""" + middleware = ModelCallLimitMiddleware(thread_limit=2, run_limit=1, exit_behavior="error") + + # Test thread limit exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=2, run_model_call_count=0) + with pytest.raises(ModelCallLimitExceededError) as exc_info: + middleware.before_model(state, Runtime()) + + error_msg = str(exc_info.value) + assert "Model call limits exceeded" in error_msg + assert "thread limit (2/2)" in error_msg + + # Test run limit exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=0, run_model_call_count=1) + with pytest.raises(ModelCallLimitExceededError) as exc_info: + middleware.before_model(state, Runtime()) + + error_msg = str(exc_info.value) + assert "Model call limits exceeded" in error_msg + assert "run limit (1/1)" in error_msg + + # Test both limits exceeded + state = ModelCallLimitState(messages=[], thread_model_call_count=2, run_model_call_count=1) + with pytest.raises(ModelCallLimitExceededError) as exc_info: + middleware.before_model(state, Runtime()) + + error_msg = str(exc_info.value) + assert "Model call limits exceeded" in error_msg + assert "thread limit (2/2)" in error_msg + assert "run limit (1/1)" in error_msg + + +def test_run_limit_resets_between_invocations() -> None: + """Test run limit resets between invocations. + + Test that run_model_call_count resets between invocations, but + thread_model_call_count accumulates. + """ + # First: No tool calls per invocation, so model does not increment call counts internally + middleware = ModelCallLimitMiddleware(thread_limit=3, run_limit=1, exit_behavior="error") + model = FakeToolCallingModel( + tool_calls=[[], [], [], []] + ) # No tool calls, so only model call per run + + agent = create_agent(model=model, middleware=[middleware], checkpointer=InMemorySaver()) + + thread_config: RunnableConfig = {"configurable": {"thread_id": "test_thread"}} + agent.invoke(InputAgentState(messages=[HumanMessage("Hello")]), thread_config) + agent.invoke(InputAgentState(messages=[HumanMessage("Hello again")]), thread_config) + agent.invoke(InputAgentState(messages=[HumanMessage("Hello third")]), thread_config) + + # Fourth run: should raise, thread_model_call_count == 3 (limit) + with pytest.raises(ModelCallLimitExceededError) as exc_info: + agent.invoke(InputAgentState(messages=[HumanMessage("Hello fourth")]), thread_config) + error_msg = str(exc_info.value) + assert "thread limit (3/3)" in error_msg diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_fallback.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_fallback.py new file mode 100644 index 0000000000000000000000000000000000000000..c268f6c56561fc5d702b1531e6df3ed6c2fd4a7b --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_fallback.py @@ -0,0 +1,426 @@ +"""Unit tests for ModelFallbackMiddleware.""" + +from __future__ import annotations + +import warnings +from typing import TYPE_CHECKING, Any, cast + +import pytest +from langchain_core.language_models.chat_models import BaseChatModel +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, BaseMessage, HumanMessage, SystemMessage +from langchain_core.outputs import ChatGeneration, ChatResult +from typing_extensions import override + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.model_fallback import ModelFallbackMiddleware +from langchain.agents.middleware.types import AgentState, ModelRequest, ModelResponse +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langchain_core.callbacks import AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun + from langgraph.runtime import Runtime + + +def _fake_runtime() -> Runtime: + return cast("Runtime", object()) + + +def _make_request() -> ModelRequest: + """Create a minimal ModelRequest for testing.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="primary")])) + return ModelRequest( + model=model, + system_prompt=None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=_fake_runtime(), + model_settings={}, + ) + + +def test_primary_model_succeeds() -> None: + """Test that primary model is used when it succeeds.""" + primary_model = GenericFakeChatModel(messages=iter([AIMessage(content="primary response")])) + fallback_model = GenericFakeChatModel(messages=iter([AIMessage(content="fallback response")])) + + middleware = ModelFallbackMiddleware(fallback_model) + request = _make_request() + request = request.override(model=primary_model) + + def mock_handler(req: ModelRequest) -> ModelResponse: + # Simulate successful model call + result = req.model.invoke([]) + return ModelResponse(result=[result]) + + response = middleware.wrap_model_call(request, mock_handler) + + assert isinstance(response, ModelResponse) + assert response.result[0].content == "primary response" + + +def test_fallback_on_primary_failure() -> None: + """Test that fallback model is used when primary fails.""" + + class FailingPrimaryModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Primary model failed" + raise ValueError(msg) + + primary_model = FailingPrimaryModel(messages=iter([AIMessage(content="should not see")])) + fallback_model = GenericFakeChatModel(messages=iter([AIMessage(content="fallback response")])) + + middleware = ModelFallbackMiddleware(fallback_model) + request = _make_request() + request = request.override(model=primary_model) + + def mock_handler(req: ModelRequest) -> ModelResponse: + result = req.model.invoke([]) + return ModelResponse(result=[result]) + + response = middleware.wrap_model_call(request, mock_handler) + + assert isinstance(response, ModelResponse) + assert response.result[0].content == "fallback response" + + +def test_multiple_fallbacks() -> None: + """Test that multiple fallback models are tried in sequence.""" + + class FailingModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model failed" + raise ValueError(msg) + + primary_model = FailingModel(messages=iter([AIMessage(content="should not see")])) + fallback1 = FailingModel(messages=iter([AIMessage(content="fallback1")])) + fallback2 = GenericFakeChatModel(messages=iter([AIMessage(content="fallback2")])) + + middleware = ModelFallbackMiddleware(fallback1, fallback2) + request = _make_request() + request = request.override(model=primary_model) + + def mock_handler(req: ModelRequest) -> ModelResponse: + result = req.model.invoke([]) + return ModelResponse(result=[result]) + + response = middleware.wrap_model_call(request, mock_handler) + + assert isinstance(response, ModelResponse) + assert response.result[0].content == "fallback2" + + +def test_all_models_fail() -> None: + """Test that exception is raised when all models fail.""" + + class AlwaysFailingModel(GenericFakeChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model failed" + raise ValueError(msg) + + primary_model = AlwaysFailingModel(messages=iter([])) + fallback_model = AlwaysFailingModel(messages=iter([])) + + middleware = ModelFallbackMiddleware(fallback_model) + request = _make_request() + request = request.override(model=primary_model) + + def mock_handler(req: ModelRequest) -> ModelResponse: + result = req.model.invoke([]) + return ModelResponse(result=[result]) + + with pytest.raises(ValueError, match="Model failed"): + middleware.wrap_model_call(request, mock_handler) + + +async def test_primary_model_succeeds_async() -> None: + """Test async version - primary model is used when it succeeds.""" + primary_model = GenericFakeChatModel(messages=iter([AIMessage(content="primary response")])) + fallback_model = GenericFakeChatModel(messages=iter([AIMessage(content="fallback response")])) + + middleware = ModelFallbackMiddleware(fallback_model) + request = _make_request() + request = request.override(model=primary_model) + + async def mock_handler(req: ModelRequest) -> ModelResponse: + # Simulate successful async model call + result = await req.model.ainvoke([]) + return ModelResponse(result=[result]) + + response = await middleware.awrap_model_call(request, mock_handler) + + assert isinstance(response, ModelResponse) + assert response.result[0].content == "primary response" + + +async def test_fallback_on_primary_failure_async() -> None: + """Test async version - fallback model is used when primary fails.""" + + class AsyncFailingPrimaryModel(GenericFakeChatModel): + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: AsyncCallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Primary model failed" + raise ValueError(msg) + + primary_model = AsyncFailingPrimaryModel(messages=iter([AIMessage(content="should not see")])) + fallback_model = GenericFakeChatModel(messages=iter([AIMessage(content="fallback response")])) + + middleware = ModelFallbackMiddleware(fallback_model) + request = _make_request() + request = request.override(model=primary_model) + + async def mock_handler(req: ModelRequest) -> ModelResponse: + result = await req.model.ainvoke([]) + return ModelResponse(result=[result]) + + response = await middleware.awrap_model_call(request, mock_handler) + + assert isinstance(response, ModelResponse) + assert response.result[0].content == "fallback response" + + +async def test_multiple_fallbacks_async() -> None: + """Test async version - multiple fallback models are tried in sequence.""" + + class AsyncFailingModel(GenericFakeChatModel): + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: AsyncCallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model failed" + raise ValueError(msg) + + primary_model = AsyncFailingModel(messages=iter([AIMessage(content="should not see")])) + fallback1 = AsyncFailingModel(messages=iter([AIMessage(content="fallback1")])) + fallback2 = GenericFakeChatModel(messages=iter([AIMessage(content="fallback2")])) + + middleware = ModelFallbackMiddleware(fallback1, fallback2) + request = _make_request() + request = request.override(model=primary_model) + + async def mock_handler(req: ModelRequest) -> ModelResponse: + result = await req.model.ainvoke([]) + return ModelResponse(result=[result]) + + response = await middleware.awrap_model_call(request, mock_handler) + + assert isinstance(response, ModelResponse) + assert response.result[0].content == "fallback2" + + +async def test_all_models_fail_async() -> None: + """Test async version - exception is raised when all models fail.""" + + class AsyncAlwaysFailingModel(GenericFakeChatModel): + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: AsyncCallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Model failed" + raise ValueError(msg) + + primary_model = AsyncAlwaysFailingModel(messages=iter([])) + fallback_model = AsyncAlwaysFailingModel(messages=iter([])) + + middleware = ModelFallbackMiddleware(fallback_model) + request = _make_request() + request = request.override(model=primary_model) + + async def mock_handler(req: ModelRequest) -> ModelResponse: + result = await req.model.ainvoke([]) + return ModelResponse(result=[result]) + + with pytest.raises(ValueError, match="Model failed"): + await middleware.awrap_model_call(request, mock_handler) + + +def test_model_fallback_middleware_with_agent() -> None: + """Test ModelFallbackMiddleware with agent.invoke and fallback models only.""" + + class FailingModel(BaseChatModel): + """Model that always fails.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Primary model failed" + raise ValueError(msg) + + @property + def _llm_type(self) -> str: + return "failing" + + class SuccessModel(BaseChatModel): + """Model that succeeds.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult( + generations=[ChatGeneration(message=AIMessage(content="Fallback success"))] + ) + + @property + def _llm_type(self) -> str: + return "success" + + primary = FailingModel() + fallback = SuccessModel() + + # Only pass fallback models to middleware (not the primary) + fallback_middleware = ModelFallbackMiddleware(fallback) + + agent = create_agent(model=primary, middleware=[fallback_middleware]) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + # Should have succeeded with fallback model + assert len(result["messages"]) == 2 + assert result["messages"][1].content == "Fallback success" + + +def test_model_fallback_middleware_exhausted_with_agent() -> None: + """Test ModelFallbackMiddleware with agent.invoke when all models fail.""" + + class AlwaysFailingModel(BaseChatModel): + """Model that always fails.""" + + def __init__(self, name: str): + super().__init__() + self.name = name + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = f"{self.name} failed" + raise ValueError(msg) + + @property + def _llm_type(self) -> str: + return self.name or "always_failing" + + primary = AlwaysFailingModel("primary") + fallback1 = AlwaysFailingModel("fallback1") + fallback2 = AlwaysFailingModel("fallback2") + + # Primary fails (attempt 1), then fallback1 (attempt 2), then fallback2 (attempt 3) + fallback_middleware = ModelFallbackMiddleware(fallback1, fallback2) + + agent = create_agent(model=primary, middleware=[fallback_middleware]) + + # Should fail with the last fallback's error + with pytest.raises(ValueError, match="fallback2 failed"): + agent.invoke({"messages": [HumanMessage("Test")]}) + + +def test_model_fallback_middleware_initialization() -> None: + """Test ModelFallbackMiddleware initialization.""" + # Test with no models - now a TypeError (missing required argument) + with pytest.raises(TypeError): + ModelFallbackMiddleware() # type: ignore[call-arg] + + # Test with one fallback model (valid) + middleware = ModelFallbackMiddleware(FakeToolCallingModel()) + assert len(middleware.models) == 1 + + # Test with multiple fallback models + middleware = ModelFallbackMiddleware(FakeToolCallingModel(), FakeToolCallingModel()) + assert len(middleware.models) == 2 + + +def test_model_request_is_frozen() -> None: + """Test that ModelRequest raises deprecation warning on direct attribute assignment.""" + request = _make_request() + new_model = GenericFakeChatModel(messages=iter([AIMessage(content="new model")])) + + # Direct attribute assignment should raise DeprecationWarning but still work + with pytest.warns( + DeprecationWarning, match="Direct attribute assignment to ModelRequest.model is deprecated" + ): + request.model = new_model + + # Verify the assignment actually worked + assert request.model == new_model + + with pytest.warns( + DeprecationWarning, + match="Direct attribute assignment to ModelRequest.system_prompt is deprecated", + ): + request.system_prompt = "new prompt" # type: ignore[misc] + + assert request.system_prompt == "new prompt" + + with pytest.warns( + DeprecationWarning, + match="Direct attribute assignment to ModelRequest.messages is deprecated", + ): + request.messages = [] + + assert request.messages == [] + + # Using override method should work without warnings + request2 = _make_request() + with warnings.catch_warnings(): + warnings.simplefilter("error") # Turn warnings into errors + new_request = request2.override( + model=new_model, system_message=SystemMessage(content="override prompt") + ) + + assert new_request.model == new_model + assert new_request.system_prompt == "override prompt" + # Original request should be unchanged + assert request2.model != new_model + assert request2.system_prompt != "override prompt" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_retry.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_retry.py new file mode 100644 index 0000000000000000000000000000000000000000..85091b6685d176d877b4a79b7bd5fb708f16d284 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_model_retry.py @@ -0,0 +1,702 @@ +"""Tests for ModelRetryMiddleware functionality.""" + +import time +from collections.abc import Callable +from typing import Any + +import pytest +from langchain_core.callbacks import CallbackManagerForLLMRun +from langchain_core.messages import AIMessage, BaseMessage, HumanMessage +from langchain_core.outputs import ChatGeneration, ChatResult +from langgraph.checkpoint.memory import InMemorySaver +from pydantic import Field +from typing_extensions import override + +from langchain.agents.factory import create_agent +from langchain.agents.middleware._retry import calculate_delay +from langchain.agents.middleware.model_retry import ModelRetryMiddleware +from langchain.agents.middleware.types import ( + ModelCallResult, + ModelRequest, + ModelResponse, + wrap_model_call, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + + +class TemporaryFailureModel(FakeToolCallingModel): + """Model that fails a certain number of times before succeeding.""" + + fail_count: int = Field(default=0) + attempt: int = Field(default=0) + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + """Execute the model. + + Args: + messages: Input messages. + stop: Optional stop sequences. + run_manager: Optional callback manager. + **kwargs: Additional keyword arguments. + + Returns: + ChatResult with success message if attempt >= fail_count. + + Raises: + ValueError: If attempt < fail_count. + """ + self.attempt += 1 + if self.attempt <= self.fail_count: + msg = f"Temporary failure {self.attempt}" + raise ValueError(msg) + # Return success message + ai_msg = AIMessage(content=f"Success after {self.attempt} attempts", id=str(self.index)) + self.index += 1 + return ChatResult(generations=[ChatGeneration(message=ai_msg)]) + + +class AlwaysFailingModel(FakeToolCallingModel): + """Model that always fails with a specific exception.""" + + error_message: str = Field(default="Model error") + error_type: type[Exception] = Field(default=ValueError) + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + """Execute the model and raise exception. + + Args: + messages: Input messages. + stop: Optional stop sequences. + run_manager: Optional callback manager. + **kwargs: Additional keyword arguments. + + Raises: + Exception: Always raises the configured exception. + """ + raise self.error_type(self.error_message) + + +def test_model_retry_initialization_defaults() -> None: + """Test ModelRetryMiddleware initialization with default values.""" + retry = ModelRetryMiddleware() + + assert retry.max_retries == 2 + assert retry.tools == [] + assert retry.on_failure == "continue" + assert retry.backoff_factor == 2.0 + assert retry.initial_delay == 1.0 + assert retry.max_delay == 60.0 + assert retry.jitter is True + + +def test_model_retry_initialization_custom() -> None: + """Test ModelRetryMiddleware initialization with custom values.""" + retry = ModelRetryMiddleware( + max_retries=5, + retry_on=(ValueError, RuntimeError), + on_failure="error", + backoff_factor=1.5, + initial_delay=0.5, + max_delay=30.0, + jitter=False, + ) + + assert retry.max_retries == 5 + assert retry.tools == [] + assert retry.retry_on == (ValueError, RuntimeError) + assert retry.on_failure == "error" + assert retry.backoff_factor == 1.5 + assert retry.initial_delay == 0.5 + assert retry.max_delay == 30.0 + assert retry.jitter is False + + +def test_model_retry_invalid_max_retries() -> None: + """Test ModelRetryMiddleware raises error for invalid max_retries.""" + with pytest.raises(ValueError, match="max_retries must be >= 0"): + ModelRetryMiddleware(max_retries=-1) + + +def test_model_retry_invalid_initial_delay() -> None: + """Test ModelRetryMiddleware raises error for invalid initial_delay.""" + with pytest.raises(ValueError, match="initial_delay must be >= 0"): + ModelRetryMiddleware(initial_delay=-1.0) + + +def test_model_retry_invalid_max_delay() -> None: + """Test ModelRetryMiddleware raises error for invalid max_delay.""" + with pytest.raises(ValueError, match="max_delay must be >= 0"): + ModelRetryMiddleware(max_delay=-1.0) + + +def test_model_retry_invalid_backoff_factor() -> None: + """Test ModelRetryMiddleware raises error for invalid backoff_factor.""" + with pytest.raises(ValueError, match="backoff_factor must be >= 0"): + ModelRetryMiddleware(backoff_factor=-1.0) + + +def test_model_retry_working_model_no_retry_needed() -> None: + """Test ModelRetryMiddleware with a working model (no retry needed).""" + model = FakeToolCallingModel() + + retry = ModelRetryMiddleware(max_retries=2, initial_delay=0.01, jitter=False) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + assert "Hello" in ai_messages[-1].content + + +def test_model_retry_failing_model_returns_message() -> None: + """Test ModelRetryMiddleware with failing model returns error message.""" + model = AlwaysFailingModel(error_message="Model error", error_type=ValueError) + + retry = ModelRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + # Should contain error message with attempts + last_msg = ai_messages[-1].content + assert "failed after 3 attempts" in last_msg + assert "ValueError" in last_msg + + +def test_model_retry_failing_model_raises() -> None: + """Test ModelRetryMiddleware with on_failure='error' re-raises exception.""" + model = AlwaysFailingModel(error_message="Model error", error_type=ValueError) + + retry = ModelRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="error", + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + # Should raise the ValueError from the model + with pytest.raises(ValueError, match="Model error"): + agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + +def test_model_retry_custom_failure_formatter() -> None: + """Test ModelRetryMiddleware with custom failure message formatter.""" + + def custom_formatter(exc: Exception) -> str: + return f"Custom error: {type(exc).__name__}" + + model = AlwaysFailingModel(error_message="Model error", error_type=ValueError) + + retry = ModelRetryMiddleware( + max_retries=1, + initial_delay=0.01, + jitter=False, + on_failure=custom_formatter, + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + assert "Custom error: ValueError" in ai_messages[-1].content + + +def test_model_retry_succeeds_after_retries() -> None: + """Test ModelRetryMiddleware succeeds after temporary failures.""" + model = TemporaryFailureModel(fail_count=2) + + retry = ModelRetryMiddleware( + max_retries=3, + initial_delay=0.01, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + # Should succeed on 3rd attempt + assert "Success after 3 attempts" in ai_messages[-1].content + assert model.attempt == 3 + + +def test_model_retry_specific_exceptions() -> None: + """Test ModelRetryMiddleware only retries specific exception types.""" + # This model will fail with RuntimeError, which we won't retry + model = AlwaysFailingModel(error_message="Runtime error", error_type=RuntimeError) + + # Only retry ValueError + retry = ModelRetryMiddleware( + max_retries=2, + retry_on=(ValueError,), + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + # RuntimeError should fail immediately (1 attempt only) + assert "1 attempt" in ai_messages[-1].content + + +def test_model_retry_custom_exception_filter() -> None: + """Test ModelRetryMiddleware with custom exception filter function.""" + + class CustomError(Exception): + """Custom exception with retry_me attribute.""" + + def __init__(self, message: str, *, retry_me: bool): + """Initialize custom error. + + Args: + message: Error message. + retry_me: Whether this error should be retried. + """ + super().__init__(message) + self.retry_me = retry_me + + attempt_count = {"value": 0} + + class CustomErrorModel(FakeToolCallingModel): + """Model that raises CustomError.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + """Execute the model and raise CustomError. + + Args: + messages: Input messages. + stop: Optional stop sequences. + run_manager: Optional callback manager. + **kwargs: Additional keyword arguments. + + Raises: + CustomError: Always raises CustomError. + """ + attempt_count["value"] += 1 + if attempt_count["value"] == 1: + msg = "Retryable error" + raise CustomError(msg, retry_me=True) + msg = "Non-retryable error" + raise CustomError(msg, retry_me=False) + + def should_retry(exc: Exception) -> bool: + return isinstance(exc, CustomError) and exc.retry_me + + model = CustomErrorModel() + + retry = ModelRetryMiddleware( + max_retries=3, + retry_on=should_retry, + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + + # Should retry once (attempt 1 with retry_me=True), then fail on attempt 2 (retry_me=False) + assert attempt_count["value"] == 2 + assert "2 attempts" in ai_messages[-1].content + + +def test_model_retry_backoff_timing() -> None: + """Test ModelRetryMiddleware applies correct backoff delays.""" + model = TemporaryFailureModel(fail_count=3) + + retry = ModelRetryMiddleware( + max_retries=3, + initial_delay=0.1, + backoff_factor=2.0, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + start_time = time.time() + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + elapsed = time.time() - start_time + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + + # Expected delays: 0.1 + 0.2 + 0.4 = 0.7 seconds + # Allow some margin for execution time + assert elapsed >= 0.6, f"Expected at least 0.6s, got {elapsed}s" + + +def test_model_retry_constant_backoff() -> None: + """Test ModelRetryMiddleware with constant backoff (backoff_factor=0).""" + model = TemporaryFailureModel(fail_count=2) + + retry = ModelRetryMiddleware( + max_retries=2, + initial_delay=0.1, + backoff_factor=0.0, # Constant backoff + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + start_time = time.time() + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + elapsed = time.time() - start_time + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + + # Expected delays: 0.1 + 0.1 = 0.2 seconds (constant) + assert elapsed >= 0.15, f"Expected at least 0.15s, got {elapsed}s" + assert elapsed < 0.5, f"Expected less than 0.5s (exponential would be longer), got {elapsed}s" + + +def test_model_retry_max_delay_cap() -> None: + """Test calculate_delay caps delay at max_delay.""" + # Test delay calculation with aggressive backoff and max_delay cap + delay_0 = calculate_delay( + 0, + backoff_factor=10.0, # Very aggressive backoff + initial_delay=1.0, + max_delay=2.0, # Cap at 2 seconds + jitter=False, + ) # 1.0 + delay_1 = calculate_delay( + 1, + backoff_factor=10.0, + initial_delay=1.0, + max_delay=2.0, + jitter=False, + ) # 10.0 -> capped to 2.0 + delay_2 = calculate_delay( + 2, + backoff_factor=10.0, + initial_delay=1.0, + max_delay=2.0, + jitter=False, + ) # 100.0 -> capped to 2.0 + + assert delay_0 == 1.0 + assert delay_1 == 2.0 + assert delay_2 == 2.0 + + +def test_model_retry_jitter_variation() -> None: + """Test calculate_delay adds jitter to delays.""" + # Generate multiple delays and ensure they vary + delays = [ + calculate_delay( + 0, + backoff_factor=1.0, + initial_delay=1.0, + max_delay=60.0, + jitter=True, + ) + for _ in range(10) + ] + + # All delays should be within ±25% of 1.0 (i.e., between 0.75 and 1.25) + for delay in delays: + assert 0.75 <= delay <= 1.25 + + # Delays should vary (not all the same) + assert len(set(delays)) > 1 + + +@pytest.mark.asyncio +async def test_model_retry_async_working_model() -> None: + """Test ModelRetryMiddleware with async execution and working model.""" + model = FakeToolCallingModel() + + retry = ModelRetryMiddleware(max_retries=2, initial_delay=0.01, jitter=False) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + assert "Hello" in ai_messages[-1].content + + +@pytest.mark.asyncio +async def test_model_retry_async_failing_model() -> None: + """Test ModelRetryMiddleware with async execution and failing model.""" + model = AlwaysFailingModel(error_message="Model error", error_type=ValueError) + + retry = ModelRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + last_msg = ai_messages[-1].content + assert "failed after 3 attempts" in last_msg + assert "ValueError" in last_msg + + +@pytest.mark.asyncio +async def test_model_retry_async_succeeds_after_retries() -> None: + """Test ModelRetryMiddleware async execution succeeds after temporary failures.""" + model = TemporaryFailureModel(fail_count=2) + + retry = ModelRetryMiddleware( + max_retries=3, + initial_delay=0.01, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + assert "Success after 3 attempts" in ai_messages[-1].content + + +@pytest.mark.asyncio +async def test_model_retry_async_backoff_timing() -> None: + """Test ModelRetryMiddleware async applies correct backoff delays.""" + model = TemporaryFailureModel(fail_count=3) + + retry = ModelRetryMiddleware( + max_retries=3, + initial_delay=0.1, + backoff_factor=2.0, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + start_time = time.time() + result = await agent.ainvoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + elapsed = time.time() - start_time + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + + # Expected delays: 0.1 + 0.2 + 0.4 = 0.7 seconds + assert elapsed >= 0.6, f"Expected at least 0.6s, got {elapsed}s" + + +def test_model_retry_zero_retries() -> None: + """Test ModelRetryMiddleware with max_retries=0 (no retries).""" + model = AlwaysFailingModel(error_message="Model error", error_type=ValueError) + + retry = ModelRetryMiddleware( + max_retries=0, # No retries + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + # Should fail after 1 attempt (no retries) + assert "1 attempt" in ai_messages[-1].content + + +def test_model_retry_multiple_middleware_composition() -> None: + """Test ModelRetryMiddleware composes correctly with other middleware.""" + call_log = [] + + # Custom middleware that logs calls + @wrap_model_call + def logging_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + call_log.append("before_model") + response = handler(request) + call_log.append("after_model") + return response + + model = FakeToolCallingModel() + + retry = ModelRetryMiddleware(max_retries=2, initial_delay=0.01, jitter=False) + + agent = create_agent( + model=model, + tools=[], + middleware=[logging_middleware, retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Hello")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Both middleware should be called + assert call_log == ["before_model", "after_model"] + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) >= 1 + assert "Hello" in ai_messages[-1].content diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_pii.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_pii.py new file mode 100644 index 0000000000000000000000000000000000000000..1f7f2162f74dd45d6283a402b839745d05e3b3d2 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_pii.py @@ -0,0 +1,2371 @@ +"""Tests for PII detection middleware.""" + +import re +from typing import Any + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import ( + AIMessage, + BaseMessage, + HumanMessage, + InvalidToolCall, + ToolCall, + ToolMessage, +) +from langchain_core.tools import tool +from langgraph.runtime import Runtime +from langgraph.stream._types import ProtocolEvent +from langgraph.stream.transformers import MessagesTransformer + +from langchain.agents import AgentState +from langchain.agents.factory import create_agent +from langchain.agents.middleware._redaction import RedactionRule +from langchain.agents.middleware.pii import ( + PIIDetectionError, + PIIMatch, + PIIMiddleware, + _PIIStreamTransformer, + detect_credit_card, + detect_email, + detect_ip, + detect_mac_address, + detect_url, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + +# ============================================================================ +# Detection Function Tests +# ============================================================================ + + +class TestEmailDetection: + """Test email detection.""" + + def test_detect_valid_email(self) -> None: + content = "Contact me at john.doe@example.com for more info." + matches = detect_email(content) + + assert len(matches) == 1 + assert matches[0]["type"] == "email" + assert matches[0]["value"] == "john.doe@example.com" + assert matches[0]["start"] == 14 + assert matches[0]["end"] == 34 + + def test_detect_multiple_emails(self) -> None: + content = "Email alice@test.com or bob@company.org" + matches = detect_email(content) + + assert len(matches) == 2 + assert matches[0]["value"] == "alice@test.com" + assert matches[1]["value"] == "bob@company.org" + + def test_no_email(self) -> None: + content = "This text has no email addresses." + matches = detect_email(content) + assert len(matches) == 0 + + def test_invalid_email_format(self) -> None: + content = "Invalid emails: @test.com, user@, user@domain" + matches = detect_email(content) + # Should not match invalid formats + assert len(matches) == 0 + + +class TestCreditCardDetection: + """Test credit card detection with Luhn validation.""" + + def test_detect_valid_credit_card(self) -> None: + # Valid Visa test number + content = "Card: 4532015112830366" + matches = detect_credit_card(content) + + assert len(matches) == 1 + assert matches[0]["type"] == "credit_card" + assert matches[0]["value"] == "4532015112830366" + + def test_detect_credit_card_with_spaces(self) -> None: + # Valid Mastercard test number + # Add spaces + spaced_content = "Card: 5425 2334 3010 9903" + matches = detect_credit_card(spaced_content) + + assert len(matches) == 1 + assert "5425 2334 3010 9903" in matches[0]["value"] + + def test_detect_credit_card_with_dashes(self) -> None: + content = "Card: 4532-0151-1283-0366" + matches = detect_credit_card(content) + + assert len(matches) == 1 + + def test_invalid_luhn_not_detected(self) -> None: + # Invalid Luhn checksum + content = "Card: 1234567890123456" + matches = detect_credit_card(content) + assert len(matches) == 0 + + def test_no_credit_card(self) -> None: + content = "No cards here." + matches = detect_credit_card(content) + assert len(matches) == 0 + + +class TestIPDetection: + """Test IP address detection.""" + + def test_detect_valid_ipv4(self) -> None: + content = "Server IP: 192.168.1.1" + matches = detect_ip(content) + + assert len(matches) == 1 + assert matches[0]["type"] == "ip" + assert matches[0]["value"] == "192.168.1.1" + + def test_detect_multiple_ips(self) -> None: + content = "Connect to 10.0.0.1 or 8.8.8.8" + matches = detect_ip(content) + + assert len(matches) == 2 + assert matches[0]["value"] == "10.0.0.1" + assert matches[1]["value"] == "8.8.8.8" + + def test_invalid_ip_not_detected(self) -> None: + # Out of range octets + content = "Not an IP: 999.999.999.999" + matches = detect_ip(content) + assert len(matches) == 0 + + def test_version_number_not_detected(self) -> None: + # Version numbers should not be detected as IPs + content = "Version 1.2.3.4 released" + matches = detect_ip(content) + # This is a valid IP format, so it will be detected + # This is acceptable behavior + assert len(matches) >= 0 + + def test_no_ip(self) -> None: + content = "No IP addresses here." + matches = detect_ip(content) + assert len(matches) == 0 + + +class TestMACAddressDetection: + """Test MAC address detection.""" + + def test_detect_mac_with_colons(self) -> None: + content = "MAC: 00:1A:2B:3C:4D:5E" + matches = detect_mac_address(content) + + assert len(matches) == 1 + assert matches[0]["type"] == "mac_address" + assert matches[0]["value"] == "00:1A:2B:3C:4D:5E" + + def test_detect_mac_with_dashes(self) -> None: + content = "MAC: 00-1A-2B-3C-4D-5E" + matches = detect_mac_address(content) + + assert len(matches) == 1 + assert matches[0]["value"] == "00-1A-2B-3C-4D-5E" + + def test_detect_lowercase_mac(self) -> None: + content = "MAC: aa:bb:cc:dd:ee:ff" + matches = detect_mac_address(content) + + assert len(matches) == 1 + assert matches[0]["value"] == "aa:bb:cc:dd:ee:ff" + + def test_no_mac(self) -> None: + content = "No MAC address here." + matches = detect_mac_address(content) + assert len(matches) == 0 + + def test_partial_mac_not_detected(self) -> None: + content = "Partial: 00:1A:2B:3C" + matches = detect_mac_address(content) + assert len(matches) == 0 + + +class TestURLDetection: + """Test URL detection.""" + + def test_detect_http_url(self) -> None: + content = "Visit http://example.com for details." + matches = detect_url(content) + + assert len(matches) == 1 + assert matches[0]["type"] == "url" + assert matches[0]["value"] == "http://example.com" + + def test_detect_https_url(self) -> None: + content = "Visit https://secure.example.com/path" + matches = detect_url(content) + + assert len(matches) == 1 + assert matches[0]["value"] == "https://secure.example.com/path" + + def test_detect_www_url(self) -> None: + content = "Check www.example.com" + matches = detect_url(content) + + assert len(matches) == 1 + assert matches[0]["value"] == "www.example.com" + + def test_detect_bare_domain_with_path(self) -> None: + content = "Go to example.com/page" + matches = detect_url(content) + + assert len(matches) == 1 + assert matches[0]["value"] == "example.com/page" + + def test_detect_multiple_urls(self) -> None: + content = "Visit http://test.com and https://example.org" + matches = detect_url(content) + + assert len(matches) == 2 + + def test_no_url(self) -> None: + content = "No URLs here." + matches = detect_url(content) + assert len(matches) == 0 + + def test_bare_domain_without_path_not_detected(self) -> None: + # To reduce false positives, bare domains without paths are not detected + content = "The word example.com in prose" + detect_url(content) + # May or may not detect depending on implementation + # This is acceptable + + +# ============================================================================ +# Strategy Tests +# ============================================================================ + + +class TestRedactStrategy: + """Test redact strategy.""" + + def test_redact_email(self) -> None: + middleware = PIIMiddleware("email", strategy="redact") + state = AgentState[Any](messages=[HumanMessage("Email me at test@example.com")]) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + assert "[REDACTED_EMAIL]" in result["messages"][0].content + assert "test@example.com" not in result["messages"][0].content + + def test_redact_multiple_pii(self) -> None: + middleware = PIIMiddleware("email", strategy="redact") + state = AgentState[Any](messages=[HumanMessage("Contact alice@test.com or bob@test.com")]) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + content = result["messages"][0].content + assert content.count("[REDACTED_EMAIL]") == 2 + assert "alice@test.com" not in content + assert "bob@test.com" not in content + + +class TestMaskStrategy: + """Test mask strategy.""" + + def test_mask_email(self) -> None: + middleware = PIIMiddleware("email", strategy="mask") + state = AgentState[Any](messages=[HumanMessage("Email: user@example.com")]) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + content = result["messages"][0].content + assert "user@****.com" in content + assert "user@example.com" not in content + + def test_mask_credit_card(self) -> None: + middleware = PIIMiddleware("credit_card", strategy="mask") + # Valid test card + state = AgentState[Any](messages=[HumanMessage("Card: 4532015112830366")]) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + content = result["messages"][0].content + assert "0366" in content # Last 4 digits visible + assert "4532015112830366" not in content + + def test_mask_ip(self) -> None: + middleware = PIIMiddleware("ip", strategy="mask") + state = AgentState[Any](messages=[HumanMessage("IP: 192.168.1.100")]) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + content = result["messages"][0].content + assert "*.*.*.100" in content + assert "192.168.1.100" not in content + + +class TestHashStrategy: + """Test hash strategy.""" + + def test_hash_email(self) -> None: + middleware = PIIMiddleware("email", strategy="hash") + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + content = result["messages"][0].content + assert "" in content + assert "test@example.com" not in content + + def test_hash_is_deterministic(self) -> None: + middleware = PIIMiddleware("email", strategy="hash") + + # Same email should produce same hash + state1 = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + state2 = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + + result1 = middleware.before_model(state1, Runtime()) + result2 = middleware.before_model(state2, Runtime()) + + assert result1 is not None + assert result2 is not None + assert result1["messages"][0].content == result2["messages"][0].content + + +class TestBlockStrategy: + """Test block strategy.""" + + def test_block_raises_exception(self) -> None: + middleware = PIIMiddleware("email", strategy="block") + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + + with pytest.raises(PIIDetectionError) as exc_info: + middleware.before_model(state, Runtime()) + + assert exc_info.value.pii_type == "email" + assert len(exc_info.value.matches) == 1 + assert "test@example.com" in exc_info.value.matches[0]["value"] + + def test_block_with_multiple_matches(self) -> None: + middleware = PIIMiddleware("email", strategy="block") + state = AgentState[Any](messages=[HumanMessage("Emails: alice@test.com and bob@test.com")]) + + with pytest.raises(PIIDetectionError) as exc_info: + middleware.before_model(state, Runtime()) + + assert len(exc_info.value.matches) == 2 + + +# ============================================================================ +# Middleware Integration Tests +# ============================================================================ + + +class TestPIIMiddlewareIntegration: + """Test PIIMiddleware integration with agent.""" + + def test_apply_to_input_only(self) -> None: + """Test that middleware only processes input when configured.""" + middleware = PIIMiddleware( + "email", strategy="redact", apply_to_input=True, apply_to_output=False + ) + + # Should process HumanMessage + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + result = middleware.before_model(state, Runtime()) + assert result is not None + assert "[REDACTED_EMAIL]" in result["messages"][0].content + + # Should not process AIMessage + state = AgentState[Any](messages=[AIMessage("My email is ai@example.com")]) + result = middleware.after_model(state, Runtime()) + assert result is None + + def test_apply_to_output_only(self) -> None: + """Test that middleware only processes output when configured.""" + middleware = PIIMiddleware( + "email", strategy="redact", apply_to_input=False, apply_to_output=True + ) + + # Should not process HumanMessage + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + result = middleware.before_model(state, Runtime()) + assert result is None + + # Should process AIMessage + state = AgentState[Any](messages=[AIMessage("My email is ai@example.com")]) + result = middleware.after_model(state, Runtime()) + assert result is not None + assert "[REDACTED_EMAIL]" in result["messages"][0].content + + def test_apply_to_both(self) -> None: + """Test that middleware processes both input and output.""" + middleware = PIIMiddleware( + "email", strategy="redact", apply_to_input=True, apply_to_output=True + ) + + # Should process HumanMessage + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com")]) + result = middleware.before_model(state, Runtime()) + assert result is not None + + # Should process AIMessage + state = AgentState[Any](messages=[AIMessage("My email is ai@example.com")]) + result = middleware.after_model(state, Runtime()) + assert result is not None + + def test_no_pii_returns_none(self) -> None: + """Test that middleware returns None when no PII detected.""" + middleware = PIIMiddleware("email", strategy="redact") + state = AgentState[Any](messages=[HumanMessage("No PII here")]) + + result = middleware.before_model(state, Runtime()) + assert result is None + + def test_empty_messages(self) -> None: + """Test that middleware handles empty messages gracefully.""" + middleware = PIIMiddleware("email", strategy="redact") + state = AgentState[Any](messages=[]) + + result = middleware.before_model(state, Runtime()) + assert result is None + + def test_apply_to_tool_results(self) -> None: + """Test that middleware processes tool results when enabled.""" + middleware = PIIMiddleware( + "email", strategy="redact", apply_to_input=False, apply_to_tool_results=True + ) + + # Simulate a conversation with tool call and result containing PII + state = AgentState[Any]( + messages=[ + HumanMessage("Search for John"), + AIMessage( + content="", + tool_calls=[ToolCall(name="search", args={}, id="call_123", type="tool_call")], + ), + ToolMessage(content="Found: john@example.com", tool_call_id="call_123"), + ] + ) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + # Check that the tool message was redacted + tool_msg = result["messages"][2] + assert isinstance(tool_msg, ToolMessage) + assert "[REDACTED_EMAIL]" in tool_msg.content + assert "john@example.com" not in tool_msg.content + + def test_apply_to_tool_results_mask_strategy(self) -> None: + """Test that mask strategy works for tool results.""" + middleware = PIIMiddleware( + "ip", strategy="mask", apply_to_input=False, apply_to_tool_results=True + ) + + state = AgentState[Any]( + messages=[ + HumanMessage("Get server IP"), + AIMessage( + content="", + tool_calls=[ToolCall(name="get_ip", args={}, id="call_456", type="tool_call")], + ), + ToolMessage(content="Server IP: 192.168.1.100", tool_call_id="call_456"), + ] + ) + + result = middleware.before_model(state, Runtime()) + + assert result is not None + tool_msg = result["messages"][2] + assert "*.*.*.100" in tool_msg.content + assert "192.168.1.100" not in tool_msg.content + + def test_apply_to_tool_results_block_strategy(self) -> None: + """Test that block strategy raises error for PII in tool results.""" + middleware = PIIMiddleware( + "email", strategy="block", apply_to_input=False, apply_to_tool_results=True + ) + + state = AgentState[Any]( + messages=[ + HumanMessage("Search for user"), + AIMessage( + content="", + tool_calls=[ToolCall(name="search", args={}, id="call_789", type="tool_call")], + ), + ToolMessage(content="User email: sensitive@example.com", tool_call_id="call_789"), + ] + ) + + with pytest.raises(PIIDetectionError) as exc_info: + middleware.before_model(state, Runtime()) + + assert exc_info.value.pii_type == "email" + assert len(exc_info.value.matches) == 1 + + def test_with_agent(self) -> None: + """Test PIIMiddleware integrated with create_agent.""" + model = FakeToolCallingModel() + + agent = create_agent( + model=model, + middleware=[PIIMiddleware("email", strategy="redact")], + ) + + # Invoke (agent is already compiled) + result = agent.invoke({"messages": [HumanMessage("Email: test@example.com")]}) + + # Check that email was redacted in the stored messages + # The first message should have been processed + messages = result["messages"] + assert any("[REDACTED_EMAIL]" in str(msg.content) for msg in messages) + + +class TestCustomDetector: + """Test custom detector functionality.""" + + def test_custom_regex_detector(self) -> None: + # Custom regex for API keys + middleware = PIIMiddleware( + "api_key", + detector=r"sk-[a-zA-Z0-9]{32}", + strategy="redact", + ) + + state = AgentState[Any](messages=[HumanMessage("Key: sk-abcdefghijklmnopqrstuvwxyz123456")]) + result = middleware.before_model(state, Runtime()) + + assert result is not None + assert "[REDACTED_API_KEY]" in result["messages"][0].content + + def test_custom_callable_detector(self) -> None: + # Custom detector function + def detect_custom(content: str) -> list[PIIMatch]: + matches = [] + if "CONFIDENTIAL" in content: + idx = content.index("CONFIDENTIAL") + matches.append( + PIIMatch( + type="confidential", + value="CONFIDENTIAL", + start=idx, + end=idx + 12, + ) + ) + return matches + + middleware = PIIMiddleware( + "confidential", + detector=detect_custom, + strategy="redact", + ) + + state = AgentState[Any](messages=[HumanMessage("This is CONFIDENTIAL information")]) + result = middleware.before_model(state, Runtime()) + + assert result is not None + assert "[REDACTED_CONFIDENTIAL]" in result["messages"][0].content + + def test_custom_callable_detector_with_text_key_hash(self) -> None: + """Custom detectors returning 'text' instead of 'value' must work with hash strategy. + + Regression test for https://github.com/langchain-ai/langchain/issues/35647: + Custom detectors documented to return {"text", "start", "end"} caused + KeyError: 'value' when used with hash or mask strategies. + """ + + def detect_phone(content: str) -> list[dict[str, Any]]: + return [ + {"text": m.group(), "start": m.start(), "end": m.end()} + for m in re.finditer(r"\+91[\s.-]?\d{10}", content) + ] + + middleware = PIIMiddleware( + "indian_phone", + detector=detect_phone, # type: ignore[arg-type] + strategy="hash", + apply_to_input=True, + ) + + state = AgentState[Any](messages=[HumanMessage("Call +91 9876543210")]) + result = middleware.before_model(state, Runtime()) + + assert result is not None + assert " None: + """Custom detectors returning 'text' instead of 'value' must work with mask strategy.""" + + def detect_phone(content: str) -> list[dict[str, Any]]: + return [ + {"text": m.group(), "start": m.start(), "end": m.end()} + for m in re.finditer(r"\+91[\s.-]?\d{10}", content) + ] + + middleware = PIIMiddleware( + "indian_phone", + detector=detect_phone, # type: ignore[arg-type] + strategy="mask", + apply_to_input=True, + ) + + state = AgentState[Any](messages=[HumanMessage("Call +91 9876543210")]) + result = middleware.before_model(state, Runtime()) + + assert result is not None + assert "****" in result["messages"][0].content + assert "+91 9876543210" not in result["messages"][0].content + + def test_unknown_builtin_type_raises_error(self) -> None: + with pytest.raises(ValueError, match="Unknown PII type"): + PIIMiddleware("unknown_type", strategy="redact") + + def test_custom_type_without_detector_raises_error(self) -> None: + with pytest.raises(ValueError, match="Unknown PII type"): + PIIMiddleware("custom_type", strategy="redact") + + +class TestMultipleMiddleware: + """Test using multiple PII middleware instances.""" + + def test_sequential_application(self) -> None: + """Test that multiple PII types are detected when applied sequentially.""" + # First apply email middleware + email_middleware = PIIMiddleware("email", strategy="redact") + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com, IP: 192.168.1.1")]) + result1 = email_middleware.before_model(state, Runtime()) + + # Then apply IP middleware to the result + ip_middleware = PIIMiddleware("ip", strategy="mask") + assert result1 is not None + state_with_email_redacted = AgentState[Any](messages=result1["messages"]) + result2 = ip_middleware.before_model(state_with_email_redacted, Runtime()) + + assert result2 is not None + content = result2["messages"][0].content + + # Email should be redacted + assert "[REDACTED_EMAIL]" in content + assert "test@example.com" not in content + + # IP should be masked + assert "*.*.*.1" in content + assert "192.168.1.1" not in content + + def test_multiple_pii_middleware_with_create_agent(self) -> None: + """Test that multiple PIIMiddleware instances work together in create_agent.""" + model = FakeToolCallingModel() + + # Multiple PIIMiddleware instances should work because each has a unique name + agent = create_agent( + model=model, + middleware=[ + PIIMiddleware("email", strategy="redact"), + PIIMiddleware("ip", strategy="mask"), + PIIMiddleware("url", strategy="block", apply_to_input=True), + ], + ) + + # Test with email and IP (url would block, so we omit it) + result = agent.invoke( + {"messages": [HumanMessage("Contact: test@example.com, IP: 192.168.1.100")]} + ) + + messages = result["messages"] + content = " ".join(str(msg.content) for msg in messages) + + # Email should be redacted + assert "test@example.com" not in content + # IP should be masked + assert "192.168.1.100" not in content + + def test_custom_detector_for_multiple_types(self) -> None: + """Test using a single middleware with custom detector for multiple PII types. + + This is an alternative to using multiple middleware instances, + useful when you want the same strategy for multiple PII types. + """ + + # Combine multiple detectors into one + def detect_email_and_ip(content: str) -> list[PIIMatch]: + return detect_email(content) + detect_ip(content) + + middleware = PIIMiddleware( + "email_or_ip", + detector=detect_email_and_ip, + strategy="redact", + ) + + state = AgentState[Any](messages=[HumanMessage("Email: test@example.com, IP: 10.0.0.1")]) + result = middleware.before_model(state, Runtime()) + + assert result is not None + content = result["messages"][0].content + assert "test@example.com" not in content + assert "10.0.0.1" not in content + + +# ============================================================================ +# Stream Transformer Tests +# ============================================================================ + + +def _make_delta_event(text: str, *, index: int = 0, run_id: str = "r1") -> ProtocolEvent: + """Build a `messages` protocol event for a text content-block delta.""" + return { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": index, + "delta": {"type": "text-delta", "text": text}, + }, + {"run_id": run_id}, + ), + }, + } + + +def _make_finish_event(text: str, *, index: int = 0, run_id: str = "r1") -> ProtocolEvent: + """Build a `messages` protocol event for content-block-finish on a text block.""" + return { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-finish", + "index": index, + "content": {"type": "text", "text": text}, + }, + {"run_id": run_id}, + ), + }, + } + + +def _emitted_text(events: list[ProtocolEvent]) -> tuple[str, dict[int, str]]: + """Concatenate delta + finalized text the way a streaming consumer would.""" + parts = [] + final_by_index: dict[int, str] = {} + for event in events: + payload = event["params"]["data"][0] + kind = payload.get("event") + if kind == "content-block-delta": + delta = payload["delta"] + if delta.get("type") == "text-delta": + parts.append(delta["text"]) + elif kind == "content-block-finish": + content = payload.get("content", {}) + if content.get("type") == "text": + final_by_index[payload["index"]] = content["text"] + # Concatenated delta stream is what the consumer sees in real time; + # finalized text is the snapshot. Return both via a tuple-like dict. + return "".join(parts), final_by_index + + +def _run_transformer(transformer: Any, events: list[ProtocolEvent]) -> list[ProtocolEvent]: + """Feed events through the transformer (mutates in place) and return them.""" + for event in events: + transformer.process(event) + return events + + +class TestPIIStreamTransformer: + """Tests for the in-flight stream transformer.""" + + def test_redact_value_walks_nested_strings(self) -> None: + """`_redact_value` redacts PII in string leaves of nested dict/list.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + value = { + "to": "alice@example.com", + "cc": ["bob@example.com", "no-pii"], + "nested": {"hidden": "user mail: charlie@example.com"}, + "count": 3, + "flag": True, + } + redacted = transformer._redact_value(value) + + assert redacted == { + "to": "[REDACTED_EMAIL]", + "cc": ["[REDACTED_EMAIL]", "no-pii"], + "nested": {"hidden": "user mail: [REDACTED_EMAIL]"}, + "count": 3, + "flag": True, + } + + def test_redact_value_block_strategy_raises(self) -> None: + """Under `block`, `_redact_value` raises on the first matching leaf.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + value = {"to": "alice@example.com", "subject": "clean"} + with pytest.raises(PIIDetectionError): + transformer._redact_value(value) + + def test_redact_value_passthrough_for_clean_input(self) -> None: + """No PII anywhere → returns an equal value.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + value = {"a": "hello", "b": [1, 2, "world"], "c": None} + redacted = transformer._redact_value(value) + assert redacted == value + + def test_redact_value_walks_structured_message_content(self) -> None: + """`_redact_value` walks list-typed `.content` (content-blocks shape).""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = AIMessage( + content=[ + {"type": "text", "text": "Reach me at alice@example.com"}, + {"type": "reasoning", "reasoning": "User mentioned bob@example.com"}, + ], + id="m1", + ) + redacted = transformer._redact_value(msg) + + # Original untouched. + assert isinstance(msg.content[0], dict) + assert msg.content[0]["text"] == "Reach me at alice@example.com" + # Redacted copy walked every block. + assert "alice@example.com" not in redacted.content[0]["text"] + assert "[REDACTED_EMAIL]" in redacted.content[0]["text"] + assert "bob@example.com" not in redacted.content[1]["reasoning"] + assert "[REDACTED_EMAIL]" in redacted.content[1]["reasoning"] + + def test_redact_value_walks_ai_message_tool_calls(self) -> None: + """`_redact_value` redacts `AIMessage.tool_calls[*].args` even with empty content. + + The legacy `(AIMessage, metadata)` payload path on the `messages` + channel mutates `tool_calls` in place before the `values` event + fires, but on the v3 streaming path the state's AIMessage is + assembled by langgraph without going through that mutation. + `_redact_value` is what scrubs the message when the `values` + snapshot walks it — it must not stop at empty content. + """ + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = AIMessage( + content="", + tool_calls=[ + ToolCall(name="send_email", args={"to": "alice@example.com"}, id="c1"), + ], + id="m1", + ) + redacted = transformer._redact_value(msg) + + # Original message stays intact for state-level enforcers. + assert msg.tool_calls[0]["args"] == {"to": "alice@example.com"} + # The returned copy has scrubbed tool_calls and is a fresh object. + assert redacted is not msg + assert redacted.tool_calls[0]["args"] == {"to": "[REDACTED_EMAIL]"} + + def test_redact_value_walks_both_content_and_tool_calls(self) -> None: + """Content and tool_calls both carry PII — both get scrubbed in one pass.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = AIMessage( + content="Reaching out from bob@example.com", + tool_calls=[ + ToolCall(name="send_email", args={"to": "alice@example.com"}, id="c1"), + ], + id="m1", + ) + redacted = transformer._redact_value(msg) + + assert "bob@example.com" not in redacted.content + assert "[REDACTED_EMAIL]" in redacted.content + assert redacted.tool_calls[0]["args"] == {"to": "[REDACTED_EMAIL]"} + + def test_reasoning_delta_uses_lookback(self) -> None: + """`reasoning-delta` events go through the same lookback as text-delta.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=32) + + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "reasoning-delta", + "reasoning": "User mentioned alice@example.com", + }, + }, + {"run_id": "r1"}, + ), + }, + }, + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-finish", + "index": 0, + "content": { + "type": "reasoning", + "reasoning": "User mentioned alice@example.com", + }, + }, + {"run_id": "r1"}, + ), + }, + }, + ] + for e in events: + transformer.process(e) + + # The finalize snapshot is redacted. The delta itself may emit + # nothing (entire string fits within lookback) — the consumer's + # ChatModelStream reconciles against the finalize content. + finalized = events[1]["params"]["data"][0]["content"]["reasoning"] + assert "alice@example.com" not in finalized + assert "[REDACTED_EMAIL]" in finalized + + def test_reasoning_delta_block_strategy_raises(self) -> None: + """`block` raises immediately when reasoning content contains PII.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "reasoning-delta", + "reasoning": "User mentioned alice@example.com", + }, + }, + {"run_id": "r1"}, + ), + }, + } + with pytest.raises(PIIDetectionError): + transformer.process(event) + + def test_tool_call_args_short_args_withheld_during_streaming(self) -> None: + """Tool-call args shorter than `stream_lookback` are withheld on each chunk. + + The redacted args dict surfaces on `content-block-finish` via + `_finalize_block` — the consumer's `tool_calls_proj` replaces + wholesale on each chunk, so this is equivalent to "no args + during streaming, redacted dict at finalize". + """ + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) # default lookback=128 + + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "block-delta", + "fields": { + "type": "tool_call_chunk", + "id": "call_1", + "name": "send_email", + "args": '{"to": "alice@example.com"}', + }, + }, + }, + {"run_id": "r1"}, + ), + }, + }, + ] + _run_transformer(transformer, events) + + fields = events[0]["params"]["data"][0]["delta"]["fields"] + # 27 chars < lookback (128), so emit_end = 0 — nothing reaches the wire. + assert fields["args"] == "" + + def test_tool_call_args_long_args_emit_safe_prefix(self) -> None: + """Args longer than `stream_lookback` stream the redacted safe prefix. + + Detection runs on the full cumulative args, so any complete PII + anywhere in the string is redacted before emission. The trailing + `stream_lookback` characters are withheld — they might be the + start of a partial PII match that completes in a future delta. + """ + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=8) + + # 50-char args with PII near the start; emit_end = 50 - 8 = 42. + args = '{"to": "alice@example.com", "subject": "hi"}' + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "block-delta", + "fields": { + "type": "tool_call_chunk", + "id": "call_1", + "name": "send_email", + "args": args, + }, + }, + }, + {"run_id": "r1"}, + ), + }, + }, + ] + _run_transformer(transformer, events) + + emitted = events[0]["params"]["data"][0]["delta"]["fields"]["args"] + # The full cumulative args was detected and redacted before + # truncation, so the prefix that lands on the wire has no PII. + assert "alice@example.com" not in emitted + assert "[REDACTED_EMAIL]" in emitted + + def test_tool_call_args_partial_pii_across_chunks_withheld(self) -> None: + """Cumulative chunks that grow into PII don't leak intermediate states. + + Regression for Corridor's partial-exposure window: a model + streaming `{"to": "alice@` then `{"to": "alice@example.com"}` + would expose the partial first chunk under the old in-place + redaction. With lookback withholding, the partial chunk is + below the lookback threshold and never reaches the wire. + """ + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) # default lookback=128 + + chunks = [ + '{"to": "alice@', + '{"to": "alice@example', + '{"to": "alice@example.com"}', + ] + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "block-delta", + "fields": { + "type": "tool_call_chunk", + "id": "c1", + "name": "send_email", + "args": c, + }, + }, + }, + {"run_id": "r1"}, + ), + }, + } + for c in chunks + ] + _run_transformer(transformer, events) + + # None of the intermediate accumulation states reach the wire — + # all chunks are below the 128-char lookback, so emit_end = 0. + for e in events: + args_on_wire = e["params"]["data"][0]["delta"]["fields"]["args"] + assert "alice@" not in args_on_wire + assert "alice" not in args_on_wire + assert args_on_wire == "" + + def test_finalize_block_redacts_tool_call_args(self) -> None: + """`content-block-finish` with type=tool_call walks args dict.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-finish", + "index": 0, + "content": { + "type": "tool_call", + "id": "call_1", + "name": "send_email", + "args": {"to": "alice@example.com", "subject": "clean"}, + }, + }, + {"run_id": "r1"}, + ), + }, + }, + ] + _run_transformer(transformer, events) + args = events[0]["params"]["data"][0]["content"]["args"] + assert args == {"to": "[REDACTED_EMAIL]", "subject": "clean"} + + def test_finalize_block_raises_on_tool_call_args_under_block(self) -> None: + """`block` raises when the finalized tool-call args contain PII.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-finish", + "index": 0, + "content": { + "type": "tool_call", + "id": "call_1", + "name": "send_email", + "args": {"to": "alice@example.com"}, + }, + }, + {"run_id": "r1"}, + ), + }, + } + with pytest.raises(PIIDetectionError): + transformer.process(event) + + def test_legacy_payload_redacts_tool_call_args(self) -> None: + """`(AIMessage, metadata)` shape redacts tool_calls[].args.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = AIMessage( + content="", + tool_calls=[ + ToolCall(name="send_email", args={"to": "alice@example.com"}, id="c1"), + ], + id="m1", + ) + event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": (msg, {"run_id": "r1"}), + }, + } + transformer.process(event) + out_msg = event["params"]["data"][0] + assert out_msg.tool_calls[0]["args"] == {"to": "[REDACTED_EMAIL]"} + + def test_legacy_payload_block_raises_when_tool_call_has_pii(self) -> None: + """`block` + legacy AIMessage with PII in tool_calls → raises immediately.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = AIMessage( + content="", + tool_calls=[ + ToolCall(name="send_email", args={"to": "alice@example.com"}, id="c1"), + ], + id="m1", + ) + event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": (msg, {"run_id": "r1"}), + }, + } + with pytest.raises(PIIDetectionError): + transformer.process(event) + + def test_legacy_payload_redacts_tool_message_content(self) -> None: + """`(ToolMessage, metadata)` payload redacts `.content`.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = ToolMessage(content="Result: alice@example.com", tool_call_id="c1", id="m1") + event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": (msg, {"run_id": "r1"}), + }, + } + transformer.process(event) + out_msg = event["params"]["data"][0] + assert "alice@example.com" not in out_msg.content + assert "[REDACTED_EMAIL]" in out_msg.content + + def test_tools_in_required_stream_modes(self) -> None: + """The transformer subscribes to both `messages` and `tools`.""" + assert "tools" in _PIIStreamTransformer.required_stream_modes + assert "messages" in _PIIStreamTransformer.required_stream_modes + + def test_process_tools_event_passes_through(self) -> None: + """Tools events route to the new handler without error.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-started", + "tool_call_id": "c1", + "tool_name": "echo", + "input": {}, + }, + }, + } + assert transformer.process(event) is True + + def test_tool_started_string_input_redacted(self) -> None: + """Single-argument tools pass `input` as a raw string.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-started", + "tool_call_id": "c1", + "tool_name": "echo", + "input": "user mail is alice@example.com", + }, + }, + } + transformer.process(event) + out = event["params"]["data"]["input"] + assert "alice@example.com" not in out + assert "[REDACTED_EMAIL]" in out + + def test_tool_started_list_input_redacted(self) -> None: + """Array-input tools pass `input` as a list.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-started", + "tool_call_id": "c1", + "tool_name": "fanout", + "input": ["bob@example.com", "clean"], + }, + }, + } + transformer.process(event) + assert event["params"]["data"]["input"] == ["[REDACTED_EMAIL]", "clean"] + + def test_drop_run_does_not_sweep_tool_buffers(self) -> None: + """`_drop_run` on the messages channel must not wipe tool buffers.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + # Put a tool-output buffer entry in place. + transformer.process( + { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-output-delta", + "tool_call_id": "c1", + "delta": "partial", + }, + }, + } + ) + assert "c1" in transformer._tool_buffers + + # An errant message-finish with no run_id used to sweep all + # `("", *)` buffer keys when tool buffers shared the dict. Now + # `_drop_run` only touches `_buffers`, so tool entries are + # structurally isolated. + transformer.process( + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ({"event": "message-finish"}, {}), + }, + } + ) + assert "c1" in transformer._tool_buffers + + def test_finalize_invalid_tool_call_redacts_string_args(self) -> None: + """`invalid_tool_call.args` is a raw JSON string, not a dict.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-finish", + "index": 0, + "content": { + "type": "invalid_tool_call", + "id": "c1", + "name": "send_email", + "args": '{"to": "alice@example.com", "bad json', + "error": "Unterminated string", + }, + }, + {"run_id": "r1"}, + ), + }, + }, + ] + _run_transformer(transformer, events) + out = events[0]["params"]["data"][0]["content"]["args"] + assert "alice@example.com" not in out + assert "[REDACTED_EMAIL]" in out + + def test_redact_value_walks_invalid_tool_calls(self) -> None: + """`AIMessage.invalid_tool_calls` go through the same recursion.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + msg = AIMessage( + content="", + invalid_tool_calls=[ + InvalidToolCall( + type="invalid_tool_call", + name="send_email", + args='{"to": "alice@example.com"} BROKEN', + id="c1", + error="parse failed", + ), + ], + id="m1", + ) + redacted: AIMessage = transformer._redact_value(msg) + assert redacted.invalid_tool_calls[0]["args"] is not None + assert "alice@example.com" not in redacted.invalid_tool_calls[0]["args"] + assert "[REDACTED_EMAIL]" in redacted.invalid_tool_calls[0]["args"] + assert msg.invalid_tool_calls[0]["args"] is not None + assert "alice@example.com" in msg.invalid_tool_calls[0]["args"] + + def test_tool_started_input_is_redacted(self) -> None: + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-started", + "tool_call_id": "c1", + "tool_name": "send_email", + "input": {"to": "alice@example.com", "subject": "clean"}, + }, + }, + } + transformer.process(event) + assert event["params"]["data"]["input"] == { + "to": "[REDACTED_EMAIL]", + "subject": "clean", + } + + def test_tool_output_delta_string_uses_lookback(self) -> None: + """String tool-output deltas get the lookback redaction same as text.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + events: list[ProtocolEvent] = [ + { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-output-delta", + "tool_call_id": "c1", + "delta": "Result: alice", + }, + }, + }, + { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-output-delta", + "tool_call_id": "c1", + "delta": "@example.com end", + }, + }, + }, + ] + for e in events: + transformer.process(e) + streamed = events[0]["params"]["data"]["delta"] + events[1]["params"]["data"]["delta"] + assert "alice@example.com" not in streamed + + def test_tool_output_delta_dict_walks_strings(self) -> None: + """Structured tool-output deltas redact each string leaf in place.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-output-delta", + "tool_call_id": "c1", + "delta": {"row": {"email": "alice@example.com"}, "ok": True}, + }, + }, + } + transformer.process(event) + assert event["params"]["data"]["delta"] == { + "row": {"email": "[REDACTED_EMAIL]"}, + "ok": True, + } + + def test_tool_finished_output_redacted(self) -> None: + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-finished", + "tool_call_id": "c1", + "output": {"email": "alice@example.com", "clean": "yes"}, + }, + }, + } + transformer.process(event) + assert event["params"]["data"]["output"] == { + "email": "[REDACTED_EMAIL]", + "clean": "yes", + } + + def test_tool_error_message_redacted(self) -> None: + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-error", + "tool_call_id": "c1", + "message": "failed for alice@example.com", + }, + }, + } + transformer.process(event) + assert "alice@example.com" not in event["params"]["data"]["message"] + assert "[REDACTED_EMAIL]" in event["params"]["data"]["message"] + + def test_tool_finished_clears_per_tool_buffer(self) -> None: + """tool-finished drops the lookback buffer for that tool_call_id.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + delta_event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-output-delta", + "tool_call_id": "c1", + "delta": "partial text", + }, + }, + } + transformer.process(delta_event) + assert "c1" in transformer._tool_buffers + + finish_event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-finished", + "tool_call_id": "c1", + "output": "done", + }, + }, + } + transformer.process(finish_event) + assert "c1" not in transformer._tool_buffers + + def test_tool_output_delta_block_strategy_raises(self) -> None: + """`block` raises immediately on PII in a `tool-output-delta`.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "tools", + "params": { + "namespace": [], + "timestamp": 0, + "data": { + "event": "tool-output-delta", + "tool_call_id": "c1", + "delta": "Result: alice@example.com", + }, + }, + } + with pytest.raises(PIIDetectionError): + transformer.process(event) + + def test_tool_call_args_block_strategy_raises(self) -> None: + """`block` raises immediately when streamed tool-call args contain PII.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "block-delta", + "fields": { + "type": "tool_call_chunk", + "id": "call_1", + "name": "send_email", + "args": '{"to": "alice@example.com"}', + }, + }, + }, + {"run_id": "r1"}, + ), + }, + } + with pytest.raises(PIIDetectionError): + transformer.process(event) + + def test_pii_fully_inside_one_delta_is_redacted_on_finalize(self) -> None: + """A delta shorter than `lookback` is held until finalize redacts the snapshot.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + events = [ + _make_delta_event("Reach me at alice@example.com tomorrow."), + _make_finish_event("Reach me at alice@example.com tomorrow."), + ] + _run_transformer(transformer, events) + streamed, finals = _emitted_text(events) + + # The raw email never reaches the wire — the delta is held in the + # lookback buffer and the finalize snapshot is the redacted text. + assert "alice@example.com" not in streamed + assert "alice@example.com" not in finals[0] + assert "[REDACTED_EMAIL]" in finals[0] + + def test_pii_split_across_deltas_is_caught(self) -> None: + """Email split mid-string across deltas should still be redacted in stream.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + events = [ + _make_delta_event("Hi, contact alice"), + _make_delta_event("@example.com when ready"), + _make_finish_event("Hi, contact alice@example.com when ready"), + ] + _run_transformer(transformer, events) + streamed, finals = _emitted_text(events) + + # The held-buffer should have prevented the raw email from being + # released until detection ran over the concatenation. + assert "alice@example.com" not in streamed + assert "alice@example.com" not in finals[0] + + def test_pii_straddling_lookback_boundary_is_caught(self) -> None: + r"""PII whose start falls in the safe prefix and end in the held tail. + + When `len(combined) > lookback`, the safe/tail split lands inside + the buffer. Detecting only on the about-to-emit prefix misses + PII that straddles the boundary — the regex's `\b...\b` anchors + require a complete match, so a truncated prefix produces no + detection and the partial PII would leak raw. The transformer + must run detection on the full accumulated buffer first. + """ + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=32) + + # Single 50-char delta with a 30-char email at position 0. + # `safe_end = 50 - 32 = 18` falls inside the email, so the old + # logic would emit `"alice@longerdomain"` raw and hold the rest. + email = "alice@longerdomain.example.com" + text = email + "x" * 20 + events = [ + _make_delta_event(text), + _make_finish_event(text), + ] + _run_transformer(transformer, events) + streamed, finals = _emitted_text(events) + + # No prefix of the email reaches the wire. + assert email not in streamed + assert "alice@longerdomain" not in streamed + assert "alice@" not in streamed + # And the finalized snapshot is fully redacted. + assert email not in finals[0] + assert "[REDACTED_EMAIL]" in finals[0] + + def test_credit_card_split_across_whitespace_is_caught(self) -> None: + """Card with whitespace separators must not leak across deltas.""" + rule = RedactionRule(pii_type="credit_card").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + events = [ + _make_delta_event("Card: 5425 "), + _make_delta_event("2334 3010 9903 next"), + _make_finish_event("Card: 5425 2334 3010 9903 next"), + ] + _run_transformer(transformer, events) + streamed, finals = _emitted_text(events) + + # No prefix of the card may reach the wire — the lookback buffer + # holds whitespace-separated groups until detection runs over the + # full concatenation. + assert "5425 2334 3010 9903" not in streamed + assert "5425" not in streamed + assert "5425 2334 3010 9903" not in finals[0] + assert "[REDACTED_CREDIT_CARD]" in finals[0] + + def test_no_transformer_when_neither_output_nor_tool_results_apply(self) -> None: + """The transformer is gated on either output- or tool-result scrubbing.""" + middleware = PIIMiddleware("email", apply_to_output=False, apply_to_tool_results=False) + assert middleware.transformers == () + + def test_transformer_installed_for_tool_results_only(self) -> None: + """`apply_to_tool_results=True` alone installs the stream transformer. + + Stream consumers see the `tools` channel and `ToolMessage` + payloads on the `messages` / `values` channels before the + state-level `before_model` enforcer runs. Without the + transformer those surfaces would leak raw tool-result PII. + """ + middleware = PIIMiddleware("email", apply_to_output=False, apply_to_tool_results=True) + assert len(middleware.transformers) == 1 + + def test_block_strategy_installs_buffering_stream_transformer(self) -> None: + """`block` + output streaming installs a buffering transformer. + + `after_model` is still the canonical blocker. The transformer's + job is to make sure no PII reaches the streamed surface before + that hook can raise. + """ + middleware = PIIMiddleware("email", strategy="block", apply_to_output=True) + assert len(middleware.transformers) == 1 + + def test_block_strategy_raises_on_first_pii_detection(self) -> None: + """Stream PII under `block`: raises immediately when the pattern completes.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + # First delta carries an incomplete email — detection won't match. + clean_event = _make_delta_event("Reach me at alice") + transformer.process(clean_event) # no raise yet + + # Second delta completes the email — detection fires, raises. + completing_event: ProtocolEvent = _make_delta_event("@example.com soon") + with pytest.raises(PIIDetectionError): + transformer.process(completing_event) + + def test_block_strategy_releases_full_text_at_finalize_when_clean(self) -> None: + """Stream clean text under `block`: deltas empty, finalize is the full text.""" + rule = RedactionRule(pii_type="email", strategy="block").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + events = [ + _make_delta_event("Hello there, "), + _make_delta_event("how are you?"), + _make_finish_event("Hello there, how are you?"), + ] + _run_transformer(transformer, events) + streamed, finals = _emitted_text(events) + + # Deltas hold everything back; the finalize event carries the + # whole block at once. `ChatModelStream._resolve_block_text` + # turns this into a single trailing delta for the consumer's + # `msg.text` projection. + assert streamed == "" + assert finals[0] == "Hello there, how are you?" + + def test_finalize_block_redacts_full_text_even_if_stream_redaction_partial( + self, + ) -> None: + """content-block-finish always re-redacts the finalized text snapshot.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + # Stream the email in a single delta WITHOUT trailing whitespace, + # so the in-stream lookback might not redact it yet — finalize must + # still produce a redacted snapshot. + events = [ + _make_delta_event("alice@example.com"), + _make_finish_event("alice@example.com"), + ] + _run_transformer(transformer, events) + _, finals = _emitted_text(events) + + assert "alice@example.com" not in finals[0] + assert "[REDACTED_EMAIL]" in finals[0] + + def test_buffers_isolated_by_run_id(self) -> None: + """Two concurrent runs share the transformer instance but not buffer state.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + events = [ + _make_delta_event("Hi alice", run_id="run-A"), + _make_delta_event("Bob's addr is bob", run_id="run-B"), + _make_delta_event("@example.com soon", run_id="run-A"), + _make_delta_event("@other.com soon", run_id="run-B"), + _make_finish_event("Hi alice@example.com soon", run_id="run-A"), + _make_finish_event("Bob's addr is bob@other.com soon", run_id="run-B"), + ] + _run_transformer(transformer, events) + + run_a = "".join( + e["params"]["data"][0]["delta"]["text"] + for e in events + if e["params"]["data"][0].get("event") == "content-block-delta" + and e["params"]["data"][1].get("run_id") == "run-A" + ) + run_b = "".join( + e["params"]["data"][0]["delta"]["text"] + for e in events + if e["params"]["data"][0].get("event") == "content-block-delta" + and e["params"]["data"][1].get("run_id") == "run-B" + ) + # Splits would have leaked if buffers crossed run_ids. + assert "alice@example.com" not in run_a + assert "alice@example.com" not in run_b + assert "bob@other.com" not in run_a + assert "bob@other.com" not in run_b + + def test_message_finish_drops_buffers(self) -> None: + """Abandoned blocks (no content-block-finish) should still release memory.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + + _run_transformer( + transformer, + [_make_delta_event("partial text without finish")], + ) + assert ("r1", 0) in transformer._buffers + + # message-finish for the run wipes any (run-id, *) entries. + message_finish_event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ({"event": "message-finish"}, {"run_id": "r1"}), + }, + } + transformer.process(message_finish_event) + assert ("r1", 0) not in transformer._buffers + + def test_finalize_clears_all_state(self) -> None: + """Mux close should be safe — finalize wipes any held buffers.""" + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=64) + _run_transformer(transformer, [_make_delta_event("hanging text")]) + assert transformer._buffers + transformer.finalize() + assert transformer._buffers == {} + + def test_long_pii_exceeding_lookback_still_caught_on_finalize(self) -> None: + """Patterns longer than `lookback` may slip past the in-stream cap. + + The finalize snapshot is always redacted in full regardless. + """ + # Choose an absurdly small lookback so a normal email exceeds it. + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule, lookback=4) + + events = [ + _make_delta_event("hello alice@example.com goodbye"), + _make_finish_event("hello alice@example.com goodbye"), + ] + _run_transformer(transformer, events) + _, finals = _emitted_text(events) + # The finalized snapshot always re-runs detection over the full text. + assert "alice@example.com" not in finals[0] + + def test_data_delta_passes_through_untouched(self) -> None: + """`data-delta` (binary/base64 payloads) is not a typical PII surface. + + Regex detection on base64 strings would produce false positives + and rarely catches real PII. Users with structured-data PII + concerns should attach a custom detector that understands their + payload format. + """ + rule = RedactionRule(pii_type="email").resolve() + transformer = _PIIStreamTransformer(rule=rule) + + data_event: ProtocolEvent = { + "type": "event", + "method": "messages", + "params": { + "namespace": [], + "timestamp": 0, + "data": ( + { + "event": "content-block-delta", + "index": 0, + "delta": { + "type": "data-delta", + "data": "YWxpY2VAZXhhbXBsZS5jb20=", # base64 of email + }, + }, + {"run_id": "r1"}, + ), + }, + } + transformer.process(data_event) + assert data_event["params"]["data"][0]["delta"]["data"] == "YWxpY2VAZXhhbXBsZS5jb20=" + + def test_transformer_registered_before_messages_transformer_on_agent(self) -> None: + """The PIIMiddleware transformer must run before MessagesTransformer. + + Otherwise the built-in `messages` projection snapshots the original + text before redaction, defeating the whole point of the in-flight + path. + """ + model = FakeToolCallingModel() + agent = create_agent(model, [], middleware=[PIIMiddleware("email", apply_to_output=True)]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + transformers = run._mux._transformers + + pii_idx = next( + i for i, t in enumerate(transformers) if isinstance(t, _PIIStreamTransformer) + ) + messages_idx = next( + i for i, t in enumerate(transformers) if isinstance(t, MessagesTransformer) + ) + assert pii_idx < messages_idx, ( + "PIIStreamTransformer must be registered before MessagesTransformer " + "so it can mutate delta.text before the messages projection snapshots it" + ) + + # Drain to close cleanly. + list(run.tool_calls) + + +class TestPIIStreamingEndToEnd: + """End-to-end tests with a real streaming chat model wired into create_agent.""" + + @pytest.mark.anyio + async def test_streamed_messages_projection_is_redacted(self) -> None: + """Iterating `run.messages` should yield text with PII already redacted. + + Drives a `GenericFakeChatModel` (which actually streams content via + `_stream` / `_astream` and produces `content-block-delta` protocol + events) through `create_agent` and asserts the `.text` projection + of each `ChatModelStream` does not contain the original PII. + """ + model = GenericFakeChatModel( + messages=iter([AIMessage(content="Reach me at alice@example.com today.")]) + ) + agent = create_agent(model, [], middleware=[PIIMiddleware("email", apply_to_output=True)]) + + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + + collected_text = "" + async for msg in run.messages: + async for chunk in msg.text: + collected_text += chunk + + assert "alice@example.com" not in collected_text + assert "[REDACTED_EMAIL]" in collected_text + + @pytest.mark.anyio + async def test_main_event_log_carries_redacted_deltas(self) -> None: + """Raw protocol events on the main log must not leak the original PII. + + Iterates the run as a raw protocol event stream (the same surface + external consumers see via `stream_events(version="v3")`) and + asserts every `content-block-delta` event's `delta.text` is + already redacted. + """ + model = GenericFakeChatModel( + messages=iter([AIMessage(content="Reach me at alice@example.com today.")]) + ) + agent = create_agent(model, [], middleware=[PIIMiddleware("email", apply_to_output=True)]) + + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + + surfaces: list[str] = [] + async for event in run: + if event.get("method") != "messages": + continue + data = event["params"].get("data") + if not isinstance(data, tuple) or len(data) != 2: + continue + payload = data[0] + # v3 protocol-event shape: dict with `event` discriminator. + if isinstance(payload, dict): + kind = payload.get("event") + if kind == "content-block-delta": + delta = payload.get("delta") or {} + if delta.get("type") == "text-delta": + surfaces.append(delta.get("text", "")) + elif kind == "content-block-finish": + content = payload.get("content") or {} + if content.get("type") == "text": + surfaces.append(content.get("text", "")) + # Legacy `(BaseMessage, metadata)` shape: message carries text + # directly on `.content`. The langgraph→langchain adapter falls + # back to this when `_astream` isn't streaming chunks. + elif isinstance(payload, BaseMessage): + content = payload.content + if isinstance(content, str): + surfaces.append(content) + + # Every observed text surface — deltas, finalized snapshots, or + # legacy whole-message payloads — must already be redacted. + for text in surfaces: + assert "alice@example.com" not in text + # And the redaction marker actually shows up somewhere. + assert any("[REDACTED_EMAIL]" in text for text in surfaces) + + @pytest.mark.anyio + async def test_block_strategy_emits_no_pii_and_run_raises(self) -> None: + """`block` + `apply_to_output=True` + streaming. + + Closes the bypass where the transformer was skipped for `block`, + leaving plaintext deltas to reach the consumer before + `after_model` raised. The buffering transformer now keeps every + wire surface empty and `after_model` raises on the original + message in state. + """ + model = GenericFakeChatModel( + messages=iter([AIMessage(content="Email me at alice@example.com.")]) + ) + agent = create_agent( + model, + [], + middleware=[PIIMiddleware("email", strategy="block", apply_to_output=True)], + ) + + collected = "" + + async def drain() -> None: + nonlocal collected + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + async for msg in run.messages: + async for chunk in msg.text: + collected += chunk + + with pytest.raises(PIIDetectionError): + await drain() + + # No characters of the PII surface ever reach the consumer — the + # raised error is the only signal that something was blocked. + assert "alice@example.com" not in collected + assert "alice" not in collected + + @pytest.mark.anyio + async def test_tool_call_args_redacted_end_to_end(self) -> None: + """Tool-call args containing PII don't reach the consumer.""" + + @tool + def echo(text: str) -> str: + """Echo.""" + return f"echo: {text}" + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="echo", args={"text": "ping alice@example.com"}, id="c1")], + [], + ] + ) + agent = create_agent( + model, + [echo], + middleware=[PIIMiddleware("email", apply_to_output=True)], + ) + + surfaces: list[str] = [] + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + async for event in run: + if not isinstance(event, dict): + continue + data = event.get("params", {}).get("data") + if isinstance(data, tuple) and len(data) == 2: + p = data[0] + if isinstance(p, BaseMessage): + surfaces.append(str(p.content)) + surfaces.extend( + str(tc.get("args")) for tc in getattr(p, "tool_calls", None) or [] + ) + elif isinstance(p, dict): + if p.get("event") == "content-block-finish": + c = p.get("content") or {} + if c.get("type") == "text": + surfaces.append(str(c.get("text", ""))) + elif c.get("type") in {"tool_call", "server_tool_call"}: + surfaces.append(str(c.get("args"))) + elif p.get("event") == "content-block-delta": + d = p.get("delta") or {} + if d.get("type") == "block-delta": + f = d.get("fields") or {} + if f.get("type") in { + "tool_call_chunk", + "server_tool_call_chunk", + }: + surfaces.append(str(f.get("args", ""))) + elif isinstance(data, dict): + e = data.get("event") + if e == "tool-started": + surfaces.append(str(data.get("input"))) + elif e == "tool-output-delta": + surfaces.append(str(data.get("delta"))) + elif e == "tool-finished": + surfaces.append(str(data.get("output"))) + elif e == "tool-error": + surfaces.append(str(data.get("message", ""))) + + for s in surfaces: + assert "alice@example.com" not in s, f"PII leaked on surface: {s!r}" + assert any("[REDACTED_EMAIL]" in s for s in surfaces), ( + f"redaction marker not observed; surfaces={surfaces}" + ) + + @pytest.mark.anyio + async def test_tool_output_redacted_end_to_end(self) -> None: + """Tool output containing PII is redacted on every stream surface.""" + + @tool + def lookup_user(user_id: str) -> str: + """Look up a user — returns PII.""" + return f"User {user_id}: alice@example.com" + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="lookup_user", args={"user_id": "u1"}, id="c1")], + [], + ] + ) + agent = create_agent( + model, + [lookup_user], + middleware=[ + PIIMiddleware( + "email", + apply_to_input=True, + apply_to_output=True, + apply_to_tool_results=True, + ) + ], + ) + + surfaces: list[str] = [] + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + async for event in run: + if not isinstance(event, dict): + continue + data = event.get("params", {}).get("data") + if isinstance(data, tuple) and len(data) == 2: + p = data[0] + if isinstance(p, BaseMessage): + surfaces.append(str(p.content)) + elif isinstance(p, dict): + surfaces.append(repr(p)) + elif isinstance(data, dict): + surfaces.append(repr(data)) + + for s in surfaces: + assert "alice@example.com" not in s, f"tool output leaked on surface: {s!r}" + + @pytest.mark.anyio + async def test_block_raises_on_tool_output_pii(self) -> None: + """`block` + tool output with PII → run raises, no leak on the wire.""" + + @tool + def lookup_user(user_id: str) -> str: + """Look up a user — returns PII.""" + return f"User {user_id}: alice@example.com" + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="lookup_user", args={"user_id": "u1"}, id="c1")], + [], + ] + ) + agent = create_agent( + model, + [lookup_user], + middleware=[ + PIIMiddleware( + "email", + strategy="block", + apply_to_input=True, + apply_to_output=True, + apply_to_tool_results=True, + ) + ], + ) + + collected: list[str] = [] + + async def drain() -> None: + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + async for event in run: + if isinstance(event, dict): + data = event.get("params", {}).get("data") + if isinstance(data, tuple) and len(data) == 2: + p = data[0] + if isinstance(p, BaseMessage): + collected.append(str(p.content)) + elif isinstance(p, dict): + collected.append(repr(p)) + elif isinstance(data, dict): + collected.append(repr(data)) + + with pytest.raises(PIIDetectionError): + await drain() + + for s in collected: + assert "alice@example.com" not in s, f"PII leaked under block: {s!r}" + + @pytest.mark.anyio + async def test_block_fails_all_projections_cleanly(self) -> None: + """Block raise propagates to every projection cursor via `afail`. + + Verifies the langgraph cleanup chain: `process()` raises → + `_apump_next` catches and calls `_mux.afail(err)` → every + registered channel (`messages` log, `tool_calls` log, `values` + log, raw event log) is failed with the error → every inner + ChatModelStream / ToolCallStream the transformers were tracking + gets `fail()` called. + """ + + @tool + def lookup(user_id: str) -> str: + """Look up.""" + return f"User {user_id}: alice@example.com" + + def _agent() -> Any: + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="lookup", args={"user_id": "u1"}, id="c1")], + [], + ] + ) + return create_agent( + model, + [lookup], + middleware=[ + PIIMiddleware( + "email", + strategy="block", + apply_to_output=True, + apply_to_tool_results=True, + ) + ], + ) + + # Raw events log + run = await _agent().astream_events({"messages": [HumanMessage("hi")]}, version="v3") + with pytest.raises(PIIDetectionError): + async for _event in run: + pass + + # `run.messages` projection — inner ChatModelStreams also fail. + run = await _agent().astream_events({"messages": [HumanMessage("hi")]}, version="v3") + + async def drain_messages() -> None: + async for msg in run.messages: + async for _chunk in msg.text: + pass + + with pytest.raises(PIIDetectionError): + await drain_messages() + + # `run.values` projection. + run = await _agent().astream_events({"messages": [HumanMessage("hi")]}, version="v3") + with pytest.raises(PIIDetectionError): + async for _snapshot in run.values: + pass + + @pytest.mark.anyio + async def test_subgraph_redaction_via_create_agent_in_tool(self) -> None: + """A sub-agent invoked inside a tool inherits the parent's transformer. + + `StreamMux._make_child` clones the factory list down to every + subgraph scope, so a fresh `_PIIStreamTransformer` runs at the + sub-agent's mini-mux too. This is the supported pattern: attach + `PIIMiddleware` to the outer agent and every nested model call + — including those run by sub-agents inside tools — gets redacted + in flight by its own scoped instance of the transformer. + """ + inner_model = GenericFakeChatModel( + messages=iter([AIMessage(content="Hi bob@example.com, here is data.")]) + ) + # No PII middleware on the inner agent — the outer's transformer + # factory propagates down to the subgraph scope. + inner_agent = create_agent(inner_model, []) + + @tool + def delegate(query: str) -> str: + """Hand the query off to the inner agent.""" + result = inner_agent.invoke({"messages": [HumanMessage(query)]}) + return str(result["messages"][-1].content) + + outer_model = FakeToolCallingModel( + tool_calls=[ + [{"name": "delegate", "args": {"query": "hi"}, "id": "tc1"}], + [], + ] + ) + outer_agent = create_agent( + outer_model, + [delegate], + middleware=[PIIMiddleware("email", apply_to_output=True)], + ) + + run = await outer_agent.astream_events({"messages": [HumanMessage("go")]}, version="v3") + + seen_email_in_deltas = False + seen_email_in_finalized = False + seen_redaction = False + async for event in run: + if event.get("method") != "messages": + continue + data = event["params"].get("data") + if not isinstance(data, tuple) or len(data) != 2: + continue + payload = data[0] + if not isinstance(payload, dict): + continue + kind = payload.get("event") + if kind == "content-block-delta": + delta = payload.get("delta") or {} + if delta.get("type") == "text-delta": + text = delta.get("text", "") + if "bob@example.com" in text: + seen_email_in_deltas = True + if "[REDACTED_EMAIL]" in text: + seen_redaction = True + elif kind == "content-block-finish": + content = payload.get("content") or {} + if content.get("type") == "text": + text = content.get("text", "") + if "bob@example.com" in text: + seen_email_in_finalized = True + if "[REDACTED_EMAIL]" in text: + seen_redaction = True + + assert not seen_email_in_deltas, ( + "raw PII leaked through a subgraph's streamed deltas — child " + "mini-mux did not inherit the outer transformer factory" + ) + assert not seen_email_in_finalized, ( + "raw PII leaked through a subgraph's content-block-finish snapshot" + ) + assert seen_redaction, "transformer never fired at the subgraph scope" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_provider_tool_search.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_provider_tool_search.py new file mode 100644 index 0000000000000000000000000000000000000000..6773a58a2a758936c4275d079e264812f713dec4 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_provider_tool_search.py @@ -0,0 +1,434 @@ +"""Unit tests for provider tool search middleware.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any, cast + +import pytest +from langchain_core.messages import AIMessage, HumanMessage +from langchain_core.tools import BaseTool, tool + +from langchain.agents.middleware import ( + ModelRequest, + ModelResponse, + ProviderToolSearchMiddleware, +) + +if TYPE_CHECKING: + from langchain_core.language_models.chat_models import BaseChatModel + +ANTHROPIC_SEARCH_TOOL = { + "type": "tool_search_tool_bm25_20251119", + "name": "tool_search_tool_bm25", +} +OPENAI_SEARCH_TOOL = {"type": "tool_search"} +OPENAI_TEST_MODEL = "gpt-5.5" +OPENAI_REASONING_TEST_MODEL = "o3" + + +@tool +def get_weather(city: str) -> str: + """Get the weather for a city.""" + return f"Sunny in {city}" + + +@tool +def send_email(to: str) -> str: + """Send an email.""" + return f"Sent to {to}" + + +@tool(extras={"defer_loading": True}) +def lookup_order(order_id: str) -> str: + """Look up an order.""" + return f"Order {order_id} shipped" + + +@tool(extras={"category": "billing"}) +def refund_order(order_id: str) -> str: + """Refund an order.""" + return f"Refunded {order_id}" + + +class FakeModel: + def __init__(self, provider: str) -> None: + self.provider = provider + + def _get_ls_params(self) -> dict[str, str]: + return {"ls_provider": self.provider} + + +class FakeConfigurableModel: + def __init__( + self, + default_config: dict[str, Any] | None = None, + model_params: dict[str, Any] | None = None, + ) -> None: + self._default_config = default_config or {} + self.model_params = model_params or {} + + def _model_params(self, config: dict[str, Any] | None = None) -> dict[str, Any]: + return self.model_params if config is None else config.get("configurable", {}) + + +class ChatAnthropic: + """Bare model whose class name is the only provider signal.""" + + +class ChatOpenAI: + """Bare model whose class name is the only provider signal.""" + + +class MysteryModel: + """Model that exposes no provider signal at all.""" + + +class FakeRuntime: + def __init__(self, config: Any) -> None: + self.config = config + + +def _request(provider: str, tools: list[BaseTool | dict[str, Any]]) -> ModelRequest: + return ModelRequest( + model=cast("BaseChatModel", FakeModel(provider)), + messages=[HumanMessage("hi")], + tools=tools, + ) + + +def _invoke(middleware: ProviderToolSearchMiddleware, request: ModelRequest) -> ModelRequest: + captured_request = None + + def handler(model_request: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = model_request + return ModelResponse(result=[AIMessage("ok")]) + + middleware.wrap_model_call(request, handler) + assert captured_request is not None + return captured_request + + +def test_passes_through_when_no_tools_are_deferred() -> None: + """Without deferral the request must be returned untouched (no needless copy).""" + request = _request("anthropic", [get_weather, send_email]) + middleware = ProviderToolSearchMiddleware() + + modified_request = _invoke(middleware, request) + + assert modified_request is request + + +def test_defers_tools_named_in_searchable_tools() -> None: + """Only named tools get `defer_loading`; others stay intact and the search tool is added.""" + request = _request("anthropic", [get_weather, send_email]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + email_tool = next( + tool + for tool in modified_request.tools + if isinstance(tool, BaseTool) and tool.name == "send_email" + ) + weather_tool = next( + tool + for tool in modified_request.tools + if isinstance(tool, BaseTool) and tool.name == "get_weather" + ) + assert email_tool.extras == {"defer_loading": True} + assert weather_tool.extras is None + assert ANTHROPIC_SEARCH_TOOL in modified_request.tools + + +def test_accepts_tool_instances_in_searchable_tools() -> None: + """`searchable_tools` accepts `BaseTool` instances, not just names (the other input form).""" + request = _request("openai", [get_weather, send_email]) + middleware = ProviderToolSearchMiddleware(searchable_tools=[send_email]) + + modified_request = _invoke(middleware, request) + + email_tool = next( + tool + for tool in modified_request.tools + if isinstance(tool, BaseTool) and tool.name == "send_email" + ) + assert email_tool.extras == {"defer_loading": True} + assert OPENAI_SEARCH_TOOL in modified_request.tools + + +def test_honors_tools_pre_marked_with_defer_loading() -> None: + """A pre-marked `defer_loading` tool triggers deferral even with no `searchable_tools`.""" + request = _request("anthropic", [get_weather, lookup_order]) + middleware = ProviderToolSearchMiddleware() + + modified_request = _invoke(middleware, request) + + order_tool = next( + tool + for tool in modified_request.tools + if isinstance(tool, BaseTool) and tool.name == "lookup_order" + ) + assert order_tool.extras == {"defer_loading": True} + assert ANTHROPIC_SEARCH_TOOL in modified_request.tools + + +def test_preserves_existing_extras_when_deferring() -> None: + """Deferral merges into existing `extras` rather than overwriting a user's other keys.""" + request = _request("anthropic", [refund_order]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["refund_order"]) + + modified_request = _invoke(middleware, request) + + refund_tool = next( + tool + for tool in modified_request.tools + if isinstance(tool, BaseTool) and tool.name == "refund_order" + ) + assert refund_tool.extras == {"category": "billing", "defer_loading": True} + + +def test_passes_dict_tools_through_untouched() -> None: + """Dict-form tools have no name/extras and must pass through without an `AttributeError`.""" + web_search = {"type": "web_search"} + request = _request("anthropic", [get_weather, web_search]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["get_weather"]) + + modified_request = _invoke(middleware, request) + + assert web_search in modified_request.tools + assert ANTHROPIC_SEARCH_TOOL in modified_request.tools + + +def test_raises_when_searchable_tool_is_not_bound() -> None: + """A typo'd `searchable_tools` name fails loudly instead of silently never deferring.""" + request = _request("anthropic", [get_weather]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["missing_tool"]) + + with pytest.raises(ValueError, match="missing_tool"): + _invoke(middleware, request) + + +def test_unbound_tool_error_is_sorted() -> None: + """The error lists unknown tools in sorted order so the message is deterministic.""" + request = _request("anthropic", [get_weather]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["zzz", "aaa"]) + + with pytest.raises(ValueError, match="aaa, zzz"): + _invoke(middleware, request) + + +def test_unbound_tool_check_precedes_provider_check() -> None: + """Config errors (unbound tool) surface before provider errors, pinning the check order.""" + request = _request("mistralai", [get_weather]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["missing_tool"]) + + with pytest.raises(ValueError, match="not bound to the model"): + _invoke(middleware, request) + + +def test_passes_through_unsupported_provider_when_nothing_deferred() -> None: + """An unsupported provider must not raise when no tool is actually deferred.""" + request = _request("mistralai", [get_weather]) + middleware = ProviderToolSearchMiddleware() + + modified_request = _invoke(middleware, request) + + assert modified_request is request + + +def test_passes_through_unsupported_provider_with_empty_tools() -> None: + """Empty tool list is a clean no-op and never trips the provider guard.""" + request = _request("mistralai", []) + middleware = ProviderToolSearchMiddleware() + + modified_request = _invoke(middleware, request) + + assert modified_request is request + + +def test_raises_for_unsupported_provider_when_tool_deferred() -> None: + """Deferring against a provider without tool search is a hard error, not a silent drop.""" + request = _request("mistralai", [send_email]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + with pytest.raises(ValueError, match="server-side tool search"): + _invoke(middleware, request) + + +def test_raises_when_provider_cannot_be_determined() -> None: + """Detection failure raises a distinct, actionable error rather than a misleading one.""" + request = ModelRequest( + model=cast("BaseChatModel", MysteryModel()), + messages=[HumanMessage("hi")], + tools=[lookup_order], + ) + middleware = ProviderToolSearchMiddleware() + + with pytest.raises(ValueError, match="could not determine the provider"): + _invoke(middleware, request) + + +@pytest.mark.parametrize( + ("model_factory", "expected_tool"), + [ + (ChatAnthropic, ANTHROPIC_SEARCH_TOOL), + (ChatOpenAI, OPENAI_SEARCH_TOOL), + ], +) +def test_detects_provider_from_class_name( + model_factory: type, expected_tool: dict[str, str] +) -> None: + """Class-name fallback identifies the provider when no params/ls_provider are exposed.""" + request = ModelRequest( + model=cast("BaseChatModel", model_factory()), + messages=[HumanMessage("hi")], + tools=[send_email], + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert expected_tool in modified_request.tools + + +def test_normalizes_provider_casing_and_hyphens() -> None: + """Provider identifiers are normalized so mixed casing still matches the registry.""" + request = _request("Anthropic", [send_email]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert ANTHROPIC_SEARCH_TOOL in modified_request.tools + + +@pytest.mark.parametrize( + ("model_name", "expected_tool"), + [ + ("claude-sonnet-4-5", ANTHROPIC_SEARCH_TOOL), + ("gpt-5.4", OPENAI_SEARCH_TOOL), + (OPENAI_REASONING_TEST_MODEL, OPENAI_SEARCH_TOOL), + (OPENAI_TEST_MODEL, OPENAI_SEARCH_TOOL), + ], +) +def test_detects_provider_from_bare_model_name( + model_name: str, expected_tool: dict[str, str] +) -> None: + """Bare model names (no `provider:` prefix) are mapped via the name heuristics.""" + request = ModelRequest( + model=cast("BaseChatModel", FakeConfigurableModel(model_params={"model": model_name})), + messages=[HumanMessage("hi")], + tools=[send_email], + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert expected_tool in modified_request.tools + + +def test_raises_for_unrecognized_bare_model_name() -> None: + """An unrecognized bare name yields detection failure, not a wrong-provider guess.""" + request = ModelRequest( + model=cast("BaseChatModel", FakeConfigurableModel(model_params={"model": "llama-3.1"})), + messages=[HumanMessage("hi")], + tools=[send_email], + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + with pytest.raises(ValueError, match="could not determine the provider"): + _invoke(middleware, request) + + +def test_detects_provider_from_configurable_model() -> None: + """A configurable model's `_default_config` `provider:model` string resolves the provider.""" + request = ModelRequest( + model=cast("BaseChatModel", FakeConfigurableModel({"model": "openai:gpt-5.4"})), + messages=[HumanMessage("hi")], + tools=[send_email], + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert OPENAI_SEARCH_TOOL in modified_request.tools + + +def test_detects_provider_from_runtime_configurable_model() -> None: + """Provider set only via runtime `configurable` is read through `_model_params`.""" + request = ModelRequest( + model=cast("BaseChatModel", FakeConfigurableModel()), + messages=[HumanMessage("hi")], + tools=[send_email], + runtime=cast("Any", FakeRuntime({"configurable": {"model_provider": "openai"}})), + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert OPENAI_SEARCH_TOOL in modified_request.tools + + +def test_runtime_model_override_uses_default_configurable_model_provider() -> None: + """`model_provider` in the merged params wins over a runtime `model` of another provider.""" + request = ModelRequest( + model=cast("BaseChatModel", FakeConfigurableModel({"model_provider": "openai"})), + messages=[HumanMessage("hi")], + tools=[send_email], + runtime=cast("Any", FakeRuntime({"configurable": {"model": "claude-sonnet-4-5"}})), + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert OPENAI_SEARCH_TOOL in modified_request.tools + + +def test_runtime_provider_override_uses_runtime_configurable_model_provider() -> None: + """Runtime `model_provider` overrides the default config's, confirming the merge precedence.""" + request = ModelRequest( + model=cast("BaseChatModel", FakeConfigurableModel({"model_provider": "openai"})), + messages=[HumanMessage("hi")], + tools=[send_email], + runtime=cast("Any", FakeRuntime({"configurable": {"model_provider": "anthropic"}})), + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert ANTHROPIC_SEARCH_TOOL in modified_request.tools + + +def test_ignores_non_mapping_runtime_config() -> None: + """A malformed (non-mapping) runtime config is treated as absent, not propagated to a crash.""" + request = ModelRequest( + model=cast( + "BaseChatModel", + FakeConfigurableModel(model_params={"model_provider": "openai"}), + ), + messages=[HumanMessage("hi")], + tools=[send_email], + runtime=cast("Any", FakeRuntime("not-a-mapping")), + ) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + + modified_request = _invoke(middleware, request) + + assert OPENAI_SEARCH_TOOL in modified_request.tools + + +async def test_async_wrap_model_call_defers_tools() -> None: + """The async path applies the same deferral as the sync path through shared logic.""" + request = _request("openai", [send_email]) + middleware = ProviderToolSearchMiddleware(searchable_tools=["send_email"]) + captured_request = None + + async def handler(model_request: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = model_request + return ModelResponse(result=[AIMessage("ok")]) + + await middleware.awrap_model_call(request, handler) + + assert captured_request is not None + assert OPENAI_SEARCH_TOOL in captured_request.tools diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_execution_policies.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_execution_policies.py new file mode 100644 index 0000000000000000000000000000000000000000..0e2fe001b640c1b78fc09c19dd535793b8186f23 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_execution_policies.py @@ -0,0 +1,409 @@ +from __future__ import annotations + +import os +import shutil +import subprocess +import sys +from pathlib import Path +from typing import TYPE_CHECKING, Any +from unittest.mock import Mock + +import pytest + +from langchain.agents.middleware import _execution +from langchain.agents.middleware.shell_tool import ( + CodexSandboxExecutionPolicy, + DockerExecutionPolicy, + HostExecutionPolicy, +) + +if TYPE_CHECKING: + from collections.abc import Callable, Mapping, Sequence + from pathlib import Path + + +def _make_resource( + *, + with_prlimit: bool, + has_rlimit_as: bool = True, +) -> Any: + """Create a fake `resource` module for testing.""" + + class _BaseResource: + RLIMIT_CPU = 0 + RLIMIT_DATA = 2 + + if has_rlimit_as: + RLIMIT_AS = 1 + + def __init__(self) -> None: + self.prlimit_calls: list[tuple[int, int, tuple[int, int]]] = [] + self.setrlimit_calls: list[tuple[int, tuple[int, int]]] = [] + + def setrlimit(self, resource_name: int, limits: tuple[int, int]) -> None: + self.setrlimit_calls.append((resource_name, limits)) + + if with_prlimit: + + class _Resource(_BaseResource): + def prlimit(self, pid: int, resource_name: int, limits: tuple[int, int]) -> None: + self.prlimit_calls.append((pid, resource_name, limits)) + + return _Resource() + + return _BaseResource() + + +def test_host_policy_validations() -> None: + with pytest.raises(ValueError, match="max_output_lines must be positive"): + HostExecutionPolicy(max_output_lines=0) + + with pytest.raises(ValueError, match="cpu_time_seconds must be positive if provided"): + HostExecutionPolicy(cpu_time_seconds=0) + + with pytest.raises(ValueError, match="memory_bytes must be positive if provided"): + HostExecutionPolicy(memory_bytes=-1) + + +def test_host_policy_requires_resource_for_limits(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(_execution, "_HAS_RESOURCE", False, raising=False) + with pytest.raises(RuntimeError): + HostExecutionPolicy(cpu_time_seconds=1) + + +def test_host_policy_applies_prlimit(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: + fake_resource = _make_resource(with_prlimit=True) + monkeypatch.setattr(_execution, "resource", fake_resource, raising=False) + monkeypatch.setattr(sys, "platform", "linux") + + recorded: dict[str, Any] = {} + + def fake_launch( + command: Sequence[str], + *, + env: Mapping[str, str], + cwd: Path, + preexec_fn: Callable[[], None] | None, + start_new_session: bool, + ) -> subprocess.Popen[str]: + recorded["command"] = list(command) + recorded["env"] = dict(env) + recorded["cwd"] = cwd + recorded["preexec_fn"] = preexec_fn + recorded["start_new_session"] = start_new_session + return Mock(spec=subprocess.Popen, pid=1234) + + monkeypatch.setattr(_execution, "_launch_subprocess", fake_launch) + + policy = HostExecutionPolicy(cpu_time_seconds=2, memory_bytes=4096) + env = {"PATH": os.environ.get("PATH", ""), "VAR": "1"} + process = policy.spawn(workspace=tmp_path, env=env, command=("/bin/sh",)) + + assert process is not None + assert recorded["preexec_fn"] is None + assert recorded["start_new_session"] is True + assert fake_resource.prlimit_calls == [ + (1234, fake_resource.RLIMIT_CPU, (2, 2)), + (1234, fake_resource.RLIMIT_AS, (4096, 4096)), + ] + assert fake_resource.setrlimit_calls == [] + + +def test_host_policy_uses_preexec_on_macos(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: + fake_resource = _make_resource(with_prlimit=False) + monkeypatch.setattr(_execution, "resource", fake_resource, raising=False) + monkeypatch.setattr(sys, "platform", "darwin") + + captured: dict[str, Any] = {} + + def fake_launch( + *_args: Any, preexec_fn: Callable[[], None] | None, start_new_session: bool, **_kwargs: Any + ) -> subprocess.Popen[str]: + captured["preexec_fn"] = preexec_fn + captured["start_new_session"] = start_new_session + return Mock(spec=subprocess.Popen, pid=4321) + + monkeypatch.setattr(_execution, "_launch_subprocess", fake_launch) + + policy = HostExecutionPolicy(cpu_time_seconds=5, memory_bytes=8192) + env = {"PATH": os.environ.get("PATH", "")} + policy.spawn(workspace=tmp_path, env=env, command=("/bin/sh",)) + + preexec_fn = captured["preexec_fn"] + assert callable(preexec_fn) + assert captured["start_new_session"] is True + + preexec_fn() + # macOS fallback should use setrlimit + assert fake_resource.setrlimit_calls == [ + (fake_resource.RLIMIT_CPU, (5, 5)), + (fake_resource.RLIMIT_AS, (8192, 8192)), + ] + + +def test_host_policy_respects_process_group_flag( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path +) -> None: + fake_resource = _make_resource(with_prlimit=True) + monkeypatch.setattr(_execution, "resource", fake_resource, raising=False) + monkeypatch.setattr(sys, "platform", "linux") + + recorded: dict[str, Any] = {} + + def fake_launch(*_args: Any, start_new_session: bool, **_kwargs: Any) -> subprocess.Popen[str]: + recorded["start_new_session"] = start_new_session + return Mock(spec=subprocess.Popen, pid=1111) + + monkeypatch.setattr(_execution, "_launch_subprocess", fake_launch) + + policy = HostExecutionPolicy(create_process_group=False) + env = {"PATH": os.environ.get("PATH", "")} + policy.spawn(workspace=tmp_path, env=env, command=("/bin/sh",)) + + assert recorded["start_new_session"] is False + + +def test_host_policy_falls_back_to_rlimit_data( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path +) -> None: + fake_resource = _make_resource(with_prlimit=True, has_rlimit_as=False) + monkeypatch.setattr(_execution, "resource", fake_resource, raising=False) + monkeypatch.setattr(sys, "platform", "linux") + + def fake_launch(*_args: Any, **_kwargs: Any) -> subprocess.Popen[str]: + return Mock(spec=subprocess.Popen, pid=2222) + + monkeypatch.setattr(_execution, "_launch_subprocess", fake_launch) + + policy = HostExecutionPolicy(cpu_time_seconds=7, memory_bytes=2048) + env = {"PATH": os.environ.get("PATH", "")} + policy.spawn(workspace=tmp_path, env=env, command=("/bin/sh",)) + + assert fake_resource.prlimit_calls == [ + (2222, fake_resource.RLIMIT_CPU, (7, 7)), + (2222, fake_resource.RLIMIT_DATA, (2048, 2048)), + ] + + +@pytest.mark.skipif( + shutil.which("codex") is None, + reason="codex CLI not available on PATH", +) +def test_codex_policy_spawns_codex_cli(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: + recorded: dict[str, list[str]] = {} + + def fake_launch( + command: Sequence[str], + *, + env: Mapping[str, str], + cwd: Path, + preexec_fn: Callable[[], None] | None, + start_new_session: bool, + ) -> subprocess.Popen[str]: + recorded["command"] = list(command) + assert cwd == tmp_path + assert env["TEST_VAR"] == "1" + assert preexec_fn is None + assert not start_new_session + return Mock() + + monkeypatch.setattr( + "langchain.agents.middleware._execution._launch_subprocess", + fake_launch, + ) + policy = CodexSandboxExecutionPolicy( + platform="linux", + config_overrides={"sandbox_permissions": ["disk-full-read-access"]}, + ) + + env = {"TEST_VAR": "1"} + policy.spawn(workspace=tmp_path, env=env, command=("/bin/bash",)) + + expected = [ + shutil.which("codex"), + "sandbox", + "linux", + "-c", + 'sandbox_permissions=["disk-full-read-access"]', + "--", + "/bin/bash", + ] + assert recorded["command"] == expected + + +def test_codex_policy_auto_platform_linux(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(sys, "platform", "linux") + policy = CodexSandboxExecutionPolicy(platform="auto") + assert policy._determine_platform() == "linux" + + +def test_codex_policy_auto_platform_macos(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(sys, "platform", "darwin") + policy = CodexSandboxExecutionPolicy(platform="auto") + assert policy._determine_platform() == "macos" + + +def test_codex_policy_resolve_missing_binary(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(shutil, "which", lambda _: None) + policy = CodexSandboxExecutionPolicy(binary="codex") + with pytest.raises(RuntimeError): + policy._resolve_binary() + + +def test_codex_policy_auto_platform_failure(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(sys, "platform", "win32") + policy = CodexSandboxExecutionPolicy(platform="auto") + with pytest.raises(RuntimeError): + policy._determine_platform() + + +def test_codex_policy_formats_override_values() -> None: + policy = CodexSandboxExecutionPolicy() + assert policy._format_override({"a": 1}) == '{"a": 1}' + + class Custom: + def __str__(self) -> str: + return "custom" + + assert policy._format_override(Custom()) == "custom" + + +def test_codex_policy_sorts_config_overrides(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(shutil, "which", lambda _: "/usr/bin/codex") + policy = CodexSandboxExecutionPolicy( + config_overrides={"b": 2, "a": 1}, + platform="linux", + ) + command = policy._build_command(("echo",)) + indices = [i for i, part in enumerate(command) if part == "-c"] + override_values = [command[i + 1] for i in indices] + assert override_values == ["a=1", "b=2"] + + +@pytest.mark.skipif( + shutil.which("docker") is None, + reason="docker CLI not available on PATH", +) +def test_docker_policy_spawns_docker_run(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: + recorded: dict[str, list[str]] = {} + + def fake_launch( + command: Sequence[str], + *, + env: Mapping[str, str], + cwd: Path, + start_new_session: bool, + **_kwargs: Any, + ) -> subprocess.Popen[str]: + recorded["command"] = list(command) + assert cwd == tmp_path + assert "PATH" in env # host environment should retain system PATH + assert not start_new_session + return Mock() + + monkeypatch.setattr( + "langchain.agents.middleware._execution._launch_subprocess", + fake_launch, + ) + policy = DockerExecutionPolicy( + image="ubuntu:22.04", + memory_bytes=4096, + extra_run_args=("--ipc", "host"), + ) + + env = {"PATH": "/bin"} + policy.spawn(workspace=tmp_path, env=env, command=("/bin/bash",)) + + command = recorded["command"] + assert command[0] == shutil.which("docker") + assert command[1:4] == ["run", "-i", "--rm"] + assert "--memory" in command + assert "4096" in command + assert "-v" in command + assert any(str(tmp_path) in part for part in command) + assert "-w" in command + w_index = command.index("-w") + assert command[w_index + 1] == str(tmp_path) + assert "-e" in command + assert "PATH=/bin" in command + assert command[-2:] == ["ubuntu:22.04", "/bin/bash"] + + +def test_docker_policy_rejects_cpu_limit() -> None: + with pytest.raises(RuntimeError): + DockerExecutionPolicy(cpu_time_seconds=1) + + +def test_docker_policy_validates_memory() -> None: + with pytest.raises(ValueError, match="memory_bytes must be positive if provided"): + DockerExecutionPolicy(memory_bytes=0) + + +def test_docker_policy_skips_mount_for_temp_workspace( + monkeypatch: pytest.MonkeyPatch, tmp_path: Path +) -> None: + monkeypatch.setattr(shutil, "which", lambda _: "/usr/bin/docker") + + recorded: dict[str, list[str]] = {} + + def fake_launch(command: Sequence[str], *, cwd: Path, **_kwargs: Any) -> subprocess.Popen[str]: + recorded["command"] = list(command) + assert cwd == workspace + return Mock() + + monkeypatch.setattr(_execution, "_launch_subprocess", fake_launch) + + workspace = tmp_path / f"{_execution.SHELL_TEMP_PREFIX}case" + workspace.mkdir() + policy = DockerExecutionPolicy(cpus="1.5") + env = {"PATH": "/bin"} + policy.spawn(workspace=workspace, env=env, command=("/bin/sh",)) + + command = recorded["command"] + assert "-v" not in command + assert "-w" in command + w_index = command.index("-w") + assert command[w_index + 1] == "/" + assert "--cpus" in command + assert "--network" in command + assert "none" in command + assert command[-2:] == [policy.image, "/bin/sh"] + + +def test_docker_policy_validates_cpus() -> None: + with pytest.raises(ValueError, match="cpus must be a non-empty string when provided"): + DockerExecutionPolicy(cpus=" ") + + +def test_docker_policy_validates_user() -> None: + with pytest.raises(ValueError, match="user must be a non-empty string when provided"): + DockerExecutionPolicy(user=" ") + + +def test_docker_policy_read_only_and_user(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: + monkeypatch.setattr(shutil, "which", lambda _: "/usr/bin/docker") + + recorded: dict[str, list[str]] = {} + + def fake_launch(command: Sequence[str], **_kwargs: Any) -> subprocess.Popen[str]: + recorded["command"] = list(command) + return Mock() + + monkeypatch.setattr(_execution, "_launch_subprocess", fake_launch) + + workspace = tmp_path + policy = DockerExecutionPolicy(read_only_rootfs=True, user="1000:1000") + policy.spawn(workspace=workspace, env={"PATH": "/bin"}, command=("/bin/sh",)) + + command = recorded["command"] + assert "--read-only" in command + assert "--user" in command + user_index = command.index("--user") + assert command[user_index + 1] == "1000:1000" + + +def test_docker_policy_resolve_missing_binary(monkeypatch: pytest.MonkeyPatch) -> None: + monkeypatch.setattr(shutil, "which", lambda _: None) + policy = DockerExecutionPolicy() + with pytest.raises(RuntimeError): + policy._resolve_binary() diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py new file mode 100644 index 0000000000000000000000000000000000000000..b3b2a22125c8c29c987d65d528e53091a7f26c52 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py @@ -0,0 +1,548 @@ +from __future__ import annotations + +import gc +import tempfile +import time +from pathlib import Path +from typing import Any, cast + +import pytest +from langchain_core.messages import ToolMessage +from langchain_core.tools.base import ToolException +from langgraph.runtime import Runtime + +from langchain.agents.middleware.shell_tool import ( + HostExecutionPolicy, + RedactionRule, + ShellToolMiddleware, + ShellToolState, + _SessionResources, + _ShellToolInput, +) + + +def _empty_state() -> ShellToolState: + return {"messages": []} + + +def test_executes_command_and_persists_state(tmp_path: Path) -> None: + workspace = tmp_path / "workspace" + middleware = ShellToolMiddleware(workspace_root=workspace) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + middleware._run_shell_tool(resources, {"command": "cd /"}, tool_call_id=None) + result = middleware._run_shell_tool(resources, {"command": "pwd"}, tool_call_id=None) + assert isinstance(result, str) + assert result.strip() == "/" + echo_result = middleware._run_shell_tool( + resources, {"command": "echo ready"}, tool_call_id=None + ) + assert "ready" in echo_result + finally: + middleware.after_agent(state, runtime) + + +def test_restart_resets_session_environment(tmp_path: Path) -> None: + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + middleware._run_shell_tool(resources, {"command": "export FOO=bar"}, tool_call_id=None) + restart_message = middleware._run_shell_tool( + resources, {"restart": True}, tool_call_id=None + ) + assert "restarted" in restart_message.lower() + resources = middleware._get_or_create_resources(state) # reacquire after restart + result = middleware._run_shell_tool( + resources, {"command": "echo ${FOO:-unset}"}, tool_call_id=None + ) + assert "unset" in result + finally: + middleware.after_agent(state, runtime) + + +def test_truncation_indicator_present(tmp_path: Path) -> None: + policy = HostExecutionPolicy(max_output_lines=5, command_timeout=5.0) + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace", execution_policy=policy) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + result = middleware._run_shell_tool(resources, {"command": "seq 1 20"}, tool_call_id=None) + assert "Output truncated" in result + finally: + middleware.after_agent(state, runtime) + + +def test_timeout_returns_error(tmp_path: Path) -> None: + policy = HostExecutionPolicy(command_timeout=0.5) + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace", execution_policy=policy) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + start = time.monotonic() + result = middleware._run_shell_tool(resources, {"command": "sleep 2"}, tool_call_id=None) + elapsed = time.monotonic() - start + assert elapsed < policy.command_timeout + 2.0 + assert "timed out" in result.lower() + finally: + middleware.after_agent(state, runtime) + + +def test_redaction_policy_applies(tmp_path: Path) -> None: + middleware = ShellToolMiddleware( + workspace_root=tmp_path / "workspace", + redaction_rules=(RedactionRule(pii_type="email", strategy="redact"),), + ) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + message = middleware._run_shell_tool( + resources, + {"command": "printf 'Contact: user@example.com\\n'"}, + tool_call_id=None, + ) + assert "[REDACTED_EMAIL]" in message + assert "user@example.com" not in message + finally: + middleware.after_agent(state, runtime) + + +def test_startup_and_shutdown_commands(tmp_path: Path) -> None: + workspace = tmp_path / "workspace" + middleware = ShellToolMiddleware( + workspace_root=workspace, + startup_commands=("touch startup.txt",), + shutdown_commands=("touch shutdown.txt",), + ) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + assert (workspace / "startup.txt").exists() + finally: + middleware.after_agent(state, runtime) + assert (workspace / "shutdown.txt").exists() + + +def test_session_resources_finalizer_cleans_up(tmp_path: Path) -> None: + policy = HostExecutionPolicy(termination_timeout=0.1) + + class DummySession: + def __init__(self) -> None: + self.stopped: bool = False + + def stop(self, *_args: Any, **_kwargs: Any) -> None: + self.stopped = True + + session = DummySession() + tempdir = tempfile.TemporaryDirectory(dir=tmp_path) + tempdir_path = Path(tempdir.name) + resources = _SessionResources(session=session, tempdir=tempdir, policy=policy) # type: ignore[arg-type] + finalizer = resources.finalizer + + # Drop our last strong reference and force collection. + del resources + gc.collect() + + assert not finalizer.alive + assert session.stopped + assert not tempdir_path.exists() + + +def test_shell_tool_input_validation() -> None: + """Test _ShellToolInput validation rules.""" + # Both command and restart not allowed + with pytest.raises(ValueError, match="only one"): + _ShellToolInput(command="ls", restart=True) + + # Neither command nor restart provided + with pytest.raises(ValueError, match="requires either"): + _ShellToolInput() + + # Valid: command only + valid_cmd = _ShellToolInput(command="ls") + assert valid_cmd.command == "ls" + assert not valid_cmd.restart + + # Valid: restart only + valid_restart = _ShellToolInput(restart=True) + assert valid_restart.restart is True + assert valid_restart.command is None + + +def test_normalize_shell_command_empty() -> None: + """Test that empty shell command raises an error.""" + with pytest.raises(ValueError, match="at least one argument"): + ShellToolMiddleware(shell_command=[]) + + +def test_normalize_env_non_string_keys() -> None: + """Test that non-string environment keys raise an error.""" + with pytest.raises(TypeError, match="must be strings"): + ShellToolMiddleware(env={123: "value"}) # type: ignore[dict-item] + + +def test_normalize_env_coercion(tmp_path: Path) -> None: + """Test that environment values are coerced to strings.""" + middleware = ShellToolMiddleware( + workspace_root=tmp_path / "workspace", env={"NUM": 42, "BOOL": True} + ) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + result = middleware._run_shell_tool( + resources, {"command": "echo $NUM $BOOL"}, tool_call_id=None + ) + assert "42" in result + assert "True" in result + finally: + middleware.after_agent(state, runtime) + + +def test_shell_tool_missing_command_string(tmp_path: Path) -> None: + """Test that shell tool raises an error when command is not a string.""" + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + with pytest.raises(ToolException, match="expects a 'command' string"): + middleware._run_shell_tool(resources, {"command": None}, tool_call_id=None) + + with pytest.raises(ToolException, match="expects a 'command' string"): + middleware._run_shell_tool( + resources, + {"command": 123}, + tool_call_id=None, + ) + finally: + middleware.after_agent(state, runtime) + + +def test_tool_message_formatting_with_id(tmp_path: Path) -> None: + """Test that tool messages are properly formatted with tool_call_id.""" + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + result = middleware._run_shell_tool( + resources, {"command": "echo test"}, tool_call_id="test-id-123" + ) + + assert isinstance(result, ToolMessage) + assert result.tool_call_id == "test-id-123" + assert result.name == "shell" + assert result.status == "success" + assert "test" in result.content + finally: + middleware.after_agent(state, runtime) + + +def test_nonzero_exit_code_returns_error(tmp_path: Path) -> None: + """Test that non-zero exit codes are marked as errors.""" + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + result = middleware._run_shell_tool( + resources, + {"command": "false"}, # Command that exits with 1 but doesn't kill shell + tool_call_id="test-id", + ) + + assert isinstance(result, ToolMessage) + assert result.status == "error" + assert "Exit code: 1" in result.content + assert result.artifact["exit_code"] == 1 + finally: + middleware.after_agent(state, runtime) + + +def test_truncation_by_bytes(tmp_path: Path) -> None: + """Test that output is truncated by bytes when max_output_bytes is exceeded.""" + policy = HostExecutionPolicy(max_output_bytes=50, command_timeout=5.0) + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace", execution_policy=policy) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + result = middleware._run_shell_tool( + resources, {"command": "python3 -c 'print(\"x\" * 100)'"}, tool_call_id=None + ) + + assert "truncated at 50 bytes" in result.lower() + finally: + middleware.after_agent(state, runtime) + + +def test_startup_command_failure(tmp_path: Path) -> None: + """Test that startup command failure raises an error.""" + policy = HostExecutionPolicy(startup_timeout=1.0) + middleware = ShellToolMiddleware( + workspace_root=tmp_path / "workspace", startup_commands=("exit 1",), execution_policy=policy + ) + runtime = Runtime() + state = _empty_state() + with pytest.raises(RuntimeError, match=r"Startup command.*failed"): + middleware.before_agent(state, runtime) + + +def test_shutdown_command_failure_logged(tmp_path: Path) -> None: + """Test that shutdown command failures are logged but don't raise.""" + policy = HostExecutionPolicy(command_timeout=1.0) + middleware = ShellToolMiddleware( + workspace_root=tmp_path / "workspace", + shutdown_commands=("exit 1",), + execution_policy=policy, + ) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + finally: + # Should not raise despite shutdown command failing + middleware.after_agent(state, runtime) + + +def test_shutdown_command_timeout_logged(tmp_path: Path) -> None: + """Test that shutdown command timeouts are logged but don't raise.""" + policy = HostExecutionPolicy(command_timeout=0.1) + middleware = ShellToolMiddleware( + workspace_root=tmp_path / "workspace", + execution_policy=policy, + shutdown_commands=("sleep 2",), + ) + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + finally: + # Should not raise despite shutdown command timing out + middleware.after_agent(state, runtime) + + +def test_empty_output_replaced_with_no_output(tmp_path: Path) -> None: + """Test that empty command output is replaced with ''.""" + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + result = middleware._run_shell_tool( + resources, + {"command": "true"}, # Command that produces no output + tool_call_id=None, + ) + + assert "" in result + finally: + middleware.after_agent(state, runtime) + + +def test_stderr_output_labeling(tmp_path: Path) -> None: + """Test that stderr output is properly labeled.""" + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + runtime = Runtime() + state = _empty_state() + try: + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + resources = middleware._get_or_create_resources(state) + + result = middleware._run_shell_tool( + resources, {"command": "echo error >&2"}, tool_call_id=None + ) + + assert "[stderr] error" in result + finally: + middleware.after_agent(state, runtime) + + +@pytest.mark.parametrize( + ("startup_commands", "expected"), + [ + ("echo test", ("echo test",)), # String + (["echo test", "pwd"], ("echo test", "pwd")), # List + (("echo test",), ("echo test",)), # Tuple + (None, ()), # None + ], +) +def test_normalize_commands_string_tuple_list( + tmp_path: Path, + startup_commands: str | list[str] | tuple[str, ...] | None, + expected: tuple[str, ...], +) -> None: + """Test various command normalization formats.""" + middleware = ShellToolMiddleware( + workspace_root=tmp_path / "workspace", startup_commands=startup_commands + ) + assert middleware._startup_commands == expected + + +async def test_async_methods_delegate_to_sync(tmp_path: Path) -> None: + """Test that async methods properly delegate to sync methods.""" + middleware = ShellToolMiddleware(workspace_root=tmp_path / "workspace") + try: + state = _empty_state() + + # Test abefore_agent + updates = await middleware.abefore_agent(state, Runtime()) + if updates: + state.update(cast("ShellToolState", updates)) + + # Test aafter_agent + await middleware.aafter_agent(state, Runtime()) + finally: + pass + + +def test_shell_middleware_resumable_after_interrupt(tmp_path: Path) -> None: + """Test that shell middleware is resumable after an interrupt. + + This test simulates a scenario where: + 1. The middleware creates a shell session + 2. A command is executed + 3. The agent is interrupted (state is preserved) + 4. The agent resumes with the same state + 5. The shell session is reused (not recreated) + """ + workspace = tmp_path / "workspace" + middleware = ShellToolMiddleware(workspace_root=workspace) + + # Simulate first execution (before interrupt) + runtime = Runtime() + state = _empty_state() + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + + # Get the resources and verify they exist + resources = middleware._get_or_create_resources(state) + initial_session = resources.session + initial_tempdir = resources.tempdir + + # Execute a command to set state + middleware._run_shell_tool(resources, {"command": "export TEST_VAR=hello"}, tool_call_id=None) + + # Simulate interrupt - state is preserved, but we don't call after_agent + # In a real scenario, the state would be checkpointed here + + # Simulate resumption - call before_agent again with same state + # This should reuse existing resources, not create new ones + updates = middleware.before_agent(state, runtime) + if updates: + state.update(cast("ShellToolState", updates)) + + # Get resources again - should be the same session + resumed_resources = middleware._get_or_create_resources(state) + + # Verify the session was reused (same object reference) + assert resumed_resources.session is initial_session + assert resumed_resources.tempdir is initial_tempdir + + # Verify the session state persisted (environment variable still set) + result = middleware._run_shell_tool( + resumed_resources, {"command": "echo ${TEST_VAR:-unset}"}, tool_call_id=None + ) + assert "hello" in result + assert "unset" not in result + + # Clean up + middleware.after_agent(state, runtime) + + +def test_get_or_create_resources_creates_when_missing(tmp_path: Path) -> None: + """Test that _get_or_create_resources creates resources when they don't exist.""" + workspace = tmp_path / "workspace" + middleware = ShellToolMiddleware(workspace_root=workspace) + + state = _empty_state() + + # State has no resources initially + assert "shell_session_resources" not in state + + # Call _get_or_create_resources - should create new resources + resources = middleware._get_or_create_resources(state) + + assert isinstance(resources, _SessionResources) + assert resources.session is not None + assert state.get("shell_session_resources") is resources + + # Clean up + resources.finalizer() + + +def test_get_or_create_resources_reuses_existing(tmp_path: Path) -> None: + """Test that _get_or_create_resources reuses existing resources.""" + workspace = tmp_path / "workspace" + middleware = ShellToolMiddleware(workspace_root=workspace) + + state = _empty_state() + + # Create resources first time + resources1 = middleware._get_or_create_resources(state) + + # Call again - should return the same resources + resources2 = middleware._get_or_create_resources(state) + + assert resources1 is resources2 + assert resources1.session is resources2.session + + # Clean up + resources1.finalizer() diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.py new file mode 100644 index 0000000000000000000000000000000000000000..a04f670ad4a0651c130855c19800210711446771 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_structured_output_retry.py @@ -0,0 +1,369 @@ +"""Tests for StructuredOutputRetryMiddleware functionality.""" + +from collections.abc import Callable + +import pytest +from langchain_core.messages import HumanMessage +from langchain_core.tools import tool +from langgraph.checkpoint.memory import InMemorySaver +from pydantic import BaseModel + +from langchain.agents import create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + ModelRequest, + ModelResponse, +) +from langchain.agents.structured_output import StructuredOutputError, ToolStrategy +from tests.unit_tests.agents.model import FakeToolCallingModel + + +class StructuredOutputRetryMiddleware(AgentMiddleware): + """Retries model calls when structured output parsing fails.""" + + def __init__(self, max_retries: int) -> None: + """Initialize the structured output retry middleware. + + Args: + max_retries: Maximum number of retry attempts. + """ + self.max_retries = max_retries + + def wrap_model_call( + self, request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Intercept and control model execution via handler callback. + + Args: + request: The model request containing messages and configuration. + handler: The function to call the model. + + Returns: + The model response. + + Raises: + StructuredOutputError: If max retries exceeded without success. + """ + for attempt in range(self.max_retries + 1): + try: + return handler(request) + except StructuredOutputError as exc: + if attempt == self.max_retries: + raise + + # Include both the AI message and error in a single human message + # to maintain valid chat history alternation + ai_content = exc.ai_message.content + error_message = ( + f"Your previous response was:\n{ai_content}\n\n" + f"Error: {exc}. Please try again with a valid response." + ) + request.messages.append(HumanMessage(content=error_message)) + + # This should never be reached, but satisfies type checker + return handler(request) + + +class WeatherReport(BaseModel): + """Weather report schema for testing.""" + + temperature: float + conditions: str + + +@tool +def get_weather(city: str) -> str: + """Get the weather for a given city. + + Args: + city: The city to get weather for. + + Returns: + Weather information for the city. + """ + return f"The weather in {city} is sunny and 72 degrees." + + +def test_structured_output_retry_first_attempt_invalid() -> None: + """Test structured output retry when first two attempts have invalid output.""" + # First two attempts have invalid tool arguments, third attempt succeeds + # The model will call the WeatherReport structured output tool + tool_calls = [ + # First attempt - invalid: wrong type for temperature + [ + { + "name": "WeatherReport", + "id": "1", + "args": {"temperature": "not-a-float", "conditions": "sunny"}, + } + ], + # Second attempt - invalid: missing required field + [{"name": "WeatherReport", "id": "2", "args": {"temperature": 72.5}}], + # Third attempt - valid + [ + { + "name": "WeatherReport", + "id": "3", + "args": {"temperature": 72.5, "conditions": "sunny"}, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + retry_middleware = StructuredOutputRetryMiddleware(max_retries=2) + + agent = create_agent( + model=model, + tools=[get_weather], + middleware=[retry_middleware], + response_format=ToolStrategy(schema=WeatherReport, handle_errors=False), + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("What's the weather in Tokyo?")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify we got a structured response + assert "structured_response" in result + structured = result["structured_response"] + assert isinstance(structured, WeatherReport) + assert structured.temperature == 72.5 + assert structured.conditions == "sunny" + + # Verify the model was called 3 times (initial + 2 retries) + assert model.index == 3 + + +def test_structured_output_retry_exceeds_max_retries() -> None: + """Test structured output retry raises error when max retries exceeded.""" + # All three attempts return invalid arguments + tool_calls = [ + [ + { + "name": "WeatherReport", + "id": "1", + "args": {"temperature": "invalid", "conditions": "sunny"}, + } + ], + [ + { + "name": "WeatherReport", + "id": "2", + "args": {"temperature": "also-invalid", "conditions": "cloudy"}, + } + ], + [ + { + "name": "WeatherReport", + "id": "3", + "args": {"temperature": "still-invalid", "conditions": "rainy"}, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + retry_middleware = StructuredOutputRetryMiddleware(max_retries=2) + + agent = create_agent( + model=model, + tools=[get_weather], + middleware=[retry_middleware], + response_format=ToolStrategy(schema=WeatherReport, handle_errors=False), + # No checkpointer - we expect this to fail + ) + + # Should raise StructuredOutputError after exhausting retries + with pytest.raises(StructuredOutputError): + agent.invoke( + {"messages": [HumanMessage("What's the weather in Tokyo?")]}, + ) + + # Verify the model was called 3 times (initial + 2 retries) + assert model.index == 3 + + +def test_structured_output_retry_succeeds_first_attempt() -> None: + """Test structured output retry when first attempt succeeds (no retry needed).""" + # First attempt returns valid structured output + tool_calls = [ + [ + { + "name": "WeatherReport", + "id": "1", + "args": {"temperature": 68.0, "conditions": "cloudy"}, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + retry_middleware = StructuredOutputRetryMiddleware(max_retries=2) + + agent = create_agent( + model=model, + tools=[get_weather], + middleware=[retry_middleware], + response_format=ToolStrategy(schema=WeatherReport, handle_errors=False), + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("What's the weather in Paris?")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify we got a structured response + assert "structured_response" in result + structured = result["structured_response"] + assert isinstance(structured, WeatherReport) + assert structured.temperature == 68.0 + assert structured.conditions == "cloudy" + + # Verify the model was called only once + assert model.index == 1 + + +def test_structured_output_retry_validation_error() -> None: + """Test structured output retry with schema validation errors.""" + # First attempt has wrong type, second has missing field, third succeeds + tool_calls = [ + [ + { + "name": "WeatherReport", + "id": "1", + "args": {"temperature": "seventy-two", "conditions": "sunny"}, + } + ], + [{"name": "WeatherReport", "id": "2", "args": {"temperature": 72.5}}], + [ + { + "name": "WeatherReport", + "id": "3", + "args": {"temperature": 72.5, "conditions": "partly cloudy"}, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + retry_middleware = StructuredOutputRetryMiddleware(max_retries=2) + + agent = create_agent( + model=model, + tools=[get_weather], + middleware=[retry_middleware], + response_format=ToolStrategy(schema=WeatherReport, handle_errors=False), + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("What's the weather in London?")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify we got a structured response + assert "structured_response" in result + structured = result["structured_response"] + assert isinstance(structured, WeatherReport) + assert structured.temperature == 72.5 + assert structured.conditions == "partly cloudy" + + # Verify the model was called 3 times + assert model.index == 3 + + +def test_structured_output_retry_zero_retries() -> None: + """Test structured output retry with max_retries=0 (no retries allowed).""" + # First attempt returns invalid arguments + tool_calls = [ + [ + { + "name": "WeatherReport", + "id": "1", + "args": {"temperature": "invalid", "conditions": "sunny"}, + } + ], + [ + { + "name": "WeatherReport", + "id": "2", + "args": {"temperature": 72.5, "conditions": "sunny"}, + } + ], # Would succeed if retried + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + retry_middleware = StructuredOutputRetryMiddleware(max_retries=0) + + agent = create_agent( + model=model, + tools=[get_weather], + middleware=[retry_middleware], + response_format=ToolStrategy(schema=WeatherReport, handle_errors=False), + checkpointer=InMemorySaver(), + ) + + # Should fail immediately without retrying + with pytest.raises(StructuredOutputError): + agent.invoke( + {"messages": [HumanMessage("What's the weather in Berlin?")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify the model was called only once (no retries) + assert model.index == 1 + + +def test_structured_output_retry_preserves_messages() -> None: + """Test structured output retry preserves error feedback in messages.""" + # First attempt invalid, second succeeds + tool_calls = [ + [ + { + "name": "WeatherReport", + "id": "1", + "args": {"temperature": "invalid", "conditions": "rainy"}, + } + ], + [ + { + "name": "WeatherReport", + "id": "2", + "args": {"temperature": 75.0, "conditions": "rainy"}, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + retry_middleware = StructuredOutputRetryMiddleware(max_retries=1) + + agent = create_agent( + model=model, + tools=[get_weather], + middleware=[retry_middleware], + response_format=ToolStrategy(schema=WeatherReport, handle_errors=False), + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("What's the weather in Seattle?")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Verify structured response is correct + assert "structured_response" in result + structured = result["structured_response"] + assert structured.temperature == 75.0 + assert structured.conditions == "rainy" + + # Verify messages include the retry feedback + messages = result["messages"] + human_messages = [m for m in messages if isinstance(m, HumanMessage)] + + # Should have at least 2 human messages: initial + retry feedback + assert len(human_messages) >= 2 + + # The retry feedback message should contain error information + retry_message = human_messages[-1] + assert "Error:" in retry_message.content + assert "Please try again" in retry_message.content diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_summarization.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_summarization.py new file mode 100644 index 0000000000000000000000000000000000000000..21d62fba241fdddb823808ce89e57ea9eda29953 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_summarization.py @@ -0,0 +1,2086 @@ +from collections.abc import Iterable +from pathlib import Path +from typing import Any +from unittest.mock import patch + +import pytest +from langchain_core.callbacks import AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun +from langchain_core.language_models import ModelProfile +from langchain_core.language_models.base import ( + LangSmithParams, + LanguageModelInput, +) +from langchain_core.language_models.chat_models import BaseChatModel +from langchain_core.messages import ( + AIMessage, + AnyMessage, + BaseMessage, + HumanMessage, + MessageLikeRepresentation, + RemoveMessage, + ToolMessage, +) +from langchain_core.messages.utils import count_tokens_approximately, get_buffer_string +from langchain_core.outputs import ChatGeneration, ChatResult +from langchain_core.runnables import RunnableConfig +from langgraph.graph.message import REMOVE_ALL_MESSAGES +from langgraph.runtime import Runtime +from pydantic import Field +from typing_extensions import override + +from langchain.agents import AgentState +from langchain.agents.middleware.summarization import ( + ContextSize, + SummarizationMiddleware, + TriggerClause, + _provider_matches, +) +from langchain.chat_models import init_chat_model +from tests.unit_tests.agents.model import FakeToolCallingModel + +OPENAI_TEST_MODEL = "gpt-5.5" + + +def _langchain_pyproject_major_version() -> int: + """Read the `langchain` package major version from `pyproject.toml`.""" + pyproject = next( + parent / "pyproject.toml" + for parent in Path(__file__).parents + if (parent / "pyproject.toml").exists() + ) + for line in pyproject.read_text().splitlines(): + if line.startswith("version = "): + return int(line.split('"')[1].split(".")[0]) + msg = "Could not find project version in pyproject.toml" + raise AssertionError(msg) + + +class MockChatModel(BaseChatModel): + """Mock chat model for testing.""" + + @override + def invoke( + self, + input: LanguageModelInput, + config: RunnableConfig | None = None, + *, + stop: list[str] | None = None, + **kwargs: Any, + ) -> AIMessage: + return AIMessage(content="Generated summary") + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + +class ProfileChatModel(BaseChatModel): + """Mock chat model with profile for testing.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + profile: ModelProfile | None = ModelProfile(max_input_tokens=1000) + + @property + def _llm_type(self) -> str: + return "mock" + + +class ProfileProviderChatModel(ProfileChatModel): + """Mock chat model with profile and provider metadata.""" + + @override + def _get_ls_params(self, stop: list[str] | None = None, **kwargs: Any) -> LangSmithParams: + return LangSmithParams(ls_provider="mock", ls_model_type="chat") + + +def test_summarization_middleware_initialization() -> None: + """Test SummarizationMiddleware initialization.""" + model = FakeToolCallingModel() + middleware = SummarizationMiddleware( + model=model, + trigger=("tokens", 1000), + keep=("messages", 10), + summary_prompt="Custom prompt: {messages}", + ) + + assert middleware.model == model + assert middleware.trigger == ("tokens", 1000) + assert middleware.keep == ("messages", 10) + assert middleware.summary_prompt == "Custom prompt: {messages}" + assert middleware.trim_tokens_to_summarize == 4000 + + with pytest.raises( + ValueError, + match="Model profile information is required to use fractional token limits, " + "and is unavailable for the specified model", + ): + SummarizationMiddleware(model=model, keep=("fraction", 0.5)) # no model profile + + # Test with string model + with patch( + "langchain.agents.middleware.summarization.init_chat_model", + return_value=FakeToolCallingModel(), + ): + middleware = SummarizationMiddleware(model="fake-model") + assert isinstance(middleware.model, FakeToolCallingModel) + + +def test_summarization_middleware_no_summarization_cases() -> None: + """Test SummarizationMiddleware when summarization is not needed or disabled.""" + model = FakeToolCallingModel() + middleware = SummarizationMiddleware(model=model, trigger=("tokens", 1000)) + + # Test when summarization is disabled + middleware_disabled = SummarizationMiddleware(model=model, trigger=None) + state = AgentState[Any](messages=[HumanMessage(content="Hello"), AIMessage(content="Hi")]) + result = middleware_disabled.before_model(state, Runtime()) + assert result is None + + # Test when token count is below threshold + def mock_token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + return 500 # Below threshold + + middleware.token_counter = mock_token_counter + result = middleware.before_model(state, Runtime()) + assert result is None + + +def test_summarization_middleware_helper_methods() -> None: + """Test SummarizationMiddleware helper methods.""" + model = FakeToolCallingModel() + middleware = SummarizationMiddleware(model=model, trigger=("tokens", 1000)) + + # Test message ID assignment + messages: list[AnyMessage] = [HumanMessage(content="Hello"), AIMessage(content="Hi")] + middleware._ensure_message_ids(messages) + for msg in messages: + assert msg.id is not None + + # Test message partitioning + messages = [ + HumanMessage(content="1"), + HumanMessage(content="2"), + HumanMessage(content="3"), + HumanMessage(content="4"), + HumanMessage(content="5"), + ] + to_summarize, preserved = middleware._partition_messages(messages, 2) + assert len(to_summarize) == 2 + assert len(preserved) == 3 + assert to_summarize == messages[:2] + assert preserved == messages[2:] + + # Test summary message building + summary = "This is a test summary" + new_messages = middleware._build_new_messages(summary) + assert len(new_messages) == 1 + assert isinstance(new_messages[0], HumanMessage) + assert "Here is a summary of the conversation to date:" in new_messages[0].content + assert summary in new_messages[0].content + assert new_messages[0].additional_kwargs.get("lc_source") == "summarization" + + +def test_summarization_middleware_summary_creation() -> None: + """Test SummarizationMiddleware summary creation.""" + middleware = SummarizationMiddleware(model=MockChatModel(), trigger=("tokens", 1000)) + + # Test normal summary creation + messages: list[AnyMessage] = [HumanMessage(content="Hello"), AIMessage(content="Hi")] + summary = middleware._create_summary(messages) + assert summary == "Generated summary" + + # Test empty messages + summary = middleware._create_summary([]) + assert summary == "No previous conversation history." + + # Test error handling + class ErrorModel(BaseChatModel): + @override + def invoke( + self, + input: LanguageModelInput, + config: RunnableConfig | None = None, + *, + stop: list[str] | None = None, + **kwargs: Any, + ) -> AIMessage: + msg = "Model error" + raise ValueError(msg) + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + middleware_error = SummarizationMiddleware(model=ErrorModel(), trigger=("tokens", 1000)) + summary = middleware_error._create_summary(messages) + assert "Error generating summary: Model error" in summary + + # Test we raise warning if max_tokens_before_summary or messages_to_keep is specified + with pytest.warns(DeprecationWarning, match="max_tokens_before_summary is deprecated"): + SummarizationMiddleware(model=MockChatModel(), max_tokens_before_summary=500) + with pytest.warns(DeprecationWarning, match="messages_to_keep is deprecated"): + SummarizationMiddleware(model=MockChatModel(), messages_to_keep=5) + + +def test_summarization_middleware_trim_limit_none_keeps_all_messages() -> None: + """Verify disabling trim limit preserves full message sequence.""" + messages: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(10)] + middleware = SummarizationMiddleware( + model=MockChatModel(), + trim_tokens_to_summarize=None, + ) + + def token_counter(messages: Iterable[MessageLikeRepresentation]) -> int: + return len(list(messages)) + + middleware.token_counter = token_counter + + trimmed = middleware._trim_messages_for_summary(messages) + assert trimmed is messages + + +def test_summarization_middleware_profile_inference_triggers_summary() -> None: + """Ensure automatic profile inference triggers summarization when limits are exceeded.""" + + def token_counter(messages: Iterable[MessageLikeRepresentation]) -> int: + return len(list(messages)) * 200 + + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.81), + keep=("fraction", 0.5), + token_counter=token_counter, + ) + + state = AgentState[Any]( + messages=[ + HumanMessage(content="Message 1"), + AIMessage(content="Message 2"), + HumanMessage(content="Message 3"), + AIMessage(content="Message 4"), + ] + ) + + # Test we don't engage summarization + # we have total_tokens = 4 * 200 = 800 + # and max_input_tokens = 1000 + # since 0.81 * 1000 == 810 > 800 -> summarization not triggered + result = middleware.before_model(state, Runtime()) + assert result is None + + # Engage summarization + # since 0.80 * 1000 == 800 <= 800 + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.80), + keep=("fraction", 0.5), + token_counter=token_counter, + ) + result = middleware.before_model(state, Runtime()) + assert result is not None + assert isinstance(result["messages"][0], RemoveMessage) + summary_message = result["messages"][1] + assert isinstance(summary_message, HumanMessage) + assert summary_message.text.startswith("Here is a summary of the conversation") + assert len(result["messages"][2:]) == 2 # Preserved messages + assert [message.content for message in result["messages"][2:]] == [ + "Message 3", + "Message 4", + ] + + # With keep=("fraction", 0.6) the target token allowance becomes 600, + # so the cutoff shifts to keep the last three messages instead of two. + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.80), + keep=("fraction", 0.6), + token_counter=token_counter, + ) + result = middleware.before_model(state, Runtime()) + assert result is not None + assert [message.content for message in result["messages"][2:]] == [ + "Message 2", + "Message 3", + "Message 4", + ] + + # Once keep=("fraction", 0.8) the inferred limit equals the full + # context (target tokens = 800), so token-based retention keeps everything + # and summarization is skipped entirely. + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.80), + keep=("fraction", 0.8), + token_counter=token_counter, + ) + assert middleware.before_model(state, Runtime()) is None + + # Test with tokens_to_keep as absolute int value + middleware_int = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.80), + keep=("tokens", 400), # Keep exactly 400 tokens (2 messages) + token_counter=token_counter, + ) + result = middleware_int.before_model(state, Runtime()) + assert result is not None + assert [message.content for message in result["messages"][2:]] == [ + "Message 3", + "Message 4", + ] + + # Test with tokens_to_keep as larger int value + middleware_int_large = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.80), + keep=("tokens", 600), # Keep 600 tokens (3 messages) + token_counter=token_counter, + ) + result = middleware_int_large.before_model(state, Runtime()) + assert result is not None + assert [message.content for message in result["messages"][2:]] == [ + "Message 2", + "Message 3", + "Message 4", + ] + + +def test_summarization_middleware_token_retention_preserves_ai_tool_pairs() -> None: + """Ensure token retention preserves AI/Tool message pairs together.""" + + def token_counter(messages: Iterable[MessageLikeRepresentation]) -> int: + return sum(len(getattr(message, "content", "")) for message in messages) + + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=("fraction", 0.1), + keep=("fraction", 0.5), + token_counter=token_counter, + ) + + # Total tokens: 300 + 200 + 50 + 180 + 160 = 890 + # Target keep: 500 tokens (50% of 1000) + # Binary search finds cutoff around index 2 (ToolMessage) + # We move back to index 1 to preserve the AIMessage with its ToolMessage + messages: list[AnyMessage] = [ + HumanMessage(content="H" * 300), + AIMessage( + content="A" * 200, + tool_calls=[{"name": "test", "args": {}, "id": "call-1"}], + ), + ToolMessage(content="T" * 50, tool_call_id="call-1"), + HumanMessage(content="H" * 180), + HumanMessage(content="H" * 160), + ] + + state = AgentState[Any](messages=messages) + result = middleware.before_model(state, Runtime()) + assert result is not None + + preserved_messages = result["messages"][2:] + # We move the cutoff back to include the AIMessage with its ToolMessage + # So we preserve messages from index 1 onward (AI + Tool + Human + Human) + assert preserved_messages == messages[1:] + + # Verify the AI/Tool pair is preserved together + assert isinstance(preserved_messages[0], AIMessage) + assert preserved_messages[0].tool_calls + assert isinstance(preserved_messages[1], ToolMessage) + assert preserved_messages[1].tool_call_id == preserved_messages[0].tool_calls[0]["id"] + + +def test_summarization_middleware_missing_profile() -> None: + """Ensure fractional limits fail when model has no profile data.""" + with pytest.raises( + ValueError, + match="Model profile information is required to use fractional token limits", + ): + _ = SummarizationMiddleware( + model=MockChatModel(), trigger=("fraction", 0.5), keep=("messages", 1) + ) + + +def test_summarization_middleware_full_workflow() -> None: + """Test SummarizationMiddleware complete summarization workflow.""" + with pytest.warns(DeprecationWarning, match="messages_to_keep is deprecated"): + # keep test for functionality + middleware = SummarizationMiddleware( + model=MockChatModel(), max_tokens_before_summary=1000, messages_to_keep=2 + ) + + # Mock high token count to trigger summarization + def mock_token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + return 1500 # Above threshold + + middleware.token_counter = mock_token_counter + + messages: list[AnyMessage] = [ + HumanMessage(content="1"), + HumanMessage(content="2"), + HumanMessage(content="3"), + HumanMessage(content="4"), + HumanMessage(content="5"), + ] + + state = AgentState[Any](messages=messages) + result = middleware.before_model(state, Runtime()) + + assert result is not None + assert "messages" in result + assert len(result["messages"]) > 0 + + # Should have RemoveMessage for cleanup + assert isinstance(result["messages"][0], RemoveMessage) + assert result["messages"][0].id == REMOVE_ALL_MESSAGES + + # Should have summary message + summary_message = None + for msg in result["messages"]: + if isinstance(msg, HumanMessage) and "summary of the conversation" in msg.content: + summary_message = msg + break + + assert summary_message is not None + assert "Generated summary" in summary_message.content + + +async def test_summarization_middleware_full_workflow_async() -> None: + """Test SummarizationMiddleware complete summarization workflow.""" + + class MockModel(BaseChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Blep"))]) + + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: AsyncCallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Blip"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + middleware = SummarizationMiddleware( + model=MockModel(), trigger=("tokens", 1000), keep=("messages", 2) + ) + + # Mock high token count to trigger summarization + def mock_token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + return 1500 # Above threshold + + middleware.token_counter = mock_token_counter + + messages: list[AnyMessage] = [ + HumanMessage(content="1"), + HumanMessage(content="2"), + HumanMessage(content="3"), + HumanMessage(content="4"), + HumanMessage(content="5"), + ] + + state = AgentState[Any](messages=messages) + result = await middleware.abefore_model(state, Runtime()) + + assert result is not None + assert "messages" in result + assert len(result["messages"]) > 0 + + expected_types = ["remove", "human", "human", "human"] + actual_types = [message.type for message in result["messages"]] + assert actual_types == expected_types + assert [message.content for message in result["messages"][2:]] == ["4", "5"] + + summary_message = result["messages"][1] + assert "Blip" in summary_message.text + + +def test_summarization_middleware_keep_messages() -> None: + """Test SummarizationMiddleware with keep parameter specifying messages.""" + # Test that summarization is triggered when message count reaches threshold + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("messages", 5), keep=("messages", 2) + ) + + # Below threshold - no summarization + messages_below: list[AnyMessage] = [ + HumanMessage(content="1"), + HumanMessage(content="2"), + HumanMessage(content="3"), + HumanMessage(content="4"), + ] + state_below = AgentState[Any](messages=messages_below) + result = middleware.before_model(state_below, Runtime()) + assert result is None + + # At threshold - should trigger summarization + messages_at_threshold: list[AnyMessage] = [ + HumanMessage(content="1"), + HumanMessage(content="2"), + HumanMessage(content="3"), + HumanMessage(content="4"), + HumanMessage(content="5"), + ] + state_at = AgentState[Any](messages=messages_at_threshold) + result = middleware.before_model(state_at, Runtime()) + assert result is not None + assert "messages" in result + expected_types = ["remove", "human", "human", "human"] + actual_types = [message.type for message in result["messages"]] + assert actual_types == expected_types + assert [message.content for message in result["messages"][2:]] == ["4", "5"] + + # Above threshold - should also trigger summarization + messages_above: list[AnyMessage] = [*messages_at_threshold, HumanMessage(content="6")] + state_above = AgentState[Any](messages=messages_above) + result = middleware.before_model(state_above, Runtime()) + assert result is not None + assert "messages" in result + expected_types = ["remove", "human", "human", "human"] + actual_types = [message.type for message in result["messages"]] + assert actual_types == expected_types + assert [message.content for message in result["messages"][2:]] == ["5", "6"] + + # Test with both parameters disabled + middleware_disabled = SummarizationMiddleware(model=MockChatModel(), trigger=None) + result = middleware_disabled.before_model(state_above, Runtime()) + assert result is None + + +@pytest.mark.parametrize( + ("param_name", "param_value", "expected_error"), + [ + ("trigger", ("fraction", 0.0), "Fractional trigger values must be between 0 and 1"), + ("trigger", ("fraction", 1.5), "Fractional trigger values must be between 0 and 1"), + ("keep", ("fraction", -0.1), "Fractional keep values must be between 0 and 1"), + ("trigger", ("tokens", 0), "trigger thresholds must be greater than 0"), + ("trigger", ("messages", -5), "trigger thresholds must be greater than 0"), + ("keep", ("tokens", 0), "keep thresholds must be greater than 0"), + ("trigger", ("invalid", 100), "Unsupported context size type"), + ("keep", ("invalid", 100), "Unsupported context size type"), + ], +) +def test_summarization_middleware_validation_edge_cases( + param_name: str, param_value: Any, expected_error: str +) -> None: + """Test validation of context size parameters with edge cases.""" + model = FakeToolCallingModel() + with pytest.raises(ValueError, match=expected_error): + SummarizationMiddleware(model=model, **{param_name: param_value}) + + +def test_summarization_middleware_multiple_triggers() -> None: + """Test middleware with multiple trigger conditions.""" + # Test with multiple triggers - should activate when ANY condition is met + middleware = SummarizationMiddleware( + model=MockChatModel(), + trigger=[("messages", 10), ("tokens", 500)], + keep=("messages", 2), + ) + + # Mock token counter to return low count + def mock_low_tokens(_: Iterable[MessageLikeRepresentation]) -> int: + return 100 + + middleware.token_counter = mock_low_tokens + + # Should not trigger - neither condition met + messages: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(5)] + state = AgentState[Any](messages=messages) + result = middleware.before_model(state, Runtime()) + assert result is None + + # Should trigger - message count threshold met + messages = [HumanMessage(content=str(i)) for i in range(10)] + state = AgentState[Any](messages=messages) + result = middleware.before_model(state, Runtime()) + assert result is not None + + # Test token trigger + def mock_high_tokens(_: Iterable[MessageLikeRepresentation]) -> int: + return 600 + + middleware.token_counter = mock_high_tokens + messages = [HumanMessage(content=str(i)) for i in range(5)] + state = AgentState[Any](messages=messages) + result = middleware.before_model(state, Runtime()) + assert result is not None + + +def test_summarization_middleware_profile_edge_cases() -> None: + """Test profile retrieval with various edge cases.""" + + class NoProfileModel(BaseChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + # Model without profile attribute + middleware = SummarizationMiddleware(model=NoProfileModel(), trigger=("messages", 5)) + assert middleware._get_profile_limits() is None + + class InvalidProfileModel(BaseChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + # NOTE: Using __getattribute__ because @property cannot override Pydantic fields. + def __getattribute__(self, name: str) -> Any: + if name == "profile": + return "invalid_profile_type" + return super().__getattribute__(name) + + # Model with non-dict profile + middleware = SummarizationMiddleware(model=InvalidProfileModel(), trigger=("messages", 5)) + assert middleware._get_profile_limits() is None + + class MissingTokensModel(BaseChatModel): + profile: ModelProfile | None = Field(default=ModelProfile(other_field=100), exclude=True) # type: ignore[typeddict-unknown-key] + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + # Model with profile but no max_input_tokens + middleware = SummarizationMiddleware(model=MissingTokensModel(), trigger=("messages", 5)) + assert middleware._get_profile_limits() is None + + class InvalidTokenTypeModel(BaseChatModel): + profile: ModelProfile | None = Field( + default=ModelProfile(max_input_tokens="not_an_int"), # type: ignore[typeddict-item] + exclude=True, + ) + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "mock" + + # Model with non-int max_input_tokens + middleware = SummarizationMiddleware(model=InvalidTokenTypeModel(), trigger=("messages", 5)) + assert middleware._get_profile_limits() is None + + +def test_summarization_middleware_trim_messages_error_fallback() -> None: + """Test that trim_messages_for_summary falls back gracefully on errors.""" + middleware = SummarizationMiddleware(model=MockChatModel(), trigger=("messages", 5)) + + # Create a mock token counter that raises an exception + def failing_token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + msg = "Token counting failed" + raise ValueError(msg) + + middleware.token_counter = failing_token_counter + + # Should fall back to last 15 messages + messages: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(20)] + trimmed = middleware._trim_messages_for_summary(messages) + assert len(trimmed) == 15 + assert trimmed == messages[-15:] + + +def test_summarization_middleware_binary_search_edge_cases() -> None: + """Test binary search in _find_token_based_cutoff with edge cases.""" + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("messages", 5), keep=("tokens", 100) + ) + + # Test with single message that's too large + def token_counter_single_large(messages: Iterable[MessageLikeRepresentation]) -> int: + return len(list(messages)) * 200 + + middleware.token_counter = token_counter_single_large + + single_message: list[AnyMessage] = [HumanMessage(content="x" * 200)] + cutoff = middleware._find_token_based_cutoff(single_message) + assert cutoff == 0 + + # Test with empty messages + cutoff = middleware._find_token_based_cutoff([]) + assert cutoff == 0 + + # Test when all messages fit within token budget + def token_counter_small(messages: Iterable[MessageLikeRepresentation]) -> int: + return len(list(messages)) * 10 + + middleware.token_counter = token_counter_small + messages: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(5)] + cutoff = middleware._find_token_based_cutoff(messages) + assert cutoff == 0 + + +def test_summarization_middleware_find_safe_cutoff_point() -> None: + """Test `_find_safe_cutoff_point` preserves AI/Tool message pairs.""" + model = FakeToolCallingModel() + middleware = SummarizationMiddleware( + model=model, trigger=("messages", 10), keep=("messages", 2) + ) + + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage(content="ai", tool_calls=[{"name": "tool", "args": {}, "id": "call1"}]), + ToolMessage(content="result1", tool_call_id="call1"), + ToolMessage(content="result2", tool_call_id="call2"), # orphan - no matching AI + HumanMessage(content="msg2"), + ] + + # Starting at a non-ToolMessage returns the same index + assert middleware._find_safe_cutoff_point(messages, 0) == 0 + assert middleware._find_safe_cutoff_point(messages, 1) == 1 + + # Starting at ToolMessage with matching AIMessage moves back to include it + # ToolMessage at index 2 has tool_call_id="call1" which matches AIMessage at index 1 + assert middleware._find_safe_cutoff_point(messages, 2) == 1 + + # Starting at orphan ToolMessage (no matching AIMessage) falls back to advancing + # ToolMessage at index 3 has tool_call_id="call2" with no matching AIMessage + # Since we only collect from cutoff_index onwards, only {call2} is collected + # No match found, so we fall back to advancing past ToolMessages + assert middleware._find_safe_cutoff_point(messages, 3) == 4 + + # Starting at the HumanMessage after tools returns that index + assert middleware._find_safe_cutoff_point(messages, 4) == 4 + + # Starting past the end returns the index unchanged + assert middleware._find_safe_cutoff_point(messages, 5) == 5 + + # Cutoff at or past length stays the same + assert middleware._find_safe_cutoff_point(messages, len(messages)) == len(messages) + assert middleware._find_safe_cutoff_point(messages, len(messages) + 5) == len(messages) + 5 + + +def test_summarization_middleware_find_safe_cutoff_point_orphan_tool() -> None: + """Test `_find_safe_cutoff_point` with truly orphan `ToolMessage` (no matching `AIMessage`).""" + model = FakeToolCallingModel() + middleware = SummarizationMiddleware( + model=model, trigger=("messages", 10), keep=("messages", 2) + ) + + # Messages where ToolMessage has no matching AIMessage at all + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage(content="ai_no_tools"), # No tool_calls + ToolMessage(content="orphan_result", tool_call_id="orphan_call"), + HumanMessage(content="msg2"), + ] + + # Starting at orphan ToolMessage falls back to advancing forward + assert middleware._find_safe_cutoff_point(messages, 2) == 3 + + +def test_summarization_cutoff_moves_backward_to_include_ai_message() -> None: + """Test that cutoff moves backward to include `AIMessage` with its `ToolMessage`s. + + Previously, when the cutoff landed on a `ToolMessage`, the code would advance + FORWARD past all `ToolMessage`s. This could result in orphaned `ToolMessage`s (kept + without their `AIMessage`) or aggressive summarization that removed AI/Tool pairs. + + The fix searches backward from a `ToolMessage` to find the `AIMessage` with matching + `tool_calls`, ensuring the pair stays together in the preserved messages. + """ + model = FakeToolCallingModel() + middleware = SummarizationMiddleware( + model=model, trigger=("messages", 10), keep=("messages", 2) + ) + + # Scenario: cutoff lands on ToolMessage that has a matching AIMessage before it + messages: list[AnyMessage] = [ + HumanMessage(content="initial question"), # index 0 + AIMessage( + content="I'll use a tool", + tool_calls=[{"name": "search", "args": {"q": "test"}, "id": "call_abc"}], + ), # index 1 + ToolMessage(content="search result", tool_call_id="call_abc"), # index 2 + HumanMessage(content="followup"), # index 3 + ] + + # When cutoff is at index 2 (ToolMessage), it should move BACKWARD to index 1 + # to include the AIMessage that generated the tool call + result = middleware._find_safe_cutoff_point(messages, 2) + + assert result == 1, ( + f"Expected cutoff to move backward to index 1 (AIMessage), got {result}. " + "The cutoff should preserve AI/Tool pairs together." + ) + + assert isinstance(messages[result], AIMessage) + assert messages[result].tool_calls # type: ignore[union-attr] + assert messages[result].tool_calls[0]["id"] == "call_abc" # type: ignore[union-attr] + + +def test_summarization_middleware_zero_and_negative_target_tokens() -> None: + """Test handling of edge cases with target token calculations.""" + # Test with very small fraction that rounds to zero + middleware = SummarizationMiddleware( + model=ProfileChatModel(), trigger=("fraction", 0.0001), keep=("fraction", 0.0001) + ) + + # Should set threshold to 1 when calculated value is <= 0 + messages: list[AnyMessage] = [HumanMessage(content="test")] + + # The trigger fraction calculation: int(1000 * 0.0001) = 0, but should be set to 1 + # Token count of 1 message should exceed threshold of 1 + def token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + return 2 + + middleware.token_counter = token_counter + assert middleware._should_summarize(messages, 2) + + +async def test_summarization_middleware_async_error_handling() -> None: + """Test async summary creation with errors.""" + + class ErrorAsyncModel(BaseChatModel): + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: AsyncCallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + msg = "Async model error" + raise ValueError(msg) + + @property + def _llm_type(self) -> str: + return "mock" + + middleware = SummarizationMiddleware(model=ErrorAsyncModel(), trigger=("messages", 5)) + messages: list[AnyMessage] = [HumanMessage(content="test")] + summary = await middleware._acreate_summary(messages) + assert "Error generating summary: Async model error" in summary + + +def test_summarization_middleware_cutoff_at_boundary() -> None: + """Test cutoff index determination at exact message boundaries.""" + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("messages", 5), keep=("messages", 5) + ) + + # When we want to keep exactly as many messages as we have + messages: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(5)] + cutoff = middleware._find_safe_cutoff(messages, 5) + assert cutoff == 0 # Should not cut anything + + # When we want to keep more messages than we have + cutoff = middleware._find_safe_cutoff(messages, 10) + assert cutoff == 0 + + +def test_summarization_middleware_skips_when_no_safe_cutoff() -> None: + """Do not summarize when message retention leaves no older history to drop.""" + + def token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + return 1500 + + middleware = SummarizationMiddleware( + model=MockChatModel(), + trigger=("tokens", 1000), + keep=("messages", 1), + token_counter=token_counter, + ) + state = AgentState[Any](messages=[HumanMessage(content="Current request")]) + + assert middleware.before_model(state, Runtime()) is None + + +async def test_summarization_middleware_skips_when_no_safe_cutoff_async() -> None: + """Do not summarize when async message retention has no older history to drop.""" + + def token_counter(_: Iterable[MessageLikeRepresentation]) -> int: + return 1500 + + middleware = SummarizationMiddleware( + model=MockChatModel(), + trigger=("tokens", 1000), + keep=("messages", 1), + token_counter=token_counter, + ) + state = AgentState[Any](messages=[HumanMessage(content="Current request")]) + + assert await middleware.abefore_model(state, Runtime()) is None + + +def test_summarization_middleware_deprecated_parameters_with_defaults() -> None: + """Test that deprecated parameters work correctly with default values.""" + # Test that deprecated max_tokens_before_summary is ignored when trigger is set + with pytest.warns(DeprecationWarning, match="max_tokens_before_summary is deprecated"): + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("tokens", 2000), max_tokens_before_summary=1000 + ) + assert middleware.trigger == ("tokens", 2000) + + # Test that messages_to_keep is ignored when keep is not default + with pytest.warns(DeprecationWarning, match="messages_to_keep is deprecated"): + middleware = SummarizationMiddleware( + model=MockChatModel(), keep=("messages", 5), messages_to_keep=10 + ) + assert middleware.keep == ("messages", 5) + + +def test_summarization_middleware_fraction_trigger_with_no_profile() -> None: + """Test fractional trigger condition when profile data becomes unavailable.""" + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger=[("fraction", 0.5), ("messages", 100)], + keep=("messages", 5), + ) + + # Test that when fractional condition can't be evaluated, other triggers still work + messages: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(100)] + + # Mock _get_profile_limits to return None + with patch.object(middleware, "_get_profile_limits", autospec=True, return_value=None): + # Should still trigger based on message count + state = AgentState[Any](messages=messages) + result = middleware.before_model(state, Runtime()) + assert result is not None + + +def test_summarization_adjust_token_counts() -> None: + test_message = HumanMessage(content="a" * 12) + + middleware = SummarizationMiddleware(model=MockChatModel(), trigger=("messages", 5)) + count_1 = middleware.token_counter([test_message]) + + class MockAnthropicModel(MockChatModel): + @property + def _llm_type(self) -> str: + return "anthropic-chat" + + middleware = SummarizationMiddleware(model=MockAnthropicModel(), trigger=("messages", 5)) + count_2 = middleware.token_counter([test_message]) + + assert count_1 != count_2 + + +def test_summarization_middleware_many_parallel_tool_calls_safety() -> None: + """Test cutoff safety preserves AI message with many parallel tool calls.""" + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("messages", 15), keep=("messages", 5) + ) + tool_calls = [{"name": f"tool_{i}", "args": {}, "id": f"call_{i}"} for i in range(10)] + human_message = HumanMessage(content="calling 10 tools") + ai_message = AIMessage(content="calling 10 tools", tool_calls=tool_calls) + tool_messages = [ + ToolMessage(content=f"result_{i}", tool_call_id=f"call_{i}") for i in range(10) + ] + messages: list[AnyMessage] = [human_message, ai_message, *tool_messages] + + # Cutoff at index 7 (a ToolMessage) moves back to index 1 (AIMessage) + # to preserve the AI/Tool pair together + assert middleware._find_safe_cutoff_point(messages, 7) == 1 + + # Any cutoff pointing at a ToolMessage (indices 2-11) moves back to index 1 + for i in range(2, 12): + assert middleware._find_safe_cutoff_point(messages, i) == 1 + + # Cutoff at index 0, 1 (before tool messages) stays the same + assert middleware._find_safe_cutoff_point(messages, 0) == 0 + assert middleware._find_safe_cutoff_point(messages, 1) == 1 + + +def test_summarization_before_model_uses_unscaled_tokens_for_cutoff() -> None: + calls: list[dict[str, Any]] = [] + + def fake_counter(_: Iterable[MessageLikeRepresentation], **kwargs: Any) -> int: + calls.append(kwargs) + return 100 + + with patch( + "langchain.agents.middleware.summarization.count_tokens_approximately", + side_effect=fake_counter, + ) as mock_counter: + middleware = SummarizationMiddleware( + model=MockChatModel(), + trigger=("tokens", 1), + keep=("tokens", 1), + token_counter=mock_counter, + ) + state = AgentState[Any](messages=[HumanMessage(content="one"), HumanMessage(content="two")]) + assert middleware.before_model(state, Runtime()) is not None + + # Test we support partial token counting (which for default token counter does not + # use use_usage_metadata_scaling) + assert any(call.get("use_usage_metadata_scaling") is False for call in calls) + assert any(call.get("use_usage_metadata_scaling") is True for call in calls) + + +def test_summarization_middleware_find_safe_cutoff_preserves_ai_tool_pair() -> None: + """Test `_find_safe_cutoff` preserves AI/Tool message pairs together.""" + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("messages", 10), keep=("messages", 3) + ) + + # Messages list: [Human, AI, Tool, Tool, Tool, Human] + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage( + content="ai", + tool_calls=[ + {"name": "tool1", "args": {}, "id": "call1"}, + {"name": "tool2", "args": {}, "id": "call2"}, + {"name": "tool3", "args": {}, "id": "call3"}, + ], + ), + ToolMessage(content="result1", tool_call_id="call1"), + ToolMessage(content="result2", tool_call_id="call2"), + ToolMessage(content="result3", tool_call_id="call3"), + HumanMessage(content="msg2"), + ] + + # Target cutoff index is len(messages) - messages_to_keep = 6 - 3 = 3 + # Index 3 is a ToolMessage, we move back to index 1 to include AIMessage + cutoff = middleware._find_safe_cutoff(messages, messages_to_keep=3) + assert cutoff == 1 + + # With messages_to_keep=2, target cutoff index is 6 - 2 = 4 + # Index 4 is a ToolMessage, we move back to index 1 to include AIMessage + # This preserves the AI + Tools + Human, more than requested but valid + cutoff = middleware._find_safe_cutoff(messages, messages_to_keep=2) + assert cutoff == 1 + + +def test_summarization_middleware_cutoff_at_start_of_tool_sequence() -> None: + """Test cutoff when target lands exactly at the first ToolMessage.""" + middleware = SummarizationMiddleware( + model=MockChatModel(), trigger=("messages", 8), keep=("messages", 4) + ) + + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + HumanMessage(content="msg2"), + AIMessage(content="ai", tool_calls=[{"name": "tool", "args": {}, "id": "call1"}]), + ToolMessage(content="result", tool_call_id="call1"), + HumanMessage(content="msg3"), + HumanMessage(content="msg4"), + ] + + # Target cutoff index is len(messages) - messages_to_keep = 6 - 4 = 2 + # Index 2 is an AIMessage (safe cutoff point), so no adjustment needed + cutoff = middleware._find_safe_cutoff(messages, messages_to_keep=4) + assert cutoff == 2 + + +def test_trigger_copies_mutable_inputs() -> None: + """Test caller mutations do not change stored trigger configuration.""" + model = FakeToolCallingModel() + clause: TriggerClause = {"tokens": 1000} + trigger: list[ContextSize | TriggerClause] = [clause] + + middleware = SummarizationMiddleware( + model=model, + trigger=trigger, + keep=("messages", 2), + ) + + clause["messages"] = 1 + trigger.append(("messages", 1)) + + assert middleware.trigger == [{"tokens": 1000}] + + def token_counter_low(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 500 + + middleware.token_counter = token_counter_low + state = AgentState(messages=[HumanMessage(content="1"), HumanMessage(content="2")]) + result = middleware.before_model(state, Runtime()) + assert result is None + + +def test_trigger_clauses_are_canonical_representation() -> None: + """Test `_trigger_clauses` is the canonical AND/OR trigger representation.""" + middleware = SummarizationMiddleware( + model=FakeToolCallingModel(), + trigger=[("messages", 5), {"tokens": 1000}, {"tokens": 2000, "messages": 10}], + ) + + assert middleware._trigger_clauses == [ + {"messages": 5}, + {"tokens": 1000}, + {"tokens": 2000, "messages": 10}, + ] + + +def test_trigger_conditions_legacy_tuple_view_remove_in_2_0() -> None: + """Test `_trigger_conditions` remains a temporary tuple-shaped compatibility view.""" + assert _langchain_pyproject_major_version() < 2, ( + "Remove `_trigger_conditions` and this compatibility test in LangChain 2.0." + ) + middleware = SummarizationMiddleware( + model=FakeToolCallingModel(), + trigger=[("messages", 5), {"tokens": 1000}, {"tokens": 2000, "messages": 10}], + ) + + assert middleware._trigger_conditions == [("messages", 5), ("tokens", 1000)] + + +def test_compound_trigger_has_no_legacy_tuple_projection() -> None: + """Test compound AND clauses are not misrepresented as legacy OR tuples.""" + middleware = SummarizationMiddleware( + model=FakeToolCallingModel(), + trigger={"tokens": 1000, "messages": 5}, + ) + + assert middleware._trigger_clauses == [{"tokens": 1000, "messages": 5}] + assert middleware._trigger_conditions == [] + + +def test_and_trigger_conditions() -> None: + """Test AND-capable trigger conditions (all conditions in dict must be met).""" + model = FakeToolCallingModel() + + # Create middleware with AND condition: tokens >= 1000 AND messages >= 5 + middleware = SummarizationMiddleware( + model=model, + trigger={"tokens": 1000, "messages": 5}, + keep=("messages", 2), # Explicitly set a smaller keep value + ) + + # Test case 1: Only tokens threshold met (messages = 3 < 5) + # Should NOT trigger summarization + def token_counter_high(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 1500 # Above token threshold + + middleware.token_counter = token_counter_high + state = AgentState( + messages=[ + HumanMessage(content="1"), + AIMessage(content="2"), + HumanMessage(content="3"), + ] + ) + result = middleware.before_model(state, Runtime()) + assert result is None, "Should not summarize when only tokens condition is met" + + # Test case 2: Only messages threshold met (tokens = 500 < 1000) + # Should NOT trigger summarization + def token_counter_low(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 500 # Below token threshold + + middleware.token_counter = token_counter_low + state = AgentState( + messages=[ + HumanMessage(content="1"), + AIMessage(content="2"), + HumanMessage(content="3"), + AIMessage(content="4"), + HumanMessage(content="5"), + AIMessage(content="6"), + ] + ) + result = middleware.before_model(state, Runtime()) + assert result is None, "Should not summarize when only messages condition is met" + + # Test case 3: Both conditions met (tokens >= 1000 AND messages >= 5) + # Should trigger summarization + middleware.token_counter = token_counter_high + result = middleware.before_model(state, Runtime()) + assert result is not None, "Should summarize when both conditions are met" + assert isinstance(result["messages"][0], RemoveMessage) + + +def test_or_trigger_conditions_with_and_clauses() -> None: + """Test OR across multiple AND clauses.""" + model = FakeToolCallingModel() + + # Create middleware with OR of AND conditions: + # (tokens >= 5000 AND messages >= 3) OR (tokens >= 3000 AND messages >= 6) + middleware = SummarizationMiddleware( + model=model, + trigger=[ + {"tokens": 5000, "messages": 3}, + {"tokens": 3000, "messages": 6}, + ], + keep=("messages", 2), + ) + + # Test case 1: First clause met (tokens = 5500, messages = 4) + # Should trigger summarization + def token_counter_5500(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 5500 + + middleware.token_counter = token_counter_5500 + state = AgentState( + messages=[ + HumanMessage(content="1"), + AIMessage(content="2"), + HumanMessage(content="3"), + AIMessage(content="4"), + ] + ) + result = middleware.before_model(state, Runtime()) + assert result is not None, "Should summarize when first OR clause is met" + + # Test case 2: Second clause met (tokens = 3500, messages = 7) + # Should trigger summarization + def token_counter_3500(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 3500 + + middleware.token_counter = token_counter_3500 + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(7)]) + result = middleware.before_model(state, Runtime()) + assert result is not None, "Should summarize when second OR clause is met" + + # Test case 3: Neither clause fully met + # (tokens = 4500 meets second token threshold but not message count) + # (messages = 4 meets first message threshold but not token count) + # Should NOT trigger summarization + def token_counter_4500(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 4500 + + middleware.token_counter = token_counter_4500 + state = AgentState( + messages=[ + HumanMessage(content="1"), + AIMessage(content="2"), + HumanMessage(content="3"), + AIMessage(content="4"), + ] + ) + result = middleware.before_model(state, Runtime()) + assert result is None, "Should not summarize when no complete clause is met" + + +async def test_and_trigger_conditions_async() -> None: + """AND-capable trigger conditions via the async `abefore_model` path.""" + middleware = SummarizationMiddleware( + model=FakeToolCallingModel(), + trigger={"tokens": 1000, "messages": 5}, + keep=("messages", 2), + ) + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(6)]) + + # Only the messages threshold met (tokens below) -> should not summarize. + def token_counter_low(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 500 + + middleware.token_counter = token_counter_low + result = await middleware.abefore_model(state, Runtime()) + assert result is None, "Should not summarize when only messages condition is met" + + # Both conditions met -> should summarize. + def token_counter_high(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 1500 + + middleware.token_counter = token_counter_high + result = await middleware.abefore_model(state, Runtime()) + assert result is not None, "Should summarize when both conditions are met" + assert isinstance(result["messages"][0], RemoveMessage) + + +async def test_or_trigger_conditions_with_and_clauses_async() -> None: + """OR across multiple AND clauses via the async `abefore_model` path.""" + middleware = SummarizationMiddleware( + model=FakeToolCallingModel(), + trigger=[ + {"tokens": 5000, "messages": 3}, + {"tokens": 3000, "messages": 6}, + ], + keep=("messages", 2), + ) + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(4)]) + + # First clause met (tokens = 5500, messages = 4) -> should summarize. + def token_counter_5500(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 5500 + + middleware.token_counter = token_counter_5500 + result = await middleware.abefore_model(state, Runtime()) + assert result is not None, "Should summarize when first OR clause is met" + + # Neither clause fully met (tokens = 4500, messages = 4) -> should not summarize. + def token_counter_4500(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 4500 + + middleware.token_counter = token_counter_4500 + result = await middleware.abefore_model(state, Runtime()) + assert result is None, "Should not summarize when no complete clause is met" + + +def test_backward_compatibility_tuple_trigger() -> None: + """Test backward compatibility with existing tuple-based triggers.""" + model = FakeToolCallingModel() + + # Single tuple trigger + middleware_single = SummarizationMiddleware( + model=model, + trigger=("tokens", 1000), + keep=("messages", 1), + ) + + def token_counter_high(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 1500 + + middleware_single.token_counter = token_counter_high + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(3)]) + result = middleware_single.before_model(state, Runtime()) + assert result is not None, "Single tuple trigger should work" + + # List of tuples trigger + middleware_list = SummarizationMiddleware( + model=model, + trigger=[("tokens", 1000), ("messages", 5)], + keep=("messages", 2), + ) + + # Should trigger with high tokens (first condition met) + middleware_list.token_counter = token_counter_high + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(3)]) + result = middleware_list.before_model(state, Runtime()) + assert result is not None, "List of tuples should trigger when any condition met" + + # Should trigger with many messages (second condition met) + def token_counter_low(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 100 + + middleware_list.token_counter = token_counter_low + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(6)]) + result = middleware_list.before_model(state, Runtime()) + assert result is not None, "List of tuples should trigger when second condition met" + + +def test_mixed_and_or_conditions() -> None: + """Test mixing dict (AND) and tuple (single condition) triggers in a list (OR).""" + model = FakeToolCallingModel() + + # (tokens >= 4000 AND messages >= 10) OR (messages >= 50) + middleware = SummarizationMiddleware( + model=model, + trigger=[ + {"tokens": 4000, "messages": 10}, + ("messages", 50), + ], + keep=("messages", 5), + ) + + # Test case 1: First AND clause met + def token_counter_high(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 4500 + + middleware.token_counter = token_counter_high + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(12)]) + result = middleware.before_model(state, Runtime()) + assert result is not None, "Should trigger when AND clause is met" + + # Test case 2: Second simple condition met + def token_counter_low(_messages: Iterable[MessageLikeRepresentation]) -> int: + return 1000 + + middleware.token_counter = token_counter_low + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(55)]) + result = middleware.before_model(state, Runtime()) + assert result is not None, "Should trigger when simple messages condition is met" + + # Test case 3: Neither condition met + middleware.token_counter = token_counter_low + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(8)]) + result = middleware.before_model(state, Runtime()) + assert result is None, "Should not trigger when no condition is met" + + +def test_fraction_in_and_trigger() -> None: + """Test using fraction threshold in AND conditions.""" + # Create middleware with AND condition: fraction >= 0.8 AND messages >= 5 + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger={"fraction": 0.8, "messages": 5}, + keep=("messages", 2), + ) + + def token_counter(messages: Iterable[MessageLikeRepresentation]) -> int: + return len(list(messages)) * 200 # Each message = 200 tokens + + middleware.token_counter = token_counter + + # Test case 1: Both conditions met + # 5 messages * 200 = 1000 tokens (profile max is 1000) + # 1000 / 1000 = 1.0 >= 0.8 AND messages = 5 >= 5 + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(5)]) + result = middleware.before_model(state, Runtime()) + assert result is not None, "Should trigger when both fraction and messages conditions met" + + # Test case 2: Only messages condition met + # 3 messages * 200 = 600 tokens + # 600 / 1000 = 0.6 < 0.8 and messages = 3 < 5 + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(3)]) + result = middleware.before_model(state, Runtime()) + assert result is None, "Should not trigger when neither condition is fully met" + + # Test case 3: High fraction but not enough messages + # 4 messages * 200 = 800 tokens + # 800 / 1000 = 0.8 >= 0.8 but messages = 4 < 5 + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(4)]) + result = middleware.before_model(state, Runtime()) + assert result is None, "Should not trigger when only fraction condition is met" + + +def test_trigger_validation_errors() -> None: + """Test validation errors for invalid trigger configurations.""" + model = FakeToolCallingModel() + + # Invalid metric name + with pytest.raises(ValueError, match="Unsupported trigger metric"): + SummarizationMiddleware( + model=model, + trigger={"invalid_metric": 100}, # type: ignore[arg-type] + ) + + # Invalid fraction value (> 1) — shares the tuple path's message via + # `_validate_context_size`. + with pytest.raises(ValueError, match="Fractional trigger values must be between 0 and 1"): + SummarizationMiddleware( + model=model, + trigger={"fraction": 1.5}, + ) + + # Invalid fraction value (<= 0) + with pytest.raises(ValueError, match="Fractional trigger values must be between 0 and 1"): + SummarizationMiddleware( + model=model, + trigger={"fraction": 0}, + ) + + # Invalid token threshold (<= 0) + with pytest.raises(ValueError, match="trigger thresholds must be greater than 0"): + SummarizationMiddleware( + model=model, + trigger={"tokens": 0}, + ) + + # Invalid message threshold (<= 0) + with pytest.raises(ValueError, match="trigger thresholds must be greater than 0"): + SummarizationMiddleware( + model=model, + trigger={"messages": -5}, + ) + + # Non-numeric fraction value + with pytest.raises(ValueError, match="Fraction trigger values must be numeric"): + SummarizationMiddleware( + model=model, + trigger={"fraction": "invalid"}, # type: ignore[arg-type] + ) + + # Float value for an integer metric is rejected (no silent truncation) + with pytest.raises(ValueError, match="tokens trigger values must be integers"): + SummarizationMiddleware( + model=model, + trigger={"tokens": 1000.5}, # type: ignore[arg-type] + ) + + # Numeric string for an integer metric is rejected (no silent coercion) + with pytest.raises(ValueError, match="messages trigger values must be integers"): + SummarizationMiddleware( + model=model, + trigger={"messages": "10"}, # type: ignore[arg-type] + ) + + # Boolean is rejected (bool is an int subclass) + with pytest.raises(ValueError, match="messages trigger value must be numeric"): + SummarizationMiddleware( + model=model, + trigger={"messages": True}, + ) + + # Invalid list item type + with pytest.raises(TypeError, match="Unsupported trigger item type"): + SummarizationMiddleware( + model=model, + trigger=["invalid"], # type: ignore[list-item] + ) + + # Unsupported top-level trigger type (not a tuple, dict, or list) + with pytest.raises(TypeError, match="Unsupported trigger type"): + SummarizationMiddleware( + model=model, + trigger="foo", # type: ignore[arg-type] + ) + + +def test_empty_and_condition() -> None: + """An empty dict trigger clause is rejected (no metrics to evaluate). + + Without this guard an empty clause would vacuously match and summarize on every + invocation, which is almost never what a caller intends. + """ + model = FakeToolCallingModel() + + with pytest.raises(ValueError, match="at least one of"): + SummarizationMiddleware( + model=model, + trigger={}, + ) + + # An empty clause inside a list is rejected for the same reason. + with pytest.raises(ValueError, match="at least one of"): + SummarizationMiddleware( + model=model, + trigger=[{"tokens": 1000}, {}], + ) + + +def test_empty_list_trigger_never_summarizes() -> None: + """An empty trigger list normalizes to no conditions and never summarizes.""" + middleware = SummarizationMiddleware( + model=FakeToolCallingModel(), + trigger=[], + token_counter=lambda _: 10_000, + ) + assert middleware._trigger_conditions == [] + state = AgentState(messages=[HumanMessage(content=str(i)) for i in range(50)]) + assert middleware.before_model(state, Runtime()) is None + + +def test_reported_tokens_satisfy_tokens_within_and_clause() -> None: + """Provider-reported tokens can satisfy the `tokens` metric inside an AND clause. + + The computed token count is below the threshold, so the clause only triggers if the + reported-token fallback is honored *within* the AND evaluation (not just for bare + single-metric tuples). + """ + middleware = SummarizationMiddleware( + model=ProfileProviderChatModel(), + trigger={"tokens": 10_000, "messages": 2}, + keep=("messages", 1), + token_counter=lambda _: 0, + ) + messages: list[AnyMessage] = [ + HumanMessage(content="hello"), + AIMessage( + content="hi", + response_metadata={"model_provider": "mock"}, + usage_metadata={ + "input_tokens": 9_000, + "output_tokens": 1_001, + "total_tokens": 10_001, + }, + ), + ] + # Computed tokens (0) are below threshold, but reported tokens (10_001) clear it and + # message count (2) meets its threshold -> clause satisfied. + assert middleware._should_summarize(messages, 0) + + # Drop the reported count below the threshold -> tokens metric unmet -> no summarize. + messages_low: list[AnyMessage] = [ + HumanMessage(content="hello"), + AIMessage( + content="hi", + response_metadata={"model_provider": "mock"}, + usage_metadata={ + "input_tokens": 50, + "output_tokens": 50, + "total_tokens": 100, + }, + ), + ] + assert not middleware._should_summarize(messages_low, 0) + + +def test_three_metric_and_clause() -> None: + """All three metrics in a single clause must be met (AND), with no short-circuit.""" + # Profile max is 1000 -> fraction 0.8 resolves to an 800-token threshold. The tokens + # threshold (100) is deliberately lower so `fraction` can be isolated as the binding + # constraint. + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger={"tokens": 100, "messages": 5, "fraction": 0.8}, + keep=("messages", 2), + ) + five: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(5)] + four: list[AnyMessage] = [HumanMessage(content=str(i)) for i in range(4)] + + # All three met: tokens (800 >= 100), messages (5 >= 5), fraction (800 >= 800). + assert middleware._should_summarize(five, 800) + + # fraction unmet: 500 < 800 threshold (tokens + messages still met). + assert not middleware._should_summarize(five, 500) + + # messages unmet: 4 < 5 (tokens + fraction still met). + assert not middleware._should_summarize(four, 800) + + +def test_tokens_and_fraction_and_clause() -> None: + """A clause combining `tokens` and `fraction` (no `messages`) is AND-evaluated.""" + # Profile max is 1000 -> fraction 0.5 resolves to a 500-token threshold. + middleware = SummarizationMiddleware( + model=ProfileChatModel(), + trigger={"tokens": 300, "fraction": 0.5}, + keep=("messages", 2), + ) + messages: list[AnyMessage] = [HumanMessage(content="x")] + + # Both met: 500 >= 300 tokens and 500 >= 500 fraction. + assert middleware._should_summarize(messages, 500) + + # fraction unmet: 400 < 500 (tokens still met at 400 >= 300). + assert not middleware._should_summarize(messages, 400) + + # Both unmet. + assert not middleware._should_summarize(messages, 200) + + +def test_create_summary_uses_get_buffer_string_format() -> None: + """Test that `_create_summary` formats messages using `get_buffer_string`. + + Ensures that messages are formatted efficiently for the summary prompt, avoiding + token inflation from metadata when `str()` is called on message objects. + + This ensures the token count of the formatted prompt stays below what + `count_tokens_approximately` estimates for the raw messages. + """ + # Create messages with metadata that would inflate str() representation + messages: list[AnyMessage] = [ + HumanMessage(content="What is the weather in NYC?"), + AIMessage( + content="Let me check the weather for you.", + tool_calls=[{"name": "get_weather", "args": {"city": "NYC"}, "id": "call_123"}], + usage_metadata={"input_tokens": 50, "output_tokens": 30, "total_tokens": 80}, + response_metadata={"model": OPENAI_TEST_MODEL, "finish_reason": "tool_calls"}, + ), + ToolMessage( + content="72F and sunny", + tool_call_id="call_123", + name="get_weather", + ), + AIMessage( + content="It is 72F and sunny in NYC!", + usage_metadata={ + "input_tokens": 100, + "output_tokens": 25, + "total_tokens": 125, + }, + response_metadata={"model": OPENAI_TEST_MODEL, "finish_reason": "stop"}, + ), + ] + + # Verify the token ratio is favorable (get_buffer_string < str) + approx_tokens = count_tokens_approximately(messages) + buffer_string = get_buffer_string(messages) + buffer_tokens_estimate = len(buffer_string) / 4 # ~4 chars per token + + # The ratio should be less than 1.0 (buffer_string uses fewer tokens than counted) + ratio = buffer_tokens_estimate / approx_tokens + assert ratio < 1.0, ( + f"get_buffer_string should produce fewer tokens than count_tokens_approximately. " + f"Got ratio {ratio:.2f}x (expected < 1.0)" + ) + + # Verify str() would have been worse + str_tokens_estimate = len(str(messages)) / 4 + str_ratio = str_tokens_estimate / approx_tokens + assert str_ratio > 1.5, ( + f"str(messages) should produce significantly more tokens. " + f"Got ratio {str_ratio:.2f}x (expected > 1.5)" + ) + + +class PromptCapturingModel(BaseChatModel): + """Mock model that captures the prompt input passed to invoke/ainvoke.""" + + captured_inputs: list[LanguageModelInput] = Field(default_factory=list, exclude=True) + + @override + def invoke( + self, + input: LanguageModelInput, + config: RunnableConfig | None = None, + *, + stop: list[str] | None = None, + **kwargs: Any, + ) -> AIMessage: + self.captured_inputs.append(input) + return AIMessage(content="Summary") + + @override + async def ainvoke( + self, + input: LanguageModelInput, + config: RunnableConfig | None = None, + *, + stop: list[str] | None = None, + **kwargs: Any, + ) -> AIMessage: + self.captured_inputs.append(input) + return AIMessage(content="Summary") + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "prompt-capturing" + + +@pytest.mark.parametrize("use_async", [False, True], ids=["sync", "async"]) +async def test_create_summary_preserves_image_urls(use_async: bool) -> None: # noqa: FBT001 + """Test that URL-backed image content is serialized into the summary prompt.""" + model = PromptCapturingModel() + middleware = SummarizationMiddleware(model=model, trigger=("tokens", 1000)) + image_url = "https://example.com/shared-image.png" + messages: list[AnyMessage] = [ + HumanMessage( + content=[ + {"type": "text", "text": "What is in this image?"}, + {"type": "image_url", "image_url": {"url": image_url}}, + ] + ), + AIMessage(content="The image shows a cat."), + ] + + if use_async: + summary = await middleware._acreate_summary(messages) + else: + summary = middleware._create_summary(messages) + + assert summary == "Summary" + prompt = model.captured_inputs[0] + assert isinstance(prompt, str) + # Preserve the URL in the serialized history passed to the summarizer. + assert image_url in prompt + + +@pytest.mark.requires("langchain_anthropic") +def test_usage_metadata_trigger() -> None: + model = init_chat_model("anthropic:claude-sonnet-4-5") + middleware = SummarizationMiddleware( + model=model, trigger=("tokens", 10_000), keep=("messages", 4) + ) + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage( + content="msg2", + tool_calls=[{"name": "tool", "args": {}, "id": "call1"}], + response_metadata={"model_provider": "anthropic"}, + usage_metadata={ + "input_tokens": 5000, + "output_tokens": 1000, + "total_tokens": 6000, + }, + ), + ToolMessage(content="result", tool_call_id="call1"), + AIMessage( + content="msg3", + response_metadata={"model_provider": "anthropic"}, + usage_metadata={ + "input_tokens": 6100, + "output_tokens": 900, + "total_tokens": 7000, + }, + ), + HumanMessage(content="msg4"), + AIMessage( + content="msg5", + response_metadata={"model_provider": "anthropic"}, + usage_metadata={ + "input_tokens": 7500, + "output_tokens": 2501, + "total_tokens": 10_001, + }, + ), + ] + # reported token count should override count of zero + assert middleware._should_summarize(messages, 0) + + # don't engage unless model provider matches + messages.extend( + [ + HumanMessage(content="msg6"), + AIMessage( + content="msg7", + response_metadata={"model_provider": "not-anthropic"}, + usage_metadata={ + "input_tokens": 7500, + "output_tokens": 2501, + "total_tokens": 10_001, + }, + ), + ] + ) + assert not middleware._should_summarize(messages, 0) + + # don't engage if subsequent message stays under threshold (e.g., after summarization) + messages.extend( + [ + HumanMessage(content="msg8"), + AIMessage( + content="msg9", + response_metadata={"model_provider": "anthropic"}, + usage_metadata={ + "input_tokens": 7500, + "output_tokens": 2499, + "total_tokens": 9999, + }, + ), + ] + ) + assert not middleware._should_summarize(messages, 0) + + +def test_provider_matches() -> None: + """Direct equality matches, plus Bedrock aliases under amazon_bedrock.""" + assert _provider_matches("anthropic", "anthropic") + assert _provider_matches("openai", "openai") + # Bedrock chat models tag messages with model_provider="bedrock" or + # "bedrock_converse" but trace under ls_provider="amazon_bedrock". + assert _provider_matches("bedrock", "amazon_bedrock") + assert _provider_matches("bedrock_converse", "amazon_bedrock") + # Non-matches + assert not _provider_matches("openai", "anthropic") + assert not _provider_matches("bedrock", "anthropic") + assert not _provider_matches("anthropic", None) + + +class _MockBedrockChatModel(BaseChatModel): + """Mock model that mimics ChatBedrockConverse's ls_provider for tracing.""" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "amazon_bedrock_converse_chat" + + @override + def _get_ls_params(self, stop: list[str] | None = None, **kwargs: Any) -> LangSmithParams: + return LangSmithParams(ls_provider="amazon_bedrock", ls_model_type="chat") + + +def test_reported_tokens_trigger_for_bedrock_converse() -> None: + """Bedrock messages should satisfy the reported-token check. + + Despite the model_provider/ls_provider mismatch (bedrock_converse vs. + amazon_bedrock), the reported-token check should still trigger summarization. + """ + middleware = SummarizationMiddleware( + model=_MockBedrockChatModel(), + trigger=("tokens", 10_000), + keep=("messages", 4), + ) + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage( + content="msg2", + response_metadata={"model_provider": "bedrock_converse"}, + usage_metadata={ + "input_tokens": 7500, + "output_tokens": 2501, + "total_tokens": 10_001, + }, + ), + ] + # reported token count (10_001) should override the supplied count of 0 + assert middleware._should_summarize(messages, 0) + + # mismatched provider should not engage + messages_other_provider: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage( + content="msg2", + response_metadata={"model_provider": "anthropic"}, + usage_metadata={ + "input_tokens": 7500, + "output_tokens": 2501, + "total_tokens": 10_001, + }, + ), + ] + assert not middleware._should_summarize(messages_other_provider, 0) + + +def test_reported_tokens_trigger_for_fraction() -> None: + """Fraction triggers should account for provider-reported token usage.""" + middleware = SummarizationMiddleware( + model=ProfileProviderChatModel(), + trigger=("fraction", 0.8), + keep=("messages", 4), + token_counter=lambda _: 0, + ) + messages: list[AnyMessage] = [ + HumanMessage(content="msg1"), + AIMessage( + content="msg2", + response_metadata={"model_provider": "mock"}, + usage_metadata={ + "input_tokens": 750, + "output_tokens": 51, + "total_tokens": 801, + }, + ), + ] + + assert middleware._should_summarize(messages, 0) + + +class ConfigCapturingModel(BaseChatModel): + """Mock model that captures the config passed to invoke/ainvoke.""" + + captured_configs: list[RunnableConfig | None] = Field(default_factory=list, exclude=True) + + @override + def invoke( + self, + input: LanguageModelInput, + config: RunnableConfig | None = None, + *, + stop: list[str] | None = None, + **kwargs: Any, + ) -> AIMessage: + self.captured_configs.append(config) + return AIMessage(content="Summary") + + @override + async def ainvoke( + self, + input: LanguageModelInput, + config: RunnableConfig | None = None, + *, + stop: list[str] | None = None, + **kwargs: Any, + ) -> AIMessage: + self.captured_configs.append(config) + return AIMessage(content="Summary") + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + return ChatResult(generations=[ChatGeneration(message=AIMessage(content="Summary"))]) + + @property + def _llm_type(self) -> str: + return "config-capturing" + + +@pytest.mark.parametrize("use_async", [False, True], ids=["sync", "async"]) +async def test_create_summary_passes_lc_source_metadata(use_async: bool) -> None: # noqa: FBT001 + """Test that summary creation passes `lc_source` metadata to the model. + + When called outside a LangGraph runnable context, `get_config()` raises + `RuntimeError`. The middleware catches this and still passes the `lc_source` + metadata to the model. + """ + model = ConfigCapturingModel() + model.captured_configs = [] # Reset for this test + middleware = SummarizationMiddleware(model=model, trigger=("tokens", 1000)) + messages: list[AnyMessage] = [HumanMessage(content="Hello"), AIMessage(content="Hi")] + + if use_async: + summary = await middleware._acreate_summary(messages) + else: + summary = middleware._create_summary(messages) + + assert summary == "Summary" + assert len(model.captured_configs) == 1 + config = model.captured_configs[0] + assert config is not None + assert "metadata" in config + assert config["metadata"]["lc_source"] == "summarization" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_todo.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_todo.py new file mode 100644 index 0000000000000000000000000000000000000000..6da56153256e506e1db6107911f64011c5df820c --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_todo.py @@ -0,0 +1,846 @@ +"""Unit tests for TodoListMiddleware.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any, cast + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, HumanMessage, ToolMessage + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.todo import ( + WRITE_TODOS_SYSTEM_PROMPT, + WRITE_TODOS_TOOL_DESCRIPTION, + PlanningState, + TodoListMiddleware, + write_todos, +) +from langchain.agents.middleware.types import AgentState, ModelRequest, ModelResponse +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langgraph.runtime import Runtime + + +def _fake_runtime() -> Runtime: + return cast("Runtime", object()) + + +def _make_request(system_prompt: str | None = None) -> ModelRequest: + """Create a minimal ModelRequest for testing.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + return ModelRequest( + model=model, + system_prompt=system_prompt, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=_fake_runtime(), + model_settings={}, + ) + + +# ============================================================================== +# Synchronous Tests +# ============================================================================== + + +def test_todo_middleware_initialization() -> None: + """Test that TodoListMiddleware initializes correctly.""" + middleware = TodoListMiddleware() + assert middleware.state_schema == PlanningState + assert len(middleware.tools) == 1 + assert middleware.tools[0].name == "write_todos" + + +def test_has_write_todos_tool() -> None: + """Test that middleware registers the write_todos tool.""" + middleware = TodoListMiddleware() + + # Should have one tool registered + assert len(middleware.tools) == 1 + assert middleware.tools[0].name == "write_todos" + + +def test_todo_middleware_default_prompts() -> None: + """Test that TodoListMiddleware uses default prompts when none provided.""" + middleware = TodoListMiddleware() + + # Verify default system prompt + assert middleware.system_prompt == WRITE_TODOS_SYSTEM_PROMPT + + # Verify default tool description + assert middleware.tool_description == WRITE_TODOS_TOOL_DESCRIPTION + assert len(middleware.tools) == 1 + tool = middleware.tools[0] + assert tool.description == WRITE_TODOS_TOOL_DESCRIPTION + + +def test_adds_system_prompt_when_none_exists() -> None: + """Test that middleware adds system prompt when request has none.""" + middleware = TodoListMiddleware() + request = _make_request(system_prompt=None) + + captured_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + middleware.wrap_model_call(request, mock_handler) + + # System prompt should be set in the modified request passed to handler + assert captured_request is not None + assert captured_request.system_prompt is not None + assert "write_todos" in captured_request.system_prompt + # Original request should be unchanged + assert request.system_prompt is None + + +def test_appends_to_existing_system_prompt() -> None: + """Test that middleware appends to existing system prompt.""" + existing_prompt = "You are a helpful assistant." + middleware = TodoListMiddleware() + request = _make_request(system_prompt=existing_prompt) + + captured_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + middleware.wrap_model_call(request, mock_handler) + + # System prompt should contain both in the modified request passed to handler + assert captured_request is not None + assert captured_request.system_prompt is not None + assert existing_prompt in captured_request.system_prompt + assert "write_todos" in captured_request.system_prompt + assert captured_request.system_prompt.startswith(existing_prompt) + # Original request should be unchanged + assert request.system_prompt == existing_prompt + + +@pytest.mark.parametrize( + ("original_prompt", "expected_prompt_prefix"), + [ + ("Original prompt", "Original prompt\n\n## `write_todos`"), + (None, "## `write_todos`"), + ], +) +def test_todo_middleware_on_model_call( + original_prompt: str | None, expected_prompt_prefix: str +) -> None: + """Test that wrap_model_call handles system prompts correctly.""" + middleware = TodoListMiddleware() + model = FakeToolCallingModel() + + state: PlanningState = {"messages": [HumanMessage(content="Hello")]} + + request = ModelRequest( + model=model, + system_prompt=original_prompt, + messages=[HumanMessage(content="Hello")], + tool_choice=None, + tools=[], + response_format=None, + state=state, + runtime=cast("Runtime", object()), + model_settings={}, + ) + + captured_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call to trigger the middleware logic + middleware.wrap_model_call(request, mock_handler) + # Check that the modified request passed to handler has the expected prompt + assert captured_request is not None + assert captured_request.system_prompt is not None + assert captured_request.system_prompt.startswith(expected_prompt_prefix) + # Original request should be unchanged + assert request.system_prompt == original_prompt + + +def test_custom_system_prompt() -> None: + """Test that middleware uses custom system prompt.""" + custom_prompt = "Custom planning instructions" + middleware = TodoListMiddleware(system_prompt=custom_prompt) + request = _make_request(system_prompt=None) + + captured_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + middleware.wrap_model_call(request, mock_handler) + + # Should use custom prompt in the modified request passed to handler + assert captured_request is not None + assert captured_request.system_prompt == custom_prompt + # Original request should be unchanged + assert request.system_prompt is None + + +def test_todo_middleware_custom_system_prompt() -> None: + """Test that TodoListMiddleware can be initialized with custom system prompt.""" + custom_system_prompt = "Custom todo system prompt for testing" + middleware = TodoListMiddleware(system_prompt=custom_system_prompt) + model = FakeToolCallingModel() + + state: PlanningState = {"messages": [HumanMessage(content="Hello")]} + + request = ModelRequest( + model=model, + system_prompt="Original prompt", + messages=[HumanMessage(content="Hello")], + tool_choice=None, + tools=[], + response_format=None, + model_settings={}, + state=state, + runtime=cast("Runtime", object()), + ) + + captured_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call to trigger the middleware logic + middleware.wrap_model_call(request, mock_handler) + # Check that the modified request passed to handler has the expected prompt + assert captured_request is not None + assert captured_request.system_prompt == f"Original prompt\n\n{custom_system_prompt}" + # Original request should be unchanged + assert request.system_prompt == "Original prompt" + + +def test_custom_tool_description() -> None: + """Test that middleware uses custom tool description.""" + custom_description = "Custom todo tool description" + middleware = TodoListMiddleware(tool_description=custom_description) + + # Tool should use custom description + assert len(middleware.tools) == 1 + assert middleware.tools[0].description == custom_description + + +def test_todo_middleware_custom_tool_description() -> None: + """Test that TodoListMiddleware can be initialized with custom tool description.""" + custom_tool_description = "Custom tool description for testing" + middleware = TodoListMiddleware(tool_description=custom_tool_description) + + assert len(middleware.tools) == 1 + tool = middleware.tools[0] + assert tool.description == custom_tool_description + + +def test_todo_middleware_custom_system_prompt_and_tool_description() -> None: + """Test that TodoListMiddleware can be initialized with both custom prompts.""" + custom_system_prompt = "Custom system prompt" + custom_tool_description = "Custom tool description" + middleware = TodoListMiddleware( + system_prompt=custom_system_prompt, + tool_description=custom_tool_description, + ) + + # Verify system prompt + model = FakeToolCallingModel() + state: PlanningState = {"messages": [HumanMessage(content="Hello")]} + + request = ModelRequest( + model=model, + system_prompt=None, + messages=[HumanMessage(content="Hello")], + tool_choice=None, + tools=[], + response_format=None, + state=state, + runtime=cast("Runtime", object()), + model_settings={}, + ) + + captured_request = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="mock response")]) + + # Call wrap_model_call to trigger the middleware logic + middleware.wrap_model_call(request, mock_handler) + # Check that the modified request passed to handler has the expected prompt + assert captured_request is not None + assert captured_request.system_prompt == custom_system_prompt + # Original request should be unchanged + assert request.system_prompt is None + + # Verify tool description + assert len(middleware.tools) == 1 + tool = middleware.tools[0] + assert tool.description == custom_tool_description + + +@pytest.mark.parametrize( + ("todos", "expected_message"), + [ + ([], "Updated todo list to []"), + ( + [{"content": "Task 1", "status": "pending"}], + "Updated todo list to [{'content': 'Task 1', 'status': 'pending'}]", + ), + ( + [ + {"content": "Task 1", "status": "pending"}, + {"content": "Task 2", "status": "in_progress"}, + ], + ( + "Updated todo list to [" + "{'content': 'Task 1', 'status': 'pending'}, " + "{'content': 'Task 2', 'status': 'in_progress'}]" + ), + ), + ( + [ + {"content": "Task 1", "status": "pending"}, + {"content": "Task 2", "status": "in_progress"}, + {"content": "Task 3", "status": "completed"}, + ], + ( + "Updated todo list to [" + "{'content': 'Task 1', 'status': 'pending'}, " + "{'content': 'Task 2', 'status': 'in_progress'}, " + "{'content': 'Task 3', 'status': 'completed'}]" + ), + ), + ], +) +def test_todo_middleware_write_todos_tool_execution( + todos: list[dict[str, Any]], expected_message: str +) -> None: + """Test that the write_todos tool executes correctly.""" + tool_call = { + "args": {"todos": todos}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + result = write_todos.invoke(tool_call) + assert result.update["todos"] == todos + assert result.update["messages"][0].content == expected_message + + +@pytest.mark.parametrize( + "invalid_todos", + [ + [{"content": "Task 1", "status": "invalid_status"}], + [{"status": "pending"}], + ], +) +def test_todo_middleware_write_todos_tool_validation_errors( + invalid_todos: list[dict[str, Any]], +) -> None: + """Test that the write_todos tool rejects invalid input.""" + tool_call = { + "args": {"todos": invalid_todos}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + with pytest.raises(ValueError, match="1 validation error for write_todos"): + write_todos.invoke(tool_call) + + +def test_todo_middleware_agent_creation_with_middleware() -> None: + """Test that an agent can be created with the planning middleware.""" + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [ + { + "args": {"todos": [{"content": "Task 1", "status": "in_progress"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [ + { + "args": {"todos": [{"content": "Task 1", "status": "completed"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [], + ] + ) + middleware = TodoListMiddleware() + agent = create_agent(model=model, middleware=[middleware]) + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result["todos"] == [{"content": "Task 1", "status": "completed"}] + + # human message (1) + # ai message (2) - initial todo + # tool message (3) + # ai message (4) - updated todo + # tool message (5) + # ai message (6) - complete todo + # tool message (7) + # ai message (8) - no tool calls + assert len(result["messages"]) == 8 + + +def test_todo_middleware_custom_system_prompt_in_agent() -> None: + """Test that custom tool executes correctly in an agent.""" + middleware = TodoListMiddleware(system_prompt="call the write_todos tool") + + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "args": {"todos": [{"content": "Custom task", "status": "pending"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [], + ] + ) + + agent = create_agent(model=model, middleware=[middleware]) + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + assert result["todos"] == [{"content": "Custom task", "status": "pending"}] + # assert custom system prompt is in the first AI message + assert "call the write_todos tool" in result["messages"][1].content + + +# ============================================================================== +# Async Tests +# ============================================================================== + + +async def test_adds_system_prompt_when_none_exists_async() -> None: + """Test async version - middleware adds system prompt when request has none.""" + middleware = TodoListMiddleware() + request = _make_request(system_prompt=None) + + captured_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + await middleware.awrap_model_call(request, mock_handler) + + # System prompt should be set in the modified request passed to handler + assert captured_request is not None + assert captured_request.system_prompt is not None + assert "write_todos" in captured_request.system_prompt + # Original request should be unchanged + assert request.system_prompt is None + + +async def test_appends_to_existing_system_prompt_async() -> None: + """Test async version - middleware appends to existing system prompt.""" + existing_prompt = "You are a helpful assistant." + middleware = TodoListMiddleware() + request = _make_request(system_prompt=existing_prompt) + + captured_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + await middleware.awrap_model_call(request, mock_handler) + + # System prompt should contain both in the modified request passed to handler + assert captured_request is not None + assert captured_request.system_prompt is not None + assert existing_prompt in captured_request.system_prompt + assert "write_todos" in captured_request.system_prompt + assert captured_request.system_prompt.startswith(existing_prompt) + # Original request should be unchanged + assert request.system_prompt == existing_prompt + + +async def test_custom_system_prompt_async() -> None: + """Test async version - middleware uses custom system prompt.""" + custom_prompt = "Custom planning instructions" + middleware = TodoListMiddleware(system_prompt=custom_prompt) + request = _make_request(system_prompt=None) + + captured_request = None + + async def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + await middleware.awrap_model_call(request, mock_handler) + + # Should use custom prompt in the modified request passed to handler + assert captured_request is not None + assert captured_request.system_prompt == custom_prompt + + +def test_parallel_write_todos_calls_rejected() -> None: + """Test that parallel write_todos calls are rejected with error messages.""" + middleware = TodoListMiddleware() + + # Create an AI message with two write_todos tool calls + ai_message = AIMessage( + content="I'll update the todos", + tool_calls=[ + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "id": "call_1", + "type": "tool_call", + }, + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 2", "status": "pending"}]}, + "id": "call_2", + "type": "tool_call", + }, + ], + ) + + state: PlanningState = {"messages": [HumanMessage(content="Hello"), ai_message]} + + # Call after_model hook + result = middleware.after_model(state, _fake_runtime()) + + # Should return error messages + assert result == { + "messages": [ + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_1", + status="error", + ), + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_2", + status="error", + ), + ] + } + + +def test_parallel_write_todos_with_other_tools() -> None: + """Test that parallel write_todos calls are rejected but other tool calls remain.""" + middleware = TodoListMiddleware() + + # Create an AI message with two write_todos calls and one other tool call + ai_message = AIMessage( + content="I'll do multiple things", + tool_calls=[ + { + "name": "some_other_tool", + "args": {"param": "value"}, + "id": "call_other", + "type": "tool_call", + }, + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "id": "call_1", + "type": "tool_call", + }, + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 2", "status": "pending"}]}, + "id": "call_2", + "type": "tool_call", + }, + ], + ) + + state: PlanningState = {"messages": [HumanMessage(content="Hello"), ai_message]} + + # Call after_model hook + result = middleware.after_model(state, _fake_runtime()) + + # Should return error messages for write_todos calls only + assert result == { + "messages": [ + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_1", + status="error", + ), + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_2", + status="error", + ), + ] + } + + +def test_single_write_todos_call_allowed() -> None: + """Test that a single write_todos call is allowed.""" + middleware = TodoListMiddleware() + + # Create an AI message with one write_todos tool call + ai_message = AIMessage( + content="I'll update the todos", + tool_calls=[ + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "id": "call_1", + "type": "tool_call", + }, + ], + ) + + state: PlanningState = {"messages": [HumanMessage(content="Hello"), ai_message]} + + # Call after_model hook + result = middleware.after_model(state, _fake_runtime()) + + # Should return None (no intervention needed) + assert result is None + + +async def test_todo_middleware_agent_creation_with_middleware_async() -> None: + """Test async agent execution with the planning middleware.""" + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [ + { + "args": {"todos": [{"content": "Task 1", "status": "in_progress"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [ + { + "args": {"todos": [{"content": "Task 1", "status": "completed"}]}, + "name": "write_todos", + "type": "tool_call", + "id": "test_call", + } + ], + [], + ] + ) + middleware = TodoListMiddleware() + agent = create_agent(model=model, middleware=[middleware]) + + result = await agent.ainvoke({"messages": [HumanMessage("Hello")]}) + assert result["todos"] == [{"content": "Task 1", "status": "completed"}] + assert len(result["messages"]) == 8 + + +async def test_parallel_write_todos_calls_rejected_async() -> None: + """Test async version - parallel write_todos calls are rejected with error messages.""" + middleware = TodoListMiddleware() + + # Create an AI message with two write_todos tool calls + ai_message = AIMessage( + content="I'll update the todos", + tool_calls=[ + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "id": "call_1", + "type": "tool_call", + }, + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 2", "status": "pending"}]}, + "id": "call_2", + "type": "tool_call", + }, + ], + ) + + state: PlanningState = {"messages": [HumanMessage(content="Hello"), ai_message]} + + # Call aafter_model hook + result = await middleware.aafter_model(state, _fake_runtime()) + + # Should return error messages + assert result == { + "messages": [ + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_1", + status="error", + ), + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_2", + status="error", + ), + ] + } + + +async def test_parallel_write_todos_with_other_tools_async() -> None: + """Test async version - parallel write_todos calls are rejected but other tool calls remain.""" + middleware = TodoListMiddleware() + + # Create an AI message with two write_todos calls and one other tool call + ai_message = AIMessage( + content="I'll do multiple things", + tool_calls=[ + { + "name": "some_other_tool", + "args": {"param": "value"}, + "id": "call_other", + "type": "tool_call", + }, + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "id": "call_1", + "type": "tool_call", + }, + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 2", "status": "pending"}]}, + "id": "call_2", + "type": "tool_call", + }, + ], + ) + + state: PlanningState = {"messages": [HumanMessage(content="Hello"), ai_message]} + + # Call aafter_model hook + result = await middleware.aafter_model(state, _fake_runtime()) + + # Should return error messages for write_todos calls only + assert result == { + "messages": [ + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_1", + status="error", + ), + ToolMessage( + content=( + "Error: The `write_todos` tool should never be called multiple times " + "in parallel. Please call it only once per model invocation to update " + "the todo list." + ), + tool_call_id="call_2", + status="error", + ), + ] + } + + +async def test_single_write_todos_call_allowed_async() -> None: + """Test async version - a single write_todos call is allowed.""" + middleware = TodoListMiddleware() + + # Create an AI message with one write_todos tool call + ai_message = AIMessage( + content="I'll update the todos", + tool_calls=[ + { + "name": "write_todos", + "args": {"todos": [{"content": "Task 1", "status": "pending"}]}, + "id": "call_1", + "type": "tool_call", + }, + ], + ) + + state: PlanningState = {"messages": [HumanMessage(content="Hello"), ai_message]} + + # Call aafter_model hook + result = await middleware.aafter_model(state, _fake_runtime()) + + # Should return None (no intervention needed) + assert result is None + + +async def test_handler_called_with_modified_request_async() -> None: + """Test async version - handler receives the modified request.""" + middleware = TodoListMiddleware() + request = _make_request(system_prompt="Original") + handler_called: dict[str, bool] = {"value": False} + received_prompt: dict[str, str | None] = {"value": None} + + async def mock_handler(req: ModelRequest) -> ModelResponse: + handler_called["value"] = True + received_prompt["value"] = req.system_prompt + return ModelResponse(result=[AIMessage(content="response")]) + + await middleware.awrap_model_call(request, mock_handler) + + assert handler_called["value"] + assert received_prompt["value"] is not None + assert "Original" in received_prompt["value"] + assert "write_todos" in received_prompt["value"] diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_call_limit.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_call_limit.py new file mode 100644 index 0000000000000000000000000000000000000000..9050eb6751ebb708e0fb6c17aa46449b4c1eaf23 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_call_limit.py @@ -0,0 +1,819 @@ +"""Unit tests for ToolCallLimitMiddleware.""" + +import pytest +from langchain_core.messages import AIMessage, HumanMessage, ToolCall, ToolMessage +from langchain_core.tools import tool +from langgraph.checkpoint.memory import InMemorySaver + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.tool_call_limit import ( + ExitBehavior, + ToolCallLimitExceededError, + ToolCallLimitMiddleware, + ToolCallLimitState, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + + +def test_middleware_initialization_validation() -> None: + """Test that middleware initialization validates parameters correctly.""" + # Test that at least one limit must be specified + with pytest.raises(ValueError, match="At least one limit must be specified"): + ToolCallLimitMiddleware() + + # Test valid initialization with both limits + middleware = ToolCallLimitMiddleware(thread_limit=5, run_limit=3) + assert middleware.thread_limit == 5 + assert middleware.run_limit == 3 + assert middleware.exit_behavior == "continue" + assert middleware.tool_name is None + + # Test with tool name + middleware = ToolCallLimitMiddleware(tool_name="search", thread_limit=5) + assert middleware.tool_name == "search" + assert middleware.thread_limit == 5 + assert middleware.run_limit is None + + # Test exit behaviors + behaviors: tuple[ExitBehavior, ...] = ("error", "end", "continue") + for behavior in behaviors: + middleware = ToolCallLimitMiddleware(thread_limit=5, exit_behavior=behavior) + assert middleware.exit_behavior == behavior + + # Test invalid exit behavior + with pytest.raises(ValueError, match="Invalid exit_behavior"): + ToolCallLimitMiddleware(thread_limit=5, exit_behavior="invalid") # type: ignore[arg-type] + + # Test run_limit exceeding thread_limit + with pytest.raises( + ValueError, + match=r"run_limit .* cannot exceed thread_limit", + ): + ToolCallLimitMiddleware(thread_limit=3, run_limit=5) + + # Test run_limit equal to thread_limit (should be valid) + middleware = ToolCallLimitMiddleware(thread_limit=5, run_limit=5) + assert middleware.thread_limit == 5 + assert middleware.run_limit == 5 + + # Test run_limit less than thread_limit (should be valid) + middleware = ToolCallLimitMiddleware(thread_limit=5, run_limit=3) + assert middleware.thread_limit == 5 + assert middleware.run_limit == 3 + + +def test_middleware_name_property() -> None: + """Test that the name property includes tool name when specified.""" + # Test without tool name + middleware = ToolCallLimitMiddleware(thread_limit=5) + assert middleware.name == "ToolCallLimitMiddleware" + + # Test with tool name + middleware = ToolCallLimitMiddleware(tool_name="search", thread_limit=5) + assert middleware.name == "ToolCallLimitMiddleware[search]" + + # Test multiple instances with different tool names have unique names + middleware1 = ToolCallLimitMiddleware(tool_name="search", thread_limit=5) + middleware2 = ToolCallLimitMiddleware(tool_name="calculator", thread_limit=3) + assert middleware1.name != middleware2.name + assert middleware1.name == "ToolCallLimitMiddleware[search]" + assert middleware2.name == "ToolCallLimitMiddleware[calculator]" + + +def test_middleware_unit_functionality() -> None: + """Test that the middleware works as expected in isolation. + + Tests basic count tracking, thread limit, run limit, and limit-not-exceeded cases. + """ + middleware = ToolCallLimitMiddleware(thread_limit=3, run_limit=2, exit_behavior="end") + runtime = None + + # Test when limits are not exceeded - counts should increment normally + state = ToolCallLimitState( + messages=[ + HumanMessage("Question"), + AIMessage("Response", tool_calls=[{"name": "search", "args": {}, "id": "1"}]), + ], + thread_tool_call_count={}, + run_tool_call_count={}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + assert result["thread_tool_call_count"] == {"__all__": 1} + assert result["run_tool_call_count"] == {"__all__": 1} + assert "jump_to" not in result + + # Test thread limit exceeded (start at thread_limit so next call will exceed) + state = ToolCallLimitState( + messages=[ + HumanMessage("Question 2"), + AIMessage("Response 2", tool_calls=[{"name": "search", "args": {}, "id": "3"}]), + ], + thread_tool_call_count={"__all__": 3}, # Already exceeds thread_limit=3 + run_tool_call_count={"__all__": 0}, # No calls yet + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + assert result["jump_to"] == "end" + # Check the ToolMessage (sent to model - no thread/run details) + tool_msg = result["messages"][0] + assert isinstance(tool_msg, ToolMessage) + assert tool_msg.status == "error" + assert "Tool call limit exceeded" in tool_msg.content + # Should include "Do not" instruction + assert "Do not" in tool_msg.content, ( + "Tool message should include 'Do not' instruction when limit exceeded" + ) + # Check the final AI message (displayed to user - includes thread/run details) + final_ai_msg = result["messages"][-1] + assert isinstance(final_ai_msg, AIMessage) + assert isinstance(final_ai_msg.content, str) + assert "limit" in final_ai_msg.content.lower() + assert "thread limit exceeded" in final_ai_msg.content.lower() + # Thread count stays at 3 (blocked call not counted) + assert result["thread_tool_call_count"] == {"__all__": 3} + # Run count goes to 1 (includes blocked call) + assert result["run_tool_call_count"] == {"__all__": 1} + + # Test run limit exceeded (thread count must be >= run count) + state = ToolCallLimitState( + messages=[ + HumanMessage("Question"), + AIMessage("Response", tool_calls=[{"name": "search", "args": {}, "id": "1"}]), + ], + thread_tool_call_count={"__all__": 2}, + run_tool_call_count={"__all__": 2}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + assert result["jump_to"] == "end" + # Check the final AI message includes run limit details + final_ai_msg = result["messages"][-1] + assert "run limit exceeded" in final_ai_msg.content + assert "3/2 calls" in final_ai_msg.content + # Check the tool message (sent to model) - should always include "Do not" instruction + tool_msg = result["messages"][0] + assert isinstance(tool_msg, ToolMessage) + assert "Tool call limit exceeded" in tool_msg.content + assert "Do not" in tool_msg.content, ( + "Tool message should include 'Do not' instruction for both run and thread limits" + ) + + +def test_middleware_end_behavior_with_unrelated_parallel_tool_calls() -> None: + """Test middleware 'end' behavior with unrelated parallel tool calls. + + Test that 'end' behavior raises NotImplementedError when there are parallel calls + to unrelated tools. + + When limiting a specific tool with "end" behavior and the model proposes parallel calls + to BOTH the limited tool AND other tools, we can't handle this scenario (we'd be stopping + execution while other tools should run). + """ + # Limit search tool specifically + middleware = ToolCallLimitMiddleware(tool_name="search", thread_limit=1, exit_behavior="end") + runtime = None + + # Test with search + calculator calls when search exceeds limit + state = ToolCallLimitState( + messages=[ + AIMessage( + "Response", + tool_calls=[ + {"name": "search", "args": {}, "id": "1"}, + {"name": "calculator", "args": {}, "id": "2"}, + ], + ), + ], + thread_tool_call_count={"search": 1}, + run_tool_call_count={"search": 1}, + ) + + with pytest.raises( + NotImplementedError, match="Cannot end execution with other tool calls pending" + ): + middleware.after_model(state, runtime) # type: ignore[arg-type] + + +def test_middleware_with_specific_tool() -> None: + """Test middleware that limits a specific tool while ignoring others.""" + middleware = ToolCallLimitMiddleware( + tool_name="search", thread_limit=2, run_limit=1, exit_behavior="end" + ) + runtime = None + + # Test search tool exceeding run limit + state = ToolCallLimitState( + messages=[ + AIMessage("Response 2", tool_calls=[{"name": "search", "args": {}, "id": "3"}]), + ], + thread_tool_call_count={"search": 1}, + run_tool_call_count={"search": 1}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + assert result["jump_to"] == "end" + assert "search" in result["messages"][0].content.lower() + + # Test calculator tool - should be ignored by search-specific middleware + state = ToolCallLimitState( + messages=[ + AIMessage("Response", tool_calls=[{"name": "calculator", "args": {}, "id": "1"}] * 10), + ], + thread_tool_call_count={}, + run_tool_call_count={}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is None, "Calculator calls shouldn't be counted by search-specific middleware" + + +def test_middleware_error_behavior() -> None: + """Test middleware error behavior. + + Test that middleware raises ToolCallLimitExceededError when configured with + exit_behavior='error'. + """ + middleware = ToolCallLimitMiddleware(thread_limit=2, exit_behavior="error") + runtime = None + + state = ToolCallLimitState( + messages=[AIMessage("Response", tool_calls=[{"name": "search", "args": {}, "id": "1"}])], + thread_tool_call_count={"__all__": 2}, + run_tool_call_count={"__all__": 2}, + ) + + with pytest.raises(ToolCallLimitExceededError) as exc_info: + middleware.after_model(state, runtime) # type: ignore[arg-type] + + error = exc_info.value + # Thread count in error message shows hypothetical count (what it would have been) + assert error.thread_count == 3 + assert error.thread_limit == 2 + # Run count includes the blocked call + assert error.run_count == 3 + assert error.tool_name is None + + +def test_multiple_middleware_instances() -> None: + """Test that multiple middleware instances can coexist and track independently.""" + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Results for {query}" + + @tool + def calculator(expression: str) -> str: + """Calculate an expression.""" + return f"Result: {expression}" + + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="search", args={"query": "test"}, id="1"), + ToolCall(name="calculator", args={"expression": "1+1"}, id="2"), + ], + [ + ToolCall(name="search", args={"query": "test2"}, id="3"), + ToolCall(name="calculator", args={"expression": "2+2"}, id="4"), + ], + [ + ToolCall(name="search", args={"query": "test3"}, id="5"), + ], + [], + ] + ) + + # Create two middleware instances - one for each tool + search_limiter = ToolCallLimitMiddleware( + tool_name="search", thread_limit=2, exit_behavior="end" + ) + calc_limiter = ToolCallLimitMiddleware( + tool_name="calculator", thread_limit=2, exit_behavior="end" + ) + + agent = create_agent( + model=model, + tools=[search, calculator], + middleware=[search_limiter, calc_limiter], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Question")]}, + {"configurable": {"thread_id": "test_thread"}}, + ) + + # The agent should stop after the second iteration + # because search will hit its limit (3 calls > 2 limit) + ai_limit_messages = [] + for msg in result["messages"]: + if not isinstance(msg, AIMessage): + continue + assert isinstance(msg.content, str) + if "limit" in msg.content.lower(): + ai_limit_messages.append(msg) + assert len(ai_limit_messages) > 0, "Should have AI message explaining limit was exceeded" + + +def test_run_limit_with_multiple_human_messages() -> None: + """Test that run limits reset between invocations. + + Verifies that when using run_limit, the count resets for each new user message, + allowing execution to continue across multiple invocations in the same thread. + """ + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Results for {query}" + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "test1"}, id="1")], + [ToolCall(name="search", args={"query": "test2"}, id="2")], + [], + ] + ) + + middleware = ToolCallLimitMiddleware(run_limit=1, exit_behavior="end") + agent = create_agent( + model=model, tools=[search], middleware=[middleware], checkpointer=InMemorySaver() + ) + + # First invocation: test1 executes successfully, test2 exceeds limit + result1 = agent.invoke( + {"messages": [HumanMessage("Question 1")]}, + {"configurable": {"thread_id": "test_thread"}}, + ) + tool_messages = [msg for msg in result1["messages"] if isinstance(msg, ToolMessage)] + successful_tool_msgs = [msg for msg in tool_messages if msg.status != "error"] + error_tool_msgs = [msg for msg in tool_messages if msg.status == "error"] + ai_limit_msgs = [] + for msg in result1["messages"]: + if not isinstance(msg, AIMessage): + continue + assert isinstance(msg.content, str) + if "limit" in msg.content.lower() and not msg.tool_calls: + ai_limit_msgs.append(msg) + + assert len(successful_tool_msgs) == 1, "Should have 1 successful tool execution (test1)" + assert len(error_tool_msgs) == 1, "Should have 1 artificial error ToolMessage (test2)" + assert len(ai_limit_msgs) == 1, "Should have AI limit message after test2 proposed" + + # Second invocation: run limit should reset, allowing continued execution + result2 = agent.invoke( + {"messages": [HumanMessage("Question 2")]}, + {"configurable": {"thread_id": "test_thread"}}, + ) + + assert len(result2["messages"]) > len(result1["messages"]), ( + "Second invocation should add new messages, proving run limit reset" + ) + + +def test_exception_error_messages() -> None: + """Test that error messages include expected information.""" + # Test for specific tool + with pytest.raises(ToolCallLimitExceededError) as exc_info: + raise ToolCallLimitExceededError( + thread_count=5, run_count=3, thread_limit=4, run_limit=2, tool_name="search" + ) + msg = str(exc_info.value) + assert "search" in msg.lower() + assert "5/4" in msg or "thread" in msg.lower() + + # Test for all tools + with pytest.raises(ToolCallLimitExceededError) as exc_info: + raise ToolCallLimitExceededError( + thread_count=10, run_count=5, thread_limit=8, run_limit=None, tool_name=None + ) + msg = str(exc_info.value) + assert "10/8" in msg or "thread" in msg.lower() + + +def test_limit_reached_but_not_exceeded() -> None: + """Test that limits are only triggered when exceeded (>), not when reached (==).""" + middleware = ToolCallLimitMiddleware(thread_limit=3, run_limit=2, exit_behavior="end") + runtime = None + + # Test when limit is reached exactly (count = limit) - should not trigger + state = ToolCallLimitState( + messages=[AIMessage("Response", tool_calls=[{"name": "search", "args": {}, "id": "1"}])], + thread_tool_call_count={"__all__": 2}, # After +1 will be exactly 3 + run_tool_call_count={"__all__": 1}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + assert "jump_to" not in result + assert result["thread_tool_call_count"]["__all__"] == 3 + + # Test when limit is exceeded (count > limit) - should trigger + state = ToolCallLimitState( + messages=[AIMessage("Response", tool_calls=[{"name": "search", "args": {}, "id": "1"}])], + thread_tool_call_count={"__all__": 3}, # After +1 will be 4 > 3 + run_tool_call_count={"__all__": 1}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + assert "jump_to" in result + assert result["jump_to"] == "end" + + +def test_exit_behavior_continue() -> None: + """Test that exit_behavior='continue' blocks only the exceeded tool, not others. + + Verifies that when a specific tool hits its limit, it gets blocked with error messages + while other tools continue to execute normally. + """ + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Search: {query}" + + @tool + def calculator(expression: str) -> str: + """Calculate an expression.""" + return f"Calc: {expression}" + + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="search", args={"query": "q1"}, id="1"), + ToolCall(name="calculator", args={"expression": "1+1"}, id="2"), + ], + [ + ToolCall(name="search", args={"query": "q2"}, id="3"), + ToolCall(name="calculator", args={"expression": "2+2"}, id="4"), + ], + [ + ToolCall(name="search", args={"query": "q3"}, id="5"), # Should be blocked + ToolCall(name="calculator", args={"expression": "3+3"}, id="6"), # Should work + ], + [], + ] + ) + + # Limit search to 2 calls, but allow other tools to continue + search_limiter = ToolCallLimitMiddleware( + tool_name="search", thread_limit=2, exit_behavior="continue" + ) + + agent = create_agent( + model=model, + tools=[search, calculator], + middleware=[search_limiter], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Question")]}, + {"configurable": {"thread_id": "test_thread"}}, + ) + + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + + # Verify search has 2 successful + 1 blocked, calculator has all 3 successful + successful_search_msgs = [msg for msg in tool_messages if "Search:" in msg.content] + blocked_search_msgs = [] + for msg in tool_messages: + assert isinstance(msg.content, str) + if "limit" in msg.content.lower() and "search" in msg.content.lower(): + blocked_search_msgs.append(msg) + successful_calc_msgs = [msg for msg in tool_messages if "Calc:" in msg.content] + + assert len(successful_search_msgs) == 2, "Should have 2 successful search calls" + assert len(blocked_search_msgs) == 1, "Should have 1 blocked search call with limit error" + assert len(successful_calc_msgs) == 3, "All calculator calls should succeed" + + +def test_thread_count_excludes_blocked_run_calls() -> None: + """Test that thread count only includes allowed calls, not blocked run-scoped calls. + + When run_limit is lower than thread_limit and multiple parallel calls are made, + only the allowed calls should increment the thread count. + + Example: If run_limit=1 and 3 parallel calls are made, thread count should be 1 + (not 3) because the other 2 were blocked by the run limit. + """ + # Set run_limit=1, thread_limit=10 (much higher) + middleware = ToolCallLimitMiddleware(thread_limit=10, run_limit=1, exit_behavior="continue") + runtime = None + + # Make 3 parallel tool calls - only 1 should be allowed by run_limit + state = ToolCallLimitState( + messages=[ + AIMessage( + "Response", + tool_calls=[ + {"name": "search", "args": {}, "id": "1"}, + {"name": "search", "args": {}, "id": "2"}, + {"name": "search", "args": {}, "id": "3"}, + ], + ) + ], + thread_tool_call_count={}, + run_tool_call_count={}, + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + + # Thread count should be 1 (only the allowed call) + assert result["thread_tool_call_count"]["__all__"] == 1, ( + "Thread count should only include the 1 allowed call, not the 2 blocked calls" + ) + # Run count should be 3 (all attempted calls) + assert result["run_tool_call_count"]["__all__"] == 3, ( + "Run count should include all 3 attempted calls" + ) + + # Verify 2 error messages were created for blocked calls + assert "messages" in result + error_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(error_messages) == 2, "Should have 2 error messages for the 2 blocked calls" + + +def test_unified_error_messages() -> None: + """Test that error messages instruct model not to call again for both run and thread limits. + + Previously, only thread limit messages included 'Do not' instruction. + Now both run and thread limit messages should include it. + """ + middleware = ToolCallLimitMiddleware(thread_limit=10, run_limit=1, exit_behavior="continue") + runtime = None + + # Test with run limit exceeded (thread limit not exceeded) + state = ToolCallLimitState( + messages=[AIMessage("Response", tool_calls=[{"name": "search", "args": {}, "id": "2"}])], + thread_tool_call_count={"__all__": 1}, # Under thread limit + run_tool_call_count={"__all__": 1}, # At run limit, next call will exceed + ) + result = middleware.after_model(state, runtime) # type: ignore[arg-type] + assert result is not None + + # Check the error message includes "Do not" instruction + error_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(error_messages) == 1 + error_content = error_messages[0].content + assert "Do not" in error_content, ( + "Run limit error message should include 'Do not' instruction to guide model behavior" + ) + + +def test_end_behavior_creates_artificial_messages() -> None: + """Test that 'end' behavior creates an AI message explaining why execution stopped. + + Verifies that when limit is exceeded with exit_behavior='end', the middleware: + 1. Injects an artificial error ToolMessage for the blocked tool call + 2. Adds an AI message explaining the limit to the user + 3. Jumps to end, stopping execution + """ + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Results: {query}" + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="search", args={"query": "q1"}, id="1")], + [ToolCall(name="search", args={"query": "q2"}, id="2")], + [ToolCall(name="search", args={"query": "q3"}, id="3")], # Exceeds limit + [], + ] + ) + + limiter = ToolCallLimitMiddleware(thread_limit=2, exit_behavior="end") + agent = create_agent( + model=model, tools=[search], middleware=[limiter], checkpointer=InMemorySaver() + ) + + result = agent.invoke( + {"messages": [HumanMessage("Test")]}, {"configurable": {"thread_id": "test"}} + ) + + # Verify AI message explaining the limit (displayed to user - includes thread/run details) + ai_limit_messages = [] + for msg in result["messages"]: + if not isinstance(msg, AIMessage): + continue + assert isinstance(msg.content, str) + if "limit" in msg.content.lower() and not msg.tool_calls: + ai_limit_messages.append(msg) + assert len(ai_limit_messages) == 1, "Should have exactly one AI message explaining the limit" + + ai_msg_content = ai_limit_messages[0].content + assert isinstance(ai_msg_content, str) + assert "thread limit exceeded" in ai_msg_content.lower() or ( + "run limit exceeded" in ai_msg_content.lower() + ), "AI message should include thread/run limit details for the user" + + # Verify tool message counts + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + successful_tool_msgs = [msg for msg in tool_messages if msg.status != "error"] + error_tool_msgs = [msg for msg in tool_messages if msg.status == "error"] + + assert len(successful_tool_msgs) == 2, "Should have 2 successful tool messages (q1, q2)" + assert len(error_tool_msgs) == 1, "Should have 1 artificial error tool message (q3)" + + # Verify the error tool message (sent to model - no thread/run details, includes instruction) + error_msg_content = error_tool_msgs[0].content + assert "Tool call limit exceeded" in error_msg_content + assert "Do not" in error_msg_content, ( + "Tool message should instruct model not to call tool again" + ) + + +def test_parallel_tool_calls_with_limit_continue_mode() -> None: + """Test parallel tool calls with a limit of 1 in 'continue' mode. + + When the model proposes 3 tool calls with a limit of 1: + - The first call should execute successfully + - The 2nd and 3rd calls should be blocked with error ToolMessages + - Execution should continue (no jump_to) + """ + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Results: {query}" + + # Model proposes 3 parallel search calls in a single AIMessage + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="search", args={"query": "q1"}, id="1"), + ToolCall(name="search", args={"query": "q2"}, id="2"), + ToolCall(name="search", args={"query": "q3"}, id="3"), + ], + [], # Model stops after seeing the errors + ] + ) + + limiter = ToolCallLimitMiddleware(thread_limit=1, exit_behavior="continue") + agent = create_agent( + model=model, tools=[search], middleware=[limiter], checkpointer=InMemorySaver() + ) + + result = agent.invoke( + {"messages": [HumanMessage("Test")]}, {"configurable": {"thread_id": "test"}} + ) + messages = result["messages"] + + # Verify tool message counts + tool_messages = [msg for msg in messages if isinstance(msg, ToolMessage)] + successful_tool_messages = [msg for msg in tool_messages if msg.status != "error"] + error_tool_messages = [msg for msg in tool_messages if msg.status == "error"] + + assert len(successful_tool_messages) == 1, "Should have 1 successful tool message (q1)" + assert len(error_tool_messages) == 2, "Should have 2 blocked tool messages (q2, q3)" + + # Verify the successful call is q1 + assert "q1" in successful_tool_messages[0].content + + # Verify error messages explain the limit + for error_msg in error_tool_messages: + assert isinstance(error_msg.content, str) + assert "limit" in error_msg.content.lower() + + # Verify execution continued (no early termination) + ai_messages = [msg for msg in messages if isinstance(msg, AIMessage)] + # Should have: initial AI message with 3 tool calls, then final AI message (no tool calls) + assert len(ai_messages) >= 2 + + +def test_parallel_tool_calls_with_limit_end_mode() -> None: + """Test parallel tool calls with a limit of 1 in 'end' mode. + + When the model proposes 3 tool calls with a limit of 1: + - The first call would be allowed (within limit) + - The 2nd and 3rd calls exceed the limit and get blocked with error ToolMessages + - Execution stops immediately (jump_to: end) so NO tools actually execute + - An AI message explains why execution stopped + """ + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Results: {query}" + + # Model proposes 3 parallel search calls + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="search", args={"query": "q1"}, id="1"), + ToolCall(name="search", args={"query": "q2"}, id="2"), + ToolCall(name="search", args={"query": "q3"}, id="3"), + ], + [], + ] + ) + + limiter = ToolCallLimitMiddleware(thread_limit=1, exit_behavior="end") + agent = create_agent( + model=model, tools=[search], middleware=[limiter], checkpointer=InMemorySaver() + ) + + result = agent.invoke( + {"messages": [HumanMessage("Test")]}, {"configurable": {"thread_id": "test"}} + ) + messages = result["messages"] + + # Verify tool message counts + # With "end" behavior, when we jump to end, NO tools execute (not even allowed ones) + # We only get error ToolMessages for the 2 blocked calls + tool_messages = [msg for msg in messages if isinstance(msg, ToolMessage)] + successful_tool_messages = [msg for msg in tool_messages if msg.status != "error"] + error_tool_messages = [msg for msg in tool_messages if msg.status == "error"] + + assert len(successful_tool_messages) == 0, "No tools execute when we jump to end" + assert len(error_tool_messages) == 2, "Should have 2 blocked tool messages (q2, q3)" + + # Verify error tool messages (sent to model - include "Do not" instruction) + for error_msg in error_tool_messages: + assert "Tool call limit exceeded" in error_msg.content + assert "Do not" in error_msg.content + + # Verify AI message explaining why execution stopped + # (displayed to user - includes thread/run details) + ai_limit_messages = [] + for msg in messages: + if not isinstance(msg, AIMessage): + continue + assert isinstance(msg.content, str) + if "limit" in msg.content.lower() and not msg.tool_calls: + ai_limit_messages.append(msg) + assert len(ai_limit_messages) == 1, "Should have exactly one AI message explaining the limit" + + ai_msg_content = ai_limit_messages[0].content + assert isinstance(ai_msg_content, str) + assert "thread limit exceeded" in ai_msg_content.lower() or ( + "run limit exceeded" in ai_msg_content.lower() + ), "AI message should include thread/run limit details for the user" + + +def test_parallel_mixed_tool_calls_with_specific_tool_limit() -> None: + """Test parallel calls to different tools when limiting a specific tool. + + When limiting 'search' to 1 call, and model proposes 3 search + 2 calculator calls: + - First search call should execute + - Other 2 search calls should be blocked + - All calculator calls should execute (not limited) + """ + + @tool + def search(query: str) -> str: + """Search for information.""" + return f"Search: {query}" + + @tool + def calculator(expression: str) -> str: + """Calculate an expression.""" + return f"Calc: {expression}" + + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="search", args={"query": "q1"}, id="1"), + ToolCall(name="calculator", args={"expression": "1+1"}, id="2"), + ToolCall(name="search", args={"query": "q2"}, id="3"), + ToolCall(name="calculator", args={"expression": "2+2"}, id="4"), + ToolCall(name="search", args={"query": "q3"}, id="5"), + ], + [], + ] + ) + + search_limiter = ToolCallLimitMiddleware( + tool_name="search", thread_limit=1, exit_behavior="continue" + ) + agent = create_agent( + model=model, + tools=[search, calculator], + middleware=[search_limiter], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Test")]}, {"configurable": {"thread_id": "test"}} + ) + messages = result["messages"] + + search_success = [] + search_blocked = [] + calc_success = [] + for m in messages: + if not isinstance(m, ToolMessage): + continue + assert isinstance(m.content, str) + if "Search:" in m.content: + search_success.append(m) + if "limit" in m.content.lower() and "search" in m.content.lower(): + search_blocked.append(m) + if "Calc:" in m.content: + calc_success.append(m) + + assert len(search_success) == 1, "Should have 1 successful search call" + assert len(search_blocked) == 2, "Should have 2 blocked search calls" + assert len(calc_success) == 2, "All calculator calls should succeed (not limited)" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py new file mode 100644 index 0000000000000000000000000000000000000000..5f434c63b5cfc5fa9dda60a0968de37484f11cc0 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py @@ -0,0 +1,627 @@ +"""Unit tests for tool emulator middleware.""" + +from collections.abc import Callable, Sequence +from itertools import cycle +from typing import Any, Literal + +from langchain_core.language_models import LanguageModelInput +from langchain_core.language_models.chat_models import BaseChatModel +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import BaseMessage, HumanMessage +from langchain_core.outputs import ChatGeneration, ChatResult +from langchain_core.runnables import Runnable +from langchain_core.tools import BaseTool, tool +from pydantic import BaseModel +from typing_extensions import override + +from langchain.agents import create_agent +from langchain.agents.middleware import LLMToolEmulator +from langchain.messages import AIMessage + + +@tool +def get_weather(location: str) -> str: + """Get current weather for a location.""" + msg = "This tool should be emulated" + raise NotImplementedError(msg) + + +@tool +def search_web(query: str) -> str: + """Search the web for information.""" + msg = "This tool should be emulated" + raise NotImplementedError(msg) + + +@tool +def calculator(expression: str) -> str: + """Perform mathematical calculations.""" + # This tool executes normally (not emulated) + return f"Result: {eval(expression)}" # noqa: S307 + + +class FakeModel(GenericFakeChatModel): + """Fake model that supports bind_tools.""" + + tool_style: Literal["openai", "anthropic"] = "openai" + + @override + def bind_tools( + self, + tools: Sequence[dict[str, Any] | type[BaseModel] | Callable[..., Any] | BaseTool], + **_kwargs: Any, + ) -> Runnable[LanguageModelInput, AIMessage]: + if len(tools) == 0: + msg = "Must provide at least one tool" + raise ValueError(msg) + + tool_dicts = [] + for tool_ in tools: + if isinstance(tool_, dict): + tool_dicts.append(tool_) + continue + if not isinstance(tool_, BaseTool): + msg = "Only BaseTool and dict is supported by FakeModel.bind_tools" + raise TypeError(msg) + + # NOTE: this is a simplified tool spec for testing purposes only + if self.tool_style == "openai": + tool_dicts.append( + { + "type": "function", + "function": { + "name": tool_.name, + }, + } + ) + elif self.tool_style == "anthropic": + tool_dicts.append( + { + "name": tool_.name, + } + ) + + return self.bind(tools=tool_dicts) + + +class FakeEmulatorModel(BaseChatModel): + """Fake model for emulating tool responses.""" + + responses: Sequence[str] = ("Emulated response",) + response_index: int = 0 + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: Any = None, + **kwargs: Any, + ) -> Any: + response = self.responses[self.response_index % len(self.responses)] + self.response_index += 1 + return ChatResult(generations=[ChatGeneration(message=AIMessage(content=response))]) + + @override + async def _agenerate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: Any = None, + **kwargs: Any, + ) -> Any: + response = self.responses[self.response_index % len(self.responses)] + self.response_index += 1 + return ChatResult(generations=[ChatGeneration(message=AIMessage(content=response))]) + + @property + def _llm_type(self) -> str: + return "fake_emulator" + + +class TestLLMToolEmulatorBasic: + """Test basic tool emulator functionality.""" + + def test_emulates_specified_tool_by_name(self) -> None: + """Test that tools specified by name are emulated.""" + # Model that will call the tool + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "Paris"}} + ], + ), + AIMessage(content="The weather has been retrieved."), + ] + ) + ) + + # Model that emulates tool responses + emulator_model = FakeEmulatorModel(responses=["Emulated: 72°F, sunny in Paris"]) + + emulator = LLMToolEmulator(tools=["get_weather"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, calculator], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("What's the weather in Paris?")]}) + + # Should complete without raising NotImplementedError + assert isinstance(result["messages"][-1], AIMessage) + + def test_emulates_specified_tool_by_instance(self) -> None: + """Test that tools specified by BaseTool instance are emulated.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[{"name": "search_web", "id": "1", "args": {"query": "Python"}}], + ), + AIMessage(content="Search results retrieved."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: Python is a programming language"]) + + emulator = LLMToolEmulator(tools=[search_web], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[search_web, calculator], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("Search for Python")]}) + + assert isinstance(result["messages"][-1], AIMessage) + + def test_non_emulated_tools_execute_normally(self) -> None: + """Test that tools not in tools_to_emulate execute normally.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "calculator", "id": "1", "args": {"expression": "2+2"}} + ], + ), + AIMessage(content="The calculation is complete."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Should not be used"]) + + # Only emulate get_weather, not calculator + emulator = LLMToolEmulator(tools=["get_weather"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, calculator], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("Calculate 2+2")]}) + + # Calculator should execute normally and return Result: 4 + tool_messages = [ + msg for msg in result["messages"] if hasattr(msg, "name") and msg.name == "calculator" + ] + assert len(tool_messages) > 0 + assert "Result: 4" in tool_messages[0].content + + def test_empty_tools_to_emulate_does_nothing(self) -> None: + """Test that empty tools_to_emulate list means no emulation occurs.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "calculator", "id": "1", "args": {"expression": "5*5"}} + ], + ), + AIMessage(content="Done."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Should not be used"]) + + emulator = LLMToolEmulator(tools=[], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[calculator], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("Calculate 5*5")]}) + + # Calculator should execute normally + tool_messages = [ + msg for msg in result["messages"] if hasattr(msg, "name") and msg.name == "calculator" + ] + assert len(tool_messages) > 0 + assert "Result: 25" in tool_messages[0].content + + def test_none_tools_emulates_all(self) -> None: + """Test that None tools means ALL tools are emulated (emulate_all behavior).""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "NYC"}} + ], + ), + AIMessage(content="Done."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: 65°F in NYC"]) + + # tools=None means emulate ALL tools + emulator = LLMToolEmulator(tools=None, model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("What's the weather in NYC?")]}) + + # Should complete without raising NotImplementedError + # (get_weather would normally raise NotImplementedError) + assert isinstance(result["messages"][-1], AIMessage) + + +class TestLLMToolEmulatorMultipleTools: + """Test emulating multiple tools.""" + + def test_emulate_multiple_tools(self) -> None: + """Test that multiple tools can be emulated.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "Paris"}}, + {"name": "search_web", "id": "2", "args": {"query": "Paris"}}, + ], + ), + AIMessage(content="Both tools executed."), + ] + ) + ) + + emulator_model = FakeEmulatorModel( + responses=["Emulated weather: 20°C", "Emulated search results for Paris"] + ) + + emulator = LLMToolEmulator(tools=["get_weather", "search_web"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, search_web, calculator], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("Get weather and search for Paris")]}) + + # Both tools should be emulated without raising NotImplementedError + assert isinstance(result["messages"][-1], AIMessage) + + def test_mixed_emulated_and_real_tools(self) -> None: + """Test that some tools can be emulated while others execute normally.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "NYC"}}, + {"name": "calculator", "id": "2", "args": {"expression": "10*2"}}, + ], + ), + AIMessage(content="Both completed."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: 65°F in NYC"]) + + # Only emulate get_weather + emulator = LLMToolEmulator(tools=["get_weather"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, calculator], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("Weather and calculate")]}) + + tool_messages = [msg for msg in result["messages"] if hasattr(msg, "name")] + assert len(tool_messages) >= 2 + + # Calculator should have real result + calc_messages = [msg for msg in tool_messages if msg.name == "calculator"] + assert len(calc_messages) > 0 + assert "Result: 20" in calc_messages[0].content + + +class TestLLMToolEmulatorModelConfiguration: + """Test custom model configuration for emulation.""" + + def test_custom_model_string(self) -> None: + """Test passing a model string for emulation.""" + # Just test that initialization works - don't require anthropic package + try: + emulator = LLMToolEmulator( + tools=["get_weather"], model="anthropic:claude-sonnet-4-5-20250929" + ) + assert emulator.model is not None + assert "get_weather" in emulator.tools_to_emulate + except ImportError: + # If anthropic isn't installed, that's fine for this unit test + pass + + def test_custom_model_instance(self) -> None: + """Test passing a BaseChatModel instance for emulation.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[{"name": "search_web", "id": "1", "args": {"query": "test"}}], + ), + AIMessage(content="Done."), + ] + ) + ) + + custom_emulator_model = FakeEmulatorModel(responses=["Custom emulated response"]) + + emulator = LLMToolEmulator(tools=["search_web"], model=custom_emulator_model) + + agent = create_agent( + model=agent_model, + tools=[search_web], + middleware=[emulator], + ) + + result = agent.invoke({"messages": [HumanMessage("Search for test")]}) + + # Should use the custom model for emulation + assert isinstance(result["messages"][-1], AIMessage) + + def test_default_model_used_when_none(self) -> None: + """Test that default model is used when model=None.""" + # Just test that initialization doesn't fail - don't require anthropic package + # The actual default model requires langchain_anthropic which may not be installed + try: + emulator = LLMToolEmulator(tools=["get_weather"], model=None) + assert emulator.model is not None + except ImportError: + # If anthropic isn't installed, that's fine for this unit test + # The integration tests will verify the full functionality + pass + + +class TestLLMToolEmulatorAsync: + """Test async tool emulator functionality.""" + + async def test_async_emulates_specified_tool_by_name(self) -> None: + """Test that tools specified by name are emulated in async mode.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "Paris"}} + ], + ), + AIMessage(content="The weather has been retrieved."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: 72°F, sunny in Paris"]) + + emulator = LLMToolEmulator(tools=["get_weather"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, calculator], + middleware=[emulator], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("What's the weather in Paris?")]}) + + # Should complete without raising NotImplementedError + assert isinstance(result["messages"][-1], AIMessage) + + async def test_async_emulates_specified_tool_by_instance(self) -> None: + """Test that tools specified by BaseTool instance are emulated in async mode.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[{"name": "search_web", "id": "1", "args": {"query": "Python"}}], + ), + AIMessage(content="Search results retrieved."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: Python is a programming language"]) + + emulator = LLMToolEmulator(tools=[search_web], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[search_web, calculator], + middleware=[emulator], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Search for Python")]}) + + assert isinstance(result["messages"][-1], AIMessage) + + async def test_async_non_emulated_tools_execute_normally(self) -> None: + """Test that tools not in tools_to_emulate execute normally in async mode.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "calculator", "id": "1", "args": {"expression": "2+2"}} + ], + ), + AIMessage(content="The calculation is complete."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Should not be used"]) + + # Only emulate get_weather, not calculator + emulator = LLMToolEmulator(tools=["get_weather"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, calculator], + middleware=[emulator], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Calculate 2+2")]}) + + # Calculator should execute normally and return Result: 4 + tool_messages = [ + msg for msg in result["messages"] if hasattr(msg, "name") and msg.name == "calculator" + ] + assert len(tool_messages) > 0 + assert "Result: 4" in tool_messages[0].content + + async def test_async_none_tools_emulates_all(self) -> None: + """Test that None tools means ALL tools are emulated in async mode.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "NYC"}} + ], + ), + AIMessage(content="Done."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: 65°F in NYC"]) + + # tools=None means emulate ALL tools + emulator = LLMToolEmulator(tools=None, model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather], + middleware=[emulator], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("What's the weather in NYC?")]}) + + # Should complete without raising NotImplementedError + assert isinstance(result["messages"][-1], AIMessage) + + async def test_async_emulate_multiple_tools(self) -> None: + """Test that multiple tools can be emulated in async mode.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "Paris"}}, + {"name": "search_web", "id": "2", "args": {"query": "Paris"}}, + ], + ), + AIMessage(content="Both tools executed."), + ] + ) + ) + + emulator_model = FakeEmulatorModel( + responses=["Emulated weather: 20°C", "Emulated search results for Paris"] + ) + + emulator = LLMToolEmulator(tools=["get_weather", "search_web"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, search_web, calculator], + middleware=[emulator], + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Get weather and search for Paris")]} + ) + + # Both tools should be emulated without raising NotImplementedError + assert isinstance(result["messages"][-1], AIMessage) + + async def test_async_mixed_emulated_and_real_tools(self) -> None: + """Test that some tools can be emulated while others execute normally in async mode.""" + agent_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "1", "args": {"location": "NYC"}}, + {"name": "calculator", "id": "2", "args": {"expression": "10*2"}}, + ], + ), + AIMessage(content="Both completed."), + ] + ) + ) + + emulator_model = FakeEmulatorModel(responses=["Emulated: 65°F in NYC"]) + + # Only emulate get_weather + emulator = LLMToolEmulator(tools=["get_weather"], model=emulator_model) + + agent = create_agent( + model=agent_model, + tools=[get_weather, calculator], + middleware=[emulator], + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Weather and calculate")]}) + + tool_messages = [msg for msg in result["messages"] if hasattr(msg, "name")] + assert len(tool_messages) >= 2 + + # Calculator should have real result + calc_messages = [msg for msg in tool_messages if msg.name == "calculator"] + assert len(calc_messages) > 0 + assert "Result: 20" in calc_messages[0].content diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_retry.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_retry.py new file mode 100644 index 0000000000000000000000000000000000000000..3f3744a0243bb5d0ea6ed2f7946a462c353fefc1 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_retry.py @@ -0,0 +1,1012 @@ +"""Tests for ToolRetryMiddleware functionality.""" + +import time +from collections.abc import Callable +from typing import Any + +import pytest +from langchain_core.messages import HumanMessage, ToolCall, ToolMessage +from langchain_core.tools import tool +from langgraph.checkpoint.memory import InMemorySaver +from langgraph.prebuilt.tool_node import ToolCallRequest +from langgraph.types import Command + +from langchain.agents.factory import create_agent +from langchain.agents.middleware._retry import calculate_delay +from langchain.agents.middleware.tool_retry import ToolRetryMiddleware +from langchain.agents.middleware.types import wrap_tool_call +from tests.unit_tests.agents.model import FakeToolCallingModel + + +@tool +def working_tool(value: str) -> str: + """Tool that always succeeds.""" + return f"Success: {value}" + + +@tool +def failing_tool(value: str) -> str: + """Tool that always fails.""" + msg = f"Failed: {value}" + raise ValueError(msg) + + +class TemporaryFailureTool: + """Tool that fails a certain number of times before succeeding.""" + + def __init__(self, fail_count: int): + """Initialize with the number of times to fail. + + Args: + fail_count: Number of times to fail before succeeding. + """ + self.fail_count = fail_count + self.attempt = 0 + + def __call__(self, value: str) -> str: + """Execute the tool. + + Args: + value: Input string. + + Returns: + Success message if attempt >= fail_count. + + Raises: + ValueError: If attempt < fail_count. + """ + self.attempt += 1 + if self.attempt <= self.fail_count: + msg = f"Temporary failure {self.attempt}" + raise ValueError(msg) + return f"Success after {self.attempt} attempts: {value}" + + +def test_tool_retry_initialization_defaults() -> None: + """Test ToolRetryMiddlewareinitialization with default values.""" + retry = ToolRetryMiddleware() + + assert retry.max_retries == 2 + assert retry._tool_filter is None + assert retry.tools == [] + assert retry.on_failure == "continue" + assert retry.backoff_factor == 2.0 + assert retry.initial_delay == 1.0 + assert retry.max_delay == 60.0 + assert retry.jitter is True + + +def test_tool_retry_initialization_custom() -> None: + """Test ToolRetryMiddlewareinitialization with custom values.""" + retry = ToolRetryMiddleware( + max_retries=5, + tools=["tool1", "tool2"], + retry_on=(ValueError, RuntimeError), + on_failure="error", + backoff_factor=1.5, + initial_delay=0.5, + max_delay=30.0, + jitter=False, + ) + + assert retry.max_retries == 5 + assert retry._tool_filter == ["tool1", "tool2"] + assert retry.tools == [] + assert retry.retry_on == (ValueError, RuntimeError) + assert retry.on_failure == "error" + assert retry.backoff_factor == 1.5 + assert retry.initial_delay == 0.5 + assert retry.max_delay == 30.0 + assert retry.jitter is False + + +def test_tool_retry_initialization_with_base_tools() -> None: + """Test ToolRetryMiddleware initialization with BaseTool instances.""" + retry = ToolRetryMiddleware( + max_retries=3, + tools=[working_tool, failing_tool], # Pass BaseTool instances + ) + + assert retry.max_retries == 3 + # Should extract names from BaseTool instances + assert retry._tool_filter == ["working_tool", "failing_tool"] + assert retry.tools == [] + + +def test_tool_retry_initialization_with_mixed_tools() -> None: + """Test ToolRetryMiddleware initialization with mixed tool types.""" + retry = ToolRetryMiddleware( + max_retries=2, + tools=[working_tool, "failing_tool"], # Mix of BaseTool and string + ) + + assert retry.max_retries == 2 + # Should handle both BaseTool instances and strings + assert retry._tool_filter == ["working_tool", "failing_tool"] + assert retry.tools == [] + + +def test_tool_retry_invalid_max_retries() -> None: + """Test ToolRetryMiddlewareraises error for invalid max_retries.""" + with pytest.raises(ValueError, match="max_retries must be >= 0"): + ToolRetryMiddleware(max_retries=-1) + + +def test_tool_retry_invalid_initial_delay() -> None: + """Test ToolRetryMiddlewareraises error for invalid initial_delay.""" + with pytest.raises(ValueError, match="initial_delay must be >= 0"): + ToolRetryMiddleware(initial_delay=-1.0) + + +def test_tool_retry_invalid_max_delay() -> None: + """Test ToolRetryMiddlewareraises error for invalid max_delay.""" + with pytest.raises(ValueError, match="max_delay must be >= 0"): + ToolRetryMiddleware(max_delay=-1.0) + + +def test_tool_retry_invalid_backoff_factor() -> None: + """Test ToolRetryMiddlewareraises error for invalid backoff_factor.""" + with pytest.raises(ValueError, match="backoff_factor must be >= 0"): + ToolRetryMiddleware(backoff_factor=-1.0) + + +def test_tool_retry_working_tool_no_retry_needed() -> None: + """Test ToolRetryMiddlewarewith a working tool (no retry needed).""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="working_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware(max_retries=2, initial_delay=0.01, jitter=False) + + agent = create_agent( + model=model, + tools=[working_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use working tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Success: test" in tool_messages[0].content + assert tool_messages[0].status != "error" + + +def test_tool_retry_failing_tool_returns_message() -> None: + """Test ToolRetryMiddlewarewith failing tool returns error message.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + # Should contain error message with tool name and attempts + assert "failing_tool" in tool_messages[0].content + assert "3 attempts" in tool_messages[0].content + assert "ValueError" in tool_messages[0].content + assert tool_messages[0].status == "error" + + +def test_tool_retry_failing_tool_raises() -> None: + """Test ToolRetryMiddlewarewith on_failure='error' re-raises exception.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="error", + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + # Should raise the ValueError from the tool + with pytest.raises(ValueError, match="Failed: test"): + agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + +def test_tool_retry_custom_failure_formatter() -> None: + """Test ToolRetryMiddlewarewith custom failure message formatter.""" + + def custom_formatter(exc: Exception) -> str: + return f"Custom error: {type(exc).__name__}" + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=1, + initial_delay=0.01, + jitter=False, + on_failure=custom_formatter, + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Custom error: ValueError" in tool_messages[0].content + + +def test_tool_retry_succeeds_after_retries() -> None: + """Test ToolRetryMiddlewaresucceeds after temporary failures.""" + temp_fail = TemporaryFailureTool(fail_count=2) + + @tool + def temp_failing_tool(value: str) -> str: + """Tool that fails temporarily.""" + return temp_fail(value) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="temp_failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=3, + initial_delay=0.01, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[temp_failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use temp failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + # Should succeed on 3rd attempt + assert "Success after 3 attempts" in tool_messages[0].content + assert tool_messages[0].status != "error" + + +def test_tool_retry_specific_tools_only() -> None: + """Test ToolRetryMiddlewareonly applies to specific tools.""" + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="failing_tool", args={"value": "test1"}, id="1"), + ToolCall(name="working_tool", args={"value": "test2"}, id="2"), + ], + [], + ] + ) + + # Only retry failing_tool + retry = ToolRetryMiddleware( + max_retries=2, + tools=["failing_tool"], + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[failing_tool, working_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use both tools")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 2 + + # failing_tool should have error message + failing_msg = next(m for m in tool_messages if m.name == "failing_tool") + assert failing_msg.status == "error" + assert "3 attempts" in failing_msg.content + + # working_tool should succeed normally (no retry applied) + working_msg = next(m for m in tool_messages if m.name == "working_tool") + assert "Success: test2" in working_msg.content + assert working_msg.status != "error" + + +def test_tool_retry_specific_tools_with_base_tool() -> None: + """Test ToolRetryMiddleware accepts BaseTool instances for filtering.""" + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="failing_tool", args={"value": "test1"}, id="1"), + ToolCall(name="working_tool", args={"value": "test2"}, id="2"), + ], + [], + ] + ) + + # Only retry failing_tool, passed as BaseTool instance + retry = ToolRetryMiddleware( + max_retries=2, + tools=[failing_tool], # Pass BaseTool instance + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[failing_tool, working_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use both tools")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 2 + + # failing_tool should have error message (with retries) + failing_msg = next(m for m in tool_messages if m.name == "failing_tool") + assert failing_msg.status == "error" + assert "3 attempts" in failing_msg.content + + # working_tool should succeed normally (no retry applied) + working_msg = next(m for m in tool_messages if m.name == "working_tool") + assert "Success: test2" in working_msg.content + assert working_msg.status != "error" + + +def test_tool_retry_specific_exceptions() -> None: + """Test ToolRetryMiddlewareonly retries specific exception types.""" + + @tool + def value_error_tool(value: str) -> str: + """Tool that raises ValueError.""" + msg = f"ValueError: {value}" + raise ValueError(msg) + + @tool + def runtime_error_tool(value: str) -> str: + """Tool that raises RuntimeError.""" + msg = f"RuntimeError: {value}" + raise RuntimeError(msg) + + model = FakeToolCallingModel( + tool_calls=[ + [ + ToolCall(name="value_error_tool", args={"value": "test1"}, id="1"), + ToolCall(name="runtime_error_tool", args={"value": "test2"}, id="2"), + ], + [], + ] + ) + + # Only retry ValueError + retry = ToolRetryMiddleware( + max_retries=2, + retry_on=(ValueError,), + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[value_error_tool, runtime_error_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use both tools")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 2 + + # ValueError should be retried (3 attempts) + value_error_msg = next(m for m in tool_messages if m.name == "value_error_tool") + assert "3 attempts" in value_error_msg.content + + # RuntimeError should fail immediately (1 attempt only) + runtime_error_msg = next(m for m in tool_messages if m.name == "runtime_error_tool") + assert "1 attempt" in runtime_error_msg.content + + +def test_tool_retry_custom_exception_filter() -> None: + """Test ToolRetryMiddlewarewith custom exception filter function.""" + + class CustomError(Exception): + """Custom exception with retry_me attribute.""" + + def __init__(self, message: str, *, retry_me: bool): + """Initialize custom error. + + Args: + message: Error message. + retry_me: Whether this error should be retried. + """ + super().__init__(message) + self.retry_me = retry_me + + attempt_count = {"value": 0} + + @tool + def custom_error_tool(val: str) -> str: + """Tool that raises CustomError.""" + _ = val + attempt_count["value"] += 1 + if attempt_count["value"] == 1: + msg = "Retryable error" + raise CustomError(msg, retry_me=True) + msg = "Non-retryable error" + raise CustomError(msg, retry_me=False) + + def should_retry(exc: Exception) -> bool: + return isinstance(exc, CustomError) and exc.retry_me + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="custom_error_tool", args={"val": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=3, + retry_on=should_retry, + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[custom_error_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use custom error tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + # Should retry once (attempt 1 with retry_me=True), then fail on attempt 2 (retry_me=False) + assert attempt_count["value"] == 2 + assert "2 attempts" in tool_messages[0].content + + +def test_tool_retry_backoff_timing() -> None: + """Test ToolRetryMiddlewareapplies correct backoff delays.""" + temp_fail = TemporaryFailureTool(fail_count=3) + + @tool + def temp_failing_tool(value: str) -> str: + """Tool that fails temporarily.""" + return temp_fail(value) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="temp_failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=3, + initial_delay=0.1, + backoff_factor=2.0, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[temp_failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + start_time = time.time() + result = agent.invoke( + {"messages": [HumanMessage("Use temp failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + elapsed = time.time() - start_time + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + # Expected delays: 0.1 + 0.2 + 0.4 = 0.7 seconds + # Allow some margin for execution time + assert elapsed >= 0.6, f"Expected at least 0.6s, got {elapsed}s" + + +def test_tool_retry_constant_backoff() -> None: + """Test ToolRetryMiddlewarewith constant backoff (backoff_factor=0).""" + temp_fail = TemporaryFailureTool(fail_count=2) + + @tool + def temp_failing_tool(value: str) -> str: + """Tool that fails temporarily.""" + return temp_fail(value) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="temp_failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=2, + initial_delay=0.1, + backoff_factor=0.0, # Constant backoff + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[temp_failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + start_time = time.time() + result = agent.invoke( + {"messages": [HumanMessage("Use temp failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + elapsed = time.time() - start_time + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + # Expected delays: 0.1 + 0.1 = 0.2 seconds (constant) + assert elapsed >= 0.15, f"Expected at least 0.15s, got {elapsed}s" + assert elapsed < 0.5, f"Expected less than 0.5s (exponential would be longer), got {elapsed}s" + + +def test_tool_retry_max_delay_cap() -> None: + """Test calculate_delay caps delay at max_delay.""" + # Test delay calculation with aggressive backoff and max_delay cap + delay_0 = calculate_delay( + 0, + backoff_factor=10.0, # Very aggressive backoff + initial_delay=1.0, + max_delay=2.0, # Cap at 2 seconds + jitter=False, + ) # 1.0 + delay_1 = calculate_delay( + 1, + backoff_factor=10.0, + initial_delay=1.0, + max_delay=2.0, + jitter=False, + ) # 10.0 -> capped to 2.0 + delay_2 = calculate_delay( + 2, + backoff_factor=10.0, + initial_delay=1.0, + max_delay=2.0, + jitter=False, + ) # 100.0 -> capped to 2.0 + + assert delay_0 == 1.0 + assert delay_1 == 2.0 + assert delay_2 == 2.0 + + +def test_tool_retry_jitter_variation() -> None: + """Test calculate_delay adds jitter to delays.""" + # Generate multiple delays and ensure they vary + delays = [ + calculate_delay( + 0, + backoff_factor=1.0, + initial_delay=1.0, + max_delay=60.0, + jitter=True, + ) + for _ in range(10) + ] + + # All delays should be within ±25% of 1.0 (i.e., between 0.75 and 1.25) + for delay in delays: + assert 0.75 <= delay <= 1.25 + + # Delays should vary (not all the same) + assert len(set(delays)) > 1 + + +async def test_tool_retry_async_working_tool() -> None: + """Test ToolRetryMiddlewarewith async execution and working tool.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="working_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware(max_retries=2, initial_delay=0.01, jitter=False) + + agent = create_agent( + model=model, + tools=[working_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Use working tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Success: test" in tool_messages[0].content + + +async def test_tool_retry_async_failing_tool() -> None: + """Test ToolRetryMiddlewarewith async execution and failing tool.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "failing_tool" in tool_messages[0].content + assert "3 attempts" in tool_messages[0].content + assert tool_messages[0].status == "error" + + +async def test_tool_retry_async_succeeds_after_retries() -> None: + """Test ToolRetryMiddlewareasync execution succeeds after temporary failures.""" + temp_fail = TemporaryFailureTool(fail_count=2) + + @tool + def temp_failing_tool(value: str) -> str: + """Tool that fails temporarily.""" + return temp_fail(value) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="temp_failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=3, + initial_delay=0.01, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[temp_failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = await agent.ainvoke( + {"messages": [HumanMessage("Use temp failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Success after 3 attempts" in tool_messages[0].content + + +async def test_tool_retry_async_backoff_timing() -> None: + """Test ToolRetryMiddlewareasync applies correct backoff delays.""" + temp_fail = TemporaryFailureTool(fail_count=3) + + @tool + def temp_failing_tool(value: str) -> str: + """Tool that fails temporarily.""" + return temp_fail(value) + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="temp_failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=3, + initial_delay=0.1, + backoff_factor=2.0, + jitter=False, + ) + + agent = create_agent( + model=model, + tools=[temp_failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + start_time = time.time() + result = await agent.ainvoke( + {"messages": [HumanMessage("Use temp failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + elapsed = time.time() - start_time + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + + # Expected delays: 0.1 + 0.2 + 0.4 = 0.7 seconds + assert elapsed >= 0.6, f"Expected at least 0.6s, got {elapsed}s" + + +def test_tool_retry_zero_retries() -> None: + """Test ToolRetryMiddlewarewith max_retries=0 (no retries).""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware( + max_retries=0, # No retries + on_failure="continue", + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + # Should fail after 1 attempt (no retries) + assert "1 attempt" in tool_messages[0].content + assert tool_messages[0].status == "error" + + +def test_tool_retry_multiple_middleware_composition() -> None: + """Test ToolRetryMiddlewarecomposes correctly with other middleware.""" + call_log = [] + + # Custom middleware that logs calls + @wrap_tool_call + def logging_middleware( + request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | Command[Any]] + ) -> ToolMessage | Command[Any]: + if request.tool: + call_log.append(f"before_{request.tool.name}") + response = handler(request) + if request.tool: + call_log.append(f"after_{request.tool.name}") + return response + + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="working_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + retry = ToolRetryMiddleware(max_retries=2, initial_delay=0.01, jitter=False) + + agent = create_agent( + model=model, + tools=[working_tool], + middleware=[logging_middleware, retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use working tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + # Both middleware should be called + assert call_log == ["before_working_tool", "after_working_tool"] + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + assert "Success: test" in tool_messages[0].content + + +def test_tool_retry_deprecated_raise_keyword() -> None: + """Test ToolRetryMiddleware with deprecated 'raise' keyword shows deprecation warning.""" + with pytest.warns(DeprecationWarning, match="on_failure='raise' is deprecated"): + retry = ToolRetryMiddleware( + max_retries=2, + on_failure="raise", # type: ignore[arg-type] + ) + + # Should be converted to 'error' + assert retry.on_failure == "error" + + +def test_tool_retry_deprecated_return_message_keyword() -> None: + """Test tool retry with deprecated 'return_message' keyword. + + Test ToolRetryMiddleware with deprecated 'return_message' keyword shows deprecation + warning. + """ + # Use string concatenation to avoid batch replace affecting test code + deprecated_value = "return" + "_message" + with pytest.warns(DeprecationWarning, match="on_failure='return_message' is deprecated"): + retry = ToolRetryMiddleware( + max_retries=2, + on_failure=deprecated_value, # type: ignore[arg-type] + ) + + # Should be converted to 'continue' + assert retry.on_failure == "continue" + + +def test_tool_retry_deprecated_raise_behavior() -> None: + """Test ToolRetryMiddleware with deprecated 'raise' forwards to 'error' behavior.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + with pytest.warns(DeprecationWarning, match="on_failure='raise' is deprecated"): + retry = ToolRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure="raise", # type: ignore[arg-type] + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + # Should raise the ValueError from the tool (same as 'error') + with pytest.raises(ValueError, match="Failed: test"): + agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + +def test_tool_retry_deprecated_return_message_behavior() -> None: + """Test ToolRetryMiddleware with deprecated 'return_message' forwards to 'continue' behavior.""" + model = FakeToolCallingModel( + tool_calls=[ + [ToolCall(name="failing_tool", args={"value": "test"}, id="1")], + [], + ] + ) + + # Use string concatenation to avoid batch replace affecting test code + deprecated_value = "return" + "_message" + with pytest.warns(DeprecationWarning, match="on_failure='return_message' is deprecated"): + retry = ToolRetryMiddleware( + max_retries=2, + initial_delay=0.01, + jitter=False, + on_failure=deprecated_value, # type: ignore[arg-type] + ) + + agent = create_agent( + model=model, + tools=[failing_tool], + middleware=[retry], + checkpointer=InMemorySaver(), + ) + + result = agent.invoke( + {"messages": [HumanMessage("Use failing tool")]}, + {"configurable": {"thread_id": "test"}}, + ) + + tool_messages = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_messages) == 1 + # Should contain error message (same as 'continue') + assert "failing_tool" in tool_messages[0].content + assert "3 attempts" in tool_messages[0].content + assert "ValueError" in tool_messages[0].content + assert tool_messages[0].status == "error" diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_selection.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_selection.py new file mode 100644 index 0000000000000000000000000000000000000000..231583ce2bcea81647a2ea6219cf37dfcf021968 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_selection.py @@ -0,0 +1,643 @@ +"""Unit tests for LLM tool selection middleware.""" + +from collections.abc import Callable, Sequence +from itertools import cycle +from typing import Any, Literal + +import pytest +from langchain_core.language_models import LanguageModelInput +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import HumanMessage +from langchain_core.runnables import Runnable +from langchain_core.tools import BaseTool, tool +from pydantic import BaseModel +from typing_extensions import override + +from langchain.agents import create_agent +from langchain.agents.middleware import ( + LLMToolSelectorMiddleware, + ModelRequest, + ModelResponse, + wrap_model_call, +) +from langchain.agents.middleware.tool_selection import _create_tool_selection_response +from langchain.messages import AIMessage + + +@tool +def get_weather(location: str) -> str: + """Get current weather for a location.""" + return f"Weather in {location}: 72°F, sunny" + + +@tool +def search_web(query: str) -> str: + """Search the web for information.""" + return f"Search results for: {query}" + + +@tool +def calculate(expression: str) -> str: + """Perform mathematical calculations.""" + return f"Result of {expression}: 42" + + +@tool +def send_email(to: str, subject: str) -> str: + """Send an email to someone.""" + return f"Email with subject {subject} sent to {to}" + + +@tool +def get_stock_price(symbol: str) -> str: + """Get current stock price for a symbol.""" + return f"Stock price for {symbol}: $150.25" + + +class FakeModel(GenericFakeChatModel): + tool_style: Literal["openai", "anthropic"] = "openai" + + @override + def bind_tools( + self, + tools: Sequence[dict[str, Any] | type[BaseModel] | Callable[..., Any] | BaseTool], + **_kwargs: Any, + ) -> Runnable[LanguageModelInput, AIMessage]: + if len(tools) == 0: + msg = "Must provide at least one tool" + raise ValueError(msg) + + tool_dicts = [] + for tool_ in tools: + if isinstance(tool_, dict): + tool_dicts.append(tool_) + continue + if not isinstance(tool_, BaseTool): + msg = "Only BaseTool and dict is supported by FakeToolCallingModel.bind_tools" + raise TypeError(msg) + + # NOTE: this is a simplified tool spec for testing purposes only + if self.tool_style == "openai": + tool_dicts.append( + { + "type": "function", + "function": { + "name": tool_.name, + }, + } + ) + elif self.tool_style == "anthropic": + tool_dicts.append( + { + "name": tool_.name, + } + ) + + return self.bind(tools=tool_dicts) + + +class TestLLMToolSelectorBasic: + """Test basic tool selection functionality.""" + + def test_sync_basic_selection(self) -> None: + """Test synchronous tool selection.""" + # First call: selector picks tools + # Second call: agent uses selected tools + + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Middleware to select relevant tools based on state/context.""" + # Select a small, relevant subset of tools based on state/context + model_requests.append(request) + return handler(request) + + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": {"tools": ["get_weather", "calculate"]}, + } + ], + ), + ] + ) + ) + + model = FakeModel( + messages=iter( + [ + AIMessage( + content="", + tool_calls=[ + {"name": "get_weather", "id": "2", "args": {"location": "Paris"}} + ], + ), + AIMessage(content="The weather in Paris is 72°F and sunny."), + ] + ) + ) + + tool_selector = LLMToolSelectorMiddleware(max_tools=2, model=tool_selection_model) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate, send_email, get_stock_price], + middleware=[tool_selector, trace_model_requests], + ) + + response = agent.invoke({"messages": [HumanMessage("What's the weather in Paris?")]}) + + assert isinstance(response["messages"][-1], AIMessage) + + for request in model_requests: + selected_tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + selected_tool_names.append(tool_.name) + assert selected_tool_names == ["get_weather", "calculate"] + + async def test_async_basic_selection(self) -> None: + """Test asynchronous tool selection.""" + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": {"tools": ["search_web"]}, + } + ], + ), + ] + ) + ) + + model = FakeModel( + messages=iter( + [ + AIMessage( + content="", + tool_calls=[{"name": "search_web", "id": "2", "args": {"query": "Python"}}], + ), + AIMessage(content="Search results found."), + ] + ) + ) + + tool_selector = LLMToolSelectorMiddleware(max_tools=1, model=tool_selection_model) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate], + middleware=[tool_selector], + ) + + response = await agent.ainvoke({"messages": [HumanMessage("Search for Python tutorials")]}) + + assert isinstance(response["messages"][-1], AIMessage) + + +class TestMaxToolsLimiting: + """Test max_tools limiting behavior.""" + + def test_max_tools_limits_selection(self) -> None: + """Test that max_tools limits selection when model selects too many tools.""" + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + # Selector model tries to select 4 tools + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": { + "tools": [ + "get_weather", + "search_web", + "calculate", + "send_email", + ] + }, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + # But max_tools=2, so only first 2 should be used + tool_selector = LLMToolSelectorMiddleware(max_tools=2, model=tool_selection_model) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate, send_email], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # Verify only 2 tools were passed to the main model + assert len(model_requests) > 0 + for request in model_requests: + assert len(request.tools) == 2 + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + # Should be first 2 from the selection + assert tool_names == ["get_weather", "search_web"] + + def test_no_max_tools_uses_all_selected(self) -> None: + """Test that when max_tools is None, all selected tools are used.""" + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": { + "tools": [ + "get_weather", + "search_web", + "calculate", + "get_stock_price", + ] + }, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + # No max_tools specified + tool_selector = LLMToolSelectorMiddleware(model=tool_selection_model) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate, send_email, get_stock_price], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # All 4 selected tools should be present + assert len(model_requests) > 0 + for request in model_requests: + assert len(request.tools) == 4 + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + assert set(tool_names) == { + "get_weather", + "search_web", + "calculate", + "get_stock_price", + } + + +class TestAlwaysInclude: + """Test always_include functionality.""" + + def test_always_include_tools_present(self) -> None: + """Test that always_include tools are always present in the request.""" + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + # Selector picks only search_web + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": {"tools": ["search_web"]}, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + # But send_email is always included + tool_selector = LLMToolSelectorMiddleware( + max_tools=1, always_include=["send_email"], model=tool_selection_model + ) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, send_email], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # Both selected and always_include tools should be present + assert len(model_requests) > 0 + for request in model_requests: + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + assert "search_web" in tool_names + assert "send_email" in tool_names + assert len(tool_names) == 2 + + def test_always_include_not_counted_against_max(self) -> None: + """Test that always_include tools don't count against max_tools limit.""" + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + # Selector picks 2 tools + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": {"tools": ["get_weather", "search_web"]}, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + # max_tools=2, but we also have 2 always_include tools + tool_selector = LLMToolSelectorMiddleware( + max_tools=2, + always_include=["send_email", "calculate"], + model=tool_selection_model, + ) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate, send_email], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # Should have 2 selected + 2 always_include = 4 total + assert len(model_requests) > 0 + for request in model_requests: + assert len(request.tools) == 4 + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + assert "get_weather" in tool_names + assert "search_web" in tool_names + assert "send_email" in tool_names + assert "calculate" in tool_names + + def test_multiple_always_include_tools(self) -> None: + """Test that multiple always_include tools are all present.""" + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + # Selector picks 1 tool + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": {"tools": ["get_weather"]}, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + tool_selector = LLMToolSelectorMiddleware( + max_tools=1, + always_include=["send_email", "calculate", "get_stock_price"], + model=tool_selection_model, + ) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, send_email, calculate, get_stock_price], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # Should have 1 selected + 3 always_include = 4 total + assert len(model_requests) > 0 + for request in model_requests: + assert len(request.tools) == 4 + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + assert "get_weather" in tool_names + assert "send_email" in tool_names + assert "calculate" in tool_names + assert "get_stock_price" in tool_names + + +class TestDuplicateAndInvalidTools: + """Test handling of duplicate and invalid tool selections.""" + + def test_duplicate_tool_selection_deduplicated(self) -> None: + """Test that duplicate tool selections are deduplicated.""" + model_requests = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + # Selector returns duplicates + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": { + "tools": [ + "get_weather", + "get_weather", + "search_web", + "search_web", + ] + }, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + tool_selector = LLMToolSelectorMiddleware(max_tools=5, model=tool_selection_model) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # Duplicates should be removed + assert len(model_requests) > 0 + for request in model_requests: + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + assert tool_names == ["get_weather", "search_web"] + assert len(tool_names) == 2 + + def test_max_tools_with_duplicates(self) -> None: + """Test that max_tools works correctly with duplicate selections.""" + model_requests: list[ModelRequest] = [] + + @wrap_model_call + def trace_model_requests( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + model_requests.append(request) + return handler(request) + + # Selector returns duplicates but max_tools=2 + tool_selection_model = FakeModel( + messages=cycle( + [ + AIMessage( + content="", + tool_calls=[ + { + "name": "ToolSelectionResponse", + "id": "1", + "args": { + "tools": [ + "get_weather", + "get_weather", + "search_web", + "search_web", + "calculate", + ] + }, + } + ], + ), + ] + ) + ) + + model = FakeModel(messages=iter([AIMessage(content="Done")])) + + tool_selector = LLMToolSelectorMiddleware(max_tools=2, model=tool_selection_model) + + agent = create_agent( + model=model, + tools=[get_weather, search_web, calculate], + middleware=[tool_selector, trace_model_requests], + ) + + agent.invoke({"messages": [HumanMessage("test")]}) + + # Should deduplicate and respect max_tools + assert len(model_requests) > 0 + for request in model_requests: + tool_names = [] + for tool_ in request.tools: + assert isinstance(tool_, BaseTool) + tool_names.append(tool_.name) + assert len(tool_names) == 2 + assert "get_weather" in tool_names + assert "search_web" in tool_names + + +class TestEdgeCases: + """Test edge cases and error handling.""" + + def test_empty_tools_list_raises_error(self) -> None: + """Test that empty tools list raises an error in schema creation.""" + with pytest.raises(AssertionError, match="tools must be non-empty"): + _create_tool_selection_response([]) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_backwards_compat.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_backwards_compat.py new file mode 100644 index 0000000000000000000000000000000000000000..f7c3670ee43daf6f8da3ba94484529ac22ad749a --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_backwards_compat.py @@ -0,0 +1,277 @@ +"""Test backwards compatibility for middleware type parameters. + +This file verifies that middlewares written BEFORE the ResponseT change still work. +All patterns that were valid before should remain valid. + +Run type check: uv run --group typing mypy +Run tests: uv run --group test pytest -v +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, HumanMessage +from typing_extensions import TypedDict, override + +from langchain.agents import create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + ContextT, + ModelRequest, + ModelResponse, + before_model, +) + +if TYPE_CHECKING: + from collections.abc import Awaitable, Callable + + from langgraph.runtime import Runtime + + +# ============================================================================= +# OLD PATTERN 1: Completely unparameterized AgentMiddleware +# This was the most common pattern for simple middlewares +# ============================================================================= +class OldStyleMiddleware1(AgentMiddleware): + """Middleware with no type parameters at all - most common old pattern.""" + + @override + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> dict[str, Any] | None: + # Simple middleware that just logs or does something + return None + + def wrap_model_call( + self, + request: ModelRequest, # No type param + handler: Callable[[ModelRequest], ModelResponse], # No type params + ) -> ModelResponse: # No type param + return handler(request) + + +# ============================================================================= +# OLD PATTERN 2: AgentMiddleware with only 2 type parameters (StateT, ContextT) +# This was the pattern before ResponseT was added +# ============================================================================= +class OldStyleMiddleware2(AgentMiddleware[AgentState[Any], ContextT]): + """Middleware with 2 type params - the old signature before ResponseT.""" + + def wrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse], + ) -> ModelResponse: + return handler(request) + + +# ============================================================================= +# OLD PATTERN 3: Middleware with explicit None context +# ============================================================================= +class OldStyleMiddleware3(AgentMiddleware[AgentState[Any], None]): + """Middleware explicitly typed for no context.""" + + def wrap_model_call( + self, + request: ModelRequest[None], + handler: Callable[[ModelRequest[None]], ModelResponse], + ) -> ModelResponse: + return handler(request) + + +# ============================================================================= +# OLD PATTERN 4: Middleware with specific context type (2 params) +# ============================================================================= +class MyContext(TypedDict): + user_id: str + + +class OldStyleMiddleware4(AgentMiddleware[AgentState[Any], MyContext]): + """Middleware with specific context - old 2-param pattern.""" + + def wrap_model_call( + self, + request: ModelRequest[MyContext], + handler: Callable[[ModelRequest[MyContext]], ModelResponse], + ) -> ModelResponse: + # Access context fields + _user_id: str = request.runtime.context["user_id"] + return handler(request) + + +# ============================================================================= +# OLD PATTERN 5: Decorator-based middleware +# ============================================================================= +@before_model +def old_style_decorator(state: AgentState[Any], runtime: Runtime[None]) -> dict[str, Any] | None: + """Decorator middleware - old pattern.""" + _ = (state, runtime) + return None + + +# ============================================================================= +# OLD PATTERN 6: Async middleware (2 params) +# ============================================================================= +class OldStyleAsyncMiddleware(AgentMiddleware[AgentState[Any], ContextT]): + """Async middleware with old 2-param pattern.""" + + async def awrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], Awaitable[ModelResponse]], + ) -> ModelResponse: + return await handler(request) + + +# ============================================================================= +# OLD PATTERN 7: ModelResponse without type parameter +# ============================================================================= +class OldStyleModelResponseMiddleware(AgentMiddleware): + """Middleware using ModelResponse without type param.""" + + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + response = handler(request) + # Access result - this always worked + _ = response.result + # structured_response was Any before, still works + _ = response.structured_response + return response + + +# ============================================================================= +# TESTS: Verify all old patterns still work at runtime +# ============================================================================= +@pytest.fixture +def fake_model() -> GenericFakeChatModel: + """Create a fake model for testing.""" + return GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + +def test_old_pattern_1_unparameterized(fake_model: GenericFakeChatModel) -> None: + """Old pattern 1: Completely unparameterized middleware.""" + agent = create_agent( + model=fake_model, + middleware=[OldStyleMiddleware1()], + ) + result = agent.invoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_old_pattern_2_two_params(fake_model: GenericFakeChatModel) -> None: + """Old pattern 2: AgentMiddleware[StateT, ContextT] - 2 params.""" + agent = create_agent( + model=fake_model, + middleware=[OldStyleMiddleware2()], + ) + result = agent.invoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_old_pattern_3_explicit_none(fake_model: GenericFakeChatModel) -> None: + """Old pattern 3: Explicit None context.""" + agent = create_agent( + model=fake_model, + middleware=[OldStyleMiddleware3()], + ) + result = agent.invoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_old_pattern_4_specific_context(fake_model: GenericFakeChatModel) -> None: + """Old pattern 4: Specific context type with 2 params.""" + agent = create_agent( + model=fake_model, + middleware=[OldStyleMiddleware4()], + context_schema=MyContext, + ) + result = agent.invoke( + {"messages": [HumanMessage(content="hi")]}, + context={"user_id": "test-user"}, + ) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_old_pattern_5_decorator(fake_model: GenericFakeChatModel) -> None: + """Old pattern 5: Decorator-based middleware.""" + agent = create_agent( + model=fake_model, + middleware=[old_style_decorator], + ) + result = agent.invoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +async def test_old_pattern_6_async(fake_model: GenericFakeChatModel) -> None: + """Old pattern 6: Async middleware with 2 params.""" + agent = create_agent( + model=fake_model, + middleware=[OldStyleAsyncMiddleware()], + ) + result = await agent.ainvoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_old_pattern_7_model_response_unparameterized( + fake_model: GenericFakeChatModel, +) -> None: + """Old pattern 7: ModelResponse without type parameter.""" + agent = create_agent( + model=fake_model, + middleware=[OldStyleModelResponseMiddleware()], + ) + result = agent.invoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_multiple_old_style_middlewares(fake_model: GenericFakeChatModel) -> None: + """Multiple old-style middlewares can be combined.""" + agent = create_agent( + model=fake_model, + middleware=[ + OldStyleMiddleware1(), + OldStyleMiddleware2(), + OldStyleMiddleware3(), + old_style_decorator, + OldStyleModelResponseMiddleware(), + ], + ) + result = agent.invoke({"messages": [HumanMessage(content="hi")]}) + assert "messages" in result + assert len(result["messages"]) >= 1 + + +def test_model_response_backwards_compat() -> None: + """ModelResponse can be instantiated without type params.""" + # Old way - no type param + response = ModelResponse(result=[AIMessage(content="test")]) + assert response.structured_response is None + + # Old way - accessing fields + response2 = ModelResponse( + result=[AIMessage(content="test")], + structured_response={"key": "value"}, + ) + assert response2.structured_response == {"key": "value"} + + +def test_model_request_backwards_compat() -> None: + """ModelRequest can be instantiated without type params.""" + # Old way - no type param + request = ModelRequest( + model=None, # type: ignore[arg-type] + messages=[HumanMessage(content="test")], + ) + assert len(request.messages) == 1 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_type_errors.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_type_errors.py new file mode 100644 index 0000000000000000000000000000000000000000..e89943e5c9b32536c586b04e5d0dcd41a67747b9 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_type_errors.py @@ -0,0 +1,201 @@ +"""Demonstrate type errors that mypy catches for ContextT and ResponseT mismatches. + +This file contains intentional type errors to demonstrate that mypy catches them. +Run: uv run --group typing mypy + +Expected errors: +1. TypedDict "UserContext" has no key "session_id" - accessing wrong context field +2. Argument incompatible with supertype - mismatched ModelRequest type +3. Cannot infer value of type parameter - middleware/context_schema mismatch +4. "AnalysisResult" has no attribute "summary" - accessing wrong response field +5. Handler returns wrong ResponseT type +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any + +from pydantic import BaseModel +from typing_extensions import TypedDict + +from langchain.agents import create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + ContextT, + ModelRequest, + ModelResponse, +) +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from collections.abc import Callable + + +# ============================================================================= +# Context and Response schemas +# ============================================================================= +class UserContext(TypedDict): + user_id: str + user_name: str + + +class SessionContext(TypedDict): + session_id: str + expires_at: int + + +class AnalysisResult(BaseModel): + sentiment: str + confidence: float + + +class SummaryResult(BaseModel): + summary: str + key_points: list[str] + + +# ============================================================================= +# ERROR 1: Using wrong context fields +# ============================================================================= +class WrongContextFieldsMiddleware(AgentMiddleware[AgentState[Any], UserContext, Any]): + def wrap_model_call( + self, + request: ModelRequest[UserContext], + handler: Callable[[ModelRequest[UserContext]], ModelResponse[Any]], + ) -> ModelResponse[Any]: + # TYPE ERROR: 'session_id' doesn't exist on UserContext + session_id: str = request.runtime.context["session_id"] # type: ignore[typeddict-item] + _ = session_id + return handler(request) + + +# ============================================================================= +# ERROR 2: Mismatched ModelRequest type parameter in method signature +# ============================================================================= +class MismatchedRequestMiddleware(AgentMiddleware[AgentState[Any], UserContext, Any]): + def wrap_model_call( # type: ignore[override] + self, + # TYPE ERROR: Should be ModelRequest[UserContext], not SessionContext + request: ModelRequest[SessionContext], + handler: Callable[[ModelRequest[SessionContext]], ModelResponse[Any]], + ) -> ModelResponse[Any]: + return handler(request) + + +# ============================================================================= +# ERROR 3: Middleware ContextT doesn't match context_schema +# ============================================================================= +class SessionContextMiddleware(AgentMiddleware[AgentState[Any], SessionContext, Any]): + def wrap_model_call( + self, + request: ModelRequest[SessionContext], + handler: Callable[[ModelRequest[SessionContext]], ModelResponse[Any]], + ) -> ModelResponse[Any]: + return handler(request) + + +def test_mismatched_context_schema() -> None: + # TYPE ERROR: SessionContextMiddleware expects SessionContext, + # but context_schema is UserContext + fake_model = FakeToolCallingModel() + _agent = create_agent( # type: ignore[misc] + model=fake_model, + middleware=[SessionContextMiddleware()], + context_schema=UserContext, + ) + + +# ============================================================================= +# ERROR 4: Backwards compatible middleware with typed context_schema +# ============================================================================= +class BackwardsCompatibleMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + return handler(request) + + +def test_backwards_compat_with_context_schema() -> None: + # TYPE ERROR: BackwardsCompatibleMiddleware is AgentMiddleware[..., None] + # but context_schema=UserContext expects AgentMiddleware[..., UserContext] + fake_model = FakeToolCallingModel() + _agent = create_agent( # type: ignore[misc] + model=fake_model, + middleware=[BackwardsCompatibleMiddleware()], + context_schema=UserContext, + ) + + +# ============================================================================= +# ERROR 5: Using wrong response fields +# ============================================================================= +class WrongResponseFieldsMiddleware( + AgentMiddleware[AgentState[AnalysisResult], ContextT, AnalysisResult] +): + def wrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse[AnalysisResult]], + ) -> ModelResponse[AnalysisResult]: + response = handler(request) + if response.structured_response is not None: + # TYPE ERROR: 'summary' doesn't exist on AnalysisResult + summary: str = response.structured_response.summary # type: ignore[attr-defined] + _ = summary + return response + + +# ============================================================================= +# ERROR 6: Mismatched ResponseT in method signature +# ============================================================================= +class MismatchedResponseMiddleware( + AgentMiddleware[AgentState[AnalysisResult], ContextT, AnalysisResult] +): + def wrap_model_call( # type: ignore[override] + self, + request: ModelRequest[ContextT], + # TYPE ERROR: Handler should return ModelResponse[AnalysisResult], not SummaryResult + handler: Callable[[ModelRequest[ContextT]], ModelResponse[SummaryResult]], + ) -> ModelResponse[AnalysisResult]: + # This would fail at runtime - types don't match + return handler(request) # type: ignore[return-value] + + +# ============================================================================= +# ERROR 7: Middleware ResponseT doesn't match response_format +# ============================================================================= +class AnalysisMiddleware(AgentMiddleware[AgentState[AnalysisResult], ContextT, AnalysisResult]): + def wrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse[AnalysisResult]], + ) -> ModelResponse[AnalysisResult]: + return handler(request) + + +def test_mismatched_response_format() -> None: + # TODO: TYPE ERROR not yet detected by mypy - AnalysisMiddleware expects AnalysisResult, + # but response_format is SummaryResult. This requires more sophisticated typing. + fake_model = FakeToolCallingModel() + _agent = create_agent( + model=fake_model, + middleware=[AnalysisMiddleware()], + response_format=SummaryResult, + ) + + +# ============================================================================= +# ERROR 8: Wrong return type from wrap_model_call +# ============================================================================= +class WrongReturnTypeMiddleware( + AgentMiddleware[AgentState[AnalysisResult], ContextT, AnalysisResult] +): + def wrap_model_call( # type: ignore[override] + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse[AnalysisResult]], + ) -> ModelResponse[SummaryResult]: # TYPE ERROR: Should return ModelResponse[AnalysisResult] + return handler(request) # type: ignore[return-value] diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_typing.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_typing.py new file mode 100644 index 0000000000000000000000000000000000000000..499059b67aebd13f3bb30f40107c0da09e1b1fa2 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/middleware_typing/test_middleware_typing.py @@ -0,0 +1,511 @@ +"""Test file to verify type safety in middleware (ContextT and ResponseT). + +This file demonstrates: +1. Backwards compatible middlewares (no type params specified) - works with defaults +2. Correctly typed middlewares (ContextT/ResponseT match) - full type safety +3. Type errors that are caught when types don't match + +Run type check: uv run --group typing mypy +Run tests: uv run --group test pytest -v + +To see type errors being caught, run: + + uv run --group typing mypy .../test_middleware_type_errors.py +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, HumanMessage +from pydantic import BaseModel +from typing_extensions import TypedDict, assert_type, override + +from langchain.agents import create_agent +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + ContextT, + InputAgentState, + ModelRequest, + ModelResponse, + OutputAgentState, + ResponseT, + before_model, +) + +if TYPE_CHECKING: + from collections.abc import Awaitable, Callable + + from langgraph.graph.state import CompiledStateGraph + from langgraph.runtime import Runtime + + +# ============================================================================= +# Context and Response schemas for testing +# ============================================================================= +class UserContext(TypedDict): + """Context with user information.""" + + user_id: str + user_name: str + + +class SessionContext(TypedDict): + """Different context schema.""" + + session_id: str + expires_at: int + + +class AnalysisResult(BaseModel): + """Structured response schema.""" + + sentiment: str + confidence: float + + +class SummaryResult(BaseModel): + """Different structured response schema.""" + + summary: str + key_points: list[str] + + +class CustomAgentState(AgentState[Any]): + """Custom state schema without a structured response format.""" + + user_id: str + + +# ============================================================================= +# 1. BACKWARDS COMPATIBLE: Middlewares without type parameters +# These work when create_agent has NO context_schema or response_format +# ============================================================================= +class BackwardsCompatibleMiddleware(AgentMiddleware): + """Middleware that doesn't specify type parameters - backwards compatible.""" + + @override + def before_model(self, state: AgentState[Any], runtime: Runtime[None]) -> dict[str, Any] | None: + return None + + def wrap_model_call( + self, + request: ModelRequest, # No type param - backwards compatible! + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + return handler(request) + + +class BackwardsCompatibleMiddleware2(AgentMiddleware): + """Another backwards compatible middleware using ModelRequest without params.""" + + def wrap_model_call( + self, + request: ModelRequest, # Unparameterized - defaults to ModelRequest[None] + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + _ = request.runtime + return handler(request) + + +@before_model +def backwards_compatible_decorator( + state: AgentState[Any], runtime: Runtime[None] +) -> dict[str, Any] | None: + """Decorator middleware without explicit type parameters.""" + _ = (state, runtime) + return None + + +# ============================================================================= +# 2. CORRECTLY TYPED: Middlewares with explicit ContextT +# These work when create_agent has MATCHING context_schema +# ============================================================================= +class UserContextMiddleware(AgentMiddleware[AgentState[Any], UserContext, Any]): + """Middleware with correctly specified UserContext.""" + + @override + def before_model( + self, state: AgentState[Any], runtime: Runtime[UserContext] + ) -> dict[str, Any] | None: + # Full type safety - IDE knows these fields exist + _user_id: str = runtime.context["user_id"] + _user_name: str = runtime.context["user_name"] + return None + + def wrap_model_call( + self, + request: ModelRequest[UserContext], # Correctly parameterized! + handler: Callable[[ModelRequest[UserContext]], ModelResponse[Any]], + ) -> ModelResponse[Any]: + # request.runtime.context is UserContext - fully typed! + _user_id: str = request.runtime.context["user_id"] + return handler(request) + + +class SessionContextMiddleware(AgentMiddleware[AgentState[Any], SessionContext, Any]): + """Middleware with correctly specified SessionContext.""" + + def wrap_model_call( + self, + request: ModelRequest[SessionContext], + handler: Callable[[ModelRequest[SessionContext]], ModelResponse[Any]], + ) -> ModelResponse[Any]: + _session_id: str = request.runtime.context["session_id"] + _expires: int = request.runtime.context["expires_at"] + return handler(request) + + +# ============================================================================= +# 3. CORRECTLY TYPED: Middlewares with explicit ResponseT +# These work when create_agent has MATCHING response_format +# ============================================================================= +class AnalysisResponseMiddleware( + AgentMiddleware[AgentState[AnalysisResult], ContextT, AnalysisResult] +): + """Middleware with correctly specified AnalysisResult response type.""" + + def wrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse[AnalysisResult]], + ) -> ModelResponse[AnalysisResult]: + response = handler(request) + # Full type safety on structured_response + if response.structured_response is not None: + _sentiment: str = response.structured_response.sentiment + _confidence: float = response.structured_response.confidence + return response + + +class SummaryResponseMiddleware( + AgentMiddleware[AgentState[SummaryResult], ContextT, SummaryResult] +): + """Middleware with correctly specified SummaryResult response type.""" + + def wrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse[SummaryResult]], + ) -> ModelResponse[SummaryResult]: + response = handler(request) + if response.structured_response is not None: + _summary: str = response.structured_response.summary + _points: list[str] = response.structured_response.key_points + return response + + +# ============================================================================= +# 4. FULLY TYPED: Middlewares with both ContextT and ResponseT +# ============================================================================= +class FullyTypedMiddleware( + AgentMiddleware[AgentState[AnalysisResult], UserContext, AnalysisResult] +): + """Middleware with both ContextT and ResponseT fully specified.""" + + def wrap_model_call( + self, + request: ModelRequest[UserContext], + handler: Callable[[ModelRequest[UserContext]], ModelResponse[AnalysisResult]], + ) -> ModelResponse[AnalysisResult]: + # Access context with full type safety + _user_id: str = request.runtime.context["user_id"] + + response = handler(request) + + # Access structured response with full type safety + if response.structured_response is not None: + _sentiment: str = response.structured_response.sentiment + + return response + + +# ============================================================================= +# 5. FLEXIBLE MIDDLEWARE: Works with any ContextT/ResponseT using Generic +# ============================================================================= +class FlexibleMiddleware(AgentMiddleware[AgentState[ResponseT], ContextT, ResponseT]): + """Middleware that works with any ContextT and ResponseT.""" + + def wrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], ModelResponse[ResponseT]], + ) -> ModelResponse[ResponseT]: + # Can't access specific fields, but works with any schemas + _ = request.runtime + return handler(request) + + +# ============================================================================= +# 6. CREATE_AGENT INTEGRATION TESTS +# ============================================================================= +@pytest.fixture +def fake_model() -> GenericFakeChatModel: + """Create a fake model for testing.""" + return GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + +def test_create_agent_no_context_schema(fake_model: GenericFakeChatModel) -> None: + """Backwards compatible: No context_schema means ContextT=None.""" + agent: CompiledStateGraph[Any, None, Any, Any] = create_agent( + model=fake_model, + middleware=[ + BackwardsCompatibleMiddleware(), + BackwardsCompatibleMiddleware2(), + backwards_compatible_decorator, + ], + # No context_schema - backwards compatible + ) + assert agent is not None + + +def test_create_agent_custom_state_without_response_format( + fake_model: GenericFakeChatModel, +) -> None: + """Custom state without response_format should not infer dict structured output.""" + agent = create_agent( + model=fake_model, + state_schema=CustomAgentState, + ) + + if TYPE_CHECKING: + assert_type( + agent, + CompiledStateGraph[AgentState[Any], None, InputAgentState, OutputAgentState[Any]], + ) + + assert agent is not None + + +def test_create_agent_dict_response_format(fake_model: GenericFakeChatModel) -> None: + """A raw-dict `response_format` infers an untyped `dict` structured response.""" + json_schema: dict[str, Any] = {"type": "json_schema", "schema": {}} + agent = create_agent(model=fake_model, response_format=json_schema) + + if TYPE_CHECKING: + assert_type( + agent, + CompiledStateGraph[ + AgentState[dict[str, Any]], + None, + InputAgentState, + OutputAgentState[dict[str, Any]], + ], + ) + + assert agent is not None + + +def test_create_agent_typed_response_format(fake_model: GenericFakeChatModel) -> None: + """A schema-typed `response_format` infers a matching `ResponseT`.""" + agent = create_agent(model=fake_model, response_format=AnalysisResult) + + if TYPE_CHECKING: + assert_type( + agent, + CompiledStateGraph[ + AgentState[AnalysisResult], + None, + InputAgentState, + OutputAgentState[AnalysisResult], + ], + ) + + assert agent is not None + + +def test_create_agent_with_user_context(fake_model: GenericFakeChatModel) -> None: + """Typed: context_schema=UserContext requires matching middleware.""" + agent: CompiledStateGraph[Any, UserContext, Any, Any] = create_agent( + model=fake_model, + middleware=[UserContextMiddleware()], # Matches UserContext + context_schema=UserContext, + ) + assert agent is not None + + +def test_create_agent_with_session_context(fake_model: GenericFakeChatModel) -> None: + """Typed: context_schema=SessionContext requires matching middleware.""" + agent: CompiledStateGraph[Any, SessionContext, Any, Any] = create_agent( + model=fake_model, + middleware=[SessionContextMiddleware()], # Matches SessionContext + context_schema=SessionContext, + ) + assert agent is not None + + +def test_create_agent_with_flexible_middleware(fake_model: GenericFakeChatModel) -> None: + """Flexible middleware works with any context_schema.""" + # With UserContext + agent1: CompiledStateGraph[Any, UserContext, Any, Any] = create_agent( + model=fake_model, + middleware=[FlexibleMiddleware[UserContext, Any]()], + context_schema=UserContext, + ) + assert agent1 is not None + + # With SessionContext + agent2: CompiledStateGraph[Any, SessionContext, Any, Any] = create_agent( + model=fake_model, + middleware=[FlexibleMiddleware[SessionContext, Any]()], + context_schema=SessionContext, + ) + assert agent2 is not None + + +def test_create_agent_with_response_middleware(fake_model: GenericFakeChatModel) -> None: + """Middleware with ResponseT works with response_format.""" + agent = create_agent( + model=fake_model, + middleware=[AnalysisResponseMiddleware()], + response_format=AnalysisResult, + ) + assert agent is not None + + +def test_create_agent_fully_typed(fake_model: GenericFakeChatModel) -> None: + """Fully typed middleware with both ContextT and ResponseT.""" + agent = create_agent( + model=fake_model, + middleware=[FullyTypedMiddleware()], + context_schema=UserContext, + response_format=AnalysisResult, + ) + assert agent is not None + + +# ============================================================================= +# 7. ASYNC VARIANTS +# ============================================================================= +class AsyncUserContextMiddleware(AgentMiddleware[AgentState[Any], UserContext, Any]): + """Async middleware with correctly typed ContextT.""" + + @override + async def abefore_model( + self, state: AgentState[Any], runtime: Runtime[UserContext] + ) -> dict[str, Any] | None: + _user_name: str = runtime.context["user_name"] + return None + + async def awrap_model_call( + self, + request: ModelRequest[UserContext], + handler: Callable[[ModelRequest[UserContext]], Awaitable[ModelResponse[Any]]], + ) -> ModelResponse[Any]: + _user_id: str = request.runtime.context["user_id"] + return await handler(request) + + +class AsyncResponseMiddleware( + AgentMiddleware[AgentState[AnalysisResult], ContextT, AnalysisResult] +): + """Async middleware with correctly typed ResponseT.""" + + async def awrap_model_call( + self, + request: ModelRequest[ContextT], + handler: Callable[[ModelRequest[ContextT]], Awaitable[ModelResponse[AnalysisResult]]], + ) -> ModelResponse[AnalysisResult]: + response = await handler(request) + if response.structured_response is not None: + _sentiment: str = response.structured_response.sentiment + return response + + +def test_async_middleware_with_context(fake_model: GenericFakeChatModel) -> None: + """Async middleware with typed context.""" + agent: CompiledStateGraph[Any, UserContext, Any, Any] = create_agent( + model=fake_model, + middleware=[AsyncUserContextMiddleware()], + context_schema=UserContext, + ) + assert agent is not None + + +def test_async_middleware_with_response(fake_model: GenericFakeChatModel) -> None: + """Async middleware with typed response.""" + agent = create_agent( + model=fake_model, + middleware=[AsyncResponseMiddleware()], + response_format=AnalysisResult, + ) + assert agent is not None + + +# ============================================================================= +# 8. MODEL_REQUEST AND MODEL_RESPONSE TESTS +# ============================================================================= +def test_model_request_preserves_context_type() -> None: + """Test that ModelRequest.override() preserves ContextT.""" + request: ModelRequest[UserContext] = ModelRequest( + model=None, # type: ignore[arg-type] + messages=[HumanMessage(content="test")], + runtime=None, + ) + + # Override should preserve the type parameter + new_request: ModelRequest[UserContext] = request.override( + messages=[HumanMessage(content="updated")] + ) + + assert type(request) is type(new_request) + + +def test_model_request_backwards_compatible() -> None: + """Test that ModelRequest can be instantiated without type params.""" + request = ModelRequest( + model=None, # type: ignore[arg-type] + messages=[HumanMessage(content="test")], + ) + + assert request.messages[0].content == "test" + + +def test_model_request_explicit_none() -> None: + """Test ModelRequest[None] is same as unparameterized ModelRequest.""" + request1: ModelRequest[None] = ModelRequest( + model=None, # type: ignore[arg-type] + messages=[HumanMessage(content="test")], + ) + + request2: ModelRequest = ModelRequest( + model=None, # type: ignore[arg-type] + messages=[HumanMessage(content="test")], + ) + + assert type(request1) is type(request2) + + +def test_model_response_with_response_type() -> None: + """Test that ModelResponse preserves ResponseT.""" + response: ModelResponse[AnalysisResult] = ModelResponse( + result=[AIMessage(content="test")], + structured_response=AnalysisResult(sentiment="positive", confidence=0.9), + ) + + # Type checker knows structured_response is AnalysisResult | None + if response.structured_response is not None: + _sentiment: str = response.structured_response.sentiment + _confidence: float = response.structured_response.confidence + + +def test_model_response_without_structured() -> None: + """Test ModelResponse without structured response.""" + response: ModelResponse[Any] = ModelResponse( + result=[AIMessage(content="test")], + structured_response=None, + ) + + assert response.structured_response is None + + +def test_model_response_backwards_compatible() -> None: + """Test that ModelResponse can be instantiated without type params.""" + response = ModelResponse( + result=[AIMessage(content="test")], + ) + + assert response.structured_response is None diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/model.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/model.py new file mode 100644 index 0000000000000000000000000000000000000000..a406e6082ad751d5960657ccb9e22f9364d88609 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/model.py @@ -0,0 +1,112 @@ +import json +from collections.abc import Callable, Sequence +from dataclasses import asdict, is_dataclass +from typing import ( + Any, + Literal, +) + +from langchain_core.callbacks import CallbackManagerForLLMRun +from langchain_core.language_models import BaseChatModel, LanguageModelInput +from langchain_core.messages import ( + AIMessage, + BaseMessage, + ToolCall, +) +from langchain_core.outputs import ChatGeneration, ChatResult +from langchain_core.runnables import Runnable +from langchain_core.tools import BaseTool +from pydantic import BaseModel +from typing_extensions import override + + +class FakeToolCallingModel(BaseChatModel): + tool_calls: list[list[ToolCall]] | list[list[dict[str, Any]]] | None = None + structured_response: Any | None = None + index: int = 0 + tool_style: Literal["openai", "anthropic"] = "openai" + + @override + def _generate( + self, + messages: list[BaseMessage], + stop: list[str] | None = None, + run_manager: CallbackManagerForLLMRun | None = None, + **kwargs: Any, + ) -> ChatResult: + """Top Level call.""" + is_native = kwargs.get("response_format") + + if self.tool_calls: + if is_native: + tool_calls = ( + self.tool_calls[self.index] if self.index < len(self.tool_calls) else [] + ) + else: + tool_calls = self.tool_calls[self.index % len(self.tool_calls)] + else: + tool_calls = [] + + if is_native and not tool_calls: + if isinstance(self.structured_response, BaseModel): + content_obj = self.structured_response.model_dump() + elif is_dataclass(self.structured_response) and not isinstance( + self.structured_response, type + ): + content_obj = asdict(self.structured_response) + elif isinstance(self.structured_response, dict): + content_obj = self.structured_response + message = AIMessage(content=json.dumps(content_obj), id=str(self.index)) + else: + messages_string = "-".join([m.text for m in messages]) + message = AIMessage( + content=messages_string, + id=str(self.index), + tool_calls=tool_calls.copy(), + ) + self.index += 1 + return ChatResult(generations=[ChatGeneration(message=message)]) + + @property + def _llm_type(self) -> str: + return "fake-tool-call-model" + + @override + def bind_tools( + self, + tools: Sequence[dict[str, Any] | type | Callable[..., Any] | BaseTool], + *, + tool_choice: str | None = None, + **kwargs: Any, + ) -> Runnable[LanguageModelInput, AIMessage]: + if len(tools) == 0: + msg = "Must provide at least one tool" + raise ValueError(msg) + + tool_dicts = [] + for tool in tools: + if isinstance(tool, dict): + tool_dicts.append(tool) + continue + if not isinstance(tool, BaseTool): + msg = "Only BaseTool and dict is supported by FakeToolCallingModel.bind_tools" + raise TypeError(msg) + + # NOTE: this is a simplified tool spec for testing purposes only + if self.tool_style == "openai": + tool_dicts.append( + { + "type": "function", + "function": { + "name": tool.name, + }, + } + ) + elif self.tool_style == "anthropic": + tool_dicts.append( + { + "name": tool.name, + } + ) + + return self.bind(tools=tool_dicts, **kwargs) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/specifications/responses.json b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/specifications/responses.json new file mode 100644 index 0000000000000000000000000000000000000000..2755ef9756c9c92a4e30ff82bfb0967cd4876c9c --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/specifications/responses.json @@ -0,0 +1,87 @@ +[ + { + "name": "updated structured response", + "responseFormat": [ + { + "title": "role_schema_structured_output", + "type": "object", + "properties": { + "name": { "type": "string" }, + "role": { "type": "string" } + }, + "required": ["name", "role"] + }, + { + "title": "department_schema_structured_output", + "type": "object", + "properties": { + "name": { "type": "string" }, + "department": { "type": "string" } + }, + "required": ["name", "department"] + } + ], + "assertionsByInvocation": [ + { + "prompt": "What is the role of Sabine?", + "toolsWithExpectedCalls": { + "getEmployeeRole": 1, + "getEmployeeDepartment": 0 + }, + "expectedLastMessage": "Returning structured response: {'name': 'Sabine', 'role': 'Developer'}", + "expectedStructuredResponse": { "name": "Sabine", "role": "Developer" }, + "llmRequestCount": 2 + }, + { + "prompt": "In which department does Henrik work?", + "toolsWithExpectedCalls": { + "getEmployeeRole": 1, + "getEmployeeDepartment": 1 + }, + "expectedLastMessage": "Returning structured response: {'name': 'Henrik', 'department': 'IT'}", + "expectedStructuredResponse": { "name": "Henrik", "department": "IT" }, + "llmRequestCount": 4 + } + ] + }, + { + "name": "asking for information that does not fit into the response format", + "responseFormat": [ + { + "schema": { + "type": "object", + "properties": { + "name": { "type": "string" }, + "role": { "type": "string" } + }, + "required": ["name", "role"] + } + }, + { + "schema": { + "type": "object", + "properties": { + "name": { "type": "string" }, + "department": { "type": "string" } + }, + "required": ["name", "department"] + } + } + ], + "assertionsByInvocation": [ + { + "prompt": "How much does Saskia earn?", + "toolsWithExpectedCalls": { + "getEmployeeRole": 1, + "getEmployeeDepartment": 0 + }, + "expectedLastMessage": "Returning structured response: {'name': 'Saskia', 'role': 'Software Engineer'}", + "expectedStructuredResponse": { + "name": "Saskia", + "role": "Software Engineer" + }, + "llmRequestCount": 2 + } + ] + } + ] \ No newline at end of file diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/specifications/return_direct.json b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/specifications/return_direct.json new file mode 100644 index 0000000000000000000000000000000000000000..e4cc5947ce090cf634be23a290554c4b626ef68d --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/specifications/return_direct.json @@ -0,0 +1,48 @@ +[ + { + "name": "Scenario: NO return_direct, NO response_format", + "returnDirect": false, + "responseFormat": null, + "expectedToolCalls": 10, + "expectedLastMessage": "Attempts: 10", + "expectedStructuredResponse": null + }, + { + "name": "Scenario: NO return_direct, YES response_format", + "returnDirect": false, + "responseFormat": { + "type": "object", + "properties": { + "attempts": { "type": "number" }, + "succeeded": { "type": "boolean" } + }, + "required": ["attempts", "succeeded"] + }, + "expectedToolCalls": 10, + "expectedLastMessage": "Returning structured response: {'attempts': 10, 'succeeded': True}", + "expectedStructuredResponse": { "attempts": 10, "succeeded": true } + }, + { + "name": "Scenario: YES return_direct, NO response_format", + "returnDirect": true, + "responseFormat": null, + "expectedToolCalls": 1, + "expectedLastMessage": "{\"status\": \"pending\", \"attempts\": 1}", + "expectedStructuredResponse": null + }, + { + "name": "Scenario: YES return_direct, YES response_format", + "returnDirect": true, + "responseFormat": { + "type": "object", + "properties": { + "attempts": { "type": "number" }, + "succeeded": { "type": "boolean" } + }, + "required": ["attempts", "succeeded"] + }, + "expectedToolCalls": 1, + "expectedLastMessage": "{\"status\": \"pending\", \"attempts\": 1}", + "expectedStructuredResponse": null + } +] \ No newline at end of file diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_agent_name.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_agent_name.py new file mode 100644 index 0000000000000000000000000000000000000000..1ff2914a75b4eecbb46593c49dbec6e18e7d304f --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_agent_name.py @@ -0,0 +1,229 @@ +"""Test agent name parameter in create_agent. + +This module tests that the name parameter correctly sets .name on AIMessage outputs. +""" + +from __future__ import annotations + +from typing import Any, cast + +from langchain_core.messages import ( + AIMessage, + HumanMessage, + ToolCall, +) +from langchain_core.tools import tool + +from langchain.agents import create_agent +from tests.unit_tests.agents.model import FakeToolCallingModel + + +@tool +def simple_tool(x: int) -> str: + """Simple tool for basic tests.""" + return f"Result: {x}" + + +def test_agent_name_set_on_ai_message() -> None: + """Test that agent name is set on AIMessage when name is provided.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + name="test_agent", + ) + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) == 1 + assert ai_messages[0].name == "test_agent" + + +def test_agent_name_not_set_when_none() -> None: + """Test that AIMessage.name is not set when name is not provided.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + ) + + result = agent.invoke({"messages": [HumanMessage("Hello")]}) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) == 1 + assert ai_messages[0].name is None + + +def test_agent_name_on_multiple_iterations() -> None: + """Test that agent name is set on all AIMessages in multi-turn conversation.""" + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 1}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + name="multi_turn_agent", + ) + + result = agent.invoke({"messages": [HumanMessage("Call a tool")]}) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) == 2 + for msg in ai_messages: + assert msg.name == "multi_turn_agent" + + +async def test_agent_name_async() -> None: + """Test that agent name is set on AIMessage in async execution.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + name="async_agent", + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Hello async")]}) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) == 1 + assert ai_messages[0].name == "async_agent" + + +async def test_agent_name_async_multiple_iterations() -> None: + """Test that agent name is set on all AIMessages in async multi-turn.""" + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 5}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + name="async_multi_agent", + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Call tool async")]}) + + ai_messages = [m for m in result["messages"] if isinstance(m, AIMessage)] + assert len(ai_messages) == 2 + for msg in ai_messages: + assert msg.name == "async_multi_agent" + + +# Tests for lc_agent_name in streaming metadata + + +def test_lc_agent_name_in_stream_metadata() -> None: + """Test that lc_agent_name is included in metadata when streaming with name.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + name="streaming_agent", + ) + + metadata_with_agent_name = [] + for _chunk, metadata in agent.stream( + {"messages": [HumanMessage("Hello")]}, + stream_mode="messages", + ): + if "lc_agent_name" in metadata: + # `stream()` is typed `Iterator[dict[str, Any] | Any]`, so unpacking the + # tuple leaves `metadata` as `str | Any`; cast to index it as the dict it is. + metadata_with_agent_name.append(cast("dict[str, Any]", metadata)["lc_agent_name"]) + + assert len(metadata_with_agent_name) > 0 + assert all(name == "streaming_agent" for name in metadata_with_agent_name) + + +def test_lc_agent_name_not_in_stream_metadata_when_name_not_provided() -> None: + """Test that lc_agent_name is not in metadata when name is not provided.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + ) + + for _chunk, metadata in agent.stream( + {"messages": [HumanMessage("Hello")]}, + stream_mode="messages", + ): + assert "lc_agent_name" not in metadata + + +def test_lc_agent_name_in_stream_metadata_multiple_iterations() -> None: + """Test that lc_agent_name is in metadata for all stream events in multi-turn.""" + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 1}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + name="multi_turn_streaming_agent", + ) + + metadata_with_agent_name = [] + for _chunk, metadata in agent.stream( + {"messages": [HumanMessage("Call a tool")]}, + stream_mode="messages", + ): + if "lc_agent_name" in metadata: + # `stream()` is typed `Iterator[dict[str, Any] | Any]`, so unpacking the + # tuple leaves `metadata` as `str | Any`; cast to index it as the dict it is. + metadata_with_agent_name.append(cast("dict[str, Any]", metadata)["lc_agent_name"]) + + # Should have metadata entries for messages from both iterations + assert len(metadata_with_agent_name) > 0 + assert all(name == "multi_turn_streaming_agent" for name in metadata_with_agent_name) + + +async def test_lc_agent_name_in_astream_metadata() -> None: + """Test that lc_agent_name is included in metadata when async streaming with name.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + name="async_streaming_agent", + ) + + metadata_with_agent_name = [] + async for _chunk, metadata in agent.astream( + {"messages": [HumanMessage("Hello async")]}, + stream_mode="messages", + ): + if "lc_agent_name" in metadata: + # `stream()` is typed `Iterator[dict[str, Any] | Any]`, so unpacking the + # tuple leaves `metadata` as `str | Any`; cast to index it as the dict it is. + metadata_with_agent_name.append(cast("dict[str, Any]", metadata)["lc_agent_name"]) + + assert len(metadata_with_agent_name) > 0 + assert all(name == "async_streaming_agent" for name in metadata_with_agent_name) + + +async def test_lc_agent_name_not_in_astream_metadata_when_name_not_provided() -> None: + """Test that lc_agent_name is not in async stream metadata when name not provided.""" + tool_calls: list[list[ToolCall]] = [[]] + agent = create_agent( + model=FakeToolCallingModel(tool_calls=tool_calls), + ) + + async for _chunk, metadata in agent.astream( + {"messages": [HumanMessage("Hello async")]}, + stream_mode="messages", + ): + assert "lc_agent_name" not in metadata + + +async def test_lc_agent_name_in_astream_metadata_multiple_iterations() -> None: + """Test that lc_agent_name is in metadata for all async stream events in multi-turn.""" + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 5}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + name="async_multi_turn_streaming_agent", + ) + + metadata_with_agent_name = [] + async for _chunk, metadata in agent.astream( + {"messages": [HumanMessage("Call tool async")]}, + stream_mode="messages", + ): + if "lc_agent_name" in metadata: + # `stream()` is typed `Iterator[dict[str, Any] | Any]`, so unpacking the + # tuple leaves `metadata` as `str | Any`; cast to index it as the dict it is. + metadata_with_agent_name.append(cast("dict[str, Any]", metadata)["lc_agent_name"]) + + # Should have metadata entries for messages from both iterations + assert len(metadata_with_agent_name) > 0 + assert all(name == "async_multi_turn_streaming_agent" for name in metadata_with_agent_name) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_agent_streaming.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_agent_streaming.py new file mode 100644 index 0000000000000000000000000000000000000000..4aa58a3f1aed4cf372566ef988bc82729d04cf91 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_agent_streaming.py @@ -0,0 +1,285 @@ +"""Unit tests for create_agent graphs streaming via `stream_events(version="v3")`.""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any + +import pytest +from langchain_core.messages import HumanMessage +from langchain_core.runnables import RunnableConfig # noqa: TC002 +from langchain_core.tools import tool +from langgraph.prebuilt import ToolCallTransformer +from langgraph.stream import StreamChannel, StreamTransformer + +from langchain.agents import create_agent +from langchain.tools import ToolRuntime # noqa: TC001 +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langgraph.prebuilt._tool_call_stream import ToolCallStream + from langgraph.stream._types import ProtocolEvent + + +@tool +def echo(text: str) -> str: + """Return the input unchanged.""" + return text + + +@tool +def streamer(text: str, runtime: ToolRuntime) -> str: + """Stream two chunks, then return the full text.""" + for chunk in ("one", "two"): + runtime.emit_output_delta(chunk) + return text + + +@tool +async def astreamer(text: str, runtime: ToolRuntime) -> str: + """Async: stream two chunks, then return the full text.""" + runtime.emit_output_delta(text) + runtime.emit_output_delta(text + "!") + return text + + +@tool +def boom() -> str: + """Raise unconditionally.""" + msg = "nope" + raise ValueError(msg) + + +def _single_tool_call_script(name: str, **args: Any) -> list[list[dict[str, Any]]]: + """Script: one tool call on turn 0, finish on turn 1.""" + return [ + [{"name": name, "args": args, "id": "tc1"}], + [], + ] + + +class TestAgentStreamV3Sync: + def test_stream_returns_agent_run_stream(self) -> None: + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("echo", text="x")) + agent = create_agent(model, [echo]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + # Drain so the run closes cleanly. + list(run.tool_calls) + + def test_tool_calls_populated_without_opt_in(self) -> None: + """`ToolCallTransformer` is registered by default on the agent streamer.""" + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("echo", text="x")) + agent = create_agent(model, [echo]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + collected: list[ToolCallStream] = list(run.tool_calls) + assert len(collected) == 1 + tc = collected[0] + assert tc.tool_name == "echo" + assert tc.tool_call_id == "tc1" + assert tc.completed is True + assert tc.error is None + + def test_tool_output_deltas_flow_through(self) -> None: + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("streamer", text="x")) + agent = create_agent(model, [streamer]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + tool_calls: list[ToolCallStream] = [] + for tc in run.tool_calls: + tool_calls.append(tc) + assert list(tc.output_deltas) == ["one", "two"] + assert len(tool_calls) == 1 + + def test_no_tools_run_is_still_usable(self) -> None: + """`.tool_calls` is empty when the model never calls a tool.""" + model = FakeToolCallingModel() # no tool calls scripted + agent = create_agent(model, []) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + assert list(run.tool_calls) == [] + assert run.output is not None + + def test_messages_projection_present(self) -> None: + """`MessagesTransformer` is inherited from `GraphStreamer.builtin_factories`.""" + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("echo", text="x")) + agent = create_agent(model, [echo]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + # The native `messages` projection is bound as an instance attribute + # by `BaseRunStream.__init__` whenever `MessagesTransformer` is + # registered. Content population is covered by langgraph tests — + # here we only assert the agent streamer inherits the built-in. + assert "messages" in run._mux.extensions + assert hasattr(run, "messages") + # Drain so the run closes cleanly. + for tc in run.tool_calls: + list(tc.output_deltas) + + def test_caller_transformers_appended_not_replaced(self) -> None: + """User-supplied transformers add to, rather than replace, the agent defaults.""" + + class _Marker(StreamTransformer): + required_stream_modes = () + + def __init__(self, scope: tuple[str, ...] = ()) -> None: + super().__init__(scope) + self._log: StreamChannel[int] = StreamChannel() + + def init(self) -> dict[str, Any]: + return {"marker": self._log} + + def process(self, event: ProtocolEvent) -> bool: + del event + return True + + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("echo", text="x")) + agent = create_agent(model, [echo]) + + run = agent.stream_events( + {"messages": [HumanMessage("hi")]}, + version="v3", + transformers=[_Marker], + ) + # Both the agent default and the user transformer are registered. + assert "tool_calls" in run._mux.extensions + assert "marker" in run._mux.extensions + + # `ToolCallTransformer` must come BEFORE the user's transformer in + # the registration order so it processes `tools` events first. The + # docstring on `create_agent` promises caller transformers are + # appended after the built-in. + transformers = run._mux._transformers + tool_call_idx = next( + i for i, t in enumerate(transformers) if isinstance(t, ToolCallTransformer) + ) + marker_idx = next(i for i, t in enumerate(transformers) if isinstance(t, _Marker)) + assert tool_call_idx < marker_idx, ( + "ToolCallTransformer must be registered before user-supplied transformers" + ) + + list(run.tool_calls) + + def test_tool_error_sets_error_field(self) -> None: + """Tool errors are surfaced on the `ToolCallStream.error` field. + + `create_agent`'s default tool-error handler re-raises, so the + overall run fails — the assertion here is that the error is + attached to the scoped `ToolCallStream` *before* the run raises. + """ + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("boom")) + agent = create_agent(model, [boom]) + + run = agent.stream_events({"messages": [HumanMessage("hi")]}, version="v3") + + collected: list[ToolCallStream] = [] + + def _drive() -> None: + for tc in run.tool_calls: + collected.append(tc) + list(tc.output_deltas) + + with pytest.raises(ValueError, match="nope"): + _drive() + assert len(collected) == 1 + assert collected[0].error is not None + assert "nope" in collected[0].error + assert collected[0].completed is True + + def test_inner_agent_tool_calls_via_subgraph(self) -> None: + """An inner `create_agent` invoked from a tool exposes its own tool calls. + + Wiring a sub-agent through a `@tool` is the canonical pattern + for hierarchical agents. The outer caller iterates `run.subgraphs` + and finds a `tool_calls` projection on each subgraph handle + — populated by a fresh per-scope `ToolCallTransformer` instance. + """ + + @tool + def inner_echo(text: str) -> str: + """Echo via inner agent.""" + return text + + inner_model = FakeToolCallingModel( + tool_calls=_single_tool_call_script("inner_echo", text="leaf"), + ) + inner_agent = create_agent(inner_model, [inner_echo]) + + @tool + def run_inner(query: str, config: RunnableConfig) -> str: + """Delegate `query` to the inner agent and return its reply.""" + result = inner_agent.invoke( + {"messages": [HumanMessage(query)]}, + config, + ) + return str(result["messages"][-1].content) + + outer_model = FakeToolCallingModel( + tool_calls=_single_tool_call_script("run_inner", query="leaf"), + ) + outer_agent = create_agent(outer_model, [run_inner]) + + run = outer_agent.stream_events( + {"messages": [HumanMessage("go")]}, + version="v3", + ) + + outer_tool_calls: list[ToolCallStream] = [] + inner_tool_calls: list[ToolCallStream] = [] + + # `tool_calls` and `subgraphs` are single-subscriber channels, so + # interleave them through the run's round-robin cursor. Drilling + # into `sub.tool_calls` inside the loop body subscribes the inner + # mini-mux before the next pump cycle, satisfying the lazy-subscribe + # contract on subgraph handles. + for name, item in run.interleave("tool_calls", "subgraphs"): + if name == "tool_calls": + outer_tool_calls.append(item) + else: # "subgraphs" + for tc in item.tool_calls: + inner_tool_calls.append(tc) + list(tc.output_deltas) + + # Outer's `tool_calls` projection owns only its own scope: it has + # the call to `run_inner` and nothing from the inner subgraph. + assert len(outer_tool_calls) == 1 + assert outer_tool_calls[0].tool_name == "run_inner" + assert outer_tool_calls[0].completed is True + assert outer_tool_calls[0].error is None + + # The inner agent's `inner_echo` tool call is reachable via the + # subgraph's per-scope `tool_calls` projection. + assert len(inner_tool_calls) == 1 + assert inner_tool_calls[0].tool_name == "inner_echo" + assert inner_tool_calls[0].completed is True + assert inner_tool_calls[0].error is None + + +class TestAgentStreamV3Async: + @pytest.mark.anyio + async def test_astream_returns_async_agent_run_stream(self) -> None: + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("echo", text="x")) + agent = create_agent(model, [echo]) + + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + async for tc in run.tool_calls: + async for _ in tc.output_deltas: + pass + + @pytest.mark.anyio + async def test_async_tool_deltas_flow(self) -> None: + model = FakeToolCallingModel(tool_calls=_single_tool_call_script("astreamer", text="hi")) + agent = create_agent(model, [astreamer]) + + run = await agent.astream_events({"messages": [HumanMessage("hi")]}, version="v3") + + collected: list[ToolCallStream] = [] + async for tc in run.tool_calls: + collected.append(tc) + deltas = [d async for d in tc.output_deltas] + assert deltas == ["hi", "hi!"] + assert len(collected) == 1 + assert collected[0].completed is True diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_create_agent_tool_validation.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_create_agent_tool_validation.py new file mode 100644 index 0000000000000000000000000000000000000000..eab76855871f168b1452aa871e20ed78780bc3d7 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_create_agent_tool_validation.py @@ -0,0 +1,411 @@ +import sys +from typing import Annotated, Any + +import pytest +from langchain_core.messages import HumanMessage +from langchain_core.tools import BaseTool +from langgraph.prebuilt import InjectedStore, ToolRuntime +from langgraph.store.base import BaseStore +from langgraph.store.memory import InMemoryStore + +from langchain.agents import AgentState, create_agent +from langchain.agents.middleware import InputAgentState +from langchain.tools import InjectedState +from langchain.tools import tool as dec_tool +from tests.unit_tests.agents.model import FakeToolCallingModel + + +class UserState(AgentState[Any]): + user_id: str + api_key: str + session_data: dict[str, Any] + + +@pytest.mark.skipif( + sys.version_info >= (3, 14), reason="Pydantic model rebuild issue in Python 3.14" +) +def test_tool_invocation_error_excludes_injected_state() -> None: + """Test that tool invocation errors only include LLM-controllable arguments. + + When a tool has InjectedState parameters and the LLM makes an incorrect + invocation (e.g., missing required arguments), the error message should only + contain the arguments from the tool call that the LLM controls. This ensures + the LLM receives relevant context to correct its mistakes, without being + distracted by system-injected parameters it has no control over. + This test uses create_agent to ensure the behavior works in a full agent context. + """ + + class TestState(AgentState[Any]): + secret_data: str + + class TestInputState(InputAgentState): + secret_data: str + + @dec_tool + def tool_with_injected_state( + some_val: int, + state: Annotated[TestState, InjectedState], + ) -> str: + """Tool that uses injected state.""" + _ = (some_val, state) + return "ok" + + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "name": "tool_with_injected_state", + "args": {"wrong_arg": "value"}, + "id": "call_1", + } + ], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[tool_with_injected_state], + state_schema=TestState, + ) + + result = agent.invoke( + TestInputState( + messages=[HumanMessage("Test message")], + secret_data="sensitive_secret_123", # noqa: S106 + ) + ) + + tool_messages = [m for m in result["messages"] if m.type == "tool"] + assert len(tool_messages) == 1 + tool_message = tool_messages[0] + assert tool_message.status == "error" + + assert "{'wrong_arg': 'value'}" in tool_message.content + assert "secret_data" not in tool_message.content + assert "sensitive_secret_123" not in tool_message.content + + +@pytest.mark.skipif( + sys.version_info >= (3, 14), reason="Pydantic model rebuild issue in Python 3.14" +) +async def test_tool_invocation_error_excludes_injected_state_async() -> None: + """Test that async tool invocation errors only include LLM-controllable arguments. + + This test verifies that the async execution path (_execute_tool_async and _arun_one) + properly filters validation errors to exclude system-injected arguments, ensuring + the LLM receives only relevant context for correction. + """ + + class TestState(AgentState[Any]): + internal_data: str + + class TestInputState(InputAgentState): + internal_data: str + + @dec_tool + async def async_tool_with_injected_state( + query: str, + max_results: int, + state: Annotated[TestState, InjectedState], + ) -> str: + """Async tool that uses injected state.""" + _ = (query, max_results, state) + return "ok" + + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "name": "async_tool_with_injected_state", + "args": {"query": 999}, + "id": "call_async_1", + } + ], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[async_tool_with_injected_state], + state_schema=TestState, + ) + + result = await agent.ainvoke( + TestInputState( + messages=[HumanMessage("Test async")], internal_data="secret_internal_value_xyz" + ) + ) + + tool_messages = [m for m in result["messages"] if m.type == "tool"] + assert len(tool_messages) == 1 + tool_message = tool_messages[0] + assert tool_message.status == "error" + + content = tool_message.content + assert "query" in content.lower(), "Error should mention 'query' (LLM-controlled)" + assert "max_results" in content.lower(), "Error should mention 'max_results' (LLM-controlled)" + assert "internal_data" not in content, ( + "Error should NOT mention 'internal_data' (system-injected field)" + ) + assert "secret_internal_value" not in content, ( + "Error should NOT contain system-injected state values" + ) + + lines = content.split("\n") + error_lines = [line.strip() for line in lines if line.strip()] + field_errors = [ + line + for line in error_lines + if line + and not line.startswith("input") + and not line.startswith("field") + and not line.startswith("error") + and not line.startswith("please") + and len(line.split()) <= 2 + ] + assert not any(field.lower() == "state" for field in field_errors), ( + "The field 'state' (system-injected) should not appear in validation errors" + ) + + +@pytest.mark.skipif( + sys.version_info >= (3, 14), reason="Pydantic model rebuild issue in Python 3.14" +) +def test_create_agent_error() -> None: + """Test that error messages only include LLM-controlled parameter errors. + + Uses create_agent to verify that when a tool with both LLM-controlled + and system-injected parameters receives invalid arguments, the error message: + 1. Contains details about LLM-controlled parameter errors (query, limit) + 2. Does NOT contain system-injected parameter names (state, store, runtime) + 3. Does NOT contain values from system-injected parameters + 4. Properly formats the validation errors for LLM correction + This ensures the LLM receives focused, actionable feedback. + """ + + @dec_tool + def complex_tool( + query: str, + limit: int, + state: Annotated[UserState, InjectedState], + store: Annotated[BaseStore, InjectedStore()], + runtime: ToolRuntime, + ) -> str: + """A complex tool with multiple injected and non-injected parameters. + + Args: + query: The search query string. + limit: Maximum number of results to return. + state: The graph state (injected). + store: The persistent store (injected). + runtime: The tool runtime context (injected). + """ + _ = (query, limit, state, store, runtime) + return "ok" + + agent, payload = _build_complex_agent(complex_tool) + _assert_agent_error(agent.invoke(payload)) + + +@pytest.mark.skipif( + sys.version_info >= (3, 14), reason="Pydantic model rebuild issue in Python 3.14" +) +async def test_create_agent_error_async() -> None: + """Test that error messages only include LLM-controlled parameter errors. + + Uses create_agent to verify that when a tool with both LLM-controlled + and system-injected parameters receives invalid arguments, the error message: + 1. Contains details about LLM-controlled parameter errors (query, limit) + 2. Does NOT contain system-injected parameter names (state, store, runtime) + 3. Does NOT contain values from system-injected parameters + 4. Properly formats the validation errors for LLM correction + This ensures the LLM receives focused, actionable feedback. + """ + + @dec_tool + async def complex_tool( + query: str, + limit: int, + state: Annotated[UserState, InjectedState], + store: Annotated[BaseStore, InjectedStore()], + runtime: ToolRuntime, + ) -> str: + """A complex tool with multiple injected and non-injected parameters. + + Args: + query: The search query string. + limit: Maximum number of results to return. + state: The graph state (injected). + store: The persistent store (injected). + runtime: The tool runtime context (injected). + """ + _ = (query, limit, state, store, runtime) + return "ok" + + agent, payload = _build_complex_agent(complex_tool) + _assert_agent_error(await agent.ainvoke(payload)) + + +def _build_complex_agent(tool: BaseTool) -> tuple[Any, dict[str, Any]]: + """Build an agent and invocation payload shared by the complex-tool error tests. + + The model issues a single tool call with multiple errors: + - `query` has the wrong type (int instead of str) + - `wrong_arg` is not an expected parameter + - `limit` is missing (required) + Then returns no tool calls so the agent loop terminates. + + Args: + tool: The complex tool (sync or async) under test. + + Returns: + The compiled agent and the invocation payload (with sensitive state values). + """ + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "name": "complex_tool", + "args": { + "query": 12345, # Wrong type - should be str + "wrong_arg": "value", # Not an expected parameter + # "limit" is missing - required field + }, + "id": "call_complex_1", + } + ], + [], # No tool calls on second iteration to end the loop + ] + ) + + # A store is required because the tool uses InjectedStore. + agent = create_agent( + model=model, + tools=[tool], + state_schema=UserState, + store=InMemoryStore(), + ) + + payload = { + "messages": [HumanMessage("Search for something")], + "user_id": "user_12345", + "api_key": "sk-secret-key-abc123xyz", + "session_data": {"token": "secret_session_token"}, + } + + return agent, payload + + +def _assert_agent_error(result: dict[str, Any]) -> None: + # Find the tool error message + tool_messages = [m for m in result["messages"] if m.type == "tool"] + assert len(tool_messages) == 1 + tool_message = tool_messages[0] + assert tool_message.status == "error" + assert tool_message.tool_call_id == "call_complex_1" + + content = tool_message.content.lower() + assert "with error:" in content, "Error should be formatted with an error section" + _, _, error = content.partition("with error:") + + # Verify the error section mentions LLM-controlled parameter issues + assert "query" in error, "Error should mention 'query' (LLM-controlled)" + assert "limit" in error, "Error should mention 'limit' (LLM-controlled)" + + # The LLM's original (invalid) args are echoed back so it can self-correct + assert "wrong_arg" in content, "Error should echo the LLM-provided 'wrong_arg'" + assert "12345" in content, "Error should show the invalid query value provided by LLM (12345)" + assert "complex_tool" in content, "Error should mention the tool name" + + # Verify NO system-injected parameter names appear in error + # These are not controlled by the LLM and should be excluded + assert "state" not in content, "Error should NOT mention 'state' (system-injected)" + assert "store" not in content, "Error should NOT mention 'store' (system-injected)" + assert "runtime" not in content, "Error should NOT mention 'runtime' (system-injected)" + + # Verify NO values from system-injected parameters appear in error + # The LLM doesn't control these, so they shouldn't distract from the actual issues + assert "user_12345" not in content, "Error should NOT contain user_id value (from state)" + assert "sk-secret-key" not in content, "Error should NOT contain api_key value (from state)" + assert "secret_session_token" not in content, ( + "Error should NOT contain session_data value (from state)" + ) + + +@pytest.mark.skipif( + sys.version_info >= (3, 14), reason="Pydantic model rebuild issue in Python 3.14" +) +def test_create_agent_error_only_model_controllable_params() -> None: + """Test that errors only include LLM-controllable parameter issues. + + Focused test ensuring that validation errors for LLM-controlled parameters + are clearly reported, while system-injected parameters remain completely + absent from error messages. This provides focused feedback to the LLM. + """ + + class StateWithSecrets(AgentState[Any]): + password: str + + class InputStateWithSecrets(InputAgentState): + password: str + + @dec_tool + def secure_tool( + username: str, + email: str, + state: Annotated[StateWithSecrets, InjectedState], + ) -> str: + """Tool that validates user credentials. + + Args: + username: The username (3-20 chars). + email: The email address. + state: State with password (system-injected). + """ + _ = state + return f"Validated {username} with email {email}" + + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "name": "secure_tool", + "args": { + "username": "ab", + "email": "not-an-email", + }, + "id": "call_secure_1", + } + ], + [], + ] + ) + + agent = create_agent( + model=model, + tools=[secure_tool], + state_schema=StateWithSecrets, + ) + + result = agent.invoke( + InputStateWithSecrets( + messages=[HumanMessage("Create account")], + password="super_secret_password_12345", # noqa: S106 + ) + ) + + tool_messages = [m for m in result["messages"] if m.type == "tool"] + assert len(tool_messages) == 1 + content = tool_messages[0].content + + assert "username" in content.lower() or "email" in content.lower(), ( + "Error should mention at least one LLM-controlled parameter" + ) + assert "password" not in content.lower(), ( + "Error should NOT mention 'password' (system-injected parameter)" + ) + assert "super_secret_password" not in content, ( + "Error should NOT contain password value (from system-injected state)" + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_fetch_last_ai_and_tool_messages.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_fetch_last_ai_and_tool_messages.py new file mode 100644 index 0000000000000000000000000000000000000000..a1c9204db32b62f350f10c260584f0880171ee7d --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_fetch_last_ai_and_tool_messages.py @@ -0,0 +1,107 @@ +"""Unit tests for _fetch_last_ai_and_tool_messages helper function. + +These tests verify that the helper function correctly handles edge cases, +including the scenario where no AIMessage exists in the message list +(fixes issue #34792). +""" + +from langchain_core.messages import AIMessage, AnyMessage, HumanMessage, SystemMessage, ToolMessage + +from langchain.agents.factory import _fetch_last_ai_and_tool_messages + + +def test_fetch_last_ai_and_tool_messages_normal() -> None: + """Test normal case with AIMessage and subsequent ToolMessages.""" + messages: list[AnyMessage] = [ + HumanMessage(content="Hello"), + AIMessage(content="Hi there!", tool_calls=[{"name": "test", "id": "1", "args": {}}]), + ToolMessage(content="Tool result", tool_call_id="1"), + ] + + ai_msg, tool_msgs = _fetch_last_ai_and_tool_messages(messages) + + assert ai_msg is not None + assert isinstance(ai_msg, AIMessage) + assert ai_msg.content == "Hi there!" + assert len(tool_msgs) == 1 + assert tool_msgs[0].content == "Tool result" + + +def test_fetch_last_ai_and_tool_messages_multiple_ai() -> None: + """Test that the last AIMessage is returned when multiple exist.""" + messages: list[AnyMessage] = [ + HumanMessage(content="First question"), + AIMessage(content="First answer", id="ai1"), + HumanMessage(content="Second question"), + AIMessage(content="Second answer", id="ai2"), + ] + + ai_msg, tool_msgs = _fetch_last_ai_and_tool_messages(messages) + + assert ai_msg is not None + assert isinstance(ai_msg, AIMessage) + assert ai_msg.content == "Second answer" + assert ai_msg.id == "ai2" + assert len(tool_msgs) == 0 + + +def test_fetch_last_ai_and_tool_messages_no_ai_message() -> None: + """Test handling when no AIMessage exists in messages. + + This is the edge case that caused issue #34792 - UnboundLocalError + when using RemoveMessage(id=REMOVE_ALL_MESSAGES) to clear thread messages. + The function now returns None for the AIMessage, allowing callers to + handle this edge case explicitly. + """ + messages: list[AnyMessage] = [ + HumanMessage(content="Hello"), + SystemMessage(content="You are a helpful assistant"), + ] + + ai_msg, tool_msgs = _fetch_last_ai_and_tool_messages(messages) + + # Should return None when no AIMessage is found + assert ai_msg is None + assert len(tool_msgs) == 0 + + +def test_fetch_last_ai_and_tool_messages_empty_list() -> None: + """Test handling of empty messages list. + + This can occur after RemoveMessage(id=REMOVE_ALL_MESSAGES) clears all messages. + """ + messages: list[AnyMessage] = [] + + ai_msg, tool_msgs = _fetch_last_ai_and_tool_messages(messages) + + # Should return None when no AIMessage is found + assert ai_msg is None + assert len(tool_msgs) == 0 + + +def test_fetch_last_ai_and_tool_messages_only_human_messages() -> None: + """Test handling when only HumanMessages exist.""" + messages: list[AnyMessage] = [ + HumanMessage(content="Hello"), + HumanMessage(content="Are you there?"), + ] + + ai_msg, tool_msgs = _fetch_last_ai_and_tool_messages(messages) + + assert ai_msg is None + assert len(tool_msgs) == 0 + + +def test_fetch_last_ai_and_tool_messages_ai_without_tool_calls() -> None: + """Test AIMessage without tool_calls returns empty tool messages list.""" + messages: list[AnyMessage] = [ + HumanMessage(content="Hello"), + AIMessage(content="Hi! How can I help you today?"), + ] + + ai_msg, tool_msgs = _fetch_last_ai_and_tool_messages(messages) + + assert ai_msg is not None + assert isinstance(ai_msg, AIMessage) + assert ai_msg.content == "Hi! How can I help you today?" + assert len(tool_msgs) == 0 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_injected_runtime_create_agent.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_injected_runtime_create_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..f9d13afc322890f26fe9dd552be1db8b6394e3d4 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_injected_runtime_create_agent.py @@ -0,0 +1,859 @@ +"""Test ToolRuntime injection with create_agent. + +This module tests the injected runtime functionality when using tools +with the create_agent factory. The ToolRuntime provides tools access to: +- state: Current graph state +- tool_call_id: ID of the current tool call +- config: RunnableConfig for the execution +- context: Runtime context from LangGraph +- store: BaseStore for persistent storage +- stream_writer: For streaming custom output + +These tests verify that runtime injection works correctly across both +sync and async execution paths, with middleware, and in various agent +configurations. +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Annotated, Any + +from langchain_core.messages import HumanMessage, ToolMessage +from langchain_core.tools import tool +from langgraph.prebuilt import InjectedStore +from langgraph.store.memory import InMemoryStore +from typing_extensions import override + +from langchain.agents import create_agent +from langchain.agents.middleware.types import AgentMiddleware, AgentState, InputAgentState +from langchain.tools import InjectedState, ToolRuntime +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langgraph.runtime import Runtime + + +def test_tool_runtime_basic_injection() -> None: + """Test basic ToolRuntime injection in tools with create_agent.""" + # Track what was injected + injected_data: dict[str, Any] = {} + + @tool + def runtime_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that accesses runtime context.""" + injected_data["state"] = runtime.state + injected_data["tool_call_id"] = runtime.tool_call_id + injected_data["config"] = runtime.config + injected_data["context"] = runtime.context + injected_data["store"] = runtime.store + injected_data["stream_writer"] = runtime.stream_writer + return f"Processed {x}" + + assert runtime_tool.args + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 42}, "id": "call_123", "name": "runtime_tool"}], + [], + ] + ), + tools=[runtime_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + # Verify tool executed + assert len(result["messages"]) == 4 + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Processed 42" + assert tool_message.tool_call_id == "call_123" + + # Verify runtime was injected + assert injected_data["state"] is not None + assert "messages" in injected_data["state"] + assert injected_data["tool_call_id"] == "call_123" + assert injected_data["config"] is not None + # Context, store, stream_writer may be None depending on graph setup + assert "context" in injected_data + assert "store" in injected_data + assert "stream_writer" in injected_data + + +async def test_tool_runtime_async_injection() -> None: + """Test ToolRuntime injection works with async tools.""" + injected_data: dict[str, Any] = {} + + @tool + async def async_runtime_tool(x: int, runtime: ToolRuntime) -> str: + """Async tool that accesses runtime context.""" + injected_data["state"] = runtime.state + injected_data["tool_call_id"] = runtime.tool_call_id + injected_data["config"] = runtime.config + return f"Async processed {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 99}, "id": "async_call_456", "name": "async_runtime_tool"}], + [], + ] + ), + tools=[async_runtime_tool], + system_prompt="You are a helpful assistant.", + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Test async")]}) + + # Verify tool executed + assert len(result["messages"]) == 4 + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Async processed 99" + assert tool_message.tool_call_id == "async_call_456" + + # Verify runtime was injected + assert injected_data["state"] is not None + assert "messages" in injected_data["state"] + assert injected_data["tool_call_id"] == "async_call_456" + assert injected_data["config"] is not None + + +def test_tool_runtime_state_access() -> None: + """Test that tools can access and use state via ToolRuntime.""" + + @tool + def state_aware_tool(query: str, runtime: ToolRuntime) -> str: + """Tool that uses state to provide context-aware responses.""" + messages = runtime.state.get("messages", []) + msg_count = len(messages) + return f"Query: {query}, Message count: {msg_count}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"query": "test"}, "id": "state_call", "name": "state_aware_tool"}], + [], + ] + ), + tools=[state_aware_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Hello"), HumanMessage("World")]}) + + # Check that tool accessed state correctly + tool_message = result["messages"][3] + assert isinstance(tool_message, ToolMessage) + # Should have original 2 HumanMessages + 1 AIMessage before tool execution + assert "Message count: 3" in tool_message.content + + +def test_tool_runtime_with_store() -> None: + """Test ToolRuntime provides access to store.""" + # Note: create_agent doesn't currently expose a store parameter, + # so runtime.store will be None in this test. + # This test demonstrates the runtime injection works correctly. + + @tool + def store_tool(key: str, value: str, runtime: ToolRuntime) -> str: + """Tool that uses store.""" + if runtime.store is None: + return f"No store (key={key}, value={value})" + runtime.store.put(("test",), key, {"data": value}) + return f"Stored {key}={value}" + + @tool + def check_runtime_tool(runtime: ToolRuntime) -> str: + """Tool that checks runtime availability.""" + has_store = runtime.store is not None + has_context = runtime.context is not None + return f"Runtime: store={has_store}, context={has_context}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"key": "foo", "value": "bar"}, "id": "call_1", "name": "store_tool"}], + [{"args": {}, "id": "call_2", "name": "check_runtime_tool"}], + [], + ] + ), + tools=[store_tool, check_runtime_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Test store")]}) + + # Find the tool messages + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 2 + + # First tool indicates no store is available (expected since create_agent doesn't expose store) + assert "No store" in tool_messages[0].content + + # Second tool confirms runtime was injected + assert "Runtime:" in tool_messages[1].content + + +def test_tool_runtime_with_multiple_tools() -> None: + """Test multiple tools can all access ToolRuntime.""" + call_log: list[tuple[str, str | None, int | str]] = [] + + @tool + def tool_a(x: int, runtime: ToolRuntime) -> str: + """First tool.""" + call_log.append(("tool_a", runtime.tool_call_id, x)) + return f"A: {x}" + + @tool + def tool_b(y: str, runtime: ToolRuntime) -> str: + """Second tool.""" + call_log.append(("tool_b", runtime.tool_call_id, y)) + return f"B: {y}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [ + {"args": {"x": 1}, "id": "call_a", "name": "tool_a"}, + {"args": {"y": "test"}, "id": "call_b", "name": "tool_b"}, + ], + [], + ] + ), + tools=[tool_a, tool_b], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Use both tools")]}) + + # Verify both tools were called with correct runtime + assert len(call_log) == 2 + # Tools may execute in parallel, so check both calls are present + call_ids = {(name, call_id) for name, call_id, _ in call_log} + assert ("tool_a", "call_a") in call_ids + assert ("tool_b", "call_b") in call_ids + + # Verify tool messages + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 2 + contents = {msg.content for msg in tool_messages} + assert "A: 1" in contents + assert "B: test" in contents + + +def test_tool_runtime_config_access() -> None: + """Test tools can access config through ToolRuntime.""" + config_data: dict[str, Any] = {} + + @tool + def config_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that accesses config.""" + config_data["config_exists"] = runtime.config is not None + config_data["has_configurable"] = ( + "configurable" in runtime.config if runtime.config else False + ) + if runtime.config: + config_data["config_keys"] = list(runtime.config.keys()) + config_data["recursion_limit"] = runtime.config.get("recursion_limit") + config_data["metadata"] = runtime.config.get("metadata") + return f"Config accessed for {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 5}, "id": "config_call", "name": "config_tool"}], + [], + ] + ), + tools=[config_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke( + {"messages": [HumanMessage("Test config")]}, + ) + + assert config_data["config_exists"] is True + assert "config_keys" in config_data + assert config_data["recursion_limit"] == 9999 + assert config_data["metadata"]["ls_integration"] == "langchain_create_agent" + + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Config accessed for 5" + + result = agent.invoke( + {"messages": [HumanMessage("Test config again")]}, + config={"recursion_limit": 7}, + ) + + assert config_data["recursion_limit"] == 7 + + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Config accessed for 5" + + +def test_tool_runtime_with_custom_state() -> None: + """Test ToolRuntime works with custom state schemas.""" + + class CustomState(AgentState[Any]): + custom_field: str + + class CustomInputState(InputAgentState): + custom_field: str + + runtime_state = {} + + @tool + def custom_state_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that accesses custom state.""" + runtime_state["custom_field"] = runtime.state.get("custom_field", "not found") + return f"Custom: {x}" + + class CustomMiddleware(AgentMiddleware): + state_schema = CustomState + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 10}, "id": "custom_call", "name": "custom_state_tool"}], + [], + ] + ), + tools=[custom_state_tool], + system_prompt="You are a helpful assistant.", + middleware=[CustomMiddleware()], + ) + + result = agent.invoke( + CustomInputState( + messages=[HumanMessage("Test custom state")], + custom_field="custom_value", + ) + ) + + # Verify custom field was accessible + assert runtime_state["custom_field"] == "custom_value" + + # Verify tool executed + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Custom: 10" + + +def test_tool_runtime_no_runtime_parameter() -> None: + """Test that tools without runtime parameter work normally.""" + + @tool + def regular_tool(x: int) -> str: + """Regular tool without runtime.""" + return f"Regular: {x}" + + @tool + def runtime_tool(y: int, runtime: ToolRuntime) -> str: + """Tool with runtime.""" + return f"Runtime: {y}, call_id: {runtime.tool_call_id}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [ + {"args": {"x": 1}, "id": "regular_call", "name": "regular_tool"}, + {"args": {"y": 2}, "id": "runtime_call", "name": "runtime_tool"}, + ], + [], + ] + ), + tools=[regular_tool, runtime_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Test mixed tools")]}) + + # Verify both tools executed correctly + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 2 + assert tool_messages[0].content == "Regular: 1" + assert "Runtime: 2, call_id: runtime_call" in tool_messages[1].content + + +async def test_tool_runtime_parallel_execution() -> None: + """Test ToolRuntime injection works with parallel tool execution.""" + execution_log = [] + + @tool + async def parallel_tool_1(x: int, runtime: ToolRuntime) -> str: + """First parallel tool.""" + execution_log.append(("tool_1", runtime.tool_call_id, x)) + return f"Tool1: {x}" + + @tool + async def parallel_tool_2(y: int, runtime: ToolRuntime) -> str: + """Second parallel tool.""" + execution_log.append(("tool_2", runtime.tool_call_id, y)) + return f"Tool2: {y}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [ + {"args": {"x": 10}, "id": "parallel_1", "name": "parallel_tool_1"}, + {"args": {"y": 20}, "id": "parallel_2", "name": "parallel_tool_2"}, + ], + [], + ] + ), + tools=[parallel_tool_1, parallel_tool_2], + system_prompt="You are a helpful assistant.", + ) + + result = await agent.ainvoke({"messages": [HumanMessage("Run parallel")]}) + + # Verify both tools executed + assert len(execution_log) == 2 + + # Find the tool messages (order may vary due to parallel execution) + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 2 + + contents = {msg.content for msg in tool_messages} + assert "Tool1: 10" in contents + assert "Tool2: 20" in contents + + call_ids = {msg.tool_call_id for msg in tool_messages} + assert "parallel_1" in call_ids + assert "parallel_2" in call_ids + + +def test_tool_runtime_error_handling() -> None: + """Test error handling with ToolRuntime injection.""" + + @tool + def error_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that may error.""" + # Access runtime to ensure it's injected even during errors + _ = runtime.tool_call_id + if x == 0: + msg = "Cannot process zero" + raise ValueError(msg) + return f"Processed: {x}" + + # create_agent uses default error handling which doesn't catch ValueError + # So we need to handle this differently + @tool + def safe_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that handles errors safely.""" + assert isinstance(runtime, ToolRuntime) + try: + if x == 0: + return "Error: Cannot process zero" + except Exception as e: + return f"Error: {e}" + return f"Processed: {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 0}, "id": "error_call", "name": "safe_tool"}], + [{"args": {"x": 5}, "id": "success_call", "name": "safe_tool"}], + [], + ] + ), + tools=[safe_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Test error handling")]}) + + # Both tool calls should complete + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 2 + + # First call returned error message + assert "Error:" in tool_messages[0].content or "Cannot process zero" in tool_messages[0].content + + # Second call succeeded + assert "Processed: 5" in tool_messages[1].content + + +def test_tool_runtime_with_middleware() -> None: + """Test ToolRuntime injection works with agent middleware.""" + middleware_calls = [] + runtime_calls = [] + + class TestMiddleware(AgentMiddleware): + @override + def before_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + middleware_calls.append("before_model") + return {} + + @override + def after_model(self, state: AgentState[Any], runtime: Runtime) -> dict[str, Any]: + middleware_calls.append("after_model") + return {} + + @tool + def middleware_tool(x: int, runtime: ToolRuntime) -> str: + """Tool with runtime in middleware agent.""" + runtime_calls.append(("middleware_tool", runtime.tool_call_id)) + return f"Middleware result: {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 7}, "id": "mw_call", "name": "middleware_tool"}], + [], + ] + ), + tools=[middleware_tool], + system_prompt="You are a helpful assistant.", + middleware=[TestMiddleware()], + ) + + result = agent.invoke({"messages": [HumanMessage("Test with middleware")]}) + + # Verify middleware ran + assert "before_model" in middleware_calls + assert "after_model" in middleware_calls + + # Verify tool with runtime executed + assert len(runtime_calls) == 1 + assert runtime_calls[0] == ("middleware_tool", "mw_call") + + # Verify result + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Middleware result: 7" + + +def test_tool_runtime_type_hints() -> None: + """Test that ToolRuntime provides access to state fields.""" + typed_runtime = {} + + # Use ToolRuntime without generic type hints to avoid forward reference issues + @tool + def typed_runtime_tool(x: int, runtime: ToolRuntime) -> str: + """Tool with runtime access.""" + # Access state dict - verify we can access standard state fields + typed_runtime["message_count"] = len(runtime.state.get("messages", [])) + return f"Typed: {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 3}, "id": "typed_call", "name": "typed_runtime_tool"}], + [], + ] + ), + tools=[typed_runtime_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + # Verify typed runtime worked - + # should see 2 messages (HumanMessage + AIMessage) before tool executes + assert typed_runtime["message_count"] == 2 + + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Typed: 3" + + +def test_tool_runtime_name_based_injection() -> None: + """Test that parameter named 'runtime' gets injected without type annotation.""" + injected_data: dict[str, Any] = {} + + @tool + def name_based_tool(x: int, runtime: Any) -> str: + """Tool with 'runtime' parameter without ToolRuntime type annotation.""" + # Even though type is Any, runtime should still be injected as ToolRuntime + injected_data["is_tool_runtime"] = isinstance(runtime, ToolRuntime) + injected_data["has_state"] = hasattr(runtime, "state") + injected_data["has_tool_call_id"] = hasattr(runtime, "tool_call_id") + if hasattr(runtime, "tool_call_id"): + injected_data["tool_call_id"] = runtime.tool_call_id + if hasattr(runtime, "state"): + injected_data["state"] = runtime.state + return f"Processed {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 42}, "id": "name_call_123", "name": "name_based_tool"}], + [], + ] + ), + tools=[name_based_tool], + system_prompt="You are a helpful assistant.", + ) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + # Verify tool executed + assert len(result["messages"]) == 4 + tool_message = result["messages"][2] + assert isinstance(tool_message, ToolMessage) + assert tool_message.content == "Processed 42" + + # Verify runtime was injected based on parameter name + assert injected_data["is_tool_runtime"] is True + assert injected_data["has_state"] is True + assert injected_data["has_tool_call_id"] is True + assert injected_data["tool_call_id"] == "name_call_123" + assert injected_data["state"] is not None + assert "messages" in injected_data["state"] + + +def test_combined_injected_state_runtime_store() -> None: + """Test that all injection mechanisms work together in create_agent. + + This test verifies that a tool can receive injected state, tool runtime, + and injected store simultaneously when specified in the function signature + but not in the explicit args schema. This is modeled after the pattern + from mre.py where multiple injection types are combined. + """ + # Track what was injected + injected_data = {} + + # Custom state schema with additional fields + class CustomState(AgentState[Any]): + user_id: str + session_id: str + + class CustomInputState(InputAgentState): + user_id: str + session_id: str + + # Define explicit args schema that only includes LLM-controlled parameters + weather_schema = { + "type": "object", + "properties": { + "location": {"type": "string", "description": "The location to get weather for"}, + }, + "required": ["location"], + } + + @tool(args_schema=weather_schema) + def multi_injection_tool( + location: str, + state: Annotated[Any, InjectedState], + runtime: ToolRuntime, + store: Annotated[Any, InjectedStore()], + ) -> str: + """Tool that uses injected state, runtime, and store together. + + Args: + location: The location to get weather for (LLM-controlled). + state: The graph state (injected). + runtime: The tool runtime context (injected). + store: The persistent store (injected). + """ + # Capture all injected parameters + injected_data["state"] = state + injected_data["user_id"] = state.get("user_id", "unknown") + injected_data["session_id"] = state.get("session_id", "unknown") + injected_data["runtime"] = runtime + injected_data["tool_call_id"] = runtime.tool_call_id + injected_data["store"] = store + injected_data["store_is_none"] = store is None + + # Verify runtime.state matches the state parameter + injected_data["runtime_state_matches"] = runtime.state == state + + return f"Weather info for {location}" + + # Create model that calls the tool + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "name": "multi_injection_tool", + "args": {"location": "San Francisco"}, # Only LLM-controlled arg + "id": "call_weather_123", + } + ], + [], # End the loop + ] + ) + + # Create agent with custom state and store + agent = create_agent( + model=model, + tools=[multi_injection_tool], + state_schema=CustomState, + store=InMemoryStore(), + ) + + # Verify the tool's args schema only includes LLM-controlled parameters + tool_args_schema = multi_injection_tool.args_schema + assert isinstance(tool_args_schema, dict) + assert "location" in tool_args_schema["properties"] + assert "state" not in tool_args_schema["properties"] + assert "runtime" not in tool_args_schema["properties"] + assert "store" not in tool_args_schema["properties"] + + # Invoke with custom state fields + result = agent.invoke( + CustomInputState( + messages=[HumanMessage("What's the weather like?")], + user_id="user_42", + session_id="session_abc123", + ) + ) + + # Verify tool executed successfully + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 1 + tool_message = tool_messages[0] + assert tool_message.content == "Weather info for San Francisco" + assert tool_message.tool_call_id == "call_weather_123" + + # Verify all injections worked correctly + assert injected_data["state"] is not None + assert "messages" in injected_data["state"] + + # Verify custom state fields were accessible + assert injected_data["user_id"] == "user_42" + assert injected_data["session_id"] == "session_abc123" + + # Verify runtime was injected + assert injected_data["runtime"] is not None + assert injected_data["tool_call_id"] == "call_weather_123" + + # Verify store was injected + assert injected_data["store_is_none"] is False + assert injected_data["store"] is not None + + # Verify runtime.state matches the injected state + assert injected_data["runtime_state_matches"] is True + + +async def test_combined_injected_state_runtime_store_async() -> None: + """Test that all injection mechanisms work together in async execution. + + This async version verifies that injected state, tool runtime, and injected + store all work correctly with async tools in create_agent. + """ + # Track what was injected + injected_data = {} + + # Custom state schema + class CustomState(AgentState[Any]): + api_key: str + request_id: str + + class CustomInputState(InputAgentState): + api_key: str + request_id: str + + # Define explicit args schema that only includes LLM-controlled parameters + # Note: state, runtime, and store are NOT in this schema + search_schema = { + "type": "object", + "properties": { + "query": {"type": "string", "description": "The search query"}, + "max_results": {"type": "integer", "description": "Maximum number of results"}, + }, + "required": ["query", "max_results"], + } + + @tool(args_schema=search_schema) + async def async_multi_injection_tool( + query: str, + max_results: int, + state: Annotated[Any, InjectedState], + runtime: ToolRuntime, + store: Annotated[Any, InjectedStore()], + ) -> str: + """Async tool with multiple injection types. + + Args: + query: The search query (LLM-controlled). + max_results: Maximum number of results (LLM-controlled). + state: The graph state (injected). + runtime: The tool runtime context (injected). + store: The persistent store (injected). + """ + # Capture all injected parameters + injected_data["state"] = state + injected_data["api_key"] = state.get("api_key", "unknown") + injected_data["request_id"] = state.get("request_id", "unknown") + injected_data["runtime"] = runtime + injected_data["tool_call_id"] = runtime.tool_call_id + injected_data["config"] = runtime.config + injected_data["store"] = store + + # Verify we can write to the store + if store is not None: + await store.aput(("test", "namespace"), "test_key", {"query": query}) + # Read back to verify it worked + item = await store.aget(("test", "namespace"), "test_key") + injected_data["store_write_success"] = item is not None + + return f"Found {max_results} results for '{query}'" + + # Create model that calls the async tool + model = FakeToolCallingModel( + tool_calls=[ + [ + { + "name": "async_multi_injection_tool", + "args": {"query": "test search", "max_results": 10}, + "id": "call_search_456", + } + ], + [], + ] + ) + + # Create agent with custom state and store + agent = create_agent( + model=model, + tools=[async_multi_injection_tool], + state_schema=CustomState, + store=InMemoryStore(), + ) + + # Verify the tool's args schema only includes LLM-controlled parameters + tool_args_schema = async_multi_injection_tool.args_schema + assert isinstance(tool_args_schema, dict) + assert "query" in tool_args_schema["properties"] + assert "max_results" in tool_args_schema["properties"] + assert "state" not in tool_args_schema["properties"] + assert "runtime" not in tool_args_schema["properties"] + assert "store" not in tool_args_schema["properties"] + + # Invoke async + result = await agent.ainvoke( + CustomInputState( + messages=[HumanMessage("Search for something")], + api_key="sk-test-key-xyz", + request_id="req_999", + ) + ) + + # Verify tool executed successfully + tool_messages = [msg for msg in result["messages"] if isinstance(msg, ToolMessage)] + assert len(tool_messages) == 1 + tool_message = tool_messages[0] + assert tool_message.content == "Found 10 results for 'test search'" + assert tool_message.tool_call_id == "call_search_456" + + # Verify all injections worked correctly + assert injected_data["state"] is not None + assert injected_data["api_key"] == "sk-test-key-xyz" + assert injected_data["request_id"] == "req_999" + + # Verify runtime was injected + assert injected_data["runtime"] is not None + assert injected_data["tool_call_id"] == "call_search_456" + assert injected_data["config"] is not None + + # Verify store was injected and writable + assert injected_data["store"] is not None + assert injected_data["store_write_success"] is True diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_kwargs_tool_runtime_injection.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_kwargs_tool_runtime_injection.py new file mode 100644 index 0000000000000000000000000000000000000000..5c817847508749ecb46fd0eb0abaf177831ae83e --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_kwargs_tool_runtime_injection.py @@ -0,0 +1,60 @@ +"""Test that config/runtime in args_schema aren't injected to **kwargs functions.""" + +from __future__ import annotations + +from typing import Any + +from langchain_core.messages import HumanMessage, ToolMessage +from langchain_core.tools import StructuredTool +from pydantic import BaseModel, Field + +from langchain.agents import create_agent +from tests.unit_tests.agents.model import FakeToolCallingModel + + +class ArgsSchema(BaseModel): + """Args schema with config and runtime fields.""" + + query: str = Field(description="The query") + config: dict[str, Any] | None = Field(default=None) + runtime: dict[str, Any] | None = Field(default=None) + + +def test_config_and_runtime_not_injected_to_kwargs() -> None: + """Config/runtime in args_schema are NOT injected when not in function signature.""" + captured: dict[str, Any] = {} + + def tool_func(**kwargs: Any) -> str: + """Tool with only **kwargs.""" + captured["keys"] = list(kwargs.keys()) + captured["config"] = kwargs.get("config") + captured["runtime"] = kwargs.get("runtime") + captured["query"] = kwargs.get("query") + return f"query={kwargs.get('query')}" + + tool = StructuredTool.from_function( + func=tool_func, + name="test_tool", + description="Test tool", + args_schema=ArgsSchema.model_json_schema(), + ) + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"name": "test_tool", "args": {"query": "test"}, "id": "c1"}], []] + ), + tools=[tool], + system_prompt="", + ) + + result = agent.invoke({"messages": [HumanMessage("hi")]}) + + tool_msgs = [m for m in result["messages"] if isinstance(m, ToolMessage)] + assert len(tool_msgs) == 1 + assert tool_msgs[0].content == "query=test" + + # Only query passed - config/runtime NOT injected since not in function signature + assert captured["keys"] == ["query"] + assert captured["query"] == "test" + assert captured["config"] is None + assert captured["runtime"] is None diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_react_agent.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_react_agent.py new file mode 100644 index 0000000000000000000000000000000000000000..bfcc87987f320a57bfaddde130e6aacd954b5efa --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_react_agent.py @@ -0,0 +1,987 @@ +# import dataclasses +# import inspect +# from types import UnionType +# from typing import ( +# Annotated, +# Union, +# ) + +# import pytest +# from langchain_core.language_models import BaseChatModel +# from langchain_core.messages import ( +# AIMessage, +# HumanMessage, +# MessageLikeRepresentation, +# RemoveMessage, +# SystemMessage, +# ToolCall, +# ToolMessage, +# ) +# from langchain_core.runnables import RunnableConfig, RunnableLambda +# from langchain_core.tools import BaseTool, InjectedToolCallId, ToolException +# from langchain_core.tools import tool as dec_tool +# from langgraph.checkpoint.base import BaseCheckpointSaver +# from langgraph.graph import START, MessagesState, StateGraph +# from langgraph.graph.message import REMOVE_ALL_MESSAGES +# from langgraph.runtime import Runtime +# from langgraph.store.base import BaseStore +# from langgraph.store.memory import InMemoryStore +# from langgraph.types import Command, Interrupt, interrupt +# from pydantic import BaseModel, Field +# from typing_extensions import TypedDict + +# from langchain.agents import ( +# AgentState, +# create_agent, +# ) +# from langchain.tools import ( +# ToolNode, +# InjectedState, +# InjectedStore, +# ) +# from langchain.tools.tool_node import ( +# _get_state_args, +# _infer_handled_types, +# ) + +# from tests.unit_tests.agents.any_str import AnyStr +# from tests.unit_tests.agents.messages import _AnyIdHumanMessage, _AnyIdToolMessage +# from tests.unit_tests.agents.model import FakeToolCallingModel + +# pytestmark = pytest.mark.anyio + + +# def test_no_prompt(sync_checkpointer: BaseCheckpointSaver) -> None: +# model = FakeToolCallingModel() + +# agent = create_agent( +# model, +# [], +# checkpointer=sync_checkpointer, +# ) +# inputs = [HumanMessage("hi?")] +# thread = {"configurable": {"thread_id": "123"}} +# response = agent.invoke({"messages": inputs}, thread, debug=True) +# expected_response = {"messages": [*inputs, AIMessage(content="hi?", id="0")]} +# assert response == expected_response + +# saved = sync_checkpointer.get_tuple(thread) +# assert saved is not None +# assert saved.checkpoint["channel_values"] == { +# "messages": [ +# _AnyIdHumanMessage(content="hi?"), +# AIMessage(content="hi?", id="0"), +# ], +# } +# assert saved.metadata == { +# "parents": {}, +# "source": "loop", +# "step": 1, +# } +# assert saved.pending_writes == [] + + +# async def test_no_prompt_async(async_checkpointer: BaseCheckpointSaver) -> None: +# model = FakeToolCallingModel() + +# agent = create_agent(model, [], checkpointer=async_checkpointer) +# inputs = [HumanMessage("hi?")] +# thread = {"configurable": {"thread_id": "123"}} +# response = await agent.ainvoke({"messages": inputs}, thread, debug=True) +# expected_response = {"messages": [*inputs, AIMessage(content="hi?", id="0")]} +# assert response == expected_response + +# saved = await async_checkpointer.aget_tuple(thread) +# assert saved is not None +# assert saved.checkpoint["channel_values"] == { +# "messages": [ +# _AnyIdHumanMessage(content="hi?"), +# AIMessage(content="hi?", id="0"), +# ], +# } +# assert saved.metadata == { +# "parents": {}, +# "source": "loop", +# "step": 1, +# } +# assert saved.pending_writes == [] + + +# def test_system_message_prompt() -> None: +# prompt = SystemMessage(content="Foo") +# agent = create_agent(FakeToolCallingModel(), [], system_prompt=prompt) +# inputs = [HumanMessage("hi?")] +# response = agent.invoke({"messages": inputs}) +# expected_response = {"messages": [*inputs, AIMessage(content="Foo-hi?", id="0", tool_calls=[])]} +# assert response == expected_response + + +# def test_string_prompt() -> None: +# prompt = "Foo" +# agent = create_agent(FakeToolCallingModel(), [], system_prompt=prompt) +# inputs = [HumanMessage("hi?")] +# response = agent.invoke({"messages": inputs}) +# expected_response = {"messages": [*inputs, AIMessage(content="Foo-hi?", id="0", tool_calls=[])]} +# assert response == expected_response + + +# def test_callable_prompt() -> None: +# def prompt(state): +# modified_message = f"Bar {state['messages'][-1].content}" +# return [HumanMessage(content=modified_message)] + +# agent = create_agent(FakeToolCallingModel(), [], system_prompt=prompt) +# inputs = [HumanMessage("hi?")] +# response = agent.invoke({"messages": inputs}) +# expected_response = {"messages": [*inputs, AIMessage(content="Bar hi?", id="0")]} +# assert response == expected_response + + +# async def test_callable_prompt_async() -> None: +# async def prompt(state): +# modified_message = f"Bar {state['messages'][-1].content}" +# return [HumanMessage(content=modified_message)] + +# agent = create_agent(FakeToolCallingModel(), [], system_prompt=prompt) +# inputs = [HumanMessage("hi?")] +# response = await agent.ainvoke({"messages": inputs}) +# expected_response = {"messages": [*inputs, AIMessage(content="Bar hi?", id="0")]} +# assert response == expected_response + + +# def test_runnable_prompt() -> None: +# prompt = RunnableLambda( +# lambda state: [HumanMessage(content=f"Baz {state['messages'][-1].content}")] +# ) + +# agent = create_agent(FakeToolCallingModel(), [], system_prompt=prompt) +# inputs = [HumanMessage("hi?")] +# response = agent.invoke({"messages": inputs}) +# expected_response = {"messages": [*inputs, AIMessage(content="Baz hi?", id="0")]} +# assert response == expected_response + + +# def test_prompt_with_store() -> None: +# def add(a: int, b: int): +# """Adds a and b""" +# return a + b + +# in_memory_store = InMemoryStore() +# in_memory_store.put(("memories", "1"), "user_name", {"data": "User name is Alice"}) +# in_memory_store.put(("memories", "2"), "user_name", {"data": "User name is Bob"}) + +# def prompt(state, config, *, store): +# user_id = config["configurable"]["user_id"] +# system_str = store.get(("memories", user_id), "user_name").value["data"] +# return [SystemMessage(system_str)] + state["messages"] + +# def prompt_no_store(state, config): +# return SystemMessage("foo") + state["messages"] + +# model = FakeToolCallingModel() + +# # test state modifier that uses store works +# agent = create_agent( +# model, +# [add], +# prompt=prompt, +# store=in_memory_store, +# ) +# response = agent.invoke({"messages": [("user", "hi")]}, {"configurable": {"user_id": "1"}}) +# assert response["messages"][-1].content == "User name is Alice-hi" + +# # test state modifier that doesn't use store works +# agent = create_agent( +# model, +# [add], +# prompt=prompt_no_store, +# store=in_memory_store, +# ) +# response = agent.invoke({"messages": [("user", "hi")]}, {"configurable": {"user_id": "2"}}) +# assert response["messages"][-1].content == "foo-hi" + + +# async def test_prompt_with_store_async() -> None: +# async def add(a: int, b: int): +# """Adds a and b""" +# return a + b + +# in_memory_store = InMemoryStore() +# await in_memory_store.aput(("memories", "1"), "user_name", {"data": "User name is Alice"}) +# await in_memory_store.aput(("memories", "2"), "user_name", {"data": "User name is Bob"}) + +# async def prompt(state, config, *, store): +# user_id = config["configurable"]["user_id"] +# system_str = (await store.aget(("memories", user_id), "user_name")).value["data"] +# return [SystemMessage(system_str)] + state["messages"] + +# async def prompt_no_store(state, config): +# return SystemMessage("foo") + state["messages"] + +# model = FakeToolCallingModel() + +# # test state modifier that uses store works +# agent = create_agent(model, [add], system_prompt=prompt, store=in_memory_store) +# response = await agent.ainvoke( +# {"messages": [("user", "hi")]}, {"configurable": {"user_id": "1"}} +# ) +# assert response["messages"][-1].content == "User name is Alice-hi" + +# # test state modifier that doesn't use store works +# agent = create_agent(model, [add], system_prompt=prompt_no_store, store=in_memory_store) +# response = await agent.ainvoke( +# {"messages": [("user", "hi")]}, {"configurable": {"user_id": "2"}} +# ) +# assert response["messages"][-1].content == "foo-hi" + + +# @pytest.mark.parametrize("tool_style", ["openai", "anthropic"]) +# @pytest.mark.parametrize("include_builtin", [True, False]) +# def test_model_with_tools(tool_style: str, include_builtin: bool) -> None: +# model = FakeToolCallingModel(tool_style=tool_style) + +# @dec_tool +# def tool1(some_val: int) -> str: +# """Tool 1 docstring.""" +# return f"Tool 1: {some_val}" + +# @dec_tool +# def tool2(some_val: int) -> str: +# """Tool 2 docstring.""" +# return f"Tool 2: {some_val}" + +# tools: list[BaseTool | dict] = [tool1, tool2] +# if include_builtin: +# tools.append( +# { +# "type": "mcp", +# "server_label": "atest_sever", +# "server_url": "https://some.mcp.somewhere.com/sse", +# "headers": {"foo": "bar"}, +# "allowed_tools": [ +# "mcp_tool_1", +# "set_active_account", +# "get_url_markdown", +# "get_url_screenshot", +# ], +# "require_approval": "never", +# } +# ) +# # check valid agent constructor +# with pytest.raises(ValueError): +# create_agent( +# model.bind_tools(tools), +# tools, +# ) + + +# # Test removed: _validate_chat_history function no longer exists +# # def test__validate_messages() -> None: +# # pass + + +# def test__infer_handled_types() -> None: +# def handle(e) -> str: # type: ignore +# return "" + +# def handle2(e: Exception) -> str: +# return "" + +# def handle3(e: ValueError | ToolException) -> str: +# return "" + +# def handle4(e: Union[ValueError, ToolException]) -> str: +# return "" + +# class Handler: +# def handle(self, e: ValueError) -> str: +# return "" + +# handle5 = Handler().handle + +# def handle6(e: Union[Union[TypeError, ValueError], ToolException]) -> str: +# return "" + +# expected: tuple = (Exception,) +# actual = _infer_handled_types(handle) +# assert expected == actual + +# expected = (Exception,) +# actual = _infer_handled_types(handle2) +# assert expected == actual + +# expected = (ValueError, ToolException) +# actual = _infer_handled_types(handle3) +# assert expected == actual + +# expected = (ValueError, ToolException) +# actual = _infer_handled_types(handle4) +# assert expected == actual + +# expected = (ValueError,) +# actual = _infer_handled_types(handle5) +# assert expected == actual + +# expected = (TypeError, ValueError, ToolException) +# actual = _infer_handled_types(handle6) +# assert expected == actual + +# with pytest.raises(ValueError): + +# def handler(e: str) -> str: +# return "" + +# _infer_handled_types(handler) + +# with pytest.raises(ValueError): + +# def handler(e: list[Exception]) -> str: +# return "" + +# _infer_handled_types(handler) + +# with pytest.raises(ValueError): + +# def handler(e: Union[str, int]) -> str: +# return "" + +# _infer_handled_types(handler) + + +# def test_react_agent_with_structured_response() -> None: +# class WeatherResponse(BaseModel): +# temperature: float = Field(description="The temperature in fahrenheit") + +# tool_calls = [ +# [{"args": {}, "id": "1", "name": "get_weather"}], +# [{"name": "WeatherResponse", "id": "2", "args": {"temperature": 75}}], +# ] + +# def get_weather() -> str: +# """Get the weather""" +# return "The weather is sunny and 75°F." + +# expected_structured_response = WeatherResponse(temperature=75) +# model = FakeToolCallingModel( +# tool_calls=tool_calls, structured_response=expected_structured_response +# ) +# agent = create_agent( +# model, +# [get_weather], +# response_format=WeatherResponse, +# ) +# response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) +# assert response["structured_response"] == expected_structured_response +# assert len(response["messages"]) == 5 + +# # Check message types in message history +# msg_types = [m.type for m in response["messages"]] +# assert msg_types == [ +# "human", # "What's the weather?" +# "ai", # "What's the weather?" +# "tool", # "The weather is sunny and 75°F." +# "ai", # structured response +# "tool", # artificial tool message +# ] + +# assert [m.content for m in response["messages"]] == [ +# "What's the weather?", +# "What's the weather?", +# "The weather is sunny and 75°F.", +# "What's the weather?-What's the weather?-The weather is sunny and 75°F.", +# "Returning structured response: {'temperature': 75.0}", +# ] + + +# class CustomState(AgentState): +# user_name: str + + +# def test_react_agent_update_state( +# sync_checkpointer: BaseCheckpointSaver, +# ) -> None: +# @dec_tool +# def get_user_name(tool_call_id: Annotated[str, InjectedToolCallId]): +# """Retrieve user name""" +# user_name = interrupt("Please provider user name:") +# return Command( +# update={ +# "user_name": user_name, +# "messages": [ +# ToolMessage("Successfully retrieved user name", tool_call_id=tool_call_id) +# ], +# } +# ) + +# def prompt(state: CustomState): +# user_name = state.get("user_name") +# if user_name is None: +# return state["messages"] + +# system_msg = f"User name is {user_name}" +# return [{"role": "system", "content": system_msg}] + state["messages"] + +# tool_calls = [[{"args": {}, "id": "1", "name": "get_user_name"}]] +# model = FakeToolCallingModel(tool_calls=tool_calls) +# agent = create_agent( +# model, +# [get_user_name], +# state_schema=CustomState, +# prompt=prompt, +# checkpointer=sync_checkpointer, +# ) +# config = {"configurable": {"thread_id": "1"}} +# # Run until interrupted +# agent.invoke({"messages": [("user", "what's my name")]}, config) +# # supply the value for the interrupt +# response = agent.invoke(Command(resume="Archibald"), config) +# # confirm that the state was updated +# assert response["user_name"] == "Archibald" +# assert len(response["messages"]) == 4 +# tool_message: ToolMessage = response["messages"][-2] +# assert tool_message.content == "Successfully retrieved user name" +# assert tool_message.tool_call_id == "1" +# assert tool_message.name == "get_user_name" + + +# def test_react_agent_parallel_tool_calls( +# sync_checkpointer: BaseCheckpointSaver, +# ) -> None: +# human_assistance_execution_count = 0 + +# @dec_tool +# def human_assistance(query: str) -> str: +# """Request assistance from a human.""" +# nonlocal human_assistance_execution_count +# human_response = interrupt({"query": query}) +# human_assistance_execution_count += 1 +# return human_response["data"] + +# get_weather_execution_count = 0 + +# @dec_tool +# def get_weather(location: str) -> str: +# """Use this tool to get the weather.""" +# nonlocal get_weather_execution_count +# get_weather_execution_count += 1 +# return "It's sunny!" + +# tool_calls = [ +# [ +# {"args": {"location": "sf"}, "id": "1", "name": "get_weather"}, +# {"args": {"query": "request help"}, "id": "2", "name": "human_assistance"}, +# ], +# [], +# ] +# model = FakeToolCallingModel(tool_calls=tool_calls) +# agent = create_agent( +# model, +# [human_assistance, get_weather], +# checkpointer=sync_checkpointer, +# ) +# config = {"configurable": {"thread_id": "1"}} +# query = "Get user assistance and also check the weather" +# message_types = [] +# for event in agent.stream({"messages": [("user", query)]}, config, stream_mode="values"): +# if messages := event.get("messages"): +# message_types.append([m.type for m in messages]) + +# assert message_types == [ +# ["human"], +# ["human", "ai"], +# ["human", "ai", "tool"], +# ] + +# # Resume +# message_types = [] +# for event in agent.stream(Command(resume={"data": "Hello"}), config, stream_mode="values"): +# if messages := event.get("messages"): +# message_types.append([m.type for m in messages]) + +# assert message_types == [ +# ["human", "ai"], +# ["human", "ai", "tool", "tool"], +# ["human", "ai", "tool", "tool", "ai"], +# ] + +# assert human_assistance_execution_count == 1 +# assert get_weather_execution_count == 1 + + +# class AgentStateExtraKey(AgentState): +# foo: int + + +# def test_create_agent_inject_vars() -> None: +# """Test that the agent can inject state and store into tool functions.""" +# store = InMemoryStore() +# namespace = ("test",) +# store.put(namespace, "test_key", {"bar": 3}) + +# def tool1( +# some_val: int, +# state: Annotated[dict, InjectedState], +# store: Annotated[BaseStore, InjectedStore()], +# ) -> str: +# """Tool 1 docstring.""" +# store_val = store.get(namespace, "test_key").value["bar"] +# return some_val + state["foo"] + store_val + +# tool_call = { +# "name": "tool1", +# "args": {"some_val": 1}, +# "id": "some 0", +# "type": "tool_call", +# } +# model = FakeToolCallingModel(tool_calls=[[tool_call], []]) +# agent = create_agent( +# model, +# ToolNode([tool1], handle_tool_errors=False), +# state_schema=AgentStateExtraKey, +# store=store, +# ) +# result = agent.invoke({"messages": [{"role": "user", "content": "hi"}], "foo": 2}) +# assert result["messages"] == [ +# _AnyIdHumanMessage(content="hi"), +# AIMessage(content="hi", tool_calls=[tool_call], id="0"), +# _AnyIdToolMessage(content="6", name="tool1", tool_call_id="some 0"), +# AIMessage("hi-hi-6", id="1"), +# ] +# assert result["foo"] == 2 + + +# async def test_return_direct() -> None: +# @dec_tool(return_direct=True) +# def tool_return_direct(input: str) -> str: +# """A tool that returns directly.""" +# return f"Direct result: {input}" + +# @dec_tool +# def tool_normal(input: str) -> str: +# """A normal tool.""" +# return f"Normal result: {input}" + +# first_tool_call = [ +# ToolCall( +# name="tool_return_direct", +# args={"input": "Test direct"}, +# id="1", +# ), +# ] +# expected_ai = AIMessage( +# content="Test direct", +# id="0", +# tool_calls=first_tool_call, +# ) +# model = FakeToolCallingModel(tool_calls=[first_tool_call, []]) +# agent = create_agent( +# model, +# [tool_return_direct, tool_normal], +# ) + +# # Test direct return for tool_return_direct +# result = agent.invoke({"messages": [HumanMessage(content="Test direct", id="hum0")]}) +# assert result["messages"] == [ +# HumanMessage(content="Test direct", id="hum0"), +# expected_ai, +# ToolMessage( +# content="Direct result: Test direct", +# name="tool_return_direct", +# tool_call_id="1", +# id=result["messages"][2].id, +# ), +# ] +# second_tool_call = [ +# ToolCall( +# name="tool_normal", +# args={"input": "Test normal"}, +# id="2", +# ), +# ] +# model = FakeToolCallingModel(tool_calls=[second_tool_call, []]) +# agent = create_agent(model, [tool_return_direct, tool_normal]) +# result = agent.invoke({"messages": [HumanMessage(content="Test normal", id="hum1")]}) +# assert result["messages"] == [ +# HumanMessage(content="Test normal", id="hum1"), +# AIMessage(content="Test normal", id="0", tool_calls=second_tool_call), +# ToolMessage( +# content="Normal result: Test normal", +# name="tool_normal", +# tool_call_id="2", +# id=result["messages"][2].id, +# ), +# AIMessage(content="Test normal-Test normal-Normal result: Test normal", id="1"), +# ] + +# both_tool_calls = [ +# ToolCall( +# name="tool_return_direct", +# args={"input": "Test both direct"}, +# id="3", +# ), +# ToolCall( +# name="tool_normal", +# args={"input": "Test both normal"}, +# id="4", +# ), +# ] +# model = FakeToolCallingModel(tool_calls=[both_tool_calls, []]) +# agent = create_agent(model, [tool_return_direct, tool_normal]) +# result = agent.invoke({"messages": [HumanMessage(content="Test both", id="hum2")]}) +# assert result["messages"] == [ +# HumanMessage(content="Test both", id="hum2"), +# AIMessage(content="Test both", id="0", tool_calls=both_tool_calls), +# ToolMessage( +# content="Direct result: Test both direct", +# name="tool_return_direct", +# tool_call_id="3", +# id=result["messages"][2].id, +# ), +# ToolMessage( +# content="Normal result: Test both normal", +# name="tool_normal", +# tool_call_id="4", +# id=result["messages"][3].id, +# ), +# ] + + +# def test__get_state_args() -> None: +# class Schema1(BaseModel): +# a: Annotated[str, InjectedState] + +# class Schema2(Schema1): +# b: Annotated[int, InjectedState("bar")] + +# @dec_tool(args_schema=Schema2) +# def foo(a: str, b: int) -> float: +# """return""" +# return 0.0 + +# assert _get_state_args(foo) == {"a": None, "b": "bar"} + + +# def test_inspect_react() -> None: +# model = FakeToolCallingModel(tool_calls=[]) +# agent = create_agent(model, []) +# inspect.getclosurevars(agent.nodes["agent"].bound.func) + + +# def test_react_with_subgraph_tools( +# sync_checkpointer: BaseCheckpointSaver, +# ) -> None: +# class State(TypedDict): +# a: int +# b: int + +# class Output(TypedDict): +# result: int + +# # Define the subgraphs +# def add(state): +# return {"result": state["a"] + state["b"]} + +# add_subgraph = ( +# StateGraph(State, output_schema=Output).add_node(add).add_edge(START, "add").compile() +# ) + +# def multiply(state): +# return {"result": state["a"] * state["b"]} + +# multiply_subgraph = ( +# StateGraph(State, output_schema=Output) +# .add_node(multiply) +# .add_edge(START, "multiply") +# .compile() +# ) + +# multiply_subgraph.invoke({"a": 2, "b": 3}) + +# # Add subgraphs as tools + +# def addition(a: int, b: int): +# """Add two numbers""" +# return add_subgraph.invoke({"a": a, "b": b})["result"] + +# def multiplication(a: int, b: int): +# """Multiply two numbers""" +# return multiply_subgraph.invoke({"a": a, "b": b})["result"] + +# model = FakeToolCallingModel( +# tool_calls=[ +# [ +# {"args": {"a": 2, "b": 3}, "id": "1", "name": "addition"}, +# {"args": {"a": 2, "b": 3}, "id": "2", "name": "multiplication"}, +# ], +# [], +# ] +# ) +# tool_node = ToolNode([addition, multiplication], handle_tool_errors=False) +# agent = create_agent( +# model, +# tool_node, +# checkpointer=sync_checkpointer, +# ) +# result = agent.invoke( +# {"messages": [HumanMessage(content="What's 2 + 3 and 2 * 3?")]}, +# config={"configurable": {"thread_id": "1"}}, +# ) +# assert result["messages"] == [ +# _AnyIdHumanMessage(content="What's 2 + 3 and 2 * 3?"), +# AIMessage( +# content="What's 2 + 3 and 2 * 3?", +# id="0", +# tool_calls=[ +# ToolCall(name="addition", args={"a": 2, "b": 3}, id="1"), +# ToolCall(name="multiplication", args={"a": 2, "b": 3}, id="2"), +# ], +# ), +# ToolMessage(content="5", name="addition", tool_call_id="1", id=result["messages"][2].id), +# ToolMessage( +# content="6", +# name="multiplication", +# tool_call_id="2", +# id=result["messages"][3].id, +# ), +# AIMessage(content="What's 2 + 3 and 2 * 3?-What's 2 + 3 and 2 * 3?-5-6", id="1"), +# ] + + +# def test_react_agent_subgraph_streaming_sync() -> None: +# """Test React agent streaming when used as a subgraph node sync version""" + +# @dec_tool +# def get_weather(city: str) -> str: +# """Get the weather of a city.""" +# return f"The weather of {city} is sunny." + +# # Create a React agent +# model = FakeToolCallingModel( +# tool_calls=[ +# [{"args": {"city": "Tokyo"}, "id": "1", "name": "get_weather"}], +# [], +# ] +# ) + +# agent = create_agent( +# model, +# tools=[get_weather], +# prompt="You are a helpful travel assistant.", +# ) + +# # Create a subgraph that uses the React agent as a node +# def react_agent_node(state: MessagesState, config: RunnableConfig) -> MessagesState: +# """Node that runs the React agent and collects streaming output.""" +# collected_content = "" + +# # Stream the agent output and collect content +# for msg_chunk, _msg_metadata in agent.stream( +# {"messages": [("user", state["messages"][-1].content)]}, +# config, +# stream_mode="messages", +# ): +# if hasattr(msg_chunk, "content") and msg_chunk.content: +# collected_content += msg_chunk.content + +# return {"messages": [("assistant", collected_content)]} + +# # Create the main workflow with the React agent as a subgraph node +# workflow = StateGraph(MessagesState) +# workflow.add_node("react_agent", react_agent_node) +# workflow.add_edge(START, "react_agent") +# workflow.add_edge("react_agent", "__end__") +# compiled_workflow = workflow.compile() + +# # Test the streaming functionality +# result = compiled_workflow.invoke({"messages": [("user", "What is the weather in Tokyo?")]}) + +# # Verify the result contains expected structure +# assert len(result["messages"]) == 2 +# assert result["messages"][0].content == "What is the weather in Tokyo?" +# assert "assistant" in str(result["messages"][1]) + +# # Test streaming with subgraphs = True +# result = compiled_workflow.invoke( +# {"messages": [("user", "What is the weather in Tokyo?")]}, +# subgraphs=True, +# ) +# assert len(result["messages"]) == 2 + +# events = [] +# for event in compiled_workflow.stream( +# {"messages": [("user", "What is the weather in Tokyo?")]}, +# stream_mode="messages", +# subgraphs=False, +# ): +# events.append(event) + +# assert len(events) == 0 + +# events = [] +# for event in compiled_workflow.stream( +# {"messages": [("user", "What is the weather in Tokyo?")]}, +# stream_mode="messages", +# subgraphs=True, +# ): +# events.append(event) + +# assert len(events) == 3 +# namespace, (msg, metadata) = events[0] +# # FakeToolCallingModel returns a single AIMessage with tool calls +# # The content of the AIMessage reflects the input message +# assert msg.content.startswith("You are a helpful travel assistant") +# namespace, (msg, metadata) = events[1] # ToolMessage +# assert msg.content.startswith("The weather of Tokyo is sunny.") + + +# async def test_react_agent_subgraph_streaming() -> None: +# """Test React agent streaming when used as a subgraph node.""" + +# @dec_tool +# def get_weather(city: str) -> str: +# """Get the weather of a city.""" +# return f"The weather of {city} is sunny." + +# # Create a React agent +# model = FakeToolCallingModel( +# tool_calls=[ +# [{"args": {"city": "Tokyo"}, "id": "1", "name": "get_weather"}], +# [], +# ] +# ) + +# agent = create_agent( +# model, +# tools=[get_weather], +# prompt="You are a helpful travel assistant.", +# ) + +# # Create a subgraph that uses the React agent as a node +# async def react_agent_node(state: MessagesState, config: RunnableConfig) -> MessagesState: +# """Node that runs the React agent and collects streaming output.""" +# collected_content = "" + +# # Stream the agent output and collect content +# async for msg_chunk, _msg_metadata in agent.astream( +# {"messages": [("user", state["messages"][-1].content)]}, +# config, +# stream_mode="messages", +# ): +# if hasattr(msg_chunk, "content") and msg_chunk.content: +# collected_content += msg_chunk.content + +# return {"messages": [("assistant", collected_content)]} + +# # Create the main workflow with the React agent as a subgraph node +# workflow = StateGraph(MessagesState) +# workflow.add_node("react_agent", react_agent_node) +# workflow.add_edge(START, "react_agent") +# workflow.add_edge("react_agent", "__end__") +# compiled_workflow = workflow.compile() + +# # Test the streaming functionality +# result = await compiled_workflow.ainvoke( +# {"messages": [("user", "What is the weather in Tokyo?")]} +# ) + +# # Verify the result contains expected structure +# assert len(result["messages"]) == 2 +# assert result["messages"][0].content == "What is the weather in Tokyo?" +# assert "assistant" in str(result["messages"][1]) + +# # Test streaming with subgraphs = True +# result = await compiled_workflow.ainvoke( +# {"messages": [("user", "What is the weather in Tokyo?")]}, +# subgraphs=True, +# ) +# assert len(result["messages"]) == 2 + +# events = [] +# async for event in compiled_workflow.astream( +# {"messages": [("user", "What is the weather in Tokyo?")]}, +# stream_mode="messages", +# subgraphs=False, +# ): +# events.append(event) + +# assert len(events) == 0 + +# events = [] +# async for event in compiled_workflow.astream( +# {"messages": [("user", "What is the weather in Tokyo?")]}, +# stream_mode="messages", +# subgraphs=True, +# ): +# events.append(event) + +# assert len(events) == 3 +# namespace, (msg, metadata) = events[0] +# # FakeToolCallingModel returns a single AIMessage with tool calls +# # The content of the AIMessage reflects the input message +# assert msg.content.startswith("You are a helpful travel assistant") +# namespace, (msg, metadata) = events[1] # ToolMessage +# assert msg.content.startswith("The weather of Tokyo is sunny.") + + +# def test_tool_node_node_interrupt( +# sync_checkpointer: BaseCheckpointSaver, +# ) -> None: +# def tool_normal(some_val: int) -> str: +# """Tool docstring.""" +# return "normal" + +# def tool_interrupt(some_val: int) -> str: +# """Tool docstring.""" +# return interrupt("provide value for foo") + +# # test inside react agent +# model = FakeToolCallingModel( +# tool_calls=[ +# [ +# ToolCall(name="tool_interrupt", args={"some_val": 0}, id="1"), +# ToolCall(name="tool_normal", args={"some_val": 1}, id="2"), +# ], +# [], +# ] +# ) +# config = {"configurable": {"thread_id": "1"}} +# agent = create_agent( +# model, +# [tool_interrupt, tool_normal], +# checkpointer=sync_checkpointer, +# ) +# result = agent.invoke({"messages": [HumanMessage("hi?")]}, config) +# expected_messages = [ +# _AnyIdHumanMessage(content="hi?"), +# AIMessage( +# content="hi?", +# id="0", +# tool_calls=[ +# { +# "name": "tool_interrupt", +# "args": {"some_val": 0}, +# "id": "1", +# "type": "tool_call", +# }, +# { +# "name": "tool_normal", +# "args": {"some_val": 1}, +# "id": "2", +# "type": "tool_call", +# }, +# ], +# ), +# _AnyIdToolMessage(content="normal", name="tool_normal", tool_call_id="2"), +# ] +# assert result["messages"] == expected_messages + +# state = agent.get_state(config) +# assert state.next == ("tools",) +# task = state.tasks[0] +# assert task.name == "tools" +# assert task.interrupts == ( +# Interrupt( +# value="provide value for foo", +# id=AnyStr(), +# ), +# ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_response_format.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_response_format.py new file mode 100644 index 0000000000000000000000000000000000000000..053588878870f559af1eacb47c7d6969f046da1c --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_response_format.py @@ -0,0 +1,1018 @@ +"""Test suite for create_agent with structured output response_format permutations.""" + +import json +from collections.abc import Callable, Sequence +from dataclasses import dataclass +from typing import Any +from unittest.mock import patch + +import pytest +from langchain_core.language_models import LanguageModelInput +from langchain_core.language_models.chat_models import BaseChatModel +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import HumanMessage +from langchain_core.runnables import Runnable +from pydantic import BaseModel, Field +from typing_extensions import TypedDict, override + +from langchain.agents import create_agent +from langchain.agents.factory import _supports_provider_strategy +from langchain.agents.middleware.types import ( + AgentMiddleware, + ModelCallResult, + ModelRequest, + ModelResponse, +) +from langchain.agents.structured_output import ( + MultipleStructuredOutputsError, + ProviderStrategy, + StructuredOutputValidationError, + ToolStrategy, +) +from langchain.messages import AIMessage +from langchain.tools import BaseTool, tool +from tests.unit_tests.agents.model import FakeToolCallingModel + + +# Test data models +class WeatherBaseModel(BaseModel): + """Weather response.""" + + temperature: float = Field(description="The temperature in fahrenheit") + condition: str = Field(description="Weather condition") + + +@dataclass +class WeatherDataclass: + """Weather response.""" + + temperature: float + condition: str + + +class WeatherTypedDict(TypedDict): + """Weather response.""" + + temperature: float + condition: str + + +weather_json_schema = { + "type": "object", + "properties": { + "temperature": {"type": "number", "description": "Temperature in fahrenheit"}, + "condition": {"type": "string", "description": "Weather condition"}, + }, + "title": "weather_schema", + "required": ["temperature", "condition"], +} + + +class LocationResponse(BaseModel): + city: str = Field(description="The city name") + country: str = Field(description="The country name") + + +class LocationTypedDict(TypedDict): + city: str + country: str + + +location_json_schema = { + "type": "object", + "properties": { + "city": {"type": "string", "description": "The city name"}, + "country": {"type": "string", "description": "The country name"}, + }, + "title": "location_schema", + "required": ["city", "country"], +} + + +@tool +def get_weather() -> str: + """Get the weather.""" + return "The weather is sunny and 75°F." + + +@tool +def get_location() -> str: + """Get the current location.""" + return "You are in New York, USA." + + +# Standardized test data +WEATHER_DATA: dict[str, float | str] = {"temperature": 75.0, "condition": "sunny"} +LOCATION_DATA: dict[str, str] = {"city": "New York", "country": "USA"} + +# Standardized expected responses +EXPECTED_WEATHER_PYDANTIC = WeatherBaseModel(temperature=75.0, condition="sunny") +EXPECTED_WEATHER_DATACLASS = WeatherDataclass(temperature=75.0, condition="sunny") +EXPECTED_WEATHER_DICT: WeatherTypedDict = {"temperature": 75.0, "condition": "sunny"} +EXPECTED_LOCATION = LocationResponse(city="New York", country="USA") +EXPECTED_LOCATION_DICT: LocationTypedDict = {"city": "New York", "country": "USA"} + + +class TestResponseFormatAsModel: + def test_pydantic_model(self) -> None: + """Test response_format as Pydantic model.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherBaseModel", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=WeatherBaseModel) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + assert len(response["messages"]) == 5 + + def test_dataclass(self) -> None: + """Test response_format as dataclass.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherDataclass", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=WeatherDataclass) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DATACLASS + assert len(response["messages"]) == 5 + + def test_typed_dict(self) -> None: + """Test response_format as TypedDict.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherTypedDict", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=WeatherTypedDict) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 5 + + def test_json_schema(self) -> None: + """Test response_format as JSON schema.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "weather_schema", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=weather_json_schema) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 5 + + def test_autostrategy_with_anonymous_json_schema(self) -> None: + """Test response_format as anonymous JSON schema (AutoStrategy). + + Verifies that tool name mismatch is avoided when using AutoStrategy with + schemas that generate random names by ensuring the ToolStrategy instance + is reused during execution. + """ + anonymous_schema = { + "type": "object", + "properties": { + "result": {"type": "string"}, + }, + "required": ["result"], + } + + with patch("langchain.agents.factory._supports_provider_strategy", return_value=False): + model = FakeToolCallingModel(tool_calls=[]) + agent = create_agent(model, [], response_format=anonymous_schema) + + # We expect a recursion error or similar because we didn't mock the tool call + # matching our anonymous schema, but it should NOT raise ValueError + # during the binding phase. + try: + agent.invoke({"messages": [HumanMessage("hi")]}, config={"recursion_limit": 1}) + except ValueError as e: + if "which wasn't declared" in str(e): + pytest.fail(f"Tool name mismatch occurred: {e}") + except Exception: # noqa: S110 + # Other exceptions mean we passed the binding phase + pass + + +class TestResponseFormatAsToolStrategy: + def test_pydantic_model(self) -> None: + """Test response_format as ToolStrategy with Pydantic model.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherBaseModel", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=ToolStrategy(WeatherBaseModel)) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + assert len(response["messages"]) == 5 + + def test_dataclass(self) -> None: + """Test response_format as ToolStrategy with dataclass.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherDataclass", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=ToolStrategy(WeatherDataclass)) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DATACLASS + assert len(response["messages"]) == 5 + + def test_typed_dict(self) -> None: + """Test response_format as ToolStrategy with TypedDict.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherTypedDict", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent(model, [get_weather], response_format=ToolStrategy(WeatherTypedDict)) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 5 + + def test_json_schema(self) -> None: + """Test response_format as ToolStrategy with JSON schema.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "weather_schema", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, [get_weather], response_format=ToolStrategy(weather_json_schema) + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 5 + + def test_union_of_json_schemas(self) -> None: + """Test response_format as ToolStrategy with union of JSON schemas.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "weather_schema", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [get_weather, get_location], + response_format=ToolStrategy({"oneOf": [weather_json_schema, location_json_schema]}), + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 5 + + # Test with LocationResponse + tool_calls_location = [ + [{"args": {}, "id": "1", "name": "get_location"}], + [ + { + "name": "location_schema", + "id": "2", + "args": LOCATION_DATA, + } + ], + ] + + model_location = FakeToolCallingModel(tool_calls=tool_calls_location) + + agent_location = create_agent( + model_location, + [get_weather, get_location], + response_format=ToolStrategy({"oneOf": [weather_json_schema, location_json_schema]}), + ) + response_location = agent_location.invoke({"messages": [HumanMessage("Where am I?")]}) + + assert response_location["structured_response"] == EXPECTED_LOCATION_DICT + assert len(response_location["messages"]) == 5 + + def test_union_of_types(self) -> None: + """Test response_format as ToolStrategy with Union of various types.""" + # Test with WeatherBaseModel + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherBaseModel", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [get_weather, get_location], + response_format=ToolStrategy(WeatherBaseModel | LocationResponse), + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + assert len(response["messages"]) == 5 + + # Test with LocationResponse + tool_calls_location = [ + [{"args": {}, "id": "1", "name": "get_location"}], + [ + { + "name": "LocationResponse", + "id": "2", + "args": LOCATION_DATA, + } + ], + ] + + model_location = FakeToolCallingModel(tool_calls=tool_calls_location) + + agent_location = create_agent( + model_location, + [get_weather, get_location], + response_format=ToolStrategy(WeatherBaseModel | LocationResponse), + ) + response_location = agent_location.invoke({"messages": [HumanMessage("Where am I?")]}) + + assert response_location["structured_response"] == EXPECTED_LOCATION + assert len(response_location["messages"]) == 5 + + def test_multiple_structured_outputs_error_without_retry(self) -> None: + """Test multiple structured outputs error without retry. + + Test that MultipleStructuredOutputsError is raised when model returns multiple + structured tool calls without retry. + """ + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": WEATHER_DATA, + }, + { + "name": "LocationResponse", + "id": "2", + "args": LOCATION_DATA, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel | LocationResponse, + handle_errors=False, + ), + ) + + with pytest.raises( + MultipleStructuredOutputsError, + match=r".*WeatherBaseModel.*LocationResponse.*", + ): + agent.invoke({"messages": [HumanMessage("Give me weather and location")]}) + + def test_multiple_structured_outputs_with_retry(self) -> None: + """Test that retry handles multiple structured output tool calls.""" + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": WEATHER_DATA, + }, + { + "name": "LocationResponse", + "id": "2", + "args": LOCATION_DATA, + }, + ], + [ + { + "name": "WeatherBaseModel", + "id": "3", + "args": WEATHER_DATA, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel | LocationResponse, + handle_errors=True, + ), + ) + + response = agent.invoke({"messages": [HumanMessage("Give me weather")]}) + + # HumanMessage, AIMessage, ToolMessage, ToolMessage, AI, ToolMessage + assert len(response["messages"]) == 6 + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + + def test_structured_output_parsing_error_without_retry(self) -> None: + """Test structured output parsing error without retry. + + Test that StructuredOutputValidationError is raised when tool args fail to parse + without retry. + """ + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": {"invalid": "data"}, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel, + handle_errors=False, + ), + ) + + with pytest.raises( + StructuredOutputValidationError, + match=r".*WeatherBaseModel.*", + ): + agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + def test_structured_output_parsing_error_with_retry(self) -> None: + """Test that retry handles parsing errors for structured output.""" + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": {"invalid": "data"}, + }, + ], + [ + { + "name": "WeatherBaseModel", + "id": "2", + "args": WEATHER_DATA, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel, + handle_errors=(StructuredOutputValidationError,), + ), + ) + + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + # HumanMessage, AIMessage, ToolMessage, AIMessage, ToolMessage + assert len(response["messages"]) == 5 + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + + def test_retry_with_custom_function(self) -> None: + """Test retry with custom message generation.""" + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": WEATHER_DATA, + }, + { + "name": "LocationResponse", + "id": "2", + "args": LOCATION_DATA, + }, + ], + [ + { + "name": "WeatherBaseModel", + "id": "3", + "args": WEATHER_DATA, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + def custom_message(exception: Exception) -> str: + if isinstance(exception, MultipleStructuredOutputsError): + return "Custom error: Multiple outputs not allowed" + return "Custom error" + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel | LocationResponse, + handle_errors=custom_message, + ), + ) + + response = agent.invoke({"messages": [HumanMessage("Give me weather")]}) + + # HumanMessage, AIMessage, ToolMessage, ToolMessage, AI, ToolMessage + assert len(response["messages"]) == 6 + assert response["messages"][2].content == "Custom error: Multiple outputs not allowed" + assert response["messages"][3].content == "Custom error: Multiple outputs not allowed" + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + + def test_retry_with_custom_string_message(self) -> None: + """Test retry with custom static string message.""" + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": {"invalid": "data"}, + }, + ], + [ + { + "name": "WeatherBaseModel", + "id": "2", + "args": WEATHER_DATA, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel, + handle_errors="Please provide valid weather data with temperature and condition.", + ), + ) + + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert len(response["messages"]) == 5 + assert ( + response["messages"][2].content + == "Please provide valid weather data with temperature and condition." + ) + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + + def test_validation_error_with_invalid_response(self) -> None: + """Test validation error with invalid response. + + Test that StructuredOutputValidationError is raised when tool strategy receives + invalid response. + """ + tool_calls = [ + [ + { + "name": "WeatherBaseModel", + "id": "1", + "args": {"invalid_field": "wrong_data", "another_bad_field": 123}, + }, + ], + ] + + model = FakeToolCallingModel(tool_calls=tool_calls) + + agent = create_agent( + model, + [], + response_format=ToolStrategy( + WeatherBaseModel, + handle_errors=False, # Disable retry to ensure error is raised + ), + ) + + with pytest.raises( + StructuredOutputValidationError, + match=r".*WeatherBaseModel.*", + ): + agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + +class TestResponseFormatAsProviderStrategy: + def test_pydantic_model(self) -> None: + """Test response_format as ProviderStrategy with Pydantic model.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + ] + + model = FakeToolCallingModel( + tool_calls=tool_calls, structured_response=EXPECTED_WEATHER_PYDANTIC + ) + + agent = create_agent( + model, [get_weather], response_format=ProviderStrategy(WeatherBaseModel) + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + assert len(response["messages"]) == 4 + + def test_validation_error_with_invalid_response(self) -> None: + """Test validation error with invalid response. + + Test that StructuredOutputValidationError is raised when provider strategy + receives invalid response. + """ + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + ] + + # But we're using WeatherBaseModel which has different field requirements + model = FakeToolCallingModel( + tool_calls=tool_calls, + structured_response={"invalid": "data"}, # Wrong structure + ) + + agent = create_agent( + model, [get_weather], response_format=ProviderStrategy(WeatherBaseModel) + ) + + with pytest.raises( + StructuredOutputValidationError, + match=r".*WeatherBaseModel.*", + ): + agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + def test_dataclass(self) -> None: + """Test response_format as ProviderStrategy with dataclass.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + ] + + model = FakeToolCallingModel( + tool_calls=tool_calls, structured_response=EXPECTED_WEATHER_DATACLASS + ) + + agent = create_agent( + model, [get_weather], response_format=ProviderStrategy(WeatherDataclass) + ) + response = agent.invoke( + {"messages": [HumanMessage("What's the weather?")]}, + ) + + assert response["structured_response"] == EXPECTED_WEATHER_DATACLASS + assert len(response["messages"]) == 4 + + def test_typed_dict(self) -> None: + """Test response_format as ProviderStrategy with TypedDict.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + ] + + model = FakeToolCallingModel( + tool_calls=tool_calls, structured_response=EXPECTED_WEATHER_DICT + ) + + agent = create_agent( + model, [get_weather], response_format=ProviderStrategy(WeatherTypedDict) + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 4 + + def test_json_schema(self) -> None: + """Test response_format as ProviderStrategy with JSON schema.""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + ] + + model = FakeToolCallingModel( + tool_calls=tool_calls, structured_response=EXPECTED_WEATHER_DICT + ) + + agent = create_agent( + model, [get_weather], response_format=ProviderStrategy(weather_json_schema) + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_DICT + assert len(response["messages"]) == 4 + + +class TestDynamicModelWithResponseFormat: + """Test response_format with middleware that modifies the model.""" + + def test_middleware_model_swap_provider_to_tool_strategy(self) -> None: + """Test that strategy resolution is deferred until after middleware modifies the model. + + Verifies that when a raw schema is provided, `_supports_provider_strategy` is called + on the middleware-modified model (not the original), ensuring the correct strategy is + selected based on the final model's capabilities. + """ + + # Custom model that we'll use to test whether the tool strategy is applied + # correctly at runtime. + class CustomModel(GenericFakeChatModel): + tool_bindings: list[Any] = Field(default_factory=list) + + @override + def bind_tools( + self, + tools: Sequence[dict[str, Any] | type[BaseModel] | Callable[..., Any] | BaseTool], + **kwargs: Any, + ) -> Runnable[LanguageModelInput, AIMessage]: + # Record every tool binding event. + self.tool_bindings.append(tools) + return self + + model = CustomModel( + messages=iter( + [ + # Simulate model returning structured output directly + # (this is what provider strategy would do) + json.dumps(WEATHER_DATA), + ] + ) + ) + + # Create middleware that swaps the model in the request + class ModelSwappingMiddleware(AgentMiddleware): + def wrap_model_call( + self, + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelCallResult: + # Replace the model with our custom test model + return handler(request.override(model=model)) + + # Track which model is checked for provider strategy support + calls = [] + + def mock_supports_provider_strategy( + model: str | BaseChatModel, *_args: Any, **_kwargs: Any + ) -> bool: + """Track which model is checked and return True for ProviderStrategy.""" + calls.append(model) + return True + + # Use raw Pydantic model (not wrapped in ToolStrategy or ProviderStrategy) + # This should auto-detect strategy based on model capabilities + agent = create_agent( + model=model, + tools=[], + # Raw schema - should auto-detect strategy + response_format=WeatherBaseModel, + middleware=[ModelSwappingMiddleware()], + ) + + with patch( + "langchain.agents.factory._supports_provider_strategy", + side_effect=mock_supports_provider_strategy, + ): + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + # Verify strategy resolution was deferred: check was called once during _get_bound_model + assert len(calls) == 1 + + # Verify successful parsing of JSON as structured output via ProviderStrategy + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + # Two messages: Human input message and AI response with JSON content + assert len(response["messages"]) == 2 + ai_message = response["messages"][1] + assert isinstance(ai_message, AIMessage) + # ProviderStrategy doesn't use tool calls - it parses content directly + assert ai_message.tool_calls == [] + assert ai_message.content == json.dumps(WEATHER_DATA) + + +def test_union_of_types() -> None: + """Test response_format as ProviderStrategy with Union (if supported).""" + tool_calls = [ + [{"args": {}, "id": "1", "name": "get_weather"}], + [ + { + "name": "WeatherBaseModel", + "id": "2", + "args": WEATHER_DATA, + } + ], + ] + + model = FakeToolCallingModel( + tool_calls=tool_calls, structured_response=EXPECTED_WEATHER_PYDANTIC + ) + + agent = create_agent( + model, + [get_weather, get_location], + response_format=ToolStrategy(WeatherBaseModel | LocationResponse), + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert response["structured_response"] == EXPECTED_WEATHER_PYDANTIC + assert len(response["messages"]) == 5 + + +class TestSupportsProviderStrategy: + """Unit tests for `_supports_provider_strategy`.""" + + @staticmethod + def _make_structured_model(model_name: str) -> GenericFakeChatModel: + class GeminiTestChatModel(GenericFakeChatModel): + model_name: str + + return GeminiTestChatModel( + messages=iter( + [ + AIMessage(content="test-response"), + ] + ), + profile={"structured_output": True}, + model_name=model_name, + ) + + def test_blocks_gemini_v2_with_tools(self) -> None: + """Gemini 2 series models cannot use provider strategy with tools.""" + model = self._make_structured_model("gemini-2.5-flash") + assert not _supports_provider_strategy(model, tools=[get_weather]) + + def test_allows_gemini_v3_with_tools(self) -> None: + """Gemini 3 series models support structured output alongside tools.""" + model = self._make_structured_model("gemini-3.1-pro-preview") + assert _supports_provider_strategy(model, tools=[get_weather]) + + @pytest.mark.parametrize( + "alias", + [ + "gemini-flash-latest", + "gemini-flash-lite-latest", + ], + ) + def test_blocks_gemini_latest_aliases(self, alias: str) -> None: + """Latest aliases stay blocked until they point to Gemini 3.""" + model = self._make_structured_model(alias) + assert not _supports_provider_strategy(model, tools=[get_weather]) + + @pytest.mark.parametrize( + "model_name", + [ + "gpt-4.1", + "gpt-4.1-mini", + "gpt-4o", + "gpt-4o-mini", + "gpt-5", + "gpt-5-mini", + "gpt-5.1", + "gpt-5.1-codex", + "gpt-5.2", + "gpt-5.2-2025-12-01", + "gpt-5.2-chat-latest", + "gpt-5.2-codex", + "gpt-5.3", + "gpt-5.3-codex-spark", + "gpt-5.4", + "gpt-5.4-2026-03-05", + "gpt-5.4-mini", + "gpt-5.4-nano", + "gpt-5.5-pro", + "openai:gpt-5.5", + "openai/gpt-5-mini", + "openai.gpt-5.4-mini", + "claude-fable-5", + "claude-mythos-5", + "claude-haiku-4-5", + "claude-haiku-4-5-20251001", + "claude-opus-4-5", + "claude-opus-4-5-20251101", + "claude-opus-4-6", + "claude-opus-4-7", + "claude-opus-4-8", + "claude-sonnet-4-5", + "claude-sonnet-4-5-20250929", + "claude-sonnet-4-6", + "anthropic/claude-sonnet-4-5", + "anthropic.claude-opus-4-6", + "anthropic.claude-sonnet-4-5-20250929-v1:0", + "grok-4.20-0309-reasoning", + "grok-4.3", + "grok-build-0.1", + ], + ) + def test_fallback_allows_known_structured_output_models(self, model_name: str) -> None: + """Fallback model patterns allow known native structured-output models.""" + assert _supports_provider_strategy(model_name) + + @pytest.mark.parametrize( + "model_name", + [ + "gpt-5.2-pro", + "gpt-5.4-pro", + "gpt-oss-120b", + "openai/gpt-oss-120b:free", + "claude-3-5-sonnet-20241022", + "claude-opus-4-1", + "claude-opus-4-1-20250805", + "claude-opus-4-20250514", + "claude-opus-4-0", + "grok-imagine-image", + "grok-imagine-video", + "solar-pro3", + "sao10k/l3.1-70b-hanami-x1", + ], + ) + def test_fallback_blocks_overbroad_structured_output_matches(self, model_name: str) -> None: + """Fallback patterns avoid models.dev counterexamples and substrings.""" + assert not _supports_provider_strategy(model_name) + + def test_fallback_string_path_ignores_tools(self) -> None: + """The bare-string fallback path ignores `tools` (Gemini guard is profile-only).""" + assert _supports_provider_strategy("gpt-5.5") + assert _supports_provider_strategy("gpt-5.5", tools=[get_weather]) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py new file mode 100644 index 0000000000000000000000000000000000000000..3c3c3541f5779d014d977948021f7a1ddd0831e6 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_response_format_integration.py @@ -0,0 +1,189 @@ +r"""Test response_format for langchain-openai. + +If tests fail, cassettes may need to be re-recorded. + +To re-record cassettes: + +1. Delete existing cassettes (`rm tests/cassettes/test_inference_to_*.yaml.gz`) +2. Re run the tests with a valid OPENAI_API_KEY in your environment: +```bash +OPENAI_API_KEY=... uv run python -m pytest tests/unit_tests/agents/test_response_format_integration.py +``` + +The cassettes are compressed. To read them: +```bash +gunzip -c "tests/cassettes/test_inference_to_native_output[True].yaml.gz" | \ + yq -o json . | \ + jq '.requests[].body |= (gsub("\n";"") | @base64d | fromjson) | + .responses[].body.string |= (gsub("\n";"") | @base64d | fromjson)' +``` + +Or, in Python: +```python +import json + +from langchain_tests.conftest import CustomPersister, CustomSerializer + +def bytes_encoder(obj): + return obj.decode("utf-8", errors="replace") + +path = "tests/cassettes/test_inference_to_native_output[True].yaml.gz" + +requests, responses = CustomPersister().load_cassette(path, CustomSerializer()) +assert len(requests) == len(responses) +for request, response in list(zip(requests, responses)): + print("------ REQUEST ------") + req = request._to_dict() + req["body"] = json.loads(req["body"]) + print(json.dumps(req, indent=2, default=bytes_encoder)) + print("\n\n ------ RESPONSE ------") + resp = response + print(json.dumps(resp, indent=2, default=bytes_encoder)) +print("\n\n") +``` +""" # noqa: E501 + +import os +from typing import TYPE_CHECKING, Any +from unittest.mock import patch + +import pytest +from langchain_core.messages import HumanMessage +from pydantic import BaseModel, Field + +from langchain.agents import create_agent +from langchain.agents.structured_output import ProviderStrategy, ToolStrategy + +if TYPE_CHECKING: + from langchain_openai import ChatOpenAI +else: + ChatOpenAI = pytest.importorskip("langchain_openai").ChatOpenAI + + +class WeatherBaseModel(BaseModel): + """Weather response.""" + + temperature: float = Field(description="The temperature in fahrenheit") + condition: str = Field(description="Weather condition") + + +def get_weather(city: str) -> str: + """Get the weather for a city.""" + return f"The weather in {city} is sunny and 75°F." + + +@pytest.mark.vcr +@pytest.mark.parametrize("use_responses_api", [False, True]) +def test_inference_to_native_output(*, use_responses_api: bool) -> None: + """Test that native output is inferred when a model supports it.""" + model_kwargs: dict[str, Any] = {"model": "gpt-5", "use_responses_api": use_responses_api} + + if "OPENAI_API_KEY" not in os.environ: + model_kwargs["api_key"] = "foo" + + model = ChatOpenAI(**model_kwargs) + + agent = create_agent( + model, + system_prompt=( + "You are a helpful weather assistant. Please call the get_weather tool " + "once, then use the WeatherReport tool to generate the final response." + ), + tools=[get_weather], + response_format=WeatherBaseModel, + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather in Boston?")]}) + + assert isinstance(response["structured_response"], WeatherBaseModel) + assert response["structured_response"].temperature == 75.0 + assert response["structured_response"].condition.lower() == "sunny" + assert len(response["messages"]) == 4 + + assert [m.type for m in response["messages"]] == [ + "human", # "What's the weather?" + "ai", # "What's the weather?" + "tool", # "The weather is sunny and 75°F." + "ai", # structured response + ] + + +@pytest.mark.vcr +@pytest.mark.parametrize("use_responses_api", [False, True]) +def test_inference_to_tool_output(*, use_responses_api: bool) -> None: + """Test that tool output is inferred when a model supports it.""" + model_kwargs: dict[str, Any] = {"model": "gpt-5", "use_responses_api": use_responses_api} + + if "OPENAI_API_KEY" not in os.environ: + model_kwargs["api_key"] = "foo" + + model = ChatOpenAI(**model_kwargs) + + agent = create_agent( + model, + system_prompt=( + "You are a helpful weather assistant. Please call the get_weather tool " + "once, then use the WeatherReport tool to generate the final response." + ), + tools=[get_weather], + response_format=ToolStrategy(WeatherBaseModel), + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather?")]}) + + assert isinstance(response["structured_response"], WeatherBaseModel) + assert response["structured_response"].temperature == 75.0 + assert response["structured_response"].condition.lower() == "sunny" + assert len(response["messages"]) == 5 + + assert [m.type for m in response["messages"]] == [ + "human", # "What's the weather?" + "ai", # "What's the weather?" + "tool", # "The weather is sunny and 75°F." + "ai", # structured response + "tool", # artificial tool message + ] + + +@pytest.mark.vcr +@pytest.mark.parametrize("use_responses_api", [False, True]) +def test_strict_mode(*, use_responses_api: bool) -> None: + model_kwargs: dict[str, Any] = {"model": "gpt-5", "use_responses_api": use_responses_api} + + if "OPENAI_API_KEY" not in os.environ: + model_kwargs["api_key"] = "foo" + + model = ChatOpenAI(**model_kwargs) + + # spy on _get_request_payload to check that `strict` is enabled + original_method = model._get_request_payload + payloads = [] + + def capture_payload(*args: Any, **kwargs: Any) -> dict[str, Any]: + result = original_method(*args, **kwargs) + payloads.append(result) + return result + + with patch.object(model, "_get_request_payload", side_effect=capture_payload): + agent = create_agent( + model, + tools=[get_weather], + response_format=ProviderStrategy(WeatherBaseModel, strict=True), + ) + response = agent.invoke({"messages": [HumanMessage("What's the weather in Boston?")]}) + + assert len(payloads) == 2 + if use_responses_api: + assert payloads[-1]["text"]["format"]["strict"] + else: + assert payloads[-1]["response_format"]["json_schema"]["strict"] + + assert isinstance(response["structured_response"], WeatherBaseModel) + assert response["structured_response"].temperature == 75.0 + assert response["structured_response"].condition.lower() == "sunny" + assert len(response["messages"]) == 4 + + assert [m.type for m in response["messages"]] == [ + "human", # "What's the weather?" + "ai", # "What's the weather?" + "tool", # "The weather is sunny and 75°F." + "ai", # structured response + ] diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_responses.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_responses.py new file mode 100644 index 0000000000000000000000000000000000000000..1a20786f3b99177e001a23c1a71f9ad2ff2130c9 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_responses.py @@ -0,0 +1,282 @@ +"""Unit tests for langchain.agents.structured_output module.""" + +import pytest +from langchain_core.messages import AIMessage +from pydantic import BaseModel + +from langchain.agents.structured_output import ( + OutputToolBinding, + ProviderStrategy, + ProviderStrategyBinding, + ToolStrategy, + _SchemaSpec, +) + + +class _TestModel(BaseModel): + """A test model for structured output.""" + + name: str + age: int + email: str = "default@example.com" + + +class CustomModel(BaseModel): + """Custom model with a custom docstring.""" + + value: float + description: str + + +class EmptyDocModel(BaseModel): + # No custom docstring, should have no description in tool + data: str + + +class TestToolStrategy: + """Test ToolStrategy dataclass.""" + + def test_basic_creation(self) -> None: + """Test basic ToolStrategy creation.""" + strategy = ToolStrategy(schema=_TestModel) + assert strategy.schema == _TestModel + assert strategy.tool_message_content is None + assert len(strategy.schema_specs) == 1 + assert strategy.schema_specs[0].schema == _TestModel + + def test_multiple_schemas(self) -> None: + """Test ToolStrategy with multiple schemas.""" + strategy = ToolStrategy(schema=_TestModel | CustomModel) + assert len(strategy.schema_specs) == 2 + assert strategy.schema_specs[0].schema == _TestModel + assert strategy.schema_specs[1].schema == CustomModel + + def test_schema_with_tool_message_content(self) -> None: + """Test ToolStrategy with tool message content.""" + strategy = ToolStrategy(schema=_TestModel, tool_message_content="custom message") + assert strategy.schema == _TestModel + assert strategy.tool_message_content == "custom message" + assert len(strategy.schema_specs) == 1 + assert strategy.schema_specs[0].schema == _TestModel + + +class TestProviderStrategy: + """Test ProviderStrategy dataclass.""" + + def test_basic_creation(self) -> None: + """Test basic ProviderStrategy creation.""" + strategy = ProviderStrategy(schema=_TestModel) + assert strategy.schema == _TestModel + assert strategy.schema_spec.schema == _TestModel + assert strategy.schema_spec.strict is None + + def test_strict(self) -> None: + """Test ProviderStrategy creation with strict=True.""" + strategy = ProviderStrategy(schema=_TestModel, strict=True) + assert strategy.schema == _TestModel + assert strategy.schema_spec.schema == _TestModel + assert strategy.schema_spec.strict is True + + def test_to_model_kwargs(self) -> None: + strategy_default = ProviderStrategy(schema=_TestModel) + assert strategy_default.to_model_kwargs() == { + "response_format": { + "json_schema": { + "name": "_TestModel", + "schema": { + "description": "A test model for structured output.", + "properties": { + "age": {"title": "Age", "type": "integer"}, + "email": { + "default": "default@example.com", + "title": "Email", + "type": "string", + }, + "name": {"title": "Name", "type": "string"}, + }, + "required": ["name", "age"], + "title": "_TestModel", + "type": "object", + }, + }, + "type": "json_schema", + } + } + + def test_to_model_kwargs_strict(self) -> None: + strategy_default = ProviderStrategy(schema=_TestModel, strict=True) + assert strategy_default.to_model_kwargs() == { + "response_format": { + "json_schema": { + "name": "_TestModel", + "schema": { + "description": "A test model for structured output.", + "properties": { + "age": {"title": "Age", "type": "integer"}, + "email": { + "default": "default@example.com", + "title": "Email", + "type": "string", + }, + "name": {"title": "Name", "type": "string"}, + }, + "required": ["name", "age"], + "title": "_TestModel", + "type": "object", + }, + "strict": True, + }, + "type": "json_schema", + } + } + + +class TestOutputToolBinding: + """Test OutputToolBinding dataclass and its methods.""" + + def test_from_schema_spec_basic(self) -> None: + """Test basic OutputToolBinding creation from SchemaSpec.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + + assert tool_binding.schema == _TestModel + assert tool_binding.schema_kind == "pydantic" + assert tool_binding.tool is not None + assert tool_binding.tool.name == "_TestModel" + + def test_from_schema_spec_with_custom_name(self) -> None: + """Test OutputToolBinding creation with custom name.""" + schema_spec = _SchemaSpec(schema=_TestModel, name="custom_tool_name") + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + assert tool_binding.tool.name == "custom_tool_name" + + def test_from_schema_spec_with_custom_description(self) -> None: + """Test OutputToolBinding creation with custom description.""" + schema_spec = _SchemaSpec(schema=_TestModel, description="Custom tool description") + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + + assert tool_binding.tool.description == "Custom tool description" + + def test_from_schema_spec_with_model_docstring(self) -> None: + """Test OutputToolBinding creation using model docstring as description.""" + schema_spec = _SchemaSpec(schema=CustomModel) + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + + assert tool_binding.tool.description == "Custom model with a custom docstring." + + def test_from_schema_spec_empty_docstring(self) -> None: + """Test OutputToolBinding creation with model that has default docstring.""" + + # Create a model with the same docstring as BaseModel + class DefaultDocModel(BaseModel): + # This should have the same docstring as BaseModel + pass + + schema_spec = _SchemaSpec(schema=DefaultDocModel) + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + + # Should use empty description when model has default BaseModel docstring + assert not tool_binding.tool.description + + def test_parse_payload_pydantic_success(self) -> None: + """Test successful parsing for Pydantic model.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + + tool_args = {"name": "John", "age": 30} + result = tool_binding.parse(tool_args) + + assert isinstance(result, _TestModel) + assert result.name == "John" + assert result.age == 30 + assert result.email == "default@example.com" # default value + + def test_parse_payload_pydantic_validation_error(self) -> None: + """Test parsing failure for invalid Pydantic data.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = OutputToolBinding.from_schema_spec(schema_spec) + + # Missing required field 'name' + tool_args = {"age": 30} + + with pytest.raises(ValueError, match="Failed to parse data to _TestModel"): + tool_binding.parse(tool_args) + + +class TestProviderStrategyBinding: + """Test ProviderStrategyBinding dataclass and its methods.""" + + def test_from_schema_spec_basic(self) -> None: + """Test basic ProviderStrategyBinding creation from SchemaSpec.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = ProviderStrategyBinding.from_schema_spec(schema_spec) + + assert tool_binding.schema == _TestModel + assert tool_binding.schema_kind == "pydantic" + + def test_parse_payload_pydantic_success(self) -> None: + """Test successful parsing for Pydantic model.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = ProviderStrategyBinding.from_schema_spec(schema_spec) + + message = AIMessage(content='{"name": "John", "age": 30}') + result = tool_binding.parse(message) + + assert isinstance(result, _TestModel) + assert result.name == "John" + assert result.age == 30 + assert result.email == "default@example.com" # default value + + def test_parse_payload_pydantic_validation_error(self) -> None: + """Test parsing failure for invalid Pydantic data.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = ProviderStrategyBinding.from_schema_spec(schema_spec) + + # Missing required field 'name' + message = AIMessage(content='{"age": 30}') + + with pytest.raises(ValueError, match="Failed to parse data to _TestModel"): + tool_binding.parse(message) + + def test_parse_payload_pydantic_json_error(self) -> None: + """Test parsing failure for invalid JSON data.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = ProviderStrategyBinding.from_schema_spec(schema_spec) + + message = AIMessage(content="invalid json") + + with pytest.raises( + ValueError, + match="Native structured output expected valid JSON for _TestModel, but parsing failed", + ): + tool_binding.parse(message) + + def test_parse_content_list(self) -> None: + """Test successful parsing for Pydantic model with content as list.""" + schema_spec = _SchemaSpec(schema=_TestModel) + tool_binding = ProviderStrategyBinding.from_schema_spec(schema_spec) + + message = AIMessage( + content=['{"name":', {"content": ' "John",'}, {"type": "text", "text": ' "age": 30}'}] + ) + result = tool_binding.parse(message) + + assert isinstance(result, _TestModel) + assert result.name == "John" + assert result.age == 30 + assert result.email == "default@example.com" # default value + + +class TestEdgeCases: + """Test edge cases and error conditions.""" + + def test_single_schema(self) -> None: + """Test ToolStrategy with a single schema creates one schema spec.""" + strategy = ToolStrategy(EmptyDocModel) + assert len(strategy.schema_specs) == 1 + + def test_empty_docstring_model(self) -> None: + """Test that models without explicit docstrings have empty tool descriptions.""" + binding = OutputToolBinding.from_schema_spec(_SchemaSpec(EmptyDocModel)) + assert binding.tool.name == "EmptyDocModel" + assert not binding.tool.description diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..6c93b753b6b08268734ae54ceb3dcd40f2d711e3 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py @@ -0,0 +1,168 @@ +from __future__ import annotations + +import os +from typing import ( + TYPE_CHECKING, + Any, +) +from unittest.mock import MagicMock + +import httpx +import pytest +from langchain_core.messages import HumanMessage +from langchain_core.tools import tool +from pydantic import BaseModel, create_model + +from langchain.agents import create_agent +from langchain.agents.structured_output import ( + ToolStrategy, +) +from tests.unit_tests.agents.utils import BaseSchema, load_spec + +if TYPE_CHECKING: + from collections.abc import Callable + + +try: + from langchain_openai import ChatOpenAI +except ImportError: + skip_openai_integration_tests = True +else: + skip_openai_integration_tests = "OPENAI_API_KEY" not in os.environ + +OPENAI_TEST_MODEL = "gpt-5.5" + +AGENT_PROMPT = "You are an HR assistant." + + +class ToolCalls(BaseSchema): + get_employee_role: int + get_employee_department: int + + +class AssertionByInvocation(BaseSchema): + prompt: str + tools_with_expected_calls: ToolCalls + expected_last_message: str + expected_structured_response: dict[str, Any] | None + llm_request_count: int + + +class TestCase(BaseSchema): + name: str + response_format: dict[str, Any] | list[dict[str, Any]] + assertions_by_invocation: list[AssertionByInvocation] + + +class Employee(BaseModel): + name: str + role: str + department: str + + +EMPLOYEES: list[Employee] = [ + Employee(name="Sabine", role="Developer", department="IT"), + Employee(name="Henrik", role="Product Manager", department="IT"), + Employee(name="Jessica", role="HR", department="People"), +] + +TEST_CASES = load_spec("responses", as_model=TestCase) + + +def _make_tool(fn: Callable[..., str | None], *, name: str, description: str) -> dict[str, Any]: + mock = MagicMock(side_effect=lambda *, name: fn(name=name)) + input_model = create_model(f"{name}_input", name=(str, ...)) + + @tool(name, description=description, args_schema=input_model) + def _wrapped(name: str) -> Any: + return mock(name=name) + + return {"tool": _wrapped, "mock": mock} + + +@pytest.mark.skipif(skip_openai_integration_tests, reason="OpenAI integration tests are disabled.") +@pytest.mark.parametrize("case", TEST_CASES, ids=[c.name for c in TEST_CASES]) +def test_responses_integration_matrix(case: TestCase) -> None: + if case.name == "asking for information that does not fit into the response format": + pytest.xfail( + "currently failing due to undefined behavior when model cannot conform to " + "any of the structured response formats." + ) + + def get_employee_role(*, name: str) -> str | None: + for e in EMPLOYEES: + if e.name == name: + return e.role + return None + + def get_employee_department(*, name: str) -> str | None: + for e in EMPLOYEES: + if e.name == name: + return e.department + return None + + role_tool = _make_tool( + get_employee_role, + name="get_employee_role", + description="Get the employee role by name", + ) + dept_tool = _make_tool( + get_employee_department, + name="get_employee_department", + description="Get the employee department by name", + ) + + response_format_spec = case.response_format + if isinstance(response_format_spec, dict): + response_format_spec = [response_format_spec] + # Unwrap nested schema objects + response_format_spec = [item.get("schema", item) for item in response_format_spec] + if len(response_format_spec) == 1: + tool_output = ToolStrategy[Any](response_format_spec[0]) + else: + tool_output = ToolStrategy({"oneOf": response_format_spec}) + + llm_request_count = 0 + + for assertion in case.assertions_by_invocation: + + def on_request(_request: httpx.Request) -> None: + nonlocal llm_request_count + llm_request_count += 1 + + http_client = httpx.Client( + event_hooks={"request": [on_request]}, + ) + + model = ChatOpenAI( + model=OPENAI_TEST_MODEL, + temperature=0, + http_client=http_client, + ) + + agent = create_agent( + model, + tools=[role_tool["tool"], dept_tool["tool"]], + system_prompt=AGENT_PROMPT, + response_format=tool_output, + ) + + result = agent.invoke({"messages": [HumanMessage(assertion.prompt)]}) + + # Count tool calls + assert role_tool["mock"].call_count == assertion.tools_with_expected_calls.get_employee_role + assert ( + dept_tool["mock"].call_count + == assertion.tools_with_expected_calls.get_employee_department + ) + + # Count LLM calls + assert llm_request_count == assertion.llm_request_count + + # Check last message content + last_message = result["messages"][-1] + assert last_message.content == assertion.expected_last_message + + # Check structured response + structured_response_json = result["structured_response"] + assert structured_response_json == assertion.expected_structured_response diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_return_direct_graph.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_return_direct_graph.py new file mode 100644 index 0000000000000000000000000000000000000000..a5705da6d3c17d4663275057daf99f71b454b90f --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_return_direct_graph.py @@ -0,0 +1,72 @@ +"""Tests for return_direct tool graph structure.""" + +from langchain_core.tools import tool +from syrupy.assertion import SnapshotAssertion + +from langchain.agents.factory import create_agent +from tests.unit_tests.agents.model import FakeToolCallingModel + + +def test_agent_graph_without_return_direct_tools(snapshot: SnapshotAssertion) -> None: + """Test that graph WITHOUT return_direct tools does NOT have edge from tools to end.""" + + @tool + def normal_tool(input_string: str) -> str: + """A normal tool without return_direct.""" + return input_string + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[normal_tool], + system_prompt="You are a helpful assistant.", + ) + + # The mermaid diagram should NOT include an edge from tools to __end__ + # when no tools have return_direct=True + mermaid_diagram = agent.get_graph().draw_mermaid() + assert mermaid_diagram == snapshot + + +def test_agent_graph_with_return_direct_tool(snapshot: SnapshotAssertion) -> None: + """Test that graph WITH return_direct tools has correct edge from tools to end.""" + + @tool(return_direct=True) + def return_direct_tool(input_string: str) -> str: + """A tool with return_direct=True.""" + return input_string + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[return_direct_tool], + system_prompt="You are a helpful assistant.", + ) + + # The mermaid diagram SHOULD include an edge from tools to __end__ + # when at least one tool has return_direct=True + mermaid_diagram = agent.get_graph().draw_mermaid() + assert mermaid_diagram == snapshot + + +def test_agent_graph_with_mixed_tools(snapshot: SnapshotAssertion) -> None: + """Test that graph with mixed tools (some return_direct, some not) has correct edges.""" + + @tool(return_direct=True) + def return_direct_tool(input_string: str) -> str: + """A tool with return_direct=True.""" + return input_string + + @tool + def normal_tool(input_string: str) -> str: + """A normal tool without return_direct.""" + return input_string + + agent = create_agent( + model=FakeToolCallingModel(), + tools=[return_direct_tool, normal_tool], + system_prompt="You are a helpful assistant.", + ) + + # The mermaid diagram SHOULD include an edge from tools to __end__ + # because at least one tool has return_direct=True + mermaid_diagram = agent.get_graph().draw_mermaid() + assert mermaid_diagram == snapshot diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_return_direct_spec.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_return_direct_spec.py new file mode 100644 index 0000000000000000000000000000000000000000..13ff2da59a0f6614f4e2a149fce6aa45f2335c7f --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_return_direct_spec.py @@ -0,0 +1,120 @@ +from __future__ import annotations + +import os +from typing import ( + Any, +) +from unittest.mock import MagicMock + +import pytest +from langchain_core.messages import HumanMessage +from langchain_core.tools import tool + +from langchain.agents import create_agent +from langchain.agents.structured_output import ( + ToolStrategy, +) +from tests.unit_tests.agents.utils import BaseSchema, load_spec + +try: + from langchain_openai import ChatOpenAI +except ImportError: + skip_openai_integration_tests = True +else: + skip_openai_integration_tests = "OPENAI_API_KEY" not in os.environ + +OPENAI_TEST_MODEL = "gpt-5.5" + +AGENT_PROMPT = """ +You are a strict polling bot. + +- Only use the "poll_job" tool until it returns { status: "succeeded" }. +- If status is "pending", call the tool again. Do not produce a final answer. +- When it is "succeeded", return exactly: "Attempts: " with no extra text. +""" + + +class TestCase(BaseSchema): + name: str + return_direct: bool + response_format: dict[str, Any] | None + expected_tool_calls: int + expected_last_message: str + expected_structured_response: dict[str, Any] | None + + +TEST_CASES = load_spec("return_direct", as_model=TestCase) + + +def _make_tool(*, return_direct: bool) -> dict[str, Any]: + attempts = 0 + + def _side_effect() -> dict[str, Any]: + nonlocal attempts + attempts += 1 + return { + "status": "succeeded" if attempts >= 10 else "pending", + "attempts": attempts, + } + + mock = MagicMock(side_effect=_side_effect) + + @tool( + "pollJob", + description=( + "Check the status of a long-running job. " + "Returns { status: 'pending' | 'succeeded', attempts: number }." + ), + return_direct=return_direct, + ) + def _wrapped() -> Any: + return mock() + + return {"tool": _wrapped, "mock": mock} + + +@pytest.mark.skipif(skip_openai_integration_tests, reason="OpenAI integration tests are disabled.") +@pytest.mark.parametrize("case", TEST_CASES, ids=[c.name for c in TEST_CASES]) +def test_return_direct_integration_matrix(case: TestCase) -> None: + poll_tool = _make_tool(return_direct=case.return_direct) + + model = ChatOpenAI( + model=OPENAI_TEST_MODEL, + temperature=0, + ) + + if case.response_format: + agent = create_agent( + model, + tools=[poll_tool["tool"]], + system_prompt=AGENT_PROMPT, + response_format=ToolStrategy(case.response_format), + ) + else: + agent = create_agent( + model, + tools=[poll_tool["tool"]], + system_prompt=AGENT_PROMPT, + ) + + result = agent.invoke( + { + "messages": [ + HumanMessage("Poll the job until it's done and tell me how many attempts it took.") + ] + } + ) + + # Count tool calls + assert poll_tool["mock"].call_count == case.expected_tool_calls + + # Check last message content + last_message = result["messages"][-1] + assert last_message.content == case.expected_last_message + + # Check structured response + if case.expected_structured_response is not None: + structured_response_json = result["structured_response"] + assert structured_response_json == case.expected_structured_response + else: + assert "structured_response" not in result diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_state_schema.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_state_schema.py new file mode 100644 index 0000000000000000000000000000000000000000..65f10da9d2a858580373edf7edae303ec7d9f167 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_state_schema.py @@ -0,0 +1,351 @@ +"""Test state_schema parameter in create_agent. + +This module tests that the state_schema parameter allows users to extend +AgentState without needing to create custom middleware. +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Annotated, Any, get_args, get_type_hints + +from langchain_core.messages import HumanMessage +from langchain_core.tools import tool +from typing_extensions import NotRequired, Required, override + +from langchain.agents import create_agent, factory +from langchain.agents.middleware.types import ( + AgentMiddleware, + AgentState, + InputAgentState, + PrivateStateAttr, +) + +# Cannot move ToolRuntime to TYPE_CHECKING as parameters of @tool annotated functions +# are inspected at runtime. +from langchain.tools import ToolRuntime # noqa: TC001 +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langgraph.runtime import Runtime + + +@tool +def simple_tool(x: int) -> str: + """Simple tool for basic tests.""" + return f"Result: {x}" + + +def test_state_schema_single_custom_field() -> None: + """Test that a single custom state field is preserved through agent execution.""" + + class CustomState(AgentState[Any]): + custom_field: str + + class CustomInputState(InputAgentState): + custom_field: str + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 1}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + state_schema=CustomState, + ) + + result = agent.invoke( + CustomInputState(messages=[HumanMessage("Test")], custom_field="test_value") + ) + + assert result["custom_field"] == "test_value" + assert len(result["messages"]) == 4 + + +def test_state_schema_multiple_custom_fields() -> None: + """Test that multiple custom state fields are preserved through agent execution.""" + + class CustomState(AgentState[Any]): + user_id: str + session_id: str + context: str + + class CustomInputState(InputAgentState): + user_id: str + session_id: str + context: str + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 1}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + state_schema=CustomState, + ) + + result = agent.invoke( + CustomInputState( + messages=[HumanMessage("Test")], + user_id="user_123", + session_id="session_456", + context="test_ctx", + ) + ) + + assert result["user_id"] == "user_123" + assert result["session_id"] == "session_456" + assert result["context"] == "test_ctx" + assert len(result["messages"]) == 4 + + +def test_state_schema_with_tool_runtime() -> None: + """Test that custom state fields are accessible via ToolRuntime.""" + + class ExtendedState(AgentState[Any]): + counter: int + + class ExtendedInputState(InputAgentState): + counter: int + + runtime_data = {} + + @tool + def counter_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that accesses custom state field.""" + runtime_data["counter"] = runtime.state["counter"] + return f"Counter is {runtime_data['counter']}, x is {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 10}, "id": "call_1", "name": "counter_tool"}], []] + ), + tools=[counter_tool], + state_schema=ExtendedState, + ) + + result = agent.invoke(ExtendedInputState(messages=[HumanMessage("Test")], counter=5)) + + assert runtime_data["counter"] == 5 + assert "Counter is 5" in result["messages"][2].content + + +def test_state_schema_with_middleware() -> None: + """Test that state_schema merges with middleware state schemas.""" + + class UserState(AgentState[Any]): + user_name: str + + class MiddlewareState(AgentState[Any]): + middleware_data: str + + class UserAndMiddlewareInputState(InputAgentState): + user_name: str + middleware_data: str + + middleware_calls = [] + + class TestMiddleware(AgentMiddleware[MiddlewareState, None]): + state_schema = MiddlewareState + + @override + def before_model(self, state: MiddlewareState, runtime: Runtime) -> dict[str, Any]: + middleware_calls.append(state["middleware_data"]) + return {} + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 5}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + state_schema=UserState, + middleware=[TestMiddleware()], + ) + + result = agent.invoke( + UserAndMiddlewareInputState( + messages=[HumanMessage("Test")], + user_name="Alice", + middleware_data="test_data", + ) + ) + + assert result["user_name"] == "Alice" + assert result["middleware_data"] == "test_data" + assert "test_data" in middleware_calls + + +def test_state_schema_none_uses_default() -> None: + """Test that state_schema=None uses default AgentState.""" + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 1}, "id": "call_1", "name": "simple_tool"}], []] + ), + tools=[simple_tool], + state_schema=None, + ) + + result = agent.invoke({"messages": [HumanMessage("Test")]}) + + assert len(result["messages"]) == 4 + assert "Result: 1" in result["messages"][2].content + + +async def test_state_schema_async() -> None: + """Test that state_schema works with async agents.""" + + class AsyncState(AgentState[Any]): + async_field: str + + class AsyncInputState(InputAgentState): + async_field: str + + @tool + async def async_tool(x: int) -> str: + """Async tool.""" + return f"Async: {x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[[{"args": {"x": 99}, "id": "call_1", "name": "async_tool"}], []] + ), + tools=[async_tool], + state_schema=AsyncState, + ) + + result = await agent.ainvoke( + AsyncInputState( + messages=[HumanMessage("Test async")], + async_field="async_value", + ) + ) + + assert result["async_field"] == "async_value" + assert "Async: 99" in result["messages"][2].content + + +def test_state_schema_with_private_state_field() -> None: + """Test that private state fields (PrivateStateAttr) are filtered from input and output. + + Private state fields are marked with PrivateStateAttr annotation, which means: + - They are omitted from the input schema (filtered out when invoking) + - They are omitted from the output schema (filtered out from results) + - Even if provided during invoke, they won't appear in state or results + """ + + class StateWithPrivateField(AgentState[Any]): + public_field: str + private_field: Annotated[str, PrivateStateAttr] + + class InputStateWithPrivateField(InputAgentState): + public_field: str + private_field: Annotated[str, PrivateStateAttr] + + captured_state = {} + + @tool + def capture_state_tool(x: int, runtime: ToolRuntime) -> str: + """Tool that captures the current state for inspection.""" + captured_state["state"] = dict(runtime.state) + return f"Captured state with x={x}" + + agent = create_agent( + model=FakeToolCallingModel( + tool_calls=[ + [{"args": {"x": 42}, "id": "call_1", "name": "capture_state_tool"}], + [], + ] + ), + tools=[capture_state_tool], + state_schema=StateWithPrivateField, + ) + + # Invoke the agent with BOTH public and private fields + result = agent.invoke( + InputStateWithPrivateField( + messages=[HumanMessage("Test private state")], + public_field="public_value", + private_field="private_value", # This should be filtered out + ) + ) + + # Assert that public_field is preserved in the result + assert result["public_field"] == "public_value" + + # Assert that private_field is NOT in the result (filtered out from output) + assert "private_field" not in result + + # Assert that private_field was NOT in the state during tool execution + assert "private_field" not in captured_state["state"] + + # Assert that public_field WAS in the state during tool execution + assert captured_state["state"]["public_field"] == "public_value" + + # Verify the agent executed normally + assert len(result["messages"]) == 4 # Human, AI (tool call), Tool result, AI (final) + + +def test_last_schema_wins_for_conflicting_field() -> None: + """The last schema in the list wins when multiple schemas declare the same field. + + In practice this means state_schema (passed last) overrides middleware annotations, + and a later middleware overrides an earlier one. + """ + + class FirstState(AgentState[Any]): + shared_field: Annotated[str, "first"] + + class MiddleState(AgentState[Any]): + shared_field: Annotated[str, "middle"] + + class LastState(AgentState[Any]): + shared_field: Annotated[str, "last"] + + resolved, _, _ = factory._resolve_schemas([FirstState, MiddleState, LastState]) + hints = get_type_hints(resolved, include_extras=True) + assert get_args(hints["shared_field"])[1] == "last" + + +def test_get_schema_type_hints_cache_hits_for_reused_schema() -> None: + """Test repeated schema resolution reuses cached type hints for the same schema.""" + + class CachedState(AgentState[Any]): + cached_field: str + required_field: Required[int] + optional_field: NotRequired[Annotated[str, PrivateStateAttr]] + + factory._get_schema_type_hints.cache_clear() + + factory._resolve_schemas([CachedState]) + first_info = factory._get_schema_type_hints.cache_info() + factory._resolve_schemas([CachedState]) + second_info = factory._get_schema_type_hints.cache_info() + + assert first_info.misses == 1 + assert first_info.hits == 0 + assert second_info.misses == 1 + assert second_info.hits == 1 + + +def test_get_schema_type_hints_cache_accepts_distinct_local_schema_types() -> None: + """Test locally defined schema classes remain hashable cache keys.""" + factory._get_schema_type_hints.cache_clear() + + def make_state_schema(name: str) -> type[AgentState[Any]]: + class LocalState(AgentState[Any]): + value: str + required_value: Required[int] + optional_private_value: NotRequired[Annotated[str, PrivateStateAttr]] + + LocalState.__name__ = name + return LocalState + + schema_a = make_state_schema("LocalStateA") + schema_b = make_state_schema("LocalStateB") + + factory._resolve_schemas([schema_a, schema_b]) + first_info = factory._get_schema_type_hints.cache_info() + factory._resolve_schemas([schema_a, schema_b]) + second_info = factory._get_schema_type_hints.cache_info() + + assert first_info.misses == 2 + assert first_info.hits == 0 + assert second_info.misses == 2 + assert second_info.hits == 2 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_subagent_streaming.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_subagent_streaming.py new file mode 100644 index 0000000000000000000000000000000000000000..220011108e650006443369b0d8977a0ff0b2d1f6 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_subagent_streaming.py @@ -0,0 +1,99 @@ +"""Regression tests for subagent stream event propagation. + +Reproduces a bug where `create_agent` set `ls_agent_type` inside the +parent agent's `configurable` and, as a side effect, `updates`, +`values`, and `custom` stream events from sub-agents invoked through +tools were dropped during `stream(..., subgraphs=True)`. +""" + +from __future__ import annotations + +from typing import TYPE_CHECKING, Any, cast + +from langchain_core.messages import HumanMessage, ToolCall +from langchain_core.tools import BaseTool, tool + +from langchain.agents import AgentState, create_agent +from tests.unit_tests.agents.model import FakeToolCallingModel + +if TYPE_CHECKING: + from langgraph.graph.state import CompiledStateGraph + + from langchain.agents.middleware import InputAgentState, OutputAgentState + + +def _make_subagent_caller_tool() -> BaseTool: + """Build a subagent and a tool that invokes it.""" + subagent = create_agent( + model=FakeToolCallingModel(tool_calls=[[]]), + name="subagent", + ) + + @tool + def call_subagent(query: str) -> str: + """Delegate the query to a sub-agent.""" + result = subagent.invoke({"messages": [HumanMessage(query)]}) + # `invoke()` returns an untyped state, so `.text` is `Any`; it is really a + # `str` (`TextAccessor`), so narrow it to satisfy the `-> str` return type. + return cast("str", result["messages"][-1].text) + + return call_subagent + + +# Return type mirrors `create_agent`'s overload; the context slot is unparameterized +# here, so it resolves to `None` (the `ContextT` default). +def _make_parent_agent( + call_subagent_tool: BaseTool, +) -> CompiledStateGraph[AgentState[Any], None, InputAgentState, OutputAgentState[Any]]: + parent_tool_calls: list[list[ToolCall]] = [ + [{"args": {"query": "hi"}, "id": "call_1", "name": "call_subagent"}], + [], + ] + return create_agent( + model=FakeToolCallingModel(tool_calls=parent_tool_calls), + tools=[call_subagent_tool], + name="parent", + ) + + +def test_subagent_updates_emitted_when_streaming_with_subgraphs() -> None: + """`updates` events from a tool-invoked sub-agent must be streamed. + + Without the fix, the parent agent's `configurable` overrode the + streaming machinery's per-run state, suppressing `updates` events + from any sub-graph invoked inside a tool. + """ + call_subagent_tool = _make_subagent_caller_tool() + parent = _make_parent_agent(call_subagent_tool) + + subagent_update_events = [] + for namespace, mode, _data in parent.stream( + {"messages": [HumanMessage("hi")]}, + stream_mode=["updates", "messages"], + subgraphs=True, + ): + if mode == "updates" and namespace: + subagent_update_events.append(namespace) + + assert subagent_update_events, ( + "expected `updates` events from the sub-agent's subgraph namespace, but none were emitted" + ) + + +async def test_subagent_updates_emitted_when_astreaming_with_subgraphs() -> None: + """Async counterpart of the sync regression test.""" + call_subagent_tool = _make_subagent_caller_tool() + parent = _make_parent_agent(call_subagent_tool) + + subagent_update_events = [] + async for namespace, mode, _data in parent.astream( + {"messages": [HumanMessage("hi")]}, + stream_mode=["updates", "messages"], + subgraphs=True, + ): + if mode == "updates" and namespace: + subagent_update_events.append(namespace) + + assert subagent_update_events, ( + "expected `updates` events from the sub-agent's subgraph namespace, but none were emitted" + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_subagent_transformer.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_subagent_transformer.py new file mode 100644 index 0000000000000000000000000000000000000000..dc6f1bd99cd436c1502cb661ef2be1e39da25395 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_subagent_transformer.py @@ -0,0 +1,248 @@ +"""Tests for langchain.agents._subagent_transformer. + +The transformer surfaces, on `run.subagents`, any nested run that carries an +`lc_agent_name` (set by `create_agent(name=...)`), tracked via langgraph's base +`_TasksLifecycleBase`. These tests drive a real supervisor `create_agent` that +dispatches a nested `create_agent` from a tool, giving true end-to-end coverage. +""" + +from __future__ import annotations + +import sys +from typing import cast + +import pytest +from langchain_core.messages import HumanMessage +from langchain_core.tools import tool +from langgraph.prebuilt import ToolCallTransformer + +from langchain.agents import create_agent +from langchain.agents._subagent_transformer import SubagentTransformer +from tests.unit_tests.agents.model import FakeToolCallingModel + + +def _supervisor_model() -> FakeToolCallingModel: + """Supervisor emits one tool call (id `call_w`) then a final message.""" + return FakeToolCallingModel( + tool_calls=[ + [{"args": {"city": "SF"}, "id": "call_w", "name": "call_weather"}], + [], + ] + ) + + +def test_subagents_surfaces_named_subagent() -> None: + """A nested named `create_agent` dispatched from a tool surfaces a handle.""" + weather_agent = create_agent(model=FakeToolCallingModel(tool_calls=[[]]), name="weather_agent") + + @tool("call_weather") + def call_weather(city: str) -> str: + """Call the weather agent.""" + result = weather_agent.invoke({"messages": [HumanMessage(f"weather in {city}")]}) + # `invoke()` returns an untyped state, so `.text` is `Any`; it is really a + # `str` (`TextAccessor`), so narrow it to satisfy the `-> str` return type. + return cast("str", result["messages"][-1].text) + + supervisor = create_agent( + model=_supervisor_model(), + tools=[call_weather], + name="supervisor", + ) + + run = supervisor.stream_events({"messages": [HumanMessage("weather?")]}, version="v3") + + handles = [] + for handle in run.subagents: + handles.append(handle) + # Drain the nested run so it completes. + for _ in handle: + pass + + assert len(handles) == 1 + assert handles[0].name == "weather_agent" + assert handles[0].cause == {"type": "toolCall", "tool_call_id": "call_w"} + + +@pytest.mark.skipif( + sys.version_info < (3, 11), + reason=( + "On Python <= 3.10, langchain-core does not automatically propagate " + "RunnableConfig into an async tool body (contextvar propagation across " + "`await` in tool execution requires 3.11+). Without it the nested " + "`ainvoke` is disconnected from the parent stream and never surfaces; " + "forwarding the parent config explicitly would instead overwrite the " + "subagent's bound `lc_agent_name` with the parent's. The async-lane " + "logic this test exercises is version-agnostic; the sync test covers " + "3.10." + ), +) +async def test_subagents_surfaces_named_subagent_async() -> None: + """Async counterpart: the handle surfaces and reaches a terminal state. + + Drives the run through `astream_events`, so events flow via the async + `aprocess`/`apush` lane and the child mini-mux is closed via `aclose`. + """ + weather_agent = create_agent(model=FakeToolCallingModel(tool_calls=[[]]), name="weather_agent") + + @tool("call_weather") + async def call_weather(city: str) -> str: + """Call the weather agent.""" + result = await weather_agent.ainvoke({"messages": [HumanMessage(f"weather in {city}")]}) + # `invoke()` returns an untyped state, so `.text` is `Any`; it is really a + # `str` (`TextAccessor`), so narrow it to satisfy the `-> str` return type. + return cast("str", result["messages"][-1].text) + + supervisor = create_agent( + model=_supervisor_model(), + tools=[call_weather], + name="supervisor", + ) + + run = await supervisor.astream_events({"messages": [HumanMessage("weather?")]}, version="v3") + + handles = [] + async for handle in run.subagents: + handles.append(handle) + # Drain the nested run so it completes. + async for _ in handle: + pass + + assert len(handles) == 1 + assert handles[0].name == "weather_agent" + assert handles[0].cause == {"type": "toolCall", "tool_call_id": "call_w"} + assert handles[0]._seen_terminal is True + assert handles[0].status == "completed" + + +def test_plain_tool_not_surfaced() -> None: + """A tool that returns a string (spawns no nested run) surfaces nothing.""" + + @tool("call_weather") + def call_weather(city: str) -> str: + """Return weather directly without invoking a subagent.""" + return f"Sunny in {city}" + + supervisor = create_agent( + model=_supervisor_model(), + tools=[call_weather], + name="supervisor", + ) + + run = supervisor.stream_events({"messages": [HumanMessage("weather?")]}, version="v3") + + handles = list(run.subagents) + # Drain the main run to completion. + for _ in run: + pass + + assert handles == [] + + +def test_unnamed_inner_agent_surfaces_with_inherited_name() -> None: + """An unnamed inner `create_agent` inherits the parent's name and surfaces. + + This is the accepted trade-off of detecting subagents by "carries an + lc_agent_name": a nested run that didn't set its own name (an unnamed + `create_agent`, or a plain `StateGraph`) inherits the parent's name and is + surfaced under it. A caller can null `lc_agent_name` in the config it + invokes such a graph with to exclude it. + """ + inner_agent = create_agent(model=FakeToolCallingModel(tool_calls=[[]])) + + @tool("call_weather") + def call_weather(city: str) -> str: + """Call an unnamed inner agent.""" + result = inner_agent.invoke({"messages": [HumanMessage(f"weather in {city}")]}) + # `invoke()` returns an untyped state, so `.text` is `Any`; it is really a + # `str` (`TextAccessor`), so narrow it to satisfy the `-> str` return type. + return cast("str", result["messages"][-1].text) + + supervisor = create_agent( + model=_supervisor_model(), + tools=[call_weather], + name="supervisor", + ) + + run = supervisor.stream_events({"messages": [HumanMessage("weather?")]}, version="v3") + + handles = [] + for handle in run.subagents: + handles.append(handle) + for _ in handle: + pass + + assert len(handles) == 1 + # Inherited the parent's name (the trade-off). + assert handles[0].name == "supervisor" + + +def test_same_name_nested_agent_surfaced() -> None: + """A nested agent with the SAME name as its parent is still surfaced. + + A subagent that dispatches a same-named agent (or invokes itself) re-asserts + its own `lc_agent_name`, so child lc == parent lc. The discriminator surfaces + any nested run that carries a name, so the same-named run is reported instead + of being folded into the parent (which the old `!= parent` rule did). + """ + inner_agent = create_agent(model=FakeToolCallingModel(tool_calls=[[]]), name="weather_agent") + + @tool("call_weather") + def call_weather(city: str) -> str: + """Call a same-named inner agent.""" + result = inner_agent.invoke({"messages": [HumanMessage(f"weather in {city}")]}) + # `invoke()` returns an untyped state, so `.text` is `Any`; it is really a + # `str` (`TextAccessor`), so narrow it to satisfy the `-> str` return type. + return cast("str", result["messages"][-1].text) + + # The parent agent shares the inner agent's name. + supervisor = create_agent( + model=_supervisor_model(), + tools=[call_weather], + name="weather_agent", + ) + + run = supervisor.stream_events({"messages": [HumanMessage("weather?")]}, version="v3") + + handles = [] + for handle in run.subagents: + handles.append(handle) + for _ in handle: + pass + + assert len(handles) == 1 + assert handles[0].name == "weather_agent" + assert handles[0].cause == {"type": "toolCall", "tool_call_id": "call_w"} + + +def test_transformer_init_exposes_subagents_channel() -> None: + """The transformer publishes a `subagents` channel from `init()`.""" + transformer = SubagentTransformer(scope=()) + state = transformer.init() + assert "subagents" in state + + +def test_create_agent_registers_subagent_transformer() -> None: + """`create_agent` registers `SubagentTransformer` in `stream_transformers`.""" + + @tool("call_weather") + def call_weather(city: str) -> str: + """Call the weather agent.""" + return f"Sunny in {city}" + + agent = create_agent(model=FakeToolCallingModel(tool_calls=[[]]), tools=[call_weather]) + + assert SubagentTransformer in agent.stream_transformers + + +def test_create_agent_subagent_transformer_precedes_user_transformers() -> None: + """`ToolCallTransformer` precedes `SubagentTransformer` in registration order.""" + + @tool("call_weather") + def call_weather(city: str) -> str: + """Call the weather agent.""" + return f"Sunny in {city}" + + agent = create_agent(model=FakeToolCallingModel(tool_calls=[[]]), tools=[call_weather]) + + transformers = list(agent.stream_transformers) + assert transformers.index(ToolCallTransformer) < transformers.index(SubagentTransformer) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_system_message.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_system_message.py new file mode 100644 index 0000000000000000000000000000000000000000..d7d4e24cabf2b6a73d06ca74f05c0da3fb9cda7b --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/test_system_message.py @@ -0,0 +1,1052 @@ +"""Comprehensive unit tests for system message handling in agents. + +This module consolidates all system message and dynamic prompt tests: +- Basic system message scenarios (none, string, SystemMessage) +- ModelRequest system_message field support +- System message updates via middleware +- Multiple middleware chaining +- Cache control preservation +- Metadata merging +- Dynamic system prompt middleware +- Edge cases and error handling + +These tests replicate functionality from langchainjs PR #9459. +""" + +from collections.abc import Callable +from dataclasses import dataclass +from typing import Any + +import pytest +from langchain_core.language_models.fake_chat_models import GenericFakeChatModel +from langchain_core.messages import AIMessage, HumanMessage, SystemMessage, TextContentBlock +from langgraph.runtime import Runtime + +from langchain.agents.factory import create_agent +from langchain.agents.middleware.types import AgentState, ModelRequest, ModelResponse + +OPENAI_TEST_MODEL = "gpt-5.5" + + +def _make_request( + system_message: SystemMessage | None = None, + system_prompt: str | None = None, +) -> ModelRequest: + """Create a minimal ModelRequest for testing.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + return ModelRequest( + model=model, + system_message=system_message, + system_prompt=system_prompt, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + model_settings={}, + ) + + +# ============================================================================= +# ModelRequest Tests +# ============================================================================= + + +class TestModelRequestSystemMessage: + """Test ModelRequest with system_message field.""" + + @pytest.mark.parametrize( + ("system_message", "system_prompt", "expected_msg", "expected_prompt"), + [ + # Test with SystemMessage + ( + SystemMessage(content="You are helpful"), + None, + SystemMessage(content="You are helpful"), + "You are helpful", + ), + # Test with None + (None, None, None, None), + # Test with string (backward compat) + (None, "You are helpful", SystemMessage(content="You are helpful"), "You are helpful"), + ], + ) + def test_create_with_various_system_inputs( + self, + system_message: SystemMessage | None, + system_prompt: str | None, + expected_msg: SystemMessage | None, + expected_prompt: str | None, + ) -> None: + """Test creating ModelRequest with various system message inputs.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + request = ModelRequest( + model=model, + system_message=system_message, + system_prompt=system_prompt, + messages=[HumanMessage("Hi")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + if expected_msg is None: + assert request.system_message is None + else: + assert request.system_message is not None + assert request.system_message.content == expected_msg.content + assert request.system_prompt == expected_prompt + + def test_system_prompt_property_with_list_content(self) -> None: + """Test system_prompt property handles list content.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + system_msg = SystemMessage(content=["Part 1", "Part 2"]) + + request = ModelRequest( + model=model, + system_message=system_msg, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + assert request.system_prompt is not None + assert "Part 1" in request.system_prompt + + @pytest.mark.parametrize( + ("override_with", "expected_text"), + [ + ("system_message", "New"), + ("system_prompt", "New prompt"), + ], + ) + def test_override_methods(self, override_with: str, expected_text: str) -> None: + """Test override() with system_message and system_prompt parameters.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + original_msg = SystemMessage(content="Original") + + original_request = ModelRequest( + model=model, + system_message=original_msg, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + if override_with == "system_message": + new_request = original_request.override(system_message=SystemMessage(content="New")) + else: # system_prompt + # system_prompt is deprecated but supported at runtime for backward compatibility + new_request = original_request.override(system_prompt="New prompt") # type: ignore[call-arg] + + assert isinstance(new_request.system_message, SystemMessage) + assert new_request.system_prompt == expected_text + assert original_request.system_prompt == "Original" + + def test_override_system_prompt_to_none(self) -> None: + """Test override() setting system_prompt to None.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + original_request = ModelRequest( + model=model, + system_message=SystemMessage(content="Original"), + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + # system_prompt is deprecated but supported at runtime for backward compatibility + new_request = original_request.override(system_prompt=None) # type: ignore[call-arg] + + assert new_request.system_message is None + assert new_request.system_prompt is None + + @pytest.mark.parametrize( + "use_constructor", + [True, False], + ids=["constructor", "override"], + ) + def test_cannot_set_both_system_prompt_and_system_message( + self, *, use_constructor: bool + ) -> None: + """Test that setting both system_prompt and system_message raises error.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + if use_constructor: + with pytest.raises(ValueError, match="Cannot specify both"): + ModelRequest( + model=model, + system_prompt="String prompt", + system_message=SystemMessage(content="Message prompt"), + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + else: + request = ModelRequest( + model=model, + system_message=None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + with pytest.raises(ValueError, match="Cannot specify both"): + # system_prompt is deprecated but supported at runtime for backward compatibility + request.override( # type: ignore[call-arg] + system_prompt="String prompt", + system_message=SystemMessage(content="Message prompt"), + ) + + @pytest.mark.parametrize( + ("new_value", "should_be_none"), + [ + ("New prompt", False), + (None, True), + ], + ) + def test_setattr_system_prompt_deprecated( + self, new_value: str | None, *, should_be_none: bool + ) -> None: + """Test that setting system_prompt via setattr raises deprecation warning.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + request = ModelRequest( + model=model, + system_message=SystemMessage(content="Original") if not should_be_none else None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + with pytest.warns(DeprecationWarning, match="system_prompt is deprecated"): + request.system_prompt = new_value # type: ignore[misc] + + if should_be_none: + assert request.system_message is None + assert request.system_prompt is None + else: + assert isinstance(request.system_message, SystemMessage) + assert request.system_message.content_blocks[0].get("text") == new_value + + def test_system_message_with_complex_content(self) -> None: + """Test SystemMessage with complex content (list of dicts).""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + system_msg = SystemMessage( + content=[ + {"type": "text", "text": "You are helpful"}, + {"type": "text", "text": "Be concise", "cache_control": {"type": "ephemeral"}}, + ] + ) + + request = ModelRequest( + model=model, + system_message=system_msg, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + assert request.system_message is not None + assert isinstance(request.system_message.content_blocks, list) + assert len(request.system_message.content_blocks) == 2 + assert request.system_message.content_blocks[1].get("cache_control") == { + "type": "ephemeral" + } + + def test_multiple_overrides_with_system_message(self) -> None: + """Test chaining overrides with system_message.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + original_request = ModelRequest( + model=model, + system_message=SystemMessage(content="Prompt 1"), + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=None, + ) + + final_request = ( + original_request.override(system_message=SystemMessage(content="Prompt 2")) + .override(tool_choice="auto") + .override(system_message=SystemMessage(content="Prompt 3")) + ) + + assert final_request.system_prompt == "Prompt 3" + assert final_request.tool_choice == "auto" + assert original_request.system_prompt == "Prompt 1" + + +# ============================================================================= +# create_agent Tests +# ============================================================================= + + +class TestCreateAgentSystemMessage: + """Test create_agent with various system message inputs.""" + + @pytest.mark.parametrize( + "system_prompt", + [ + None, + "You are a helpful assistant", + SystemMessage(content="You are a helpful assistant"), + SystemMessage( + content="You are a helpful assistant", + additional_kwargs={"role": "system_admin", "priority": "high"}, + response_metadata={"model": OPENAI_TEST_MODEL, "temperature": 0.7}, + ), + SystemMessage( + content=[ + {"type": "text", "text": "You are a helpful assistant"}, + { + "type": "text", + "text": "Follow these rules carefully", + "cache_control": {"type": "ephemeral"}, + }, + ] + ), + ], + ids=[ + "none", + "string", + "system_message", + "system_message_with_metadata", + "system_message_with_complex_content", + ], + ) + def test_create_agent_with_various_system_prompts( + self, system_prompt: SystemMessage | str | None + ) -> None: + """Test create_agent accepts various system_prompt formats.""" + model = GenericFakeChatModel(messages=iter([AIMessage(content="Hello")])) + + agent = create_agent( + model=model, + system_prompt=system_prompt, + ) + + assert agent is not None + + +# ============================================================================= +# Middleware Tests +# ============================================================================= + + +class TestSystemMessageUpdateViaMiddleware: + """Test updating system messages through middleware.""" + + def test_middleware_can_set_initial_system_message(self) -> None: + """Test middleware setting system message when none exists.""" + + def set_system_message_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + """Middleware that sets initial system message.""" + new_request = request.override( + system_message=SystemMessage(content="Set by middleware") + ) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=None, + messages=[HumanMessage(content="Hello")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + captured_request: ModelRequest | None = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + set_system_message_middleware(request, mock_handler) + + assert captured_request is not None + assert captured_request.system_message is not None + assert len(captured_request.system_message.content_blocks) == 1 + assert captured_request.system_message.content_blocks[0].get("text") == "Set by middleware" + + def test_middleware_can_update_via_system_message_object(self) -> None: + """Test middleware updating system message using SystemMessage objects.""" + + def append_with_metadata_middleware( + request: ModelRequest, + handler: Callable[[ModelRequest], ModelResponse], + ) -> ModelResponse: + """Append using SystemMessage to preserve metadata.""" + base_content = request.system_message.text if request.system_message else "" + base_kwargs = request.system_message.additional_kwargs if request.system_message else {} + + new_message = SystemMessage( + content=base_content + " Additional instructions.", + additional_kwargs={**base_kwargs, "middleware": "applied"}, + ) + new_request = request.override(system_message=new_message) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=SystemMessage( + content="Base prompt", additional_kwargs={"base": "value"} + ), + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + captured_request: ModelRequest | None = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + append_with_metadata_middleware(request, mock_handler) + + assert captured_request is not None + assert captured_request.system_message is not None + assert captured_request.system_message.text == "Base prompt Additional instructions." + assert captured_request.system_message.additional_kwargs["base"] == "value" + assert captured_request.system_message.additional_kwargs["middleware"] == "applied" + + +class TestMultipleMiddlewareChaining: + """Test multiple middleware modifying system message in sequence.""" + + def test_multiple_middleware_can_chain_modifications(self) -> None: + """Test that multiple middleware can modify system message sequentially.""" + + def first_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """First middleware sets base system message.""" + new_request = request.override( + system_message=SystemMessage( + content="Base prompt", + additional_kwargs={"middleware_1": "applied"}, + ) + ) + return handler(new_request) + + def second_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Second middleware appends to system message.""" + assert request.system_message is not None + current_content = request.system_message.text + current_kwargs = request.system_message.additional_kwargs + + new_request = request.override( + system_message=SystemMessage( + content=current_content + " + middleware 2", + additional_kwargs={**current_kwargs, "middleware_2": "applied"}, + ) + ) + return handler(new_request) + + def third_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Third middleware appends to system message.""" + assert request.system_message is not None + current_content = request.system_message.text + current_kwargs = request.system_message.additional_kwargs + + new_request = request.override( + system_message=SystemMessage( + content=current_content + " + middleware 3", + additional_kwargs={**current_kwargs, "middleware_3": "applied"}, + ) + ) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + def final_handler(req: ModelRequest) -> ModelResponse: + # Verify all middleware applied + assert req.system_message is not None + assert req.system_message.text == "Base prompt + middleware 2 + middleware 3" + assert req.system_message.additional_kwargs["middleware_1"] == "applied" + assert req.system_message.additional_kwargs["middleware_2"] == "applied" + assert req.system_message.additional_kwargs["middleware_3"] == "applied" + return ModelResponse(result=[AIMessage(content="response")]) + + # Chain middleware calls + first_middleware( + request, + lambda req: second_middleware(req, lambda req2: third_middleware(req2, final_handler)), + ) + + def test_middleware_can_mix_string_and_system_message_updates(self) -> None: + """Test mixing string and SystemMessage updates across middleware.""" + + def string_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Use string-based update.""" + new_request = request.override(system_message=SystemMessage(content="String prompt")) + return handler(new_request) + + def system_message_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Use SystemMessage-based update.""" + current_content = request.system_message.text if request.system_message else "" + new_request = request.override( + system_message=SystemMessage( + content=current_content + " + SystemMessage", + additional_kwargs={"metadata": "added"}, + ) + ) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + def final_handler(req: ModelRequest) -> ModelResponse: + assert req.system_message is not None + assert req.system_message.text == "String prompt + SystemMessage" + assert req.system_message.additional_kwargs.get("metadata") == "added" + return ModelResponse(result=[AIMessage(content="response")]) + + string_middleware(request, lambda req: system_message_middleware(req, final_handler)) + + +class TestCacheControlPreservation: + """Test cache control metadata preservation in system messages.""" + + def test_middleware_can_add_cache_control(self) -> None: + """Test middleware adding cache control to system message.""" + + def cache_control_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Add cache control to system message.""" + new_message = SystemMessage( + content=[ + {"type": "text", "text": "Base instructions"}, + { + "type": "text", + "text": "Cached instructions", + "cache_control": {"type": "ephemeral"}, + }, + ] + ) + new_request = request.override(system_message=new_message) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + captured_request: ModelRequest | None = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + cache_control_middleware(request, mock_handler) + + assert captured_request is not None + assert captured_request.system_message is not None + assert isinstance(captured_request.system_message.content_blocks, list) + assert captured_request.system_message.content_blocks[1].get("cache_control") == { + "type": "ephemeral" + } + + def test_cache_control_preserved_across_middleware(self) -> None: + """Test that cache control is preserved when middleware modifies message.""" + + def first_middleware_with_cache( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Set system message with cache control.""" + new_message = SystemMessage( + content=[ + { + "type": "text", + "text": "Cached content", + "cache_control": {"type": "ephemeral"}, + } + ] + ) + new_request = request.override(system_message=new_message) + return handler(new_request) + + def second_middleware_appends( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Append to system message while preserving cache control.""" + assert request.system_message is not None + existing_content = request.system_message.content_blocks + new_content = [*existing_content, TextContentBlock(type="text", text="Additional text")] + + new_message = SystemMessage(content_blocks=new_content) + new_request = request.override(system_message=new_message) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=None, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + def final_handler(req: ModelRequest) -> ModelResponse: + # Verify cache control was preserved + assert req.system_message is not None + assert isinstance(req.system_message.content_blocks, list) + assert len(req.system_message.content_blocks) == 2 + assert req.system_message.content_blocks[0].get("cache_control") == { + "type": "ephemeral" + } + return ModelResponse(result=[AIMessage(content="response")]) + + first_middleware_with_cache( + request, lambda req: second_middleware_appends(req, final_handler) + ) + + +class TestMetadataMerging: + """Test metadata merging behavior when updating system messages.""" + + @pytest.mark.parametrize( + ("metadata_type", "initial_metadata", "update_metadata", "expected_result"), + [ + # additional_kwargs merging + ( + "additional_kwargs", + {"key1": "value1", "shared": "original"}, + {"key2": "value2", "shared": "updated"}, + {"key1": "value1", "key2": "value2", "shared": "updated"}, + ), + # response_metadata merging + ( + "response_metadata", + {"model": OPENAI_TEST_MODEL, "region": "us-east"}, + {"tokens": 100, "region": "eu-west"}, + {"model": OPENAI_TEST_MODEL, "tokens": 100, "region": "eu-west"}, + ), + ], + ids=["additional_kwargs", "response_metadata"], + ) + def test_metadata_merge_across_updates( + self, + metadata_type: str, + initial_metadata: dict[str, Any], + update_metadata: dict[str, Any], + expected_result: dict[str, Any], + ) -> None: + """Test that metadata merges correctly when updating system message.""" + base_message = SystemMessage( + content="Base", + **{metadata_type: initial_metadata}, + ) + + def update_middleware( + request: ModelRequest, handler: Callable[[ModelRequest], ModelResponse] + ) -> ModelResponse: + """Update system message, merging metadata.""" + current_metadata = getattr(request.system_message, metadata_type) + new_metadata = {**current_metadata, **update_metadata} + + new_request = request.override( + system_message=SystemMessage(content="Updated", **{metadata_type: new_metadata}) + ) + return handler(new_request) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=base_message, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + captured_request: ModelRequest | None = None + + def mock_handler(req: ModelRequest) -> ModelResponse: + nonlocal captured_request + captured_request = req + return ModelResponse(result=[AIMessage(content="response")]) + + update_middleware(request, mock_handler) + + assert captured_request is not None + assert getattr(captured_request.system_message, metadata_type) == expected_result + + +# ============================================================================= +# Dynamic System Prompt Middleware Tests +# ============================================================================= + + +class TestDynamicSystemPromptMiddleware: + """Test middleware that accepts SystemMessage return types.""" + + def test_middleware_can_return_system_message(self) -> None: + """Test that middleware can return a SystemMessage with dynamic content.""" + + def dynamic_system_prompt_middleware(request: ModelRequest[Any]) -> SystemMessage: + """Return a SystemMessage with dynamic content.""" + region = getattr(request.runtime.context, "region", "n/a") + return SystemMessage(content=f"You are a helpful assistant. Region: {region}") + + @dataclass + class RegionContext: + region: str + + runtime = Runtime(context=RegionContext(region="EU")) + request = ModelRequest( + model=GenericFakeChatModel(messages=iter([AIMessage(content="response")])), + system_message=None, + messages=[HumanMessage(content="Hello")], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=runtime, + model_settings={}, + ) + new_system_message = dynamic_system_prompt_middleware(request) + + assert isinstance(new_system_message, SystemMessage) + assert len(new_system_message.content_blocks) == 1 + assert ( + new_system_message.content_blocks[0].get("text") + == "You are a helpful assistant. Region: EU" + ) + + def test_system_message_with_metadata(self) -> None: + """Test creating a `SystemMessage` with additional metadata.""" + system_message = SystemMessage( + content="You are a helpful assistant", + additional_kwargs={"temperature": 0.7, "model": OPENAI_TEST_MODEL}, + response_metadata={"region": "us-east"}, + ) + + assert len(system_message.content_blocks) == 1 + assert system_message.content_blocks[0].get("text") == "You are a helpful assistant" + assert system_message.additional_kwargs == { + "temperature": 0.7, + "model": OPENAI_TEST_MODEL, + } + assert system_message.response_metadata == {"region": "us-east"} + + def test_middleware_handles_none_system_message(self) -> None: + """Test middleware creating new SystemMessage when none exists.""" + + def create_if_none_middleware(request: ModelRequest) -> SystemMessage: + """Create a system message if none exists.""" + if request.system_message is None: + return SystemMessage(content="Default system prompt") + return request.system_message + + request = _make_request(system_message=None) + new_system_message = create_if_none_middleware(request) + + assert isinstance(new_system_message, SystemMessage) + assert len(new_system_message.content_blocks) == 1 + assert new_system_message.content_blocks[0].get("text") == "Default system prompt" + + def test_system_message_with_content_blocks(self) -> None: + """Test creating a `SystemMessage` with content blocks.""" + system_message = SystemMessage( + content=[ + {"type": "text", "text": "Base instructions"}, + { + "type": "text", + "text": "Cached instructions", + "cache_control": {"type": "ephemeral"}, + }, + ] + ) + + assert isinstance(system_message.content_blocks, list) + assert len(system_message.content_blocks) == 2 + assert system_message.content_blocks[0].get("text") == "Base instructions" + assert system_message.content_blocks[1].get("cache_control") == {"type": "ephemeral"} + + +class TestSystemMessageMiddlewareIntegration: + """Test integration of SystemMessage with middleware chain.""" + + def test_multiple_middleware_can_modify_system_message(self) -> None: + """Test that multiple middleware can modify system message in sequence.""" + + def first_middleware(request: ModelRequest) -> ModelRequest: + """First middleware adds base system message.""" + new_message = SystemMessage( + content="You are an assistant.", + additional_kwargs={"middleware_1": "applied"}, + ) + return request.override(system_message=new_message) + + def second_middleware(request: ModelRequest) -> ModelRequest: + """Second middleware appends to system message.""" + assert request.system_message is not None + current_content = request.system_message.text + new_content = current_content + " Be helpful." + + merged_kwargs = { + **request.system_message.additional_kwargs, + "middleware_2": "applied", + } + + new_message = SystemMessage( + content=new_content, + additional_kwargs=merged_kwargs, + ) + return request.override(system_message=new_message) + + request = _make_request(system_message=None) + + # Apply middleware in sequence + request = first_middleware(request) + assert request.system_message is not None + assert len(request.system_message.content_blocks) == 1 + assert request.system_message.content_blocks[0].get("text") == "You are an assistant." + assert request.system_message.additional_kwargs["middleware_1"] == "applied" + + request = second_middleware(request) + assert request.system_message is not None + assert len(request.system_message.content_blocks) == 1 + assert ( + request.system_message.content_blocks[0].get("text") + == "You are an assistant. Be helpful." + ) + assert request.system_message.additional_kwargs["middleware_1"] == "applied" + assert request.system_message.additional_kwargs["middleware_2"] == "applied" + + def test_middleware_preserves_system_message_metadata(self) -> None: + """Test that metadata is preserved when middleware modifies system message.""" + base_message = SystemMessage( + content="Base prompt", + additional_kwargs={"key1": "value1", "key2": "value2"}, + response_metadata={"model": OPENAI_TEST_MODEL}, + ) + + def preserving_middleware(request: ModelRequest) -> ModelRequest: + """Middleware that preserves existing metadata.""" + assert request.system_message is not None + new_message = SystemMessage( + content=request.system_message.text + " Extended.", + additional_kwargs=request.system_message.additional_kwargs, + response_metadata=request.system_message.response_metadata, + ) + return request.override(system_message=new_message) + + request = _make_request(system_message=base_message) + new_request = preserving_middleware(request) + + assert new_request.system_message is not None + assert len(new_request.system_message.content_blocks) == 1 + assert new_request.system_message.content_blocks[0].get("text") == "Base prompt Extended." + assert new_request.system_message.additional_kwargs == { + "key1": "value1", + "key2": "value2", + } + assert new_request.system_message.response_metadata == {"model": OPENAI_TEST_MODEL} + + def test_backward_compatibility_with_string_system_prompt(self) -> None: + """Test that middleware still works with string system prompts.""" + + def string_middleware(request: ModelRequest) -> ModelRequest: + """Middleware using string system prompt (backward compatible).""" + current_prompt = request.system_prompt or "" + new_prompt = current_prompt + " Additional instructions." + # system_prompt is deprecated but supported at runtime for backward compatibility + return request.override(system_prompt=new_prompt.strip()) # type: ignore[call-arg] + + request = _make_request(system_prompt="Base prompt") + new_request = string_middleware(request) + + assert new_request.system_prompt == "Base prompt Additional instructions." + assert isinstance(new_request.system_message, SystemMessage) + + @pytest.mark.parametrize( + "initial_value", + [ + SystemMessage(content="Hello"), + "Hello", + None, + ], + ids=["system_message", "string", "none"], + ) + def test_middleware_can_switch_between_formats( + self, initial_value: SystemMessage | str | None + ) -> None: + """Test middleware can work with SystemMessage, string, or None.""" + + def flexible_middleware(request: ModelRequest) -> ModelRequest: + """Middleware that works with various formats.""" + if request.system_message: + new_message = SystemMessage(content=request.system_message.text + " [modified]") + return request.override(system_message=new_message) + new_message = SystemMessage(content="[created]") + return request.override(system_message=new_message) + + if isinstance(initial_value, SystemMessage): + request = _make_request(system_message=initial_value) + expected_text = "Hello [modified]" + elif isinstance(initial_value, str): + request = _make_request(system_prompt=initial_value) + expected_text = "Hello [modified]" + else: # None + request = _make_request(system_message=None) + expected_text = "[created]" + + result = flexible_middleware(request) + assert result.system_message is not None + assert len(result.system_message.content_blocks) == 1 + assert result.system_message.content_blocks[0].get("text") == expected_text + + +# ============================================================================= +# Edge Cases and Error Handling +# ============================================================================= + + +class TestEdgeCasesAndErrorHandling: + """Test edge cases and error handling for system messages.""" + + @pytest.mark.parametrize( + ("content", "expected_blocks", "expected_prompt"), + [ + ("", 0, ""), + ( + [ + {"type": "text", "text": "Block 1"}, + {"type": "text", "text": "Block 2"}, + {"type": "text", "text": "Block 3"}, + ], + 3, + None, + ), + ], + ids=["empty_content", "multiple_blocks"], + ) + def test_system_message_content_variations( + self, content: str | list[str | dict[str, Any]], expected_blocks: int, expected_prompt: str + ) -> None: + """Test SystemMessage with various content variations.""" + system_message = SystemMessage(content=content) + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=system_message, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + assert request.system_message is not None + + if isinstance(content, list): + assert isinstance(request.system_message.content_blocks, list) + assert len(request.system_message.content_blocks) == expected_blocks + else: + assert len(request.system_message.content_blocks) == expected_blocks + assert request.system_prompt == expected_prompt + + def test_reset_system_prompt_to_none(self) -> None: + """Test resetting system prompt to None.""" + base_message = SystemMessage(content="Original prompt") + + model = GenericFakeChatModel(messages=iter([AIMessage(content="response")])) + request = ModelRequest( + model=model, + system_message=base_message, + messages=[], + tool_choice=None, + tools=[], + response_format=None, + state=AgentState(messages=[]), + runtime=Runtime(), + ) + + new_request = request.override(system_message=None) + + assert new_request.system_message is None + assert new_request.system_prompt is None diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/utils.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/utils.py new file mode 100644 index 0000000000000000000000000000000000000000..7adccaf368b7be1182d16a022430f62faa00d79d --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/agents/utils.py @@ -0,0 +1,25 @@ +import json +from pathlib import Path +from typing import TypeVar + +from pydantic import BaseModel, ConfigDict +from pydantic.alias_generators import to_camel + + +class BaseSchema(BaseModel): + model_config = ConfigDict( + alias_generator=to_camel, + populate_by_name=True, + from_attributes=True, + ) + + +_T = TypeVar("_T", bound=BaseModel) + + +def load_spec(spec_name: str, as_model: type[_T]) -> list[_T]: + with (Path(__file__).parent / "specifications" / f"{spec_name}.json").open( + "r", encoding="utf-8" + ) as f: + data = json.load(f) + return [as_model(**item) for item in data] diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/chat_models/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/chat_models/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py new file mode 100644 index 0000000000000000000000000000000000000000..792d7a518eb8f122426adb9a1f4bd86bc23e6777 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/chat_models/test_chat_models.py @@ -0,0 +1,348 @@ +import os +from typing import TYPE_CHECKING, Any +from unittest import mock + +import pytest +from langchain_core.language_models.fake_chat_models import FakeChatModel +from langchain_core.prompts import ChatPromptTemplate +from langchain_core.runnables import RunnableConfig, RunnableSequence +from pydantic import SecretStr + +from langchain.chat_models import __all__, init_chat_model +from langchain.chat_models.base import _BUILTIN_PROVIDERS, _attempt_infer_model_provider + +if TYPE_CHECKING: + from langchain_core.language_models import BaseChatModel + +OPENAI_TEST_MODEL = "gpt-5.5" + +EXPECTED_ALL = [ + "init_chat_model", + "BaseChatModel", +] + + +def test_all_imports() -> None: + """Test that all expected imports are present in the module's __all__.""" + assert set(__all__) == set(EXPECTED_ALL) + + +@pytest.mark.requires( + "langchain_openai", + "langchain_anthropic", + "langchain_fireworks", + "langchain_groq", +) +@pytest.mark.parametrize( + ("model_name", "model_provider"), + [ + (OPENAI_TEST_MODEL, "openai"), + ("claude-opus-4-1", "anthropic"), + ("accounts/fireworks/models/mixtral-8x7b-instruct", "fireworks"), + ("mixtral-8x7b-32768", "groq"), + ], +) +def test_init_chat_model(model_name: str, model_provider: str | None) -> None: + llm1: BaseChatModel = init_chat_model( + model_name, + model_provider=model_provider, + api_key="foo", + ) + llm2: BaseChatModel = init_chat_model( + f"{model_provider}:{model_name}", + api_key="foo", + ) + assert llm1.dict() == llm2.dict() + + +def test_init_chat_model_rejects_model_object() -> None: + """Passing a model object instead of a string should raise TypeError.""" + with pytest.raises(TypeError, match="must be a string"): + init_chat_model(model=FakeChatModel()) # type: ignore[call-overload] + + +def test_init_missing_dep() -> None: + with pytest.raises(ImportError): + init_chat_model("mixtral-8x7b-32768", model_provider="groq") + + +def test_init_unknown_provider() -> None: + with pytest.raises(ValueError, match="Unsupported provider='bar'"): + init_chat_model("foo", model_provider="bar") + + +def test_supported_providers_is_sorted() -> None: + """Test that supported providers are sorted alphabetically.""" + assert list(_BUILTIN_PROVIDERS) == sorted(_BUILTIN_PROVIDERS.keys()) + + +@pytest.mark.parametrize( + ("model_name", "expected_provider"), + [ + (OPENAI_TEST_MODEL, "openai"), + ("o3", "openai"), + ("text-davinci-003", "openai"), + ("claude-3-haiku-20240307", "anthropic"), + ("command-r-plus", "cohere"), + ("accounts/fireworks/models/mixtral-8x7b-instruct", "fireworks"), + ("Accounts/Fireworks/models/mixtral-8x7b-instruct", "fireworks"), + ("gemini-1.5-pro", "google_vertexai"), + ("gemini-2.5-pro", "google_vertexai"), + ("gemini-3.1-pro-preview", "google_vertexai"), + ("amazon.titan-text-express-v1", "bedrock"), + ("Amazon.Titan-Text-Express-v1", "bedrock"), + ("anthropic.claude-v2", "bedrock"), + ("Anthropic.Claude-V2", "bedrock"), + ("mistral-small", "mistralai"), + ("mixtral-8x7b", "mistralai"), + ("deepseek-v3", "deepseek"), + ("grok-beta", "xai"), + ("sonar-small", "perplexity"), + ("solar-pro", "upstage"), + ], +) +def test_attempt_infer_model_provider(model_name: str, expected_provider: str) -> None: + assert _attempt_infer_model_provider(model_name) == expected_provider + + +@pytest.mark.requires("langchain_openai") +@mock.patch.dict( + os.environ, + {"OPENAI_API_KEY": "foo", "ANTHROPIC_API_KEY": "bar"}, + clear=True, +) +def test_configurable() -> None: + """Test configurable chat model behavior without default parameters. + + Verifies that a configurable chat model initialized without default parameters: + - Has access to all standard runnable methods (`invoke`, `stream`, etc.) + - Blocks access to non-configurable methods until configuration is provided + - Supports declarative operations (`bind_tools`) without mutating original model + - Can chain declarative operations and configuration to access full functionality + - Properly resolves to the configured model type when parameters are provided + + Example: + ```python + # This creates a configurable model without specifying which model + model = init_chat_model() + + # This will FAIL - no model specified yet + model.get_num_tokens("hello") # AttributeError! + + # This works - provides model at runtime + response = model.invoke("Hello", config={"configurable": {"model": "gpt-5.5"}}) + ``` + """ + model = init_chat_model() + + for method in ( + "invoke", + "ainvoke", + "batch", + "abatch", + "stream", + "astream", + "batch_as_completed", + "abatch_as_completed", + ): + assert hasattr(model, method) + + # Doesn't have access non-configurable, non-declarative methods until a config is + # provided. + for method in ("get_num_tokens", "get_num_tokens_from_messages"): + with pytest.raises(AttributeError): + getattr(model, method) + + # Can call declarative methods even without a default model. + model_with_tools = model.bind_tools( + [{"name": "foo", "description": "foo", "parameters": {}}], + ) + + # Check that original model wasn't mutated by declarative operation. + assert model._queued_declarative_operations == [] + + # Can iteratively call declarative methods. + model_with_config = model_with_tools.with_config( + RunnableConfig(tags=["foo"]), + configurable={"model": OPENAI_TEST_MODEL}, + ) + assert model_with_config.model_name == OPENAI_TEST_MODEL # type: ignore[attr-defined] + + for method in ("get_num_tokens", "get_num_tokens_from_messages"): + assert hasattr(model_with_config, method) + + expected: dict[str, Any] = { + "name": None, + "bound": { + "name": None, + "disable_streaming": False, + "disabled_params": None, + "model_name": OPENAI_TEST_MODEL, + "temperature": None, + "model_kwargs": {}, + "openai_api_key": SecretStr("foo"), + "openai_api_base": None, + "openai_organization": None, + "openai_proxy": None, + "output_version": None, + "request_timeout": None, + "max_retries": None, + "presence_penalty": None, + "reasoning": None, + "reasoning_effort": None, + "verbosity": None, + "frequency_penalty": None, + "context_management": None, + "include": None, + "seed": None, + "service_tier": None, + "logprobs": None, + "top_logprobs": None, + "logit_bias": None, + "streaming": False, + "n": None, + "top_p": None, + "truncation": None, + "max_tokens": None, + "tiktoken_model_name": None, + "default_headers": None, + "default_query": None, + "stop": None, + "store": None, + "extra_body": None, + "include_response_headers": False, + "stream_usage": True, + "use_previous_response_id": False, + "use_responses_api": None, + }, + "kwargs": { + "tools": [ + { + "type": "function", + "function": {"name": "foo", "description": "foo", "parameters": {}}, + }, + ], + }, + "config": { + "callbacks": None, + "configurable": {}, + "metadata": {"model": OPENAI_TEST_MODEL}, + "recursion_limit": 25, + "tags": ["foo"], + }, + "config_factories": [], + "custom_input_type": None, + "custom_output_type": None, + } + assert model_with_config.model_dump() == expected # type: ignore[attr-defined] + + +@pytest.mark.requires("langchain_openai", "langchain_anthropic") +@mock.patch.dict( + os.environ, + {"OPENAI_API_KEY": "foo", "ANTHROPIC_API_KEY": "bar"}, + clear=True, +) +def test_configurable_with_default() -> None: + """Test configurable chat model behavior with default parameters. + + Verifies that a configurable chat model initialized with default parameters: + - Has access to all standard runnable methods (`invoke`, `stream`, etc.) + - Provides immediate access to non-configurable methods (e.g. `get_num_tokens`) + - Supports model switching through runtime configuration using `config_prefix` + - Maintains proper model identity and attributes when reconfigured + - Can be used in chains with different model providers via configuration + + Example: + ```python + # This creates a configurable model with default parameters (model) + model = init_chat_model("gpt-5.5", configurable_fields="any", config_prefix="bar") + + # This works immediately - uses default gpt-5.5 + tokens = model.get_num_tokens("hello") + + # This also works - switches to Claude at runtime + response = model.invoke( + "Hello", config={"configurable": {"my_model_model": "claude-3-sonnet-20240229"}} + ) + ``` + """ + model = init_chat_model(OPENAI_TEST_MODEL, configurable_fields="any", config_prefix="bar") + for method in ( + "invoke", + "ainvoke", + "batch", + "abatch", + "stream", + "astream", + "batch_as_completed", + "abatch_as_completed", + ): + assert hasattr(model, method) + + # Does have access non-configurable, non-declarative methods since default params + # are provided. + for method in ("get_num_tokens", "get_num_tokens_from_messages", "dict"): + assert hasattr(model, method) + + assert model.model_name == OPENAI_TEST_MODEL + + model_with_tools = model.bind_tools( + [{"name": "foo", "description": "foo", "parameters": {}}], + ) + + model_with_config = model_with_tools.with_config( + RunnableConfig(tags=["foo"]), + configurable={"bar_model": "claude-sonnet-4-5-20250929"}, + ) + + assert model_with_config.model == "claude-sonnet-4-5-20250929" # type: ignore[attr-defined] + + expected: dict[str, Any] = { + "name": None, + "bound": { + "name": None, + "disable_streaming": False, + "effort": None, + "model": "claude-sonnet-4-5-20250929", + "mcp_servers": None, + "max_tokens": 64000, + "temperature": None, + "thinking": None, + "top_k": None, + "top_p": None, + "default_request_timeout": None, + "max_retries": 2, + "stop_sequences": None, + "anthropic_api_url": "https://api.anthropic.com", + "anthropic_proxy": None, + "context_management": None, + "anthropic_api_key": SecretStr("bar"), + "betas": None, + "default_headers": None, + "model_kwargs": {}, + "reuse_last_container": None, + "inference_geo": None, + "streaming": False, + "stream_usage": True, + "output_version": None, + "output_config": None, + }, + "kwargs": { + "tools": [{"name": "foo", "description": "foo", "input_schema": {}}], + }, + "config": { + "callbacks": None, + "configurable": {}, + "metadata": {}, + "recursion_limit": 25, + "tags": ["foo"], + }, + "config_factories": [], + "custom_input_type": None, + "custom_output_type": None, + } + assert model_with_config.model_dump() == expected # type: ignore[attr-defined] + prompt = ChatPromptTemplate.from_messages([("system", "foo")]) + chain = prompt | model_with_config + assert isinstance(chain, RunnableSequence) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/conftest.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/conftest.py new file mode 100644 index 0000000000000000000000000000000000000000..18ff19da29747b10f15afa39aa6f125c0547fa1c --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/conftest.py @@ -0,0 +1,154 @@ +"""Configuration for unit tests.""" + +import json +from collections.abc import Iterator, Sequence +from importlib import util +from typing import Any + +import pytest +from blockbuster import BlockBuster, blockbuster_ctx +from langchain_tests.conftest import CustomPersister, CustomSerializer, base_vcr_config +from vcr import VCR + +_EXTRA_HEADERS = [ + ("openai-organization", "PLACEHOLDER"), + ("user-agent", "PLACEHOLDER"), + ("x-openai-client-user-agent", "PLACEHOLDER"), +] + + +@pytest.fixture(autouse=True) +def blockbuster() -> Iterator[BlockBuster]: + with blockbuster_ctx() as bb: + yield bb + + +def remove_request_headers(request: Any) -> Any: + """Remove sensitive headers from the request.""" + for k in request.headers: + request.headers[k] = "**REDACTED**" + request.uri = "**REDACTED**" + return request + + +def remove_response_headers(response: dict[str, Any]) -> dict[str, Any]: + """Remove sensitive headers from the response.""" + for k in response["headers"]: + response["headers"][k] = "**REDACTED**" + return response + + +@pytest.fixture(scope="session") +def vcr_config() -> dict[str, Any]: + """Extend the default configuration coming from langchain_tests.""" + config = base_vcr_config() + config["match_on"] = [m if m != "body" else "json_body" for m in config.get("match_on", [])] + config.setdefault("filter_headers", []).extend(_EXTRA_HEADERS) + config["before_record_request"] = remove_request_headers + config["before_record_response"] = remove_response_headers + config["serializer"] = "yaml.gz" + config["path_transformer"] = VCR.ensure_suffix(".yaml.gz") + return config + + +def _json_body_matcher(r1: Any, r2: Any) -> None: + """Match request bodies as parsed JSON, ignoring key order.""" + b1 = r1.body or b"" + b2 = r2.body or b"" + if isinstance(b1, bytes): + b1 = b1.decode("utf-8") + if isinstance(b2, bytes): + b2 = b2.decode("utf-8") + try: + j1 = json.loads(b1) + j2 = json.loads(b2) + except (json.JSONDecodeError, ValueError): + assert b1 == b2, f"body mismatch (non-JSON):\n{b1}\n!=\n{b2}" + return + assert j1 == j2, f"body mismatch:\n{j1}\n!=\n{j2}" + + +def pytest_recording_configure(config: dict[str, Any], vcr: VCR) -> None: # noqa: ARG001 + vcr.register_persister(CustomPersister()) + vcr.register_serializer("yaml.gz", CustomSerializer()) + vcr.register_matcher("json_body", _json_body_matcher) + + +def pytest_addoption(parser: pytest.Parser) -> None: + """Add custom command line options to pytest.""" + parser.addoption( + "--only-extended", + action="store_true", + help="Only run extended tests. Does not allow skipping any extended tests.", + ) + parser.addoption( + "--only-core", + action="store_true", + help="Only run core tests. Never runs any extended tests.", + ) + + +def pytest_collection_modifyitems(config: pytest.Config, items: Sequence[pytest.Function]) -> None: + """Add implementations for handling custom markers. + + At the moment, this adds support for a custom `requires` marker. + + The `requires` marker is used to denote tests that require one or more packages + to be installed to run. If the package is not installed, the test is skipped. + + The `requires` marker syntax is: + + ```python + @pytest.mark.requires("package1", "package2") + def test_something(): ... + ``` + """ + # Mapping from the name of a package to whether it is installed or not. + # Used to avoid repeated calls to `util.find_spec` + required_pkgs_info: dict[str, bool] = {} + + only_extended = config.getoption("--only-extended", default=False) + only_core = config.getoption("--only-core", default=False) + + if only_extended and only_core: + msg = "Cannot specify both `--only-extended` and `--only-core`." + raise ValueError(msg) + + for item in items: + requires_marker = item.get_closest_marker("requires") + if requires_marker is not None: + if only_core: + item.add_marker(pytest.mark.skip(reason="Skipping not a core test.")) + continue + + # Iterate through the list of required packages + required_pkgs = requires_marker.args + for pkg in required_pkgs: + # If we haven't yet checked whether the pkg is installed + # let's check it and store the result. + if pkg not in required_pkgs_info: + try: + installed = util.find_spec(pkg) is not None + except Exception: + installed = False + required_pkgs_info[pkg] = installed + + if not required_pkgs_info[pkg]: + if only_extended: + pytest.fail( + f"Package `{pkg}` is not installed but is required for " + f"extended tests. Please install the given package and " + f"try again.", + ) + + else: + # If the package is not installed, we immediately break + # and mark the test as skipped. + item.add_marker( + pytest.mark.skip(reason=f"Requires pkg: `{pkg}`"), + ) + break + elif only_extended: + item.add_marker( + pytest.mark.skip(reason="Skipping not an extended test."), + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/test_base.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/test_base.py new file mode 100644 index 0000000000000000000000000000000000000000..901a1138a28b6d5020efda35cb2c819e574e69ec --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/test_base.py @@ -0,0 +1,112 @@ +"""Test embeddings base module.""" + +import pytest + +from langchain.embeddings.base import ( + _BUILTIN_PROVIDERS, + _infer_model_and_provider, + _parse_model_string, +) + + +@pytest.mark.parametrize( + ("model_string", "expected_provider", "expected_model"), + [ + ("openai:text-embedding-3-small", "openai", "text-embedding-3-small"), + ("bedrock:amazon.titan-embed-text-v1", "bedrock", "amazon.titan-embed-text-v1"), + ("huggingface:BAAI/bge-base-en:v1.5", "huggingface", "BAAI/bge-base-en:v1.5"), + ("google_genai:gemini-embedding-001", "google_genai", "gemini-embedding-001"), + ], +) +def test_parse_model_string(model_string: str, expected_provider: str, expected_model: str) -> None: + """Test parsing model strings into provider and model components.""" + assert _parse_model_string(model_string) == ( + expected_provider, + expected_model, + ) + + +def test_parse_model_string_errors() -> None: + """Test error cases for model string parsing.""" + with pytest.raises(ValueError, match="Model name must be"): + _parse_model_string("just-a-model-name") + + with pytest.raises(ValueError, match="Invalid model format "): + _parse_model_string("") + + with pytest.raises(ValueError, match="is not supported"): + _parse_model_string(":model-name") + + with pytest.raises(ValueError, match="Model name cannot be empty"): + _parse_model_string("openai:") + + with pytest.raises( + ValueError, + match="Provider 'invalid-provider' is not supported", + ): + _parse_model_string("invalid-provider:model-name") + + for provider in _BUILTIN_PROVIDERS: + with pytest.raises(ValueError, match=f"{provider}"): + _parse_model_string("invalid-provider:model-name") + + +def test_infer_model_and_provider() -> None: + """Test model and provider inference from different input formats.""" + assert _infer_model_and_provider("openai:text-embedding-3-small") == ( + "openai", + "text-embedding-3-small", + ) + + assert _infer_model_and_provider( + model="text-embedding-3-small", + provider="openai", + ) == ("openai", "text-embedding-3-small") + + assert _infer_model_and_provider( + model="ft:text-embedding-3-small", + provider="openai", + ) == ("openai", "ft:text-embedding-3-small") + + assert _infer_model_and_provider(model="openai:ft:text-embedding-3-small") == ( + "openai", + "ft:text-embedding-3-small", + ) + + +def test_infer_model_and_provider_errors() -> None: + """Test error cases for model and provider inference.""" + # Test missing provider + with pytest.raises(ValueError, match="Must specify either"): + _infer_model_and_provider("text-embedding-3-small") + + # Test empty model + with pytest.raises(ValueError, match="Model name cannot be empty"): + _infer_model_and_provider("") + + # Test empty provider with model + with pytest.raises(ValueError, match="Must specify either"): + _infer_model_and_provider("model", provider="") + + # Test invalid provider + with pytest.raises(ValueError, match="Provider 'invalid' is not supported") as exc: + _infer_model_and_provider("model", provider="invalid") + # Test provider list is in error + for provider in _BUILTIN_PROVIDERS: + assert provider in str(exc.value) + + +@pytest.mark.parametrize( + "provider", + sorted(_BUILTIN_PROVIDERS.keys()), +) +def test_supported_providers_package_names(provider: str) -> None: + """Test that all supported providers have valid package names.""" + package = _BUILTIN_PROVIDERS[provider][0] + assert "-" not in package + assert package.startswith("langchain_") + assert package.islower() + + +def test_is_sorted() -> None: + assert list(_BUILTIN_PROVIDERS) == sorted(_BUILTIN_PROVIDERS.keys()) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/test_imports.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/test_imports.py new file mode 100644 index 0000000000000000000000000000000000000000..80ecff96b987cb766daacadf5e5d637b5961d051 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/embeddings/test_imports.py @@ -0,0 +1,10 @@ +from langchain import embeddings + +EXPECTED_ALL = [ + "Embeddings", + "init_embeddings", +] + + +def test_all_imports() -> None: + assert set(embeddings.__all__) == set(EXPECTED_ALL) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_dependencies.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_dependencies.py new file mode 100644 index 0000000000000000000000000000000000000000..e061f31c0340e326f58e2c4cc2662626a846af9f --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_dependencies.py @@ -0,0 +1,39 @@ +"""A unit test meant to catch accidental introduction of non-optional dependencies.""" + +from collections.abc import Mapping +from pathlib import Path +from typing import Any + +import pytest +import toml +from packaging.requirements import Requirement + +HERE = Path(__file__).parent + +PYPROJECT_TOML = HERE / "../../pyproject.toml" + + +@pytest.fixture +def uv_conf() -> dict[str, Any]: + """Load the pyproject.toml file.""" + with PYPROJECT_TOML.open() as f: + return toml.load(f) + + +def test_required_dependencies(uv_conf: Mapping[str, Any]) -> None: + """A test that checks if a new non-optional dependency is being introduced. + + If this test is triggered, it means that a contributor is trying to introduce a new + required dependency. This should be avoided in most situations. + """ + # Get the dependencies from the [tool.poetry.dependencies] section + dependencies = uv_conf["project"]["dependencies"] + required_dependencies = {Requirement(dep).name for dep in dependencies} + + assert sorted(required_dependencies) == sorted( + [ + "langchain-core", + "langgraph", + "pydantic", + ] + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_imports.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_imports.py new file mode 100644 index 0000000000000000000000000000000000000000..b52a6586dea39c89b49aefbc0d5b94d27fc93035 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_imports.py @@ -0,0 +1,56 @@ +import importlib +import warnings +from pathlib import Path + +# Attempt to recursively import all modules in langchain +PKG_ROOT = Path(__file__).parent.parent.parent + + +def test_import_all() -> None: + """Generate the public API for this package.""" + with warnings.catch_warnings(): + warnings.filterwarnings(action="ignore", category=UserWarning) + library_code = PKG_ROOT / "langchain" + for path in library_code.rglob("*.py"): + # Calculate the relative path to the module + module_name = path.relative_to(PKG_ROOT).with_suffix("").as_posix().replace("/", ".") + if module_name.endswith("__init__"): + # Without init + module_name = module_name.rsplit(".", 1)[0] + + mod = importlib.import_module(module_name) + + all_attrs = getattr(mod, "__all__", []) + + for name in all_attrs: + # Attempt to import the name from the module + try: + obj = getattr(mod, name) + assert obj is not None + except Exception as e: + msg = f"Could not import {module_name}.{name}" + raise AssertionError(msg) from e + + +def test_import_all_using_dir() -> None: + """Generate the public API for this package.""" + library_code = PKG_ROOT / "langchain" + for path in library_code.rglob("*.py"): + # Calculate the relative path to the module + module_name = path.relative_to(PKG_ROOT).with_suffix("").as_posix().replace("/", ".") + if module_name.endswith("__init__"): + # Without init + module_name = module_name.rsplit(".", 1)[0] + + try: + mod = importlib.import_module(module_name) + except ModuleNotFoundError as e: + msg = f"Could not import {module_name}" + raise ModuleNotFoundError(msg) from e + attributes = dir(mod) + + for name in attributes: + if name.strip().startswith("_"): + continue + # Attempt to import the name from the module + getattr(mod, name) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_pytest_config.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_pytest_config.py new file mode 100644 index 0000000000000000000000000000000000000000..ce4e8662c418e52bd3592e2967786b82c9901951 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_pytest_config.py @@ -0,0 +1,9 @@ +import pytest +import pytest_socket +import requests + + +def test_socket_disabled() -> None: + """This test should fail.""" + with pytest.raises(pytest_socket.SocketBlockedError): + requests.get("https://www.example.com", timeout=1) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_version.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_version.py new file mode 100644 index 0000000000000000000000000000000000000000..d4bac40dedc589b86224883b21d3bd12b7bbe6f1 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/test_version.py @@ -0,0 +1,27 @@ +"""Test that package version is consistent across configuration files.""" + +from pathlib import Path + +import toml + +import langchain + + +def test_version_matches_pyproject() -> None: + """Verify that __version__ in __init__.py matches version in pyproject.toml.""" + # Get the version from the package __init__.py + init_version = langchain.__version__ + + # Read the version from pyproject.toml + pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml" + with pyproject_path.open() as f: + pyproject_data = toml.load(f) + + pyproject_version = pyproject_data["project"]["version"] + + # Assert they match + assert init_version == pyproject_version, ( + f"Version mismatch: __init__.py has '{init_version}' but " + f"pyproject.toml has '{pyproject_version}'. " + f"Please update langchain/__init__.py to match pyproject.toml." + ) diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/tools/__init__.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/tools/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/tools/test_imports.py b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/tools/test_imports.py new file mode 100644 index 0000000000000000000000000000000000000000..17b66c6f7713ad0addfbf07f28b1d1d4e6caa0fa --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/tests/unit_tests/tools/test_imports.py @@ -0,0 +1,16 @@ +from langchain import tools + +EXPECTED_ALL = { + "BaseTool", + "InjectedState", + "InjectedStore", + "InjectedToolArg", + "InjectedToolCallId", + "ToolException", + "ToolRuntime", + "tool", +} + + +def test_all_imports() -> None: + assert set(tools.__all__) == EXPECTED_ALL diff --git a/western_ai/usa/langchain/libs/langchain_v1/uv.lock b/western_ai/usa/langchain/libs/langchain_v1/uv.lock new file mode 100644 index 0000000000000000000000000000000000000000..e2b201c7349fae603b4928158cb5970d17e942f0 --- /dev/null +++ b/western_ai/usa/langchain/libs/langchain_v1/uv.lock @@ -0,0 +1,5623 @@ +version = 1 +revision = 3 +requires-python = ">=3.10.0, <4.0.0" +resolution-markers = [ + "python_full_version >= '3.15' and platform_python_implementation == 'PyPy'", + "python_full_version == '3.14.*' and platform_python_implementation == 'PyPy'", + "python_full_version == '3.13.*' and platform_python_implementation == 'PyPy'", + "python_full_version >= '3.15' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.14.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy'", + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.11.*' and platform_python_implementation != 'PyPy'", + "python_full_version < '3.11' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.11.*' and platform_python_implementation == 'PyPy'", + "python_full_version < '3.11' and platform_python_implementation == 'PyPy'", +] + +[manifest] +constraints = [ + { name = "pygments", specifier = ">=2.20.0" }, + { name = "urllib3", specifier = ">=2.6.3" }, +] + +[[package]] +name = "aiohappyeyeballs" +version = "2.6.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz", hash = "sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558", size = 22760, upload-time = "2025-03-12T01:42:48.764Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0f/15/5bf3b99495fb160b63f95972b81750f18f7f4e02ad051373b669d17d44f2/aiohappyeyeballs-2.6.1-py3-none-any.whl", hash = "sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8", size = 15265, upload-time = "2025-03-12T01:42:47.083Z" }, +] + +[[package]] +name = "aiohttp" +version = "3.14.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohappyeyeballs" }, + { name = "aiosignal" }, + { name = "async-timeout", marker = "python_full_version < '3.11'" }, + { name = "attrs" }, + { name = "frozenlist" }, + { name = "multidict" }, + { name = "propcache" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, + { name = "yarl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/82/78/8ea7308cac6934de8c74a14f3d5f65d1c89287426688be79538d0e5c013d/aiohttp-3.14.1.tar.gz", hash = "sha256:307f2cff90a764d329e77040603fa032db89c5c24fdad50c4c15334cba744035", size = 7955794, upload-time = "2026-06-07T21:09:35.529Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/67/58ded4b3f2e10f94972d8928050c85330e249a31dd45a0e5f3c0e9c3fa05/aiohttp-3.14.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8f6bb621e5863cfe8fe5ff5468002d200ec31f30f1280b259dc505b02595099e", size = 766140, upload-time = "2026-06-07T21:05:37.471Z" }, + { url = "https://files.pythonhosted.org/packages/18/68/4ae5b4e08943f316594bb68da89957d3baf5760588fa09509594bd777e4b/aiohttp-3.14.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4f7215cb3933784f79ed20e5f050e15984f390424339b22375d5a53c933a0491", size = 519430, upload-time = "2026-06-07T21:05:40.751Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c1/316c8f3549dbe5245f92bfd523ec6f32dd4d98cafe21df3f6a19b1184c75/aiohttp-3.14.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d9d4e294455b23a68c9b8f042d0e8e377a265bcb15332753695f6e5b6819e0ce", size = 514406, upload-time = "2026-06-07T21:05:42.111Z" }, + { url = "https://files.pythonhosted.org/packages/5a/ee/fb0ac28684e8d753b83c8a4eebc19a5846912aa0a4daaabb6a9936363840/aiohttp-3.14.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b238af795833d5731d049d82bc84b768ae6f8f97f0495963b3ed9935c5901cc3", size = 1703649, upload-time = "2026-06-07T21:05:43.427Z" }, + { url = "https://files.pythonhosted.org/packages/3b/57/aa2beab673331f111885db8a7b69dfe3ab0e53e446a0ace18ca694b4dc58/aiohttp-3.14.1-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e4e5e0ae56914ecdbf446493addefc0159053dd53962cef37d7839f37f73d505", size = 1675126, upload-time = "2026-06-07T21:05:44.897Z" }, + { url = "https://files.pythonhosted.org/packages/47/ea/dad128abe365e79be03b16ed464198ac73e0d257e8260c6f7d6f31cbef26/aiohttp-3.14.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:092e4ce3619a7c6dee52a6bdabda973d9b34b66781f840ce93c7e0cec30cf521", size = 1771558, upload-time = "2026-06-07T21:05:46.405Z" }, + { url = "https://files.pythonhosted.org/packages/63/f3/b5b4e10327cb85d34d24232c6b71b64602f190b3ccb238a043ac6b187dac/aiohttp-3.14.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bb33777ea21e8b7ecde0e6fc84f598be0a1192eab1a63bc746d75aa75d38e7bd", size = 1856631, upload-time = "2026-06-07T21:05:47.844Z" }, + { url = "https://files.pythonhosted.org/packages/2b/9d/93294c3045775c708ac8310eb3d3622a11d2951345ad590d532d62a1faa4/aiohttp-3.14.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23119f8fd4f5d16902ed459b63b100bcd269628075162bddac56cc7b5273b3fb", size = 1714139, upload-time = "2026-06-07T21:05:49.982Z" }, + { url = "https://files.pythonhosted.org/packages/29/c4/93067c85a0373492ce8e577435203c5947c454af074ac48ed4f3a1b9dd4a/aiohttp-3.14.1-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:57fc6745a4b7d0f5a9eb4f40a69718be6c0bc1b8368cc9fe89e90118719f4f42", size = 1588321, upload-time = "2026-06-07T21:05:51.431Z" }, + { url = "https://files.pythonhosted.org/packages/c4/39/9ff91aaf02af8b7b8222a987466da539f154c3e01732c22b5f5a20a8ee66/aiohttp-3.14.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:6fd35beba67c4183b09375c5fff9accb47524191a244a99f95fd4472f5402c2b", size = 1670375, upload-time = "2026-06-07T21:05:53.109Z" }, + { url = "https://files.pythonhosted.org/packages/aa/e4/77452a3676b8d99ac1375f77691d6bf65ea6e9f4b201b82ef77c916dc767/aiohttp-3.14.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:672b9d65f42eb877f5c3f234a4547e4e1a226ca8c2eed879bb34670a0ce51192", size = 1690933, upload-time = "2026-06-07T21:05:54.902Z" }, + { url = "https://files.pythonhosted.org/packages/7d/84/b0059a7c7fc05ea23f3bc1596ba91c12f79588b9450564a24cac37536d0a/aiohttp-3.14.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:24ba13339fed9251d9b1a1bec8c7ab84c0d1675d79d33501e11f94f8b9a84e05", size = 1740798, upload-time = "2026-06-07T21:05:56.458Z" }, + { url = "https://files.pythonhosted.org/packages/8f/3a/e2a513ecbfc362591caa51a7f7e011b3bfc8938b388ae44cd95560d36999/aiohttp-3.14.1-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:94da27378da0610e341c4d30de29a191672683cc82b8f9556e8f7c7212a020fe", size = 1576412, upload-time = "2026-06-07T21:05:57.953Z" }, + { url = "https://files.pythonhosted.org/packages/a1/10/08f1654f538f93d36dcac66310a06eefce4641cdafca83f9f0a5317be254/aiohttp-3.14.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:52cdac9432d8b4a719f35094a818d95adcae0f0b4fe9b9b921909e0c87de9e7d", size = 1750199, upload-time = "2026-06-07T21:05:59.488Z" }, + { url = "https://files.pythonhosted.org/packages/99/e4/d91b70c57d8b8e9611e4a2e52238ca3698d3dc1c2efe25b7a9bf594ac584/aiohttp-3.14.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:672ac254412a24d0d0cf00a9e6c238877e4be5e5fa2d188832c1244f45f31966", size = 1699356, upload-time = "2026-06-07T21:06:01.131Z" }, + { url = "https://files.pythonhosted.org/packages/3d/f1/15340176f35ff61b95dbe34020bcf43f9e624a2d7bbac934715ff97d2033/aiohttp-3.14.1-cp310-cp310-win32.whl", hash = "sha256:2fe3607e71acc6ebb0ec8e492a247bf7a291226192dc0084236dfc12478916f6", size = 458939, upload-time = "2026-06-07T21:06:02.86Z" }, + { url = "https://files.pythonhosted.org/packages/c3/c2/a2f1ec5b37f903109e43ae2862268cfe4a67a60c1b2cf43169fcdff5995f/aiohttp-3.14.1-cp310-cp310-win_amd64.whl", hash = "sha256:30099eda75a53c32efb0920e9c33c195314d2cc1c680fbfd30894932ac5f27df", size = 482583, upload-time = "2026-06-07T21:06:04.666Z" }, + { url = "https://files.pythonhosted.org/packages/d0/7a/7b56f6732ef79530afaa72aa335d41b67c8d79b946995f0b11ad72985435/aiohttp-3.14.1-cp310-cp310-win_arm64.whl", hash = "sha256:5a837f49d901f9e368651b676912bff1104ed8c1a83b280bcd7b29adccef5c9c", size = 453470, upload-time = "2026-06-07T21:06:06.322Z" }, + { url = "https://files.pythonhosted.org/packages/26/dd/bf526e6f0a1120dd6f2df2e97bacfe4d358f13d17a0ff5847301a1375a51/aiohttp-3.14.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:aa00140699487bd435fde4342d85c94cb256b7cd3a5b9c3396c67f19922afda2", size = 765225, upload-time = "2026-06-07T21:06:07.957Z" }, + { url = "https://files.pythonhosted.org/packages/8f/e1/a2872aa55495a70f61310d411541c6ee23812d9a884e000c716e1bc3edbf/aiohttp-3.14.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1c1af67559445498b502030c35c59db59966f47041ca9de5b4e707f86bd10b5f", size = 518743, upload-time = "2026-06-07T21:06:09.749Z" }, + { url = "https://files.pythonhosted.org/packages/5b/e7/c60c7b209e509cc787de3cea0550a518538cfc08003e1c1e14c1c63fff71/aiohttp-3.14.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d44ec478e713ee7f29b439f7eb8dc2b9d4079e11ae114d2c2ac3d5daf30516c8", size = 514139, upload-time = "2026-06-07T21:06:11.26Z" }, + { url = "https://files.pythonhosted.org/packages/5b/8d/614ace2f579702c9840ab1e1447fd8509e35b0b904f7196418fa2f57b25d/aiohttp-3.14.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d3b1a184a9a8f548a6b73f1e26b96b052193e4b3175ed7342aaf1151a1f00a04", size = 1784088, upload-time = "2026-06-07T21:06:12.887Z" }, + { url = "https://files.pythonhosted.org/packages/49/e0/726e90f99542bf292f81a96a12cc4847deb86f3ccf62c6f4014a201f4d33/aiohttp-3.14.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5f2504bc0322437c9a1ff6d3333ca56c7477b727c995f036b976ae17b98372c8", size = 1737835, upload-time = "2026-06-07T21:06:14.564Z" }, + { url = "https://files.pythonhosted.org/packages/0b/4b/d176d5c4db9d33dacf0543102ea59503bc1d528af4cfd0b719949ca49389/aiohttp-3.14.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:73f05ea02013e02512c3bf42714f1208c57168c779cc6fe23516e4543089d0a6", size = 1842801, upload-time = "2026-06-07T21:06:16.228Z" }, + { url = "https://files.pythonhosted.org/packages/dc/d6/5a99b563690ea0cbed912ae94a2ce33993a5709a651a3a4fe761e7dd973a/aiohttp-3.14.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:797457503c2d426bee06eef808d07b31ede30b65e054444e7de64cad0061b7af", size = 1929992, upload-time = "2026-06-07T21:06:17.947Z" }, + { url = "https://files.pythonhosted.org/packages/76/7f/a987b14a3859094b3cea3f4825219c3e5536242564af6e3f9c2f6c994eb2/aiohttp-3.14.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b821a1f7dedf7e37450654e620038ac3b2e81e8fa6ea269337e97101978ec730", size = 1786989, upload-time = "2026-06-07T21:06:19.677Z" }, + { url = "https://files.pythonhosted.org/packages/f1/1a/420e5c85a3e73349372ed22ce0b6af86bfa6ce16a4b20a64a2e94608c781/aiohttp-3.14.1-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4cd96b5ba05d67ed0cf00b5b405c8cd99586d8e3481e8ee0a831057591af7621", size = 1640129, upload-time = "2026-06-07T21:06:22.558Z" }, + { url = "https://files.pythonhosted.org/packages/a7/80/18a592ed3be0a402cc03670bd72ee1f8563ddbe1d8d5542dbf868f274136/aiohttp-3.14.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d459b98a932296c6f0e94f87511a0b1b90a8a02c30a50e60a297619cd5a58ee", size = 1756576, upload-time = "2026-06-07T21:06:24.8Z" }, + { url = "https://files.pythonhosted.org/packages/ec/0b/8b3d5713373858ff71a617daf6e3b0e81ad63e79d09a3cf2f6b6b983939c/aiohttp-3.14.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:764457a7be60825fb770a644852ff717bcbb5042f189f2bd16df61a81b3f6573", size = 1754668, upload-time = "2026-06-07T21:06:26.528Z" }, + { url = "https://files.pythonhosted.org/packages/9f/49/fd564575cf225821d7ba5a117cb8bc27213d8a7e1811162afb43ae077039/aiohttp-3.14.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f7a16ef45b081454ef844502d87a848876c490c4cb5c650c230f6ec79ed2c1e7", size = 1817019, upload-time = "2026-06-07T21:06:28.297Z" }, + { url = "https://files.pythonhosted.org/packages/ed/1b/e850c9ae6fc91356552ae668bb6c51e93fa29c8aef13398a10b56678557f/aiohttp-3.14.1-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:2fbc3ed048b3475b9f0cbcb9978e9d2d3511acd91ead203af26ed9f0056004cf", size = 1631638, upload-time = "2026-06-07T21:06:30.242Z" }, + { url = "https://files.pythonhosted.org/packages/eb/94/3c337ba72451a89806ace6f75bddc92bafc5b8d53d90115a512858024b63/aiohttp-3.14.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:bedb0cd073cc2dc035e30aeb99444389d3cd2113afe4ef9fcd23d439f5bade85", size = 1835660, upload-time = "2026-06-07T21:06:31.943Z" }, + { url = "https://files.pythonhosted.org/packages/2b/9c/9c18cf367a0498212d9ba7daf990b504a5e8ae064cda4b504e2647c89c03/aiohttp-3.14.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b6feea921016eb3d4e04d65fc4e9ca402d1a3801f562aef94989f54694917af3", size = 1775698, upload-time = "2026-06-07T21:06:33.72Z" }, + { url = "https://files.pythonhosted.org/packages/b5/63/a251a9d2a6cb45065b2ddc0bde2b3dd10108740a9a42f632c66405a761a2/aiohttp-3.14.1-cp311-cp311-win32.whl", hash = "sha256:313701e488100074ce99850404ee36e741abf6330179fec908a1944ecf570126", size = 458386, upload-time = "2026-06-07T21:06:35.279Z" }, + { url = "https://files.pythonhosted.org/packages/17/ca/69274c51dcd6e8947d77b2806cf47a4a15f2c846e2cbeb1882547d3da283/aiohttp-3.14.1-cp311-cp311-win_amd64.whl", hash = "sha256:03ab4530fdcb3a543a122ba4b65ac9919da9fe9f78a03d328a6e38ff962f7aa5", size = 483406, upload-time = "2026-06-07T21:06:36.824Z" }, + { url = "https://files.pythonhosted.org/packages/2c/8a/c25904f77690c3688ec140f87591ef11a0cfe36bf3d5c0f1f38056fb62b3/aiohttp-3.14.1-cp311-cp311-win_arm64.whl", hash = "sha256:486f7d16ed54c39c2cbd7ca71fd8ba2b8bb7860df65bd7b6ed640bab96a38a8b", size = 452987, upload-time = "2026-06-07T21:06:38.371Z" }, + { url = "https://files.pythonhosted.org/packages/1d/21/151624b51cd92553d95424daf4bf19f19ce9be9002d19253e7e7ce67197b/aiohttp-3.14.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d35143e27778b4bb0fb189562d7f275bff79c62ab8e98459717c0ea617ff2480", size = 757402, upload-time = "2026-06-07T21:06:40.311Z" }, + { url = "https://files.pythonhosted.org/packages/c2/82/280619e0bd7bf2454987e19282616e84762255dd9c8468f62382e8c191f1/aiohttp-3.14.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:bcfb80a2cc36fba2534e5e5b5264dc7ae6fcd9bf15256da3e53d2f499e6fa29d", size = 512310, upload-time = "2026-06-07T21:06:42.207Z" }, + { url = "https://files.pythonhosted.org/packages/55/b2/2aac325583aaa1353045f96dffa586d8a34e8322e14a7ba49cffeb103ab4/aiohttp-3.14.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:27fd7c91e51729b4f7e1577865fa6d34c9adccbc39aabe9000285b48af9f0ec2", size = 512448, upload-time = "2026-06-07T21:06:43.813Z" }, + { url = "https://files.pythonhosted.org/packages/8a/72/a60607cb849faa8af8a356c9329ea2eb6f395d49e82cc82ccba1fd8deb8f/aiohttp-3.14.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:64c567bf9eaf664280116a8688f63016e6b32db2505908e2bdaca1b6438142f2", size = 1766854, upload-time = "2026-06-07T21:06:45.391Z" }, + { url = "https://files.pythonhosted.org/packages/b5/d3/d9fe1c9ec7557ab4d0d82bebaa728c6418f0b93295ec2f4ab015f7710cc7/aiohttp-3.14.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:f5e6ff2bdbb8f4cd3fbe41f99e25bbcd58e3bf9f13d3dd31a11e7917251cc77a", size = 1740884, upload-time = "2026-06-07T21:06:47.413Z" }, + { url = "https://files.pythonhosted.org/packages/c1/dc/f2cecfaf9337ba3e63f181500814ff502aa3d00d9c7ec93a9d23d10a27b2/aiohttp-3.14.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2f73e01dc37122325caf079982621262f96d74823c179038a82fddfc50359264", size = 1810034, upload-time = "2026-06-07T21:06:50.165Z" }, + { url = "https://files.pythonhosted.org/packages/66/d7/2ff65c5e65c0d7476daf7e15c032e0805e36811185b9623e3238ad6c763e/aiohttp-3.14.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bb2c0c80d431c0d03f2c7dbf125150fedd4f0de17366a7ca33f7ccb822391842", size = 1904054, upload-time = "2026-06-07T21:06:52.035Z" }, + { url = "https://files.pythonhosted.org/packages/20/9c/d445818389df371f56d141d881153ba23183c4735a03f7356ffb43f7757d/aiohttp-3.14.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3e6fc1a85fa7194a1a7d19f44e8609180f4a8eb5fa4c7ed8b4355f080fad235c", size = 1790278, upload-time = "2026-06-07T21:06:54.049Z" }, + { url = "https://files.pythonhosted.org/packages/4d/aa/bf04cb4d865fc6101c2229a294ad744973b72e513fdc5a6b791e6983d72a/aiohttp-3.14.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:686b6c0d3911ec387b444ddf5dc62fb7f7c0a7d5186a7861626496a5ab4aff95", size = 1591795, upload-time = "2026-06-07T21:06:55.911Z" }, + { url = "https://files.pythonhosted.org/packages/dc/b4/4dac0038960427ba832f6609dfb4ea5437d7fd80c72001b9e48f834f428b/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:c6fa4dc7ad6f8109c70bb1499e589f76b0b792baf39f9b017eb92c8a81d0a199", size = 1728397, upload-time = "2026-06-07T21:06:57.777Z" }, + { url = "https://files.pythonhosted.org/packages/2b/f9/7cd4e8ad7aa3b75f17d56bb5498dd604a93d4e6eece822ba0568c413fff0/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:87a5eea1b2a5e21e1ebdbb33ad4165359189327e63fc4e4894693e7f821ac817", size = 1766504, upload-time = "2026-06-07T21:07:00.009Z" }, + { url = "https://files.pythonhosted.org/packages/f9/df/fc01d9fcad0f73fed3f3d361f1f94f975947b50dff82919f6dc2bf4316cc/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c1421eb01d4fd608d88cc8290211d177a58532b55ad94076fb349c5bf467f0a", size = 1777806, upload-time = "2026-06-07T21:07:02.064Z" }, + { url = "https://files.pythonhosted.org/packages/41/09/47e2d090bddcc8fb4ccb4c314aadc32d7c5d9bb55f50f6ad1c92fc15d501/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:34b257ec41345c1e8f2df68fa908a7952f5de932723871eb633ecbbff396c9a4", size = 1580707, upload-time = "2026-06-07T21:07:03.942Z" }, + { url = "https://files.pythonhosted.org/packages/3d/36/f1a4ce904ae0b6930cfe9afc96d0896f7ec1a620c400405d63783bb95a9c/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:de538791a80e5d862addbc183f70f0158ac9b9bb872bb147f1fd2a683691e087", size = 1798121, upload-time = "2026-06-07T21:07:05.987Z" }, + { url = "https://files.pythonhosted.org/packages/70/0a/e0075ce9ca0279ee1d4f0c0b85f54fea02ebc83c3007651a72bece658fec/aiohttp-3.14.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6f71173be42d3241d428f760122febb748de0623f44308a6f120d0dd9ec572e3", size = 1767580, upload-time = "2026-06-07T21:07:07.873Z" }, + { url = "https://files.pythonhosted.org/packages/3e/61/a0c0a8f327a9c52095cdd8e312391b00d3ed64ab6c72bb5c33d8ec251cf7/aiohttp-3.14.1-cp312-cp312-win32.whl", hash = "sha256:ec8dc383ee57ea3e883477dcca3f11b65d58199f1080acaf4cd6ad9a99698be4", size = 452771, upload-time = "2026-06-07T21:07:09.669Z" }, + { url = "https://files.pythonhosted.org/packages/df/d9/ea367c75f16ac9c6cdc8febb25e8318fa21a2b1bc8d6514d4b2d890bface/aiohttp-3.14.1-cp312-cp312-win_amd64.whl", hash = "sha256:2aa92c87868cd13674989f9ee83e5f9f7ea4237589b728048e1f0c8f6caa3271", size = 479873, upload-time = "2026-06-07T21:07:11.538Z" }, + { url = "https://files.pythonhosted.org/packages/03/64/8d96784a7851156db8a4c6c3f6f91042fdf39fb15a4cc38c8b3c14833c45/aiohttp-3.14.1-cp312-cp312-win_arm64.whl", hash = "sha256:2c840c90759922cb5e6dda94596e079a30fb5a5ba548e7e0dc00574703940847", size = 448073, upload-time = "2026-06-07T21:07:13.637Z" }, + { url = "https://files.pythonhosted.org/packages/bc/97/bd137012dd97e1649162b099135a80e1fd59aaa807b2430fc448d1029aff/aiohttp-3.14.1-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:b3a03285a7f9c7b016324574a6d92a1c895da6b978cb8f1deee3ac72bc6da178", size = 506882, upload-time = "2026-06-07T21:07:15.501Z" }, + { url = "https://files.pythonhosted.org/packages/ef/79/e5cc690e9d922a66887ceeaca53a8ffd5a7b0be3816142b7abc433742d89/aiohttp-3.14.1-cp313-cp313-android_21_x86_64.whl", hash = "sha256:2a73f487ab8ef5abbb24b7aa9b73e98eaba9e9e031804ff2416f02eca315ccaf", size = 515270, upload-time = "2026-06-07T21:07:17.53Z" }, + { url = "https://files.pythonhosted.org/packages/fe/22/a73ccbf9dbd6e26dda0b24d5fd5db7da92ee3383a79f47677ffb834c5c5b/aiohttp-3.14.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:915fbb7b41b115192259f8c9ae58f3ddc444d2b5579917270211858e606a4afd", size = 485841, upload-time = "2026-06-07T21:07:19.555Z" }, + { url = "https://files.pythonhosted.org/packages/3b/b9/57ed8eaf596321c2ad747bd480fb1700dbd7177c60dfc9e4c187f629662e/aiohttp-3.14.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:7fb4bdf95b0561a79f259f9d28fbc109728c5ee7f27aff6391f0ca703a329abe", size = 492088, upload-time = "2026-06-07T21:07:21.581Z" }, + { url = "https://files.pythonhosted.org/packages/78/c0/5ebe5270a7c140d7c6f79dcb018640225f14d406c149e4eec04a7d82fe71/aiohttp-3.14.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:1b9748363260121d2927704f5d4fc498150669ca3ae93625986ee89c8f80dcd4", size = 501564, upload-time = "2026-06-07T21:07:23.388Z" }, + { url = "https://files.pythonhosted.org/packages/75/7f/8cdaa24fc7983865e0915153b96a9ac5bcdd3548d64c5a27d17cecccad2d/aiohttp-3.14.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:86a6dab78b0e43e2897a3bbe15745aa60dc5423ca437b7b0b164c069bf91b876", size = 751998, upload-time = "2026-06-07T21:07:25.046Z" }, + { url = "https://files.pythonhosted.org/packages/b2/f4/c4227aacfacc5cb0cc2d119b65301d177912a6842cd64e120c47af76064f/aiohttp-3.14.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4dfd6e47d3c44c2279907607f73a4240b88c69eb8b90da7e2441a8045dfd21da", size = 510918, upload-time = "2026-06-07T21:07:27.28Z" }, + { url = "https://files.pythonhosted.org/packages/ab/01/a2d5f96cd4e74424864d30bc0a7e44d0a12dacdcfa91b5b2d1bd3dca6bf3/aiohttp-3.14.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:317acd9f8602858dc7d59679812c376c7f0b97bcbbf16e0d6237f54141d8a8a6", size = 508657, upload-time = "2026-06-07T21:07:29.252Z" }, + { url = "https://files.pythonhosted.org/packages/e8/ed/3c0fb5c500fdd8e7ebc10d1889c04384fffa1a9163eac1356088ca9da1b1/aiohttp-3.14.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bd869c427324e5cb15195793de951295710db28be7d818247f3097b4ab5d4b96", size = 1757907, upload-time = "2026-06-07T21:07:31.03Z" }, + { url = "https://files.pythonhosted.org/packages/0b/ab/d4c924d9bd5be3050c226612413ce68cb54c70d2c31b661bfc8d9a5b6a70/aiohttp-3.14.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:93b032b5ec3255473c143627d21a69ac74ae12f7f33974cb587c564d11b1066f", size = 1737565, upload-time = "2026-06-07T21:07:33.031Z" }, + { url = "https://files.pythonhosted.org/packages/19/2a/37326821ff779084020cdc33224d20b19f42f4183a500ff92022a739eda7/aiohttp-3.14.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f234b4deb12f3ad59127e037bc57c40c21e45b45282df7d3a55a0f409f595296", size = 1799018, upload-time = "2026-06-07T21:07:35.003Z" }, + { url = "https://files.pythonhosted.org/packages/b3/4f/6e947ba73e4ce09070761c05ed3a8ceb7c21f5e46798671d8b2aac0e4626/aiohttp-3.14.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9af6779bfb46abf124068327abcdf9ce95c9ef8287a3e8da76ccf2d0f16c28fa", size = 1894416, upload-time = "2026-06-07T21:07:36.956Z" }, + { url = "https://files.pythonhosted.org/packages/9d/6e/dbf1d0625dc711fb2851f4f3c3055c39ed58bae92082d8c627dbe6013736/aiohttp-3.14.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:faccab372e66bc76d5731525e7f1143c922271725b9d38c9f97edcc66266b451", size = 1783881, upload-time = "2026-06-07T21:07:39.063Z" }, + { url = "https://files.pythonhosted.org/packages/44/c2/5e25098a67268ed369483ae7d1a58bd0a13d03aab860d2a0e4a6eb25b046/aiohttp-3.14.1-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f380468b09d2a81633ee863b0ec5648d364bd17bb8ecfb8c2f387f7ac1faf42c", size = 1587572, upload-time = "2026-06-07T21:07:41.058Z" }, + { url = "https://files.pythonhosted.org/packages/2a/bd/cf9cee17e140f942a3de73e658a543aa8fbf35a5fc67a9d2538d52d77f0b/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:97e704dcd26271f5bda3fa07c3ce0fb76d6d3f8659f4baa1a24442cc9ba177ca", size = 1722137, upload-time = "2026-06-07T21:07:43.014Z" }, + { url = "https://files.pythonhosted.org/packages/89/6d/5684f8c59045c96f81a18cefbc1fbbd79d25b88f1c622f2a5c5c08fcb632/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:269b76ac5394092b95bc4a098f4fc6c191c083c3bd12775d1e30e663132f6a09", size = 1755953, upload-time = "2026-06-07T21:07:45.933Z" }, + { url = "https://files.pythonhosted.org/packages/a8/40/35caf3170f8359760740a7d9aa0fff2e344bef98e1d1186f5a0f6dec17e6/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c0b3e614340c889d575451696374c9d17affd54cd607ca0babed8f8c37b9397", size = 1766479, upload-time = "2026-06-07T21:07:48.047Z" }, + { url = "https://files.pythonhosted.org/packages/6d/a1/b0c61e7a137f0d81de49a82023a6df73c3c16d6fefb0f8e4a93d21639002/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:5663ee9257cfa1add7253a7da3035a02f31b6600ec48261585e1800a81533080", size = 1580077, upload-time = "2026-06-07T21:07:50.069Z" }, + { url = "https://files.pythonhosted.org/packages/0b/41/194ea4623693009fcefebef7aef63c141754f153e9cd0d39d3b9e36c175c/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:603a2c834142172ffddc054067f5ec0ca65d57a0aa98a71bc81952573208e345", size = 1791688, upload-time = "2026-06-07T21:07:52.106Z" }, + { url = "https://files.pythonhosted.org/packages/ba/45/4de841f005cfe1fd63e2a2fe011262c515e2a62aa6994b15947e7d717ac9/aiohttp-3.14.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:cb21957bb8aca671c1765e32f58164cf0c50e6bf41c0bbbd16da20732ecaf588", size = 1761094, upload-time = "2026-06-07T21:07:54.113Z" }, + { url = "https://files.pythonhosted.org/packages/e4/ae/dbce10533d3896d544d5053939ed75b7dc31a1b0973d959b1b5ae21028d6/aiohttp-3.14.1-cp313-cp313-win32.whl", hash = "sha256:e509a55f681e6158c20f70f102f9cf61fb20fbc382272bc6d94b7343f2582780", size = 452662, upload-time = "2026-06-07T21:07:56.06Z" }, + { url = "https://files.pythonhosted.org/packages/7b/d9/0bf1a19362c32f06229da5e7ddfcec91f93474d6307f7a2d3135e9c674dc/aiohttp-3.14.1-cp313-cp313-win_amd64.whl", hash = "sha256:1ac8531b638959718e18c2207fbfe297819875da46a740b29dfa29beba64355a", size = 479748, upload-time = "2026-06-07T21:07:58.319Z" }, + { url = "https://files.pythonhosted.org/packages/22/0a/62e7232dc9484fbec112ceb32efb6a624cc7994ec6e2b019286f17c4e8f2/aiohttp-3.14.1-cp313-cp313-win_arm64.whl", hash = "sha256:250d14af67f6b6a1a4a811049b1afa69d61d617fca6bf33149b3ab1a6dbcf7b8", size = 447723, upload-time = "2026-06-07T21:08:00.154Z" }, + { url = "https://files.pythonhosted.org/packages/c4/a1/5fafa04e1ca91ddb47608699d60649c1c6db3cf41c99e78fc4056f9513db/aiohttp-3.14.1-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:7c106c26852ca1c2047c6b80384f17100b4e439af276f21ef3d4e2f450ae7e15", size = 508531, upload-time = "2026-06-07T21:08:02.093Z" }, + { url = "https://files.pythonhosted.org/packages/fa/2e/bfa02f699d87ffc86d5959270b28f1cb410add3ccaced8ed2e0b8a5238fc/aiohttp-3.14.1-cp314-cp314-android_24_x86_64.whl", hash = "sha256:20205f7f5ade7aaec9f4b500549bbc071b046453aed72f9c06dcab87896a83e8", size = 514718, upload-time = "2026-06-07T21:08:04.476Z" }, + { url = "https://files.pythonhosted.org/packages/85/a5/9594ad6289eebbc97d167c44213d557807f90e59115caad24de21ad2c3b1/aiohttp-3.14.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:62a759436b29e677181a9e76bab8b8f689a29cb9c535f45f7c48c9c830d3f8c3", size = 487918, upload-time = "2026-06-07T21:08:06.377Z" }, + { url = "https://files.pythonhosted.org/packages/b4/61/16a32c36c3c49edec122a3dc811f2057df2f94d3b14aa107c8017d981618/aiohttp-3.14.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:2964cbf553df4d7a57348da44d961d871895fc1ee4e8c322b2a95612c7b17fba", size = 494014, upload-time = "2026-06-07T21:08:08.263Z" }, + { url = "https://files.pythonhosted.org/packages/9b/89/3ebcf96ed99c05bec9c434aaac6963fd3cbab4a786ae739908a144d9ce44/aiohttp-3.14.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:237651caadc3a59badd39319c54642b5299e9cc98a3a194310e55d5bb9f5e397", size = 502398, upload-time = "2026-06-07T21:08:10.244Z" }, + { url = "https://files.pythonhosted.org/packages/fd/3d/b74870a0c2d40c355928cd5b96c7a11fa821b8a40fc41365e64479b151fb/aiohttp-3.14.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:896e12dfdbbab9d8f7e16d2b28c6769a60126fa92095d1ebf9473d02593a2448", size = 758018, upload-time = "2026-06-07T21:08:12.447Z" }, + { url = "https://files.pythonhosted.org/packages/d3/66/f42f5c984d99e49c6cff5f26f590750f2e2f7ef1fcfb99966ab5be1b632e/aiohttp-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d03f281ed22579314ba00821ce20115a7c0ac430660b4cc05704a3f818b3e004", size = 512462, upload-time = "2026-06-07T21:08:14.624Z" }, + { url = "https://files.pythonhosted.org/packages/e9/a7/248e1aebe0c7810b0271e021a0f2a5eb6e78a051885b3c9df49f42a5802d/aiohttp-3.14.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:07eabb979d236335fed927e137a928c9adfb7df3b9ec7aa31726f133a62be983", size = 512824, upload-time = "2026-06-07T21:08:16.572Z" }, + { url = "https://files.pythonhosted.org/packages/26/97/2aa0e5ba0727dc3bd5aaebb7ccbc510f7dfb7fb961ec87497cd496635ab1/aiohttp-3.14.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4fe1f1087cbadb280b5e1bb054a4f00d1423c74d6626c5e48400d871d34ecefe", size = 1749898, upload-time = "2026-06-07T21:08:18.635Z" }, + { url = "https://files.pythonhosted.org/packages/00/8d/e97f6c96c891d457c8479d92a514ba194d0412f981d72c70341ee18488ed/aiohttp-3.14.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:367a9314fdc79dab0fac96e216cb41dd73c85bdca85306ce8999118ba7e0f333", size = 1710114, upload-time = "2026-06-07T21:08:20.892Z" }, + { url = "https://files.pythonhosted.org/packages/6f/e6/aa8d7e863048c8fceb5cd6ce74017311cec3ead07847387e12265fb4444e/aiohttp-3.14.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a24f677ebe83749039e7bdf862ff0bbb16818ae4193d4ef96505e269375bcce0", size = 1802541, upload-time = "2026-06-07T21:08:23.044Z" }, + { url = "https://files.pythonhosted.org/packages/83/a8/72193137de57fda4ebfae4563182d082c8856e3b6e9871d0b46f028fb369/aiohttp-3.14.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c83afe0ba876be7e943d2e0ba645809ad441575d2840c895c21ee5de93b9377a", size = 1875776, upload-time = "2026-06-07T21:08:25.288Z" }, + { url = "https://files.pythonhosted.org/packages/a0/18/938441025db6769a3464596b2410af3afde0b21eb2f204c6f766f68af4bd/aiohttp-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:634e385930fb6d2d479cf3aa66515955863b77a5e3c2b5894ca259a25b308602", size = 1760329, upload-time = "2026-06-07T21:08:27.363Z" }, + { url = "https://files.pythonhosted.org/packages/60/29/bf2496b4065e76e09fe48015aaffe5ce161d8f089b06ac6982070f653076/aiohttp-3.14.1-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:eeea07c4397bbc57719c4eed8f9c284874d4f175f9b6d57f7a1546b976d455ca", size = 1587293, upload-time = "2026-06-07T21:08:29.805Z" }, + { url = "https://files.pythonhosted.org/packages/49/a2/2136674d52123b1354bd05dd5753c318db47dc0c927cc70b27bab3755456/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:335c0cc3e3545ce98dcb9cfcb836f40c3411f43fa03dab757597d80c89af8a35", size = 1714756, upload-time = "2026-06-07T21:08:32.094Z" }, + { url = "https://files.pythonhosted.org/packages/a7/b9/e5fd2e6f915503081c0f9b1e8540947037929c70c191da2e4d54b31a21a1/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:ae6be797afdef264e8a84864a85b196ca06045586481b3df8a967322fd2fa844", size = 1721052, upload-time = "2026-06-07T21:08:34.167Z" }, + { url = "https://files.pythonhosted.org/packages/63/5a/2833e324a2263e104e31e2e91bc5bbee81bc499afd32203faee048a883f0/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:8560b4d712474335d08907db7973f71912d3a9a8f1dee992ec06b5d2fe359496", size = 1766888, upload-time = "2026-06-07T21:08:36.95Z" }, + { url = "https://files.pythonhosted.org/packages/57/fa/dea6511870913162f3b2e8c42a7614eb203a4540b8c2da43e0bfb0548f3c/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2b7edd08e0a5deb1e8564a2fcd8f4561014a3f05252334671bbf55ddd47db0e5", size = 1581679, upload-time = "2026-06-07T21:08:39.292Z" }, + { url = "https://files.pythonhosted.org/packages/14/bd/3cf0d55e71784b33534e9710a67d382d900598b4787fbce6cc7317f8c42a/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:b6ff7fcee63287ae57b5df3e4f5957ce032122802509246dec1a5bcc55904c95", size = 1782021, upload-time = "2026-06-07T21:08:41.407Z" }, + { url = "https://files.pythonhosted.org/packages/c1/af/14bb5843eccbe234f4dfb78ab73e549d99727247e62ae5d62cbd22eaf5b0/aiohttp-3.14.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:6ffbb2f4ec1ceaff7e07d43922954da26b223d188bf30658e561b98e23089444", size = 1742574, upload-time = "2026-06-07T21:08:43.795Z" }, + { url = "https://files.pythonhosted.org/packages/f2/1e/fbeb7af9210a67ac0f9c9bec0f8f4568497924e33137a3d5b48e1cf85f3f/aiohttp-3.14.1-cp314-cp314-win32.whl", hash = "sha256:a9875b46d910cff3ea2f5962f9d266b465459fe634e22556ab9bd6fc1192eea0", size = 457773, upload-time = "2026-06-07T21:08:46.168Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2b/13e8d741a9ec5db7d900c060554cf8352ab85e44e2a4469ebb9d377bda17/aiohttp-3.14.1-cp314-cp314-win_amd64.whl", hash = "sha256:af8b4b81a960eeaf1234971ac3cd0ba5901f3cd42eae42a46b4d089a8b492719", size = 485001, upload-time = "2026-06-07T21:08:48.401Z" }, + { url = "https://files.pythonhosted.org/packages/df/30/491acfa2c4d6c3ff59c49a14fc1b50be3241e25bbb0c84c09e2da4d11395/aiohttp-3.14.1-cp314-cp314-win_arm64.whl", hash = "sha256:cf4491381b1b57425c315a56a439251b1bdac07b2275f19a8c44bc57744532ec", size = 453809, upload-time = "2026-06-07T21:08:50.7Z" }, + { url = "https://files.pythonhosted.org/packages/34/e3/19dbe1a1f4cc6230eb9e314de7fe68053b0992f9302b27d12141a0b5db53/aiohttp-3.14.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:819c054312f1af92947e6a55883d1b66feefab11531a7fc45e0fb9b63880b5c2", size = 793320, upload-time = "2026-06-07T21:08:52.775Z" }, + { url = "https://files.pythonhosted.org/packages/7f/20/1b7182219ba1b108430d6e4dc53d25ae02dcfcf5a045b33af4e8c5167527/aiohttp-3.14.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:10ee9c1753a8f706345b22496c79fbddb5be0599e0823f3738b1534058e25340", size = 529077, upload-time = "2026-06-07T21:08:55Z" }, + { url = "https://files.pythonhosted.org/packages/b9/c8/14ce60ec31a2e5f5274bb17d383a6f7a3aabca31ac04eee05585bbadab16/aiohttp-3.14.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1601cc37baf5750ccacae618ec2daf020769581695550e3b654a911f859c563d", size = 532476, upload-time = "2026-06-07T21:08:57.176Z" }, + { url = "https://files.pythonhosted.org/packages/7e/02/9ac85e081e53da2e061b02fa7758fe0a12d17b8ce2d1f5e6c7cb76730328/aiohttp-3.14.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4d6e0ac9da31c9c04c84e1c0182ad8d6df35965a85cae29cd71d089621b3ae94", size = 1922347, upload-time = "2026-06-07T21:08:59.563Z" }, + { url = "https://files.pythonhosted.org/packages/c0/3e/d3ba07a0ab38b5389e10bec4362d21e10a4f667cba2d79ba30837b3a5059/aiohttp-3.14.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9e8f2d660c350b3d0e259c7a7e3d9b7fc8b41210cbcc3d4a7076ff0a5e5c2fdc", size = 1786465, upload-time = "2026-06-07T21:09:01.909Z" }, + { url = "https://files.pythonhosted.org/packages/0b/cb/e2ee978a00cfb2df829704a69528b18154eba5939f45bc1efa8f33aee4c5/aiohttp-3.14.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4691802dda97be727f79d86818acaad7eb8e9252626a1d6b519fedbb92d5e251", size = 1909423, upload-time = "2026-06-07T21:09:04.357Z" }, + { url = "https://files.pythonhosted.org/packages/73/5d/1430334858b1022b58ae50399a918f0bd6fe8fa7fa183598d657ff61e040/aiohttp-3.14.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c389c482a7e9b9dc3ee2701ac46c4125297a3818875b9c305ddb603c04828fd1", size = 2001906, upload-time = "2026-06-07T21:09:06.722Z" }, + { url = "https://files.pythonhosted.org/packages/66/4e/560c7472d3d198a23aa5c8b19a5115bf6a9b77b7d3e4bb363da320430ad2/aiohttp-3.14.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fc0cacab7ba4e56f0f81c82a98c09bed2f39c940107b03a34b168bdf7597edd3", size = 1877095, upload-time = "2026-06-07T21:09:09.011Z" }, + { url = "https://files.pythonhosted.org/packages/0d/f1/4745806578d447db4a784a8591e2dae3afdfc2bcb96f8f81271b13df6543/aiohttp-3.14.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:979ed4717f59b8bb12e3963378fa285d93d367e15bcd66c721311826d3c44a6c", size = 1676222, upload-time = "2026-06-07T21:09:11.461Z" }, + { url = "https://files.pythonhosted.org/packages/6a/c9/48255813cca749a229ef0ab476004ec623728ad79a9c0840616f6c076325/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:38e1e7daaea81df51c952e18483f323d878499a1e2bfe564790e0f9701d6f203", size = 1842922, upload-time = "2026-06-07T21:09:14.118Z" }, + { url = "https://files.pythonhosted.org/packages/3d/c0/bbd054e2bee909f529523a5af3891052606af5143c09f5f183ec3b234676/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:4132e72c608fe9fecb8f409113567605915b83e9bdd3ea56538d2f9cd35002f1", size = 1825035, upload-time = "2026-06-07T21:09:16.447Z" }, + { url = "https://files.pythonhosted.org/packages/a8/ae/90395d4376deceb74e09ec26b6adf7d2015a6f8802d6d84446af860fef04/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:eefd9cc9b6d4a2db5f00a26bc3e4f9acf71926a6ec557cd56c9c6f27c290b665", size = 1849512, upload-time = "2026-06-07T21:09:18.742Z" }, + { url = "https://files.pythonhosted.org/packages/93/bd/fb25f3049957553d4ce0ba6ae480aa2f592a6985497fca590837d16c1be0/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:b165790117eea512d7f3fb22f1f6dad3d55a7189571993eb015591c1401276d1", size = 1668571, upload-time = "2026-06-07T21:09:21.458Z" }, + { url = "https://files.pythonhosted.org/packages/3f/22/7f73303d64dd567ff3addca90b556690ed1233a47b8f55d242fb90af3681/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:ed09c7eb1c391271c2ed0314a51903e72a3acb653d5ccfc264cdf3ef11f8269d", size = 1881159, upload-time = "2026-06-07T21:09:23.813Z" }, + { url = "https://files.pythonhosted.org/packages/44/be/0474c5a8b5640e1e4aa1923430a91f4151be82e511373fe764189b89aef5/aiohttp-3.14.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:99abd37084b82f5830c635fddd0b4993b9742a66eb746dacf433c8590e8f9e3c", size = 1841409, upload-time = "2026-06-07T21:09:26.207Z" }, + { url = "https://files.pythonhosted.org/packages/7b/3c/bb4a7cba26956cb3da4553cc2056cf67be5b5ff6e6d8fa4fbdff73bfb7ae/aiohttp-3.14.1-cp314-cp314t-win32.whl", hash = "sha256:47ddf841cdecc810749921d25606dee45857d12d2ad5ddb7b5bd7eab12e4b365", size = 494166, upload-time = "2026-06-07T21:09:28.505Z" }, + { url = "https://files.pythonhosted.org/packages/8a/84/ec80c2c1f66a952555a9f86df6b33af65108a6febfa0471b69013a12f807/aiohttp-3.14.1-cp314-cp314t-win_amd64.whl", hash = "sha256:5e78b522b7a6e27e0b25d19b247b75039ac4c94f99823e3c9e53ae1603a9f7e9", size = 530255, upload-time = "2026-06-07T21:09:30.843Z" }, + { url = "https://files.pythonhosted.org/packages/2a/71/6e22be134a4061ada85a92951b842f2657f17d926b727f3f94c56ae963d6/aiohttp-3.14.1-cp314-cp314t-win_arm64.whl", hash = "sha256:90d53f1609c29ccc2193945ef732428382a28f78d0456ae4d3daf0d48b74f0f6", size = 469640, upload-time = "2026-06-07T21:09:33.028Z" }, +] + +[[package]] +name = "aiosignal" +version = "1.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "frozenlist" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007, upload-time = "2025-07-03T22:54:43.528Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490, upload-time = "2025-07-03T22:54:42.156Z" }, +] + +[[package]] +name = "annotated-types" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" }, +] + +[[package]] +name = "anthropic" +version = "0.96.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "distro" }, + { name = "docstring-parser" }, + { name = "httpx" }, + { name = "jiter" }, + { name = "pydantic" }, + { name = "sniffio" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b9/7e/672f533dee813028d2c699bfd2a7f52c9118d7353680d9aa44b9e23f717f/anthropic-0.96.0.tar.gz", hash = "sha256:9de947b737f39452f68aa520f1c2239d44119c9b73b0fb6d4e6ca80f00279ee6", size = 658210, upload-time = "2026-04-16T14:28:02.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/48/5a/72f33204064b6e87601a71a6baf8d855769f8a0c1eaae8d06a1094872371/anthropic-0.96.0-py3-none-any.whl", hash = "sha256:9a6e335a354602a521cd9e777e92bfd46ba6e115bf9bbfe6135311e8fb2015b2", size = 635930, upload-time = "2026-04-16T14:28:01.436Z" }, +] + +[[package]] +name = "anyio" +version = "4.11.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "exceptiongroup", marker = "python_full_version < '3.11'" }, + { name = "idna" }, + { name = "sniffio" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/c6/78/7d432127c41b50bccba979505f272c16cbcadcc33645d5fa3a738110ae75/anyio-4.11.0.tar.gz", hash = "sha256:82a8d0b81e318cc5ce71a5f1f8b5c4e63619620b63141ef8c995fa0db95a57c4", size = 219094, upload-time = "2025-09-23T09:19:12.58Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/b3/9b1a8074496371342ec1e796a96f99c82c945a339cd81a8e73de28b4cf9e/anyio-4.11.0-py3-none-any.whl", hash = "sha256:0287e96f4d26d4149305414d4e3bc32f0dcd0862365a4bddea19d7a1ec38c4fc", size = 109097, upload-time = "2025-09-23T09:19:10.601Z" }, +] + +[[package]] +name = "ast-serialize" +version = "0.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/81/9d/09e27731bd5864a9ce04e3244074e674bb8936bf62b45e0357248717adac/ast_serialize-0.5.0.tar.gz", hash = "sha256:5880091bfe6f4f986f22866375c2e884843e7a0b6343ae41aeea659613d879b6", size = 61157, upload-time = "2026-05-17T17:48:29.429Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c0/9a/13dde51ba9e15f8b97957ab7cb0120d0e381524d651c6bd630b9c359227f/ast_serialize-0.5.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8f5c14f169eb0972c0c21bada5358b23d6047c76583b005234f865b11f1fa00a", size = 1183520, upload-time = "2026-05-17T17:47:30.831Z" }, + { url = "https://files.pythonhosted.org/packages/37/de/5a7f0a9fe68944f536632a5af84676739c7d2582be42deb082634bf3a754/ast_serialize-0.5.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7d1a2de9de5be04652f0ed60738356ef94f66db37924a9499fffe98dc491aa0b", size = 1175779, upload-time = "2026-05-17T17:47:32.551Z" }, + { url = "https://files.pythonhosted.org/packages/9c/81/0bb853e76e4f6e9a1855d569003c59e19ffac45f7079d91505d1bb212f92/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:be5173fb66f9b49026d9d5a2ff0fc7c7009077107c0eb285b2d60fdf1fe10bd1", size = 1233750, upload-time = "2026-05-17T17:47:34.731Z" }, + { url = "https://files.pythonhosted.org/packages/e5/d3/4cf705beeccc08754d0bbda99aefff26110e209b9a07ac8a6b60eec48531/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f8015cd071ac1339924ee2b8098c93e00e155f30a16f40ec9816fcf84f4753f6", size = 1235942, upload-time = "2026-05-17T17:47:36.287Z" }, + { url = "https://files.pythonhosted.org/packages/26/c8/ee097e437ea27dd2b8b227865c875492b585650a5802a22d82b304c8201b/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5499e8797edff2a9186aa313ed382c6b422e798e9332d9953badcee6e69a88f2", size = 1442517, upload-time = "2026-05-17T17:47:38.17Z" }, + { url = "https://files.pythonhosted.org/packages/ff/bd/68063442838f1ba68ec72b5436430bc75b3bb17a1a3c3063f09b0c05ae2b/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6848f2a093fb5548751a9a09bff8fcd229e2bbeb0e3331f391b6ae6d26cd9903", size = 1254081, upload-time = "2026-05-17T17:47:39.826Z" }, + { url = "https://files.pythonhosted.org/packages/50/e2/1e520793bc6a4e4524a6ab022391e827825eaa0c3811828bfdc6852eca26/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:832d4c998e0b091fd60a6d6bceee535483c4d490de9ba85003af835225719261", size = 1259910, upload-time = "2026-05-17T17:47:41.369Z" }, + { url = "https://files.pythonhosted.org/packages/4e/e1/49b60f467979979cfe6913b43948ff25bca971ad0591d181812f163a988e/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:16db7c62ec0b8efe1d7afd283a388d8f74f2605d56032e5a37747d2de8dba027", size = 1250678, upload-time = "2026-05-17T17:47:43.702Z" }, + { url = "https://files.pythonhosted.org/packages/74/ba/66ab9555de6275677566f6574e5ef6c29cb185ea866f643bc06f8280a8ee/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:baf5eb061eb5bccade4128ad42da33787d72f6013809cd1b590376ece8b3c937", size = 1301603, upload-time = "2026-05-17T17:47:46.256Z" }, + { url = "https://files.pythonhosted.org/packages/66/42/6aca9b9abc710014b2be9059689e5dd1679339e78f567ffb4d255a9e2050/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:104e4a35bd7c124173c41760ef9aaea17ddb3f86c65cb643671d59afbe3ee94c", size = 1410332, upload-time = "2026-05-17T17:47:47.899Z" }, + { url = "https://files.pythonhosted.org/packages/47/68/2f76594432a22581ecf878b5e75a9b8601c24b2241cf0bbeb1e21fcf370c/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:36be371028fc1675acb38a331bde160dbab7ff907fdf00b67eb6911aa106951b", size = 1509979, upload-time = "2026-05-17T17:47:50.942Z" }, + { url = "https://files.pythonhosted.org/packages/40/ac/a93c9b58292653f6c595752f677a08e608f903b710594909e9231a389b3b/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:061ee58bdb52341c8201a6df41182a977736bae3b7ded87ca7176ca25a8a47ab", size = 1505002, upload-time = "2026-05-17T17:47:54.093Z" }, + { url = "https://files.pythonhosted.org/packages/14/2e/b278f68c497ee2f1d1576cbbef8db5281cd4a5f2db040537592ac9c8862e/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b15219e9cdc9f53f6f4cb51c009203507228226148c05c5e8fe451c28b435eb3", size = 1456231, upload-time = "2026-05-17T17:47:56.311Z" }, + { url = "https://files.pythonhosted.org/packages/0b/43/419be1c566a4c504cd8fd60ce2f84e790f295495c0f327cfaeadf3d51012/ast_serialize-0.5.0-cp314-cp314t-win32.whl", hash = "sha256:842d1c004bb466c7df036f95fabef789570541922b10976b12f5592a69cf0b38", size = 1058668, upload-time = "2026-05-17T17:47:58.305Z" }, + { url = "https://files.pythonhosted.org/packages/03/6f/c9d4d549295ed05111aeb8853232d1afd9d0a179fddb01eeffbb3a4a6842/ast_serialize-0.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b0c06d760909b095cc466356dfccd05a1c7233a6ca191c020dca2c6a6f16c24c", size = 1101075, upload-time = "2026-05-17T17:48:00.35Z" }, + { url = "https://files.pythonhosted.org/packages/d0/8e/d00c5ab30c58222e07d62956fca86c59d91b9ad32997e633c38b526623a3/ast_serialize-0.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:787baedb0262cc49e8ce37cc15c00ae818e46a165a3b36f5e21ed174998104cb", size = 1075347, upload-time = "2026-05-17T17:48:01.753Z" }, + { url = "https://files.pythonhosted.org/packages/e0/9e/dc2530acb3a60dc6e46d65abf27d1d9f86721694757906a148d90a6860de/ast_serialize-0.5.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:0668aa9459cfa8c9c49ddd2163ebcf43088ba045ef7492af6fe22e0098303101", size = 1191380, upload-time = "2026-05-17T17:48:03.738Z" }, + { url = "https://files.pythonhosted.org/packages/26/0a/bd3d18a582f273d6c843d16bb9e22e9e16365ff7991e92f18f798e9f1224/ast_serialize-0.5.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:bf683d6363edf2b39eed6b6d4fe22d34b6203867a67e27134d9e2a2680c4bc4a", size = 1183879, upload-time = "2026-05-17T17:48:05.463Z" }, + { url = "https://files.pythonhosted.org/packages/40/ae/1f919100f8620887af58fcc381c61a1f218cdf89c6e155f87b213e61010a/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cc22cf0c9be65e71cf88fda130af60d61eb4a79370ad4cfe7900d48a4aa2211", size = 1244529, upload-time = "2026-05-17T17:48:07.008Z" }, + { url = "https://files.pythonhosted.org/packages/c6/ca/6376559dcce707cdbc1d0d9a13c8d3baaaa501e949ce0ebdc4230cd881aa/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f66173891548c9f2726bf27957b41cabce12fa679dc6da505ddbde4d4b3b31cf", size = 1240560, upload-time = "2026-05-17T17:48:08.46Z" }, + { url = "https://files.pythonhosted.org/packages/35/b2/a620e206b5aeb7efbf2710336df57d457cffbb3991076bbcc1147ef9abd4/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e42d729ef2be96a14efbad355093284739e3670ece3e534f82cc8832790911d9", size = 1451172, upload-time = "2026-05-17T17:48:09.922Z" }, + { url = "https://files.pythonhosted.org/packages/fa/e0/4ad5c04c24a40481b2935ce9a0ccdb6023dc8b667167d06ae530cc3512f2/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b725026bafa801dbd7310eb13a75f0a2e370e7e51b2cb225f9d21fcfadf919ee", size = 1265072, upload-time = "2026-05-17T17:48:11.469Z" }, + { url = "https://files.pythonhosted.org/packages/b2/71/4d1d479aa56d0101c40e17720c3d6ac2af7269ea0487a80b18e7bfd1a5b7/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b54f60c1d78767a53b67eaa663f0dfac3afe606aa07f1301572f588b73d64809", size = 1270488, upload-time = "2026-05-17T17:48:13.575Z" }, + { url = "https://files.pythonhosted.org/packages/6d/4f/0de1bbe06f6edef9fde4ed12ca8e7b3ec7e6e2bd4e672c5af487f7957665/ast_serialize-0.5.0-cp39-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:27d51654fc240a1e87e742d353d98eb45b75f62f129086b3596ab53df2ac2a43", size = 1260702, upload-time = "2026-05-17T17:48:15.141Z" }, + { url = "https://files.pythonhosted.org/packages/75/61/e00872439cfdddcc3c1b6cdaa6e5d904ba8e26a18807c67c4e14409d0ca8/ast_serialize-0.5.0-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c36237c46dd1674542f2109740ea5ea485a169bf1431939ada0434e17934", size = 1311182, upload-time = "2026-05-17T17:48:16.779Z" }, + { url = "https://files.pythonhosted.org/packages/76/8e/699a5b955f7926956c95e9e1d74132acad73c2fe7a426f94da89123c20aa/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1943db345233cc7194a470f13afa9c59772c0b123dea0c9414c4d4ca54369759", size = 1421410, upload-time = "2026-05-17T17:48:18.527Z" }, + { url = "https://files.pythonhosted.org/packages/a9/ae/d5b7626874478997adc7a29ab28accf21e596fb590c944290401dfd0b29e/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:df1c00022cbbcb064bfaa505aa9c9295362443ce5dacb459d1331d3da353f887", size = 1516587, upload-time = "2026-05-17T17:48:20.133Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ce/b59e02a82d9c4244d64cde502e0b00e83e38816abe19155ceb5437402c7f/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:cae65289fc456fde04af979a2be09302ef5d8ab92ef23e596d6746dc267ada27", size = 1515171, upload-time = "2026-05-17T17:48:21.921Z" }, + { url = "https://files.pythonhosted.org/packages/8b/38/d8d90042747d05aa08d4efcf1c99035a5f670a6bf4c214d31644392afbca/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:239a4c354e8d676e9d94631d1d4a64edc6b266f86ff3a5a80aedd344f342c01d", size = 1464668, upload-time = "2026-05-17T17:48:23.544Z" }, + { url = "https://files.pythonhosted.org/packages/dd/51/5b840c4df7334104cecffa28f23904fe81ca89ca223d2450e288de39fd3c/ast_serialize-0.5.0-cp39-abi3-win32.whl", hash = "sha256:143a4ef63285a075871908fda3672dc21864b83a8ec3ee12304aa3e4c5387b9a", size = 1068311, upload-time = "2026-05-17T17:48:25.027Z" }, + { url = "https://files.pythonhosted.org/packages/41/11/ca5672c7d491825bc4cd6702dea106a6b60d928707712ec257c7833ae476/ast_serialize-0.5.0-cp39-abi3-win_amd64.whl", hash = "sha256:cf25572c526add400f26a4750dc6ce0c3bb93fc1f75e7ae0cad4ce4f2cd5c590", size = 1108931, upload-time = "2026-05-17T17:48:26.591Z" }, + { url = "https://files.pythonhosted.org/packages/45/19/cc8bd127d28a43da249aa955cfd164cf8fd534e79e42cea96c4854d72fd0/ast_serialize-0.5.0-cp39-abi3-win_arm64.whl", hash = "sha256:92a31c9c20d25a076edaeec76b128a3535d74a24f340b9a8a7e96c9b86dc9642", size = 1081181, upload-time = "2026-05-17T17:48:28.122Z" }, +] + +[[package]] +name = "async-timeout" +version = "4.0.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/87/d6/21b30a550dafea84b1b8eee21b5e23fa16d010ae006011221f33dcd8d7f8/async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f", size = 8345, upload-time = "2023-08-10T16:35:56.907Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/fa/e01228c2938de91d47b307831c62ab9e4001e747789d0b05baf779a6488c/async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028", size = 5721, upload-time = "2023-08-10T16:35:55.203Z" }, +] + +[[package]] +name = "asyncstdlib" +version = "3.13.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/50/e1/72e388631c85233a2fd890d024fc20a8a9961dbba8614d78266636218f1f/asyncstdlib-3.13.1.tar.gz", hash = "sha256:f47564b9a3566f8f9172631d88c75fe074b0ce2127963b7265d310df9aeed03a", size = 49752, upload-time = "2025-03-09T07:52:51.587Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b9/4a/c86c045bc7bb0244044935ba80c83998f1fdee4f4cef64c6b078e043b0e6/asyncstdlib-3.13.1-py3-none-any.whl", hash = "sha256:a64da68176af1da8c699026cad98f70b184f82b4cb39739e0b9701a2a7541cf9", size = 43993, upload-time = "2025-03-09T07:52:50.108Z" }, +] + +[[package]] +name = "attrs" +version = "25.4.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6b/5c/685e6633917e101e5dcb62b9dd76946cbb57c26e133bae9e0cd36033c0a9/attrs-25.4.0.tar.gz", hash = "sha256:16d5969b87f0859ef33a48b35d55ac1be6e42ae49d5e853b597db70c35c57e11", size = 934251, upload-time = "2025-10-06T13:54:44.725Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3a/2a/7cc015f5b9f5db42b7d48157e23356022889fc354a2813c15934b7cb5c0e/attrs-25.4.0-py3-none-any.whl", hash = "sha256:adcf7e2a1fb3b36ac48d97835bb6d8ade15b8dcce26aba8bf1d14847b57a3373", size = 67615, upload-time = "2025-10-06T13:54:43.17Z" }, +] + +[[package]] +name = "azure-ai-agents" +version = "1.2.0b5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-core" }, + { name = "isodate" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/ed/57/8adeed578fa8984856c67b4229e93a58e3f6024417d448d0037aafa4ee9b/azure_ai_agents-1.2.0b5.tar.gz", hash = "sha256:1a16ef3f305898aac552269f01536c34a00473dedee0bca731a21fdb739ff9d5", size = 394876, upload-time = "2025-09-30T01:55:02.328Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6d/6d/15070d23d7a94833a210da09d5d7ed3c24838bb84f0463895e5d159f1695/azure_ai_agents-1.2.0b5-py3-none-any.whl", hash = "sha256:257d0d24a6bf13eed4819cfa5c12fb222e5908deafb3cbfd5711d3a511cc4e88", size = 217948, upload-time = "2025-09-30T01:55:04.155Z" }, +] + +[[package]] +name = "azure-ai-inference" +version = "1.0.0b9" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-core" }, + { name = "isodate" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4e/6a/ed85592e5c64e08c291992f58b1a94dab6869f28fb0f40fd753dced73ba6/azure_ai_inference-1.0.0b9.tar.gz", hash = "sha256:1feb496bd84b01ee2691befc04358fa25d7c344d8288e99364438859ad7cd5a4", size = 182408, upload-time = "2025-02-15T00:37:28.464Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4f/0f/27520da74769db6e58327d96c98e7b9a07ce686dff582c9a5ec60b03f9dd/azure_ai_inference-1.0.0b9-py3-none-any.whl", hash = "sha256:49823732e674092dad83bb8b0d1b65aa73111fab924d61349eb2a8cdc0493990", size = 124885, upload-time = "2025-02-15T00:37:29.964Z" }, +] + +[package.optional-dependencies] +opentelemetry = [ + { name = "azure-core-tracing-opentelemetry" }, +] + +[[package]] +name = "azure-ai-projects" +version = "1.1.0b4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-ai-agents" }, + { name = "azure-core" }, + { name = "azure-storage-blob" }, + { name = "isodate" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bc/16/7a7c978a79f545d62ab4327cd704c22b5d7ade8dcfb58ea193257aebabf9/azure_ai_projects-1.1.0b4.tar.gz", hash = "sha256:39e2f1396270b375069c2d9c82ccfe91c11384eca9f61d59adbc12fb6d6a32ca", size = 147568, upload-time = "2025-09-12T17:35:08.52Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/10/8b7bd070e3cc804343dab124ce66a3b7999a72d5be0e49232cbcd1d36e18/azure_ai_projects-1.1.0b4-py3-none-any.whl", hash = "sha256:d8aab84fd7cd7c5937e78141e37ca4473dc5ed6cce2c0490c634418abe14afea", size = 126670, upload-time = "2025-09-12T17:35:10.039Z" }, +] + +[[package]] +name = "azure-common" +version = "1.1.28" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/3e/71/f6f71a276e2e69264a97ad39ef850dca0a04fce67b12570730cb38d0ccac/azure-common-1.1.28.zip", hash = "sha256:4ac0cd3214e36b6a1b6a442686722a5d8cc449603aa833f3f0f40bda836704a3", size = 20914, upload-time = "2022-02-03T19:39:44.373Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/55/7f118b9c1b23ec15ca05d15a578d8207aa1706bc6f7c87218efffbbf875d/azure_common-1.1.28-py2.py3-none-any.whl", hash = "sha256:5c12d3dcf4ec20599ca6b0d3e09e86e146353d443e7fcc050c9a19c1f9df20ad", size = 14462, upload-time = "2022-02-03T19:39:42.417Z" }, +] + +[[package]] +name = "azure-core" +version = "1.38.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "requests" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/dc/1b/e503e08e755ea94e7d3419c9242315f888fc664211c90d032e40479022bf/azure_core-1.38.0.tar.gz", hash = "sha256:8194d2682245a3e4e3151a667c686464c3786fed7918b394d035bdcd61bb5993", size = 363033, upload-time = "2026-01-12T17:03:05.535Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/d8/b8fcba9464f02b121f39de2db2bf57f0b216fe11d014513d666e8634380d/azure_core-1.38.0-py3-none-any.whl", hash = "sha256:ab0c9b2cd71fecb1842d52c965c95285d3cfb38902f6766e4a471f1cd8905335", size = 217825, upload-time = "2026-01-12T17:03:07.291Z" }, +] + +[[package]] +name = "azure-core-tracing-opentelemetry" +version = "1.0.0b12" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-core" }, + { name = "opentelemetry-api" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5a/7f/5de13a331a5f2919417819cc37dcf7c897018f02f83aa82b733e6629a6a6/azure_core_tracing_opentelemetry-1.0.0b12.tar.gz", hash = "sha256:bb454142440bae11fd9d68c7c1d67ae38a1756ce808c5e4d736730a7b4b04144", size = 26010, upload-time = "2025-03-21T00:18:37.346Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/76/5e/97a471f66935e7f89f521d0e11ae49c7f0871ca38f5c319dccae2155c8d8/azure_core_tracing_opentelemetry-1.0.0b12-py3-none-any.whl", hash = "sha256:38fd42709f1cc4bbc4f2797008b1c30a6a01617e49910c05daa3a0d0c65053ac", size = 11962, upload-time = "2025-03-21T00:18:38.581Z" }, +] + +[[package]] +name = "azure-cosmos" +version = "4.14.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-core" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/73/f8/c8c9d0eea10f26f8d8dcbdeb2c50e859e67437bb8cf6981d063e1f8fef10/azure_cosmos-4.14.1.tar.gz", hash = "sha256:522ce1f8a397d9a74c792261c5b43b28227180f522866f16e0cf6f2c9dbc590f", size = 2014410, upload-time = "2025-11-04T22:50:36.299Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e7/24/df84a460848fc264d512d7ab10ba10e068959c6a6e05fb538f75b62e0dc6/azure_cosmos-4.14.1-py3-none-any.whl", hash = "sha256:9dcbaa5837775d4cf08b96c5a8c6b2e180cb1e52fd3dffd93a38ce40484e12f3", size = 386085, upload-time = "2025-11-04T22:50:38.33Z" }, +] + +[[package]] +name = "azure-identity" +version = "1.26.0b1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-core" }, + { name = "cryptography" }, + { name = "msal" }, + { name = "msal-extensions" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d7/b0/0c93d0d35694d5015f565a70ef5428ba640a3ba3bc082e24be4d72a3a915/azure_identity-1.26.0b1.tar.gz", hash = "sha256:401197087ec14ee29cfbfcd099453d56037bef252954fee04b5d26ccb702c869", size = 292298, upload-time = "2025-11-07T03:04:14.504Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e1/28/af9ef022f21e3b51b3718d4348f771b490678c1116563895547c0a771362/azure_identity-1.26.0b1-py3-none-any.whl", hash = "sha256:dc608b59ae628a38611208ee761adeb1a2b9390258b58d6edcda2d24c50a4348", size = 197227, upload-time = "2025-11-07T03:04:16.923Z" }, +] + +[[package]] +name = "azure-search-documents" +version = "11.7.0b1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-common" }, + { name = "azure-core" }, + { name = "isodate" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/bc/9a/819cb9375e431eac8f337777526a88e5f8e10cbf2efd877d39c470f49aa2/azure_search_documents-11.7.0b1.tar.gz", hash = "sha256:0324bd6732dd79c2bc4b6f6429d5a1b96129077d4706620af6f74af4b952fe0c", size = 395057, upload-time = "2025-09-04T23:30:32.571Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fb/14/8e9bc312fffc21e5220c8ce87f064009e7f577fef69bade2a9713032b646/azure_search_documents-11.7.0b1-py3-none-any.whl", hash = "sha256:aae83b501246438eff77aa3930de9fdd3532c0d219018342fd9d85c682814376", size = 413982, upload-time = "2025-09-04T23:30:34.252Z" }, +] + +[[package]] +name = "azure-storage-blob" +version = "12.27.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "azure-core" }, + { name = "cryptography" }, + { name = "isodate" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/36/7c/2fd872e11a88163f208b9c92de273bf64bb22d0eef9048cc6284d128a77a/azure_storage_blob-12.27.1.tar.gz", hash = "sha256:a1596cc4daf5dac9be115fcb5db67245eae894cf40e4248243754261f7b674a6", size = 597579, upload-time = "2025-10-29T12:27:16.185Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3d/9e/1c90a122ea6180e8c72eb7294adc92531b0e08eb3d2324c2ba70d37f4802/azure_storage_blob-12.27.1-py3-none-any.whl", hash = "sha256:65d1e25a4628b7b6acd20ff7902d8da5b4fde8e46e19c8f6d213a3abc3ece272", size = 428954, upload-time = "2025-10-29T12:27:18.072Z" }, +] + +[[package]] +name = "backports-asyncio-runner" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/8e/ff/70dca7d7cb1cbc0edb2c6cc0c38b65cba36cccc491eca64cabd5fe7f8670/backports_asyncio_runner-1.2.0.tar.gz", hash = "sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162", size = 69893, upload-time = "2025-07-02T02:27:15.685Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/59/76ab57e3fe74484f48a53f8e337171b4a2349e506eabe136d7e01d059086/backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5", size = 12313, upload-time = "2025-07-02T02:27:14.263Z" }, +] + +[[package]] +name = "baseten-performance-client" +version = "0.1.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/41/eb/dc8a0dd381cdac0132ea0f7833e707413a137f0590a849504e03d40776eb/baseten_performance_client-0.1.5.tar.gz", hash = "sha256:8e6999295fa2a5ce54aeb83f1c04417628282b66117c22101d023c746522816a", size = 92286, upload-time = "2026-01-30T06:37:30.283Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1d/fa/98a00aba838856b7ec4acd4b397dfb7a8a29575787e5849503402f4030cd/baseten_performance_client-0.1.5-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:482955696ae2520c6dff144f20b49d1f520c905d9030c8055c5afac62c220b2c", size = 3147816, upload-time = "2026-01-30T06:37:14.854Z" }, + { url = "https://files.pythonhosted.org/packages/e2/ae/b8db03a7ad89f2f13e778f3051487a4f12b4bd0acbd701ae6dd3da1d2533/baseten_performance_client-0.1.5-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b8eade7428cfca9d19a0e7a8b476bd70d7e48bcefc339a29e457d16edc0dc2da", size = 3060717, upload-time = "2026-01-30T06:37:10.434Z" }, + { url = "https://files.pythonhosted.org/packages/86/97/5d1cad74be84a38e6046c3de88b761e0400fc5dea533a4d11aebea78a8cb/baseten_performance_client-0.1.5-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e4651b2416a1a90fc3afb4c43c14a5aa51896f9ffc31d2f366515c405dd03c94", size = 5530068, upload-time = "2026-01-30T06:36:59.194Z" }, + { url = "https://files.pythonhosted.org/packages/e8/39/caf41d87bc1a0bf61deb398593d7a64f8b8757f6208c41168d62808c1aab/baseten_performance_client-0.1.5-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a89576b0c3872aa5d0fe29b2d3a44fd0d61b930e8b1293ce4d985b960584fa2e", size = 5732313, upload-time = "2026-01-30T06:36:51.212Z" }, + { url = "https://files.pythonhosted.org/packages/4a/7a/0968e269ccc2a50a5f2092df8b4b43a3bdc02c96ffeed4d70e18469a2234/baseten_performance_client-0.1.5-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f89b3c38693bfc3b973b6cf02ec679ef914b2d9ef77f9ab182fd9d5b5f2e61b", size = 5432538, upload-time = "2026-01-30T06:37:04.574Z" }, + { url = "https://files.pythonhosted.org/packages/7c/37/858a1ce843b69168a92009550315b87266c39c5d8b4c7fa72185017a07f8/baseten_performance_client-0.1.5-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:1d23d805446520e61234d5c97e02eaf9eed3a49ad73f4ba7e9c120000b8fbbfa", size = 6028052, upload-time = "2026-01-30T06:37:17.661Z" }, + { url = "https://files.pythonhosted.org/packages/20/a8/1254e1f6b623e352faf687012a26911faf85e99f078b5c2b4b1cb416f2fd/baseten_performance_client-0.1.5-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:e9f1227c0a7cc9297629da8a41bc03fe4c91298776d11207a865c30e3463ab39", size = 5102401, upload-time = "2026-01-30T06:37:20.63Z" }, + { url = "https://files.pythonhosted.org/packages/71/d7/750149a0a3b2a598fcf953373d8bb5033cf254a5dbc11adfdabb716d9e37/baseten_performance_client-0.1.5-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:a1d7acbc55a716ad7664e4170179f45fa262b9da64c10452fadeec7d3b2fbbf8", size = 5534519, upload-time = "2026-01-30T06:37:24.336Z" }, + { url = "https://files.pythonhosted.org/packages/8b/c7/783c8bad9c2603b6f68d103b8a9e9a125751b9c482604d4be60fc59688b4/baseten_performance_client-0.1.5-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:df0a073a1a9fb55992e2a96bff9e1d06d75c58ce2c5a4a5c84b950e9d1550834", size = 5721807, upload-time = "2026-01-30T06:37:27.312Z" }, + { url = "https://files.pythonhosted.org/packages/5a/95/b9df7ae97cbb8d8b748ef1237e638bdc3ea5d1fea9ded8b6e03a63b8644d/baseten_performance_client-0.1.5-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:13c3b0cadcacb83499050fa14d0eaa5fd161c05bc7ff8cc88c3150e663d21993", size = 3160489, upload-time = "2026-01-30T06:37:16.266Z" }, + { url = "https://files.pythonhosted.org/packages/79/38/2e92a0ce0a6b2c00b4ebc4654759c57b445df4c734f5e7526e9892f97947/baseten_performance_client-0.1.5-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:549774519199a9dd29d447c121d16d0539e521724cc84b86d265a85d37b2efcd", size = 3075288, upload-time = "2026-01-30T06:37:12.932Z" }, + { url = "https://files.pythonhosted.org/packages/2e/da/36237d3cf7d9d4d703d1b49c6a2404c82bd52b2825c2cca51e9571292122/baseten_performance_client-0.1.5-cp38-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4289efa45a0b58030b8afd39de49cfb13ae3df2a6d6fcff914c05050201a53d4", size = 5537399, upload-time = "2026-01-30T06:37:00.922Z" }, + { url = "https://files.pythonhosted.org/packages/31/40/826100d99ba83fa087702fa2b8482de03efb955c8ef7467adf2088554eb6/baseten_performance_client-0.1.5-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:05ebb680e6ae7471be67edaa570a9e37bbed4c8f127cd357ecebddad149f58c7", size = 5737746, upload-time = "2026-01-30T06:36:53.767Z" }, + { url = "https://files.pythonhosted.org/packages/60/56/5bb14d8caf8d86e8c29679276c9a7de9ac6c5b6e6e807cd7607b82ec1ca7/baseten_performance_client-0.1.5-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a646d9cd6f4ecd2732bfd4fcb279934e982bbdd589770d9262a57de8f64d7d92", size = 5436024, upload-time = "2026-01-30T06:37:07.329Z" }, + { url = "https://files.pythonhosted.org/packages/bc/74/e9314f9fbb3ed482a076ae1365ff25434df2aa02b279942227b5232b63fd/baseten_performance_client-0.1.5-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:e63398c779fd9f02c194810b83aa6d133a8ef2b10840335d62369ba1c8f1fb0a", size = 5714843, upload-time = "2026-01-30T06:36:35.695Z" }, + { url = "https://files.pythonhosted.org/packages/6c/9e/e3fe5724f328ab55b3e0a58d1d24432ab0131a9bb83b9181a129a3ec9e80/baseten_performance_client-0.1.5-cp38-abi3-manylinux_2_28_armv7l.whl", hash = "sha256:1e6436ccd2e16b347e7c56cbaced4c6d79c908a8315fa49087a46ab9424c65c6", size = 4850782, upload-time = "2026-01-30T06:36:41.461Z" }, + { url = "https://files.pythonhosted.org/packages/46/5f/4ca4ad5d22415f9c334318aeba20e6324b5c06501d07caca32aa3d2333b5/baseten_performance_client-0.1.5-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:61e26074ea8401441638f034f793cc44e860c42ef32d7387f217383cc2529a99", size = 6036443, upload-time = "2026-01-30T06:37:19.055Z" }, + { url = "https://files.pythonhosted.org/packages/64/7a/8ed76be21f70b269b0c31f79b8c25eac0caa2c86180094f1c40f5f14072a/baseten_performance_client-0.1.5-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:9d17185b3ccf6967517a2bf9605b5f6835f25beab547876781e91f92c0874b38", size = 5103375, upload-time = "2026-01-30T06:37:22.916Z" }, + { url = "https://files.pythonhosted.org/packages/f0/d6/4f386ed0825b8799031cc89e123e34fb78bf16858db6a8f959e21f5906fb/baseten_performance_client-0.1.5-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:5a1d60f380dda875aeb35ed31aa1d859b9e04f0eba4e46ca1a62e0ba35feb5f2", size = 5539203, upload-time = "2026-01-30T06:37:25.817Z" }, + { url = "https://files.pythonhosted.org/packages/e1/38/c9bb285592afc400fda1b7fd54b4b9758b468062d8db68048aebe35e88ff/baseten_performance_client-0.1.5-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:c4c4bef13dfb0e1b1436749b4d21d21179cb066b38d94789ddd6ba3e3566eea9", size = 5724862, upload-time = "2026-01-30T06:37:28.884Z" }, + { url = "https://files.pythonhosted.org/packages/15/f4/ad409cc286dc61d6bdab92ac3f4f00545f5988c2dbda481c446cabb3c8b3/baseten_performance_client-0.1.5-cp38-abi3-win_amd64.whl", hash = "sha256:f00aa89592ff53418dde223a50b82b6a01f3c5315bf188a36687e0ce7cd0b6e1", size = 2809316, upload-time = "2026-01-30T06:37:32.414Z" }, + { url = "https://files.pythonhosted.org/packages/99/53/def8115561be1d7a4c7ded974400015622710b76d7562452482f6cc6a968/baseten_performance_client-0.1.5-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a06ccad0ec7a6d7ea3cfd59c65d3dd578c7d98bf7d2d0901d348195a5db7cfd", size = 5736529, upload-time = "2026-01-30T06:36:55.808Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f8/d7a6a51aa2ca2870457d8a6e22b3c789e06c75a42c4ae310c7376ea2ba57/baseten_performance_client-0.1.5-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:c6a9229a3e9334d99abed9cd6b9e47a3f4bbf564ff4ab36a44c2c4784136fda9", size = 5707146, upload-time = "2026-01-30T06:36:37.42Z" }, + { url = "https://files.pythonhosted.org/packages/4f/50/ade2a69531ba7c485ddd3a6505be91aac30fd45d1a7edaaa30320926d8d2/baseten_performance_client-0.1.5-pp310-pypy310_pp73-manylinux_2_28_armv7l.whl", hash = "sha256:b1b8c8f6a4a421d961adea80bafd1ae9cf5fa9ca1b711e3342975a3c15eeb145", size = 4849396, upload-time = "2026-01-30T06:36:43.555Z" }, + { url = "https://files.pythonhosted.org/packages/95/3a/1def52754477403bb58e7c0ba9aca4e3322847be59c5951e5a544b2f807b/baseten_performance_client-0.1.5-pp311-pypy311_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b349015ef7998aadb238dbc9178c99ca8be908805784cc7415ad9bf31d7552c3", size = 5531762, upload-time = "2026-01-30T06:37:02.527Z" }, + { url = "https://files.pythonhosted.org/packages/bb/cc/0d1439d043f15e0b65bac6d49dec1002c8b94959d141d546927d5c568d32/baseten_performance_client-0.1.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:592744c6ee0c5fa366d26a62fbe24dee0bce5b7f0eab50563ddce3a4d2eb9193", size = 5431874, upload-time = "2026-01-30T06:37:08.857Z" }, +] + +[[package]] +name = "betterproto" +version = "2.0.0b7" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "grpclib" }, + { name = "python-dateutil" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4e/94/930a1368fbed92adc897a9a1fae282e3f9d608547dbf805034ca549f381a/betterproto-2.0.0b7.tar.gz", hash = "sha256:1b1458ca5278d519bcd62556a4c236f998a91d503f0f71c67b0b954747052af2", size = 101447, upload-time = "2024-08-14T21:26:01.314Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a7/9a/5db824c378f6f88b5c6366429f2f5169a10315e9e3d5ab754c4a8d1202aa/betterproto-2.0.0b7-py3-none-any.whl", hash = "sha256:401ab8055e2f814e77b9c88a74d0e1ae3d1e8a969cced6aeb1b59f71ad63fbd2", size = 105386, upload-time = "2024-08-14T21:25:59.826Z" }, +] + +[package.optional-dependencies] +compiler = [ + { name = "black" }, + { name = "isort" }, + { name = "jinja2" }, +] + +[[package]] +name = "black" +version = "26.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "mypy-extensions" }, + { name = "packaging" }, + { name = "pathspec" }, + { name = "platformdirs" }, + { name = "pytokens" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e1/c5/61175d618685d42b005847464b8fb4743a67b1b8fdb75e50e5a96c31a27a/black-26.3.1.tar.gz", hash = "sha256:2c50f5063a9641c7eed7795014ba37b0f5fa227f3d408b968936e24bc0566b07", size = 666155, upload-time = "2026-03-12T03:36:03.593Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/a8/11170031095655d36ebc6664fe0897866f6023892396900eec0e8fdc4299/black-26.3.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:86a8b5035fce64f5dcd1b794cf8ec4d31fe458cf6ce3986a30deb434df82a1d2", size = 1866562, upload-time = "2026-03-12T03:39:58.639Z" }, + { url = "https://files.pythonhosted.org/packages/69/ce/9e7548d719c3248c6c2abfd555d11169457cbd584d98d179111338423790/black-26.3.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5602bdb96d52d2d0672f24f6ffe5218795736dd34807fd0fd55ccd6bf206168b", size = 1703623, upload-time = "2026-03-12T03:40:00.347Z" }, + { url = "https://files.pythonhosted.org/packages/7f/0a/8d17d1a9c06f88d3d030d0b1d4373c1551146e252afe4547ed601c0e697f/black-26.3.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c54a4a82e291a1fee5137371ab488866b7c86a3305af4026bdd4dc78642e1ac", size = 1768388, upload-time = "2026-03-12T03:40:01.765Z" }, + { url = "https://files.pythonhosted.org/packages/52/79/c1ee726e221c863cde5164f925bacf183dfdf0397d4e3f94889439b947b4/black-26.3.1-cp310-cp310-win_amd64.whl", hash = "sha256:6e131579c243c98f35bce64a7e08e87fb2d610544754675d4a0e73a070a5aa3a", size = 1412969, upload-time = "2026-03-12T03:40:03.252Z" }, + { url = "https://files.pythonhosted.org/packages/73/a5/15c01d613f5756f68ed8f6d4ec0a1e24b82b18889fa71affd3d1f7fad058/black-26.3.1-cp310-cp310-win_arm64.whl", hash = "sha256:5ed0ca58586c8d9a487352a96b15272b7fa55d139fc8496b519e78023a8dab0a", size = 1220345, upload-time = "2026-03-12T03:40:04.892Z" }, + { url = "https://files.pythonhosted.org/packages/17/57/5f11c92861f9c92eb9dddf515530bc2d06db843e44bdcf1c83c1427824bc/black-26.3.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:28ef38aee69e4b12fda8dba75e21f9b4f979b490c8ac0baa7cb505369ac9e1ff", size = 1851987, upload-time = "2026-03-12T03:40:06.248Z" }, + { url = "https://files.pythonhosted.org/packages/54/aa/340a1463660bf6831f9e39646bf774086dbd8ca7fc3cded9d59bbdf4ad0a/black-26.3.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:bf9bf162ed91a26f1adba8efda0b573bc6924ec1408a52cc6f82cb73ec2b142c", size = 1689499, upload-time = "2026-03-12T03:40:07.642Z" }, + { url = "https://files.pythonhosted.org/packages/f3/01/b726c93d717d72733da031d2de10b92c9fa4c8d0c67e8a8a372076579279/black-26.3.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:474c27574d6d7037c1bc875a81d9be0a9a4f9ee95e62800dab3cfaadbf75acd5", size = 1754369, upload-time = "2026-03-12T03:40:09.279Z" }, + { url = "https://files.pythonhosted.org/packages/e3/09/61e91881ca291f150cfc9eb7ba19473c2e59df28859a11a88248b5cbbc4d/black-26.3.1-cp311-cp311-win_amd64.whl", hash = "sha256:5e9d0d86df21f2e1677cc4bd090cd0e446278bcbbe49bf3659c308c3e402843e", size = 1413613, upload-time = "2026-03-12T03:40:10.943Z" }, + { url = "https://files.pythonhosted.org/packages/16/73/544f23891b22e7efe4d8f812371ab85b57f6a01b2fc45e3ba2e52ba985b8/black-26.3.1-cp311-cp311-win_arm64.whl", hash = "sha256:9a5e9f45e5d5e1c5b5c29b3bd4265dcc90e8b92cf4534520896ed77f791f4da5", size = 1219719, upload-time = "2026-03-12T03:40:12.597Z" }, + { url = "https://files.pythonhosted.org/packages/dc/f8/da5eae4fc75e78e6dceb60624e1b9662ab00d6b452996046dfa9b8a6025b/black-26.3.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b5e6f89631eb88a7302d416594a32faeee9fb8fb848290da9d0a5f2903519fc1", size = 1895920, upload-time = "2026-03-12T03:40:13.921Z" }, + { url = "https://files.pythonhosted.org/packages/2c/9f/04e6f26534da2e1629b2b48255c264cabf5eedc5141d04516d9d68a24111/black-26.3.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:41cd2012d35b47d589cb8a16faf8a32ef7a336f56356babd9fcf70939ad1897f", size = 1718499, upload-time = "2026-03-12T03:40:15.239Z" }, + { url = "https://files.pythonhosted.org/packages/04/91/a5935b2a63e31b331060c4a9fdb5a6c725840858c599032a6f3aac94055f/black-26.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f76ff19ec5297dd8e66eb64deda23631e642c9393ab592826fd4bdc97a4bce7", size = 1794994, upload-time = "2026-03-12T03:40:17.124Z" }, + { url = "https://files.pythonhosted.org/packages/e7/0a/86e462cdd311a3c2a8ece708d22aba17d0b2a0d5348ca34b40cdcbea512e/black-26.3.1-cp312-cp312-win_amd64.whl", hash = "sha256:ddb113db38838eb9f043623ba274cfaf7d51d5b0c22ecb30afe58b1bb8322983", size = 1420867, upload-time = "2026-03-12T03:40:18.83Z" }, + { url = "https://files.pythonhosted.org/packages/5b/e5/22515a19cb7eaee3440325a6b0d95d2c0e88dd180cb011b12ae488e031d1/black-26.3.1-cp312-cp312-win_arm64.whl", hash = "sha256:dfdd51fc3e64ea4f35873d1b3fb25326773d55d2329ff8449139ebaad7357efb", size = 1230124, upload-time = "2026-03-12T03:40:20.425Z" }, + { url = "https://files.pythonhosted.org/packages/f5/77/5728052a3c0450c53d9bb3945c4c46b91baa62b2cafab6801411b6271e45/black-26.3.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:855822d90f884905362f602880ed8b5df1b7e3ee7d0db2502d4388a954cc8c54", size = 1895034, upload-time = "2026-03-12T03:40:21.813Z" }, + { url = "https://files.pythonhosted.org/packages/52/73/7cae55fdfdfbe9d19e9a8d25d145018965fe2079fa908101c3733b0c55a0/black-26.3.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8a33d657f3276328ce00e4d37fe70361e1ec7614da5d7b6e78de5426cb56332f", size = 1718503, upload-time = "2026-03-12T03:40:23.666Z" }, + { url = "https://files.pythonhosted.org/packages/e1/87/af89ad449e8254fdbc74654e6467e3c9381b61472cc532ee350d28cfdafb/black-26.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f1cd08e99d2f9317292a311dfe578fd2a24b15dbce97792f9c4d752275c1fa56", size = 1793557, upload-time = "2026-03-12T03:40:25.497Z" }, + { url = "https://files.pythonhosted.org/packages/43/10/d6c06a791d8124b843bf325ab4ac7d2f5b98731dff84d6064eafd687ded1/black-26.3.1-cp313-cp313-win_amd64.whl", hash = "sha256:c7e72339f841b5a237ff14f7d3880ddd0fc7f98a1199e8c4327f9a4f478c1839", size = 1422766, upload-time = "2026-03-12T03:40:27.14Z" }, + { url = "https://files.pythonhosted.org/packages/59/4f/40a582c015f2d841ac24fed6390bd68f0fc896069ff3a886317959c9daf8/black-26.3.1-cp313-cp313-win_arm64.whl", hash = "sha256:afc622538b430aa4c8c853f7f63bc582b3b8030fd8c80b70fb5fa5b834e575c2", size = 1232140, upload-time = "2026-03-12T03:40:28.882Z" }, + { url = "https://files.pythonhosted.org/packages/d5/da/e36e27c9cebc1311b7579210df6f1c86e50f2d7143ae4fcf8a5017dc8809/black-26.3.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2d6bfaf7fd0993b420bed691f20f9492d53ce9a2bcccea4b797d34e947318a78", size = 1889234, upload-time = "2026-03-12T03:40:30.964Z" }, + { url = "https://files.pythonhosted.org/packages/0e/7b/9871acf393f64a5fa33668c19350ca87177b181f44bb3d0c33b2d534f22c/black-26.3.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f89f2ab047c76a9c03f78d0d66ca519e389519902fa27e7a91117ef7611c0568", size = 1720522, upload-time = "2026-03-12T03:40:32.346Z" }, + { url = "https://files.pythonhosted.org/packages/03/87/e766c7f2e90c07fb7586cc787c9ae6462b1eedab390191f2b7fc7f6170a9/black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b07fc0dab849d24a80a29cfab8d8a19187d1c4685d8a5e6385a5ce323c1f015f", size = 1787824, upload-time = "2026-03-12T03:40:33.636Z" }, + { url = "https://files.pythonhosted.org/packages/ac/94/2424338fb2d1875e9e83eed4c8e9c67f6905ec25afd826a911aea2b02535/black-26.3.1-cp314-cp314-win_amd64.whl", hash = "sha256:0126ae5b7c09957da2bdbd91a9ba1207453feada9e9fe51992848658c6c8e01c", size = 1445855, upload-time = "2026-03-12T03:40:35.442Z" }, + { url = "https://files.pythonhosted.org/packages/86/43/0c3338bd928afb8ee7471f1a4eec3bdbe2245ccb4a646092a222e8669840/black-26.3.1-cp314-cp314-win_arm64.whl", hash = "sha256:92c0ec1f2cc149551a2b7b47efc32c866406b6891b0ee4625e95967c8f4acfb1", size = 1258109, upload-time = "2026-03-12T03:40:36.832Z" }, + { url = "https://files.pythonhosted.org/packages/8e/0d/52d98722666d6fc6c3dd4c76df339501d6efd40e0ff95e6186a7b7f0befd/black-26.3.1-py3-none-any.whl", hash = "sha256:2bd5aa94fc267d38bb21a70d7410a89f1a1d318841855f698746f8e7f51acd1b", size = 207542, upload-time = "2026-03-12T03:36:01.668Z" }, +] + +[[package]] +name = "blockbuster" +version = "1.5.26" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "forbiddenfruit", marker = "implementation_name == 'cpython'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/55/e0/dcbab602790a576b0b94108c07e2c048e5897df7cc83722a89582d733987/blockbuster-1.5.26.tar.gz", hash = "sha256:cc3ce8c70fa852a97ee3411155f31e4ad2665cd1c6c7d2f8bb1851dab61dc629", size = 36085, upload-time = "2025-12-05T10:43:47.735Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/95/c1/84fc6811122f54b20de2e5afb312ee07a3a47a328755587d1e505475239b/blockbuster-1.5.26-py3-none-any.whl", hash = "sha256:f8e53fb2dd4b6c6ec2f04907ddbd063ca7cd1ef587d24448ef4e50e81e3a79bb", size = 13226, upload-time = "2025-12-05T10:43:48.778Z" }, +] + +[[package]] +name = "boto3" +version = "1.42.45" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, + { name = "jmespath" }, + { name = "s3transfer" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/e6/8fdd78825de6d8086aa3097955f83d8db3c5a3868b73da233c49977a7444/boto3-1.42.45.tar.gz", hash = "sha256:4db50b8b39321fab87ff7f40ab407887d436d004c1f2b0dfdf56e42b4884709b", size = 112846, upload-time = "2026-02-09T21:50:14.925Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/e0/d59a178799412cfe38c2757d6e49c337a5e71b18cdc3641dd6d9daf52151/boto3-1.42.45-py3-none-any.whl", hash = "sha256:5074e074a718a6f3c2b519cbb9ceab258f17b331a143d23351d487984f2a412f", size = 140604, upload-time = "2026-02-09T21:50:13.113Z" }, +] + +[[package]] +name = "botocore" +version = "1.42.45" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jmespath" }, + { name = "python-dateutil" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7a/b1/c36ad705d67bb935eac3085052b5dc03ec22d5ac12e7aedf514f3d76cac8/botocore-1.42.45.tar.gz", hash = "sha256:40b577d07b91a0ed26879da9e4658d82d3a400382446af1014d6ad3957497545", size = 14941217, upload-time = "2026-02-09T21:50:01.966Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/ec/6681b8e4884f8663d7650220e702c503e4ba6bd09a5b91d44803b0b1d0a8/botocore-1.42.45-py3-none-any.whl", hash = "sha256:a5ea5d1b7c46c2d5d113879e45b21eaf7d60dc865f4bcb46dfcf0703fe3429f4", size = 14615557, upload-time = "2026-02-09T21:49:57.066Z" }, +] + +[[package]] +name = "bottleneck" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.3.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/14/d8/6d641573e210768816023a64966d66463f2ce9fc9945fa03290c8a18f87c/bottleneck-1.6.0.tar.gz", hash = "sha256:028d46ee4b025ad9ab4d79924113816f825f62b17b87c9e1d0d8ce144a4a0e31", size = 104311, upload-time = "2025-09-08T16:30:38.617Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9c/38/144fb32c9efb196f651ddb30e7c48f6047a86972e5b350f3f10c9a5f6a16/bottleneck-1.6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:40de6be68218ba32cd15addbf4ad7bbbf0075b5c5c4347c579aeae110a5c9a96", size = 100393, upload-time = "2025-09-08T16:29:35.466Z" }, + { url = "https://files.pythonhosted.org/packages/0d/e3/dbbf4b102f4e6aaf49ad3749a6d778f309473a2950c5ce3bb20b94f2ba84/bottleneck-1.6.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1ad1882ba8c8da1f404de2610b45b05291e39eec56150270b03b5b25cf2bbb7f", size = 371509, upload-time = "2025-09-08T16:29:37.037Z" }, + { url = "https://files.pythonhosted.org/packages/66/ea/60fcbddee5fdf32923ba33ce2337a4cf12834b69de4f8e07219b5ef7c931/bottleneck-1.6.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f29b14b0ba5a816df6ab559add415c88ea8cf2146364e55f5f4c24ff7c85e494", size = 363480, upload-time = "2025-09-08T16:29:38.311Z" }, + { url = "https://files.pythonhosted.org/packages/ea/9e/a25434dcadf083e05b0c71ece2de71fad5521268f905721e06e0a7efc5db/bottleneck-1.6.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:17c227ed361cf9a2ab3751a727620298faca9a1e33dd76711ae80834cf34b254", size = 357120, upload-time = "2025-09-08T16:29:39.541Z" }, + { url = "https://files.pythonhosted.org/packages/8e/b9/99580349c827695dfc094ac672eedba6e1ca244b6e745ff7447c0239d6d8/bottleneck-1.6.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d278b5633cea38bdae6eaf7df23d54ecb5e4db52f2ebc13fe40c0e738842f2a1", size = 367579, upload-time = "2025-09-08T16:29:40.695Z" }, + { url = "https://files.pythonhosted.org/packages/95/06/6326994249388ceb2400d07c6a96a50941749d2d9ec80da22a99046e3a38/bottleneck-1.6.0-cp310-cp310-win32.whl", hash = "sha256:26c87c2f6364d82b67eab7218f0346e9c42f336088ca4e19d77dc76eecf272fc", size = 107838, upload-time = "2025-09-08T16:29:41.907Z" }, + { url = "https://files.pythonhosted.org/packages/2f/75/8f0e8e266ea99ffbc69500a927f0c114a07fe465bfbc59871d6fe22d9ee0/bottleneck-1.6.0-cp310-cp310-win_amd64.whl", hash = "sha256:9d33bcd60a13d0603f5db9d953352a3c098242c46f8f919290fd11c54b42b9e5", size = 113364, upload-time = "2025-09-08T16:29:43.437Z" }, + { url = "https://files.pythonhosted.org/packages/83/96/9d51012d729f97de1e75aad986f3ba50956742a40fc99cbab4c2aa896c1c/bottleneck-1.6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:69ef4514782afe39db2497aaea93b1c167ab7ab3bc5e3930500ef9cf11841db7", size = 100400, upload-time = "2025-09-08T16:29:44.464Z" }, + { url = "https://files.pythonhosted.org/packages/16/f4/4fcbebcbc42376a77e395a6838575950587e5eb82edf47d103f8daa7ba22/bottleneck-1.6.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:727363f99edc6dc83d52ed28224d4cb858c07a01c336c7499c0c2e5dd4fd3e4a", size = 375920, upload-time = "2025-09-08T16:29:45.52Z" }, + { url = "https://files.pythonhosted.org/packages/36/13/7fa8cdc41cbf2dfe0540f98e1e0caf9ffbd681b1a0fc679a91c2698adaf9/bottleneck-1.6.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:847671a9e392220d1dfd2ff2524b4d61ec47b2a36ea78e169d2aa357fd9d933a", size = 367922, upload-time = "2025-09-08T16:29:46.743Z" }, + { url = "https://files.pythonhosted.org/packages/13/7d/dccfa4a2792c1bdc0efdde8267e527727e517df1ff0d4976b84e0268c2f9/bottleneck-1.6.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:daef2603ab7b4ec4f032bb54facf5fa92dacd3a264c2fd9677c9fc22bcb5a245", size = 361379, upload-time = "2025-09-08T16:29:48.042Z" }, + { url = "https://files.pythonhosted.org/packages/93/42/21c0fad823b71c3a8904cbb847ad45136d25573a2d001a9cff48d3985fab/bottleneck-1.6.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:fc7f09bda980d967f2e9f1a746eda57479f824f66de0b92b9835c431a8c922d4", size = 371911, upload-time = "2025-09-08T16:29:49.366Z" }, + { url = "https://files.pythonhosted.org/packages/3b/b0/830ff80f8c74577d53034c494639eac7a0ffc70935c01ceadfbe77f590c2/bottleneck-1.6.0-cp311-cp311-win32.whl", hash = "sha256:1f78bad13ad190180f73cceb92d22f4101bde3d768f4647030089f704ae7cac7", size = 107831, upload-time = "2025-09-08T16:29:51.397Z" }, + { url = "https://files.pythonhosted.org/packages/6f/42/01d4920b0aa51fba503f112c90714547609bbe17b6ecfc1c7ae1da3183df/bottleneck-1.6.0-cp311-cp311-win_amd64.whl", hash = "sha256:8f2adef59fdb9edf2983fe3a4c07e5d1b677c43e5669f4711da2c3daad8321ad", size = 113358, upload-time = "2025-09-08T16:29:52.602Z" }, + { url = "https://files.pythonhosted.org/packages/8d/72/7e3593a2a3dd69ec831a9981a7b1443647acb66a5aec34c1620a5f7f8498/bottleneck-1.6.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3bb16a16a86a655fdbb34df672109a8a227bb5f9c9cf5bb8ae400a639bc52fa3", size = 100515, upload-time = "2025-09-08T16:29:55.141Z" }, + { url = "https://files.pythonhosted.org/packages/b5/d4/e7bbea08f4c0f0bab819d38c1a613da5f194fba7b19aae3e2b3a27e78886/bottleneck-1.6.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0fbf5d0787af9aee6cef4db9cdd14975ce24bd02e0cc30155a51411ebe2ff35f", size = 377451, upload-time = "2025-09-08T16:29:56.718Z" }, + { url = "https://files.pythonhosted.org/packages/fe/80/a6da430e3b1a12fd85f9fe90d3ad8fe9a527ecb046644c37b4b3f4baacfc/bottleneck-1.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d08966f4a22384862258940346a72087a6f7cebb19038fbf3a3f6690ee7fd39f", size = 368303, upload-time = "2025-09-08T16:29:57.834Z" }, + { url = "https://files.pythonhosted.org/packages/30/11/abd30a49f3251f4538430e5f876df96f2b39dabf49e05c5836820d2c31fe/bottleneck-1.6.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:604f0b898b43b7bc631c564630e936a8759d2d952641c8b02f71e31dbcd9deaa", size = 361232, upload-time = "2025-09-08T16:29:59.104Z" }, + { url = "https://files.pythonhosted.org/packages/1d/ac/1c0e09d8d92b9951f675bd42463ce76c3c3657b31c5bf53ca1f6dd9eccff/bottleneck-1.6.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d33720bad761e642abc18eda5f188ff2841191c9f63f9d0c052245decc0faeb9", size = 373234, upload-time = "2025-09-08T16:30:00.488Z" }, + { url = "https://files.pythonhosted.org/packages/fb/ea/382c572ae3057ba885d484726bb63629d1f63abedf91c6cd23974eb35a9b/bottleneck-1.6.0-cp312-cp312-win32.whl", hash = "sha256:a1e5907ec2714efbe7075d9207b58c22ab6984a59102e4ecd78dced80dab8374", size = 108020, upload-time = "2025-09-08T16:30:01.773Z" }, + { url = "https://files.pythonhosted.org/packages/48/ad/d71da675eef85ac153eef5111ca0caa924548c9591da00939bcabba8de8e/bottleneck-1.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:81e3822499f057a917b7d3972ebc631ac63c6bbcc79ad3542a66c4c40634e3a6", size = 113493, upload-time = "2025-09-08T16:30:02.872Z" }, + { url = "https://files.pythonhosted.org/packages/97/1a/e117cd5ff7056126d3291deb29ac8066476e60b852555b95beb3fc9d62a0/bottleneck-1.6.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d015de414ca016ebe56440bdf5d3d1204085080527a3c51f5b7b7a3e704fe6fd", size = 100521, upload-time = "2025-09-08T16:30:03.89Z" }, + { url = "https://files.pythonhosted.org/packages/bd/22/05555a9752357e24caa1cd92324d1a7fdde6386aab162fcc451f8f8eedc2/bottleneck-1.6.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:456757c9525b0b12356f472e38020ed4b76b18375fd76e055f8d33fb62956f5e", size = 377719, upload-time = "2025-09-08T16:30:05.135Z" }, + { url = "https://files.pythonhosted.org/packages/11/ee/76593af47097d9633109bed04dbcf2170707dd84313ca29f436f9234bc51/bottleneck-1.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c65254d51b6063c55f6272f175e867e2078342ae75f74be29d6612e9627b2c0", size = 368577, upload-time = "2025-09-08T16:30:06.387Z" }, + { url = "https://files.pythonhosted.org/packages/f9/f7/4dcacaf637d2b8d89ea746c74159adda43858d47358978880614c3fa4391/bottleneck-1.6.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a172322895fbb79c6127474f1b0db0866895f0b804a18d5c6b841fea093927fe", size = 361441, upload-time = "2025-09-08T16:30:07.613Z" }, + { url = "https://files.pythonhosted.org/packages/05/34/21eb1eb1c42cb7be2872d0647c292fc75768d14e1f0db66bf907b24b2464/bottleneck-1.6.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:d5e81b642eb0d5a5bf00312598d7ed142d389728b694322a118c26813f3d1fa9", size = 373416, upload-time = "2025-09-08T16:30:08.899Z" }, + { url = "https://files.pythonhosted.org/packages/48/cb/7957ff40367a151139b5f1854616bf92e578f10804d226fbcdecfd73aead/bottleneck-1.6.0-cp313-cp313-win32.whl", hash = "sha256:543d3a89d22880cd322e44caff859af6c0489657bf9897977d1f5d3d3f77299c", size = 108029, upload-time = "2025-09-08T16:30:09.909Z" }, + { url = "https://files.pythonhosted.org/packages/90/a8/735df4156fa5595501d5d96a6ee102f49c13d2ce9e2a287ad51806bc3ba0/bottleneck-1.6.0-cp313-cp313-win_amd64.whl", hash = "sha256:48a44307d604ceb81e256903e5d57d3adb96a461b1d3c6a69baa2c67e823bd36", size = 113497, upload-time = "2025-09-08T16:30:10.82Z" }, + { url = "https://files.pythonhosted.org/packages/c7/5c/8c1260df8ade7cebc2a8af513a27082b5e36aa4a5fb762d56ea6d969d893/bottleneck-1.6.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:547e6715115867c4657c9ae8cc5ddac1fec8fdad66690be3a322a7488721b06b", size = 101606, upload-time = "2025-09-08T16:30:11.935Z" }, + { url = "https://files.pythonhosted.org/packages/ce/ea/f03e2944e91ee962922c834ed21e5be6d067c8395681f5dc6c67a0a26853/bottleneck-1.6.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5e4a4a6e05b6f014c307969129e10d1a0afd18f3a2c127b085532a4a76677aef", size = 391804, upload-time = "2025-09-08T16:30:13.13Z" }, + { url = "https://files.pythonhosted.org/packages/0b/58/2b356b8a81eb97637dccee6cf58237198dd828890e38be9afb4e5e58e38e/bottleneck-1.6.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2baae0d1589b4a520b2f9cf03528c0c8b20717b3f05675e212ec2200cf628f12", size = 383443, upload-time = "2025-09-08T16:30:14.318Z" }, + { url = "https://files.pythonhosted.org/packages/55/52/cf7d09ed3736ad0d50c624787f9b580ae3206494d95cc0f4814b93eef728/bottleneck-1.6.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:2e407139b322f01d8d5b6b2e8091b810f48a25c7fa5c678cfcdc420dfe8aea0a", size = 375458, upload-time = "2025-09-08T16:30:15.379Z" }, + { url = "https://files.pythonhosted.org/packages/c4/e9/7c87a34a24e339860064f20fac49f6738e94f1717bc8726b9c47705601d8/bottleneck-1.6.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:1adefb89b92aba6de9c6ea871d99bcd29d519f4fb012cc5197917813b4fc2c7f", size = 386384, upload-time = "2025-09-08T16:30:17.012Z" }, + { url = "https://files.pythonhosted.org/packages/59/57/db51855e18a47671801180be748939b4c9422a0544849af1919116346b5f/bottleneck-1.6.0-cp313-cp313t-win32.whl", hash = "sha256:64b8690393494074923780f6abdf5f5577d844b9d9689725d1575a936e74e5f0", size = 109448, upload-time = "2025-09-08T16:30:18.076Z" }, + { url = "https://files.pythonhosted.org/packages/bd/1e/683c090b624f13a5bf88a0be2241dc301e98b2fb72a45812a7ae6e456cc4/bottleneck-1.6.0-cp313-cp313t-win_amd64.whl", hash = "sha256:cb67247f65dcdf62af947c76c6c8b77d9f0ead442cac0edbaa17850d6da4e48d", size = 115190, upload-time = "2025-09-08T16:30:19.106Z" }, + { url = "https://files.pythonhosted.org/packages/77/e2/eb7c08964a3f3c4719f98795ccd21807ee9dd3071a0f9ad652a5f19196ff/bottleneck-1.6.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:98f1d789042511a0f042b3bdcd2903e8567e956d3aa3be189cce3746daeb8550", size = 100544, upload-time = "2025-09-08T16:30:20.22Z" }, + { url = "https://files.pythonhosted.org/packages/99/ec/c6f3be848f37689f481797ce7d9807d5f69a199d7fc0e46044f9b708c468/bottleneck-1.6.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1fad24c99e39ad7623fc2a76d37feb26bd32e4dd170885edf4dbf4bfce2199a3", size = 378315, upload-time = "2025-09-08T16:30:21.409Z" }, + { url = "https://files.pythonhosted.org/packages/bf/8f/2d6600836e2ea8f14fcefac592dc83497e5b88d381470c958cb9cdf88706/bottleneck-1.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:643e61e50a6f993debc399b495a1609a55b3bd76b057e433e4089505d9f605c7", size = 368978, upload-time = "2025-09-08T16:30:23.458Z" }, + { url = "https://files.pythonhosted.org/packages/9b/b5/bf72b49f5040212873b985feef5050015645e0a02204b591e1d265fc522a/bottleneck-1.6.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fa668efbe4c6b200524ea0ebd537212da9b9801287138016fdf64119d6fcf201", size = 362074, upload-time = "2025-09-08T16:30:24.71Z" }, + { url = "https://files.pythonhosted.org/packages/1d/c8/c4891a0604eb680031390182c6e264247e3a9a8d067d654362245396fadf/bottleneck-1.6.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9f7dd35262e89e28fedd79d45022394b1fa1aceb61d2e747c6d6842e50546daa", size = 374019, upload-time = "2025-09-08T16:30:26.438Z" }, + { url = "https://files.pythonhosted.org/packages/e6/2d/ed096f8d1b9147e84914045dd89bc64e3c32eee49b862d1e20d573a9ab0d/bottleneck-1.6.0-cp314-cp314-win32.whl", hash = "sha256:bd90bec3c470b7fdfafc2fbdcd7a1c55a4e57b5cdad88d40eea5bc9bab759bf1", size = 110173, upload-time = "2025-09-08T16:30:27.521Z" }, + { url = "https://files.pythonhosted.org/packages/33/70/1414acb6ae378a15063cfb19a0a39d69d1b6baae1120a64d2b069902549b/bottleneck-1.6.0-cp314-cp314-win_amd64.whl", hash = "sha256:b43b6d36a62ffdedc6368cf9a708e4d0a30d98656c2b5f33d88894e1bcfd6857", size = 115899, upload-time = "2025-09-08T16:30:28.524Z" }, + { url = "https://files.pythonhosted.org/packages/4e/ed/4570b5d8c1c85ce3c54963ebc37472231ed54f0b0d8dbb5dde14303f775f/bottleneck-1.6.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:53296707a8e195b5dcaa804b714bd222b5e446bd93cd496008122277eb43fa87", size = 101615, upload-time = "2025-09-08T16:30:29.556Z" }, + { url = "https://files.pythonhosted.org/packages/2d/93/c148faa07ae91f266be1f3fad1fde95aa2449e12937f3f3df2dd720b86e0/bottleneck-1.6.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:d6df19cc48a83efd70f6d6874332aa31c3f5ca06a98b782449064abbd564cf0e", size = 392411, upload-time = "2025-09-08T16:30:31.186Z" }, + { url = "https://files.pythonhosted.org/packages/6e/1c/e6ad221d345a059e7efb2ad1d46a22d9fdae0486faef70555766e1123966/bottleneck-1.6.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96bb3a52cb3c0aadfedce3106f93ab940a49c9d35cd4ed612e031f6deb27e80f", size = 384022, upload-time = "2025-09-08T16:30:32.364Z" }, + { url = "https://files.pythonhosted.org/packages/4f/40/5b15c01eb8c59d59bc84c94d01d3d30797c961f10ec190f53c27e05d62ab/bottleneck-1.6.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d1db9e831b69d5595b12e79aeb04cb02873db35576467c8dd26cdc1ee6b74581", size = 376004, upload-time = "2025-09-08T16:30:33.731Z" }, + { url = "https://files.pythonhosted.org/packages/74/f6/cb228f5949553a5c01d1d5a3c933f0216d78540d9e0bf8dd4343bb449681/bottleneck-1.6.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:4dd7ac619570865fcb7a0e8925df418005f076286ad2c702dd0f447231d7a055", size = 386909, upload-time = "2025-09-08T16:30:34.973Z" }, + { url = "https://files.pythonhosted.org/packages/09/9a/425065c37a67a9120bf53290371579b83d05bf46f3212cce65d8c01d470a/bottleneck-1.6.0-cp314-cp314t-win32.whl", hash = "sha256:7fb694165df95d428fe00b98b9ea7d126ef786c4a4b7d43ae2530248396cadcb", size = 111636, upload-time = "2025-09-08T16:30:36.044Z" }, + { url = "https://files.pythonhosted.org/packages/ad/23/c41006e42909ec5114a8961818412310aa54646d1eae0495dbff3598a095/bottleneck-1.6.0-cp314-cp314t-win_amd64.whl", hash = "sha256:174b80930ce82bd8456c67f1abb28a5975c68db49d254783ce2cb6983b4fea40", size = 117611, upload-time = "2025-09-08T16:30:37.055Z" }, +] + +[[package]] +name = "certifi" +version = "2025.11.12" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/8c/58f469717fa48465e4a50c014a0400602d3c437d7c0c468e17ada824da3a/certifi-2025.11.12.tar.gz", hash = "sha256:d8ab5478f2ecd78af242878415affce761ca6bc54a22a27e026d7c25357c3316", size = 160538, upload-time = "2025-11-12T02:54:51.517Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl", hash = "sha256:97de8790030bbd5c2d96b7ec782fc2f7820ef8dba6db909ccf95449f2d062d4b", size = 159438, upload-time = "2025-11-12T02:54:49.735Z" }, +] + +[[package]] +name = "cffi" +version = "2.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588, upload-time = "2025-09-08T23:24:04.541Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/93/d7/516d984057745a6cd96575eea814fe1edd6646ee6efd552fb7b0921dec83/cffi-2.0.0-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:0cf2d91ecc3fcc0625c2c530fe004f82c110405f101548512cce44322fa8ac44", size = 184283, upload-time = "2025-09-08T23:22:08.01Z" }, + { url = "https://files.pythonhosted.org/packages/9e/84/ad6a0b408daa859246f57c03efd28e5dd1b33c21737c2db84cae8c237aa5/cffi-2.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f73b96c41e3b2adedc34a7356e64c8eb96e03a3782b535e043a986276ce12a49", size = 180504, upload-time = "2025-09-08T23:22:10.637Z" }, + { url = "https://files.pythonhosted.org/packages/50/bd/b1a6362b80628111e6653c961f987faa55262b4002fcec42308cad1db680/cffi-2.0.0-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:53f77cbe57044e88bbd5ed26ac1d0514d2acf0591dd6bb02a3ae37f76811b80c", size = 208811, upload-time = "2025-09-08T23:22:12.267Z" }, + { url = "https://files.pythonhosted.org/packages/4f/27/6933a8b2562d7bd1fb595074cf99cc81fc3789f6a6c05cdabb46284a3188/cffi-2.0.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3e837e369566884707ddaf85fc1744b47575005c0a229de3327f8f9a20f4efeb", size = 216402, upload-time = "2025-09-08T23:22:13.455Z" }, + { url = "https://files.pythonhosted.org/packages/05/eb/b86f2a2645b62adcfff53b0dd97e8dfafb5c8aa864bd0d9a2c2049a0d551/cffi-2.0.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:5eda85d6d1879e692d546a078b44251cdd08dd1cfb98dfb77b670c97cee49ea0", size = 203217, upload-time = "2025-09-08T23:22:14.596Z" }, + { url = "https://files.pythonhosted.org/packages/9f/e0/6cbe77a53acf5acc7c08cc186c9928864bd7c005f9efd0d126884858a5fe/cffi-2.0.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9332088d75dc3241c702d852d4671613136d90fa6881da7d770a483fd05248b4", size = 203079, upload-time = "2025-09-08T23:22:15.769Z" }, + { url = "https://files.pythonhosted.org/packages/98/29/9b366e70e243eb3d14a5cb488dfd3a0b6b2f1fb001a203f653b93ccfac88/cffi-2.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc7de24befaeae77ba923797c7c87834c73648a05a4bde34b3b7e5588973a453", size = 216475, upload-time = "2025-09-08T23:22:17.427Z" }, + { url = "https://files.pythonhosted.org/packages/21/7a/13b24e70d2f90a322f2900c5d8e1f14fa7e2a6b3332b7309ba7b2ba51a5a/cffi-2.0.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:cf364028c016c03078a23b503f02058f1814320a56ad535686f90565636a9495", size = 218829, upload-time = "2025-09-08T23:22:19.069Z" }, + { url = "https://files.pythonhosted.org/packages/60/99/c9dc110974c59cc981b1f5b66e1d8af8af764e00f0293266824d9c4254bc/cffi-2.0.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e11e82b744887154b182fd3e7e8512418446501191994dbf9c9fc1f32cc8efd5", size = 211211, upload-time = "2025-09-08T23:22:20.588Z" }, + { url = "https://files.pythonhosted.org/packages/49/72/ff2d12dbf21aca1b32a40ed792ee6b40f6dc3a9cf1644bd7ef6e95e0ac5e/cffi-2.0.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8ea985900c5c95ce9db1745f7933eeef5d314f0565b27625d9a10ec9881e1bfb", size = 218036, upload-time = "2025-09-08T23:22:22.143Z" }, + { url = "https://files.pythonhosted.org/packages/e2/cc/027d7fb82e58c48ea717149b03bcadcbdc293553edb283af792bd4bcbb3f/cffi-2.0.0-cp310-cp310-win32.whl", hash = "sha256:1f72fb8906754ac8a2cc3f9f5aaa298070652a0ffae577e0ea9bd480dc3c931a", size = 172184, upload-time = "2025-09-08T23:22:23.328Z" }, + { url = "https://files.pythonhosted.org/packages/33/fa/072dd15ae27fbb4e06b437eb6e944e75b068deb09e2a2826039e49ee2045/cffi-2.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:b18a3ed7d5b3bd8d9ef7a8cb226502c6bf8308df1525e1cc676c3680e7176739", size = 182790, upload-time = "2025-09-08T23:22:24.752Z" }, + { url = "https://files.pythonhosted.org/packages/12/4a/3dfd5f7850cbf0d06dc84ba9aa00db766b52ca38d8b86e3a38314d52498c/cffi-2.0.0-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe", size = 184344, upload-time = "2025-09-08T23:22:26.456Z" }, + { url = "https://files.pythonhosted.org/packages/4f/8b/f0e4c441227ba756aafbe78f117485b25bb26b1c059d01f137fa6d14896b/cffi-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c", size = 180560, upload-time = "2025-09-08T23:22:28.197Z" }, + { url = "https://files.pythonhosted.org/packages/b1/b7/1200d354378ef52ec227395d95c2576330fd22a869f7a70e88e1447eb234/cffi-2.0.0-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:baf5215e0ab74c16e2dd324e8ec067ef59e41125d3eade2b863d294fd5035c92", size = 209613, upload-time = "2025-09-08T23:22:29.475Z" }, + { url = "https://files.pythonhosted.org/packages/b8/56/6033f5e86e8cc9bb629f0077ba71679508bdf54a9a5e112a3c0b91870332/cffi-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:730cacb21e1bdff3ce90babf007d0a0917cc3e6492f336c2f0134101e0944f93", size = 216476, upload-time = "2025-09-08T23:22:31.063Z" }, + { url = "https://files.pythonhosted.org/packages/dc/7f/55fecd70f7ece178db2f26128ec41430d8720f2d12ca97bf8f0a628207d5/cffi-2.0.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6824f87845e3396029f3820c206e459ccc91760e8fa24422f8b0c3d1731cbec5", size = 203374, upload-time = "2025-09-08T23:22:32.507Z" }, + { url = "https://files.pythonhosted.org/packages/84/ef/a7b77c8bdc0f77adc3b46888f1ad54be8f3b7821697a7b89126e829e676a/cffi-2.0.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9de40a7b0323d889cf8d23d1ef214f565ab154443c42737dfe52ff82cf857664", size = 202597, upload-time = "2025-09-08T23:22:34.132Z" }, + { url = "https://files.pythonhosted.org/packages/d7/91/500d892b2bf36529a75b77958edfcd5ad8e2ce4064ce2ecfeab2125d72d1/cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26", size = 215574, upload-time = "2025-09-08T23:22:35.443Z" }, + { url = "https://files.pythonhosted.org/packages/44/64/58f6255b62b101093d5df22dcb752596066c7e89dd725e0afaed242a61be/cffi-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a05d0c237b3349096d3981b727493e22147f934b20f6f125a3eba8f994bec4a9", size = 218971, upload-time = "2025-09-08T23:22:36.805Z" }, + { url = "https://files.pythonhosted.org/packages/ab/49/fa72cebe2fd8a55fbe14956f9970fe8eb1ac59e5df042f603ef7c8ba0adc/cffi-2.0.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:94698a9c5f91f9d138526b48fe26a199609544591f859c870d477351dc7b2414", size = 211972, upload-time = "2025-09-08T23:22:38.436Z" }, + { url = "https://files.pythonhosted.org/packages/0b/28/dd0967a76aab36731b6ebfe64dec4e981aff7e0608f60c2d46b46982607d/cffi-2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743", size = 217078, upload-time = "2025-09-08T23:22:39.776Z" }, + { url = "https://files.pythonhosted.org/packages/2b/c0/015b25184413d7ab0a410775fdb4a50fca20f5589b5dab1dbbfa3baad8ce/cffi-2.0.0-cp311-cp311-win32.whl", hash = "sha256:c649e3a33450ec82378822b3dad03cc228b8f5963c0c12fc3b1e0ab940f768a5", size = 172076, upload-time = "2025-09-08T23:22:40.95Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8f/dc5531155e7070361eb1b7e4c1a9d896d0cb21c49f807a6c03fd63fc877e/cffi-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5", size = 182820, upload-time = "2025-09-08T23:22:42.463Z" }, + { url = "https://files.pythonhosted.org/packages/95/5c/1b493356429f9aecfd56bc171285a4c4ac8697f76e9bbbbb105e537853a1/cffi-2.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d", size = 177635, upload-time = "2025-09-08T23:22:43.623Z" }, + { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271, upload-time = "2025-09-08T23:22:44.795Z" }, + { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048, upload-time = "2025-09-08T23:22:45.938Z" }, + { url = "https://files.pythonhosted.org/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529, upload-time = "2025-09-08T23:22:47.349Z" }, + { url = "https://files.pythonhosted.org/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097, upload-time = "2025-09-08T23:22:48.677Z" }, + { url = "https://files.pythonhosted.org/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983, upload-time = "2025-09-08T23:22:50.06Z" }, + { url = "https://files.pythonhosted.org/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519, upload-time = "2025-09-08T23:22:51.364Z" }, + { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572, upload-time = "2025-09-08T23:22:52.902Z" }, + { url = "https://files.pythonhosted.org/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963, upload-time = "2025-09-08T23:22:54.518Z" }, + { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361, upload-time = "2025-09-08T23:22:55.867Z" }, + { url = "https://files.pythonhosted.org/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932, upload-time = "2025-09-08T23:22:57.188Z" }, + { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557, upload-time = "2025-09-08T23:22:58.351Z" }, + { url = "https://files.pythonhosted.org/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762, upload-time = "2025-09-08T23:22:59.668Z" }, + { url = "https://files.pythonhosted.org/packages/4b/8d/a0a47a0c9e413a658623d014e91e74a50cdd2c423f7ccfd44086ef767f90/cffi-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:00bdf7acc5f795150faa6957054fbbca2439db2f775ce831222b66f192f03beb", size = 185230, upload-time = "2025-09-08T23:23:00.879Z" }, + { url = "https://files.pythonhosted.org/packages/4a/d2/a6c0296814556c68ee32009d9c2ad4f85f2707cdecfd7727951ec228005d/cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:45d5e886156860dc35862657e1494b9bae8dfa63bf56796f2fb56e1679fc0bca", size = 181043, upload-time = "2025-09-08T23:23:02.231Z" }, + { url = "https://files.pythonhosted.org/packages/b0/1e/d22cc63332bd59b06481ceaac49d6c507598642e2230f201649058a7e704/cffi-2.0.0-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:07b271772c100085dd28b74fa0cd81c8fb1a3ba18b21e03d7c27f3436a10606b", size = 212446, upload-time = "2025-09-08T23:23:03.472Z" }, + { url = "https://files.pythonhosted.org/packages/a9/f5/a2c23eb03b61a0b8747f211eb716446c826ad66818ddc7810cc2cc19b3f2/cffi-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d48a880098c96020b02d5a1f7d9251308510ce8858940e6fa99ece33f610838b", size = 220101, upload-time = "2025-09-08T23:23:04.792Z" }, + { url = "https://files.pythonhosted.org/packages/f2/7f/e6647792fc5850d634695bc0e6ab4111ae88e89981d35ac269956605feba/cffi-2.0.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f93fd8e5c8c0a4aa1f424d6173f14a892044054871c771f8566e4008eaa359d2", size = 207948, upload-time = "2025-09-08T23:23:06.127Z" }, + { url = "https://files.pythonhosted.org/packages/cb/1e/a5a1bd6f1fb30f22573f76533de12a00bf274abcdc55c8edab639078abb6/cffi-2.0.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:dd4f05f54a52fb558f1ba9f528228066954fee3ebe629fc1660d874d040ae5a3", size = 206422, upload-time = "2025-09-08T23:23:07.753Z" }, + { url = "https://files.pythonhosted.org/packages/98/df/0a1755e750013a2081e863e7cd37e0cdd02664372c754e5560099eb7aa44/cffi-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8d3b5532fc71b7a77c09192b4a5a200ea992702734a2e9279a37f2478236f26", size = 219499, upload-time = "2025-09-08T23:23:09.648Z" }, + { url = "https://files.pythonhosted.org/packages/50/e1/a969e687fcf9ea58e6e2a928ad5e2dd88cc12f6f0ab477e9971f2309b57c/cffi-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d9b29c1f0ae438d5ee9acb31cadee00a58c46cc9c0b2f9038c6b0b3470877a8c", size = 222928, upload-time = "2025-09-08T23:23:10.928Z" }, + { url = "https://files.pythonhosted.org/packages/36/54/0362578dd2c9e557a28ac77698ed67323ed5b9775ca9d3fe73fe191bb5d8/cffi-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6d50360be4546678fc1b79ffe7a66265e28667840010348dd69a314145807a1b", size = 221302, upload-time = "2025-09-08T23:23:12.42Z" }, + { url = "https://files.pythonhosted.org/packages/eb/6d/bf9bda840d5f1dfdbf0feca87fbdb64a918a69bca42cfa0ba7b137c48cb8/cffi-2.0.0-cp313-cp313-win32.whl", hash = "sha256:74a03b9698e198d47562765773b4a8309919089150a0bb17d829ad7b44b60d27", size = 172909, upload-time = "2025-09-08T23:23:14.32Z" }, + { url = "https://files.pythonhosted.org/packages/37/18/6519e1ee6f5a1e579e04b9ddb6f1676c17368a7aba48299c3759bbc3c8b3/cffi-2.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:19f705ada2530c1167abacb171925dd886168931e0a7b78f5bffcae5c6b5be75", size = 183402, upload-time = "2025-09-08T23:23:15.535Z" }, + { url = "https://files.pythonhosted.org/packages/cb/0e/02ceeec9a7d6ee63bb596121c2c8e9b3a9e150936f4fbef6ca1943e6137c/cffi-2.0.0-cp313-cp313-win_arm64.whl", hash = "sha256:256f80b80ca3853f90c21b23ee78cd008713787b1b1e93eae9f3d6a7134abd91", size = 177780, upload-time = "2025-09-08T23:23:16.761Z" }, + { url = "https://files.pythonhosted.org/packages/92/c4/3ce07396253a83250ee98564f8d7e9789fab8e58858f35d07a9a2c78de9f/cffi-2.0.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fc33c5141b55ed366cfaad382df24fe7dcbc686de5be719b207bb248e3053dc5", size = 185320, upload-time = "2025-09-08T23:23:18.087Z" }, + { url = "https://files.pythonhosted.org/packages/59/dd/27e9fa567a23931c838c6b02d0764611c62290062a6d4e8ff7863daf9730/cffi-2.0.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c654de545946e0db659b3400168c9ad31b5d29593291482c43e3564effbcee13", size = 181487, upload-time = "2025-09-08T23:23:19.622Z" }, + { url = "https://files.pythonhosted.org/packages/d6/43/0e822876f87ea8a4ef95442c3d766a06a51fc5298823f884ef87aaad168c/cffi-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:24b6f81f1983e6df8db3adc38562c83f7d4a0c36162885ec7f7b77c7dcbec97b", size = 220049, upload-time = "2025-09-08T23:23:20.853Z" }, + { url = "https://files.pythonhosted.org/packages/b4/89/76799151d9c2d2d1ead63c2429da9ea9d7aac304603de0c6e8764e6e8e70/cffi-2.0.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:12873ca6cb9b0f0d3a0da705d6086fe911591737a59f28b7936bdfed27c0d47c", size = 207793, upload-time = "2025-09-08T23:23:22.08Z" }, + { url = "https://files.pythonhosted.org/packages/bb/dd/3465b14bb9e24ee24cb88c9e3730f6de63111fffe513492bf8c808a3547e/cffi-2.0.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:d9b97165e8aed9272a6bb17c01e3cc5871a594a446ebedc996e2397a1c1ea8ef", size = 206300, upload-time = "2025-09-08T23:23:23.314Z" }, + { url = "https://files.pythonhosted.org/packages/47/d9/d83e293854571c877a92da46fdec39158f8d7e68da75bf73581225d28e90/cffi-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:afb8db5439b81cf9c9d0c80404b60c3cc9c3add93e114dcae767f1477cb53775", size = 219244, upload-time = "2025-09-08T23:23:24.541Z" }, + { url = "https://files.pythonhosted.org/packages/2b/0f/1f177e3683aead2bb00f7679a16451d302c436b5cbf2505f0ea8146ef59e/cffi-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:737fe7d37e1a1bffe70bd5754ea763a62a066dc5913ca57e957824b72a85e205", size = 222828, upload-time = "2025-09-08T23:23:26.143Z" }, + { url = "https://files.pythonhosted.org/packages/c6/0f/cafacebd4b040e3119dcb32fed8bdef8dfe94da653155f9d0b9dc660166e/cffi-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:38100abb9d1b1435bc4cc340bb4489635dc2f0da7456590877030c9b3d40b0c1", size = 220926, upload-time = "2025-09-08T23:23:27.873Z" }, + { url = "https://files.pythonhosted.org/packages/3e/aa/df335faa45b395396fcbc03de2dfcab242cd61a9900e914fe682a59170b1/cffi-2.0.0-cp314-cp314-win32.whl", hash = "sha256:087067fa8953339c723661eda6b54bc98c5625757ea62e95eb4898ad5e776e9f", size = 175328, upload-time = "2025-09-08T23:23:44.61Z" }, + { url = "https://files.pythonhosted.org/packages/bb/92/882c2d30831744296ce713f0feb4c1cd30f346ef747b530b5318715cc367/cffi-2.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:203a48d1fb583fc7d78a4c6655692963b860a417c0528492a6bc21f1aaefab25", size = 185650, upload-time = "2025-09-08T23:23:45.848Z" }, + { url = "https://files.pythonhosted.org/packages/9f/2c/98ece204b9d35a7366b5b2c6539c350313ca13932143e79dc133ba757104/cffi-2.0.0-cp314-cp314-win_arm64.whl", hash = "sha256:dbd5c7a25a7cb98f5ca55d258b103a2054f859a46ae11aaf23134f9cc0d356ad", size = 180687, upload-time = "2025-09-08T23:23:47.105Z" }, + { url = "https://files.pythonhosted.org/packages/3e/61/c768e4d548bfa607abcda77423448df8c471f25dbe64fb2ef6d555eae006/cffi-2.0.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:9a67fc9e8eb39039280526379fb3a70023d77caec1852002b4da7e8b270c4dd9", size = 188773, upload-time = "2025-09-08T23:23:29.347Z" }, + { url = "https://files.pythonhosted.org/packages/2c/ea/5f76bce7cf6fcd0ab1a1058b5af899bfbef198bea4d5686da88471ea0336/cffi-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7a66c7204d8869299919db4d5069a82f1561581af12b11b3c9f48c584eb8743d", size = 185013, upload-time = "2025-09-08T23:23:30.63Z" }, + { url = "https://files.pythonhosted.org/packages/be/b4/c56878d0d1755cf9caa54ba71e5d049479c52f9e4afc230f06822162ab2f/cffi-2.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7cc09976e8b56f8cebd752f7113ad07752461f48a58cbba644139015ac24954c", size = 221593, upload-time = "2025-09-08T23:23:31.91Z" }, + { url = "https://files.pythonhosted.org/packages/e0/0d/eb704606dfe8033e7128df5e90fee946bbcb64a04fcdaa97321309004000/cffi-2.0.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:92b68146a71df78564e4ef48af17551a5ddd142e5190cdf2c5624d0c3ff5b2e8", size = 209354, upload-time = "2025-09-08T23:23:33.214Z" }, + { url = "https://files.pythonhosted.org/packages/d8/19/3c435d727b368ca475fb8742ab97c9cb13a0de600ce86f62eab7fa3eea60/cffi-2.0.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:b1e74d11748e7e98e2f426ab176d4ed720a64412b6a15054378afdb71e0f37dc", size = 208480, upload-time = "2025-09-08T23:23:34.495Z" }, + { url = "https://files.pythonhosted.org/packages/d0/44/681604464ed9541673e486521497406fadcc15b5217c3e326b061696899a/cffi-2.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:28a3a209b96630bca57cce802da70c266eb08c6e97e5afd61a75611ee6c64592", size = 221584, upload-time = "2025-09-08T23:23:36.096Z" }, + { url = "https://files.pythonhosted.org/packages/25/8e/342a504ff018a2825d395d44d63a767dd8ebc927ebda557fecdaca3ac33a/cffi-2.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7553fb2090d71822f02c629afe6042c299edf91ba1bf94951165613553984512", size = 224443, upload-time = "2025-09-08T23:23:37.328Z" }, + { url = "https://files.pythonhosted.org/packages/e1/5e/b666bacbbc60fbf415ba9988324a132c9a7a0448a9a8f125074671c0f2c3/cffi-2.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6c6c373cfc5c83a975506110d17457138c8c63016b563cc9ed6e056a82f13ce4", size = 223437, upload-time = "2025-09-08T23:23:38.945Z" }, + { url = "https://files.pythonhosted.org/packages/a0/1d/ec1a60bd1a10daa292d3cd6bb0b359a81607154fb8165f3ec95fe003b85c/cffi-2.0.0-cp314-cp314t-win32.whl", hash = "sha256:1fc9ea04857caf665289b7a75923f2c6ed559b8298a1b8c49e59f7dd95c8481e", size = 180487, upload-time = "2025-09-08T23:23:40.423Z" }, + { url = "https://files.pythonhosted.org/packages/bf/41/4c1168c74fac325c0c8156f04b6749c8b6a8f405bbf91413ba088359f60d/cffi-2.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d68b6cef7827e8641e8ef16f4494edda8b36104d79773a334beaa1e3521430f6", size = 191726, upload-time = "2025-09-08T23:23:41.742Z" }, + { url = "https://files.pythonhosted.org/packages/ae/3a/dbeec9d1ee0844c679f6bb5d6ad4e9f198b1224f4e7a32825f47f6192b0c/cffi-2.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0a1527a803f0a659de1af2e1fd700213caba79377e27e4693648c2923da066f9", size = 184195, upload-time = "2025-09-08T23:23:43.004Z" }, +] + +[[package]] +name = "charset-normalizer" +version = "3.4.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062/charset_normalizer-3.4.4.tar.gz", hash = "sha256:94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a", size = 129418, upload-time = "2025-10-14T04:42:32.879Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1f/b8/6d51fc1d52cbd52cd4ccedd5b5b2f0f6a11bbf6765c782298b0f3e808541/charset_normalizer-3.4.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e824f1492727fa856dd6eda4f7cee25f8518a12f3c4a56a74e8095695089cf6d", size = 209709, upload-time = "2025-10-14T04:40:11.385Z" }, + { url = "https://files.pythonhosted.org/packages/5c/af/1f9d7f7faafe2ddfb6f72a2e07a548a629c61ad510fe60f9630309908fef/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4bd5d4137d500351a30687c2d3971758aac9a19208fc110ccb9d7188fbe709e8", size = 148814, upload-time = "2025-10-14T04:40:13.135Z" }, + { url = "https://files.pythonhosted.org/packages/79/3d/f2e3ac2bbc056ca0c204298ea4e3d9db9b4afe437812638759db2c976b5f/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:027f6de494925c0ab2a55eab46ae5129951638a49a34d87f4c3eda90f696b4ad", size = 144467, upload-time = "2025-10-14T04:40:14.728Z" }, + { url = "https://files.pythonhosted.org/packages/ec/85/1bf997003815e60d57de7bd972c57dc6950446a3e4ccac43bc3070721856/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f820802628d2694cb7e56db99213f930856014862f3fd943d290ea8438d07ca8", size = 162280, upload-time = "2025-10-14T04:40:16.14Z" }, + { url = "https://files.pythonhosted.org/packages/3e/8e/6aa1952f56b192f54921c436b87f2aaf7c7a7c3d0d1a765547d64fd83c13/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:798d75d81754988d2565bff1b97ba5a44411867c0cf32b77a7e8f8d84796b10d", size = 159454, upload-time = "2025-10-14T04:40:17.567Z" }, + { url = "https://files.pythonhosted.org/packages/36/3b/60cbd1f8e93aa25d1c669c649b7a655b0b5fb4c571858910ea9332678558/charset_normalizer-3.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d1bb833febdff5c8927f922386db610b49db6e0d4f4ee29601d71e7c2694313", size = 153609, upload-time = "2025-10-14T04:40:19.08Z" }, + { url = "https://files.pythonhosted.org/packages/64/91/6a13396948b8fd3c4b4fd5bc74d045f5637d78c9675585e8e9fbe5636554/charset_normalizer-3.4.4-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9cd98cdc06614a2f768d2b7286d66805f94c48cde050acdbbb7db2600ab3197e", size = 151849, upload-time = "2025-10-14T04:40:20.607Z" }, + { url = "https://files.pythonhosted.org/packages/b7/7a/59482e28b9981d105691e968c544cc0df3b7d6133152fb3dcdc8f135da7a/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:077fbb858e903c73f6c9db43374fd213b0b6a778106bc7032446a8e8b5b38b93", size = 151586, upload-time = "2025-10-14T04:40:21.719Z" }, + { url = "https://files.pythonhosted.org/packages/92/59/f64ef6a1c4bdd2baf892b04cd78792ed8684fbc48d4c2afe467d96b4df57/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:244bfb999c71b35de57821b8ea746b24e863398194a4014e4c76adc2bbdfeff0", size = 145290, upload-time = "2025-10-14T04:40:23.069Z" }, + { url = "https://files.pythonhosted.org/packages/6b/63/3bf9f279ddfa641ffa1962b0db6a57a9c294361cc2f5fcac997049a00e9c/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:64b55f9dce520635f018f907ff1b0df1fdc31f2795a922fb49dd14fbcdf48c84", size = 163663, upload-time = "2025-10-14T04:40:24.17Z" }, + { url = "https://files.pythonhosted.org/packages/ed/09/c9e38fc8fa9e0849b172b581fd9803bdf6e694041127933934184e19f8c3/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:faa3a41b2b66b6e50f84ae4a68c64fcd0c44355741c6374813a800cd6695db9e", size = 151964, upload-time = "2025-10-14T04:40:25.368Z" }, + { url = "https://files.pythonhosted.org/packages/d2/d1/d28b747e512d0da79d8b6a1ac18b7ab2ecfd81b2944c4c710e166d8dd09c/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:6515f3182dbe4ea06ced2d9e8666d97b46ef4c75e326b79bb624110f122551db", size = 161064, upload-time = "2025-10-14T04:40:26.806Z" }, + { url = "https://files.pythonhosted.org/packages/bb/9a/31d62b611d901c3b9e5500c36aab0ff5eb442043fb3a1c254200d3d397d9/charset_normalizer-3.4.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cc00f04ed596e9dc0da42ed17ac5e596c6ccba999ba6bd92b0e0aef2f170f2d6", size = 155015, upload-time = "2025-10-14T04:40:28.284Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f3/107e008fa2bff0c8b9319584174418e5e5285fef32f79d8ee6a430d0039c/charset_normalizer-3.4.4-cp310-cp310-win32.whl", hash = "sha256:f34be2938726fc13801220747472850852fe6b1ea75869a048d6f896838c896f", size = 99792, upload-time = "2025-10-14T04:40:29.613Z" }, + { url = "https://files.pythonhosted.org/packages/eb/66/e396e8a408843337d7315bab30dbf106c38966f1819f123257f5520f8a96/charset_normalizer-3.4.4-cp310-cp310-win_amd64.whl", hash = "sha256:a61900df84c667873b292c3de315a786dd8dac506704dea57bc957bd31e22c7d", size = 107198, upload-time = "2025-10-14T04:40:30.644Z" }, + { url = "https://files.pythonhosted.org/packages/b5/58/01b4f815bf0312704c267f2ccb6e5d42bcc7752340cd487bc9f8c3710597/charset_normalizer-3.4.4-cp310-cp310-win_arm64.whl", hash = "sha256:cead0978fc57397645f12578bfd2d5ea9138ea0fac82b2f63f7f7c6877986a69", size = 100262, upload-time = "2025-10-14T04:40:32.108Z" }, + { url = "https://files.pythonhosted.org/packages/ed/27/c6491ff4954e58a10f69ad90aca8a1b6fe9c5d3c6f380907af3c37435b59/charset_normalizer-3.4.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6e1fcf0720908f200cd21aa4e6750a48ff6ce4afe7ff5a79a90d5ed8a08296f8", size = 206988, upload-time = "2025-10-14T04:40:33.79Z" }, + { url = "https://files.pythonhosted.org/packages/94/59/2e87300fe67ab820b5428580a53cad894272dbb97f38a7a814a2a1ac1011/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5f819d5fe9234f9f82d75bdfa9aef3a3d72c4d24a6e57aeaebba32a704553aa0", size = 147324, upload-time = "2025-10-14T04:40:34.961Z" }, + { url = "https://files.pythonhosted.org/packages/07/fb/0cf61dc84b2b088391830f6274cb57c82e4da8bbc2efeac8c025edb88772/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a59cb51917aa591b1c4e6a43c132f0cdc3c76dbad6155df4e28ee626cc77a0a3", size = 142742, upload-time = "2025-10-14T04:40:36.105Z" }, + { url = "https://files.pythonhosted.org/packages/62/8b/171935adf2312cd745d290ed93cf16cf0dfe320863ab7cbeeae1dcd6535f/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8ef3c867360f88ac904fd3f5e1f902f13307af9052646963ee08ff4f131adafc", size = 160863, upload-time = "2025-10-14T04:40:37.188Z" }, + { url = "https://files.pythonhosted.org/packages/09/73/ad875b192bda14f2173bfc1bc9a55e009808484a4b256748d931b6948442/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d9e45d7faa48ee908174d8fe84854479ef838fc6a705c9315372eacbc2f02897", size = 157837, upload-time = "2025-10-14T04:40:38.435Z" }, + { url = "https://files.pythonhosted.org/packages/6d/fc/de9cce525b2c5b94b47c70a4b4fb19f871b24995c728e957ee68ab1671ea/charset_normalizer-3.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:840c25fb618a231545cbab0564a799f101b63b9901f2569faecd6b222ac72381", size = 151550, upload-time = "2025-10-14T04:40:40.053Z" }, + { url = "https://files.pythonhosted.org/packages/55/c2/43edd615fdfba8c6f2dfbd459b25a6b3b551f24ea21981e23fb768503ce1/charset_normalizer-3.4.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ca5862d5b3928c4940729dacc329aa9102900382fea192fc5e52eb69d6093815", size = 149162, upload-time = "2025-10-14T04:40:41.163Z" }, + { url = "https://files.pythonhosted.org/packages/03/86/bde4ad8b4d0e9429a4e82c1e8f5c659993a9a863ad62c7df05cf7b678d75/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d9c7f57c3d666a53421049053eaacdd14bbd0a528e2186fcb2e672effd053bb0", size = 150019, upload-time = "2025-10-14T04:40:42.276Z" }, + { url = "https://files.pythonhosted.org/packages/1f/86/a151eb2af293a7e7bac3a739b81072585ce36ccfb4493039f49f1d3cae8c/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:277e970e750505ed74c832b4bf75dac7476262ee2a013f5574dd49075879e161", size = 143310, upload-time = "2025-10-14T04:40:43.439Z" }, + { url = "https://files.pythonhosted.org/packages/b5/fe/43dae6144a7e07b87478fdfc4dbe9efd5defb0e7ec29f5f58a55aeef7bf7/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:31fd66405eaf47bb62e8cd575dc621c56c668f27d46a61d975a249930dd5e2a4", size = 162022, upload-time = "2025-10-14T04:40:44.547Z" }, + { url = "https://files.pythonhosted.org/packages/80/e6/7aab83774f5d2bca81f42ac58d04caf44f0cc2b65fc6db2b3b2e8a05f3b3/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:0d3d8f15c07f86e9ff82319b3d9ef6f4bf907608f53fe9d92b28ea9ae3d1fd89", size = 149383, upload-time = "2025-10-14T04:40:46.018Z" }, + { url = "https://files.pythonhosted.org/packages/4f/e8/b289173b4edae05c0dde07f69f8db476a0b511eac556dfe0d6bda3c43384/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:9f7fcd74d410a36883701fafa2482a6af2ff5ba96b9a620e9e0721e28ead5569", size = 159098, upload-time = "2025-10-14T04:40:47.081Z" }, + { url = "https://files.pythonhosted.org/packages/d8/df/fe699727754cae3f8478493c7f45f777b17c3ef0600e28abfec8619eb49c/charset_normalizer-3.4.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ebf3e58c7ec8a8bed6d66a75d7fb37b55e5015b03ceae72a8e7c74495551e224", size = 152991, upload-time = "2025-10-14T04:40:48.246Z" }, + { url = "https://files.pythonhosted.org/packages/1a/86/584869fe4ddb6ffa3bd9f491b87a01568797fb9bd8933f557dba9771beaf/charset_normalizer-3.4.4-cp311-cp311-win32.whl", hash = "sha256:eecbc200c7fd5ddb9a7f16c7decb07b566c29fa2161a16cf67b8d068bd21690a", size = 99456, upload-time = "2025-10-14T04:40:49.376Z" }, + { url = "https://files.pythonhosted.org/packages/65/f6/62fdd5feb60530f50f7e38b4f6a1d5203f4d16ff4f9f0952962c044e919a/charset_normalizer-3.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:5ae497466c7901d54b639cf42d5b8c1b6a4fead55215500d2f486d34db48d016", size = 106978, upload-time = "2025-10-14T04:40:50.844Z" }, + { url = "https://files.pythonhosted.org/packages/7a/9d/0710916e6c82948b3be62d9d398cb4fcf4e97b56d6a6aeccd66c4b2f2bd5/charset_normalizer-3.4.4-cp311-cp311-win_arm64.whl", hash = "sha256:65e2befcd84bc6f37095f5961e68a6f077bf44946771354a28ad434c2cce0ae1", size = 99969, upload-time = "2025-10-14T04:40:52.272Z" }, + { url = "https://files.pythonhosted.org/packages/f3/85/1637cd4af66fa687396e757dec650f28025f2a2f5a5531a3208dc0ec43f2/charset_normalizer-3.4.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0a98e6759f854bd25a58a73fa88833fba3b7c491169f86ce1180c948ab3fd394", size = 208425, upload-time = "2025-10-14T04:40:53.353Z" }, + { url = "https://files.pythonhosted.org/packages/9d/6a/04130023fef2a0d9c62d0bae2649b69f7b7d8d24ea5536feef50551029df/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b5b290ccc2a263e8d185130284f8501e3e36c5e02750fc6b6bdeb2e9e96f1e25", size = 148162, upload-time = "2025-10-14T04:40:54.558Z" }, + { url = "https://files.pythonhosted.org/packages/78/29/62328d79aa60da22c9e0b9a66539feae06ca0f5a4171ac4f7dc285b83688/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:74bb723680f9f7a6234dcf67aea57e708ec1fbdf5699fb91dfd6f511b0a320ef", size = 144558, upload-time = "2025-10-14T04:40:55.677Z" }, + { url = "https://files.pythonhosted.org/packages/86/bb/b32194a4bf15b88403537c2e120b817c61cd4ecffa9b6876e941c3ee38fe/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f1e34719c6ed0b92f418c7c780480b26b5d9c50349e9a9af7d76bf757530350d", size = 161497, upload-time = "2025-10-14T04:40:57.217Z" }, + { url = "https://files.pythonhosted.org/packages/19/89/a54c82b253d5b9b111dc74aca196ba5ccfcca8242d0fb64146d4d3183ff1/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2437418e20515acec67d86e12bf70056a33abdacb5cb1655042f6538d6b085a8", size = 159240, upload-time = "2025-10-14T04:40:58.358Z" }, + { url = "https://files.pythonhosted.org/packages/c0/10/d20b513afe03acc89ec33948320a5544d31f21b05368436d580dec4e234d/charset_normalizer-3.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:11d694519d7f29d6cd09f6ac70028dba10f92f6cdd059096db198c283794ac86", size = 153471, upload-time = "2025-10-14T04:40:59.468Z" }, + { url = "https://files.pythonhosted.org/packages/61/fa/fbf177b55bdd727010f9c0a3c49eefa1d10f960e5f09d1d887bf93c2e698/charset_normalizer-3.4.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ac1c4a689edcc530fc9d9aa11f5774b9e2f33f9a0c6a57864e90908f5208d30a", size = 150864, upload-time = "2025-10-14T04:41:00.623Z" }, + { url = "https://files.pythonhosted.org/packages/05/12/9fbc6a4d39c0198adeebbde20b619790e9236557ca59fc40e0e3cebe6f40/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:21d142cc6c0ec30d2efee5068ca36c128a30b0f2c53c1c07bd78cb6bc1d3be5f", size = 150647, upload-time = "2025-10-14T04:41:01.754Z" }, + { url = "https://files.pythonhosted.org/packages/ad/1f/6a9a593d52e3e8c5d2b167daf8c6b968808efb57ef4c210acb907c365bc4/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:5dbe56a36425d26d6cfb40ce79c314a2e4dd6211d51d6d2191c00bed34f354cc", size = 145110, upload-time = "2025-10-14T04:41:03.231Z" }, + { url = "https://files.pythonhosted.org/packages/30/42/9a52c609e72471b0fc54386dc63c3781a387bb4fe61c20231a4ebcd58bdd/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:5bfbb1b9acf3334612667b61bd3002196fe2a1eb4dd74d247e0f2a4d50ec9bbf", size = 162839, upload-time = "2025-10-14T04:41:04.715Z" }, + { url = "https://files.pythonhosted.org/packages/c4/5b/c0682bbf9f11597073052628ddd38344a3d673fda35a36773f7d19344b23/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:d055ec1e26e441f6187acf818b73564e6e6282709e9bcb5b63f5b23068356a15", size = 150667, upload-time = "2025-10-14T04:41:05.827Z" }, + { url = "https://files.pythonhosted.org/packages/e4/24/a41afeab6f990cf2daf6cb8c67419b63b48cf518e4f56022230840c9bfb2/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:af2d8c67d8e573d6de5bc30cdb27e9b95e49115cd9baad5ddbd1a6207aaa82a9", size = 160535, upload-time = "2025-10-14T04:41:06.938Z" }, + { url = "https://files.pythonhosted.org/packages/2a/e5/6a4ce77ed243c4a50a1fecca6aaaab419628c818a49434be428fe24c9957/charset_normalizer-3.4.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:780236ac706e66881f3b7f2f32dfe90507a09e67d1d454c762cf642e6e1586e0", size = 154816, upload-time = "2025-10-14T04:41:08.101Z" }, + { url = "https://files.pythonhosted.org/packages/a8/ef/89297262b8092b312d29cdb2517cb1237e51db8ecef2e9af5edbe7b683b1/charset_normalizer-3.4.4-cp312-cp312-win32.whl", hash = "sha256:5833d2c39d8896e4e19b689ffc198f08ea58116bee26dea51e362ecc7cd3ed26", size = 99694, upload-time = "2025-10-14T04:41:09.23Z" }, + { url = "https://files.pythonhosted.org/packages/3d/2d/1e5ed9dd3b3803994c155cd9aacb60c82c331bad84daf75bcb9c91b3295e/charset_normalizer-3.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:a79cfe37875f822425b89a82333404539ae63dbdddf97f84dcbc3d339aae9525", size = 107131, upload-time = "2025-10-14T04:41:10.467Z" }, + { url = "https://files.pythonhosted.org/packages/d0/d9/0ed4c7098a861482a7b6a95603edce4c0d9db2311af23da1fb2b75ec26fc/charset_normalizer-3.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:376bec83a63b8021bb5c8ea75e21c4ccb86e7e45ca4eb81146091b56599b80c3", size = 100390, upload-time = "2025-10-14T04:41:11.915Z" }, + { url = "https://files.pythonhosted.org/packages/97/45/4b3a1239bbacd321068ea6e7ac28875b03ab8bc0aa0966452db17cd36714/charset_normalizer-3.4.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:e1f185f86a6f3403aa2420e815904c67b2f9ebc443f045edd0de921108345794", size = 208091, upload-time = "2025-10-14T04:41:13.346Z" }, + { url = "https://files.pythonhosted.org/packages/7d/62/73a6d7450829655a35bb88a88fca7d736f9882a27eacdca2c6d505b57e2e/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b39f987ae8ccdf0d2642338faf2abb1862340facc796048b604ef14919e55ed", size = 147936, upload-time = "2025-10-14T04:41:14.461Z" }, + { url = "https://files.pythonhosted.org/packages/89/c5/adb8c8b3d6625bef6d88b251bbb0d95f8205831b987631ab0c8bb5d937c2/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3162d5d8ce1bb98dd51af660f2121c55d0fa541b46dff7bb9b9f86ea1d87de72", size = 144180, upload-time = "2025-10-14T04:41:15.588Z" }, + { url = "https://files.pythonhosted.org/packages/91/ed/9706e4070682d1cc219050b6048bfd293ccf67b3d4f5a4f39207453d4b99/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:81d5eb2a312700f4ecaa977a8235b634ce853200e828fbadf3a9c50bab278328", size = 161346, upload-time = "2025-10-14T04:41:16.738Z" }, + { url = "https://files.pythonhosted.org/packages/d5/0d/031f0d95e4972901a2f6f09ef055751805ff541511dc1252ba3ca1f80cf5/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5bd2293095d766545ec1a8f612559f6b40abc0eb18bb2f5d1171872d34036ede", size = 158874, upload-time = "2025-10-14T04:41:17.923Z" }, + { url = "https://files.pythonhosted.org/packages/f5/83/6ab5883f57c9c801ce5e5677242328aa45592be8a00644310a008d04f922/charset_normalizer-3.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a8a8b89589086a25749f471e6a900d3f662d1d3b6e2e59dcecf787b1cc3a1894", size = 153076, upload-time = "2025-10-14T04:41:19.106Z" }, + { url = "https://files.pythonhosted.org/packages/75/1e/5ff781ddf5260e387d6419959ee89ef13878229732732ee73cdae01800f2/charset_normalizer-3.4.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc7637e2f80d8530ee4a78e878bce464f70087ce73cf7c1caf142416923b98f1", size = 150601, upload-time = "2025-10-14T04:41:20.245Z" }, + { url = "https://files.pythonhosted.org/packages/d7/57/71be810965493d3510a6ca79b90c19e48696fb1ff964da319334b12677f0/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f8bf04158c6b607d747e93949aa60618b61312fe647a6369f88ce2ff16043490", size = 150376, upload-time = "2025-10-14T04:41:21.398Z" }, + { url = "https://files.pythonhosted.org/packages/e5/d5/c3d057a78c181d007014feb7e9f2e65905a6c4ef182c0ddf0de2924edd65/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:554af85e960429cf30784dd47447d5125aaa3b99a6f0683589dbd27e2f45da44", size = 144825, upload-time = "2025-10-14T04:41:22.583Z" }, + { url = "https://files.pythonhosted.org/packages/e6/8c/d0406294828d4976f275ffbe66f00266c4b3136b7506941d87c00cab5272/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:74018750915ee7ad843a774364e13a3db91682f26142baddf775342c3f5b1133", size = 162583, upload-time = "2025-10-14T04:41:23.754Z" }, + { url = "https://files.pythonhosted.org/packages/d7/24/e2aa1f18c8f15c4c0e932d9287b8609dd30ad56dbe41d926bd846e22fb8d/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:c0463276121fdee9c49b98908b3a89c39be45d86d1dbaa22957e38f6321d4ce3", size = 150366, upload-time = "2025-10-14T04:41:25.27Z" }, + { url = "https://files.pythonhosted.org/packages/e4/5b/1e6160c7739aad1e2df054300cc618b06bf784a7a164b0f238360721ab86/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:362d61fd13843997c1c446760ef36f240cf81d3ebf74ac62652aebaf7838561e", size = 160300, upload-time = "2025-10-14T04:41:26.725Z" }, + { url = "https://files.pythonhosted.org/packages/7a/10/f882167cd207fbdd743e55534d5d9620e095089d176d55cb22d5322f2afd/charset_normalizer-3.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9a26f18905b8dd5d685d6d07b0cdf98a79f3c7a918906af7cc143ea2e164c8bc", size = 154465, upload-time = "2025-10-14T04:41:28.322Z" }, + { url = "https://files.pythonhosted.org/packages/89/66/c7a9e1b7429be72123441bfdbaf2bc13faab3f90b933f664db506dea5915/charset_normalizer-3.4.4-cp313-cp313-win32.whl", hash = "sha256:9b35f4c90079ff2e2edc5b26c0c77925e5d2d255c42c74fdb70fb49b172726ac", size = 99404, upload-time = "2025-10-14T04:41:29.95Z" }, + { url = "https://files.pythonhosted.org/packages/c4/26/b9924fa27db384bdcd97ab83b4f0a8058d96ad9626ead570674d5e737d90/charset_normalizer-3.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:b435cba5f4f750aa6c0a0d92c541fb79f69a387c91e61f1795227e4ed9cece14", size = 107092, upload-time = "2025-10-14T04:41:31.188Z" }, + { url = "https://files.pythonhosted.org/packages/af/8f/3ed4bfa0c0c72a7ca17f0380cd9e4dd842b09f664e780c13cff1dcf2ef1b/charset_normalizer-3.4.4-cp313-cp313-win_arm64.whl", hash = "sha256:542d2cee80be6f80247095cc36c418f7bddd14f4a6de45af91dfad36d817bba2", size = 100408, upload-time = "2025-10-14T04:41:32.624Z" }, + { url = "https://files.pythonhosted.org/packages/2a/35/7051599bd493e62411d6ede36fd5af83a38f37c4767b92884df7301db25d/charset_normalizer-3.4.4-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:da3326d9e65ef63a817ecbcc0df6e94463713b754fe293eaa03da99befb9a5bd", size = 207746, upload-time = "2025-10-14T04:41:33.773Z" }, + { url = "https://files.pythonhosted.org/packages/10/9a/97c8d48ef10d6cd4fcead2415523221624bf58bcf68a802721a6bc807c8f/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8af65f14dc14a79b924524b1e7fffe304517b2bff5a58bf64f30b98bbc5079eb", size = 147889, upload-time = "2025-10-14T04:41:34.897Z" }, + { url = "https://files.pythonhosted.org/packages/10/bf/979224a919a1b606c82bd2c5fa49b5c6d5727aa47b4312bb27b1734f53cd/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:74664978bb272435107de04e36db5a9735e78232b85b77d45cfb38f758efd33e", size = 143641, upload-time = "2025-10-14T04:41:36.116Z" }, + { url = "https://files.pythonhosted.org/packages/ba/33/0ad65587441fc730dc7bd90e9716b30b4702dc7b617e6ba4997dc8651495/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:752944c7ffbfdd10c074dc58ec2d5a8a4cd9493b314d367c14d24c17684ddd14", size = 160779, upload-time = "2025-10-14T04:41:37.229Z" }, + { url = "https://files.pythonhosted.org/packages/67/ed/331d6b249259ee71ddea93f6f2f0a56cfebd46938bde6fcc6f7b9a3d0e09/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1f13550535ad8cff21b8d757a3257963e951d96e20ec82ab44bc64aeb62a191", size = 159035, upload-time = "2025-10-14T04:41:38.368Z" }, + { url = "https://files.pythonhosted.org/packages/67/ff/f6b948ca32e4f2a4576aa129d8bed61f2e0543bf9f5f2b7fc3758ed005c9/charset_normalizer-3.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ecaae4149d99b1c9e7b88bb03e3221956f68fd6d50be2ef061b2381b61d20838", size = 152542, upload-time = "2025-10-14T04:41:39.862Z" }, + { url = "https://files.pythonhosted.org/packages/16/85/276033dcbcc369eb176594de22728541a925b2632f9716428c851b149e83/charset_normalizer-3.4.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cb6254dc36b47a990e59e1068afacdcd02958bdcce30bb50cc1700a8b9d624a6", size = 149524, upload-time = "2025-10-14T04:41:41.319Z" }, + { url = "https://files.pythonhosted.org/packages/9e/f2/6a2a1f722b6aba37050e626530a46a68f74e63683947a8acff92569f979a/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c8ae8a0f02f57a6e61203a31428fa1d677cbe50c93622b4149d5c0f319c1d19e", size = 150395, upload-time = "2025-10-14T04:41:42.539Z" }, + { url = "https://files.pythonhosted.org/packages/60/bb/2186cb2f2bbaea6338cad15ce23a67f9b0672929744381e28b0592676824/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:47cc91b2f4dd2833fddaedd2893006b0106129d4b94fdb6af1f4ce5a9965577c", size = 143680, upload-time = "2025-10-14T04:41:43.661Z" }, + { url = "https://files.pythonhosted.org/packages/7d/a5/bf6f13b772fbb2a90360eb620d52ed8f796f3c5caee8398c3b2eb7b1c60d/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:82004af6c302b5d3ab2cfc4cc5f29db16123b1a8417f2e25f9066f91d4411090", size = 162045, upload-time = "2025-10-14T04:41:44.821Z" }, + { url = "https://files.pythonhosted.org/packages/df/c5/d1be898bf0dc3ef9030c3825e5d3b83f2c528d207d246cbabe245966808d/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2b7d8f6c26245217bd2ad053761201e9f9680f8ce52f0fcd8d0755aeae5b2152", size = 149687, upload-time = "2025-10-14T04:41:46.442Z" }, + { url = "https://files.pythonhosted.org/packages/a5/42/90c1f7b9341eef50c8a1cb3f098ac43b0508413f33affd762855f67a410e/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:799a7a5e4fb2d5898c60b640fd4981d6a25f1c11790935a44ce38c54e985f828", size = 160014, upload-time = "2025-10-14T04:41:47.631Z" }, + { url = "https://files.pythonhosted.org/packages/76/be/4d3ee471e8145d12795ab655ece37baed0929462a86e72372fd25859047c/charset_normalizer-3.4.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:99ae2cffebb06e6c22bdc25801d7b30f503cc87dbd283479e7b606f70aff57ec", size = 154044, upload-time = "2025-10-14T04:41:48.81Z" }, + { url = "https://files.pythonhosted.org/packages/b0/6f/8f7af07237c34a1defe7defc565a9bc1807762f672c0fde711a4b22bf9c0/charset_normalizer-3.4.4-cp314-cp314-win32.whl", hash = "sha256:f9d332f8c2a2fcbffe1378594431458ddbef721c1769d78e2cbc06280d8155f9", size = 99940, upload-time = "2025-10-14T04:41:49.946Z" }, + { url = "https://files.pythonhosted.org/packages/4b/51/8ade005e5ca5b0d80fb4aff72a3775b325bdc3d27408c8113811a7cbe640/charset_normalizer-3.4.4-cp314-cp314-win_amd64.whl", hash = "sha256:8a6562c3700cce886c5be75ade4a5db4214fda19fede41d9792d100288d8f94c", size = 107104, upload-time = "2025-10-14T04:41:51.051Z" }, + { url = "https://files.pythonhosted.org/packages/da/5f/6b8f83a55bb8278772c5ae54a577f3099025f9ade59d0136ac24a0df4bde/charset_normalizer-3.4.4-cp314-cp314-win_arm64.whl", hash = "sha256:de00632ca48df9daf77a2c65a484531649261ec9f25489917f09e455cb09ddb2", size = 100743, upload-time = "2025-10-14T04:41:52.122Z" }, + { url = "https://files.pythonhosted.org/packages/0a/4c/925909008ed5a988ccbb72dcc897407e5d6d3bd72410d69e051fc0c14647/charset_normalizer-3.4.4-py3-none-any.whl", hash = "sha256:7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f", size = 53402, upload-time = "2025-10-14T04:42:31.76Z" }, +] + +[[package]] +name = "click" +version = "8.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/46/61/de6cd827efad202d7057d93e0fed9294b96952e188f7384832791c7b2254/click-8.3.0.tar.gz", hash = "sha256:e7b8232224eba16f4ebe410c25ced9f7875cb5f3263ffc93cc3e8da705e229c4", size = 276943, upload-time = "2025-09-18T17:32:23.696Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/d3/9dcc0f5797f070ec8edf30fbadfb200e71d9db6b84d211e3b2085a7589a0/click-8.3.0-py3-none-any.whl", hash = "sha256:9b9f285302c6e3064f4330c05f05b81945b2a39544279343e6e7c5f27a9baddc", size = 107295, upload-time = "2025-09-18T17:32:22.42Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "coverage" +version = "7.11.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d2/59/9698d57a3b11704c7b89b21d69e9d23ecf80d538cabb536c8b63f4a12322/coverage-7.11.3.tar.gz", hash = "sha256:0f59387f5e6edbbffec2281affb71cdc85e0776c1745150a3ab9b6c1d016106b", size = 815210, upload-time = "2025-11-10T00:13:17.18Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fd/68/b53157115ef76d50d1d916d6240e5cd5b3c14dba8ba1b984632b8221fc2e/coverage-7.11.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0c986537abca9b064510f3fd104ba33e98d3036608c7f2f5537f869bc10e1ee5", size = 216377, upload-time = "2025-11-10T00:10:27.317Z" }, + { url = "https://files.pythonhosted.org/packages/14/c1/d2f9d8e37123fe6e7ab8afcaab8195f13bc84a8b2f449a533fd4812ac724/coverage-7.11.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:28c5251b3ab1d23e66f1130ca0c419747edfbcb4690de19467cd616861507af7", size = 216892, upload-time = "2025-11-10T00:10:30.624Z" }, + { url = "https://files.pythonhosted.org/packages/83/73/18f05d8010149b650ed97ee5c9f7e4ae68c05c7d913391523281e41c2495/coverage-7.11.3-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4f2bb4ee8dd40f9b2a80bb4adb2aecece9480ba1fa60d9382e8c8e0bd558e2eb", size = 243650, upload-time = "2025-11-10T00:10:32.392Z" }, + { url = "https://files.pythonhosted.org/packages/63/3c/c0cbb296c0ecc6dcbd70f4b473fcd7fe4517bbef8b09f4326d78f38adb87/coverage-7.11.3-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:e5f4bfac975a2138215a38bda599ef00162e4143541cf7dd186da10a7f8e69f1", size = 245478, upload-time = "2025-11-10T00:10:34.157Z" }, + { url = "https://files.pythonhosted.org/packages/b9/9a/dad288cf9faa142a14e75e39dc646d968b93d74e15c83e9b13fd628f2cb3/coverage-7.11.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8f4cbfff5cf01fa07464439a8510affc9df281535f41a1f5312fbd2b59b4ab5c", size = 247337, upload-time = "2025-11-10T00:10:35.655Z" }, + { url = "https://files.pythonhosted.org/packages/e3/ba/f6148ebf5547b3502013175e41bf3107a4e34b7dd19f9793a6ce0e1cd61f/coverage-7.11.3-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:31663572f20bf3406d7ac00d6981c7bbbcec302539d26b5ac596ca499664de31", size = 244328, upload-time = "2025-11-10T00:10:37.459Z" }, + { url = "https://files.pythonhosted.org/packages/e6/4d/b93784d0b593c5df89a0d48cbbd2d0963e0ca089eaf877405849792e46d3/coverage-7.11.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:9799bd6a910961cb666196b8583ed0ee125fa225c6fdee2cbf00232b861f29d2", size = 245381, upload-time = "2025-11-10T00:10:39.229Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8d/6735bfd4f0f736d457642ee056a570d704c9d57fdcd5c91ea5d6b15c944e/coverage-7.11.3-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:097acc18bedf2c6e3144eaf09b5f6034926c3c9bb9e10574ffd0942717232507", size = 243390, upload-time = "2025-11-10T00:10:40.984Z" }, + { url = "https://files.pythonhosted.org/packages/db/3d/7ba68ed52d1873d450aefd8d2f5a353e67b421915cb6c174e4222c7b918c/coverage-7.11.3-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:6f033dec603eea88204589175782290a038b436105a8f3637a81c4359df27832", size = 243654, upload-time = "2025-11-10T00:10:42.496Z" }, + { url = "https://files.pythonhosted.org/packages/14/26/be2720c4c7bf73c6591ae4ab503a7b5a31c7a60ced6dba855cfcb4a5af7e/coverage-7.11.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:dd9ca2d44ed8018c90efb72f237a2a140325a4c3339971364d758e78b175f58e", size = 244272, upload-time = "2025-11-10T00:10:44.39Z" }, + { url = "https://files.pythonhosted.org/packages/90/20/086f5697780df146dbc0df4ae9b6db2b23ddf5aa550f977b2825137728e9/coverage-7.11.3-cp310-cp310-win32.whl", hash = "sha256:900580bc99c145e2561ea91a2d207e639171870d8a18756eb57db944a017d4bb", size = 218969, upload-time = "2025-11-10T00:10:45.863Z" }, + { url = "https://files.pythonhosted.org/packages/98/5c/cc6faba945ede5088156da7770e30d06c38b8591785ac99bcfb2074f9ef6/coverage-7.11.3-cp310-cp310-win_amd64.whl", hash = "sha256:c8be5bfcdc7832011b2652db29ed7672ce9d353dd19bce5272ca33dbcf60aaa8", size = 219903, upload-time = "2025-11-10T00:10:47.676Z" }, + { url = "https://files.pythonhosted.org/packages/92/92/43a961c0f57b666d01c92bcd960c7f93677de5e4ee7ca722564ad6dee0fa/coverage-7.11.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:200bb89fd2a8a07780eafcdff6463104dec459f3c838d980455cfa84f5e5e6e1", size = 216504, upload-time = "2025-11-10T00:10:49.524Z" }, + { url = "https://files.pythonhosted.org/packages/5d/5c/dbfc73329726aef26dbf7fefef81b8a2afd1789343a579ea6d99bf15d26e/coverage-7.11.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8d264402fc179776d43e557e1ca4a7d953020d3ee95f7ec19cc2c9d769277f06", size = 217006, upload-time = "2025-11-10T00:10:51.32Z" }, + { url = "https://files.pythonhosted.org/packages/a5/e0/878c84fb6661964bc435beb1e28c050650aa30e4c1cdc12341e298700bda/coverage-7.11.3-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:385977d94fc155f8731c895accdfcc3dd0d9dd9ef90d102969df95d3c637ab80", size = 247415, upload-time = "2025-11-10T00:10:52.805Z" }, + { url = "https://files.pythonhosted.org/packages/56/9e/0677e78b1e6a13527f39c4b39c767b351e256b333050539861c63f98bd61/coverage-7.11.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0542ddf6107adbd2592f29da9f59f5d9cff7947b5bb4f734805085c327dcffaa", size = 249332, upload-time = "2025-11-10T00:10:54.35Z" }, + { url = "https://files.pythonhosted.org/packages/54/90/25fc343e4ce35514262451456de0953bcae5b37dda248aed50ee51234cee/coverage-7.11.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d60bf4d7f886989ddf80e121a7f4d140d9eac91f1d2385ce8eb6bda93d563297", size = 251443, upload-time = "2025-11-10T00:10:55.832Z" }, + { url = "https://files.pythonhosted.org/packages/13/56/bc02bbc890fd8b155a64285c93e2ab38647486701ac9c980d457cdae857a/coverage-7.11.3-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c0a3b6e32457535df0d41d2d895da46434706dd85dbaf53fbc0d3bd7d914b362", size = 247554, upload-time = "2025-11-10T00:10:57.829Z" }, + { url = "https://files.pythonhosted.org/packages/0f/ab/0318888d091d799a82d788c1e8d8bd280f1d5c41662bbb6e11187efe33e8/coverage-7.11.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:876a3ee7fd2613eb79602e4cdb39deb6b28c186e76124c3f29e580099ec21a87", size = 249139, upload-time = "2025-11-10T00:10:59.465Z" }, + { url = "https://files.pythonhosted.org/packages/79/d8/3ee50929c4cd36fcfcc0f45d753337001001116c8a5b8dd18d27ea645737/coverage-7.11.3-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:a730cd0824e8083989f304e97b3f884189efb48e2151e07f57e9e138ab104200", size = 247209, upload-time = "2025-11-10T00:11:01.432Z" }, + { url = "https://files.pythonhosted.org/packages/94/7c/3cf06e327401c293e60c962b4b8a2ceb7167c1a428a02be3adbd1d7c7e4c/coverage-7.11.3-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:b5cd111d3ab7390be0c07ad839235d5ad54d2ca497b5f5db86896098a77180a4", size = 246936, upload-time = "2025-11-10T00:11:02.964Z" }, + { url = "https://files.pythonhosted.org/packages/99/0b/ffc03dc8f4083817900fd367110015ef4dd227b37284104a5eb5edc9c106/coverage-7.11.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:074e6a5cd38e06671580b4d872c1a67955d4e69639e4b04e87fc03b494c1f060", size = 247835, upload-time = "2025-11-10T00:11:04.405Z" }, + { url = "https://files.pythonhosted.org/packages/17/4d/dbe54609ee066553d0bcdcdf108b177c78dab836292bee43f96d6a5674d1/coverage-7.11.3-cp311-cp311-win32.whl", hash = "sha256:86d27d2dd7c7c5a44710565933c7dc9cd70e65ef97142e260d16d555667deef7", size = 218994, upload-time = "2025-11-10T00:11:05.966Z" }, + { url = "https://files.pythonhosted.org/packages/94/11/8e7155df53f99553ad8114054806c01a2c0b08f303ea7e38b9831652d83d/coverage-7.11.3-cp311-cp311-win_amd64.whl", hash = "sha256:ca90ef33a152205fb6f2f0c1f3e55c50df4ef049bb0940ebba666edd4cdebc55", size = 219926, upload-time = "2025-11-10T00:11:07.936Z" }, + { url = "https://files.pythonhosted.org/packages/1f/93/bea91b6a9e35d89c89a1cd5824bc72e45151a9c2a9ca0b50d9e9a85e3ae3/coverage-7.11.3-cp311-cp311-win_arm64.whl", hash = "sha256:56f909a40d68947ef726ce6a34eb38f0ed241ffbe55c5007c64e616663bcbafc", size = 218599, upload-time = "2025-11-10T00:11:09.578Z" }, + { url = "https://files.pythonhosted.org/packages/c2/39/af056ec7a27c487e25c7f6b6e51d2ee9821dba1863173ddf4dc2eebef4f7/coverage-7.11.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5b771b59ac0dfb7f139f70c85b42717ef400a6790abb6475ebac1ecee8de782f", size = 216676, upload-time = "2025-11-10T00:11:11.566Z" }, + { url = "https://files.pythonhosted.org/packages/3c/f8/21126d34b174d037b5d01bea39077725cbb9a0da94a95c5f96929c695433/coverage-7.11.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:603c4414125fc9ae9000f17912dcfd3d3eb677d4e360b85206539240c96ea76e", size = 217034, upload-time = "2025-11-10T00:11:13.12Z" }, + { url = "https://files.pythonhosted.org/packages/d5/3f/0fd35f35658cdd11f7686303214bd5908225838f374db47f9e457c8d6df8/coverage-7.11.3-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:77ffb3b7704eb7b9b3298a01fe4509cef70117a52d50bcba29cffc5f53dd326a", size = 248531, upload-time = "2025-11-10T00:11:15.023Z" }, + { url = "https://files.pythonhosted.org/packages/8f/59/0bfc5900fc15ce4fd186e092451de776bef244565c840c9c026fd50857e1/coverage-7.11.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4d4ca49f5ba432b0755ebb0fc3a56be944a19a16bb33802264bbc7311622c0d1", size = 251290, upload-time = "2025-11-10T00:11:16.628Z" }, + { url = "https://files.pythonhosted.org/packages/71/88/d5c184001fa2ac82edf1b8f2cd91894d2230d7c309e937c54c796176e35b/coverage-7.11.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:05fd3fb6edff0c98874d752013588836f458261e5eba587afe4c547bba544afd", size = 252375, upload-time = "2025-11-10T00:11:18.249Z" }, + { url = "https://files.pythonhosted.org/packages/5c/29/f60af9f823bf62c7a00ce1ac88441b9a9a467e499493e5cc65028c8b8dd2/coverage-7.11.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0e920567f8c3a3ce68ae5a42cf7c2dc4bb6cc389f18bff2235dd8c03fa405de5", size = 248946, upload-time = "2025-11-10T00:11:20.202Z" }, + { url = "https://files.pythonhosted.org/packages/67/16/4662790f3b1e03fce5280cad93fd18711c35980beb3c6f28dca41b5230c6/coverage-7.11.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4bec8c7160688bd5a34e65c82984b25409563134d63285d8943d0599efbc448e", size = 250310, upload-time = "2025-11-10T00:11:21.689Z" }, + { url = "https://files.pythonhosted.org/packages/8f/75/dd6c2e28308a83e5fc1ee602f8204bd3aa5af685c104cb54499230cf56db/coverage-7.11.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:adb9b7b42c802bd8cb3927de8c1c26368ce50c8fdaa83a9d8551384d77537044", size = 248461, upload-time = "2025-11-10T00:11:23.384Z" }, + { url = "https://files.pythonhosted.org/packages/16/fe/b71af12be9f59dc9eb060688fa19a95bf3223f56c5af1e9861dfa2275d2c/coverage-7.11.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:c8f563b245b4ddb591e99f28e3cd140b85f114b38b7f95b2e42542f0603eb7d7", size = 248039, upload-time = "2025-11-10T00:11:25.07Z" }, + { url = "https://files.pythonhosted.org/packages/11/b8/023b2003a2cd96bdf607afe03d9b96c763cab6d76e024abe4473707c4eb8/coverage-7.11.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e2a96fdc7643c9517a317553aca13b5cae9bad9a5f32f4654ce247ae4d321405", size = 249903, upload-time = "2025-11-10T00:11:26.992Z" }, + { url = "https://files.pythonhosted.org/packages/d6/ee/5f1076311aa67b1fa4687a724cc044346380e90ce7d94fec09fd384aa5fd/coverage-7.11.3-cp312-cp312-win32.whl", hash = "sha256:e8feeb5e8705835f0622af0fe7ff8d5cb388948454647086494d6c41ec142c2e", size = 219201, upload-time = "2025-11-10T00:11:28.619Z" }, + { url = "https://files.pythonhosted.org/packages/4f/24/d21688f48fe9fcc778956680fd5aaf69f4e23b245b7c7a4755cbd421d25b/coverage-7.11.3-cp312-cp312-win_amd64.whl", hash = "sha256:abb903ffe46bd319d99979cdba350ae7016759bb69f47882242f7b93f3356055", size = 220012, upload-time = "2025-11-10T00:11:30.234Z" }, + { url = "https://files.pythonhosted.org/packages/4f/9e/d5eb508065f291456378aa9b16698b8417d87cb084c2b597f3beb00a8084/coverage-7.11.3-cp312-cp312-win_arm64.whl", hash = "sha256:1451464fd855d9bd000c19b71bb7dafea9ab815741fb0bd9e813d9b671462d6f", size = 218652, upload-time = "2025-11-10T00:11:32.165Z" }, + { url = "https://files.pythonhosted.org/packages/6d/f6/d8572c058211c7d976f24dab71999a565501fb5b3cdcb59cf782f19c4acb/coverage-7.11.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84b892e968164b7a0498ddc5746cdf4e985700b902128421bb5cec1080a6ee36", size = 216694, upload-time = "2025-11-10T00:11:34.296Z" }, + { url = "https://files.pythonhosted.org/packages/4a/f6/b6f9764d90c0ce1bce8d995649fa307fff21f4727b8d950fa2843b7b0de5/coverage-7.11.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f761dbcf45e9416ec4698e1a7649248005f0064ce3523a47402d1bff4af2779e", size = 217065, upload-time = "2025-11-10T00:11:36.281Z" }, + { url = "https://files.pythonhosted.org/packages/a5/8d/a12cb424063019fd077b5be474258a0ed8369b92b6d0058e673f0a945982/coverage-7.11.3-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1410bac9e98afd9623f53876fae7d8a5db9f5a0ac1c9e7c5188463cb4b3212e2", size = 248062, upload-time = "2025-11-10T00:11:37.903Z" }, + { url = "https://files.pythonhosted.org/packages/7f/9c/dab1a4e8e75ce053d14259d3d7485d68528a662e286e184685ea49e71156/coverage-7.11.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:004cdcea3457c0ea3233622cd3464c1e32ebba9b41578421097402bee6461b63", size = 250657, upload-time = "2025-11-10T00:11:39.509Z" }, + { url = "https://files.pythonhosted.org/packages/3f/89/a14f256438324f33bae36f9a1a7137729bf26b0a43f5eda60b147ec7c8c7/coverage-7.11.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8f067ada2c333609b52835ca4d4868645d3b63ac04fb2b9a658c55bba7f667d3", size = 251900, upload-time = "2025-11-10T00:11:41.372Z" }, + { url = "https://files.pythonhosted.org/packages/04/07/75b0d476eb349f1296486b1418b44f2d8780cc8db47493de3755e5340076/coverage-7.11.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:07bc7745c945a6d95676953e86ba7cebb9f11de7773951c387f4c07dc76d03f5", size = 248254, upload-time = "2025-11-10T00:11:43.27Z" }, + { url = "https://files.pythonhosted.org/packages/5a/4b/0c486581fa72873489ca092c52792d008a17954aa352809a7cbe6cf0bf07/coverage-7.11.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:8bba7e4743e37484ae17d5c3b8eb1ce78b564cb91b7ace2e2182b25f0f764cb5", size = 250041, upload-time = "2025-11-10T00:11:45.274Z" }, + { url = "https://files.pythonhosted.org/packages/af/a3/0059dafb240ae3e3291f81b8de00e9c511d3dd41d687a227dd4b529be591/coverage-7.11.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:fbffc22d80d86fbe456af9abb17f7a7766e7b2101f7edaacc3535501691563f7", size = 248004, upload-time = "2025-11-10T00:11:46.93Z" }, + { url = "https://files.pythonhosted.org/packages/83/93/967d9662b1eb8c7c46917dcc7e4c1875724ac3e73c3cb78e86d7a0ac719d/coverage-7.11.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:0dba4da36730e384669e05b765a2c49f39514dd3012fcc0398dd66fba8d746d5", size = 247828, upload-time = "2025-11-10T00:11:48.563Z" }, + { url = "https://files.pythonhosted.org/packages/4c/1c/5077493c03215701e212767e470b794548d817dfc6247a4718832cc71fac/coverage-7.11.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ae12fe90b00b71a71b69f513773310782ce01d5f58d2ceb2b7c595ab9d222094", size = 249588, upload-time = "2025-11-10T00:11:50.581Z" }, + { url = "https://files.pythonhosted.org/packages/7f/a5/77f64de461016e7da3e05d7d07975c89756fe672753e4cf74417fc9b9052/coverage-7.11.3-cp313-cp313-win32.whl", hash = "sha256:12d821de7408292530b0d241468b698bce18dd12ecaf45316149f53877885f8c", size = 219223, upload-time = "2025-11-10T00:11:52.184Z" }, + { url = "https://files.pythonhosted.org/packages/ed/1c/ec51a3c1a59d225b44bdd3a4d463135b3159a535c2686fac965b698524f4/coverage-7.11.3-cp313-cp313-win_amd64.whl", hash = "sha256:6bb599052a974bb6cedfa114f9778fedfad66854107cf81397ec87cb9b8fbcf2", size = 220033, upload-time = "2025-11-10T00:11:53.871Z" }, + { url = "https://files.pythonhosted.org/packages/01/ec/e0ce39746ed558564c16f2cc25fa95ce6fc9fa8bfb3b9e62855d4386b886/coverage-7.11.3-cp313-cp313-win_arm64.whl", hash = "sha256:bb9d7efdb063903b3fdf77caec7b77c3066885068bdc0d44bc1b0c171033f944", size = 218661, upload-time = "2025-11-10T00:11:55.597Z" }, + { url = "https://files.pythonhosted.org/packages/46/cb/483f130bc56cbbad2638248915d97b185374d58b19e3cc3107359715949f/coverage-7.11.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:fb58da65e3339b3dbe266b607bb936efb983d86b00b03eb04c4ad5b442c58428", size = 217389, upload-time = "2025-11-10T00:11:57.59Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ae/81f89bae3afef75553cf10e62feb57551535d16fd5859b9ee5a2a97ddd27/coverage-7.11.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:8d16bbe566e16a71d123cd66382c1315fcd520c7573652a8074a8fe281b38c6a", size = 217742, upload-time = "2025-11-10T00:11:59.519Z" }, + { url = "https://files.pythonhosted.org/packages/db/6e/a0fb897041949888191a49c36afd5c6f5d9f5fd757e0b0cd99ec198a324b/coverage-7.11.3-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:a8258f10059b5ac837232c589a350a2df4a96406d6d5f2a09ec587cbdd539655", size = 259049, upload-time = "2025-11-10T00:12:01.592Z" }, + { url = "https://files.pythonhosted.org/packages/d9/b6/d13acc67eb402d91eb94b9bd60593411799aed09ce176ee8d8c0e39c94ca/coverage-7.11.3-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4c5627429f7fbff4f4131cfdd6abd530734ef7761116811a707b88b7e205afd7", size = 261113, upload-time = "2025-11-10T00:12:03.639Z" }, + { url = "https://files.pythonhosted.org/packages/ea/07/a6868893c48191d60406df4356aa7f0f74e6de34ef1f03af0d49183e0fa1/coverage-7.11.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:465695268414e149bab754c54b0c45c8ceda73dd4a5c3ba255500da13984b16d", size = 263546, upload-time = "2025-11-10T00:12:05.485Z" }, + { url = "https://files.pythonhosted.org/packages/24/e5/28598f70b2c1098332bac47925806353b3313511d984841111e6e760c016/coverage-7.11.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4ebcddfcdfb4c614233cff6e9a3967a09484114a8b2e4f2c7a62dc83676ba13f", size = 258260, upload-time = "2025-11-10T00:12:07.137Z" }, + { url = "https://files.pythonhosted.org/packages/0e/58/58e2d9e6455a4ed746a480c4b9cf96dc3cb2a6b8f3efbee5efd33ae24b06/coverage-7.11.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:13b2066303a1c1833c654d2af0455bb009b6e1727b3883c9964bc5c2f643c1d0", size = 261121, upload-time = "2025-11-10T00:12:09.138Z" }, + { url = "https://files.pythonhosted.org/packages/17/57/38803eefb9b0409934cbc5a14e3978f0c85cb251d2b6f6a369067a7105a0/coverage-7.11.3-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:d8750dd20362a1b80e3cf84f58013d4672f89663aee457ea59336df50fab6739", size = 258736, upload-time = "2025-11-10T00:12:11.195Z" }, + { url = "https://files.pythonhosted.org/packages/a8/f3/f94683167156e93677b3442be1d4ca70cb33718df32a2eea44a5898f04f6/coverage-7.11.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:ab6212e62ea0e1006531a2234e209607f360d98d18d532c2fa8e403c1afbdd71", size = 257625, upload-time = "2025-11-10T00:12:12.843Z" }, + { url = "https://files.pythonhosted.org/packages/87/ed/42d0bf1bc6bfa7d65f52299a31daaa866b4c11000855d753857fe78260ac/coverage-7.11.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:a6b17c2b5e0b9bb7702449200f93e2d04cb04b1414c41424c08aa1e5d352da76", size = 259827, upload-time = "2025-11-10T00:12:15.128Z" }, + { url = "https://files.pythonhosted.org/packages/d3/76/5682719f5d5fbedb0c624c9851ef847407cae23362deb941f185f489c54e/coverage-7.11.3-cp313-cp313t-win32.whl", hash = "sha256:426559f105f644b69290ea414e154a0d320c3ad8a2bb75e62884731f69cf8e2c", size = 219897, upload-time = "2025-11-10T00:12:17.274Z" }, + { url = "https://files.pythonhosted.org/packages/10/e0/1da511d0ac3d39e6676fa6cc5ec35320bbf1cebb9b24e9ee7548ee4e931a/coverage-7.11.3-cp313-cp313t-win_amd64.whl", hash = "sha256:90a96fcd824564eae6137ec2563bd061d49a32944858d4bdbae5c00fb10e76ac", size = 220959, upload-time = "2025-11-10T00:12:19.292Z" }, + { url = "https://files.pythonhosted.org/packages/e5/9d/e255da6a04e9ec5f7b633c54c0fdfa221a9e03550b67a9c83217de12e96c/coverage-7.11.3-cp313-cp313t-win_arm64.whl", hash = "sha256:1e33d0bebf895c7a0905fcfaff2b07ab900885fc78bba2a12291a2cfbab014cc", size = 219234, upload-time = "2025-11-10T00:12:21.251Z" }, + { url = "https://files.pythonhosted.org/packages/84/d6/634ec396e45aded1772dccf6c236e3e7c9604bc47b816e928f32ce7987d1/coverage-7.11.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fdc5255eb4815babcdf236fa1a806ccb546724c8a9b129fd1ea4a5448a0bf07c", size = 216746, upload-time = "2025-11-10T00:12:23.089Z" }, + { url = "https://files.pythonhosted.org/packages/28/76/1079547f9d46f9c7c7d0dad35b6873c98bc5aa721eeabceafabd722cd5e7/coverage-7.11.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fe3425dc6021f906c6325d3c415e048e7cdb955505a94f1eb774dafc779ba203", size = 217077, upload-time = "2025-11-10T00:12:24.863Z" }, + { url = "https://files.pythonhosted.org/packages/2d/71/6ad80d6ae0d7cb743b9a98df8bb88b1ff3dc54491508a4a97549c2b83400/coverage-7.11.3-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4ca5f876bf41b24378ee67c41d688155f0e54cdc720de8ef9ad6544005899240", size = 248122, upload-time = "2025-11-10T00:12:26.553Z" }, + { url = "https://files.pythonhosted.org/packages/20/1d/784b87270784b0b88e4beec9d028e8d58f73ae248032579c63ad2ac6f69a/coverage-7.11.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9061a3e3c92b27fd8036dafa26f25d95695b6aa2e4514ab16a254f297e664f83", size = 250638, upload-time = "2025-11-10T00:12:28.555Z" }, + { url = "https://files.pythonhosted.org/packages/f5/26/b6dd31e23e004e9de84d1a8672cd3d73e50f5dae65dbd0f03fa2cdde6100/coverage-7.11.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:abcea3b5f0dc44e1d01c27090bc32ce6ffb7aa665f884f1890710454113ea902", size = 251972, upload-time = "2025-11-10T00:12:30.246Z" }, + { url = "https://files.pythonhosted.org/packages/c9/ef/f9c64d76faac56b82daa036b34d4fe9ab55eb37f22062e68e9470583e688/coverage-7.11.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:68c4eb92997dbaaf839ea13527be463178ac0ddd37a7ac636b8bc11a51af2428", size = 248147, upload-time = "2025-11-10T00:12:32.195Z" }, + { url = "https://files.pythonhosted.org/packages/b6/eb/5b666f90a8f8053bd264a1ce693d2edef2368e518afe70680070fca13ecd/coverage-7.11.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:149eccc85d48c8f06547534068c41d69a1a35322deaa4d69ba1561e2e9127e75", size = 249995, upload-time = "2025-11-10T00:12:33.969Z" }, + { url = "https://files.pythonhosted.org/packages/eb/7b/871e991ffb5d067f8e67ffb635dabba65b231d6e0eb724a4a558f4a702a5/coverage-7.11.3-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:08c0bcf932e47795c49f0406054824b9d45671362dfc4269e0bc6e4bff010704", size = 247948, upload-time = "2025-11-10T00:12:36.341Z" }, + { url = "https://files.pythonhosted.org/packages/0a/8b/ce454f0af9609431b06dbe5485fc9d1c35ddc387e32ae8e374f49005748b/coverage-7.11.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:39764c6167c82d68a2d8c97c33dba45ec0ad9172570860e12191416f4f8e6e1b", size = 247770, upload-time = "2025-11-10T00:12:38.167Z" }, + { url = "https://files.pythonhosted.org/packages/61/8f/79002cb58a61dfbd2085de7d0a46311ef2476823e7938db80284cedd2428/coverage-7.11.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3224c7baf34e923ffc78cb45e793925539d640d42c96646db62dbd61bbcfa131", size = 249431, upload-time = "2025-11-10T00:12:40.354Z" }, + { url = "https://files.pythonhosted.org/packages/58/cc/d06685dae97468ed22999440f2f2f5060940ab0e7952a7295f236d98cce7/coverage-7.11.3-cp314-cp314-win32.whl", hash = "sha256:c713c1c528284d636cd37723b0b4c35c11190da6f932794e145fc40f8210a14a", size = 219508, upload-time = "2025-11-10T00:12:42.231Z" }, + { url = "https://files.pythonhosted.org/packages/5f/ed/770cd07706a3598c545f62d75adf2e5bd3791bffccdcf708ec383ad42559/coverage-7.11.3-cp314-cp314-win_amd64.whl", hash = "sha256:c381a252317f63ca0179d2c7918e83b99a4ff3101e1b24849b999a00f9cd4f86", size = 220325, upload-time = "2025-11-10T00:12:44.065Z" }, + { url = "https://files.pythonhosted.org/packages/ee/ac/6a1c507899b6fb1b9a56069954365f655956bcc648e150ce64c2b0ecbed8/coverage-7.11.3-cp314-cp314-win_arm64.whl", hash = "sha256:3e33a968672be1394eded257ec10d4acbb9af2ae263ba05a99ff901bb863557e", size = 218899, upload-time = "2025-11-10T00:12:46.18Z" }, + { url = "https://files.pythonhosted.org/packages/9a/58/142cd838d960cd740654d094f7b0300d7b81534bb7304437d2439fb685fb/coverage-7.11.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:f9c96a29c6d65bd36a91f5634fef800212dff69dacdb44345c4c9783943ab0df", size = 217471, upload-time = "2025-11-10T00:12:48.392Z" }, + { url = "https://files.pythonhosted.org/packages/bc/2c/2f44d39eb33e41ab3aba80571daad32e0f67076afcf27cb443f9e5b5a3ee/coverage-7.11.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2ec27a7a991d229213c8070d31e3ecf44d005d96a9edc30c78eaeafaa421c001", size = 217742, upload-time = "2025-11-10T00:12:50.182Z" }, + { url = "https://files.pythonhosted.org/packages/32/76/8ebc66c3c699f4de3174a43424c34c086323cd93c4930ab0f835731c443a/coverage-7.11.3-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:72c8b494bd20ae1c58528b97c4a67d5cfeafcb3845c73542875ecd43924296de", size = 259120, upload-time = "2025-11-10T00:12:52.451Z" }, + { url = "https://files.pythonhosted.org/packages/19/89/78a3302b9595f331b86e4f12dfbd9252c8e93d97b8631500888f9a3a2af7/coverage-7.11.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:60ca149a446da255d56c2a7a813b51a80d9497a62250532598d249b3cdb1a926", size = 261229, upload-time = "2025-11-10T00:12:54.667Z" }, + { url = "https://files.pythonhosted.org/packages/07/59/1a9c0844dadef2a6efac07316d9781e6c5a3f3ea7e5e701411e99d619bfd/coverage-7.11.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb5069074db19a534de3859c43eec78e962d6d119f637c41c8e028c5ab3f59dd", size = 263642, upload-time = "2025-11-10T00:12:56.841Z" }, + { url = "https://files.pythonhosted.org/packages/37/86/66c15d190a8e82eee777793cabde730640f555db3c020a179625a2ad5320/coverage-7.11.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ac5d5329c9c942bbe6295f4251b135d860ed9f86acd912d418dce186de7c19ac", size = 258193, upload-time = "2025-11-10T00:12:58.687Z" }, + { url = "https://files.pythonhosted.org/packages/c7/c7/4a4aeb25cb6f83c3ec4763e5f7cc78da1c6d4ef9e22128562204b7f39390/coverage-7.11.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e22539b676fafba17f0a90ac725f029a309eb6e483f364c86dcadee060429d46", size = 261107, upload-time = "2025-11-10T00:13:00.502Z" }, + { url = "https://files.pythonhosted.org/packages/ed/91/b986b5035f23cf0272446298967ecdd2c3c0105ee31f66f7e6b6948fd7f8/coverage-7.11.3-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:2376e8a9c889016f25472c452389e98bc6e54a19570b107e27cde9d47f387b64", size = 258717, upload-time = "2025-11-10T00:13:02.747Z" }, + { url = "https://files.pythonhosted.org/packages/f0/c7/6c084997f5a04d050c513545d3344bfa17bd3b67f143f388b5757d762b0b/coverage-7.11.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:4234914b8c67238a3c4af2bba648dc716aa029ca44d01f3d51536d44ac16854f", size = 257541, upload-time = "2025-11-10T00:13:04.689Z" }, + { url = "https://files.pythonhosted.org/packages/3b/c5/38e642917e406930cb67941210a366ccffa767365c8f8d9ec0f465a8b218/coverage-7.11.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f0b4101e2b3c6c352ff1f70b3a6fcc7c17c1ab1a91ccb7a33013cb0782af9820", size = 259872, upload-time = "2025-11-10T00:13:06.559Z" }, + { url = "https://files.pythonhosted.org/packages/b7/67/5e812979d20c167f81dbf9374048e0193ebe64c59a3d93d7d947b07865fa/coverage-7.11.3-cp314-cp314t-win32.whl", hash = "sha256:305716afb19133762e8cf62745c46c4853ad6f9eeba54a593e373289e24ea237", size = 220289, upload-time = "2025-11-10T00:13:08.635Z" }, + { url = "https://files.pythonhosted.org/packages/24/3a/b72573802672b680703e0df071faadfab7dcd4d659aaaffc4626bc8bbde8/coverage-7.11.3-cp314-cp314t-win_amd64.whl", hash = "sha256:9245bd392572b9f799261c4c9e7216bafc9405537d0f4ce3ad93afe081a12dc9", size = 221398, upload-time = "2025-11-10T00:13:10.734Z" }, + { url = "https://files.pythonhosted.org/packages/f8/4e/649628f28d38bad81e4e8eb3f78759d20ac173e3c456ac629123815feb40/coverage-7.11.3-cp314-cp314t-win_arm64.whl", hash = "sha256:9a1d577c20b4334e5e814c3d5fe07fa4a8c3ae42a601945e8d7940bab811d0bd", size = 219435, upload-time = "2025-11-10T00:13:12.712Z" }, + { url = "https://files.pythonhosted.org/packages/19/8f/92bdd27b067204b99f396a1414d6342122f3e2663459baf787108a6b8b84/coverage-7.11.3-py3-none-any.whl", hash = "sha256:351511ae28e2509c8d8cae5311577ea7dd511ab8e746ffc8814a0896c3d33fbe", size = 208478, upload-time = "2025-11-10T00:13:14.908Z" }, +] + +[package.optional-dependencies] +toml = [ + { name = "tomli", marker = "python_full_version <= '3.11'" }, +] + +[[package]] +name = "cryptography" +version = "48.0.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi", marker = "platform_python_implementation != 'PyPy'" }, + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/12/45/870e7f4bef50e5f53b9f51d4428aee5290eedf58ba443f16b1ebb7ab8e66/cryptography-48.0.1.tar.gz", hash = "sha256:266f4ee051abb2f725b74ef8072b521ce1feacf685a3364fa6a6b45548db791a", size = 832989, upload-time = "2026-06-09T22:32:31.8Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1b/bc/ee4137cbbe105652c0ee4252792b78fc8e7afa4b8e61d9d5dc05a7f45731/cryptography-48.0.1-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:3e4a1a3232eef2e6c732827d5722db29a0cc8b27af2a4d865b094cf954be9ca1", size = 8008324, upload-time = "2026-06-09T22:31:00.702Z" }, + { url = "https://files.pythonhosted.org/packages/d5/85/6379d42181bfc713094f081360fc5784d6c816b599d45e7f082502d173ce/cryptography-48.0.1-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:32143b24adb918f078134e1e230f1eb8cc04886b92c28b5f0041aaf3e5699225", size = 4696243, upload-time = "2026-06-09T22:32:33.446Z" }, + { url = "https://files.pythonhosted.org/packages/9c/87/c85d147b53323c7eb4d850920c8901377323c2a0ff8d79c262d4fee89aa2/cryptography-48.0.1-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0d27a5696721ef7a672b8c810f6aded391058e0b9486e63e6d93baf765da691", size = 4713235, upload-time = "2026-06-09T22:31:40.141Z" }, + { url = "https://files.pythonhosted.org/packages/79/58/67cbf8cf1ee7c54b439ca07bbecf8362c07afc11a3724fea70f745784add/cryptography-48.0.1-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:eb86ce1af36fe65041b6db9a8bb064ee621a7e5fded0f80d475ec243477cd242", size = 4702323, upload-time = "2026-06-09T22:31:42.191Z" }, + { url = "https://files.pythonhosted.org/packages/89/c6/24266ac10c47f6cd2a865f4446062b466da1d1f10b27189eac00e61bf0c9/cryptography-48.0.1-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:b024e784ad6c077ee0147b35ea9cbfc1e34e1fd4c1dcca214c2794d73a12df08", size = 5300085, upload-time = "2026-06-09T22:31:58.703Z" }, + { url = "https://files.pythonhosted.org/packages/d2/bb/cc4b78784f97efc8c5874c2a9743708d172be6663024b34a0467885ae0c8/cryptography-48.0.1-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:3752f2dbc8f07a30aad2932c986cea495b03bb554887828225da104f732852b6", size = 4746137, upload-time = "2026-06-09T22:31:31.01Z" }, + { url = "https://files.pythonhosted.org/packages/1f/52/0c44de3f5267f8fbe8e835138017522a333436166e406f0db9b9e6e3033f/cryptography-48.0.1-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:bd81490cd5801d755cf97bb68ac191f14b708470b1c7cf4580f669b9c9264cd8", size = 4333867, upload-time = "2026-06-09T22:32:28.096Z" }, + { url = "https://files.pythonhosted.org/packages/9a/2e/772d7adbfa931537bc401640b7cac9976bff689bda187833e5d63b428e49/cryptography-48.0.1-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:66fd0771e7b9c6dcd44cf1120690d2338d16d72795cf40cae2786a39eba65429", size = 4701805, upload-time = "2026-06-09T22:31:38.284Z" }, + { url = "https://files.pythonhosted.org/packages/f8/a3/b06844f303873493c963caf581c04df31c7035e0c1b0f02c4814d319ec80/cryptography-48.0.1-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:3fd2ca57062b241c856670b073487d2e86c4637937ca5601e48f97bf8e11fc8f", size = 5258461, upload-time = "2026-06-09T22:31:04.187Z" }, + { url = "https://files.pythonhosted.org/packages/9f/13/8b765e2e12b07c74941caadb9d1c8fdc006c4dfbf2b8f2d610519758954d/cryptography-48.0.1-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:0ee6ea481db1ab889cba043ec1eda17bb9c1ea79db6722f779c3667f9f70322f", size = 4745488, upload-time = "2026-06-09T22:32:30.07Z" }, + { url = "https://files.pythonhosted.org/packages/2e/aa/48972bce55049b32a94f4907eda4d75fa385aad8a39506cc2fc72196ecf0/cryptography-48.0.1-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:f2ceef93cb096aa3c4cc4b5c94ca6131f9196d28c64d6111533402a9b2054d41", size = 4830256, upload-time = "2026-06-09T22:31:43.868Z" }, + { url = "https://files.pythonhosted.org/packages/47/a2/e5079a032fb85cf6005046ca92bbd78b0c82dad2b5751ab8c311659da06f/cryptography-48.0.1-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:9bd3f92d76217892b15df84ca256c2c113d386fdda7a7d8691aeeced976507c6", size = 4979117, upload-time = "2026-06-09T22:31:05.845Z" }, + { url = "https://files.pythonhosted.org/packages/b7/a0/8f50cae9c74e718ed769d63ed5c74bd0ea830c9550a74629cebd1b9c7bc7/cryptography-48.0.1-cp311-abi3-win32.whl", hash = "sha256:b9a32b876490d66c8bcc9963ef220199569748434ab01a9d6aaeabf88e7f5158", size = 3304154, upload-time = "2026-06-09T22:32:16.845Z" }, + { url = "https://files.pythonhosted.org/packages/c5/69/0572c77dbace6fef72f33755bd52ea399c71367250d366237f8691826b9e/cryptography-48.0.1-cp311-abi3-win_amd64.whl", hash = "sha256:39489bfca54c7a1f6b297efcd8bc608ab92d16c4ca631b0cad4da46724588b24", size = 3817138, upload-time = "2026-06-09T22:32:00.388Z" }, + { url = "https://files.pythonhosted.org/packages/42/06/3e768b4c3bc78201583fa35a0e18f640dd782ff41afba88f8545481a8874/cryptography-48.0.1-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:f817adc181390bd54f2f700107a7419040fb7c1bdf2fc26f36551a06a68c3345", size = 7989830, upload-time = "2026-06-09T22:31:07.8Z" }, + { url = "https://files.pythonhosted.org/packages/8a/13/6476736484b94041110c8340a3eb63962fea4975baea8cb4a512adb44d4d/cryptography-48.0.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d5d30989c6917b478b5817902e85fddaea2261efa8648383d965381ccb9e1ac4", size = 4689201, upload-time = "2026-06-09T22:31:09.745Z" }, + { url = "https://files.pythonhosted.org/packages/79/62/65a87f34d2a431546e2509b85d55e8c90df86d668f6731da64d538512ac2/cryptography-48.0.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:df637c05205ea7c1d7fbcbe54bbfea648a52951155f997af13d895d0ecc96991", size = 4702822, upload-time = "2026-06-09T22:32:24.409Z" }, + { url = "https://files.pythonhosted.org/packages/7f/59/810b5204b0a9b10f4b6bc06bd551a8b609803cd931806bc3b71884b225e5/cryptography-48.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:869c3b8a53bfe27147832df48b32adadf558249d50e76cb3769d40e986b13265", size = 4694875, upload-time = "2026-06-09T22:32:08.737Z" }, + { url = "https://files.pythonhosted.org/packages/24/dc/d8ca05ffea724eec6d232ea6f18e74c269eb6bdfdcc9bfba689790d1325f/cryptography-48.0.1-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:e361afba8918070d376df76f408a4f67fec0ee9cff81a99e48fe9a233ef59e17", size = 5290385, upload-time = "2026-06-09T22:31:15.212Z" }, + { url = "https://files.pythonhosted.org/packages/03/8c/3be6cb4da181f5bb6c19cf560c2359d60644a6b5fc5b57854e528f47b296/cryptography-48.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:d069066deead00ac7f090be101be875a06855908f7ec004c27b8fefb4acfb411", size = 4737082, upload-time = "2026-06-09T22:32:22.66Z" }, + { url = "https://files.pythonhosted.org/packages/aa/f6/d5f60a5a1434dbfd949e227fd0065d194c7e6b6ac526b17f5c06152b8231/cryptography-48.0.1-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:09f73a725d582cef64b91281a322cd798d14a33b2b6f2b7ad9531dc336d84c02", size = 4325328, upload-time = "2026-06-09T22:32:10.777Z" }, + { url = "https://files.pythonhosted.org/packages/17/b7/ba75dd947a14b6ad907b01ae8f6b5b348cdd1b48142f0063dee9e20c1d9d/cryptography-48.0.1-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:15254441469dd6bf027039453288e2072124f8b6603563f5d759e1c9b69273fa", size = 4694530, upload-time = "2026-06-09T22:31:53.105Z" }, + { url = "https://files.pythonhosted.org/packages/62/29/50d6b9e8aff12d8b67afaeb3569335e32dc83a5723e3bbded24fdac9f809/cryptography-48.0.1-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:8ace4507d1e6533c125f4fac754f8bb8b6a74c08e92179dabd7e16571a3efbf3", size = 5245046, upload-time = "2026-06-09T22:31:25.774Z" }, + { url = "https://files.pythonhosted.org/packages/9f/04/618f4115cfc0add0838c82507aa18a346089428da8653ad38b3ff36f5cb3/cryptography-48.0.1-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:b4e391975f038e66432328639620a4aff2d307513b004f1ca06d6225bced815c", size = 4736660, upload-time = "2026-06-09T22:32:12.676Z" }, + { url = "https://files.pythonhosted.org/packages/24/9c/06e062462a0de28a3b3911322eded4c16deb9f441b1b7575d3dc59488ab5/cryptography-48.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:42fcd8e26fe555d9b3577a135f5091fefa0aa4e99129c23fb56787a1bd4ada72", size = 4822229, upload-time = "2026-06-09T22:31:17.062Z" }, + { url = "https://files.pythonhosted.org/packages/f4/be/0561971eaaee4b8a0e7d5113c536921063ab91aaf23278ac374eaf881e11/cryptography-48.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c1400da5e32a43253392277eac7490a60e497d810a63dd5608d71bbd7af507c9", size = 4966364, upload-time = "2026-06-09T22:31:32.842Z" }, + { url = "https://files.pythonhosted.org/packages/a4/27/728c77876f12b000820b69ae490f3c4083775e79e07827e9e60be07ad209/cryptography-48.0.1-cp314-cp314t-win32.whl", hash = "sha256:0df56b056bc17c1b7d6821dfa65216e62bd232d8ab05eb3db44e71d235651471", size = 3278498, upload-time = "2026-06-09T22:31:29.154Z" }, + { url = "https://files.pythonhosted.org/packages/06/e3/79a612c6d7b1e6ee0edd43633d53035bec2cfb78c82b76f7864f39e36f34/cryptography-48.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:9de21387aa95e2a895823d0745b430bed4f33503ba9ab5e0b5311f33e37d66d2", size = 3798790, upload-time = "2026-06-09T22:31:56.697Z" }, + { url = "https://files.pythonhosted.org/packages/ca/6c/00fa2a95997164c8b2072ce327c23d4ab20809ccc323ea5fab91e53a4bba/cryptography-48.0.1-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:4fdc69f8e4316bcf0c8c8ec1f26f285d12e8142d88d96c876a59a03be3f6ae67", size = 7987408, upload-time = "2026-06-09T22:32:20.777Z" }, + { url = "https://files.pythonhosted.org/packages/b0/d9/45f309a7e4e5f3f8f121d6d3be9e94024a7726ec598d6e08ae04edb2f04d/cryptography-48.0.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:48fe40804d4caa2288f24e70ca8c64c42dd826da0ad7e4f1b41b2128d679e6c8", size = 4690196, upload-time = "2026-06-09T22:31:54.74Z" }, + { url = "https://files.pythonhosted.org/packages/5f/9f/a1bc8bcc798811b8527eb374bbccf30a3f3e806829d967118222bf1125eb/cryptography-48.0.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:86be3b1b0b6bf09482fb50a979c508d2950ed95f5621ec77f4e385962006b83a", size = 4696782, upload-time = "2026-06-09T22:31:45.615Z" }, + { url = "https://files.pythonhosted.org/packages/66/c2/81a4fb4e4373c500bb526bc337ac5719dd31dd15b970b84a238168c6aa08/cryptography-48.0.1-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:4ab0a343c807bbcd90c971cd1ecf072937cd01847a9e002bef88fb47ac6be577", size = 4696618, upload-time = "2026-06-09T22:31:11.564Z" }, + { url = "https://files.pythonhosted.org/packages/e5/0b/aa68b221dde92d09cb29a024ede17550ee21e77a404e59fc093c82bb51e1/cryptography-48.0.1-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:9621de99d2da096006b629979efd8ae7eb2d8b822488d0c89ee4000c306c59b1", size = 5289970, upload-time = "2026-06-09T22:31:20.368Z" }, + { url = "https://files.pythonhosted.org/packages/78/13/fba657f958d2af66ea959a4ba01212632089249d34af1ae48054136344d7/cryptography-48.0.1-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:88c852a0ae366e262e5a1744b685e6a433dc8788dd2a277e418bf4904203609d", size = 4731873, upload-time = "2026-06-09T22:31:22.253Z" }, + { url = "https://files.pythonhosted.org/packages/4c/4c/9a964756d24a26b3e34dfcb16f961b89838786e6700b635b0d1e3adff4b6/cryptography-48.0.1-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:43c5835e2cb98c8733d86f57d6fc879b613f5c3478607281c3e36daffc6dd8a6", size = 4330804, upload-time = "2026-06-09T22:31:36.56Z" }, + { url = "https://files.pythonhosted.org/packages/4b/0f/a10f3a6eb12950a10e3a874070283aa2dd5875b2bfd15fad8a3e17b3f13e/cryptography-48.0.1-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:fe0180af5bf9236518a087e35bf2d9a347d5f5f51e63c579d683ddff424e3d46", size = 4696217, upload-time = "2026-06-09T22:31:13.351Z" }, + { url = "https://files.pythonhosted.org/packages/f3/6f/5cd12f951165ea73ef85266775d97e4c763b2474ccfd816dd69d3a18d6f8/cryptography-48.0.1-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:b7a2d1a937a738a881737cec135a38bb61470589b17515b9f73f571d0ae10401", size = 5245252, upload-time = "2026-06-09T22:32:02.193Z" }, + { url = "https://files.pythonhosted.org/packages/68/ab/8aaa12e4516ec4464033ab79b6f3b592bd5a92102467c4ace8a0d970203f/cryptography-48.0.1-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:b74ca3b8e5ecdd833bf6a002ca41b4793bb27fb8f1c06ffaf2643c9e9140e31b", size = 4731388, upload-time = "2026-06-09T22:32:04.019Z" }, + { url = "https://files.pythonhosted.org/packages/1b/24/50027ea4dca85ec1f40688f3c24fb32ccacd520583c9592c3cc95628e6fb/cryptography-48.0.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:2c37f2461406063b417837f5f3daab668652acd82423efcd7f0a9f04be972de1", size = 4824186, upload-time = "2026-06-09T22:32:18.707Z" }, + { url = "https://files.pythonhosted.org/packages/52/41/04cb5eb17085ade6f50cc611fb657df6a0f5885350de8764ece89c050197/cryptography-48.0.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:86fe77abb1bd87afb251d4d02ada7ecf53a32cee9b67d976abb2e45a13297475", size = 4964539, upload-time = "2026-06-09T22:31:18.793Z" }, + { url = "https://files.pythonhosted.org/packages/36/bf/ed70785c496e89d7e73b7cda2d21f2447fd6d4e821714b8d04ff217fed92/cryptography-48.0.1-cp39-abi3-win32.whl", hash = "sha256:6b2c0c3e6ccf3ade7750f836ef3ee36eea250cc467d45c256895573ac08cc6f1", size = 3282307, upload-time = "2026-06-09T22:30:53.162Z" }, + { url = "https://files.pythonhosted.org/packages/b3/ff/371ea7d252656ee1eb6d83eeeef3d1d0c6baf1d6497687d081ea03814670/cryptography-48.0.1-cp39-abi3-win_amd64.whl", hash = "sha256:9a49ca6c81417f6a5edb50375a60cccdd70fa0a91a5211829dbea74eba94d2ac", size = 3793408, upload-time = "2026-06-09T22:32:15.191Z" }, + { url = "https://files.pythonhosted.org/packages/a9/d3/eb4e394e587341fdad09a09101fa76478ead3a78b0ad63e55c22f0d75c02/cryptography-48.0.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:08a597acce1ff37f347400087776599e2348a3a8bc53b44120e463cd274efe4a", size = 3951747, upload-time = "2026-06-09T22:31:23.871Z" }, + { url = "https://files.pythonhosted.org/packages/e0/4a/3f43451b4f858bfceaaaffc649e6e787e8d4fb332a1d443af39ab02cc8f1/cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:735824ec41b7f74a7c45fb1591349333e4c696cb6c044e5f46356e560143e4cd", size = 4641226, upload-time = "2026-06-09T22:31:02.532Z" }, + { url = "https://files.pythonhosted.org/packages/73/4e/855584c2c23b09e4ce2d3b9c30e983e679cd60b068c513c6bbdb91e11782/cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:92a46e1d638daa264ba2971c0b0489c9409787943efae4d60ffda3d091ef832c", size = 4668958, upload-time = "2026-06-09T22:32:06.213Z" }, + { url = "https://files.pythonhosted.org/packages/42/3b/d35750e41d803d1e516fd6d6011f065424924da7af1748cef4cc9cb3ede1/cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:7e234ac052af99f2700826a5c29ea99d9c1b1f80341cde62d11c8154dc8e0bd9", size = 4640793, upload-time = "2026-06-09T22:32:26.331Z" }, + { url = "https://files.pythonhosted.org/packages/ca/aa/cdb7181fe865285e87e96825aaab239400f1de0c3bfba9bd9769b79f1a92/cryptography-48.0.1-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:33842cf0888951cef5bc7ac724ab844a42044c1727b967b7f8997289a0464f92", size = 4668505, upload-time = "2026-06-09T22:31:27.534Z" }, + { url = "https://files.pythonhosted.org/packages/5d/8c/ce3823c06c2804f194f9e64f0d67fa3f4094a39f2bb1a990cd03603af8fc/cryptography-48.0.1-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:6184ca7b174f28d7c703f1290d4b297217c45355f77a98f67e9b7f14549ac54a", size = 3742204, upload-time = "2026-06-09T22:31:34.773Z" }, +] + +[[package]] +name = "dataclasses-json" +version = "0.6.7" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "marshmallow" }, + { name = "typing-inspect" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/64/a4/f71d9cf3a5ac257c993b5ca3f93df5f7fb395c725e7f1e6479d2514173c3/dataclasses_json-0.6.7.tar.gz", hash = "sha256:b6b3e528266ea45b9535223bc53ca645f5208833c29229e847b3f26a1cc55fc0", size = 32227, upload-time = "2024-06-09T16:20:19.103Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c3/be/d0d44e092656fe7a06b55e6103cbce807cdbdee17884a5367c68c9860853/dataclasses_json-0.6.7-py3-none-any.whl", hash = "sha256:0dbf33f26c8d5305befd61b39d2b3414e8a407bedc2834dea9b8d642666fb40a", size = 28686, upload-time = "2024-06-09T16:20:16.715Z" }, +] + +[[package]] +name = "distro" +version = "1.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed", size = 60722, upload-time = "2023-12-24T09:54:32.31Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277, upload-time = "2023-12-24T09:54:30.421Z" }, +] + +[[package]] +name = "docstring-parser" +version = "0.17.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b2/9d/c3b43da9515bd270df0f80548d9944e389870713cc1fe2b8fb35fe2bcefd/docstring_parser-0.17.0.tar.gz", hash = "sha256:583de4a309722b3315439bb31d64ba3eebada841f2e2cee23b99df001434c912", size = 27442, upload-time = "2025-07-21T07:35:01.868Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896, upload-time = "2025-07-21T07:35:00.684Z" }, +] + +[[package]] +name = "exceptiongroup" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/0b/9f/a65090624ecf468cdca03533906e7c69ed7588582240cfe7cc9e770b50eb/exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88", size = 29749, upload-time = "2025-05-10T17:42:51.123Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" }, +] + +[[package]] +name = "execnet" +version = "2.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bf/89/780e11f9588d9e7128a3f87788354c7946a9cbb1401ad38a48c4db9a4f07/execnet-2.1.2.tar.gz", hash = "sha256:63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd", size = 166622, upload-time = "2025-11-12T09:56:37.75Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ab/84/02fc1827e8cdded4aa65baef11296a9bbe595c474f0d6d758af082d849fd/execnet-2.1.2-py3-none-any.whl", hash = "sha256:67fba928dd5a544b783f6056f449e5e3931a5c378b128bc18501f7ea79e296ec", size = 40708, upload-time = "2025-11-12T09:56:36.333Z" }, +] + +[[package]] +name = "filelock" +version = "3.20.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1d/65/ce7f1b70157833bf3cb851b556a37d4547ceafc158aa9b34b36782f23696/filelock-3.20.3.tar.gz", hash = "sha256:18c57ee915c7ec61cff0ecf7f0f869936c7c30191bb0cf406f1341778d0834e1", size = 19485, upload-time = "2026-01-09T17:55:05.421Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b5/36/7fb70f04bf00bc646cd5bb45aa9eddb15e19437a28b8fb2b4a5249fac770/filelock-3.20.3-py3-none-any.whl", hash = "sha256:4b0dda527ee31078689fc205ec4f1c1bf7d56cf88b6dc9426c4f230e46c2dce1", size = 16701, upload-time = "2026-01-09T17:55:04.334Z" }, +] + +[[package]] +name = "filetype" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/bb/29/745f7d30d47fe0f251d3ad3dc2978a23141917661998763bebb6da007eb1/filetype-1.2.0.tar.gz", hash = "sha256:66b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb", size = 998020, upload-time = "2022-11-02T17:34:04.141Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/79/1b8fa1bb3568781e84c9200f951c735f3f157429f44be0495da55894d620/filetype-1.2.0-py2.py3-none-any.whl", hash = "sha256:7ce71b6880181241cf7ac8697a2f1eb6a8bd9b429f7ad6d27b8db9ba5f1c2d25", size = 19970, upload-time = "2022-11-02T17:34:01.425Z" }, +] + +[[package]] +name = "fireworks-ai" +version = "0.16.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "asyncstdlib" }, + { name = "betterproto", extra = ["compiler"] }, + { name = "httpx" }, + { name = "httpx-sse" }, + { name = "httpx-ws" }, + { name = "mmh3" }, + { name = "openai" }, + { name = "pillow" }, + { name = "pydantic" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5b/39/a39c176fca0cdd8f443f215f249189a925c6bd4fec832ab9b1a313314bd3/fireworks_ai-0.16.4.tar.gz", hash = "sha256:e0da0da0d6c7b5562c7e56bfef681badc0382ed844345446eab92b8abbfacae5", size = 164296, upload-time = "2025-05-18T07:16:21.912Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/39/de/576c2dab45914e08c1fc4adfa4a334da037b8b4ad4df1fdab4b56904bd07/fireworks_ai-0.16.4-py3-none-any.whl", hash = "sha256:e7592fdec64aa35f0068b8fa8277e2440ef6f0d6355e818b7220e098f7ea0ee9", size = 193771, upload-time = "2025-05-18T07:16:20.611Z" }, +] + +[[package]] +name = "forbiddenfruit" +version = "0.1.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e6/79/d4f20e91327c98096d605646bdc6a5ffedae820f38d378d3515c42ec5e60/forbiddenfruit-0.1.4.tar.gz", hash = "sha256:e3f7e66561a29ae129aac139a85d610dbf3dd896128187ed5454b6421f624253", size = 43756, upload-time = "2021-01-16T21:03:35.401Z" } + +[[package]] +name = "frozenlist" +version = "1.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875, upload-time = "2025-10-06T05:38:17.865Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/83/4a/557715d5047da48d54e659203b9335be7bfaafda2c3f627b7c47e0b3aaf3/frozenlist-1.8.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:b37f6d31b3dcea7deb5e9696e529a6aa4a898adc33db82da12e4c60a7c4d2011", size = 86230, upload-time = "2025-10-06T05:35:23.699Z" }, + { url = "https://files.pythonhosted.org/packages/a2/fb/c85f9fed3ea8fe8740e5b46a59cc141c23b842eca617da8876cfce5f760e/frozenlist-1.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ef2b7b394f208233e471abc541cc6991f907ffd47dc72584acee3147899d6565", size = 49621, upload-time = "2025-10-06T05:35:25.341Z" }, + { url = "https://files.pythonhosted.org/packages/63/70/26ca3f06aace16f2352796b08704338d74b6d1a24ca38f2771afbb7ed915/frozenlist-1.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a88f062f072d1589b7b46e951698950e7da00442fc1cacbe17e19e025dc327ad", size = 49889, upload-time = "2025-10-06T05:35:26.797Z" }, + { url = "https://files.pythonhosted.org/packages/5d/ed/c7895fd2fde7f3ee70d248175f9b6cdf792fb741ab92dc59cd9ef3bd241b/frozenlist-1.8.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f57fb59d9f385710aa7060e89410aeb5058b99e62f4d16b08b91986b9a2140c2", size = 219464, upload-time = "2025-10-06T05:35:28.254Z" }, + { url = "https://files.pythonhosted.org/packages/6b/83/4d587dccbfca74cb8b810472392ad62bfa100bf8108c7223eb4c4fa2f7b3/frozenlist-1.8.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:799345ab092bee59f01a915620b5d014698547afd011e691a208637312db9186", size = 221649, upload-time = "2025-10-06T05:35:29.454Z" }, + { url = "https://files.pythonhosted.org/packages/6a/c6/fd3b9cd046ec5fff9dab66831083bc2077006a874a2d3d9247dea93ddf7e/frozenlist-1.8.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c23c3ff005322a6e16f71bf8692fcf4d5a304aaafe1e262c98c6d4adc7be863e", size = 219188, upload-time = "2025-10-06T05:35:30.951Z" }, + { url = "https://files.pythonhosted.org/packages/ce/80/6693f55eb2e085fc8afb28cf611448fb5b90e98e068fa1d1b8d8e66e5c7d/frozenlist-1.8.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8a76ea0f0b9dfa06f254ee06053d93a600865b3274358ca48a352ce4f0798450", size = 231748, upload-time = "2025-10-06T05:35:32.101Z" }, + { url = "https://files.pythonhosted.org/packages/97/d6/e9459f7c5183854abd989ba384fe0cc1a0fb795a83c033f0571ec5933ca4/frozenlist-1.8.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c7366fe1418a6133d5aa824ee53d406550110984de7637d65a178010f759c6ef", size = 236351, upload-time = "2025-10-06T05:35:33.834Z" }, + { url = "https://files.pythonhosted.org/packages/97/92/24e97474b65c0262e9ecd076e826bfd1d3074adcc165a256e42e7b8a7249/frozenlist-1.8.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:13d23a45c4cebade99340c4165bd90eeb4a56c6d8a9d8aa49568cac19a6d0dc4", size = 218767, upload-time = "2025-10-06T05:35:35.205Z" }, + { url = "https://files.pythonhosted.org/packages/ee/bf/dc394a097508f15abff383c5108cb8ad880d1f64a725ed3b90d5c2fbf0bb/frozenlist-1.8.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:e4a3408834f65da56c83528fb52ce7911484f0d1eaf7b761fc66001db1646eff", size = 235887, upload-time = "2025-10-06T05:35:36.354Z" }, + { url = "https://files.pythonhosted.org/packages/40/90/25b201b9c015dbc999a5baf475a257010471a1fa8c200c843fd4abbee725/frozenlist-1.8.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:42145cd2748ca39f32801dad54aeea10039da6f86e303659db90db1c4b614c8c", size = 228785, upload-time = "2025-10-06T05:35:37.949Z" }, + { url = "https://files.pythonhosted.org/packages/84/f4/b5bc148df03082f05d2dd30c089e269acdbe251ac9a9cf4e727b2dbb8a3d/frozenlist-1.8.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:e2de870d16a7a53901e41b64ffdf26f2fbb8917b3e6ebf398098d72c5b20bd7f", size = 230312, upload-time = "2025-10-06T05:35:39.178Z" }, + { url = "https://files.pythonhosted.org/packages/db/4b/87e95b5d15097c302430e647136b7d7ab2398a702390cf4c8601975709e7/frozenlist-1.8.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:20e63c9493d33ee48536600d1a5c95eefc870cd71e7ab037763d1fbb89cc51e7", size = 217650, upload-time = "2025-10-06T05:35:40.377Z" }, + { url = "https://files.pythonhosted.org/packages/e5/70/78a0315d1fea97120591a83e0acd644da638c872f142fd72a6cebee825f3/frozenlist-1.8.0-cp310-cp310-win32.whl", hash = "sha256:adbeebaebae3526afc3c96fad434367cafbfd1b25d72369a9e5858453b1bb71a", size = 39659, upload-time = "2025-10-06T05:35:41.863Z" }, + { url = "https://files.pythonhosted.org/packages/66/aa/3f04523fb189a00e147e60c5b2205126118f216b0aa908035c45336e27e4/frozenlist-1.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:667c3777ca571e5dbeb76f331562ff98b957431df140b54c85fd4d52eea8d8f6", size = 43837, upload-time = "2025-10-06T05:35:43.205Z" }, + { url = "https://files.pythonhosted.org/packages/39/75/1135feecdd7c336938bd55b4dc3b0dfc46d85b9be12ef2628574b28de776/frozenlist-1.8.0-cp310-cp310-win_arm64.whl", hash = "sha256:80f85f0a7cc86e7a54c46d99c9e1318ff01f4687c172ede30fd52d19d1da1c8e", size = 39989, upload-time = "2025-10-06T05:35:44.596Z" }, + { url = "https://files.pythonhosted.org/packages/bc/03/077f869d540370db12165c0aa51640a873fb661d8b315d1d4d67b284d7ac/frozenlist-1.8.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:09474e9831bc2b2199fad6da3c14c7b0fbdd377cce9d3d77131be28906cb7d84", size = 86912, upload-time = "2025-10-06T05:35:45.98Z" }, + { url = "https://files.pythonhosted.org/packages/df/b5/7610b6bd13e4ae77b96ba85abea1c8cb249683217ef09ac9e0ae93f25a91/frozenlist-1.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:17c883ab0ab67200b5f964d2b9ed6b00971917d5d8a92df149dc2c9779208ee9", size = 50046, upload-time = "2025-10-06T05:35:47.009Z" }, + { url = "https://files.pythonhosted.org/packages/6e/ef/0e8f1fe32f8a53dd26bdd1f9347efe0778b0fddf62789ea683f4cc7d787d/frozenlist-1.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fa47e444b8ba08fffd1c18e8cdb9a75db1b6a27f17507522834ad13ed5922b93", size = 50119, upload-time = "2025-10-06T05:35:48.38Z" }, + { url = "https://files.pythonhosted.org/packages/11/b1/71a477adc7c36e5fb628245dfbdea2166feae310757dea848d02bd0689fd/frozenlist-1.8.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2552f44204b744fba866e573be4c1f9048d6a324dfe14475103fd51613eb1d1f", size = 231067, upload-time = "2025-10-06T05:35:49.97Z" }, + { url = "https://files.pythonhosted.org/packages/45/7e/afe40eca3a2dc19b9904c0f5d7edfe82b5304cb831391edec0ac04af94c2/frozenlist-1.8.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:957e7c38f250991e48a9a73e6423db1bb9dd14e722a10f6b8bb8e16a0f55f695", size = 233160, upload-time = "2025-10-06T05:35:51.729Z" }, + { url = "https://files.pythonhosted.org/packages/a6/aa/7416eac95603ce428679d273255ffc7c998d4132cfae200103f164b108aa/frozenlist-1.8.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:8585e3bb2cdea02fc88ffa245069c36555557ad3609e83be0ec71f54fd4abb52", size = 228544, upload-time = "2025-10-06T05:35:53.246Z" }, + { url = "https://files.pythonhosted.org/packages/8b/3d/2a2d1f683d55ac7e3875e4263d28410063e738384d3adc294f5ff3d7105e/frozenlist-1.8.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:edee74874ce20a373d62dc28b0b18b93f645633c2943fd90ee9d898550770581", size = 243797, upload-time = "2025-10-06T05:35:54.497Z" }, + { url = "https://files.pythonhosted.org/packages/78/1e/2d5565b589e580c296d3bb54da08d206e797d941a83a6fdea42af23be79c/frozenlist-1.8.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c9a63152fe95756b85f31186bddf42e4c02c6321207fd6601a1c89ebac4fe567", size = 247923, upload-time = "2025-10-06T05:35:55.861Z" }, + { url = "https://files.pythonhosted.org/packages/aa/c3/65872fcf1d326a7f101ad4d86285c403c87be7d832b7470b77f6d2ed5ddc/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b6db2185db9be0a04fecf2f241c70b63b1a242e2805be291855078f2b404dd6b", size = 230886, upload-time = "2025-10-06T05:35:57.399Z" }, + { url = "https://files.pythonhosted.org/packages/a0/76/ac9ced601d62f6956f03cc794f9e04c81719509f85255abf96e2510f4265/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:f4be2e3d8bc8aabd566f8d5b8ba7ecc09249d74ba3c9ed52e54dc23a293f0b92", size = 245731, upload-time = "2025-10-06T05:35:58.563Z" }, + { url = "https://files.pythonhosted.org/packages/b9/49/ecccb5f2598daf0b4a1415497eba4c33c1e8ce07495eb07d2860c731b8d5/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:c8d1634419f39ea6f5c427ea2f90ca85126b54b50837f31497f3bf38266e853d", size = 241544, upload-time = "2025-10-06T05:35:59.719Z" }, + { url = "https://files.pythonhosted.org/packages/53/4b/ddf24113323c0bbcc54cb38c8b8916f1da7165e07b8e24a717b4a12cbf10/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:1a7fa382a4a223773ed64242dbe1c9c326ec09457e6b8428efb4118c685c3dfd", size = 241806, upload-time = "2025-10-06T05:36:00.959Z" }, + { url = "https://files.pythonhosted.org/packages/a7/fb/9b9a084d73c67175484ba2789a59f8eebebd0827d186a8102005ce41e1ba/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:11847b53d722050808926e785df837353bd4d75f1d494377e59b23594d834967", size = 229382, upload-time = "2025-10-06T05:36:02.22Z" }, + { url = "https://files.pythonhosted.org/packages/95/a3/c8fb25aac55bf5e12dae5c5aa6a98f85d436c1dc658f21c3ac73f9fa95e5/frozenlist-1.8.0-cp311-cp311-win32.whl", hash = "sha256:27c6e8077956cf73eadd514be8fb04d77fc946a7fe9f7fe167648b0b9085cc25", size = 39647, upload-time = "2025-10-06T05:36:03.409Z" }, + { url = "https://files.pythonhosted.org/packages/0a/f5/603d0d6a02cfd4c8f2a095a54672b3cf967ad688a60fb9faf04fc4887f65/frozenlist-1.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:ac913f8403b36a2c8610bbfd25b8013488533e71e62b4b4adce9c86c8cea905b", size = 44064, upload-time = "2025-10-06T05:36:04.368Z" }, + { url = "https://files.pythonhosted.org/packages/5d/16/c2c9ab44e181f043a86f9a8f84d5124b62dbcb3a02c0977ec72b9ac1d3e0/frozenlist-1.8.0-cp311-cp311-win_arm64.whl", hash = "sha256:d4d3214a0f8394edfa3e303136d0575eece0745ff2b47bd2cb2e66dd92d4351a", size = 39937, upload-time = "2025-10-06T05:36:05.669Z" }, + { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782, upload-time = "2025-10-06T05:36:06.649Z" }, + { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594, upload-time = "2025-10-06T05:36:07.69Z" }, + { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448, upload-time = "2025-10-06T05:36:08.78Z" }, + { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411, upload-time = "2025-10-06T05:36:09.801Z" }, + { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014, upload-time = "2025-10-06T05:36:11.394Z" }, + { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909, upload-time = "2025-10-06T05:36:12.598Z" }, + { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049, upload-time = "2025-10-06T05:36:14.065Z" }, + { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485, upload-time = "2025-10-06T05:36:15.39Z" }, + { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619, upload-time = "2025-10-06T05:36:16.558Z" }, + { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320, upload-time = "2025-10-06T05:36:17.821Z" }, + { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820, upload-time = "2025-10-06T05:36:19.046Z" }, + { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518, upload-time = "2025-10-06T05:36:20.763Z" }, + { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096, upload-time = "2025-10-06T05:36:22.129Z" }, + { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985, upload-time = "2025-10-06T05:36:23.661Z" }, + { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591, upload-time = "2025-10-06T05:36:24.958Z" }, + { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102, upload-time = "2025-10-06T05:36:26.333Z" }, + { url = "https://files.pythonhosted.org/packages/2d/40/0832c31a37d60f60ed79e9dfb5a92e1e2af4f40a16a29abcc7992af9edff/frozenlist-1.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8d92f1a84bb12d9e56f818b3a746f3efba93c1b63c8387a73dde655e1e42282a", size = 85717, upload-time = "2025-10-06T05:36:27.341Z" }, + { url = "https://files.pythonhosted.org/packages/30/ba/b0b3de23f40bc55a7057bd38434e25c34fa48e17f20ee273bbde5e0650f3/frozenlist-1.8.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:96153e77a591c8adc2ee805756c61f59fef4cf4073a9275ee86fe8cba41241f7", size = 49651, upload-time = "2025-10-06T05:36:28.855Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ab/6e5080ee374f875296c4243c381bbdef97a9ac39c6e3ce1d5f7d42cb78d6/frozenlist-1.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f21f00a91358803399890ab167098c131ec2ddd5f8f5fd5fe9c9f2c6fcd91e40", size = 49417, upload-time = "2025-10-06T05:36:29.877Z" }, + { url = "https://files.pythonhosted.org/packages/d5/4e/e4691508f9477ce67da2015d8c00acd751e6287739123113a9fca6f1604e/frozenlist-1.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fb30f9626572a76dfe4293c7194a09fb1fe93ba94c7d4f720dfae3b646b45027", size = 234391, upload-time = "2025-10-06T05:36:31.301Z" }, + { url = "https://files.pythonhosted.org/packages/40/76/c202df58e3acdf12969a7895fd6f3bc016c642e6726aa63bd3025e0fc71c/frozenlist-1.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eaa352d7047a31d87dafcacbabe89df0aa506abb5b1b85a2fb91bc3faa02d822", size = 233048, upload-time = "2025-10-06T05:36:32.531Z" }, + { url = "https://files.pythonhosted.org/packages/f9/c0/8746afb90f17b73ca5979c7a3958116e105ff796e718575175319b5bb4ce/frozenlist-1.8.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:03ae967b4e297f58f8c774c7eabcce57fe3c2434817d4385c50661845a058121", size = 226549, upload-time = "2025-10-06T05:36:33.706Z" }, + { url = "https://files.pythonhosted.org/packages/7e/eb/4c7eefc718ff72f9b6c4893291abaae5fbc0c82226a32dcd8ef4f7a5dbef/frozenlist-1.8.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f6292f1de555ffcc675941d65fffffb0a5bcd992905015f85d0592201793e0e5", size = 239833, upload-time = "2025-10-06T05:36:34.947Z" }, + { url = "https://files.pythonhosted.org/packages/c2/4e/e5c02187cf704224f8b21bee886f3d713ca379535f16893233b9d672ea71/frozenlist-1.8.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29548f9b5b5e3460ce7378144c3010363d8035cea44bc0bf02d57f5a685e084e", size = 245363, upload-time = "2025-10-06T05:36:36.534Z" }, + { url = "https://files.pythonhosted.org/packages/1f/96/cb85ec608464472e82ad37a17f844889c36100eed57bea094518bf270692/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ec3cc8c5d4084591b4237c0a272cc4f50a5b03396a47d9caaf76f5d7b38a4f11", size = 229314, upload-time = "2025-10-06T05:36:38.582Z" }, + { url = "https://files.pythonhosted.org/packages/5d/6f/4ae69c550e4cee66b57887daeebe006fe985917c01d0fff9caab9883f6d0/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:517279f58009d0b1f2e7c1b130b377a349405da3f7621ed6bfae50b10adf20c1", size = 243365, upload-time = "2025-10-06T05:36:40.152Z" }, + { url = "https://files.pythonhosted.org/packages/7a/58/afd56de246cf11780a40a2c28dc7cbabbf06337cc8ddb1c780a2d97e88d8/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:db1e72ede2d0d7ccb213f218df6a078a9c09a7de257c2fe8fcef16d5925230b1", size = 237763, upload-time = "2025-10-06T05:36:41.355Z" }, + { url = "https://files.pythonhosted.org/packages/cb/36/cdfaf6ed42e2644740d4a10452d8e97fa1c062e2a8006e4b09f1b5fd7d63/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b4dec9482a65c54a5044486847b8a66bf10c9cb4926d42927ec4e8fd5db7fed8", size = 240110, upload-time = "2025-10-06T05:36:42.716Z" }, + { url = "https://files.pythonhosted.org/packages/03/a8/9ea226fbefad669f11b52e864c55f0bd57d3c8d7eb07e9f2e9a0b39502e1/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:21900c48ae04d13d416f0e1e0c4d81f7931f73a9dfa0b7a8746fb2fe7dd970ed", size = 233717, upload-time = "2025-10-06T05:36:44.251Z" }, + { url = "https://files.pythonhosted.org/packages/1e/0b/1b5531611e83ba7d13ccc9988967ea1b51186af64c42b7a7af465dcc9568/frozenlist-1.8.0-cp313-cp313-win32.whl", hash = "sha256:8b7b94a067d1c504ee0b16def57ad5738701e4ba10cec90529f13fa03c833496", size = 39628, upload-time = "2025-10-06T05:36:45.423Z" }, + { url = "https://files.pythonhosted.org/packages/d8/cf/174c91dbc9cc49bc7b7aab74d8b734e974d1faa8f191c74af9b7e80848e6/frozenlist-1.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:878be833caa6a3821caf85eb39c5ba92d28e85df26d57afb06b35b2efd937231", size = 43882, upload-time = "2025-10-06T05:36:46.796Z" }, + { url = "https://files.pythonhosted.org/packages/c1/17/502cd212cbfa96eb1388614fe39a3fc9ab87dbbe042b66f97acb57474834/frozenlist-1.8.0-cp313-cp313-win_arm64.whl", hash = "sha256:44389d135b3ff43ba8cc89ff7f51f5a0bb6b63d829c8300f79a2fe4fe61bcc62", size = 39676, upload-time = "2025-10-06T05:36:47.8Z" }, + { url = "https://files.pythonhosted.org/packages/d2/5c/3bbfaa920dfab09e76946a5d2833a7cbdf7b9b4a91c714666ac4855b88b4/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:e25ac20a2ef37e91c1b39938b591457666a0fa835c7783c3a8f33ea42870db94", size = 89235, upload-time = "2025-10-06T05:36:48.78Z" }, + { url = "https://files.pythonhosted.org/packages/d2/d6/f03961ef72166cec1687e84e8925838442b615bd0b8854b54923ce5b7b8a/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:07cdca25a91a4386d2e76ad992916a85038a9b97561bf7a3fd12d5d9ce31870c", size = 50742, upload-time = "2025-10-06T05:36:49.837Z" }, + { url = "https://files.pythonhosted.org/packages/1e/bb/a6d12b7ba4c3337667d0e421f7181c82dda448ce4e7ad7ecd249a16fa806/frozenlist-1.8.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4e0c11f2cc6717e0a741f84a527c52616140741cd812a50422f83dc31749fb52", size = 51725, upload-time = "2025-10-06T05:36:50.851Z" }, + { url = "https://files.pythonhosted.org/packages/bc/71/d1fed0ffe2c2ccd70b43714c6cab0f4188f09f8a67a7914a6b46ee30f274/frozenlist-1.8.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b3210649ee28062ea6099cfda39e147fa1bc039583c8ee4481cb7811e2448c51", size = 284533, upload-time = "2025-10-06T05:36:51.898Z" }, + { url = "https://files.pythonhosted.org/packages/c9/1f/fb1685a7b009d89f9bf78a42d94461bc06581f6e718c39344754a5d9bada/frozenlist-1.8.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:581ef5194c48035a7de2aefc72ac6539823bb71508189e5de01d60c9dcd5fa65", size = 292506, upload-time = "2025-10-06T05:36:53.101Z" }, + { url = "https://files.pythonhosted.org/packages/e6/3b/b991fe1612703f7e0d05c0cf734c1b77aaf7c7d321df4572e8d36e7048c8/frozenlist-1.8.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3ef2d026f16a2b1866e1d86fc4e1291e1ed8a387b2c333809419a2f8b3a77b82", size = 274161, upload-time = "2025-10-06T05:36:54.309Z" }, + { url = "https://files.pythonhosted.org/packages/ca/ec/c5c618767bcdf66e88945ec0157d7f6c4a1322f1473392319b7a2501ded7/frozenlist-1.8.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5500ef82073f599ac84d888e3a8c1f77ac831183244bfd7f11eaa0289fb30714", size = 294676, upload-time = "2025-10-06T05:36:55.566Z" }, + { url = "https://files.pythonhosted.org/packages/7c/ce/3934758637d8f8a88d11f0585d6495ef54b2044ed6ec84492a91fa3b27aa/frozenlist-1.8.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50066c3997d0091c411a66e710f4e11752251e6d2d73d70d8d5d4c76442a199d", size = 300638, upload-time = "2025-10-06T05:36:56.758Z" }, + { url = "https://files.pythonhosted.org/packages/fc/4f/a7e4d0d467298f42de4b41cbc7ddaf19d3cfeabaf9ff97c20c6c7ee409f9/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:5c1c8e78426e59b3f8005e9b19f6ff46e5845895adbde20ece9218319eca6506", size = 283067, upload-time = "2025-10-06T05:36:57.965Z" }, + { url = "https://files.pythonhosted.org/packages/dc/48/c7b163063d55a83772b268e6d1affb960771b0e203b632cfe09522d67ea5/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:eefdba20de0d938cec6a89bd4d70f346a03108a19b9df4248d3cf0d88f1b0f51", size = 292101, upload-time = "2025-10-06T05:36:59.237Z" }, + { url = "https://files.pythonhosted.org/packages/9f/d0/2366d3c4ecdc2fd391e0afa6e11500bfba0ea772764d631bbf82f0136c9d/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:cf253e0e1c3ceb4aaff6df637ce033ff6535fb8c70a764a8f46aafd3d6ab798e", size = 289901, upload-time = "2025-10-06T05:37:00.811Z" }, + { url = "https://files.pythonhosted.org/packages/b8/94/daff920e82c1b70e3618a2ac39fbc01ae3e2ff6124e80739ce5d71c9b920/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:032efa2674356903cd0261c4317a561a6850f3ac864a63fc1583147fb05a79b0", size = 289395, upload-time = "2025-10-06T05:37:02.115Z" }, + { url = "https://files.pythonhosted.org/packages/e3/20/bba307ab4235a09fdcd3cc5508dbabd17c4634a1af4b96e0f69bfe551ebd/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6da155091429aeba16851ecb10a9104a108bcd32f6c1642867eadaee401c1c41", size = 283659, upload-time = "2025-10-06T05:37:03.711Z" }, + { url = "https://files.pythonhosted.org/packages/fd/00/04ca1c3a7a124b6de4f8a9a17cc2fcad138b4608e7a3fc5877804b8715d7/frozenlist-1.8.0-cp313-cp313t-win32.whl", hash = "sha256:0f96534f8bfebc1a394209427d0f8a63d343c9779cda6fc25e8e121b5fd8555b", size = 43492, upload-time = "2025-10-06T05:37:04.915Z" }, + { url = "https://files.pythonhosted.org/packages/59/5e/c69f733a86a94ab10f68e496dc6b7e8bc078ebb415281d5698313e3af3a1/frozenlist-1.8.0-cp313-cp313t-win_amd64.whl", hash = "sha256:5d63a068f978fc69421fb0e6eb91a9603187527c86b7cd3f534a5b77a592b888", size = 48034, upload-time = "2025-10-06T05:37:06.343Z" }, + { url = "https://files.pythonhosted.org/packages/16/6c/be9d79775d8abe79b05fa6d23da99ad6e7763a1d080fbae7290b286093fd/frozenlist-1.8.0-cp313-cp313t-win_arm64.whl", hash = "sha256:bf0a7e10b077bf5fb9380ad3ae8ce20ef919a6ad93b4552896419ac7e1d8e042", size = 41749, upload-time = "2025-10-06T05:37:07.431Z" }, + { url = "https://files.pythonhosted.org/packages/f1/c8/85da824b7e7b9b6e7f7705b2ecaf9591ba6f79c1177f324c2735e41d36a2/frozenlist-1.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:cee686f1f4cadeb2136007ddedd0aaf928ab95216e7691c63e50a8ec066336d0", size = 86127, upload-time = "2025-10-06T05:37:08.438Z" }, + { url = "https://files.pythonhosted.org/packages/8e/e8/a1185e236ec66c20afd72399522f142c3724c785789255202d27ae992818/frozenlist-1.8.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:119fb2a1bd47307e899c2fac7f28e85b9a543864df47aa7ec9d3c1b4545f096f", size = 49698, upload-time = "2025-10-06T05:37:09.48Z" }, + { url = "https://files.pythonhosted.org/packages/a1/93/72b1736d68f03fda5fdf0f2180fb6caaae3894f1b854d006ac61ecc727ee/frozenlist-1.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4970ece02dbc8c3a92fcc5228e36a3e933a01a999f7094ff7c23fbd2beeaa67c", size = 49749, upload-time = "2025-10-06T05:37:10.569Z" }, + { url = "https://files.pythonhosted.org/packages/a7/b2/fabede9fafd976b991e9f1b9c8c873ed86f202889b864756f240ce6dd855/frozenlist-1.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:cba69cb73723c3f329622e34bdbf5ce1f80c21c290ff04256cff1cd3c2036ed2", size = 231298, upload-time = "2025-10-06T05:37:11.993Z" }, + { url = "https://files.pythonhosted.org/packages/3a/3b/d9b1e0b0eed36e70477ffb8360c49c85c8ca8ef9700a4e6711f39a6e8b45/frozenlist-1.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:778a11b15673f6f1df23d9586f83c4846c471a8af693a22e066508b77d201ec8", size = 232015, upload-time = "2025-10-06T05:37:13.194Z" }, + { url = "https://files.pythonhosted.org/packages/dc/94/be719d2766c1138148564a3960fc2c06eb688da592bdc25adcf856101be7/frozenlist-1.8.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0325024fe97f94c41c08872db482cf8ac4800d80e79222c6b0b7b162d5b13686", size = 225038, upload-time = "2025-10-06T05:37:14.577Z" }, + { url = "https://files.pythonhosted.org/packages/e4/09/6712b6c5465f083f52f50cf74167b92d4ea2f50e46a9eea0523d658454ae/frozenlist-1.8.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:97260ff46b207a82a7567b581ab4190bd4dfa09f4db8a8b49d1a958f6aa4940e", size = 240130, upload-time = "2025-10-06T05:37:15.781Z" }, + { url = "https://files.pythonhosted.org/packages/f8/d4/cd065cdcf21550b54f3ce6a22e143ac9e4836ca42a0de1022da8498eac89/frozenlist-1.8.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:54b2077180eb7f83dd52c40b2750d0a9f175e06a42e3213ce047219de902717a", size = 242845, upload-time = "2025-10-06T05:37:17.037Z" }, + { url = "https://files.pythonhosted.org/packages/62/c3/f57a5c8c70cd1ead3d5d5f776f89d33110b1addae0ab010ad774d9a44fb9/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2f05983daecab868a31e1da44462873306d3cbfd76d1f0b5b69c473d21dbb128", size = 229131, upload-time = "2025-10-06T05:37:18.221Z" }, + { url = "https://files.pythonhosted.org/packages/6c/52/232476fe9cb64f0742f3fde2b7d26c1dac18b6d62071c74d4ded55e0ef94/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:33f48f51a446114bc5d251fb2954ab0164d5be02ad3382abcbfe07e2531d650f", size = 240542, upload-time = "2025-10-06T05:37:19.771Z" }, + { url = "https://files.pythonhosted.org/packages/5f/85/07bf3f5d0fb5414aee5f47d33c6f5c77bfe49aac680bfece33d4fdf6a246/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:154e55ec0655291b5dd1b8731c637ecdb50975a2ae70c606d100750a540082f7", size = 237308, upload-time = "2025-10-06T05:37:20.969Z" }, + { url = "https://files.pythonhosted.org/packages/11/99/ae3a33d5befd41ac0ca2cc7fd3aa707c9c324de2e89db0e0f45db9a64c26/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:4314debad13beb564b708b4a496020e5306c7333fa9a3ab90374169a20ffab30", size = 238210, upload-time = "2025-10-06T05:37:22.252Z" }, + { url = "https://files.pythonhosted.org/packages/b2/60/b1d2da22f4970e7a155f0adde9b1435712ece01b3cd45ba63702aea33938/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:073f8bf8becba60aa931eb3bc420b217bb7d5b8f4750e6f8b3be7f3da85d38b7", size = 231972, upload-time = "2025-10-06T05:37:23.5Z" }, + { url = "https://files.pythonhosted.org/packages/3f/ab/945b2f32de889993b9c9133216c068b7fcf257d8595a0ac420ac8677cab0/frozenlist-1.8.0-cp314-cp314-win32.whl", hash = "sha256:bac9c42ba2ac65ddc115d930c78d24ab8d4f465fd3fc473cdedfccadb9429806", size = 40536, upload-time = "2025-10-06T05:37:25.581Z" }, + { url = "https://files.pythonhosted.org/packages/59/ad/9caa9b9c836d9ad6f067157a531ac48b7d36499f5036d4141ce78c230b1b/frozenlist-1.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:3e0761f4d1a44f1d1a47996511752cf3dcec5bbdd9cc2b4fe595caf97754b7a0", size = 44330, upload-time = "2025-10-06T05:37:26.928Z" }, + { url = "https://files.pythonhosted.org/packages/82/13/e6950121764f2676f43534c555249f57030150260aee9dcf7d64efda11dd/frozenlist-1.8.0-cp314-cp314-win_arm64.whl", hash = "sha256:d1eaff1d00c7751b7c6662e9c5ba6eb2c17a2306ba5e2a37f24ddf3cc953402b", size = 40627, upload-time = "2025-10-06T05:37:28.075Z" }, + { url = "https://files.pythonhosted.org/packages/c0/c7/43200656ecc4e02d3f8bc248df68256cd9572b3f0017f0a0c4e93440ae23/frozenlist-1.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:d3bb933317c52d7ea5004a1c442eef86f426886fba134ef8cf4226ea6ee1821d", size = 89238, upload-time = "2025-10-06T05:37:29.373Z" }, + { url = "https://files.pythonhosted.org/packages/d1/29/55c5f0689b9c0fb765055629f472c0de484dcaf0acee2f7707266ae3583c/frozenlist-1.8.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:8009897cdef112072f93a0efdce29cd819e717fd2f649ee3016efd3cd885a7ed", size = 50738, upload-time = "2025-10-06T05:37:30.792Z" }, + { url = "https://files.pythonhosted.org/packages/ba/7d/b7282a445956506fa11da8c2db7d276adcbf2b17d8bb8407a47685263f90/frozenlist-1.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2c5dcbbc55383e5883246d11fd179782a9d07a986c40f49abe89ddf865913930", size = 51739, upload-time = "2025-10-06T05:37:32.127Z" }, + { url = "https://files.pythonhosted.org/packages/62/1c/3d8622e60d0b767a5510d1d3cf21065b9db874696a51ea6d7a43180a259c/frozenlist-1.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:39ecbc32f1390387d2aa4f5a995e465e9e2f79ba3adcac92d68e3e0afae6657c", size = 284186, upload-time = "2025-10-06T05:37:33.21Z" }, + { url = "https://files.pythonhosted.org/packages/2d/14/aa36d5f85a89679a85a1d44cd7a6657e0b1c75f61e7cad987b203d2daca8/frozenlist-1.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92db2bf818d5cc8d9c1f1fc56b897662e24ea5adb36ad1f1d82875bd64e03c24", size = 292196, upload-time = "2025-10-06T05:37:36.107Z" }, + { url = "https://files.pythonhosted.org/packages/05/23/6bde59eb55abd407d34f77d39a5126fb7b4f109a3f611d3929f14b700c66/frozenlist-1.8.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2dc43a022e555de94c3b68a4ef0b11c4f747d12c024a520c7101709a2144fb37", size = 273830, upload-time = "2025-10-06T05:37:37.663Z" }, + { url = "https://files.pythonhosted.org/packages/d2/3f/22cff331bfad7a8afa616289000ba793347fcd7bc275f3b28ecea2a27909/frozenlist-1.8.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cb89a7f2de3602cfed448095bab3f178399646ab7c61454315089787df07733a", size = 294289, upload-time = "2025-10-06T05:37:39.261Z" }, + { url = "https://files.pythonhosted.org/packages/a4/89/5b057c799de4838b6c69aa82b79705f2027615e01be996d2486a69ca99c4/frozenlist-1.8.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:33139dc858c580ea50e7e60a1b0ea003efa1fd42e6ec7fdbad78fff65fad2fd2", size = 300318, upload-time = "2025-10-06T05:37:43.213Z" }, + { url = "https://files.pythonhosted.org/packages/30/de/2c22ab3eb2a8af6d69dc799e48455813bab3690c760de58e1bf43b36da3e/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:168c0969a329b416119507ba30b9ea13688fafffac1b7822802537569a1cb0ef", size = 282814, upload-time = "2025-10-06T05:37:45.337Z" }, + { url = "https://files.pythonhosted.org/packages/59/f7/970141a6a8dbd7f556d94977858cfb36fa9b66e0892c6dd780d2219d8cd8/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:28bd570e8e189d7f7b001966435f9dac6718324b5be2990ac496cf1ea9ddb7fe", size = 291762, upload-time = "2025-10-06T05:37:46.657Z" }, + { url = "https://files.pythonhosted.org/packages/c1/15/ca1adae83a719f82df9116d66f5bb28bb95557b3951903d39135620ef157/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b2a095d45c5d46e5e79ba1e5b9cb787f541a8dee0433836cea4b96a2c439dcd8", size = 289470, upload-time = "2025-10-06T05:37:47.946Z" }, + { url = "https://files.pythonhosted.org/packages/ac/83/dca6dc53bf657d371fbc88ddeb21b79891e747189c5de990b9dfff2ccba1/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:eab8145831a0d56ec9c4139b6c3e594c7a83c2c8be25d5bcf2d86136a532287a", size = 289042, upload-time = "2025-10-06T05:37:49.499Z" }, + { url = "https://files.pythonhosted.org/packages/96/52/abddd34ca99be142f354398700536c5bd315880ed0a213812bc491cff5e4/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:974b28cf63cc99dfb2188d8d222bc6843656188164848c4f679e63dae4b0708e", size = 283148, upload-time = "2025-10-06T05:37:50.745Z" }, + { url = "https://files.pythonhosted.org/packages/af/d3/76bd4ed4317e7119c2b7f57c3f6934aba26d277acc6309f873341640e21f/frozenlist-1.8.0-cp314-cp314t-win32.whl", hash = "sha256:342c97bf697ac5480c0a7ec73cd700ecfa5a8a40ac923bd035484616efecc2df", size = 44676, upload-time = "2025-10-06T05:37:52.222Z" }, + { url = "https://files.pythonhosted.org/packages/89/76/c615883b7b521ead2944bb3480398cbb07e12b7b4e4d073d3752eb721558/frozenlist-1.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:06be8f67f39c8b1dc671f5d83aaefd3358ae5cdcf8314552c57e7ed3e6475bdd", size = 49451, upload-time = "2025-10-06T05:37:53.425Z" }, + { url = "https://files.pythonhosted.org/packages/e0/a3/5982da14e113d07b325230f95060e2169f5311b1017ea8af2a29b374c289/frozenlist-1.8.0-cp314-cp314t-win_arm64.whl", hash = "sha256:102e6314ca4da683dca92e3b1355490fed5f313b768500084fbe6371fddfdb79", size = 42507, upload-time = "2025-10-06T05:37:54.513Z" }, + { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409, upload-time = "2025-10-06T05:38:16.721Z" }, +] + +[[package]] +name = "fsspec" +version = "2025.10.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/24/7f/2747c0d332b9acfa75dc84447a066fdf812b5a6b8d30472b74d309bfe8cb/fsspec-2025.10.0.tar.gz", hash = "sha256:b6789427626f068f9a83ca4e8a3cc050850b6c0f71f99ddb4f542b8266a26a59", size = 309285, upload-time = "2025-10-30T14:58:44.036Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/02/a6b21098b1d5d6249b7c5ab69dde30108a71e4e819d4a9778f1de1d5b70d/fsspec-2025.10.0-py3-none-any.whl", hash = "sha256:7c7712353ae7d875407f97715f0e1ffcc21e33d5b24556cb1e090ae9409ec61d", size = 200966, upload-time = "2025-10-30T14:58:42.53Z" }, +] + +[[package]] +name = "google-api-core" +version = "2.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-auth" }, + { name = "googleapis-common-protos" }, + { name = "proto-plus" }, + { name = "protobuf" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/61/da/83d7043169ac2c8c7469f0e375610d78ae2160134bf1b80634c482fa079c/google_api_core-2.28.1.tar.gz", hash = "sha256:2b405df02d68e68ce0fbc138559e6036559e685159d148ae5861013dc201baf8", size = 176759, upload-time = "2025-10-28T21:34:51.529Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ed/d4/90197b416cb61cefd316964fd9e7bd8324bcbafabf40eef14a9f20b81974/google_api_core-2.28.1-py3-none-any.whl", hash = "sha256:4021b0f8ceb77a6fb4de6fde4502cecab45062e66ff4f2895169e0b35bc9466c", size = 173706, upload-time = "2025-10-28T21:34:50.151Z" }, +] + +[package.optional-dependencies] +grpc = [ + { name = "grpcio" }, + { name = "grpcio-status" }, +] + +[[package]] +name = "google-auth" +version = "2.49.0.dev0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, + { name = "pyasn1-modules" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f9/e5/0f232ebec2089bf7bb9c2ee5ef115957dbc9a0eed795617ac063214f8fef/google_auth-2.49.0.dev0.tar.gz", hash = "sha256:8ebdc83d298b130bde4ded0e19cb983330f885736000348a83c161de23205e86", size = 326545, upload-time = "2026-01-26T21:44:45.284Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7b/84/79ce885cfe78762d3f726c48a0949d19403534ff52f09482c17620d13211/google_auth-2.49.0.dev0-py3-none-any.whl", hash = "sha256:10eb4a717d5b19050f281ba7f76b632666fce6e31c751c66ee19862152455ea4", size = 236530, upload-time = "2026-01-26T21:44:43.352Z" }, +] + +[package.optional-dependencies] +requests = [ + { name = "requests" }, +] + +[[package]] +name = "google-cloud-aiplatform" +version = "1.133.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "docstring-parser" }, + { name = "google-api-core", extra = ["grpc"] }, + { name = "google-auth" }, + { name = "google-cloud-bigquery" }, + { name = "google-cloud-resource-manager" }, + { name = "google-cloud-storage" }, + { name = "google-genai" }, + { name = "packaging" }, + { name = "proto-plus" }, + { name = "protobuf" }, + { name = "pydantic" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d4/be/31ce7fd658ddebafbe5583977ddee536b2bacc491ad10b5a067388aec66f/google_cloud_aiplatform-1.133.0.tar.gz", hash = "sha256:3a6540711956dd178daaab3c2c05db476e46d94ac25912b8cf4f59b00b058ae0", size = 9921309, upload-time = "2026-01-08T22:11:25.079Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/01/5b/ef74ff65aebb74eaba51078e33ddd897247ba0d1197fd5a7953126205519/google_cloud_aiplatform-1.133.0-py2.py3-none-any.whl", hash = "sha256:dfc81228e987ca10d1c32c7204e2131b3c8d6b7c8e0b4e23bf7c56816bc4c566", size = 8184595, upload-time = "2026-01-08T22:11:22.067Z" }, +] + +[[package]] +name = "google-cloud-bigquery" +version = "3.38.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-api-core", extra = ["grpc"] }, + { name = "google-auth" }, + { name = "google-cloud-core" }, + { name = "google-resumable-media" }, + { name = "packaging" }, + { name = "python-dateutil" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/07/b2/a17e40afcf9487e3d17db5e36728ffe75c8d5671c46f419d7b6528a5728a/google_cloud_bigquery-3.38.0.tar.gz", hash = "sha256:8afcb7116f5eac849097a344eb8bfda78b7cfaae128e60e019193dd483873520", size = 503666, upload-time = "2025-09-17T20:33:33.47Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/39/3c/c8cada9ec282b29232ed9aed5a0b5cca6cf5367cb2ffa8ad0d2583d743f1/google_cloud_bigquery-3.38.0-py3-none-any.whl", hash = "sha256:e06e93ff7b245b239945ef59cb59616057598d369edac457ebf292bd61984da6", size = 259257, upload-time = "2025-09-17T20:33:31.404Z" }, +] + +[[package]] +name = "google-cloud-core" +version = "2.5.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-api-core" }, + { name = "google-auth" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a6/03/ef0bc99d0e0faf4fdbe67ac445e18cdaa74824fd93cd069e7bb6548cb52d/google_cloud_core-2.5.0.tar.gz", hash = "sha256:7c1b7ef5c92311717bd05301aa1a91ffbc565673d3b0b4163a52d8413a186963", size = 36027, upload-time = "2025-10-29T23:17:39.513Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/89/20/bfa472e327c8edee00f04beecc80baeddd2ab33ee0e86fd7654da49d45e9/google_cloud_core-2.5.0-py3-none-any.whl", hash = "sha256:67d977b41ae6c7211ee830c7912e41003ea8194bff15ae7d72fd6f51e57acabc", size = 29469, upload-time = "2025-10-29T23:17:38.548Z" }, +] + +[[package]] +name = "google-cloud-resource-manager" +version = "1.15.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-api-core", extra = ["grpc"] }, + { name = "google-auth" }, + { name = "grpc-google-iam-v1" }, + { name = "grpcio" }, + { name = "proto-plus" }, + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fc/19/b95d0e8814ce42522e434cdd85c0cb6236d874d9adf6685fc8e6d1fda9d1/google_cloud_resource_manager-1.15.0.tar.gz", hash = "sha256:3d0b78c3daa713f956d24e525b35e9e9a76d597c438837171304d431084cedaf", size = 449227, upload-time = "2025-10-20T14:57:01.108Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8c/93/5aef41a5f146ad4559dd7040ae5fa8e7ddcab4dfadbef6cb4b66d775e690/google_cloud_resource_manager-1.15.0-py3-none-any.whl", hash = "sha256:0ccde5db644b269ddfdf7b407a2c7b60bdbf459f8e666344a5285601d00c7f6d", size = 397151, upload-time = "2025-10-20T14:53:45.409Z" }, +] + +[[package]] +name = "google-cloud-storage" +version = "3.5.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-api-core" }, + { name = "google-auth" }, + { name = "google-cloud-core" }, + { name = "google-crc32c" }, + { name = "google-resumable-media" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/6d/98/c0c6d10f893509585c755a6567689e914df3501ae269f46b0d67d7e7c70a/google_cloud_storage-3.5.0.tar.gz", hash = "sha256:10b89e1d1693114b3e0ca921bdd28c5418701fd092e39081bb77e5cee0851ab7", size = 17242207, upload-time = "2025-11-05T12:41:02.715Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/20/81/a567236070e7fe79a17a11b118d7f5ce4adefe2edd18caf1824d7e29a30a/google_cloud_storage-3.5.0-py3-none-any.whl", hash = "sha256:e28fd6ad8764e60dbb9a398a7bc3296e7920c494bc329057d828127e5f9630d3", size = 289998, upload-time = "2025-11-05T12:41:01.212Z" }, +] + +[[package]] +name = "google-cloud-vectorsearch" +version = "0.4.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-api-core", extra = ["grpc"] }, + { name = "google-auth" }, + { name = "grpcio" }, + { name = "proto-plus" }, + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fa/68/8fdbb8bae689b228c560c025da0c62d0f39f4333a47f17bc4fe56b04712f/google_cloud_vectorsearch-0.4.0.tar.gz", hash = "sha256:3dcfa5b50ab83b1f2509b88d748b242316802a45add2e0cdfc71df291834df10", size = 208982, upload-time = "2026-02-05T18:59:24.838Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/32/55/df0dd49ea7122d33837d84ca48b4478b029a3ee397efcc7f89f8f4cdded7/google_cloud_vectorsearch-0.4.0-py3-none-any.whl", hash = "sha256:e22788f6e91f836aa833affb8d637433d6008683e1750ae7c5688ab332bf8ea2", size = 177665, upload-time = "2026-02-05T18:59:06.606Z" }, +] + +[[package]] +name = "google-crc32c" +version = "1.7.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/19/ae/87802e6d9f9d69adfaedfcfd599266bf386a54d0be058b532d04c794f76d/google_crc32c-1.7.1.tar.gz", hash = "sha256:2bff2305f98846f3e825dbeec9ee406f89da7962accdb29356e4eadc251bd472", size = 14495, upload-time = "2025-03-26T14:29:13.32Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/eb/69/b1b05cf415df0d86691d6a8b4b7e60ab3a6fb6efb783ee5cd3ed1382bfd3/google_crc32c-1.7.1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:b07d48faf8292b4db7c3d64ab86f950c2e94e93a11fd47271c28ba458e4a0d76", size = 30467, upload-time = "2025-03-26T14:31:11.92Z" }, + { url = "https://files.pythonhosted.org/packages/44/3d/92f8928ecd671bd5b071756596971c79d252d09b835cdca5a44177fa87aa/google_crc32c-1.7.1-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:7cc81b3a2fbd932a4313eb53cc7d9dde424088ca3a0337160f35d91826880c1d", size = 30311, upload-time = "2025-03-26T14:53:14.161Z" }, + { url = "https://files.pythonhosted.org/packages/33/42/c2d15a73df79d45ed6b430b9e801d0bd8e28ac139a9012d7d58af50a385d/google_crc32c-1.7.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1c67ca0a1f5b56162951a9dae987988679a7db682d6f97ce0f6381ebf0fbea4c", size = 37889, upload-time = "2025-03-26T14:41:27.83Z" }, + { url = "https://files.pythonhosted.org/packages/57/ea/ac59c86a3c694afd117bb669bde32aaf17d0de4305d01d706495f09cbf19/google_crc32c-1.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc5319db92daa516b653600794d5b9f9439a9a121f3e162f94b0e1891c7933cb", size = 33028, upload-time = "2025-03-26T14:41:29.141Z" }, + { url = "https://files.pythonhosted.org/packages/60/44/87e77e8476767a4a93f6cf271157c6d948eacec63688c093580af13b04be/google_crc32c-1.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcdf5a64adb747610140572ed18d011896e3b9ae5195f2514b7ff678c80f1603", size = 38026, upload-time = "2025-03-26T14:41:29.921Z" }, + { url = "https://files.pythonhosted.org/packages/c8/bf/21ac7bb305cd7c1a6de9c52f71db0868e104a5b573a4977cd9d0ff830f82/google_crc32c-1.7.1-cp310-cp310-win_amd64.whl", hash = "sha256:754561c6c66e89d55754106739e22fdaa93fafa8da7221b29c8b8e8270c6ec8a", size = 33476, upload-time = "2025-03-26T14:29:09.086Z" }, + { url = "https://files.pythonhosted.org/packages/f7/94/220139ea87822b6fdfdab4fb9ba81b3fff7ea2c82e2af34adc726085bffc/google_crc32c-1.7.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:6fbab4b935989e2c3610371963ba1b86afb09537fd0c633049be82afe153ac06", size = 30468, upload-time = "2025-03-26T14:32:52.215Z" }, + { url = "https://files.pythonhosted.org/packages/94/97/789b23bdeeb9d15dc2904660463ad539d0318286d7633fe2760c10ed0c1c/google_crc32c-1.7.1-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:ed66cbe1ed9cbaaad9392b5259b3eba4a9e565420d734e6238813c428c3336c9", size = 30313, upload-time = "2025-03-26T14:57:38.758Z" }, + { url = "https://files.pythonhosted.org/packages/81/b8/976a2b843610c211e7ccb3e248996a61e87dbb2c09b1499847e295080aec/google_crc32c-1.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee6547b657621b6cbed3562ea7826c3e11cab01cd33b74e1f677690652883e77", size = 33048, upload-time = "2025-03-26T14:41:30.679Z" }, + { url = "https://files.pythonhosted.org/packages/c9/16/a3842c2cf591093b111d4a5e2bfb478ac6692d02f1b386d2a33283a19dc9/google_crc32c-1.7.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d68e17bad8f7dd9a49181a1f5a8f4b251c6dbc8cc96fb79f1d321dfd57d66f53", size = 32669, upload-time = "2025-03-26T14:41:31.432Z" }, + { url = "https://files.pythonhosted.org/packages/04/17/ed9aba495916fcf5fe4ecb2267ceb851fc5f273c4e4625ae453350cfd564/google_crc32c-1.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:6335de12921f06e1f774d0dd1fbea6bf610abe0887a1638f64d694013138be5d", size = 33476, upload-time = "2025-03-26T14:29:10.211Z" }, + { url = "https://files.pythonhosted.org/packages/dd/b7/787e2453cf8639c94b3d06c9d61f512234a82e1d12d13d18584bd3049904/google_crc32c-1.7.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:2d73a68a653c57281401871dd4aeebbb6af3191dcac751a76ce430df4d403194", size = 30470, upload-time = "2025-03-26T14:34:31.655Z" }, + { url = "https://files.pythonhosted.org/packages/ed/b4/6042c2b0cbac3ec3a69bb4c49b28d2f517b7a0f4a0232603c42c58e22b44/google_crc32c-1.7.1-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:22beacf83baaf59f9d3ab2bbb4db0fb018da8e5aebdce07ef9f09fce8220285e", size = 30315, upload-time = "2025-03-26T15:01:54.634Z" }, + { url = "https://files.pythonhosted.org/packages/29/ad/01e7a61a5d059bc57b702d9ff6a18b2585ad97f720bd0a0dbe215df1ab0e/google_crc32c-1.7.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:19eafa0e4af11b0a4eb3974483d55d2d77ad1911e6cf6f832e1574f6781fd337", size = 33180, upload-time = "2025-03-26T14:41:32.168Z" }, + { url = "https://files.pythonhosted.org/packages/3b/a5/7279055cf004561894ed3a7bfdf5bf90a53f28fadd01af7cd166e88ddf16/google_crc32c-1.7.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b6d86616faaea68101195c6bdc40c494e4d76f41e07a37ffdef270879c15fb65", size = 32794, upload-time = "2025-03-26T14:41:33.264Z" }, + { url = "https://files.pythonhosted.org/packages/0f/d6/77060dbd140c624e42ae3ece3df53b9d811000729a5c821b9fd671ceaac6/google_crc32c-1.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:b7491bdc0c7564fcf48c0179d2048ab2f7c7ba36b84ccd3a3e1c3f7a72d3bba6", size = 33477, upload-time = "2025-03-26T14:29:10.94Z" }, + { url = "https://files.pythonhosted.org/packages/8b/72/b8d785e9184ba6297a8620c8a37cf6e39b81a8ca01bb0796d7cbb28b3386/google_crc32c-1.7.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:df8b38bdaf1629d62d51be8bdd04888f37c451564c2042d36e5812da9eff3c35", size = 30467, upload-time = "2025-03-26T14:36:06.909Z" }, + { url = "https://files.pythonhosted.org/packages/34/25/5f18076968212067c4e8ea95bf3b69669f9fc698476e5f5eb97d5b37999f/google_crc32c-1.7.1-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:e42e20a83a29aa2709a0cf271c7f8aefaa23b7ab52e53b322585297bb94d4638", size = 30309, upload-time = "2025-03-26T15:06:15.318Z" }, + { url = "https://files.pythonhosted.org/packages/92/83/9228fe65bf70e93e419f38bdf6c5ca5083fc6d32886ee79b450ceefd1dbd/google_crc32c-1.7.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:905a385140bf492ac300026717af339790921f411c0dfd9aa5a9e69a08ed32eb", size = 33133, upload-time = "2025-03-26T14:41:34.388Z" }, + { url = "https://files.pythonhosted.org/packages/c3/ca/1ea2fd13ff9f8955b85e7956872fdb7050c4ace8a2306a6d177edb9cf7fe/google_crc32c-1.7.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6b211ddaf20f7ebeec5c333448582c224a7c90a9d98826fbab82c0ddc11348e6", size = 32773, upload-time = "2025-03-26T14:41:35.19Z" }, + { url = "https://files.pythonhosted.org/packages/89/32/a22a281806e3ef21b72db16f948cad22ec68e4bdd384139291e00ff82fe2/google_crc32c-1.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:0f99eaa09a9a7e642a61e06742856eec8b19fc0037832e03f941fe7cf0c8e4db", size = 33475, upload-time = "2025-03-26T14:29:11.771Z" }, + { url = "https://files.pythonhosted.org/packages/b8/c5/002975aff514e57fc084ba155697a049b3f9b52225ec3bc0f542871dd524/google_crc32c-1.7.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32d1da0d74ec5634a05f53ef7df18fc646666a25efaaca9fc7dcfd4caf1d98c3", size = 33243, upload-time = "2025-03-26T14:41:35.975Z" }, + { url = "https://files.pythonhosted.org/packages/61/cb/c585282a03a0cea70fcaa1bf55d5d702d0f2351094d663ec3be1c6c67c52/google_crc32c-1.7.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e10554d4abc5238823112c2ad7e4560f96c7bf3820b202660373d769d9e6e4c9", size = 32870, upload-time = "2025-03-26T14:41:37.08Z" }, + { url = "https://files.pythonhosted.org/packages/0b/43/31e57ce04530794917dfe25243860ec141de9fadf4aa9783dffe7dac7c39/google_crc32c-1.7.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a8e9afc74168b0b2232fb32dd202c93e46b7d5e4bf03e66ba5dc273bb3559589", size = 28242, upload-time = "2025-03-26T14:41:42.858Z" }, + { url = "https://files.pythonhosted.org/packages/eb/f3/8b84cd4e0ad111e63e30eb89453f8dd308e3ad36f42305cf8c202461cdf0/google_crc32c-1.7.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fa8136cc14dd27f34a3221c0f16fd42d8a40e4778273e61a3c19aedaa44daf6b", size = 28049, upload-time = "2025-03-26T14:41:44.651Z" }, + { url = "https://files.pythonhosted.org/packages/16/1b/1693372bf423ada422f80fd88260dbfd140754adb15cbc4d7e9a68b1cb8e/google_crc32c-1.7.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85fef7fae11494e747c9fd1359a527e5970fc9603c90764843caabd3a16a0a48", size = 28241, upload-time = "2025-03-26T14:41:45.898Z" }, + { url = "https://files.pythonhosted.org/packages/fd/3c/2a19a60a473de48717b4efb19398c3f914795b64a96cf3fbe82588044f78/google_crc32c-1.7.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6efb97eb4369d52593ad6f75e7e10d053cf00c48983f7a973105bc70b0ac4d82", size = 28048, upload-time = "2025-03-26T14:41:46.696Z" }, +] + +[[package]] +name = "google-genai" +version = "1.62.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "distro" }, + { name = "google-auth", extra = ["requests"] }, + { name = "httpx" }, + { name = "pydantic" }, + { name = "requests" }, + { name = "sniffio" }, + { name = "tenacity" }, + { name = "typing-extensions" }, + { name = "websockets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/94/4c/71b32b5c8db420cf2fd0d5ef8a672adbde97d85e5d44a0b4fca712264ef1/google_genai-1.62.0.tar.gz", hash = "sha256:709468a14c739a080bc240a4f3191df597bf64485b1ca3728e0fb67517774c18", size = 490888, upload-time = "2026-02-04T22:48:41.989Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/09/5f/4645d8a28c6e431d0dd6011003a852563f3da7037d36af53154925b099fd/google_genai-1.62.0-py3-none-any.whl", hash = "sha256:4c3daeff3d05fafee4b9a1a31f9c07f01bc22051081aa58b4d61f58d16d1bcc0", size = 724166, upload-time = "2026-02-04T22:48:39.956Z" }, +] + +[[package]] +name = "google-resumable-media" +version = "2.7.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "google-crc32c" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/58/5a/0efdc02665dca14e0837b62c8a1a93132c264bd02054a15abb2218afe0ae/google_resumable_media-2.7.2.tar.gz", hash = "sha256:5280aed4629f2b60b847b0d42f9857fd4935c11af266744df33d8074cae92fe0", size = 2163099, upload-time = "2024-08-07T22:20:38.555Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/82/35/b8d3baf8c46695858cb9d8835a53baa1eeb9906ddaf2f728a5f5b640fd1e/google_resumable_media-2.7.2-py2.py3-none-any.whl", hash = "sha256:3ce7551e9fe6d99e9a126101d2536612bb73486721951e9562fee0f90c6ababa", size = 81251, upload-time = "2024-08-07T22:20:36.409Z" }, +] + +[[package]] +name = "googleapis-common-protos" +version = "1.72.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e5/7b/adfd75544c415c487b33061fe7ae526165241c1ea133f9a9125a56b39fd8/googleapis_common_protos-1.72.0.tar.gz", hash = "sha256:e55a601c1b32b52d7a3e65f43563e2aa61bcd737998ee672ac9b951cd49319f5", size = 147433, upload-time = "2025-11-06T18:29:24.087Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c4/ab/09169d5a4612a5f92490806649ac8d41e3ec9129c636754575b3553f4ea4/googleapis_common_protos-1.72.0-py3-none-any.whl", hash = "sha256:4299c5a82d5ae1a9702ada957347726b167f9f8d1fc352477702a1e851ff4038", size = 297515, upload-time = "2025-11-06T18:29:13.14Z" }, +] + +[package.optional-dependencies] +grpc = [ + { name = "grpcio" }, +] + +[[package]] +name = "greenlet" +version = "3.2.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/03/b8/704d753a5a45507a7aab61f18db9509302ed3d0a27ac7e0359ec2905b1a6/greenlet-3.2.4.tar.gz", hash = "sha256:0dca0d95ff849f9a364385f36ab49f50065d76964944638be9691e1832e9f86d", size = 188260, upload-time = "2025-08-07T13:24:33.51Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7d/ed/6bfa4109fcb23a58819600392564fea69cdc6551ffd5e69ccf1d52a40cbc/greenlet-3.2.4-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:8c68325b0d0acf8d91dde4e6f930967dd52a5302cd4062932a6b2e7c2969f47c", size = 271061, upload-time = "2025-08-07T13:17:15.373Z" }, + { url = "https://files.pythonhosted.org/packages/2a/fc/102ec1a2fc015b3a7652abab7acf3541d58c04d3d17a8d3d6a44adae1eb1/greenlet-3.2.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:94385f101946790ae13da500603491f04a76b6e4c059dab271b3ce2e283b2590", size = 629475, upload-time = "2025-08-07T13:42:54.009Z" }, + { url = "https://files.pythonhosted.org/packages/c5/26/80383131d55a4ac0fb08d71660fd77e7660b9db6bdb4e8884f46d9f2cc04/greenlet-3.2.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f10fd42b5ee276335863712fa3da6608e93f70629c631bf77145021600abc23c", size = 640802, upload-time = "2025-08-07T13:45:25.52Z" }, + { url = "https://files.pythonhosted.org/packages/e9/49/547b93b7c0428ede7b3f309bc965986874759f7d89e4e04aeddbc9699acb/greenlet-3.2.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:58b97143c9cc7b86fc458f215bd0932f1757ce649e05b640fea2e79b54cedb31", size = 635417, upload-time = "2025-08-07T13:18:25.189Z" }, + { url = "https://files.pythonhosted.org/packages/7f/91/ae2eb6b7979e2f9b035a9f612cf70f1bf54aad4e1d125129bef1eae96f19/greenlet-3.2.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c2ca18a03a8cfb5b25bc1cbe20f3d9a4c80d8c3b13ba3df49ac3961af0b1018d", size = 584358, upload-time = "2025-08-07T13:18:23.708Z" }, + { url = "https://files.pythonhosted.org/packages/f7/85/433de0c9c0252b22b16d413c9407e6cb3b41df7389afc366ca204dbc1393/greenlet-3.2.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:9fe0a28a7b952a21e2c062cd5756d34354117796c6d9215a87f55e38d15402c5", size = 1113550, upload-time = "2025-08-07T13:42:37.467Z" }, + { url = "https://files.pythonhosted.org/packages/a1/8d/88f3ebd2bc96bf7747093696f4335a0a8a4c5acfcf1b757717c0d2474ba3/greenlet-3.2.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8854167e06950ca75b898b104b63cc646573aa5fef1353d4508ecdd1ee76254f", size = 1137126, upload-time = "2025-08-07T13:18:20.239Z" }, + { url = "https://files.pythonhosted.org/packages/f1/29/74242b7d72385e29bcc5563fba67dad94943d7cd03552bac320d597f29b2/greenlet-3.2.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f47617f698838ba98f4ff4189aef02e7343952df3a615f847bb575c3feb177a7", size = 1544904, upload-time = "2025-11-04T12:42:04.763Z" }, + { url = "https://files.pythonhosted.org/packages/c8/e2/1572b8eeab0f77df5f6729d6ab6b141e4a84ee8eb9bc8c1e7918f94eda6d/greenlet-3.2.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:af41be48a4f60429d5cad9d22175217805098a9ef7c40bfef44f7669fb9d74d8", size = 1611228, upload-time = "2025-11-04T12:42:08.423Z" }, + { url = "https://files.pythonhosted.org/packages/d6/6f/b60b0291d9623c496638c582297ead61f43c4b72eef5e9c926ef4565ec13/greenlet-3.2.4-cp310-cp310-win_amd64.whl", hash = "sha256:73f49b5368b5359d04e18d15828eecc1806033db5233397748f4ca813ff1056c", size = 298654, upload-time = "2025-08-07T13:50:00.469Z" }, + { url = "https://files.pythonhosted.org/packages/a4/de/f28ced0a67749cac23fecb02b694f6473f47686dff6afaa211d186e2ef9c/greenlet-3.2.4-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:96378df1de302bc38e99c3a9aa311967b7dc80ced1dcc6f171e99842987882a2", size = 272305, upload-time = "2025-08-07T13:15:41.288Z" }, + { url = "https://files.pythonhosted.org/packages/09/16/2c3792cba130000bf2a31c5272999113f4764fd9d874fb257ff588ac779a/greenlet-3.2.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1ee8fae0519a337f2329cb78bd7a8e128ec0f881073d43f023c7b8d4831d5246", size = 632472, upload-time = "2025-08-07T13:42:55.044Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8f/95d48d7e3d433e6dae5b1682e4292242a53f22df82e6d3dda81b1701a960/greenlet-3.2.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:94abf90142c2a18151632371140b3dba4dee031633fe614cb592dbb6c9e17bc3", size = 644646, upload-time = "2025-08-07T13:45:26.523Z" }, + { url = "https://files.pythonhosted.org/packages/25/5d/382753b52006ce0218297ec1b628e048c4e64b155379331f25a7316eb749/greenlet-3.2.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0db5594dce18db94f7d1650d7489909b57afde4c580806b8d9203b6e79cdc079", size = 639707, upload-time = "2025-08-07T13:18:27.146Z" }, + { url = "https://files.pythonhosted.org/packages/1f/8e/abdd3f14d735b2929290a018ecf133c901be4874b858dd1c604b9319f064/greenlet-3.2.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2523e5246274f54fdadbce8494458a2ebdcdbc7b802318466ac5606d3cded1f8", size = 587684, upload-time = "2025-08-07T13:18:25.164Z" }, + { url = "https://files.pythonhosted.org/packages/5d/65/deb2a69c3e5996439b0176f6651e0052542bb6c8f8ec2e3fba97c9768805/greenlet-3.2.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1987de92fec508535687fb807a5cea1560f6196285a4cde35c100b8cd632cc52", size = 1116647, upload-time = "2025-08-07T13:42:38.655Z" }, + { url = "https://files.pythonhosted.org/packages/3f/cc/b07000438a29ac5cfb2194bfc128151d52f333cee74dd7dfe3fb733fc16c/greenlet-3.2.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:55e9c5affaa6775e2c6b67659f3a71684de4c549b3dd9afca3bc773533d284fa", size = 1142073, upload-time = "2025-08-07T13:18:21.737Z" }, + { url = "https://files.pythonhosted.org/packages/67/24/28a5b2fa42d12b3d7e5614145f0bd89714c34c08be6aabe39c14dd52db34/greenlet-3.2.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c9c6de1940a7d828635fbd254d69db79e54619f165ee7ce32fda763a9cb6a58c", size = 1548385, upload-time = "2025-11-04T12:42:11.067Z" }, + { url = "https://files.pythonhosted.org/packages/6a/05/03f2f0bdd0b0ff9a4f7b99333d57b53a7709c27723ec8123056b084e69cd/greenlet-3.2.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:03c5136e7be905045160b1b9fdca93dd6727b180feeafda6818e6496434ed8c5", size = 1613329, upload-time = "2025-11-04T12:42:12.928Z" }, + { url = "https://files.pythonhosted.org/packages/d8/0f/30aef242fcab550b0b3520b8e3561156857c94288f0332a79928c31a52cf/greenlet-3.2.4-cp311-cp311-win_amd64.whl", hash = "sha256:9c40adce87eaa9ddb593ccb0fa6a07caf34015a29bf8d344811665b573138db9", size = 299100, upload-time = "2025-08-07T13:44:12.287Z" }, + { url = "https://files.pythonhosted.org/packages/44/69/9b804adb5fd0671f367781560eb5eb586c4d495277c93bde4307b9e28068/greenlet-3.2.4-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:3b67ca49f54cede0186854a008109d6ee71f66bd57bb36abd6d0a0267b540cdd", size = 274079, upload-time = "2025-08-07T13:15:45.033Z" }, + { url = "https://files.pythonhosted.org/packages/46/e9/d2a80c99f19a153eff70bc451ab78615583b8dac0754cfb942223d2c1a0d/greenlet-3.2.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ddf9164e7a5b08e9d22511526865780a576f19ddd00d62f8a665949327fde8bb", size = 640997, upload-time = "2025-08-07T13:42:56.234Z" }, + { url = "https://files.pythonhosted.org/packages/3b/16/035dcfcc48715ccd345f3a93183267167cdd162ad123cd93067d86f27ce4/greenlet-3.2.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f28588772bb5fb869a8eb331374ec06f24a83a9c25bfa1f38b6993afe9c1e968", size = 655185, upload-time = "2025-08-07T13:45:27.624Z" }, + { url = "https://files.pythonhosted.org/packages/68/88/69bf19fd4dc19981928ceacbc5fd4bb6bc2215d53199e367832e98d1d8fe/greenlet-3.2.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c60a6d84229b271d44b70fb6e5fa23781abb5d742af7b808ae3f6efd7c9c60f6", size = 651839, upload-time = "2025-08-07T13:18:30.281Z" }, + { url = "https://files.pythonhosted.org/packages/19/0d/6660d55f7373b2ff8152401a83e02084956da23ae58cddbfb0b330978fe9/greenlet-3.2.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3b3812d8d0c9579967815af437d96623f45c0f2ae5f04e366de62a12d83a8fb0", size = 607586, upload-time = "2025-08-07T13:18:28.544Z" }, + { url = "https://files.pythonhosted.org/packages/8e/1a/c953fdedd22d81ee4629afbb38d2f9d71e37d23caace44775a3a969147d4/greenlet-3.2.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:abbf57b5a870d30c4675928c37278493044d7c14378350b3aa5d484fa65575f0", size = 1123281, upload-time = "2025-08-07T13:42:39.858Z" }, + { url = "https://files.pythonhosted.org/packages/3f/c7/12381b18e21aef2c6bd3a636da1088b888b97b7a0362fac2e4de92405f97/greenlet-3.2.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:20fb936b4652b6e307b8f347665e2c615540d4b42b3b4c8a321d8286da7e520f", size = 1151142, upload-time = "2025-08-07T13:18:22.981Z" }, + { url = "https://files.pythonhosted.org/packages/27/45/80935968b53cfd3f33cf99ea5f08227f2646e044568c9b1555b58ffd61c2/greenlet-3.2.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ee7a6ec486883397d70eec05059353b8e83eca9168b9f3f9a361971e77e0bcd0", size = 1564846, upload-time = "2025-11-04T12:42:15.191Z" }, + { url = "https://files.pythonhosted.org/packages/69/02/b7c30e5e04752cb4db6202a3858b149c0710e5453b71a3b2aec5d78a1aab/greenlet-3.2.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:326d234cbf337c9c3def0676412eb7040a35a768efc92504b947b3e9cfc7543d", size = 1633814, upload-time = "2025-11-04T12:42:17.175Z" }, + { url = "https://files.pythonhosted.org/packages/e9/08/b0814846b79399e585f974bbeebf5580fbe59e258ea7be64d9dfb253c84f/greenlet-3.2.4-cp312-cp312-win_amd64.whl", hash = "sha256:a7d4e128405eea3814a12cc2605e0e6aedb4035bf32697f72deca74de4105e02", size = 299899, upload-time = "2025-08-07T13:38:53.448Z" }, + { url = "https://files.pythonhosted.org/packages/49/e8/58c7f85958bda41dafea50497cbd59738c5c43dbbea5ee83d651234398f4/greenlet-3.2.4-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:1a921e542453fe531144e91e1feedf12e07351b1cf6c9e8a3325ea600a715a31", size = 272814, upload-time = "2025-08-07T13:15:50.011Z" }, + { url = "https://files.pythonhosted.org/packages/62/dd/b9f59862e9e257a16e4e610480cfffd29e3fae018a68c2332090b53aac3d/greenlet-3.2.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cd3c8e693bff0fff6ba55f140bf390fa92c994083f838fece0f63be121334945", size = 641073, upload-time = "2025-08-07T13:42:57.23Z" }, + { url = "https://files.pythonhosted.org/packages/f7/0b/bc13f787394920b23073ca3b6c4a7a21396301ed75a655bcb47196b50e6e/greenlet-3.2.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:710638eb93b1fa52823aa91bf75326f9ecdfd5e0466f00789246a5280f4ba0fc", size = 655191, upload-time = "2025-08-07T13:45:29.752Z" }, + { url = "https://files.pythonhosted.org/packages/7f/3b/3a3328a788d4a473889a2d403199932be55b1b0060f4ddd96ee7cdfcad10/greenlet-3.2.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d76383238584e9711e20ebe14db6c88ddcedc1829a9ad31a584389463b5aa504", size = 652169, upload-time = "2025-08-07T13:18:32.861Z" }, + { url = "https://files.pythonhosted.org/packages/ee/43/3cecdc0349359e1a527cbf2e3e28e5f8f06d3343aaf82ca13437a9aa290f/greenlet-3.2.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23768528f2911bcd7e475210822ffb5254ed10d71f4028387e5a99b4c6699671", size = 610497, upload-time = "2025-08-07T13:18:31.636Z" }, + { url = "https://files.pythonhosted.org/packages/b8/19/06b6cf5d604e2c382a6f31cafafd6f33d5dea706f4db7bdab184bad2b21d/greenlet-3.2.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:00fadb3fedccc447f517ee0d3fd8fe49eae949e1cd0f6a611818f4f6fb7dc83b", size = 1121662, upload-time = "2025-08-07T13:42:41.117Z" }, + { url = "https://files.pythonhosted.org/packages/a2/15/0d5e4e1a66fab130d98168fe984c509249c833c1a3c16806b90f253ce7b9/greenlet-3.2.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:d25c5091190f2dc0eaa3f950252122edbbadbb682aa7b1ef2f8af0f8c0afefae", size = 1149210, upload-time = "2025-08-07T13:18:24.072Z" }, + { url = "https://files.pythonhosted.org/packages/1c/53/f9c440463b3057485b8594d7a638bed53ba531165ef0ca0e6c364b5cc807/greenlet-3.2.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6e343822feb58ac4d0a1211bd9399de2b3a04963ddeec21530fc426cc121f19b", size = 1564759, upload-time = "2025-11-04T12:42:19.395Z" }, + { url = "https://files.pythonhosted.org/packages/47/e4/3bb4240abdd0a8d23f4f88adec746a3099f0d86bfedb623f063b2e3b4df0/greenlet-3.2.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ca7f6f1f2649b89ce02f6f229d7c19f680a6238af656f61e0115b24857917929", size = 1634288, upload-time = "2025-11-04T12:42:21.174Z" }, + { url = "https://files.pythonhosted.org/packages/0b/55/2321e43595e6801e105fcfdee02b34c0f996eb71e6ddffca6b10b7e1d771/greenlet-3.2.4-cp313-cp313-win_amd64.whl", hash = "sha256:554b03b6e73aaabec3745364d6239e9e012d64c68ccd0b8430c64ccc14939a8b", size = 299685, upload-time = "2025-08-07T13:24:38.824Z" }, + { url = "https://files.pythonhosted.org/packages/22/5c/85273fd7cc388285632b0498dbbab97596e04b154933dfe0f3e68156c68c/greenlet-3.2.4-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:49a30d5fda2507ae77be16479bdb62a660fa51b1eb4928b524975b3bde77b3c0", size = 273586, upload-time = "2025-08-07T13:16:08.004Z" }, + { url = "https://files.pythonhosted.org/packages/d1/75/10aeeaa3da9332c2e761e4c50d4c3556c21113ee3f0afa2cf5769946f7a3/greenlet-3.2.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:299fd615cd8fc86267b47597123e3f43ad79c9d8a22bebdce535e53550763e2f", size = 686346, upload-time = "2025-08-07T13:42:59.944Z" }, + { url = "https://files.pythonhosted.org/packages/c0/aa/687d6b12ffb505a4447567d1f3abea23bd20e73a5bed63871178e0831b7a/greenlet-3.2.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:c17b6b34111ea72fc5a4e4beec9711d2226285f0386ea83477cbb97c30a3f3a5", size = 699218, upload-time = "2025-08-07T13:45:30.969Z" }, + { url = "https://files.pythonhosted.org/packages/92/2e/ea25914b1ebfde93b6fc4ff46d6864564fba59024e928bdc7de475affc25/greenlet-3.2.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:061dc4cf2c34852b052a8620d40f36324554bc192be474b9e9770e8c042fd735", size = 695355, upload-time = "2025-08-07T13:18:34.517Z" }, + { url = "https://files.pythonhosted.org/packages/72/60/fc56c62046ec17f6b0d3060564562c64c862948c9d4bc8aa807cf5bd74f4/greenlet-3.2.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:44358b9bf66c8576a9f57a590d5f5d6e72fa4228b763d0e43fee6d3b06d3a337", size = 657512, upload-time = "2025-08-07T13:18:33.969Z" }, + { url = "https://files.pythonhosted.org/packages/23/6e/74407aed965a4ab6ddd93a7ded3180b730d281c77b765788419484cdfeef/greenlet-3.2.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2917bdf657f5859fbf3386b12d68ede4cf1f04c90c3a6bc1f013dd68a22e2269", size = 1612508, upload-time = "2025-11-04T12:42:23.427Z" }, + { url = "https://files.pythonhosted.org/packages/0d/da/343cd760ab2f92bac1845ca07ee3faea9fe52bee65f7bcb19f16ad7de08b/greenlet-3.2.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:015d48959d4add5d6c9f6c5210ee3803a830dce46356e3bc326d6776bde54681", size = 1680760, upload-time = "2025-11-04T12:42:25.341Z" }, + { url = "https://files.pythonhosted.org/packages/e3/a5/6ddab2b4c112be95601c13428db1d8b6608a8b6039816f2ba09c346c08fc/greenlet-3.2.4-cp314-cp314-win_amd64.whl", hash = "sha256:e37ab26028f12dbb0ff65f29a8d3d44a765c61e729647bf2ddfbbed621726f01", size = 303425, upload-time = "2025-08-07T13:32:27.59Z" }, +] + +[[package]] +name = "groq" +version = "0.34.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "distro" }, + { name = "httpx" }, + { name = "pydantic" }, + { name = "sniffio" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/8d/a8/a66425c56936feafd1afd94158ad4867e64c98b7e96f212913f4830f2ca9/groq-0.34.0.tar.gz", hash = "sha256:b0d8b9eeb30c06e1596adf7f0139d9ad73490ece14df8e3a68889f7b419df63c", size = 143418, upload-time = "2025-11-12T20:50:53.742Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/70/4b/c2ca8254d2a99adc0ad9f95b62a11ca812c323e357fcdce4abe272005520/groq-0.34.0-py3-none-any.whl", hash = "sha256:0ffe7d87dd589e8ec3fb71860c840c6a9608a812939cbd5b02178e98c0d849f7", size = 135986, upload-time = "2025-11-12T20:50:52.243Z" }, +] + +[[package]] +name = "grpc-google-iam-v1" +version = "0.14.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos", extra = ["grpc"] }, + { name = "grpcio" }, + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/76/1e/1011451679a983f2f5c6771a1682542ecb027776762ad031fd0d7129164b/grpc_google_iam_v1-0.14.3.tar.gz", hash = "sha256:879ac4ef33136c5491a6300e27575a9ec760f6cdf9a2518798c1b8977a5dc389", size = 23745, upload-time = "2025-10-15T21:14:53.318Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4a/bd/330a1bbdb1afe0b96311249e699b6dc9cfc17916394fd4503ac5aca2514b/grpc_google_iam_v1-0.14.3-py3-none-any.whl", hash = "sha256:7a7f697e017a067206a3dfef44e4c634a34d3dee135fe7d7a4613fe3e59217e6", size = 32690, upload-time = "2025-10-15T21:14:51.72Z" }, +] + +[[package]] +name = "grpcio" +version = "1.76.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b6/e0/318c1ce3ae5a17894d5791e87aea147587c9e702f24122cc7a5c8bbaeeb1/grpcio-1.76.0.tar.gz", hash = "sha256:7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73", size = 12785182, upload-time = "2025-10-21T16:23:12.106Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/17/ff4795dc9a34b6aee6ec379f1b66438a3789cd1315aac0cbab60d92f74b3/grpcio-1.76.0-cp310-cp310-linux_armv7l.whl", hash = "sha256:65a20de41e85648e00305c1bb09a3598f840422e522277641145a32d42dcefcc", size = 5840037, upload-time = "2025-10-21T16:20:25.069Z" }, + { url = "https://files.pythonhosted.org/packages/4e/ff/35f9b96e3fa2f12e1dcd58a4513a2e2294a001d64dec81677361b7040c9a/grpcio-1.76.0-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:40ad3afe81676fd9ec6d9d406eda00933f218038433980aa19d401490e46ecde", size = 11836482, upload-time = "2025-10-21T16:20:30.113Z" }, + { url = "https://files.pythonhosted.org/packages/3e/1c/8374990f9545e99462caacea5413ed783014b3b66ace49e35c533f07507b/grpcio-1.76.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:035d90bc79eaa4bed83f524331d55e35820725c9fbb00ffa1904d5550ed7ede3", size = 6407178, upload-time = "2025-10-21T16:20:32.733Z" }, + { url = "https://files.pythonhosted.org/packages/1e/77/36fd7d7c75a6c12542c90a6d647a27935a1ecaad03e0ffdb7c42db6b04d2/grpcio-1.76.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:4215d3a102bd95e2e11b5395c78562967959824156af11fa93d18fdd18050990", size = 7075684, upload-time = "2025-10-21T16:20:35.435Z" }, + { url = "https://files.pythonhosted.org/packages/38/f7/e3cdb252492278e004722306c5a8935eae91e64ea11f0af3437a7de2e2b7/grpcio-1.76.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:49ce47231818806067aea3324d4bf13825b658ad662d3b25fada0bdad9b8a6af", size = 6611133, upload-time = "2025-10-21T16:20:37.541Z" }, + { url = "https://files.pythonhosted.org/packages/7e/20/340db7af162ccd20a0893b5f3c4a5d676af7b71105517e62279b5b61d95a/grpcio-1.76.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:8cc3309d8e08fd79089e13ed4819d0af72aa935dd8f435a195fd152796752ff2", size = 7195507, upload-time = "2025-10-21T16:20:39.643Z" }, + { url = "https://files.pythonhosted.org/packages/10/f0/b2160addc1487bd8fa4810857a27132fb4ce35c1b330c2f3ac45d697b106/grpcio-1.76.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:971fd5a1d6e62e00d945423a567e42eb1fa678ba89072832185ca836a94daaa6", size = 8160651, upload-time = "2025-10-21T16:20:42.492Z" }, + { url = "https://files.pythonhosted.org/packages/2c/2c/ac6f98aa113c6ef111b3f347854e99ebb7fb9d8f7bb3af1491d438f62af4/grpcio-1.76.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9d9adda641db7207e800a7f089068f6f645959f2df27e870ee81d44701dd9db3", size = 7620568, upload-time = "2025-10-21T16:20:45.995Z" }, + { url = "https://files.pythonhosted.org/packages/90/84/7852f7e087285e3ac17a2703bc4129fafee52d77c6c82af97d905566857e/grpcio-1.76.0-cp310-cp310-win32.whl", hash = "sha256:063065249d9e7e0782d03d2bca50787f53bd0fb89a67de9a7b521c4a01f1989b", size = 3998879, upload-time = "2025-10-21T16:20:48.592Z" }, + { url = "https://files.pythonhosted.org/packages/10/30/d3d2adcbb6dd3ff59d6ac3df6ef830e02b437fb5c90990429fd180e52f30/grpcio-1.76.0-cp310-cp310-win_amd64.whl", hash = "sha256:a6ae758eb08088d36812dd5d9af7a9859c05b1e0f714470ea243694b49278e7b", size = 4706892, upload-time = "2025-10-21T16:20:50.697Z" }, + { url = "https://files.pythonhosted.org/packages/a0/00/8163a1beeb6971f66b4bbe6ac9457b97948beba8dd2fc8e1281dce7f79ec/grpcio-1.76.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:2e1743fbd7f5fa713a1b0a8ac8ebabf0ec980b5d8809ec358d488e273b9cf02a", size = 5843567, upload-time = "2025-10-21T16:20:52.829Z" }, + { url = "https://files.pythonhosted.org/packages/10/c1/934202f5cf335e6d852530ce14ddb0fef21be612ba9ecbbcbd4d748ca32d/grpcio-1.76.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:a8c2cf1209497cf659a667d7dea88985e834c24b7c3b605e6254cbb5076d985c", size = 11848017, upload-time = "2025-10-21T16:20:56.705Z" }, + { url = "https://files.pythonhosted.org/packages/11/0b/8dec16b1863d74af6eb3543928600ec2195af49ca58b16334972f6775663/grpcio-1.76.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:08caea849a9d3c71a542827d6df9d5a69067b0a1efbea8a855633ff5d9571465", size = 6412027, upload-time = "2025-10-21T16:20:59.3Z" }, + { url = "https://files.pythonhosted.org/packages/d7/64/7b9e6e7ab910bea9d46f2c090380bab274a0b91fb0a2fe9b0cd399fffa12/grpcio-1.76.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:f0e34c2079d47ae9f6188211db9e777c619a21d4faba6977774e8fa43b085e48", size = 7075913, upload-time = "2025-10-21T16:21:01.645Z" }, + { url = "https://files.pythonhosted.org/packages/68/86/093c46e9546073cefa789bd76d44c5cb2abc824ca62af0c18be590ff13ba/grpcio-1.76.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8843114c0cfce61b40ad48df65abcfc00d4dba82eae8718fab5352390848c5da", size = 6615417, upload-time = "2025-10-21T16:21:03.844Z" }, + { url = "https://files.pythonhosted.org/packages/f7/b6/5709a3a68500a9c03da6fb71740dcdd5ef245e39266461a03f31a57036d8/grpcio-1.76.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8eddfb4d203a237da6f3cc8a540dad0517d274b5a1e9e636fd8d2c79b5c1d397", size = 7199683, upload-time = "2025-10-21T16:21:06.195Z" }, + { url = "https://files.pythonhosted.org/packages/91/d3/4b1f2bf16ed52ce0b508161df3a2d186e4935379a159a834cb4a7d687429/grpcio-1.76.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:32483fe2aab2c3794101c2a159070584e5db11d0aa091b2c0ea9c4fc43d0d749", size = 8163109, upload-time = "2025-10-21T16:21:08.498Z" }, + { url = "https://files.pythonhosted.org/packages/5c/61/d9043f95f5f4cf085ac5dd6137b469d41befb04bd80280952ffa2a4c3f12/grpcio-1.76.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:dcfe41187da8992c5f40aa8c5ec086fa3672834d2be57a32384c08d5a05b4c00", size = 7626676, upload-time = "2025-10-21T16:21:10.693Z" }, + { url = "https://files.pythonhosted.org/packages/36/95/fd9a5152ca02d8881e4dd419cdd790e11805979f499a2e5b96488b85cf27/grpcio-1.76.0-cp311-cp311-win32.whl", hash = "sha256:2107b0c024d1b35f4083f11245c0e23846ae64d02f40b2b226684840260ed054", size = 3997688, upload-time = "2025-10-21T16:21:12.746Z" }, + { url = "https://files.pythonhosted.org/packages/60/9c/5c359c8d4c9176cfa3c61ecd4efe5affe1f38d9bae81e81ac7186b4c9cc8/grpcio-1.76.0-cp311-cp311-win_amd64.whl", hash = "sha256:522175aba7af9113c48ec10cc471b9b9bd4f6ceb36aeb4544a8e2c80ed9d252d", size = 4709315, upload-time = "2025-10-21T16:21:15.26Z" }, + { url = "https://files.pythonhosted.org/packages/bf/05/8e29121994b8d959ffa0afd28996d452f291b48cfc0875619de0bde2c50c/grpcio-1.76.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:81fd9652b37b36f16138611c7e884eb82e0cec137c40d3ef7c3f9b3ed00f6ed8", size = 5799718, upload-time = "2025-10-21T16:21:17.939Z" }, + { url = "https://files.pythonhosted.org/packages/d9/75/11d0e66b3cdf998c996489581bdad8900db79ebd83513e45c19548f1cba4/grpcio-1.76.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:04bbe1bfe3a68bbfd4e52402ab7d4eb59d72d02647ae2042204326cf4bbad280", size = 11825627, upload-time = "2025-10-21T16:21:20.466Z" }, + { url = "https://files.pythonhosted.org/packages/28/50/2f0aa0498bc188048f5d9504dcc5c2c24f2eb1a9337cd0fa09a61a2e75f0/grpcio-1.76.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d388087771c837cdb6515539f43b9d4bf0b0f23593a24054ac16f7a960be16f4", size = 6359167, upload-time = "2025-10-21T16:21:23.122Z" }, + { url = "https://files.pythonhosted.org/packages/66/e5/bbf0bb97d29ede1d59d6588af40018cfc345b17ce979b7b45424628dc8bb/grpcio-1.76.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:9f8f757bebaaea112c00dba718fc0d3260052ce714e25804a03f93f5d1c6cc11", size = 7044267, upload-time = "2025-10-21T16:21:25.995Z" }, + { url = "https://files.pythonhosted.org/packages/f5/86/f6ec2164f743d9609691115ae8ece098c76b894ebe4f7c94a655c6b03e98/grpcio-1.76.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:980a846182ce88c4f2f7e2c22c56aefd515daeb36149d1c897f83cf57999e0b6", size = 6573963, upload-time = "2025-10-21T16:21:28.631Z" }, + { url = "https://files.pythonhosted.org/packages/60/bc/8d9d0d8505feccfdf38a766d262c71e73639c165b311c9457208b56d92ae/grpcio-1.76.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f92f88e6c033db65a5ae3d97905c8fea9c725b63e28d5a75cb73b49bda5024d8", size = 7164484, upload-time = "2025-10-21T16:21:30.837Z" }, + { url = "https://files.pythonhosted.org/packages/67/e6/5d6c2fc10b95edf6df9b8f19cf10a34263b7fd48493936fffd5085521292/grpcio-1.76.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:4baf3cbe2f0be3289eb68ac8ae771156971848bb8aaff60bad42005539431980", size = 8127777, upload-time = "2025-10-21T16:21:33.577Z" }, + { url = "https://files.pythonhosted.org/packages/3f/c8/dce8ff21c86abe025efe304d9e31fdb0deaaa3b502b6a78141080f206da0/grpcio-1.76.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:615ba64c208aaceb5ec83bfdce7728b80bfeb8be97562944836a7a0a9647d882", size = 7594014, upload-time = "2025-10-21T16:21:41.882Z" }, + { url = "https://files.pythonhosted.org/packages/e0/42/ad28191ebf983a5d0ecef90bab66baa5a6b18f2bfdef9d0a63b1973d9f75/grpcio-1.76.0-cp312-cp312-win32.whl", hash = "sha256:45d59a649a82df5718fd9527ce775fd66d1af35e6d31abdcdc906a49c6822958", size = 3984750, upload-time = "2025-10-21T16:21:44.006Z" }, + { url = "https://files.pythonhosted.org/packages/9e/00/7bd478cbb851c04a48baccaa49b75abaa8e4122f7d86da797500cccdd771/grpcio-1.76.0-cp312-cp312-win_amd64.whl", hash = "sha256:c088e7a90b6017307f423efbb9d1ba97a22aa2170876223f9709e9d1de0b5347", size = 4704003, upload-time = "2025-10-21T16:21:46.244Z" }, + { url = "https://files.pythonhosted.org/packages/fc/ed/71467ab770effc9e8cef5f2e7388beb2be26ed642d567697bb103a790c72/grpcio-1.76.0-cp313-cp313-linux_armv7l.whl", hash = "sha256:26ef06c73eb53267c2b319f43e6634c7556ea37672029241a056629af27c10e2", size = 5807716, upload-time = "2025-10-21T16:21:48.475Z" }, + { url = "https://files.pythonhosted.org/packages/2c/85/c6ed56f9817fab03fa8a111ca91469941fb514e3e3ce6d793cb8f1e1347b/grpcio-1.76.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:45e0111e73f43f735d70786557dc38141185072d7ff8dc1829d6a77ac1471468", size = 11821522, upload-time = "2025-10-21T16:21:51.142Z" }, + { url = "https://files.pythonhosted.org/packages/ac/31/2b8a235ab40c39cbc141ef647f8a6eb7b0028f023015a4842933bc0d6831/grpcio-1.76.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:83d57312a58dcfe2a3a0f9d1389b299438909a02db60e2f2ea2ae2d8034909d3", size = 6362558, upload-time = "2025-10-21T16:21:54.213Z" }, + { url = "https://files.pythonhosted.org/packages/bd/64/9784eab483358e08847498ee56faf8ff6ea8e0a4592568d9f68edc97e9e9/grpcio-1.76.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:3e2a27c89eb9ac3d81ec8835e12414d73536c6e620355d65102503064a4ed6eb", size = 7049990, upload-time = "2025-10-21T16:21:56.476Z" }, + { url = "https://files.pythonhosted.org/packages/2b/94/8c12319a6369434e7a184b987e8e9f3b49a114c489b8315f029e24de4837/grpcio-1.76.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:61f69297cba3950a524f61c7c8ee12e55c486cb5f7db47ff9dcee33da6f0d3ae", size = 6575387, upload-time = "2025-10-21T16:21:59.051Z" }, + { url = "https://files.pythonhosted.org/packages/15/0f/f12c32b03f731f4a6242f771f63039df182c8b8e2cf8075b245b409259d4/grpcio-1.76.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6a15c17af8839b6801d554263c546c69c4d7718ad4321e3166175b37eaacca77", size = 7166668, upload-time = "2025-10-21T16:22:02.049Z" }, + { url = "https://files.pythonhosted.org/packages/ff/2d/3ec9ce0c2b1d92dd59d1c3264aaec9f0f7c817d6e8ac683b97198a36ed5a/grpcio-1.76.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:25a18e9810fbc7e7f03ec2516addc116a957f8cbb8cbc95ccc80faa072743d03", size = 8124928, upload-time = "2025-10-21T16:22:04.984Z" }, + { url = "https://files.pythonhosted.org/packages/1a/74/fd3317be5672f4856bcdd1a9e7b5e17554692d3db9a3b273879dc02d657d/grpcio-1.76.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:931091142fd8cc14edccc0845a79248bc155425eee9a98b2db2ea4f00a235a42", size = 7589983, upload-time = "2025-10-21T16:22:07.881Z" }, + { url = "https://files.pythonhosted.org/packages/45/bb/ca038cf420f405971f19821c8c15bcbc875505f6ffadafe9ffd77871dc4c/grpcio-1.76.0-cp313-cp313-win32.whl", hash = "sha256:5e8571632780e08526f118f74170ad8d50fb0a48c23a746bef2a6ebade3abd6f", size = 3984727, upload-time = "2025-10-21T16:22:10.032Z" }, + { url = "https://files.pythonhosted.org/packages/41/80/84087dc56437ced7cdd4b13d7875e7439a52a261e3ab4e06488ba6173b0a/grpcio-1.76.0-cp313-cp313-win_amd64.whl", hash = "sha256:f9f7bd5faab55f47231ad8dba7787866b69f5e93bc306e3915606779bbfb4ba8", size = 4702799, upload-time = "2025-10-21T16:22:12.709Z" }, + { url = "https://files.pythonhosted.org/packages/b4/46/39adac80de49d678e6e073b70204091e76631e03e94928b9ea4ecf0f6e0e/grpcio-1.76.0-cp314-cp314-linux_armv7l.whl", hash = "sha256:ff8a59ea85a1f2191a0ffcc61298c571bc566332f82e5f5be1b83c9d8e668a62", size = 5808417, upload-time = "2025-10-21T16:22:15.02Z" }, + { url = "https://files.pythonhosted.org/packages/9c/f5/a4531f7fb8b4e2a60b94e39d5d924469b7a6988176b3422487be61fe2998/grpcio-1.76.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:06c3d6b076e7b593905d04fdba6a0525711b3466f43b3400266f04ff735de0cd", size = 11828219, upload-time = "2025-10-21T16:22:17.954Z" }, + { url = "https://files.pythonhosted.org/packages/4b/1c/de55d868ed7a8bd6acc6b1d6ddc4aa36d07a9f31d33c912c804adb1b971b/grpcio-1.76.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fd5ef5932f6475c436c4a55e4336ebbe47bd3272be04964a03d316bbf4afbcbc", size = 6367826, upload-time = "2025-10-21T16:22:20.721Z" }, + { url = "https://files.pythonhosted.org/packages/59/64/99e44c02b5adb0ad13ab3adc89cb33cb54bfa90c74770f2607eea629b86f/grpcio-1.76.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:b331680e46239e090f5b3cead313cc772f6caa7d0fc8de349337563125361a4a", size = 7049550, upload-time = "2025-10-21T16:22:23.637Z" }, + { url = "https://files.pythonhosted.org/packages/43/28/40a5be3f9a86949b83e7d6a2ad6011d993cbe9b6bd27bea881f61c7788b6/grpcio-1.76.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2229ae655ec4e8999599469559e97630185fdd53ae1e8997d147b7c9b2b72cba", size = 6575564, upload-time = "2025-10-21T16:22:26.016Z" }, + { url = "https://files.pythonhosted.org/packages/4b/a9/1be18e6055b64467440208a8559afac243c66a8b904213af6f392dc2212f/grpcio-1.76.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:490fa6d203992c47c7b9e4a9d39003a0c2bcc1c9aa3c058730884bbbb0ee9f09", size = 7176236, upload-time = "2025-10-21T16:22:28.362Z" }, + { url = "https://files.pythonhosted.org/packages/0f/55/dba05d3fcc151ce6e81327541d2cc8394f442f6b350fead67401661bf041/grpcio-1.76.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:479496325ce554792dba6548fae3df31a72cef7bad71ca2e12b0e58f9b336bfc", size = 8125795, upload-time = "2025-10-21T16:22:31.075Z" }, + { url = "https://files.pythonhosted.org/packages/4a/45/122df922d05655f63930cf42c9e3f72ba20aadb26c100ee105cad4ce4257/grpcio-1.76.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1c9b93f79f48b03ada57ea24725d83a30284a012ec27eab2cf7e50a550cbbbcc", size = 7592214, upload-time = "2025-10-21T16:22:33.831Z" }, + { url = "https://files.pythonhosted.org/packages/4a/6e/0b899b7f6b66e5af39e377055fb4a6675c9ee28431df5708139df2e93233/grpcio-1.76.0-cp314-cp314-win32.whl", hash = "sha256:747fa73efa9b8b1488a95d0ba1039c8e2dca0f741612d80415b1e1c560febf4e", size = 4062961, upload-time = "2025-10-21T16:22:36.468Z" }, + { url = "https://files.pythonhosted.org/packages/19/41/0b430b01a2eb38ee887f88c1f07644a1df8e289353b78e82b37ef988fb64/grpcio-1.76.0-cp314-cp314-win_amd64.whl", hash = "sha256:922fa70ba549fce362d2e2871ab542082d66e2aaf0c19480ea453905b01f384e", size = 4834462, upload-time = "2025-10-21T16:22:39.772Z" }, +] + +[[package]] +name = "grpcio-status" +version = "1.76.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "googleapis-common-protos" }, + { name = "grpcio" }, + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3f/46/e9f19d5be65e8423f886813a2a9d0056ba94757b0c5007aa59aed1a961fa/grpcio_status-1.76.0.tar.gz", hash = "sha256:25fcbfec74c15d1a1cb5da3fab8ee9672852dc16a5a9eeb5baf7d7a9952943cd", size = 13679, upload-time = "2025-10-21T16:28:52.545Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8c/cc/27ba60ad5a5f2067963e6a858743500df408eb5855e98be778eaef8c9b02/grpcio_status-1.76.0-py3-none-any.whl", hash = "sha256:380568794055a8efbbd8871162df92012e0228a5f6dffaf57f2a00c534103b18", size = 14425, upload-time = "2025-10-21T16:28:40.853Z" }, +] + +[[package]] +name = "grpclib" +version = "0.4.8" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "h2" }, + { name = "multidict" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/19/75/0f0d3524b38b35e5cd07334b754aa9bd0570140ad982131b04ebfa3b0374/grpclib-0.4.8.tar.gz", hash = "sha256:d8823763780ef94fed8b2c562f7485cf0bbee15fc7d065a640673667f7719c9a", size = 62793, upload-time = "2025-05-04T16:27:30.051Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/03/8b/ad381ec1b8195fa4a9a693cb8087e031b99530c0d6b8ad036dcb99e144c4/grpclib-0.4.8-py3-none-any.whl", hash = "sha256:a5047733a7acc1c1cee6abf3c841c7c6fab67d2844a45a853b113fa2e6cd2654", size = 76311, upload-time = "2025-05-04T16:27:22.818Z" }, +] + +[[package]] +name = "h11" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" }, +] + +[[package]] +name = "h2" +version = "4.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "hpack" }, + { name = "hyperframe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1d/17/afa56379f94ad0fe8defd37d6eb3f89a25404ffc71d4d848893d270325fc/h2-4.3.0.tar.gz", hash = "sha256:6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1", size = 2152026, upload-time = "2025-08-23T18:12:19.778Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/69/b2/119f6e6dcbd96f9069ce9a2665e0146588dc9f88f29549711853645e736a/h2-4.3.0-py3-none-any.whl", hash = "sha256:c438f029a25f7945c69e0ccf0fb951dc3f73a5f6412981daee861431b70e2bdd", size = 61779, upload-time = "2025-08-23T18:12:17.779Z" }, +] + +[[package]] +name = "hf-xet" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5e/6e/0f11bacf08a67f7fb5ee09740f2ca54163863b07b70d579356e9222ce5d8/hf_xet-1.2.0.tar.gz", hash = "sha256:a8c27070ca547293b6890c4bf389f713f80e8c478631432962bb7f4bc0bd7d7f", size = 506020, upload-time = "2025-10-24T19:04:32.129Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9e/a5/85ef910a0aa034a2abcfadc360ab5ac6f6bc4e9112349bd40ca97551cff0/hf_xet-1.2.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:ceeefcd1b7aed4956ae8499e2199607765fbd1c60510752003b6cc0b8413b649", size = 2861870, upload-time = "2025-10-24T19:04:11.422Z" }, + { url = "https://files.pythonhosted.org/packages/ea/40/e2e0a7eb9a51fe8828ba2d47fe22a7e74914ea8a0db68a18c3aa7449c767/hf_xet-1.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b70218dd548e9840224df5638fdc94bd033552963cfa97f9170829381179c813", size = 2717584, upload-time = "2025-10-24T19:04:09.586Z" }, + { url = "https://files.pythonhosted.org/packages/a5/7d/daf7f8bc4594fdd59a8a596f9e3886133fdc68e675292218a5e4c1b7e834/hf_xet-1.2.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7d40b18769bb9a8bc82a9ede575ce1a44c75eb80e7375a01d76259089529b5dc", size = 3315004, upload-time = "2025-10-24T19:04:00.314Z" }, + { url = "https://files.pythonhosted.org/packages/b1/ba/45ea2f605fbf6d81c8b21e4d970b168b18a53515923010c312c06cd83164/hf_xet-1.2.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:cd3a6027d59cfb60177c12d6424e31f4b5ff13d8e3a1247b3a584bf8977e6df5", size = 3222636, upload-time = "2025-10-24T19:03:58.111Z" }, + { url = "https://files.pythonhosted.org/packages/4a/1d/04513e3cab8f29ab8c109d309ddd21a2705afab9d52f2ba1151e0c14f086/hf_xet-1.2.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6de1fc44f58f6dd937956c8d304d8c2dea264c80680bcfa61ca4a15e7b76780f", size = 3408448, upload-time = "2025-10-24T19:04:20.951Z" }, + { url = "https://files.pythonhosted.org/packages/f0/7c/60a2756d7feec7387db3a1176c632357632fbe7849fce576c5559d4520c7/hf_xet-1.2.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f182f264ed2acd566c514e45da9f2119110e48a87a327ca271027904c70c5832", size = 3503401, upload-time = "2025-10-24T19:04:22.549Z" }, + { url = "https://files.pythonhosted.org/packages/4e/64/48fffbd67fb418ab07451e4ce641a70de1c40c10a13e25325e24858ebe5a/hf_xet-1.2.0-cp313-cp313t-win_amd64.whl", hash = "sha256:293a7a3787e5c95d7be1857358a9130694a9c6021de3f27fa233f37267174382", size = 2900866, upload-time = "2025-10-24T19:04:33.461Z" }, + { url = "https://files.pythonhosted.org/packages/e2/51/f7e2caae42f80af886db414d4e9885fac959330509089f97cccb339c6b87/hf_xet-1.2.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:10bfab528b968c70e062607f663e21e34e2bba349e8038db546646875495179e", size = 2861861, upload-time = "2025-10-24T19:04:19.01Z" }, + { url = "https://files.pythonhosted.org/packages/6e/1d/a641a88b69994f9371bd347f1dd35e5d1e2e2460a2e350c8d5165fc62005/hf_xet-1.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2a212e842647b02eb6a911187dc878e79c4aa0aa397e88dd3b26761676e8c1f8", size = 2717699, upload-time = "2025-10-24T19:04:17.306Z" }, + { url = "https://files.pythonhosted.org/packages/df/e0/e5e9bba7d15f0318955f7ec3f4af13f92e773fbb368c0b8008a5acbcb12f/hf_xet-1.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30e06daccb3a7d4c065f34fc26c14c74f4653069bb2b194e7f18f17cbe9939c0", size = 3314885, upload-time = "2025-10-24T19:04:07.642Z" }, + { url = "https://files.pythonhosted.org/packages/21/90/b7fe5ff6f2b7b8cbdf1bd56145f863c90a5807d9758a549bf3d916aa4dec/hf_xet-1.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:29c8fc913a529ec0a91867ce3d119ac1aac966e098cf49501800c870328cc090", size = 3221550, upload-time = "2025-10-24T19:04:05.55Z" }, + { url = "https://files.pythonhosted.org/packages/6f/cb/73f276f0a7ce46cc6a6ec7d6c7d61cbfe5f2e107123d9bbd0193c355f106/hf_xet-1.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e159cbfcfbb29f920db2c09ed8b660eb894640d284f102ada929b6e3dc410a", size = 3408010, upload-time = "2025-10-24T19:04:28.598Z" }, + { url = "https://files.pythonhosted.org/packages/b8/1e/d642a12caa78171f4be64f7cd9c40e3ca5279d055d0873188a58c0f5fbb9/hf_xet-1.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:9c91d5ae931510107f148874e9e2de8a16052b6f1b3ca3c1b12f15ccb491390f", size = 3503264, upload-time = "2025-10-24T19:04:30.397Z" }, + { url = "https://files.pythonhosted.org/packages/17/b5/33764714923fa1ff922770f7ed18c2daae034d21ae6e10dbf4347c854154/hf_xet-1.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:210d577732b519ac6ede149d2f2f34049d44e8622bf14eb3d63bbcd2d4b332dc", size = 2901071, upload-time = "2025-10-24T19:04:37.463Z" }, + { url = "https://files.pythonhosted.org/packages/96/2d/22338486473df5923a9ab7107d375dbef9173c338ebef5098ef593d2b560/hf_xet-1.2.0-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:46740d4ac024a7ca9b22bebf77460ff43332868b661186a8e46c227fdae01848", size = 2866099, upload-time = "2025-10-24T19:04:15.366Z" }, + { url = "https://files.pythonhosted.org/packages/7f/8c/c5becfa53234299bc2210ba314eaaae36c2875e0045809b82e40a9544f0c/hf_xet-1.2.0-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:27df617a076420d8845bea087f59303da8be17ed7ec0cd7ee3b9b9f579dff0e4", size = 2722178, upload-time = "2025-10-24T19:04:13.695Z" }, + { url = "https://files.pythonhosted.org/packages/9a/92/cf3ab0b652b082e66876d08da57fcc6fa2f0e6c70dfbbafbd470bb73eb47/hf_xet-1.2.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3651fd5bfe0281951b988c0facbe726aa5e347b103a675f49a3fa8144c7968fd", size = 3320214, upload-time = "2025-10-24T19:04:03.596Z" }, + { url = "https://files.pythonhosted.org/packages/46/92/3f7ec4a1b6a65bf45b059b6d4a5d38988f63e193056de2f420137e3c3244/hf_xet-1.2.0-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:d06fa97c8562fb3ee7a378dd9b51e343bc5bc8190254202c9771029152f5e08c", size = 3229054, upload-time = "2025-10-24T19:04:01.949Z" }, + { url = "https://files.pythonhosted.org/packages/0b/dd/7ac658d54b9fb7999a0ccb07ad863b413cbaf5cf172f48ebcd9497ec7263/hf_xet-1.2.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:4c1428c9ae73ec0939410ec73023c4f842927f39db09b063b9482dac5a3bb737", size = 3413812, upload-time = "2025-10-24T19:04:24.585Z" }, + { url = "https://files.pythonhosted.org/packages/92/68/89ac4e5b12a9ff6286a12174c8538a5930e2ed662091dd2572bbe0a18c8a/hf_xet-1.2.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a55558084c16b09b5ed32ab9ed38421e2d87cf3f1f89815764d1177081b99865", size = 3508920, upload-time = "2025-10-24T19:04:26.927Z" }, + { url = "https://files.pythonhosted.org/packages/cb/44/870d44b30e1dcfb6a65932e3e1506c103a8a5aea9103c337e7a53180322c/hf_xet-1.2.0-cp37-abi3-win_amd64.whl", hash = "sha256:e6584a52253f72c9f52f9e549d5895ca7a471608495c4ecaa6cc73dba2b24d69", size = 2905735, upload-time = "2025-10-24T19:04:35.928Z" }, +] + +[[package]] +name = "hpack" +version = "4.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2c/48/71de9ed269fdae9c8057e5a4c0aa7402e8bb16f2c6e90b3aa53327b113f8/hpack-4.1.0.tar.gz", hash = "sha256:ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca", size = 51276, upload-time = "2025-01-22T21:44:58.347Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/07/c6/80c95b1b2b94682a72cbdbfb85b81ae2daffa4291fbfa1b1464502ede10d/hpack-4.1.0-py3-none-any.whl", hash = "sha256:157ac792668d995c657d93111f46b4535ed114f0c9c8d672271bbec7eae1b496", size = 34357, upload-time = "2025-01-22T21:44:56.92Z" }, +] + +[[package]] +name = "httpcore" +version = "1.0.9" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" }, +] + +[[package]] +name = "httpx" +version = "0.28.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "certifi" }, + { name = "httpcore" }, + { name = "idna" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" }, +] + +[[package]] +name = "httpx-sse" +version = "0.4.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0f/4c/751061ffa58615a32c31b2d82e8482be8dd4a89154f003147acee90f2be9/httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d", size = 15943, upload-time = "2025-10-10T21:48:22.271Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960, upload-time = "2025-10-10T21:48:21.158Z" }, +] + +[[package]] +name = "httpx-ws" +version = "0.8.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "httpcore" }, + { name = "httpx" }, + { name = "wsproto" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4a/32/6f7198f55d94063ea84487a31cdd3e149d2702dc0804fc5de06ed12ef2c2/httpx_ws-0.8.2.tar.gz", hash = "sha256:ba0d4aa76e1c8a27bd5e88984ecdcdc28f7bf30b40cb0989a4c1438d07fa52c7", size = 105734, upload-time = "2025-11-07T12:57:36.566Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/29/cd/2008972ddc4c2139b9813d8a097e53dcc74b2a16a85b4069294457954232/httpx_ws-0.8.2-py3-none-any.whl", hash = "sha256:f8898ddb84cbf98c562e8e796675bc68c215fa1d453d54a7fcd935aca8198cc8", size = 15404, upload-time = "2025-11-07T12:57:35.176Z" }, +] + +[[package]] +name = "huggingface-hub" +version = "0.36.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filelock" }, + { name = "fsspec" }, + { name = "hf-xet", marker = "platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" }, + { name = "packaging" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "tqdm" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/98/63/4910c5fa9128fdadf6a9c5ac138e8b1b6cee4ca44bf7915bbfbce4e355ee/huggingface_hub-0.36.0.tar.gz", hash = "sha256:47b3f0e2539c39bf5cde015d63b72ec49baff67b6931c3d97f3f84532e2b8d25", size = 463358, upload-time = "2025-10-23T12:12:01.413Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/bd/1a875e0d592d447cbc02805fd3fe0f497714d6a2583f59d14fa9ebad96eb/huggingface_hub-0.36.0-py3-none-any.whl", hash = "sha256:7bcc9ad17d5b3f07b57c78e79d527102d08313caa278a641993acddcb894548d", size = 566094, upload-time = "2025-10-23T12:11:59.557Z" }, +] + +[[package]] +name = "hyperframe" +version = "6.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/e7/94f8232d4a74cc99514c13a9f995811485a6903d48e5d952771ef6322e30/hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08", size = 26566, upload-time = "2025-01-22T21:41:49.302Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/48/30/47d0bf6072f7252e6521f3447ccfa40b421b6824517f82854703d0f5a98b/hyperframe-6.1.0-py3-none-any.whl", hash = "sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5", size = 13007, upload-time = "2025-01-22T21:41:47.295Z" }, +] + +[[package]] +name = "idna" +version = "3.15" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/82/77/7b3966d0b9d1d31a36ddf1746926a11dface89a83409bf1483f0237aa758/idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc", size = 199245, upload-time = "2026-05-12T22:45:57.011Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d2/23/408243171aa9aaba178d3e2559159c24c1171a641aa83b67bdd3394ead8e/idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8", size = 72340, upload-time = "2026-05-12T22:45:55.733Z" }, +] + +[[package]] +name = "importlib-metadata" +version = "8.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "zipp" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/76/66/650a33bd90f786193e4de4b3ad86ea60b53c89b669a5c7be931fac31cdb0/importlib_metadata-8.7.0.tar.gz", hash = "sha256:d13b81ad223b890aa16c5471f2ac3056cf76c5f10f82d6f9292f0b415f389000", size = 56641, upload-time = "2025-04-27T15:29:01.736Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/20/b0/36bd937216ec521246249be3bf9855081de4c5e06a0c9b4219dbeda50373/importlib_metadata-8.7.0-py3-none-any.whl", hash = "sha256:e5dd1551894c77868a30651cef00984d50e1002d06942a7101d34870c5f02afd", size = 27656, upload-time = "2025-04-27T15:29:00.214Z" }, +] + +[[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 = "isodate" +version = "0.7.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/54/4d/e940025e2ce31a8ce1202635910747e5a87cc3a6a6bb2d00973375014749/isodate-0.7.2.tar.gz", hash = "sha256:4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6", size = 29705, upload-time = "2024-10-08T23:04:11.5Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/15/aa/0aca39a37d3c7eb941ba736ede56d689e7be91cab5d9ca846bde3999eba6/isodate-0.7.2-py3-none-any.whl", hash = "sha256:28009937d8031054830160fce6d409ed342816b543597cece116d966c6d99e15", size = 22320, upload-time = "2024-10-08T23:04:09.501Z" }, +] + +[[package]] +name = "isort" +version = "5.13.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/87/f9/c1eb8635a24e87ade2efce21e3ce8cd6b8630bb685ddc9cdaca1349b2eb5/isort-5.13.2.tar.gz", hash = "sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109", size = 175303, upload-time = "2023-12-13T20:37:26.124Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/b3/8def84f539e7d2289a02f0524b944b15d7c75dab7628bedf1c4f0992029c/isort-5.13.2-py3-none-any.whl", hash = "sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6", size = 92310, upload-time = "2023-12-13T20:37:23.244Z" }, +] + +[[package]] +name = "jinja2" +version = "3.1.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markupsafe" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" }, +] + +[[package]] +name = "jiter" +version = "0.12.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/45/9d/e0660989c1370e25848bb4c52d061c71837239738ad937e83edca174c273/jiter-0.12.0.tar.gz", hash = "sha256:64dfcd7d5c168b38d3f9f8bba7fc639edb3418abcc74f22fdbe6b8938293f30b", size = 168294, upload-time = "2025-11-09T20:49:23.302Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3b/91/13cb9505f7be74a933f37da3af22e029f6ba64f5669416cb8b2774bc9682/jiter-0.12.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:e7acbaba9703d5de82a2c98ae6a0f59ab9770ab5af5fa35e43a303aee962cf65", size = 316652, upload-time = "2025-11-09T20:46:41.021Z" }, + { url = "https://files.pythonhosted.org/packages/4e/76/4e9185e5d9bb4e482cf6dec6410d5f78dfeb374cfcecbbe9888d07c52daa/jiter-0.12.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:364f1a7294c91281260364222f535bc427f56d4de1d8ffd718162d21fbbd602e", size = 319829, upload-time = "2025-11-09T20:46:43.281Z" }, + { url = "https://files.pythonhosted.org/packages/86/af/727de50995d3a153138139f259baae2379d8cb0522c0c00419957bc478a6/jiter-0.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85ee4d25805d4fb23f0a5167a962ef8e002dbfb29c0989378488e32cf2744b62", size = 350568, upload-time = "2025-11-09T20:46:45.075Z" }, + { url = "https://files.pythonhosted.org/packages/6a/c1/d6e9f4b7a3d5ac63bcbdfddeb50b2dcfbdc512c86cffc008584fdc350233/jiter-0.12.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:796f466b7942107eb889c08433b6e31b9a7ed31daceaecf8af1be26fb26c0ca8", size = 369052, upload-time = "2025-11-09T20:46:46.818Z" }, + { url = "https://files.pythonhosted.org/packages/eb/be/00824cd530f30ed73fa8a4f9f3890a705519e31ccb9e929f1e22062e7c76/jiter-0.12.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:35506cb71f47dba416694e67af996bbdefb8e3608f1f78799c2e1f9058b01ceb", size = 481585, upload-time = "2025-11-09T20:46:48.319Z" }, + { url = "https://files.pythonhosted.org/packages/74/b6/2ad7990dff9504d4b5052eef64aa9574bd03d722dc7edced97aad0d47be7/jiter-0.12.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:726c764a90c9218ec9e4f99a33d6bf5ec169163f2ca0fc21b654e88c2abc0abc", size = 380541, upload-time = "2025-11-09T20:46:49.643Z" }, + { url = "https://files.pythonhosted.org/packages/b5/c7/f3c26ecbc1adbf1db0d6bba99192143d8fe8504729d9594542ecc4445784/jiter-0.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa47810c5565274810b726b0dc86d18dce5fd17b190ebdc3890851d7b2a0e74", size = 364423, upload-time = "2025-11-09T20:46:51.731Z" }, + { url = "https://files.pythonhosted.org/packages/18/51/eac547bf3a2d7f7e556927278e14c56a0604b8cddae75815d5739f65f81d/jiter-0.12.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f8ec0259d3f26c62aed4d73b198c53e316ae11f0f69c8fbe6682c6dcfa0fcce2", size = 389958, upload-time = "2025-11-09T20:46:53.432Z" }, + { url = "https://files.pythonhosted.org/packages/2c/1f/9ca592e67175f2db156cff035e0d817d6004e293ee0c1d73692d38fcb596/jiter-0.12.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:79307d74ea83465b0152fa23e5e297149506435535282f979f18b9033c0bb025", size = 522084, upload-time = "2025-11-09T20:46:54.848Z" }, + { url = "https://files.pythonhosted.org/packages/83/ff/597d9cdc3028f28224f53e1a9d063628e28b7a5601433e3196edda578cdd/jiter-0.12.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:cf6e6dd18927121fec86739f1a8906944703941d000f0639f3eb6281cc601dca", size = 513054, upload-time = "2025-11-09T20:46:56.487Z" }, + { url = "https://files.pythonhosted.org/packages/24/6d/1970bce1351bd02e3afcc5f49e4f7ef3dabd7fb688f42be7e8091a5b809a/jiter-0.12.0-cp310-cp310-win32.whl", hash = "sha256:b6ae2aec8217327d872cbfb2c1694489057b9433afce447955763e6ab015b4c4", size = 206368, upload-time = "2025-11-09T20:46:58.638Z" }, + { url = "https://files.pythonhosted.org/packages/e3/6b/eb1eb505b2d86709b59ec06681a2b14a94d0941db091f044b9f0e16badc0/jiter-0.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:c7f49ce90a71e44f7e1aa9e7ec415b9686bbc6a5961e57eab511015e6759bc11", size = 204847, upload-time = "2025-11-09T20:47:00.295Z" }, + { url = "https://files.pythonhosted.org/packages/32/f9/eaca4633486b527ebe7e681c431f529b63fe2709e7c5242fc0f43f77ce63/jiter-0.12.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:d8f8a7e317190b2c2d60eb2e8aa835270b008139562d70fe732e1c0020ec53c9", size = 316435, upload-time = "2025-11-09T20:47:02.087Z" }, + { url = "https://files.pythonhosted.org/packages/10/c1/40c9f7c22f5e6ff715f28113ebaba27ab85f9af2660ad6e1dd6425d14c19/jiter-0.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2218228a077e784c6c8f1a8e5d6b8cb1dea62ce25811c356364848554b2056cd", size = 320548, upload-time = "2025-11-09T20:47:03.409Z" }, + { url = "https://files.pythonhosted.org/packages/6b/1b/efbb68fe87e7711b00d2cfd1f26bb4bfc25a10539aefeaa7727329ffb9cb/jiter-0.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9354ccaa2982bf2188fd5f57f79f800ef622ec67beb8329903abf6b10da7d423", size = 351915, upload-time = "2025-11-09T20:47:05.171Z" }, + { url = "https://files.pythonhosted.org/packages/15/2d/c06e659888c128ad1e838123d0638f0efad90cc30860cb5f74dd3f2fc0b3/jiter-0.12.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8f2607185ea89b4af9a604d4c7ec40e45d3ad03ee66998b031134bc510232bb7", size = 368966, upload-time = "2025-11-09T20:47:06.508Z" }, + { url = "https://files.pythonhosted.org/packages/6b/20/058db4ae5fb07cf6a4ab2e9b9294416f606d8e467fb74c2184b2a1eeacba/jiter-0.12.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3a585a5e42d25f2e71db5f10b171f5e5ea641d3aa44f7df745aa965606111cc2", size = 482047, upload-time = "2025-11-09T20:47:08.382Z" }, + { url = "https://files.pythonhosted.org/packages/49/bb/dc2b1c122275e1de2eb12905015d61e8316b2f888bdaac34221c301495d6/jiter-0.12.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd9e21d34edff5a663c631f850edcb786719c960ce887a5661e9c828a53a95d9", size = 380835, upload-time = "2025-11-09T20:47:09.81Z" }, + { url = "https://files.pythonhosted.org/packages/23/7d/38f9cd337575349de16da575ee57ddb2d5a64d425c9367f5ef9e4612e32e/jiter-0.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a612534770470686cd5431478dc5a1b660eceb410abade6b1b74e320ca98de6", size = 364587, upload-time = "2025-11-09T20:47:11.529Z" }, + { url = "https://files.pythonhosted.org/packages/f0/a3/b13e8e61e70f0bb06085099c4e2462647f53cc2ca97614f7fedcaa2bb9f3/jiter-0.12.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:3985aea37d40a908f887b34d05111e0aae822943796ebf8338877fee2ab67725", size = 390492, upload-time = "2025-11-09T20:47:12.993Z" }, + { url = "https://files.pythonhosted.org/packages/07/71/e0d11422ed027e21422f7bc1883c61deba2d9752b720538430c1deadfbca/jiter-0.12.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b1207af186495f48f72529f8d86671903c8c10127cac6381b11dddc4aaa52df6", size = 522046, upload-time = "2025-11-09T20:47:14.6Z" }, + { url = "https://files.pythonhosted.org/packages/9f/59/b968a9aa7102a8375dbbdfbd2aeebe563c7e5dddf0f47c9ef1588a97e224/jiter-0.12.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:ef2fb241de583934c9915a33120ecc06d94aa3381a134570f59eed784e87001e", size = 513392, upload-time = "2025-11-09T20:47:16.011Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e4/7df62002499080dbd61b505c5cb351aa09e9959d176cac2aa8da6f93b13b/jiter-0.12.0-cp311-cp311-win32.whl", hash = "sha256:453b6035672fecce8007465896a25b28a6b59cfe8fbc974b2563a92f5a92a67c", size = 206096, upload-time = "2025-11-09T20:47:17.344Z" }, + { url = "https://files.pythonhosted.org/packages/bb/60/1032b30ae0572196b0de0e87dce3b6c26a1eff71aad5fe43dee3082d32e0/jiter-0.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:ca264b9603973c2ad9435c71a8ec8b49f8f715ab5ba421c85a51cde9887e421f", size = 204899, upload-time = "2025-11-09T20:47:19.365Z" }, + { url = "https://files.pythonhosted.org/packages/49/d5/c145e526fccdb834063fb45c071df78b0cc426bbaf6de38b0781f45d956f/jiter-0.12.0-cp311-cp311-win_arm64.whl", hash = "sha256:cb00ef392e7d684f2754598c02c409f376ddcef857aae796d559e6cacc2d78a5", size = 188070, upload-time = "2025-11-09T20:47:20.75Z" }, + { url = "https://files.pythonhosted.org/packages/92/c9/5b9f7b4983f1b542c64e84165075335e8a236fa9e2ea03a0c79780062be8/jiter-0.12.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:305e061fa82f4680607a775b2e8e0bcb071cd2205ac38e6ef48c8dd5ebe1cf37", size = 314449, upload-time = "2025-11-09T20:47:22.999Z" }, + { url = "https://files.pythonhosted.org/packages/98/6e/e8efa0e78de00db0aee82c0cf9e8b3f2027efd7f8a71f859d8f4be8e98ef/jiter-0.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5c1860627048e302a528333c9307c818c547f214d8659b0705d2195e1a94b274", size = 319855, upload-time = "2025-11-09T20:47:24.779Z" }, + { url = "https://files.pythonhosted.org/packages/20/26/894cd88e60b5d58af53bec5c6759d1292bd0b37a8b5f60f07abf7a63ae5f/jiter-0.12.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:df37577a4f8408f7e0ec3205d2a8f87672af8f17008358063a4d6425b6081ce3", size = 350171, upload-time = "2025-11-09T20:47:26.469Z" }, + { url = "https://files.pythonhosted.org/packages/f5/27/a7b818b9979ac31b3763d25f3653ec3a954044d5e9f5d87f2f247d679fd1/jiter-0.12.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:75fdd787356c1c13a4f40b43c2156276ef7a71eb487d98472476476d803fb2cf", size = 365590, upload-time = "2025-11-09T20:47:27.918Z" }, + { url = "https://files.pythonhosted.org/packages/ba/7e/e46195801a97673a83746170b17984aa8ac4a455746354516d02ca5541b4/jiter-0.12.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1eb5db8d9c65b112aacf14fcd0faae9913d07a8afea5ed06ccdd12b724e966a1", size = 479462, upload-time = "2025-11-09T20:47:29.654Z" }, + { url = "https://files.pythonhosted.org/packages/ca/75/f833bfb009ab4bd11b1c9406d333e3b4357709ed0570bb48c7c06d78c7dd/jiter-0.12.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:73c568cc27c473f82480abc15d1301adf333a7ea4f2e813d6a2c7d8b6ba8d0df", size = 378983, upload-time = "2025-11-09T20:47:31.026Z" }, + { url = "https://files.pythonhosted.org/packages/71/b3/7a69d77943cc837d30165643db753471aff5df39692d598da880a6e51c24/jiter-0.12.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4321e8a3d868919bcb1abb1db550d41f2b5b326f72df29e53b2df8b006eb9403", size = 361328, upload-time = "2025-11-09T20:47:33.286Z" }, + { url = "https://files.pythonhosted.org/packages/b0/ac/a78f90caf48d65ba70d8c6efc6f23150bc39dc3389d65bbec2a95c7bc628/jiter-0.12.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0a51bad79f8cc9cac2b4b705039f814049142e0050f30d91695a2d9a6611f126", size = 386740, upload-time = "2025-11-09T20:47:34.703Z" }, + { url = "https://files.pythonhosted.org/packages/39/b6/5d31c2cc8e1b6a6bcf3c5721e4ca0a3633d1ab4754b09bc7084f6c4f5327/jiter-0.12.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:2a67b678f6a5f1dd6c36d642d7db83e456bc8b104788262aaefc11a22339f5a9", size = 520875, upload-time = "2025-11-09T20:47:36.058Z" }, + { url = "https://files.pythonhosted.org/packages/30/b5/4df540fae4e9f68c54b8dab004bd8c943a752f0b00efd6e7d64aa3850339/jiter-0.12.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efe1a211fe1fd14762adea941e3cfd6c611a136e28da6c39272dbb7a1bbe6a86", size = 511457, upload-time = "2025-11-09T20:47:37.932Z" }, + { url = "https://files.pythonhosted.org/packages/07/65/86b74010e450a1a77b2c1aabb91d4a91dd3cd5afce99f34d75fd1ac64b19/jiter-0.12.0-cp312-cp312-win32.whl", hash = "sha256:d779d97c834b4278276ec703dc3fc1735fca50af63eb7262f05bdb4e62203d44", size = 204546, upload-time = "2025-11-09T20:47:40.47Z" }, + { url = "https://files.pythonhosted.org/packages/1c/c7/6659f537f9562d963488e3e55573498a442503ced01f7e169e96a6110383/jiter-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e8269062060212b373316fe69236096aaf4c49022d267c6736eebd66bbbc60bb", size = 205196, upload-time = "2025-11-09T20:47:41.794Z" }, + { url = "https://files.pythonhosted.org/packages/21/f4/935304f5169edadfec7f9c01eacbce4c90bb9a82035ac1de1f3bd2d40be6/jiter-0.12.0-cp312-cp312-win_arm64.whl", hash = "sha256:06cb970936c65de926d648af0ed3d21857f026b1cf5525cb2947aa5e01e05789", size = 186100, upload-time = "2025-11-09T20:47:43.007Z" }, + { url = "https://files.pythonhosted.org/packages/3d/a6/97209693b177716e22576ee1161674d1d58029eb178e01866a0422b69224/jiter-0.12.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:6cc49d5130a14b732e0612bc76ae8db3b49898732223ef8b7599aa8d9810683e", size = 313658, upload-time = "2025-11-09T20:47:44.424Z" }, + { url = "https://files.pythonhosted.org/packages/06/4d/125c5c1537c7d8ee73ad3d530a442d6c619714b95027143f1b61c0b4dfe0/jiter-0.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:37f27a32ce36364d2fa4f7fdc507279db604d27d239ea2e044c8f148410defe1", size = 318605, upload-time = "2025-11-09T20:47:45.973Z" }, + { url = "https://files.pythonhosted.org/packages/99/bf/a840b89847885064c41a5f52de6e312e91fa84a520848ee56c97e4fa0205/jiter-0.12.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bbc0944aa3d4b4773e348cda635252824a78f4ba44328e042ef1ff3f6080d1cf", size = 349803, upload-time = "2025-11-09T20:47:47.535Z" }, + { url = "https://files.pythonhosted.org/packages/8a/88/e63441c28e0db50e305ae23e19c1d8fae012d78ed55365da392c1f34b09c/jiter-0.12.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:da25c62d4ee1ffbacb97fac6dfe4dcd6759ebdc9015991e92a6eae5816287f44", size = 365120, upload-time = "2025-11-09T20:47:49.284Z" }, + { url = "https://files.pythonhosted.org/packages/0a/7c/49b02714af4343970eb8aca63396bc1c82fa01197dbb1e9b0d274b550d4e/jiter-0.12.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:048485c654b838140b007390b8182ba9774621103bd4d77c9c3f6f117474ba45", size = 479918, upload-time = "2025-11-09T20:47:50.807Z" }, + { url = "https://files.pythonhosted.org/packages/69/ba/0a809817fdd5a1db80490b9150645f3aae16afad166960bcd562be194f3b/jiter-0.12.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:635e737fbb7315bef0037c19b88b799143d2d7d3507e61a76751025226b3ac87", size = 379008, upload-time = "2025-11-09T20:47:52.211Z" }, + { url = "https://files.pythonhosted.org/packages/5f/c3/c9fc0232e736c8877d9e6d83d6eeb0ba4e90c6c073835cc2e8f73fdeef51/jiter-0.12.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4e017c417b1ebda911bd13b1e40612704b1f5420e30695112efdbed8a4b389ed", size = 361785, upload-time = "2025-11-09T20:47:53.512Z" }, + { url = "https://files.pythonhosted.org/packages/96/61/61f69b7e442e97ca6cd53086ddc1cf59fb830549bc72c0a293713a60c525/jiter-0.12.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:89b0bfb8b2bf2351fba36bb211ef8bfceba73ef58e7f0c68fb67b5a2795ca2f9", size = 386108, upload-time = "2025-11-09T20:47:54.893Z" }, + { url = "https://files.pythonhosted.org/packages/e9/2e/76bb3332f28550c8f1eba3bf6e5efe211efda0ddbbaf24976bc7078d42a5/jiter-0.12.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:f5aa5427a629a824a543672778c9ce0c5e556550d1569bb6ea28a85015287626", size = 519937, upload-time = "2025-11-09T20:47:56.253Z" }, + { url = "https://files.pythonhosted.org/packages/84/d6/fa96efa87dc8bff2094fb947f51f66368fa56d8d4fc9e77b25d7fbb23375/jiter-0.12.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:ed53b3d6acbcb0fd0b90f20c7cb3b24c357fe82a3518934d4edfa8c6898e498c", size = 510853, upload-time = "2025-11-09T20:47:58.32Z" }, + { url = "https://files.pythonhosted.org/packages/8a/28/93f67fdb4d5904a708119a6ab58a8f1ec226ff10a94a282e0215402a8462/jiter-0.12.0-cp313-cp313-win32.whl", hash = "sha256:4747de73d6b8c78f2e253a2787930f4fffc68da7fa319739f57437f95963c4de", size = 204699, upload-time = "2025-11-09T20:47:59.686Z" }, + { url = "https://files.pythonhosted.org/packages/c4/1f/30b0eb087045a0abe2a5c9c0c0c8da110875a1d3be83afd4a9a4e548be3c/jiter-0.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:e25012eb0c456fcc13354255d0338cd5397cce26c77b2832b3c4e2e255ea5d9a", size = 204258, upload-time = "2025-11-09T20:48:01.01Z" }, + { url = "https://files.pythonhosted.org/packages/2c/f4/2b4daf99b96bce6fc47971890b14b2a36aef88d7beb9f057fafa032c6141/jiter-0.12.0-cp313-cp313-win_arm64.whl", hash = "sha256:c97b92c54fe6110138c872add030a1f99aea2401ddcdaa21edf74705a646dd60", size = 185503, upload-time = "2025-11-09T20:48:02.35Z" }, + { url = "https://files.pythonhosted.org/packages/39/ca/67bb15a7061d6fe20b9b2a2fd783e296a1e0f93468252c093481a2f00efa/jiter-0.12.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:53839b35a38f56b8be26a7851a48b89bc47e5d88e900929df10ed93b95fea3d6", size = 317965, upload-time = "2025-11-09T20:48:03.783Z" }, + { url = "https://files.pythonhosted.org/packages/18/af/1788031cd22e29c3b14bc6ca80b16a39a0b10e611367ffd480c06a259831/jiter-0.12.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:94f669548e55c91ab47fef8bddd9c954dab1938644e715ea49d7e117015110a4", size = 345831, upload-time = "2025-11-09T20:48:05.55Z" }, + { url = "https://files.pythonhosted.org/packages/05/17/710bf8472d1dff0d3caf4ced6031060091c1320f84ee7d5dcbed1f352417/jiter-0.12.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:351d54f2b09a41600ffea43d081522d792e81dcfb915f6d2d242744c1cc48beb", size = 361272, upload-time = "2025-11-09T20:48:06.951Z" }, + { url = "https://files.pythonhosted.org/packages/fb/f1/1dcc4618b59761fef92d10bcbb0b038b5160be653b003651566a185f1a5c/jiter-0.12.0-cp313-cp313t-win_amd64.whl", hash = "sha256:2a5e90604620f94bf62264e7c2c038704d38217b7465b863896c6d7c902b06c7", size = 204604, upload-time = "2025-11-09T20:48:08.328Z" }, + { url = "https://files.pythonhosted.org/packages/d9/32/63cb1d9f1c5c6632a783c0052cde9ef7ba82688f7065e2f0d5f10a7e3edb/jiter-0.12.0-cp313-cp313t-win_arm64.whl", hash = "sha256:88ef757017e78d2860f96250f9393b7b577b06a956ad102c29c8237554380db3", size = 185628, upload-time = "2025-11-09T20:48:09.572Z" }, + { url = "https://files.pythonhosted.org/packages/a8/99/45c9f0dbe4a1416b2b9a8a6d1236459540f43d7fb8883cff769a8db0612d/jiter-0.12.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:c46d927acd09c67a9fb1416df45c5a04c27e83aae969267e98fba35b74e99525", size = 312478, upload-time = "2025-11-09T20:48:10.898Z" }, + { url = "https://files.pythonhosted.org/packages/4c/a7/54ae75613ba9e0f55fcb0bc5d1f807823b5167cc944e9333ff322e9f07dd/jiter-0.12.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:774ff60b27a84a85b27b88cd5583899c59940bcc126caca97eb2a9df6aa00c49", size = 318706, upload-time = "2025-11-09T20:48:12.266Z" }, + { url = "https://files.pythonhosted.org/packages/59/31/2aa241ad2c10774baf6c37f8b8e1f39c07db358f1329f4eb40eba179c2a2/jiter-0.12.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c5433fab222fb072237df3f637d01b81f040a07dcac1cb4a5c75c7aa9ed0bef1", size = 351894, upload-time = "2025-11-09T20:48:13.673Z" }, + { url = "https://files.pythonhosted.org/packages/54/4f/0f2759522719133a9042781b18cc94e335b6d290f5e2d3e6899d6af933e3/jiter-0.12.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f8c593c6e71c07866ec6bfb790e202a833eeec885022296aff6b9e0b92d6a70e", size = 365714, upload-time = "2025-11-09T20:48:15.083Z" }, + { url = "https://files.pythonhosted.org/packages/dc/6f/806b895f476582c62a2f52c453151edd8a0fde5411b0497baaa41018e878/jiter-0.12.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:90d32894d4c6877a87ae00c6b915b609406819dce8bc0d4e962e4de2784e567e", size = 478989, upload-time = "2025-11-09T20:48:16.706Z" }, + { url = "https://files.pythonhosted.org/packages/86/6c/012d894dc6e1033acd8db2b8346add33e413ec1c7c002598915278a37f79/jiter-0.12.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:798e46eed9eb10c3adbbacbd3bdb5ecd4cf7064e453d00dbef08802dae6937ff", size = 378615, upload-time = "2025-11-09T20:48:18.614Z" }, + { url = "https://files.pythonhosted.org/packages/87/30/d718d599f6700163e28e2c71c0bbaf6dace692e7df2592fd793ac9276717/jiter-0.12.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b3f1368f0a6719ea80013a4eb90ba72e75d7ea67cfc7846db2ca504f3df0169a", size = 364745, upload-time = "2025-11-09T20:48:20.117Z" }, + { url = "https://files.pythonhosted.org/packages/8f/85/315b45ce4b6ddc7d7fceca24068543b02bdc8782942f4ee49d652e2cc89f/jiter-0.12.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:65f04a9d0b4406f7e51279710b27484af411896246200e461d80d3ba0caa901a", size = 386502, upload-time = "2025-11-09T20:48:21.543Z" }, + { url = "https://files.pythonhosted.org/packages/74/0b/ce0434fb40c5b24b368fe81b17074d2840748b4952256bab451b72290a49/jiter-0.12.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:fd990541982a24281d12b67a335e44f117e4c6cbad3c3b75c7dea68bf4ce3a67", size = 519845, upload-time = "2025-11-09T20:48:22.964Z" }, + { url = "https://files.pythonhosted.org/packages/e8/a3/7a7a4488ba052767846b9c916d208b3ed114e3eb670ee984e4c565b9cf0d/jiter-0.12.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:b111b0e9152fa7df870ecaebb0bd30240d9f7fff1f2003bcb4ed0f519941820b", size = 510701, upload-time = "2025-11-09T20:48:24.483Z" }, + { url = "https://files.pythonhosted.org/packages/c3/16/052ffbf9d0467b70af24e30f91e0579e13ded0c17bb4a8eb2aed3cb60131/jiter-0.12.0-cp314-cp314-win32.whl", hash = "sha256:a78befb9cc0a45b5a5a0d537b06f8544c2ebb60d19d02c41ff15da28a9e22d42", size = 205029, upload-time = "2025-11-09T20:48:25.749Z" }, + { url = "https://files.pythonhosted.org/packages/e4/18/3cf1f3f0ccc789f76b9a754bdb7a6977e5d1d671ee97a9e14f7eb728d80e/jiter-0.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:e1fe01c082f6aafbe5c8faf0ff074f38dfb911d53f07ec333ca03f8f6226debf", size = 204960, upload-time = "2025-11-09T20:48:27.415Z" }, + { url = "https://files.pythonhosted.org/packages/02/68/736821e52ecfdeeb0f024b8ab01b5a229f6b9293bbdb444c27efade50b0f/jiter-0.12.0-cp314-cp314-win_arm64.whl", hash = "sha256:d72f3b5a432a4c546ea4bedc84cce0c3404874f1d1676260b9c7f048a9855451", size = 185529, upload-time = "2025-11-09T20:48:29.125Z" }, + { url = "https://files.pythonhosted.org/packages/30/61/12ed8ee7a643cce29ac97c2281f9ce3956eb76b037e88d290f4ed0d41480/jiter-0.12.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:e6ded41aeba3603f9728ed2b6196e4df875348ab97b28fc8afff115ed42ba7a7", size = 318974, upload-time = "2025-11-09T20:48:30.87Z" }, + { url = "https://files.pythonhosted.org/packages/2d/c6/f3041ede6d0ed5e0e79ff0de4c8f14f401bbf196f2ef3971cdbe5fd08d1d/jiter-0.12.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a947920902420a6ada6ad51892082521978e9dd44a802663b001436e4b771684", size = 345932, upload-time = "2025-11-09T20:48:32.658Z" }, + { url = "https://files.pythonhosted.org/packages/d5/5d/4d94835889edd01ad0e2dbfc05f7bdfaed46292e7b504a6ac7839aa00edb/jiter-0.12.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:add5e227e0554d3a52cf390a7635edaffdf4f8fce4fdbcef3cc2055bb396a30c", size = 367243, upload-time = "2025-11-09T20:48:34.093Z" }, + { url = "https://files.pythonhosted.org/packages/fd/76/0051b0ac2816253a99d27baf3dda198663aff882fa6ea7deeb94046da24e/jiter-0.12.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f9b1cda8fcb736250d7e8711d4580ebf004a46771432be0ae4796944b5dfa5d", size = 479315, upload-time = "2025-11-09T20:48:35.507Z" }, + { url = "https://files.pythonhosted.org/packages/70/ae/83f793acd68e5cb24e483f44f482a1a15601848b9b6f199dacb970098f77/jiter-0.12.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:deeb12a2223fe0135c7ff1356a143d57f95bbf1f4a66584f1fc74df21d86b993", size = 380714, upload-time = "2025-11-09T20:48:40.014Z" }, + { url = "https://files.pythonhosted.org/packages/b1/5e/4808a88338ad2c228b1126b93fcd8ba145e919e886fe910d578230dabe3b/jiter-0.12.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c596cc0f4cb574877550ce4ecd51f8037469146addd676d7c1a30ebe6391923f", size = 365168, upload-time = "2025-11-09T20:48:41.462Z" }, + { url = "https://files.pythonhosted.org/packages/0c/d4/04619a9e8095b42aef436b5aeb4c0282b4ff1b27d1db1508df9f5dc82750/jiter-0.12.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5ab4c823b216a4aeab3fdbf579c5843165756bd9ad87cc6b1c65919c4715f783", size = 387893, upload-time = "2025-11-09T20:48:42.921Z" }, + { url = "https://files.pythonhosted.org/packages/17/ea/d3c7e62e4546fdc39197fa4a4315a563a89b95b6d54c0d25373842a59cbe/jiter-0.12.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:e427eee51149edf962203ff8db75a7514ab89be5cb623fb9cea1f20b54f1107b", size = 520828, upload-time = "2025-11-09T20:48:44.278Z" }, + { url = "https://files.pythonhosted.org/packages/cc/0b/c6d3562a03fd767e31cb119d9041ea7958c3c80cb3d753eafb19b3b18349/jiter-0.12.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:edb868841f84c111255ba5e80339d386d937ec1fdce419518ce1bd9370fac5b6", size = 511009, upload-time = "2025-11-09T20:48:45.726Z" }, + { url = "https://files.pythonhosted.org/packages/aa/51/2cb4468b3448a8385ebcd15059d325c9ce67df4e2758d133ab9442b19834/jiter-0.12.0-cp314-cp314t-win32.whl", hash = "sha256:8bbcfe2791dfdb7c5e48baf646d37a6a3dcb5a97a032017741dea9f817dca183", size = 205110, upload-time = "2025-11-09T20:48:47.033Z" }, + { url = "https://files.pythonhosted.org/packages/b2/c5/ae5ec83dec9c2d1af805fd5fe8f74ebded9c8670c5210ec7820ce0dbeb1e/jiter-0.12.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2fa940963bf02e1d8226027ef461e36af472dea85d36054ff835aeed944dd873", size = 205223, upload-time = "2025-11-09T20:48:49.076Z" }, + { url = "https://files.pythonhosted.org/packages/97/9a/3c5391907277f0e55195550cf3fa8e293ae9ee0c00fb402fec1e38c0c82f/jiter-0.12.0-cp314-cp314t-win_arm64.whl", hash = "sha256:506c9708dd29b27288f9f8f1140c3cb0e3d8ddb045956d7757b1fa0e0f39a473", size = 185564, upload-time = "2025-11-09T20:48:50.376Z" }, + { url = "https://files.pythonhosted.org/packages/fe/54/5339ef1ecaa881c6948669956567a64d2670941925f245c434f494ffb0e5/jiter-0.12.0-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:4739a4657179ebf08f85914ce50332495811004cc1747852e8b2041ed2aab9b8", size = 311144, upload-time = "2025-11-09T20:49:10.503Z" }, + { url = "https://files.pythonhosted.org/packages/27/74/3446c652bffbd5e81ab354e388b1b5fc1d20daac34ee0ed11ff096b1b01a/jiter-0.12.0-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:41da8def934bf7bec16cb24bd33c0ca62126d2d45d81d17b864bd5ad721393c3", size = 305877, upload-time = "2025-11-09T20:49:12.269Z" }, + { url = "https://files.pythonhosted.org/packages/a1/f4/ed76ef9043450f57aac2d4fbeb27175aa0eb9c38f833be6ef6379b3b9a86/jiter-0.12.0-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c44ee814f499c082e69872d426b624987dbc5943ab06e9bbaa4f81989fdb79e", size = 340419, upload-time = "2025-11-09T20:49:13.803Z" }, + { url = "https://files.pythonhosted.org/packages/21/01/857d4608f5edb0664aa791a3d45702e1a5bcfff9934da74035e7b9803846/jiter-0.12.0-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cd2097de91cf03eaa27b3cbdb969addf83f0179c6afc41bbc4513705e013c65d", size = 347212, upload-time = "2025-11-09T20:49:15.643Z" }, + { url = "https://files.pythonhosted.org/packages/cb/f5/12efb8ada5f5c9edc1d4555fe383c1fb2eac05ac5859258a72d61981d999/jiter-0.12.0-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:e8547883d7b96ef2e5fe22b88f8a4c8725a56e7f4abafff20fd5272d634c7ecb", size = 309974, upload-time = "2025-11-09T20:49:17.187Z" }, + { url = "https://files.pythonhosted.org/packages/85/15/d6eb3b770f6a0d332675141ab3962fd4a7c270ede3515d9f3583e1d28276/jiter-0.12.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:89163163c0934854a668ed783a2546a0617f71706a2551a4a0666d91ab365d6b", size = 304233, upload-time = "2025-11-09T20:49:18.734Z" }, + { url = "https://files.pythonhosted.org/packages/8c/3e/e7e06743294eea2cf02ced6aa0ff2ad237367394e37a0e2b4a1108c67a36/jiter-0.12.0-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d96b264ab7d34bbb2312dedc47ce07cd53f06835eacbc16dde3761f47c3a9e7f", size = 338537, upload-time = "2025-11-09T20:49:20.317Z" }, + { url = "https://files.pythonhosted.org/packages/2f/9c/6753e6522b8d0ef07d3a3d239426669e984fb0eba15a315cdbc1253904e4/jiter-0.12.0-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c24e864cb30ab82311c6425655b0cdab0a98c5d973b065c66a3f020740c2324c", size = 346110, upload-time = "2025-11-09T20:49:21.817Z" }, +] + +[[package]] +name = "jmespath" +version = "1.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/00/2a/e867e8531cf3e36b41201936b7fa7ba7b5702dbef42922193f05c8976cd6/jmespath-1.0.1.tar.gz", hash = "sha256:90261b206d6defd58fdd5e85f478bf633a2901798906be2ad389150c5c60edbe", size = 25843, upload-time = "2022-06-17T18:00:12.224Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/31/b4/b9b800c45527aadd64d5b442f9b932b00648617eb5d63d2c7a6587b7cafc/jmespath-1.0.1-py3-none-any.whl", hash = "sha256:02e2e4cc71b5bcab88332eebf907519190dd9e6e82107fa7f83b1003a6252980", size = 20256, upload-time = "2022-06-17T18:00:10.251Z" }, +] + +[[package]] +name = "jsonpatch" +version = "1.33" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "jsonpointer" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699, upload-time = "2023-06-26T12:07:29.144Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898, upload-time = "2023-06-16T21:01:28.466Z" }, +] + +[[package]] +name = "jsonpointer" +version = "3.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6a/0a/eebeb1fa92507ea94016a2a790b93c2ae41a7e18778f85471dc54475ed25/jsonpointer-3.0.0.tar.gz", hash = "sha256:2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef", size = 9114, upload-time = "2024-06-10T19:24:42.462Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/71/92/5e77f98553e9e75130c78900d000368476aed74276eb8ae8796f65f00918/jsonpointer-3.0.0-py2.py3-none-any.whl", hash = "sha256:13e088adc14fca8b6aa8177c044e12701e6ad4b28ff10e65f2267a90109c9942", size = 7595, upload-time = "2024-06-10T19:24:40.698Z" }, +] + +[[package]] +name = "langchain" +version = "1.3.11" +source = { editable = "." } +dependencies = [ + { name = "langchain-core" }, + { name = "langgraph" }, + { name = "pydantic" }, +] + +[package.optional-dependencies] +anthropic = [ + { name = "langchain-anthropic" }, +] +aws = [ + { name = "langchain-aws" }, +] +azure-ai = [ + { name = "langchain-azure-ai" }, +] +baseten = [ + { name = "langchain-baseten" }, +] +community = [ + { name = "langchain-community" }, +] +deepseek = [ + { name = "langchain-deepseek" }, +] +fireworks = [ + { name = "langchain-fireworks" }, +] +google-genai = [ + { name = "langchain-google-genai" }, +] +google-vertexai = [ + { name = "langchain-google-vertexai" }, +] +groq = [ + { name = "langchain-groq" }, +] +huggingface = [ + { name = "langchain-huggingface" }, +] +mistralai = [ + { name = "langchain-mistralai" }, +] +ollama = [ + { name = "langchain-ollama" }, +] +openai = [ + { name = "langchain-openai" }, +] +perplexity = [ + { name = "langchain-perplexity" }, +] +together = [ + { name = "langchain-together" }, +] +xai = [ + { name = "langchain-xai" }, +] + +[package.dev-dependencies] +lint = [ + { name = "ruff" }, +] +test = [ + { name = "blockbuster" }, + { name = "langchain-openai" }, + { name = "langchain-tests" }, + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "pytest-benchmark" }, + { name = "pytest-cov" }, + { name = "pytest-mock" }, + { name = "pytest-socket" }, + { name = "pytest-watcher" }, + { name = "pytest-xdist" }, + { name = "syrupy" }, + { name = "toml" }, +] +test-integration = [ + { name = "langchain-text-splitters" }, + { name = "langchainhub" }, + { name = "python-dotenv" }, + { name = "vcrpy" }, + { name = "wrapt" }, +] +typing = [ + { name = "mypy" }, + { name = "types-toml" }, +] + +[package.metadata] +requires-dist = [ + { name = "langchain-anthropic", marker = "extra == 'anthropic'", editable = "../partners/anthropic" }, + { name = "langchain-aws", marker = "extra == 'aws'" }, + { name = "langchain-azure-ai", marker = "extra == 'azure-ai'" }, + { name = "langchain-baseten", marker = "extra == 'baseten'", specifier = ">=0.2.0" }, + { name = "langchain-community", marker = "extra == 'community'" }, + { name = "langchain-core", editable = "../core" }, + { name = "langchain-deepseek", marker = "extra == 'deepseek'" }, + { name = "langchain-fireworks", marker = "extra == 'fireworks'" }, + { name = "langchain-google-genai", marker = "extra == 'google-genai'" }, + { name = "langchain-google-vertexai", marker = "extra == 'google-vertexai'" }, + { name = "langchain-groq", marker = "extra == 'groq'" }, + { name = "langchain-huggingface", marker = "extra == 'huggingface'" }, + { name = "langchain-mistralai", marker = "extra == 'mistralai'" }, + { name = "langchain-ollama", marker = "extra == 'ollama'" }, + { name = "langchain-openai", marker = "extra == 'openai'", editable = "../partners/openai" }, + { name = "langchain-perplexity", marker = "extra == 'perplexity'" }, + { name = "langchain-together", marker = "extra == 'together'" }, + { name = "langchain-xai", marker = "extra == 'xai'" }, + { name = "langgraph", specifier = ">=1.2.5,<1.3.0" }, + { name = "pydantic", specifier = ">=2.7.4,<3.0.0" }, +] +provides-extras = ["community", "anthropic", "openai", "azure-ai", "google-vertexai", "google-genai", "fireworks", "ollama", "together", "mistralai", "huggingface", "groq", "aws", "baseten", "deepseek", "xai", "perplexity"] + +[package.metadata.requires-dev] +lint = [{ name = "ruff", specifier = ">=0.15.0,<0.16.0" }] +test = [ + { name = "blockbuster", specifier = ">=1.5.26,<1.6.0" }, + { name = "langchain-openai", editable = "../partners/openai" }, + { name = "langchain-tests", editable = "../standard-tests" }, + { name = "pytest", specifier = ">=9.0.3,<10.0.0" }, + { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" }, + { name = "pytest-benchmark", specifier = ">=5.1.0,<6.0.0" }, + { name = "pytest-cov", specifier = ">=4.0.0,<8.0.0" }, + { name = "pytest-mock" }, + { name = "pytest-socket", specifier = ">=0.6.0,<1.0.0" }, + { name = "pytest-watcher", specifier = ">=0.2.6,<1.0.0" }, + { name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" }, + { name = "syrupy", specifier = ">=5.0.0,<6.0.0" }, + { name = "toml", specifier = ">=0.10.2,<1.0.0" }, +] +test-integration = [ + { name = "langchain-text-splitters", editable = "../text-splitters" }, + { name = "langchainhub", specifier = ">=0.1.16,<1.0.0" }, + { name = "python-dotenv", specifier = ">=1.0.0,<2.0.0" }, + { name = "vcrpy", specifier = ">=8.0.0,<9.0.0" }, + { name = "wrapt", specifier = ">=1.15.0,<3.0.0" }, +] +typing = [ + { name = "mypy", specifier = ">=2.1.0,<2.2.0" }, + { name = "types-toml", specifier = ">=0.10.8.20240310,<1.0.0.0" }, +] + +[[package]] +name = "langchain-anthropic" +version = "1.4.7" +source = { editable = "../partners/anthropic" } +dependencies = [ + { name = "anthropic" }, + { name = "langchain-core" }, + { name = "pydantic" }, +] + +[package.metadata] +requires-dist = [ + { name = "anthropic", specifier = ">=0.96.0,<1.0.0" }, + { name = "langchain-core", editable = "../core" }, + { name = "pydantic", specifier = ">=2.7.4,<3.0.0" }, +] + +[package.metadata.requires-dev] +lint = [{ name = "ruff", specifier = ">=0.13.1,<0.14.0" }] +test = [ + { name = "blockbuster", specifier = ">=1.5.5,<1.6" }, + { name = "defusedxml", specifier = ">=0.7.1,<1.0.0" }, + { name = "freezegun", specifier = ">=1.2.2,<2.0.0" }, + { name = "langchain", editable = "." }, + { name = "langchain-tests", editable = "../standard-tests" }, + { name = "langgraph-prebuilt", specifier = ">=0.7.0a2" }, + { name = "pytest", specifier = ">=9.0.3,<10.0.0" }, + { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" }, + { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" }, + { name = "pytest-retry", specifier = ">=1.7.0,<1.8.0" }, + { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" }, + { name = "pytest-timeout", specifier = ">=2.3.1,<3.0.0" }, + { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" }, + { name = "pytest-xdist", specifier = ">=3.8.0,<4.0.0" }, + { name = "syrupy", specifier = ">=5.0.0,<6.0.0" }, + { name = "vcrpy", specifier = ">=8.0.0,<9.0.0" }, +] +test-integration = [{ name = "requests", specifier = ">=2.32.3,<3.0.0" }] +typing = [ + { name = "mypy", specifier = ">=2.1.0,<2.2.0" }, + { name = "types-requests", specifier = ">=2.31.0,<3.0.0" }, +] + +[[package]] +name = "langchain-aws" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "boto3" }, + { name = "langchain-core" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.3.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7a/23/5c681e53480b046a255bd6525de49e7cac7e51b436525f7425a3bf5c7909/langchain_aws-1.3.1.tar.gz", hash = "sha256:2084a612ab965937329d4d9f4098e93277e23aef401dec001125fa3fd7ea751c", size = 425998, upload-time = "2026-02-27T01:16:18.631Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/7b/b254f9271613bc8a5b6f454e67b9ea62921bc3d6fc17ad232278b8266f97/langchain_aws-1.3.1-py3-none-any.whl", hash = "sha256:b4bc4ea4a763202a32f68eed1f7b3c40b59ce8fb9d113e47e9839de0cedee816", size = 170903, upload-time = "2026-02-27T01:16:17.388Z" }, +] + +[[package]] +name = "langchain-azure-ai" +version = "1.0.62" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "azure-ai-agents" }, + { name = "azure-ai-inference", extra = ["opentelemetry"] }, + { name = "azure-ai-projects" }, + { name = "azure-core" }, + { name = "azure-cosmos" }, + { name = "azure-identity" }, + { name = "azure-search-documents" }, + { name = "langchain" }, + { name = "langchain-openai" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.3.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/28/4d/0f832993097b4a8d1433db7415bf506a6cf9bba37cf4b7addb14a09fa25b/langchain_azure_ai-1.0.62.tar.gz", hash = "sha256:4d2d371b9b6cabfe889f6b7d17e4f26e77a9af74bc9f75f24434267f8687b17c", size = 117879, upload-time = "2026-03-06T14:39:32.903Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d7/23/54af58ce9972b1e8b31470d8356b3698837a0a322c2b4d6696c5ed307739/langchain_azure_ai-1.0.62-py3-none-any.whl", hash = "sha256:4c47666ec53f9aefa502963e81fb35c5fa2cee9cc210acda9b65541693922e10", size = 142120, upload-time = "2026-03-06T14:39:31.583Z" }, +] + +[[package]] +name = "langchain-baseten" +version = "0.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "baseten-performance-client" }, + { name = "langchain-core" }, + { name = "langchain-openai" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5d/fe/8cdbe5987e7d7c2ba5468509d0f0a7207fb89ce575a9017fd282de024d4a/langchain_baseten-0.2.0.tar.gz", hash = "sha256:74c1cf4f251e02a5a6d2277c2253fd257b25e9a9afbdd9602384147efdd8a532", size = 133922, upload-time = "2026-03-17T04:25:47.083Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8e/f1/16447180565b351399b121a762376d29cacc136612927184a37d0d7c38fa/langchain_baseten-0.2.0-py3-none-any.whl", hash = "sha256:8f7f4ed7cd64a5fde49bd233c775239654db815368f7f1c7bf1a61eb782b5a8b", size = 13471, upload-time = "2026-03-17T04:25:46.248Z" }, +] + +[[package]] +name = "langchain-classic" +version = "1.0.7" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "async-timeout", marker = "python_full_version < '3.11'" }, + { name = "langchain-core" }, + { name = "langchain-text-splitters" }, + { name = "langsmith" }, + { name = "pydantic" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "sqlalchemy" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9b/78/84b5065816f348c39fefa4316f209f0135e8410216340a953bec17d9e4e4/langchain_classic-1.0.7.tar.gz", hash = "sha256:debbec8065e69b95108d2652e8d5c44f4516e19aa8d716c02ed2211c3aee099d", size = 10554118, upload-time = "2026-05-07T15:46:56.8Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f5/78/2d9980d028ff0523eea503a77c200e2ff252a3a75eb6e7842bcf5f9c979b/langchain_classic-1.0.7-py3-none-any.whl", hash = "sha256:d9d9be38f7aa534ed0259c2410432e34a1f80b1d491e686749bb55af56479be3", size = 1041386, upload-time = "2026-05-07T15:46:54.845Z" }, +] + +[[package]] +name = "langchain-community" +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "dataclasses-json" }, + { name = "httpx-sse" }, + { name = "langchain-classic" }, + { name = "langchain-core" }, + { name = "langsmith" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.3.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "pydantic-settings" }, + { name = "pyyaml" }, + { name = "requests" }, + { name = "sqlalchemy" }, + { name = "tenacity" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/53/97/a03585d42b9bdb6fbd935282d6e3348b10322a24e6ce12d0c99eb461d9af/langchain_community-0.4.1.tar.gz", hash = "sha256:f3b211832728ee89f169ddce8579b80a085222ddb4f4ed445a46e977d17b1e85", size = 33241144, upload-time = "2025-10-27T15:20:32.504Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f0/a4/c4fde67f193401512337456cabc2148f2c43316e445f5decd9f8806e2992/langchain_community-0.4.1-py3-none-any.whl", hash = "sha256:2135abb2c7748a35c84613108f7ebf30f8505b18c3c18305ffaecfc7651f6c6a", size = 2533285, upload-time = "2025-10-27T15:20:30.767Z" }, +] + +[[package]] +name = "langchain-core" +version = "1.4.8" +source = { editable = "../core" } +dependencies = [ + { name = "jsonpatch" }, + { name = "langchain-protocol" }, + { name = "langsmith" }, + { name = "packaging" }, + { name = "pydantic" }, + { name = "pyyaml" }, + { name = "tenacity" }, + { name = "typing-extensions" }, + { name = "uuid-utils" }, +] + +[package.metadata] +requires-dist = [ + { name = "jsonpatch", specifier = ">=1.33.0,<2.0.0" }, + { name = "langchain-protocol", specifier = ">=0.0.17" }, + { name = "langsmith", specifier = ">=0.3.45,<1.0.0" }, + { name = "packaging", specifier = ">=23.2.0" }, + { name = "pydantic", specifier = ">=2.7.4,<3.0.0" }, + { name = "pyyaml", specifier = ">=5.3.0,<7.0.0" }, + { name = "tenacity", specifier = ">=8.1.0,!=8.4.0,<10.0.0" }, + { name = "typing-extensions", specifier = ">=4.7.0,<5.0.0" }, + { name = "uuid-utils", specifier = ">=0.12.0,<1.0" }, +] + +[package.metadata.requires-dev] +dev = [ + { name = "grandalf", specifier = ">=0.8.0,<1.0.0" }, + { name = "jupyter", specifier = ">=1.0.0,<2.0.0" }, + { name = "setuptools", specifier = ">=67.6.1,<83.0.0" }, +] +lint = [{ name = "ruff", specifier = ">=0.15.0,<0.16.0" }] +test = [ + { name = "blockbuster", specifier = ">=1.5.18,<1.6.0" }, + { name = "freezegun", specifier = ">=1.2.2,<2.0.0" }, + { name = "grandalf", specifier = ">=0.8.0,<1.0.0" }, + { name = "langchain-tests", directory = "../standard-tests" }, + { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.4" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" }, + { name = "pytest", specifier = ">=9.0.3,<10.0.0" }, + { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" }, + { name = "pytest-benchmark" }, + { name = "pytest-codspeed" }, + { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" }, + { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" }, + { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" }, + { name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" }, + { name = "responses", specifier = ">=0.25.0,<1.0.0" }, + { name = "syrupy", specifier = ">=5.0.0,<6.0.0" }, +] +test-integration = [] +typing = [ + { name = "langchain-text-splitters", directory = "../text-splitters" }, + { name = "mypy", specifier = ">=2.1.0,<2.2.0" }, + { name = "types-pyyaml", specifier = ">=6.0.12.2,<7.0.0.0" }, + { name = "types-requests", specifier = ">=2.28.11.5,<3.0.0.0" }, +] + +[[package]] +name = "langchain-deepseek" +version = "1.0.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core" }, + { name = "langchain-openai" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/4e/c4/de579ea21e22777959f214af165761c6cd101248222bcc0886d020d67185/langchain_deepseek-1.0.1.tar.gz", hash = "sha256:e7a0238f2c14e928e1562641b2df639c19cdf867287a7f2293ffb1372daf83ae", size = 147216, upload-time = "2025-11-13T16:29:13.445Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cd/dd/a803dfbf64273232f3fc82f859487331abb717671bbcdf266fd80de6ef78/langchain_deepseek-1.0.1-py3-none-any.whl", hash = "sha256:0a9862f335f1873370bb0fe1928ac19b8b9292b014ef5412da462ded8bb82c5a", size = 8325, upload-time = "2025-11-13T16:29:12.385Z" }, +] + +[[package]] +name = "langchain-fireworks" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "fireworks-ai" }, + { name = "langchain-core" }, + { name = "openai" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5a/6d/544b1175f535e7d831db963f8107c7940944e76609d5a0ae3751b0afb8f7/langchain_fireworks-1.1.0.tar.gz", hash = "sha256:04db3b2fd390f113e2026375d9a60fdc46e456920d4c98b3d7a6f70ce16bf7ed", size = 169062, upload-time = "2025-11-24T14:09:18.484Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0d/4a/7e60c509f8a2224c7c77e5d0ad4a7c15ea64cdb31f6bd709299a65dc1316/langchain_fireworks-1.1.0-py3-none-any.whl", hash = "sha256:fa063d4413a2eb46bf7ec6d7473f6ac16c8015f61bbbc7aa4912ebf82d0236fe", size = 18331, upload-time = "2025-11-24T14:09:17.47Z" }, +] + +[[package]] +name = "langchain-google-genai" +version = "4.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "filetype" }, + { name = "google-genai" }, + { name = "langchain-core" }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/14/63/e7d148f903cebfef50109da71378f411166f068d66f79b9e16a62dbacf41/langchain_google_genai-4.2.1.tar.gz", hash = "sha256:7f44487a0337535897e3bba9a1d6605d722629e034f757ffa8755af0aa85daa8", size = 278288, upload-time = "2026-02-19T19:29:19.416Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/7e/46c5973bd8b10a5c4c8a77136cf536e658796380a17c740246074901b038/langchain_google_genai-4.2.1-py3-none-any.whl", hash = "sha256:a7735289cf94ca3a684d830e09196aac8f6e75e647e3a0a1c3c9dc534ceb985e", size = 66500, upload-time = "2026-02-19T19:29:18.002Z" }, +] + +[[package]] +name = "langchain-google-vertexai" +version = "3.2.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "bottleneck" }, + { name = "google-cloud-aiplatform" }, + { name = "google-cloud-storage" }, + { name = "google-cloud-vectorsearch" }, + { name = "httpx" }, + { name = "httpx-sse" }, + { name = "langchain-core" }, + { name = "langchain-tests" }, + { name = "numexpr" }, + { name = "pyarrow" }, + { name = "pydantic" }, + { name = "validators" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9e/17/f102da74e0c0be1f880efd5d2e796efe9e1fc6354149404293cd6569391f/langchain_google_vertexai-3.2.3.tar.gz", hash = "sha256:10cc3fc932bde57f905c499460a9e3afd170a3127b8683ac7d48e61c1b038619", size = 350802, upload-time = "2026-04-29T21:13:01.182Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e3/68/ae7f4634b259cae1031ab5e1c29ab1d4e0f4948c1c109305f272fd873cdf/langchain_google_vertexai-3.2.3-py3-none-any.whl", hash = "sha256:20114a3121eba26fafc420243738a334c77838f68933993f138798919f02a1da", size = 118691, upload-time = "2026-04-29T21:12:59.807Z" }, +] + +[[package]] +name = "langchain-groq" +version = "1.1.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "groq" }, + { name = "langchain-core" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3d/d9/bbaa43598fcaffb669c5aea4088d92c77a426c46d25a013c21c979772a54/langchain_groq-1.1.2.tar.gz", hash = "sha256:67d1d752fb6590be517735947ec49b4ab9ed9191c7cca79f105d227775c67ae5", size = 178337, upload-time = "2026-02-02T15:57:29.435Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e8/11/71a35db3ed8ac2c7129eb69f0d590e4961be67ac84b6c470fc097d0dd7c8/langchain_groq-1.1.2-py3-none-any.whl", hash = "sha256:1f59f12233e8e6280c968bca6c40a7e5434e971e9a5387ad23c4c64ec776de10", size = 19450, upload-time = "2026-02-02T15:57:28.6Z" }, +] + +[[package]] +name = "langchain-huggingface" +version = "1.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "huggingface-hub" }, + { name = "langchain-core" }, + { name = "tokenizers" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/42/5b/4910551367de5c6ec246616fcc0ddb0bc6f9e5d353d4a22dcb5ab1f87e60/langchain_huggingface-1.2.1.tar.gz", hash = "sha256:33d52a30a56775380c6b4321b78136a410eb079132a80fe7120ddd4b954b4efa", size = 253106, upload-time = "2026-03-02T18:44:39.163Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bc/90/a1440bfa467a6dd9025ad80f3c239554de28aec49dacfb369fda92871556/langchain_huggingface-1.2.1-py3-none-any.whl", hash = "sha256:0930c216a457d2c8dc7b39a756c39c567f1d88593bfee2c3441f3ae718435f0f", size = 30924, upload-time = "2026-03-02T18:44:37.745Z" }, +] + +[[package]] +name = "langchain-mistralai" +version = "1.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "httpx" }, + { name = "httpx-sse" }, + { name = "langchain-core" }, + { name = "pydantic" }, + { name = "tokenizers" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a8/07/cdfcfed8dc680634ae470868aecb9ac48f953302b13c0bb119f6ee96e1be/langchain_mistralai-1.1.1.tar.gz", hash = "sha256:2430dd6c5e714252ce58bdf9453da4e1f2c694e239dde7e9c4d488a6d1ef2368", size = 143032, upload-time = "2025-12-12T22:11:54.594Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2f/96/67e029665e9c348a2f17d1a681dc139631a6d8241b7a8d8e6ee69ff70a4b/langchain_mistralai-1.1.1-py3-none-any.whl", hash = "sha256:47839fc69c879bad4ff60133f238c15574416c2dcd850121621a7e9de45800c1", size = 19439, upload-time = "2025-12-12T22:11:53.546Z" }, +] + +[[package]] +name = "langchain-ollama" +version = "1.0.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core" }, + { name = "ollama" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/73/51/72cd04d74278f3575f921084f34280e2f837211dc008c9671c268c578afe/langchain_ollama-1.0.1.tar.gz", hash = "sha256:e37880c2f41cdb0895e863b1cfd0c2c840a117868b3f32e44fef42569e367443", size = 153850, upload-time = "2025-12-12T21:48:28.68Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e3/46/f2907da16dc5a5a6c679f83b7de21176178afad8d2ca635a581429580ef6/langchain_ollama-1.0.1-py3-none-any.whl", hash = "sha256:37eb939a4718a0255fe31e19fbb0def044746c717b01b97d397606ebc3e9b440", size = 29207, upload-time = "2025-12-12T21:48:27.832Z" }, +] + +[[package]] +name = "langchain-openai" +version = "1.3.3" +source = { editable = "../partners/openai" } +dependencies = [ + { name = "langchain-core" }, + { name = "openai" }, + { name = "tiktoken" }, +] + +[package.metadata] +requires-dist = [ + { name = "langchain-core", editable = "../core" }, + { name = "openai", specifier = ">=2.26.0,<3.0.0" }, + { name = "tiktoken", specifier = ">=0.7.0,<1.0.0" }, +] + +[package.metadata.requires-dev] +dev = [] +lint = [{ name = "ruff", specifier = ">=0.13.1,<0.14.0" }] +test = [ + { name = "freezegun", specifier = ">=1.2.2,<2.0.0" }, + { name = "langchain", editable = "." }, + { name = "langchain-tests", editable = "../standard-tests" }, + { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.4" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" }, + { name = "pytest", specifier = ">=9.0.3,<10.0.0" }, + { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" }, + { name = "pytest-cov", specifier = ">=4.1.0,<5.0.0" }, + { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" }, + { name = "pytest-retry", specifier = ">=1.7.0,<1.8.0" }, + { name = "pytest-socket", specifier = ">=0.6.0,<1.0.0" }, + { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" }, + { name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" }, + { name = "syrupy", specifier = ">=5.0.0,<6.0.0" }, + { name = "vcrpy", specifier = ">=8.0.0,<9.0.0" }, +] +test-integration = [ + { name = "httpx", specifier = ">=0.27.0,<1.0.0" }, + { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.4" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" }, + { name = "pillow", specifier = ">=12.1.1,<13.0.0" }, +] +typing = [ + { name = "mypy", specifier = ">=2.1.0,<2.2.0" }, + { name = "types-tqdm", specifier = ">=4.66.0.5,<5.0.0.0" }, +] + +[[package]] +name = "langchain-perplexity" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core" }, + { name = "openai" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d6/77/b10abf51e054a26ece6c7194cd8fe387649288dc010bc93e03075cdc2398/langchain_perplexity-1.1.0.tar.gz", hash = "sha256:c8e655d0e0dfebfbaa8e028ecd0695f6bb73d030930ac2f07b4bb35fedc178dd", size = 157311, upload-time = "2025-11-24T15:05:14.426Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/40/a7/ee0f47bfdf0cdc8a319eee66302988cfc741695d99a758ff714f93fc04a9/langchain_perplexity-1.1.0-py3-none-any.whl", hash = "sha256:74165561403869aa4dd01b215ecb051578a9d794e843e8e7cc13999c68ff69b5", size = 11159, upload-time = "2025-11-24T15:05:13.596Z" }, +] + +[[package]] +name = "langchain-protocol" +version = "0.0.17" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/44/b3/4e2429876c7a35585618caa2b9f9089f7162a6b50562b614ad82ac11c17e/langchain_protocol-0.0.17.tar.gz", hash = "sha256:e7cbe58c205df4b4fd87dc6d5bb23f10e13b236d0e2e1b0b9d05bc2b648f3eea", size = 6026, upload-time = "2026-06-12T18:39:51.923Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/13/0a/a1bfe72c6ec856e99773bbd96c8086421e554b3693d0142b9ea009c6ac92/langchain_protocol-0.0.17-py3-none-any.whl", hash = "sha256:982a08fe152586ed10d4ff3d538c2e0b5766e5f307cdea325e10be3f2c17cae6", size = 7096, upload-time = "2026-06-12T18:39:50.973Z" }, +] + +[[package]] +name = "langchain-tests" +version = "1.1.9" +source = { editable = "../standard-tests" } +dependencies = [ + { name = "httpx" }, + { name = "langchain-core" }, + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.3.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, + { name = "pytest" }, + { name = "pytest-asyncio" }, + { name = "pytest-benchmark" }, + { name = "pytest-codspeed" }, + { name = "pytest-recording" }, + { name = "pytest-socket" }, + { name = "syrupy" }, + { name = "vcrpy" }, +] + +[package.metadata] +requires-dist = [ + { name = "httpx", specifier = ">=0.28.1,<1.0.0" }, + { name = "langchain-core", editable = "../core" }, + { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.2" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" }, + { name = "pytest", specifier = ">=9.0.3,<10.0.0" }, + { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" }, + { name = "pytest-benchmark" }, + { name = "pytest-codspeed" }, + { name = "pytest-recording" }, + { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" }, + { name = "syrupy", specifier = ">=5.0.0,<6.0.0" }, + { name = "vcrpy", specifier = ">=8.0.0,<9.0.0" }, +] + +[package.metadata.requires-dev] +lint = [{ name = "ruff", specifier = ">=0.15.0,<0.16.0" }] +test = [] +test-integration = [] +typing = [ + { name = "mypy", specifier = ">=2.1.0,<2.2.0" }, + { name = "types-pyyaml", specifier = ">=6.0.12.2,<7.0.0.0" }, +] + +[[package]] +name = "langchain-text-splitters" +version = "1.1.2" +source = { editable = "../text-splitters" } +dependencies = [ + { name = "langchain-core" }, +] + +[package.metadata] +requires-dist = [{ name = "langchain-core", editable = "../core" }] + +[package.metadata.requires-dev] +dev = [{ name = "jupyter", specifier = ">=1.0.0,<2.0.0" }] +lint = [{ name = "ruff", specifier = ">=0.15.0,<0.16.0" }] +test = [ + { name = "freezegun", specifier = ">=1.2.2,<2.0.0" }, + { name = "pytest", specifier = ">=9.0.3,<10.0.0" }, + { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" }, + { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" }, + { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" }, + { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" }, + { name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" }, +] +test-integration = [ + { name = "en-core-web-sm", url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl" }, + { name = "nltk", specifier = ">=3.9.1,<4.0.0" }, + { name = "sentence-transformers", specifier = ">=5.3.0,<6.0.0" }, + { name = "spacy", specifier = ">=3.8.13,!=3.8.14,<4.0.0" }, + { name = "tiktoken", specifier = ">=0.8.0,<1.0.0" }, + { name = "transformers", specifier = ">=4.51.3,<6.0.0" }, +] +typing = [ + { name = "beautifulsoup4", specifier = ">=4.13.5,<5.0.0" }, + { name = "lxml-stubs", specifier = ">=0.5.1,<1.0.0" }, + { name = "mypy", specifier = ">=2.1.0,<2.2.0" }, + { name = "tiktoken", specifier = ">=0.8.0,<1.0.0" }, + { name = "types-requests", specifier = ">=2.31.0.20240218,<3.0.0.0" }, +] + +[[package]] +name = "langchain-together" +version = "0.0.2.post1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "langchain-core" }, + { name = "requests" }, + { name = "together" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f7/5c/d52e38ca0d7d1fa3d96058825e66e70685d69dbdddbc2bddb74491961e4f/langchain_together-0.0.2.post1.tar.gz", hash = "sha256:60eaed0267d86edad2dde1f1dd28dea3aeed126c8f322eea986d46cd2c252394", size = 5124, upload-time = "2024-01-12T18:14:26.115Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/24/4de8d0d0cd71c88a0deb6dc6ff0c46e545246af280647093dc11c95d93e2/langchain_together-0.0.2.post1-py3-none-any.whl", hash = "sha256:6fb618939e2e200daed027ae611cdb7783e5587457fca465c2afe5fa38984680", size = 6076, upload-time = "2024-01-12T18:14:25.216Z" }, +] + +[[package]] +name = "langchain-xai" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "langchain-core" }, + { name = "langchain-openai" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1e/50/721db990f9eff5ebd07ca7c06dfa4745406980c90554a2f508bd2a178f91/langchain_xai-1.2.2.tar.gz", hash = "sha256:5d88d31ae078b211eb341d238cc6518818b8e8816efdfc4d98e5e14767629639", size = 175995, upload-time = "2026-01-26T04:26:12.978Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/3d/a0217c207482ec4f5b5813aaf07173421a3ff55bfec172905b90571b23a5/langchain_xai-1.2.2-py3-none-any.whl", hash = "sha256:f7bab093d2256efa2079a1d2df32cd3a6432118f3e6d0beca110111d0f2a8ec7", size = 11101, upload-time = "2026-01-26T04:26:11.948Z" }, +] + +[[package]] +name = "langchainhub" +version = "0.1.21" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "packaging" }, + { name = "requests" }, + { name = "types-requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/71/50/76719d356d80b00761d9680e3eb5df0f5ca8587e79b60ae6dcb678828cdd/langchainhub-0.1.21.tar.gz", hash = "sha256:723383b3964a47dbaea6ad5d0ef728accefbc9d2c07480e800bdec43510a8c10", size = 4481, upload-time = "2024-08-11T20:21:42.305Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/35/63/40328157ddee807991f2f1992c2ad88f479b2472dc9e40d08ccf10700735/langchainhub-0.1.21-py3-none-any.whl", hash = "sha256:1cc002dc31e0d132a776afd044361e2b698743df5202618cf2bad399246b895f", size = 5203, upload-time = "2024-08-11T20:21:40.892Z" }, +] + +[[package]] +name = "langgraph" +version = "1.2.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core" }, + { name = "langgraph-checkpoint" }, + { name = "langgraph-prebuilt" }, + { name = "langgraph-sdk" }, + { name = "pydantic" }, + { name = "xxhash" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/77/9d/7c9ebd17b95569122e2d2e641f535cf086c870d66bb8e59be33cdba856b3/langgraph-1.2.5.tar.gz", hash = "sha256:09a3bdec6fdb3228623fc78b6f69a1400d383f66348d0b04d0efb692022cc6ef", size = 712532, upload-time = "2026-06-12T20:30:58.498Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/03/187281cf61845c5a9c397ae6cd9cd73bb54b39435e5575a7b83c853e5b76/langgraph-1.2.5-py3-none-any.whl", hash = "sha256:9286bb5def82fc865959c14378fe473518dc097d586225f622f029637a2a4bb9", size = 246150, upload-time = "2026-06-12T20:30:57.018Z" }, +] + +[[package]] +name = "langgraph-checkpoint" +version = "4.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core" }, + { name = "ormsgpack" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/83/47/886af6f886f0bff2273164a45f008694e48a96ff3cd25ff0228f2aa9480e/langgraph_checkpoint-4.1.1.tar.gz", hash = "sha256:6c2bdb530c91f91d7d9c1bd100925d0fc4f498d418c17f3587d1526279482a25", size = 184020, upload-time = "2026-05-22T16:57:38.503Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bd/b4/71425e3e38be92611300b9cc5e46a5bf98ab23f5ea8a75b73d02a2f1413c/langgraph_checkpoint-4.1.1-py3-none-any.whl", hash = "sha256:25d29144b082827218e7bc3f1e9b0566a4bb007895cd6cc26f66a8428739f56e", size = 56212, upload-time = "2026-05-22T16:57:37.203Z" }, +] + +[[package]] +name = "langgraph-prebuilt" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "langchain-core" }, + { name = "langgraph-checkpoint" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/29/66/ed9b93f56bc17ef22d551892f0ac2b225a97fe0fcf23a511b857f70d590b/langgraph_prebuilt-1.1.0.tar.gz", hash = "sha256:3c579cf6eed2d17f9c157c2d0fcaddcd8688524e7022d3b22b37a3bf4589d528", size = 178833, upload-time = "2026-05-12T03:37:49.332Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/43/3fe1a700b8490ed02679cdbbc8c915eb23a092faf496c9c1118abcd10be3/langgraph_prebuilt-1.1.0-py3-none-any.whl", hash = "sha256:51e311747d755b751d5c6b39b0c1446124d3a7643d2515017e6714b323508fc9", size = 41043, upload-time = "2026-05-12T03:37:48.007Z" }, +] + +[[package]] +name = "langgraph-sdk" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "httpx" }, + { name = "langchain-core" }, + { name = "langchain-protocol" }, + { name = "orjson" }, + { name = "websockets" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b4/2b/bd8ac26d4e97f6df88ef05ce5b6a38945a3903e1025d926f4752aa88aa97/langgraph_sdk-0.4.2.tar.gz", hash = "sha256:b88f0f5f6328ac0680d6790614a905b2bcfa257f2276dba4e38f0e86db0aa738", size = 348327, upload-time = "2026-06-01T17:51:19.856Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/05/aac507337cceae773c2cc9ab91eb6301963af7aeeb55b4217a00e15aff17/langgraph_sdk-0.4.2-py3-none-any.whl", hash = "sha256:75fa5096c1177ce39c847096a8fe3745ffd480ddb412995f836e9f5f884c43dd", size = 160521, upload-time = "2026-06-01T17:51:18.849Z" }, +] + +[[package]] +name = "langsmith" +version = "0.8.18" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "httpx" }, + { name = "orjson", marker = "platform_python_implementation != 'PyPy'" }, + { name = "packaging" }, + { name = "pydantic" }, + { name = "requests" }, + { name = "requests-toolbelt" }, + { name = "uuid-utils" }, + { name = "websockets" }, + { name = "xxhash" }, + { name = "zstandard" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9a/d9/a6681aa9847bbbc5ec21abe20a5e233b94e5edcfe39624db607ac7e8ccb4/langsmith-0.8.18.tar.gz", hash = "sha256:32dde9c0e67e053e0fb738921fc8ced768af7b8fa83d7a0e3fd63597cf8776dd", size = 4526988, upload-time = "2026-06-19T13:12:17.123Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/03/70/0e0cc80a3b064c8d6c8d697c3125ed86e39d5a7393ec6dc8b07cb1cf13c4/langsmith-0.8.18-py3-none-any.whl", hash = "sha256:3940183349993faef48e6c7d08e4822ee9cefd906b362d0e3c2d650314d2f282", size = 508108, upload-time = "2026-06-19T13:12:15.348Z" }, +] + +[[package]] +name = "librt" +version = "0.11.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/40/08/9e7f6b5d2b5bed6ad055cdd5925f192bb403a51280f86b56554d9d0699a2/librt-0.11.0.tar.gz", hash = "sha256:075dc3ef4458a278e0195cbf6ac9d38808d9b906c5a6c7f7f79c3888276a3fb1", size = 200139, upload-time = "2026-05-10T18:17:25.138Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/83/10/37fd9e9ba96cb0bd742dfb20fc3d082e54bdbec759d7300df927f360ef07/librt-0.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6e94ebfcfa2d5e9926d6c3b9aa4617ffc42a845b4321fb84021b872358c82a0f", size = 141706, upload-time = "2026-05-10T18:15:16.129Z" }, + { url = "https://files.pythonhosted.org/packages/cf/72/1b1466f358e4a0b728051f69bc27e67b432c6eaa2e05b88db49d3785ae0d/librt-0.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ae627397a2f351560440d872d6f7c8dbb4072e57868e7b2fc5b8b430fe489d45", size = 142605, upload-time = "2026-05-10T18:15:18.148Z" }, + { url = "https://files.pythonhosted.org/packages/ca/85/ed26dd2f6bc9a0baf48306433e579e8d354d70b2bcb78134ed950a5d0e1e/librt-0.11.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc329359321b67d24efdf4bc69012b0597001649544db662c001db5a0184794c", size = 476555, upload-time = "2026-05-10T18:15:19.569Z" }, + { url = "https://files.pythonhosted.org/packages/66/fe/11891191c0e0a3fd617724e891f6e67a71a7658974a892b9a9a97fdb2977/librt-0.11.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:7e82e642ab0f7608ce2fe53d76ca2280a9ee33a1b06556142c7c6fe80a86fc33", size = 468434, upload-time = "2026-05-10T18:15:20.87Z" }, + { url = "https://files.pythonhosted.org/packages/6f/50/5ec949d7f9ce1a07af903aa3e13abb98b717923bdead6e719b2f824ccc07/librt-0.11.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:88145c15c67731d54283d135b03244028c750cc9edc334a96a4f5950ebdb2884", size = 496918, upload-time = "2026-05-10T18:15:22.616Z" }, + { url = "https://files.pythonhosted.org/packages/ea/c4/177336c7524e34875a38bf668e88b193a6723a4eb4045d07f74df6e1506c/librt-0.11.0-cp310-cp310-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9d36a51b3d93320b686588e27123f4995804dbf1bce81df78c02fc3c6eea9280", size = 490334, upload-time = "2026-05-10T18:15:24.2Z" }, + { url = "https://files.pythonhosted.org/packages/13/1f/da3112f7569eda3b49f9a2629bae1fe059812b6085df16c885f6454dff49/librt-0.11.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d00f3ac06a2a8b246327f11e186a53a100a4d5c7ed52346367e5ec751d51586c", size = 511287, upload-time = "2026-05-10T18:15:26.226Z" }, + { url = "https://files.pythonhosted.org/packages/fa/94/03fec301522e172d105581431223be56b27594ff46440ebfbb658a3735d5/librt-0.11.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:461bbceede621f1ffb8839755f8663e886087ee7af16294cab7fb4d782c62eeb", size = 517202, upload-time = "2026-05-10T18:15:27.965Z" }, + { url = "https://files.pythonhosted.org/packages/b7/6e/339f6e5a7b413ce014f1917a756dae630fe59cc99f34153205b1cb540901/librt-0.11.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:0cad8a4d6a8ff03c9b76f9414caccd78e7cfbc8a2e12fa334d8e1d9932753783", size = 497517, upload-time = "2026-05-10T18:15:29.614Z" }, + { url = "https://files.pythonhosted.org/packages/cd/43/acdd5ce317cb46e8253ca9bfbdb8b12e68a24d745949336a7f3d5fb79ba0/librt-0.11.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f37aa505b3cf60701562eddb32df74b12a9e380c207fd8b06dd157a943ac7ea0", size = 538878, upload-time = "2026-05-10T18:15:30.928Z" }, + { url = "https://files.pythonhosted.org/packages/29/b5/7a25bb12e3172839f647f196b3e988318b7bb1ca7501732a225c4dce2ec0/librt-0.11.0-cp310-cp310-win32.whl", hash = "sha256:94663a21534637f0e787ec2a2a756022df6e5b7b2335a5cdd7d8e33d68a2af89", size = 100070, upload-time = "2026-05-10T18:15:32.551Z" }, + { url = "https://files.pythonhosted.org/packages/c6/0d/ebbcf4d77999c02c937b05d2b90ff4cd4dcc7e9a365ba132329ac1fe7a0f/librt-0.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:dec7db73758c2b54953fd8b7fe348c45188fe26b39ee18446196edd08453a5d4", size = 117918, upload-time = "2026-05-10T18:15:33.678Z" }, + { url = "https://files.pythonhosted.org/packages/fe/87/2bf31fe17587b29e3f93ec31421e2b1e1c3e349b8bf6c7c313dbad1d5340/librt-0.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:93d95bd45b7d58343d8b90d904450a545144eec19a002511163426f8ab1fae29", size = 141092, upload-time = "2026-05-10T18:15:34.795Z" }, + { url = "https://files.pythonhosted.org/packages/cf/08/5c5bf772920b7ebac6e32bc91a643e0ab3870199c0b542356d3baa83970a/librt-0.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ee278c769a713638cdacd4c0436d72156e75df3ebc0166ab2b9dc43acc386c9", size = 142035, upload-time = "2026-05-10T18:15:36.242Z" }, + { url = "https://files.pythonhosted.org/packages/06/20/662a03d254e5b000d838e8b345d83303ddb768c080fd488e40634c0fa66b/librt-0.11.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f230cb1cbc9faaa616f9a678f530ebcf186e414b6bcbd88b960e4ba1b92428d5", size = 475022, upload-time = "2026-05-10T18:15:37.56Z" }, + { url = "https://files.pythonhosted.org/packages/de/f3/aa81523e45184c6ec23dc7f63263362ec55f80a09d424c012359ecbe7e35/librt-0.11.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:5d63c855d86938d9de93e265c9bd8c705b51ec494de5738340ee93767a686e4b", size = 467273, upload-time = "2026-05-10T18:15:39.182Z" }, + { url = "https://files.pythonhosted.org/packages/6b/6f/59c74b560ca8853834d5501d589c8a2519f4184f273a085ffd0f37a1cc47/librt-0.11.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:993f028be9e96a08d31df3479ac80d99be374d17f3b78e4796b3fd3c913d4e89", size = 497083, upload-time = "2026-05-10T18:15:40.634Z" }, + { url = "https://files.pythonhosted.org/packages/fe/7b/5aa4d2c9600a719401160bf7055417df0b2a47439b9d88286ce45e56b65f/librt-0.11.0-cp311-cp311-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:258d73a0aa66a055e65b2e4d1b8cdb23b9d132c5bb915d9547d804fcaed116cc", size = 489139, upload-time = "2026-05-10T18:15:41.934Z" }, + { url = "https://files.pythonhosted.org/packages/d6/31/9143803d7da6856a69153785768c4936864430eec0fd9461c3ea527d9922/librt-0.11.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0827efe7854718f04aaddf6496e96960a956e676fe1d0f04eb41511fd8ad06d5", size = 508442, upload-time = "2026-05-10T18:15:43.206Z" }, + { url = "https://files.pythonhosted.org/packages/2f/5a/bce08184488426bda4ccc2c4964ac048c8f68ae89bd7120082eef4233cfd/librt-0.11.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7753e57d6e12d019c0d8786f1c09c709f4c3fcc57c3887b24e36e6c06ec938b7", size = 514230, upload-time = "2026-05-10T18:15:44.761Z" }, + { url = "https://files.pythonhosted.org/packages/89/8c/bb5e213d254b7505a0e658da199d8ab719086632ce09eef311ab27976523/librt-0.11.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:11bd19822431cc21af9f27374e7ae2e58103c7d98bda823536a6c47f6bb2bb3d", size = 494231, upload-time = "2026-05-10T18:15:46.308Z" }, + { url = "https://files.pythonhosted.org/packages/9d/fb/541cdad5b1ab1300398c74c4c9a497b88e5074c21b1244c8f49731d3a284/librt-0.11.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:22bdf239b219d3993761a148ffa134b19e52e9989c84f845d5d7b71d70a17412", size = 537585, upload-time = "2026-05-10T18:15:47.629Z" }, + { url = "https://files.pythonhosted.org/packages/8f/f2/464bb69295c320cb06bddb4f14a4ec67934ee14b2bffb12b19fb7ab287ba/librt-0.11.0-cp311-cp311-win32.whl", hash = "sha256:46c60b61e308eb535fbd6fa622b1ee1bb2815691c1ad9c98bf7b84952ec3bc8d", size = 100509, upload-time = "2026-05-10T18:15:49.157Z" }, + { url = "https://files.pythonhosted.org/packages/6d/e7/a17ee1788f9e4fbf548c19f4afa07c92089b9e24fef6cb2410863781ef4c/librt-0.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:902e546ff044f579ff1c953ff5fce97b636fe9e3943996b2177710c6ef076f73", size = 118628, upload-time = "2026-05-10T18:15:50.345Z" }, + { url = "https://files.pythonhosted.org/packages/cc/c7/6c766214f9f9903bcfcfbef97d807af8d8f5aa3502d247858ab17582d212/librt-0.11.0-cp311-cp311-win_arm64.whl", hash = "sha256:65ac3bc20f78aa0ee5ae84baa68917f89fef4af63e941084dd019a0d0e749f0c", size = 103122, upload-time = "2026-05-10T18:15:52.068Z" }, + { url = "https://files.pythonhosted.org/packages/8b/d0/07c77e067f0838949b43bd89232c29d72efebb9d2801a9750184eb706b71/librt-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b87504f1690a23b9a2cca841191a04f83895d4fc2dd04df91d82b1a04ca2ad46", size = 144147, upload-time = "2026-05-10T18:15:53.227Z" }, + { url = "https://files.pythonhosted.org/packages/7a/24/8493538fa4f62f982686398a5b8f68008138a75086abdea19ade64bf4255/librt-0.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40071fc5fe0ce8daa6de616702314a01e1250711682b0523d6ab8d4525910cb3", size = 143614, upload-time = "2026-05-10T18:15:54.657Z" }, + { url = "https://files.pythonhosted.org/packages/ff/1e/f8bad050810d9171f34a1648ed910e56814c2ba61639f2bd53c6377ae24b/librt-0.11.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:137e79445c896a0ea7b265f52d23954e05b64222ee1af69e2cb34219067cbb67", size = 485538, upload-time = "2026-05-10T18:15:56.117Z" }, + { url = "https://files.pythonhosted.org/packages/c0/fe/3594ebfbaf03084ba4b120c9ba5c3183fd938a48725e9bbe6ff0a5159ad8/librt-0.11.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:cca6644054e78746d8d4ef238681f9c34ff8b584fe6b988ecebb8db3b15e622a", size = 479623, upload-time = "2026-05-10T18:15:57.544Z" }, + { url = "https://files.pythonhosted.org/packages/b0/da/5d1876984b3746c85dbd219dbfcb73c85f54ee263fd32e5b2a632ec14571/librt-0.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5b0eea49f5562861ee8d757a32ef7d559c1d35be2aaaa1ec28941d74c9ffc8a", size = 513082, upload-time = "2026-05-10T18:15:58.805Z" }, + { url = "https://files.pythonhosted.org/packages/19/6e/55bdf5d5ca00c3e18430690bf2c953d8d3ffd3c337418173d33dec985dc9/librt-0.11.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0d1029d7e1ae1a7e647ed6fb5df8c4ce2dffefb7a9f5fd1376a4554d96dac09f", size = 508105, upload-time = "2026-05-10T18:16:00.2Z" }, + { url = "https://files.pythonhosted.org/packages/07/10/f1f23a7c595ee90ece4d35c851e5d104b1311a887ed1b4ac4c35bbd13da8/librt-0.11.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bc3ce6b33c5828d9e80592011a5c584cb2ce86edbc4088405f70da47dc1d1b3b", size = 522268, upload-time = "2026-05-10T18:16:01.708Z" }, + { url = "https://files.pythonhosted.org/packages/b6/02/5720f5697a7f54b78b3aefbe20df3a48cedcff1276618c4aa481177942ed/librt-0.11.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:936c5995f3514a42111f20099397d8177c79b4d7e70961e396c6f5a0a3566766", size = 527348, upload-time = "2026-05-10T18:16:03.496Z" }, + { url = "https://files.pythonhosted.org/packages/50/db/b4a47c6f91db4ff76348a0b3dd0cc65e090a078b765a810a62ff9434c3d3/librt-0.11.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:9bc0ca6ad9381cbe8e4aa6e5726e4c80c78115a6e9723c599ed1d73e092bc49d", size = 516294, upload-time = "2026-05-10T18:16:05.173Z" }, + { url = "https://files.pythonhosted.org/packages/9e/58/9384b2f4eb1ed1d273d40948a7c5c4b2360213b402ef3be4641c06299f9c/librt-0.11.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:070aa8c26c0a74774317a72df8851facc7f0f012a5b406557ac56992d92e1ec8", size = 553608, upload-time = "2026-05-10T18:16:06.839Z" }, + { url = "https://files.pythonhosted.org/packages/21/7b/5aa8848a7c6a9278c79375146da1812e695754ceec5f005e6043461a7315/librt-0.11.0-cp312-cp312-win32.whl", hash = "sha256:6bf14feb84b05ae945277395451998c89c54d0def4070eb5c08de544930b245a", size = 101879, upload-time = "2026-05-10T18:16:08.103Z" }, + { url = "https://files.pythonhosted.org/packages/37/33/8a745436944947575b584231750a41417de1a38cf6a2e9251d1065651c09/librt-0.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:75672f0bc524ede266287d532d7923dbce94c7514ad07627bac3d0c6d92cc4d9", size = 119831, upload-time = "2026-05-10T18:16:09.174Z" }, + { url = "https://files.pythonhosted.org/packages/59/67/a6739ac96e28b7855808bdb0370e250606104a859750d209e5a0716fe7ab/librt-0.11.0-cp312-cp312-win_arm64.whl", hash = "sha256:2f10cf143e4a9bb0f4f5af568a00df94a2d69ef41c2579584454bb0fe5cc642c", size = 103470, upload-time = "2026-05-10T18:16:10.369Z" }, + { url = "https://files.pythonhosted.org/packages/82/61/e59168d4d0bf2bf90f4f0caf7a001bfc60254c3af4586013b04dc3ef517b/librt-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:78dc31f7fdfe9c9d0eb0e8f42d139db230e826415bbcabd9f0e9faaaee909894", size = 144119, upload-time = "2026-05-10T18:16:11.771Z" }, + { url = "https://files.pythonhosted.org/packages/61/fd/caa1d60b12f7dd79ccea23054e06eeaebe266a5f52c40a6b651069200ce5/librt-0.11.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:fa475675db22290c3158e1d42326d0f5a65f04f44a0e68c3630a25b53560fb9c", size = 143565, upload-time = "2026-05-10T18:16:13.334Z" }, + { url = "https://files.pythonhosted.org/packages/b8/a9/dc744f5c2b4978d48db970be29f22716d3413d28b14ad99740817315cf2c/librt-0.11.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:621db29691044bdeda22e789e482e1b0f3a985d90e3426c9c6d17606416205ea", size = 485395, upload-time = "2026-05-10T18:16:14.729Z" }, + { url = "https://files.pythonhosted.org/packages/8f/21/7f8e97a1e4dae952a5a95948f6f8507a173bc1e669f54340bba6ca1ca31b/librt-0.11.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:a9010e2ed5b3a9e158c5fd966b3ab7e834bb3d3aacc8f66c91dd4b57a3799230", size = 479383, upload-time = "2026-05-10T18:16:16.321Z" }, + { url = "https://files.pythonhosted.org/packages/a6/6d/d8ee9c114bebf2c50e29ec2aa940826fccb62a645c3e4c18760987d0e16d/librt-0.11.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c39513d8b7477a2e1ed8c43fc21c524e8d5a0f8d4e8b7b074dbdbe7820a08e2", size = 513010, upload-time = "2026-05-10T18:16:17.647Z" }, + { url = "https://files.pythonhosted.org/packages/f0/43/0b5708af2bd30a46400e72ba6bdaa8f066f15fb9a688527e34220e8d6c06/librt-0.11.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7aef3cf1d5af86e770ab04bfd993dfc4ae8b8c17f66fb77dd4a7d50de7bbb1a3", size = 508433, upload-time = "2026-05-10T18:16:19.309Z" }, + { url = "https://files.pythonhosted.org/packages/4a/50/356187247d09013490481033183b3532b58acf8028bcb34b2b56a375c9b2/librt-0.11.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:557183ddc36babe46b27dd60facbd5adb4492181a5be887587d57cda6e092f21", size = 522595, upload-time = "2026-05-10T18:16:20.642Z" }, + { url = "https://files.pythonhosted.org/packages/40/e7/c6ac4240899c7f3248079d5a9900debe0dadb3fdeaf856684c987105ba47/librt-0.11.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:83d3e1f72bd42f6c5c0b7daec530c3f829bd02db42c70b8ddf0c2d90a2459930", size = 527255, upload-time = "2026-05-10T18:16:22.352Z" }, + { url = "https://files.pythonhosted.org/packages/eb/b5/a81322dbeedeeaf9c1ee6f001734d28a09d8383ac9e6779bc24bbd0743c6/librt-0.11.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:4ce1f21fbe589bc1afd7872dece84fb0e1144f794a288e58a10d2c54a55c43be", size = 516847, upload-time = "2026-05-10T18:16:23.627Z" }, + { url = "https://files.pythonhosted.org/packages/ae/66/6e6323787d592b55204a42595ff1102da5115601b53a7e9ddebc889a6da5/librt-0.11.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:970b09f7044ea2b64c9da42fd3d335666518cfd1c6e8a182c95da73d0214b41e", size = 553920, upload-time = "2026-05-10T18:16:25.025Z" }, + { url = "https://files.pythonhosted.org/packages/9c/21/623f8ca230857102066d9ca8c6c1734995908c4d0d1bee7bb2ef0021cb33/librt-0.11.0-cp313-cp313-win32.whl", hash = "sha256:78fddc31cd4d3caa897ad5d31f856b1faadc9474021ad6cb182b9018793e254e", size = 101898, upload-time = "2026-05-10T18:16:26.649Z" }, + { url = "https://files.pythonhosted.org/packages/b3/1d/b4ebd44dd723f768469007515cb92251e0ae286c94c140f374801140fa74/librt-0.11.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ca8aa88751a775870b764e93bad5135385f563cb8dcee399abf034ea4d3cb47", size = 119812, upload-time = "2026-05-10T18:16:27.859Z" }, + { url = "https://files.pythonhosted.org/packages/3b/e4/b2f4ca7965ca373b491cdb4bc25cdb30c1649ca81a8782056a83850292a9/librt-0.11.0-cp313-cp313-win_arm64.whl", hash = "sha256:96f044bb325fd9cf1a723015638c219e9143f0dfbc0ca54c565df2b7fc748b44", size = 103448, upload-time = "2026-05-10T18:16:29.066Z" }, + { url = "https://files.pythonhosted.org/packages/29/eb/dbce197da4e227779e56b5735f2decc3eb36e55a1cdbf1bd65d6639d76c1/librt-0.11.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4a017a95e5837dc15a8c5661d60e05daa96b90908b1aa6b7acdf443cd25c8ebd", size = 143345, upload-time = "2026-05-10T18:16:30.674Z" }, + { url = "https://files.pythonhosted.org/packages/76/a3/254bebd0c11c8ba684018efb8006ff22e466abce445215cca6c778e7d9de/librt-0.11.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:b1ecbd9819deccc39b7542bf4d2a740d8a620694d39989e58661d3763458f8d4", size = 143131, upload-time = "2026-05-10T18:16:32.037Z" }, + { url = "https://files.pythonhosted.org/packages/f1/3f/f77d6122d21ac7bf6ae8a7dfced1bd2a7ac545d3273ebdcaf8042f6d619f/librt-0.11.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7da327dacd7be8f8ec36547373550744a3cc0e536d54665cd83f8bcd961200e8", size = 477024, upload-time = "2026-05-10T18:16:33.493Z" }, + { url = "https://files.pythonhosted.org/packages/ac/0a/2c996dadebaa7d9bbbd43ef2d4f3e66b6da545f838a41694ef6172cebec8/librt-0.11.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:0dc56b1f8d06e60db362cc3fdae206681817f86ce4725d34511473487f12a34b", size = 474221, upload-time = "2026-05-10T18:16:34.864Z" }, + { url = "https://files.pythonhosted.org/packages/0a/7e/f5d92af8486b8272c23b3e686b46ff72d89c8169585eb61eef01a2ac7147/librt-0.11.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05fb8fb2ab90e21c8d12ea240d744ad514da9baf381ebfa70d91d20d21713175", size = 505174, upload-time = "2026-05-10T18:16:36.705Z" }, + { url = "https://files.pythonhosted.org/packages/af/1a/cb0734fe86398eb33193ab753b7326255c74cac5eb09e76b9b16536e7adb/librt-0.11.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cae74872be221df4374d10fec61f93ed1513b9546ea84f2c0bf73ab3e9bd0b03", size = 497216, upload-time = "2026-05-10T18:16:38.418Z" }, + { url = "https://files.pythonhosted.org/packages/18/06/094820f91558b66e29943c0ec41c9914f460f48dd51fc503c3101e10842d/librt-0.11.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:32bcc918c0148eb7e3d57385125bac7e5f9e4359d05f07448b09f6f778c2f31c", size = 513921, upload-time = "2026-05-10T18:16:39.848Z" }, + { url = "https://files.pythonhosted.org/packages/0b/c2/00de9018871a282f530cacb457d5ec0428f6ac7e6fedde9aff7468d9fb04/librt-0.11.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:f9743fc99135d5f78d2454435615f6dec0473ca507c26ce9d92b10b562a280d3", size = 520850, upload-time = "2026-05-10T18:16:41.471Z" }, + { url = "https://files.pythonhosted.org/packages/51/9d/64631832348fd1834fb3a61b996434edddaaf25a31d03b0a76273159d2cf/librt-0.11.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:5ba067f4aadae8fda802d91d2124c90c42195ff32d9161d3549e6d05cfe26f96", size = 504237, upload-time = "2026-05-10T18:16:43.15Z" }, + { url = "https://files.pythonhosted.org/packages/a5/ec/ae5525eb16edc827a044e7bb8777a455ff95d4bca9379e7e6bddd7383647/librt-0.11.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:de3bf945454d032f9e390b85c4072e0a0570bf825421c8be0e71209fa65e1abe", size = 546261, upload-time = "2026-05-10T18:16:44.408Z" }, + { url = "https://files.pythonhosted.org/packages/5a/09/adce371f27ca039411da9659f7430fcc2ba6cd0c7b3e4467a0f091be7fa9/librt-0.11.0-cp314-cp314-win32.whl", hash = "sha256:d2277a05f6dcb9fd13db9566aac4fabd68c3ea1ea46ee5567d4eef8efa495a2f", size = 96965, upload-time = "2026-05-10T18:16:46.039Z" }, + { url = "https://files.pythonhosted.org/packages/d6/ee/8ac720d98548f173c7ce2e632a7ca94673f74cacd5c8162a84af5b35958a/librt-0.11.0-cp314-cp314-win_amd64.whl", hash = "sha256:ab73e8db5e3f564d812c1f5c3a175930a5f9bc96ccb5e3b22a34d7858b401cf7", size = 115151, upload-time = "2026-05-10T18:16:47.133Z" }, + { url = "https://files.pythonhosted.org/packages/94/20/c900cf14efeb09b6bef2b2dff20779f73464b97fd58d1c6bccc379588ae3/librt-0.11.0-cp314-cp314-win_arm64.whl", hash = "sha256:aea3caa317752e3a466fa8af45d91ee0ea8c7fdd96e42b0a8dd9b76a7931eba1", size = 98850, upload-time = "2026-05-10T18:16:48.597Z" }, + { url = "https://files.pythonhosted.org/packages/0c/71/944bfe4b64e12abffcd3c15e1cce07f72f3d55655083786285f4dedeb532/librt-0.11.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:d1b36540d7aaf9b9101b3a6f376c8d8e9f7a9aec93ed05918f2c69d493ffef72", size = 151138, upload-time = "2026-05-10T18:16:49.839Z" }, + { url = "https://files.pythonhosted.org/packages/b6/10/99e64a5c86989357fda078c8143c533389585f6473b7439172dd8f3b3b2d/librt-0.11.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:efbb343ab2ce3540f4ecbe6315d677ed70f37cd9a72b1e58066c918ca83acbaa", size = 151976, upload-time = "2026-05-10T18:16:51.062Z" }, + { url = "https://files.pythonhosted.org/packages/21/31/5072ad880946d83e5ea4147d6d018c78eefce85b77819b19bdd0ee229435/librt-0.11.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa0dd688aab3f7914d3e6e5e3554978e0383312fb8e771d84be008a35b9ee548", size = 557927, upload-time = "2026-05-10T18:16:52.632Z" }, + { url = "https://files.pythonhosted.org/packages/5e/8d/70b5fb7cfbab60edbe7381614ab985da58e144fbf465c86d44c95f43cdca/librt-0.11.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:f5fb36b8c6c63fdcbb1d526d94c0d1331610d43f4118cc1beb4efef4f3faacb2", size = 539698, upload-time = "2026-05-10T18:16:53.934Z" }, + { url = "https://files.pythonhosted.org/packages/fa/a3/ba3495a0b3edbd24a4cae0d1d3c64f39a9fc45d06e812101289b50c1a619/librt-0.11.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4a9a237d13addb93715b6fee74023d5ee3469b53fce527626c0e088aa585805f", size = 577162, upload-time = "2026-05-10T18:16:55.589Z" }, + { url = "https://files.pythonhosted.org/packages/f7/db/36e25fb81f99937ff1b96612a1dc9fd66f039cb9cc3aee12c01fac31aab9/librt-0.11.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5ddd17bd87b2c56ddd60e546a7984a2e64c4e8eab92fb4cf3830a48ad5469d51", size = 566494, upload-time = "2026-05-10T18:16:56.975Z" }, + { url = "https://files.pythonhosted.org/packages/33/0d/3f622b47f0b013eeb9cf4cc07ae9bfe378d832a4eec998b2b209fe84244d/librt-0.11.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bd43992b4473d42f12ff9e68326079f0696d9d4e6000e8f39a0238d482ba6ee2", size = 596858, upload-time = "2026-05-10T18:16:58.374Z" }, + { url = "https://files.pythonhosted.org/packages/a9/02/71b90bc93039c46a2000651f6ad60122b114c8f54c4ad306e0e96f5b75ad/librt-0.11.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:f8e3e8056dd674e279741485e2e512d6e9a751c7455809d0114e6ebf8d781085", size = 590318, upload-time = "2026-05-10T18:16:59.676Z" }, + { url = "https://files.pythonhosted.org/packages/04/04/418cb3f75621e2b761fb1ab0f017f4d70a1a72a6e7c74ee4f7e8d198c2f3/librt-0.11.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c1f708d8ae9c56cf38a903c44297243d2ec83fd82b396b977e0144a3e76217e3", size = 575115, upload-time = "2026-05-10T18:17:01.007Z" }, + { url = "https://files.pythonhosted.org/packages/cc/2c/5a2183ac58dd911f26b5d7e7d7d8f1d87fcecdddd99d6c12169a258ff62c/librt-0.11.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0add982e0e7b9fc14cf4b33789d5f13f66581889b88c2f58099f6ce8f92617bd", size = 617918, upload-time = "2026-05-10T18:17:02.682Z" }, + { url = "https://files.pythonhosted.org/packages/15/1f/dc6771a52592a4451be6effa200cbfc9cec61e4393d3033d81a9d307961d/librt-0.11.0-cp314-cp314t-win32.whl", hash = "sha256:2b481d846ac894c4e8403c5fd0e87c5d11d6499e404b474602508a224ff531c8", size = 103562, upload-time = "2026-05-10T18:17:03.99Z" }, + { url = "https://files.pythonhosted.org/packages/62/4a/7d1415567027286a75ba1093ec4aca11f073e0f559c530cf3e0a757ad55c/librt-0.11.0-cp314-cp314t-win_amd64.whl", hash = "sha256:28edb433edde181112a908c78907af28f964eabc15f4dd16c9d66c834302677c", size = 124327, upload-time = "2026-05-10T18:17:05.465Z" }, + { url = "https://files.pythonhosted.org/packages/ce/62/b40b382fa0c66fee1478073eb8db352a4a6beda4a1adccf1df911d8c289c/librt-0.11.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dee008f20b542e3cd162ba338a7f9ec0f6d23d395f66fe8aeeec3c9d067ea253", size = 102572, upload-time = "2026-05-10T18:17:06.809Z" }, +] + +[[package]] +name = "markdown-it-py" +version = "4.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mdurl" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070, upload-time = "2025-08-11T12:57:52.854Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321, upload-time = "2025-08-11T12:57:51.923Z" }, +] + +[[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 = "marshmallow" +version = "3.26.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "packaging" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/55/79/de6c16cc902f4fc372236926b0ce2ab7845268dcc30fb2fbb7f71b418631/marshmallow-3.26.2.tar.gz", hash = "sha256:bbe2adb5a03e6e3571b573f42527c6fe926e17467833660bebd11593ab8dfd57", size = 222095, upload-time = "2025-12-22T06:53:53.309Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/be/2f/5108cb3ee4ba6501748c4908b908e55f42a5b66245b4cfe0c99326e1ef6e/marshmallow-3.26.2-py3-none-any.whl", hash = "sha256:013fa8a3c4c276c24d26d84ce934dc964e2aa794345a0f8c7e5a7191482c8a73", size = 50964, upload-time = "2025-12-22T06:53:51.801Z" }, +] + +[[package]] +name = "mdurl" +version = "0.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" }, +] + +[[package]] +name = "mmh3" +version = "5.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a7/af/f28c2c2f51f31abb4725f9a64bc7863d5f491f6539bd26aee2a1d21a649e/mmh3-5.2.0.tar.gz", hash = "sha256:1efc8fec8478e9243a78bb993422cf79f8ff85cb4cf6b79647480a31e0d950a8", size = 33582, upload-time = "2025-07-29T07:43:48.49Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b9/2b/870f0ff5ecf312c58500f45950751f214b7068665e66e9bfd8bc2595587c/mmh3-5.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:81c504ad11c588c8629536b032940f2a359dda3b6cbfd4ad8f74cb24dcd1b0bc", size = 56119, upload-time = "2025-07-29T07:41:39.117Z" }, + { url = "https://files.pythonhosted.org/packages/3b/88/eb9a55b3f3cf43a74d6bfa8db0e2e209f966007777a1dc897c52c008314c/mmh3-5.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0b898cecff57442724a0f52bf42c2de42de63083a91008fb452887e372f9c328", size = 40634, upload-time = "2025-07-29T07:41:40.626Z" }, + { url = "https://files.pythonhosted.org/packages/d1/4c/8e4b3878bf8435c697d7ce99940a3784eb864521768069feaccaff884a17/mmh3-5.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:be1374df449465c9f2500e62eee73a39db62152a8bdfbe12ec5b5c1cd451344d", size = 40080, upload-time = "2025-07-29T07:41:41.791Z" }, + { url = "https://files.pythonhosted.org/packages/45/ac/0a254402c8c5ca424a0a9ebfe870f5665922f932830f0a11a517b6390a09/mmh3-5.2.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b0d753ad566c721faa33db7e2e0eddd74b224cdd3eaf8481d76c926603c7a00e", size = 95321, upload-time = "2025-07-29T07:41:42.659Z" }, + { url = "https://files.pythonhosted.org/packages/39/8e/29306d5eca6dfda4b899d22c95b5420db4e0ffb7e0b6389b17379654ece5/mmh3-5.2.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:dfbead5575f6470c17e955b94f92d62a03dfc3d07f2e6f817d9b93dc211a1515", size = 101220, upload-time = "2025-07-29T07:41:43.572Z" }, + { url = "https://files.pythonhosted.org/packages/49/f7/0dd1368e531e52a17b5b8dd2f379cce813bff2d0978a7748a506f1231152/mmh3-5.2.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7434a27754049144539d2099a6d2da5d88b8bdeedf935180bf42ad59b3607aa3", size = 103991, upload-time = "2025-07-29T07:41:44.914Z" }, + { url = "https://files.pythonhosted.org/packages/35/06/abc7122c40f4abbfcef01d2dac6ec0b77ede9757e5be8b8a40a6265b1274/mmh3-5.2.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cadc16e8ea64b5d9a47363013e2bea469e121e6e7cb416a7593aeb24f2ad122e", size = 110894, upload-time = "2025-07-29T07:41:45.849Z" }, + { url = "https://files.pythonhosted.org/packages/f4/2f/837885759afa4baccb8e40456e1cf76a4f3eac835b878c727ae1286c5f82/mmh3-5.2.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d765058da196f68dc721116cab335e696e87e76720e6ef8ee5a24801af65e63d", size = 118327, upload-time = "2025-07-29T07:41:47.224Z" }, + { url = "https://files.pythonhosted.org/packages/40/cc/5683ba20a21bcfb3f1605b1c474f46d30354f728a7412201f59f453d405a/mmh3-5.2.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:8b0c53fe0994beade1ad7c0f13bd6fec980a0664bfbe5a6a7d64500b9ab76772", size = 101701, upload-time = "2025-07-29T07:41:48.259Z" }, + { url = "https://files.pythonhosted.org/packages/0e/24/99ab3fb940150aec8a26dbdfc39b200b5592f6aeb293ec268df93e054c30/mmh3-5.2.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:49037d417419863b222ae47ee562b2de9c3416add0a45c8d7f4e864be8dc4f89", size = 96712, upload-time = "2025-07-29T07:41:49.467Z" }, + { url = "https://files.pythonhosted.org/packages/61/04/d7c4cb18f1f001ede2e8aed0f9dbbfad03d161c9eea4fffb03f14f4523e5/mmh3-5.2.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:6ecb4e750d712abde046858ee6992b65c93f1f71b397fce7975c3860c07365d2", size = 110302, upload-time = "2025-07-29T07:41:50.387Z" }, + { url = "https://files.pythonhosted.org/packages/d8/bf/4dac37580cfda74425a4547500c36fa13ef581c8a756727c37af45e11e9a/mmh3-5.2.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:382a6bb3f8c6532ea084e7acc5be6ae0c6effa529240836d59352398f002e3fc", size = 111929, upload-time = "2025-07-29T07:41:51.348Z" }, + { url = "https://files.pythonhosted.org/packages/eb/b1/49f0a582c7a942fb71ddd1ec52b7d21d2544b37d2b2d994551346a15b4f6/mmh3-5.2.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:7733ec52296fc1ba22e9b90a245c821adbb943e98c91d8a330a2254612726106", size = 100111, upload-time = "2025-07-29T07:41:53.139Z" }, + { url = "https://files.pythonhosted.org/packages/dc/94/ccec09f438caeb2506f4c63bb3b99aa08a9e09880f8fc047295154756210/mmh3-5.2.0-cp310-cp310-win32.whl", hash = "sha256:127c95336f2a98c51e7682341ab7cb0be3adb9df0819ab8505a726ed1801876d", size = 40783, upload-time = "2025-07-29T07:41:54.463Z" }, + { url = "https://files.pythonhosted.org/packages/ea/f4/8d39a32c8203c1cdae88fdb04d1ea4aa178c20f159df97f4c5a2eaec702c/mmh3-5.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:419005f84ba1cab47a77465a2a843562dadadd6671b8758bf179d82a15ca63eb", size = 41549, upload-time = "2025-07-29T07:41:55.295Z" }, + { url = "https://files.pythonhosted.org/packages/cc/a1/30efb1cd945e193f62574144dd92a0c9ee6463435e4e8ffce9b9e9f032f0/mmh3-5.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:d22c9dcafed659fadc605538946c041722b6d1104fe619dbf5cc73b3c8a0ded8", size = 39335, upload-time = "2025-07-29T07:41:56.194Z" }, + { url = "https://files.pythonhosted.org/packages/f7/87/399567b3796e134352e11a8b973cd470c06b2ecfad5468fe580833be442b/mmh3-5.2.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7901c893e704ee3c65f92d39b951f8f34ccf8e8566768c58103fb10e55afb8c1", size = 56107, upload-time = "2025-07-29T07:41:57.07Z" }, + { url = "https://files.pythonhosted.org/packages/c3/09/830af30adf8678955b247d97d3d9543dd2fd95684f3cd41c0cd9d291da9f/mmh3-5.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4a5f5536b1cbfa72318ab3bfc8a8188b949260baed186b75f0abc75b95d8c051", size = 40635, upload-time = "2025-07-29T07:41:57.903Z" }, + { url = "https://files.pythonhosted.org/packages/07/14/eaba79eef55b40d653321765ac5e8f6c9ac38780b8a7c2a2f8df8ee0fb72/mmh3-5.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:cedac4f4054b8f7859e5aed41aaa31ad03fce6851901a7fdc2af0275ac533c10", size = 40078, upload-time = "2025-07-29T07:41:58.772Z" }, + { url = "https://files.pythonhosted.org/packages/bb/26/83a0f852e763f81b2265d446b13ed6d49ee49e1fc0c47b9655977e6f3d81/mmh3-5.2.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:eb756caf8975882630ce4e9fbbeb9d3401242a72528230422c9ab3a0d278e60c", size = 97262, upload-time = "2025-07-29T07:41:59.678Z" }, + { url = "https://files.pythonhosted.org/packages/00/7d/b7133b10d12239aeaebf6878d7eaf0bf7d3738c44b4aba3c564588f6d802/mmh3-5.2.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:097e13c8b8a66c5753c6968b7640faefe85d8e38992703c1f666eda6ef4c3762", size = 103118, upload-time = "2025-07-29T07:42:01.197Z" }, + { url = "https://files.pythonhosted.org/packages/7b/3e/62f0b5dce2e22fd5b7d092aba285abd7959ea2b17148641e029f2eab1ffa/mmh3-5.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a7c0c7845566b9686480e6a7e9044db4afb60038d5fabd19227443f0104eeee4", size = 106072, upload-time = "2025-07-29T07:42:02.601Z" }, + { url = "https://files.pythonhosted.org/packages/66/84/ea88bb816edfe65052c757a1c3408d65c4201ddbd769d4a287b0f1a628b2/mmh3-5.2.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:61ac226af521a572700f863d6ecddc6ece97220ce7174e311948ff8c8919a363", size = 112925, upload-time = "2025-07-29T07:42:03.632Z" }, + { url = "https://files.pythonhosted.org/packages/2e/13/c9b1c022807db575fe4db806f442d5b5784547e2e82cff36133e58ea31c7/mmh3-5.2.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:582f9dbeefe15c32a5fa528b79b088b599a1dfe290a4436351c6090f90ddebb8", size = 120583, upload-time = "2025-07-29T07:42:04.991Z" }, + { url = "https://files.pythonhosted.org/packages/8a/5f/0e2dfe1a38f6a78788b7eb2b23432cee24623aeabbc907fed07fc17d6935/mmh3-5.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:2ebfc46b39168ab1cd44670a32ea5489bcbc74a25795c61b6d888c5c2cf654ed", size = 99127, upload-time = "2025-07-29T07:42:05.929Z" }, + { url = "https://files.pythonhosted.org/packages/77/27/aefb7d663b67e6a0c4d61a513c83e39ba2237e8e4557fa7122a742a23de5/mmh3-5.2.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1556e31e4bd0ac0c17eaf220be17a09c171d7396919c3794274cb3415a9d3646", size = 98544, upload-time = "2025-07-29T07:42:06.87Z" }, + { url = "https://files.pythonhosted.org/packages/ab/97/a21cc9b1a7c6e92205a1b5fa030cdf62277d177570c06a239eca7bd6dd32/mmh3-5.2.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:81df0dae22cd0da87f1c978602750f33d17fb3d21fb0f326c89dc89834fea79b", size = 106262, upload-time = "2025-07-29T07:42:07.804Z" }, + { url = "https://files.pythonhosted.org/packages/43/18/db19ae82ea63c8922a880e1498a75342311f8aa0c581c4dd07711473b5f7/mmh3-5.2.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:eba01ec3bd4a49b9ac5ca2bc6a73ff5f3af53374b8556fcc2966dd2af9eb7779", size = 109824, upload-time = "2025-07-29T07:42:08.735Z" }, + { url = "https://files.pythonhosted.org/packages/9f/f5/41dcf0d1969125fc6f61d8618b107c79130b5af50b18a4651210ea52ab40/mmh3-5.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e9a011469b47b752e7d20de296bb34591cdfcbe76c99c2e863ceaa2aa61113d2", size = 97255, upload-time = "2025-07-29T07:42:09.706Z" }, + { url = "https://files.pythonhosted.org/packages/32/b3/cce9eaa0efac1f0e735bb178ef9d1d2887b4927fe0ec16609d5acd492dda/mmh3-5.2.0-cp311-cp311-win32.whl", hash = "sha256:bc44fc2b886243d7c0d8daeb37864e16f232e5b56aaec27cc781d848264cfd28", size = 40779, upload-time = "2025-07-29T07:42:10.546Z" }, + { url = "https://files.pythonhosted.org/packages/7c/e9/3fa0290122e6d5a7041b50ae500b8a9f4932478a51e48f209a3879fe0b9b/mmh3-5.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:8ebf241072cf2777a492d0e09252f8cc2b3edd07dfdb9404b9757bffeb4f2cee", size = 41549, upload-time = "2025-07-29T07:42:11.399Z" }, + { url = "https://files.pythonhosted.org/packages/3a/54/c277475b4102588e6f06b2e9095ee758dfe31a149312cdbf62d39a9f5c30/mmh3-5.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:b5f317a727bba0e633a12e71228bc6a4acb4f471a98b1c003163b917311ea9a9", size = 39336, upload-time = "2025-07-29T07:42:12.209Z" }, + { url = "https://files.pythonhosted.org/packages/bf/6a/d5aa7edb5c08e0bd24286c7d08341a0446f9a2fbbb97d96a8a6dd81935ee/mmh3-5.2.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:384eda9361a7bf83a85e09447e1feafe081034af9dd428893701b959230d84be", size = 56141, upload-time = "2025-07-29T07:42:13.456Z" }, + { url = "https://files.pythonhosted.org/packages/08/49/131d0fae6447bc4a7299ebdb1a6fb9d08c9f8dcf97d75ea93e8152ddf7ab/mmh3-5.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2c9da0d568569cc87315cb063486d761e38458b8ad513fedd3dc9263e1b81bcd", size = 40681, upload-time = "2025-07-29T07:42:14.306Z" }, + { url = "https://files.pythonhosted.org/packages/8f/6f/9221445a6bcc962b7f5ff3ba18ad55bba624bacdc7aa3fc0a518db7da8ec/mmh3-5.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:86d1be5d63232e6eb93c50881aea55ff06eb86d8e08f9b5417c8c9b10db9db96", size = 40062, upload-time = "2025-07-29T07:42:15.08Z" }, + { url = "https://files.pythonhosted.org/packages/1e/d4/6bb2d0fef81401e0bb4c297d1eb568b767de4ce6fc00890bc14d7b51ecc4/mmh3-5.2.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:bf7bee43e17e81671c447e9c83499f53d99bf440bc6d9dc26a841e21acfbe094", size = 97333, upload-time = "2025-07-29T07:42:16.436Z" }, + { url = "https://files.pythonhosted.org/packages/44/e0/ccf0daff8134efbb4fbc10a945ab53302e358c4b016ada9bf97a6bdd50c1/mmh3-5.2.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7aa18cdb58983ee660c9c400b46272e14fa253c675ed963d3812487f8ca42037", size = 103310, upload-time = "2025-07-29T07:42:17.796Z" }, + { url = "https://files.pythonhosted.org/packages/02/63/1965cb08a46533faca0e420e06aff8bbaf9690a6f0ac6ae6e5b2e4544687/mmh3-5.2.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ae9d032488fcec32d22be6542d1a836f00247f40f320844dbb361393b5b22773", size = 106178, upload-time = "2025-07-29T07:42:19.281Z" }, + { url = "https://files.pythonhosted.org/packages/c2/41/c883ad8e2c234013f27f92061200afc11554ea55edd1bcf5e1accd803a85/mmh3-5.2.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e1861fb6b1d0453ed7293200139c0a9011eeb1376632e048e3766945b13313c5", size = 113035, upload-time = "2025-07-29T07:42:20.356Z" }, + { url = "https://files.pythonhosted.org/packages/df/b5/1ccade8b1fa625d634a18bab7bf08a87457e09d5ec8cf83ca07cbea9d400/mmh3-5.2.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:99bb6a4d809aa4e528ddfe2c85dd5239b78b9dd14be62cca0329db78505e7b50", size = 120784, upload-time = "2025-07-29T07:42:21.377Z" }, + { url = "https://files.pythonhosted.org/packages/77/1c/919d9171fcbdcdab242e06394464ccf546f7d0f3b31e0d1e3a630398782e/mmh3-5.2.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1f8d8b627799f4e2fcc7c034fed8f5f24dc7724ff52f69838a3d6d15f1ad4765", size = 99137, upload-time = "2025-07-29T07:42:22.344Z" }, + { url = "https://files.pythonhosted.org/packages/66/8a/1eebef5bd6633d36281d9fc83cf2e9ba1ba0e1a77dff92aacab83001cee4/mmh3-5.2.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b5995088dd7023d2d9f310a0c67de5a2b2e06a570ecfd00f9ff4ab94a67cde43", size = 98664, upload-time = "2025-07-29T07:42:23.269Z" }, + { url = "https://files.pythonhosted.org/packages/13/41/a5d981563e2ee682b21fb65e29cc0f517a6734a02b581359edd67f9d0360/mmh3-5.2.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1a5f4d2e59d6bba8ef01b013c472741835ad961e7c28f50c82b27c57748744a4", size = 106459, upload-time = "2025-07-29T07:42:24.238Z" }, + { url = "https://files.pythonhosted.org/packages/24/31/342494cd6ab792d81e083680875a2c50fa0c5df475ebf0b67784f13e4647/mmh3-5.2.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:fd6e6c3d90660d085f7e73710eab6f5545d4854b81b0135a3526e797009dbda3", size = 110038, upload-time = "2025-07-29T07:42:25.629Z" }, + { url = "https://files.pythonhosted.org/packages/28/44/efda282170a46bb4f19c3e2b90536513b1d821c414c28469a227ca5a1789/mmh3-5.2.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c4a2f3d83879e3de2eb8cbf562e71563a8ed15ee9b9c2e77ca5d9f73072ac15c", size = 97545, upload-time = "2025-07-29T07:42:27.04Z" }, + { url = "https://files.pythonhosted.org/packages/68/8f/534ae319c6e05d714f437e7206f78c17e66daca88164dff70286b0e8ea0c/mmh3-5.2.0-cp312-cp312-win32.whl", hash = "sha256:2421b9d665a0b1ad724ec7332fb5a98d075f50bc51a6ff854f3a1882bd650d49", size = 40805, upload-time = "2025-07-29T07:42:28.032Z" }, + { url = "https://files.pythonhosted.org/packages/b8/f6/f6abdcfefcedab3c964868048cfe472764ed358c2bf6819a70dd4ed4ed3a/mmh3-5.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:72d80005b7634a3a2220f81fbeb94775ebd12794623bb2e1451701ea732b4aa3", size = 41597, upload-time = "2025-07-29T07:42:28.894Z" }, + { url = "https://files.pythonhosted.org/packages/15/fd/f7420e8cbce45c259c770cac5718badf907b302d3a99ec587ba5ce030237/mmh3-5.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:3d6bfd9662a20c054bc216f861fa330c2dac7c81e7fb8307b5e32ab5b9b4d2e0", size = 39350, upload-time = "2025-07-29T07:42:29.794Z" }, + { url = "https://files.pythonhosted.org/packages/d8/fa/27f6ab93995ef6ad9f940e96593c5dd24744d61a7389532b0fec03745607/mmh3-5.2.0-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:e79c00eba78f7258e5b354eccd4d7907d60317ced924ea4a5f2e9d83f5453065", size = 40874, upload-time = "2025-07-29T07:42:30.662Z" }, + { url = "https://files.pythonhosted.org/packages/11/9c/03d13bcb6a03438bc8cac3d2e50f80908d159b31a4367c2e1a7a077ded32/mmh3-5.2.0-cp313-cp313-android_21_x86_64.whl", hash = "sha256:956127e663d05edbeec54df38885d943dfa27406594c411139690485128525de", size = 42012, upload-time = "2025-07-29T07:42:31.539Z" }, + { url = "https://files.pythonhosted.org/packages/4e/78/0865d9765408a7d504f1789944e678f74e0888b96a766d578cb80b040999/mmh3-5.2.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:c3dca4cb5b946ee91b3d6bb700d137b1cd85c20827f89fdf9c16258253489044", size = 39197, upload-time = "2025-07-29T07:42:32.374Z" }, + { url = "https://files.pythonhosted.org/packages/3e/12/76c3207bd186f98b908b6706c2317abb73756d23a4e68ea2bc94825b9015/mmh3-5.2.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:e651e17bfde5840e9e4174b01e9e080ce49277b70d424308b36a7969d0d1af73", size = 39840, upload-time = "2025-07-29T07:42:33.227Z" }, + { url = "https://files.pythonhosted.org/packages/5d/0d/574b6cce5555c9f2b31ea189ad44986755eb14e8862db28c8b834b8b64dc/mmh3-5.2.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:9f64bf06f4bf623325fda3a6d02d36cd69199b9ace99b04bb2d7fd9f89688504", size = 40644, upload-time = "2025-07-29T07:42:34.099Z" }, + { url = "https://files.pythonhosted.org/packages/52/82/3731f8640b79c46707f53ed72034a58baad400be908c87b0088f1f89f986/mmh3-5.2.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ddc63328889bcaee77b743309e5c7d2d52cee0d7d577837c91b6e7cc9e755e0b", size = 56153, upload-time = "2025-07-29T07:42:35.031Z" }, + { url = "https://files.pythonhosted.org/packages/4f/34/e02dca1d4727fd9fdeaff9e2ad6983e1552804ce1d92cc796e5b052159bb/mmh3-5.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:bb0fdc451fb6d86d81ab8f23d881b8d6e37fc373a2deae1c02d27002d2ad7a05", size = 40684, upload-time = "2025-07-29T07:42:35.914Z" }, + { url = "https://files.pythonhosted.org/packages/8f/36/3dee40767356e104967e6ed6d102ba47b0b1ce2a89432239b95a94de1b89/mmh3-5.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:b29044e1ffdb84fe164d0a7ea05c7316afea93c00f8ed9449cf357c36fc4f814", size = 40057, upload-time = "2025-07-29T07:42:36.755Z" }, + { url = "https://files.pythonhosted.org/packages/31/58/228c402fccf76eb39a0a01b8fc470fecf21965584e66453b477050ee0e99/mmh3-5.2.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:58981d6ea9646dbbf9e59a30890cbf9f610df0e4a57dbfe09215116fd90b0093", size = 97344, upload-time = "2025-07-29T07:42:37.675Z" }, + { url = "https://files.pythonhosted.org/packages/34/82/fc5ce89006389a6426ef28e326fc065b0fbaaed230373b62d14c889f47ea/mmh3-5.2.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7e5634565367b6d98dc4aa2983703526ef556b3688ba3065edb4b9b90ede1c54", size = 103325, upload-time = "2025-07-29T07:42:38.591Z" }, + { url = "https://files.pythonhosted.org/packages/09/8c/261e85777c6aee1ebd53f2f17e210e7481d5b0846cd0b4a5c45f1e3761b8/mmh3-5.2.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b0271ac12415afd3171ab9a3c7cbfc71dee2c68760a7dc9d05bf8ed6ddfa3a7a", size = 106240, upload-time = "2025-07-29T07:42:39.563Z" }, + { url = "https://files.pythonhosted.org/packages/70/73/2f76b3ad8a3d431824e9934403df36c0ddacc7831acf82114bce3c4309c8/mmh3-5.2.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:45b590e31bc552c6f8e2150ff1ad0c28dd151e9f87589e7eaf508fbdd8e8e908", size = 113060, upload-time = "2025-07-29T07:42:40.585Z" }, + { url = "https://files.pythonhosted.org/packages/9f/b9/7ea61a34e90e50a79a9d87aa1c0b8139a7eaf4125782b34b7d7383472633/mmh3-5.2.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:bdde97310d59604f2a9119322f61b31546748499a21b44f6715e8ced9308a6c5", size = 120781, upload-time = "2025-07-29T07:42:41.618Z" }, + { url = "https://files.pythonhosted.org/packages/0f/5b/ae1a717db98c7894a37aeedbd94b3f99e6472a836488f36b6849d003485b/mmh3-5.2.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:fc9c5f280438cf1c1a8f9abb87dc8ce9630a964120cfb5dd50d1e7ce79690c7a", size = 99174, upload-time = "2025-07-29T07:42:42.587Z" }, + { url = "https://files.pythonhosted.org/packages/e3/de/000cce1d799fceebb6d4487ae29175dd8e81b48e314cba7b4da90bcf55d7/mmh3-5.2.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:c903e71fd8debb35ad2a4184c1316b3cb22f64ce517b4e6747f25b0a34e41266", size = 98734, upload-time = "2025-07-29T07:42:43.996Z" }, + { url = "https://files.pythonhosted.org/packages/79/19/0dc364391a792b72fbb22becfdeacc5add85cc043cd16986e82152141883/mmh3-5.2.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:eed4bba7ff8a0d37106ba931ab03bdd3915fbb025bcf4e1f0aa02bc8114960c5", size = 106493, upload-time = "2025-07-29T07:42:45.07Z" }, + { url = "https://files.pythonhosted.org/packages/3c/b1/bc8c28e4d6e807bbb051fefe78e1156d7f104b89948742ad310612ce240d/mmh3-5.2.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:1fdb36b940e9261aff0b5177c5b74a36936b902f473180f6c15bde26143681a9", size = 110089, upload-time = "2025-07-29T07:42:46.122Z" }, + { url = "https://files.pythonhosted.org/packages/3b/a2/d20f3f5c95e9c511806686c70d0a15479cc3941c5f322061697af1c1ff70/mmh3-5.2.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7303aab41e97adcf010a09efd8f1403e719e59b7705d5e3cfed3dd7571589290", size = 97571, upload-time = "2025-07-29T07:42:47.18Z" }, + { url = "https://files.pythonhosted.org/packages/7b/23/665296fce4f33488deec39a750ffd245cfc07aafb0e3ef37835f91775d14/mmh3-5.2.0-cp313-cp313-win32.whl", hash = "sha256:03e08c6ebaf666ec1e3d6ea657a2d363bb01effd1a9acfe41f9197decaef0051", size = 40806, upload-time = "2025-07-29T07:42:48.166Z" }, + { url = "https://files.pythonhosted.org/packages/59/b0/92e7103f3b20646e255b699e2d0327ce53a3f250e44367a99dc8be0b7c7a/mmh3-5.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:7fddccd4113e7b736706e17a239a696332360cbaddf25ae75b57ba1acce65081", size = 41600, upload-time = "2025-07-29T07:42:49.371Z" }, + { url = "https://files.pythonhosted.org/packages/99/22/0b2bd679a84574647de538c5b07ccaa435dbccc37815067fe15b90fe8dad/mmh3-5.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:fa0c966ee727aad5406d516375593c5f058c766b21236ab8985693934bb5085b", size = 39349, upload-time = "2025-07-29T07:42:50.268Z" }, + { url = "https://files.pythonhosted.org/packages/f7/ca/a20db059a8a47048aaf550da14a145b56e9c7386fb8280d3ce2962dcebf7/mmh3-5.2.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:e5015f0bb6eb50008bed2d4b1ce0f2a294698a926111e4bb202c0987b4f89078", size = 39209, upload-time = "2025-07-29T07:42:51.559Z" }, + { url = "https://files.pythonhosted.org/packages/98/dd/e5094799d55c7482d814b979a0fd608027d0af1b274bfb4c3ea3e950bfd5/mmh3-5.2.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:e0f3ed828d709f5b82d8bfe14f8856120718ec4bd44a5b26102c3030a1e12501", size = 39843, upload-time = "2025-07-29T07:42:52.536Z" }, + { url = "https://files.pythonhosted.org/packages/f4/6b/7844d7f832c85400e7cc89a1348e4e1fdd38c5a38415bb5726bbb8fcdb6c/mmh3-5.2.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:f35727c5118aba95f0397e18a1a5b8405425581bfe53e821f0fb444cbdc2bc9b", size = 40648, upload-time = "2025-07-29T07:42:53.392Z" }, + { url = "https://files.pythonhosted.org/packages/1f/bf/71f791f48a21ff3190ba5225807cbe4f7223360e96862c376e6e3fb7efa7/mmh3-5.2.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3bc244802ccab5220008cb712ca1508cb6a12f0eb64ad62997156410579a1770", size = 56164, upload-time = "2025-07-29T07:42:54.267Z" }, + { url = "https://files.pythonhosted.org/packages/70/1f/f87e3d34d83032b4f3f0f528c6d95a98290fcacf019da61343a49dccfd51/mmh3-5.2.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ff3d50dc3fe8a98059f99b445dfb62792b5d006c5e0b8f03c6de2813b8376110", size = 40692, upload-time = "2025-07-29T07:42:55.234Z" }, + { url = "https://files.pythonhosted.org/packages/a6/e2/db849eaed07117086f3452feca8c839d30d38b830ac59fe1ce65af8be5ad/mmh3-5.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:37a358cc881fe796e099c1db6ce07ff757f088827b4e8467ac52b7a7ffdca647", size = 40068, upload-time = "2025-07-29T07:42:56.158Z" }, + { url = "https://files.pythonhosted.org/packages/df/6b/209af927207af77425b044e32f77f49105a0b05d82ff88af6971d8da4e19/mmh3-5.2.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:b9a87025121d1c448f24f27ff53a5fe7b6ef980574b4a4f11acaabe702420d63", size = 97367, upload-time = "2025-07-29T07:42:57.037Z" }, + { url = "https://files.pythonhosted.org/packages/ca/e0/78adf4104c425606a9ce33fb351f790c76a6c2314969c4a517d1ffc92196/mmh3-5.2.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:1ba55d6ca32eeef8b2625e1e4bfc3b3db52bc63014bd7e5df8cc11bf2b036b12", size = 103306, upload-time = "2025-07-29T07:42:58.522Z" }, + { url = "https://files.pythonhosted.org/packages/a3/79/c2b89f91b962658b890104745b1b6c9ce38d50a889f000b469b91eeb1b9e/mmh3-5.2.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c9ff37ba9f15637e424c2ab57a1a590c52897c845b768e4e0a4958084ec87f22", size = 106312, upload-time = "2025-07-29T07:42:59.552Z" }, + { url = "https://files.pythonhosted.org/packages/4b/14/659d4095528b1a209be90934778c5ffe312177d51e365ddcbca2cac2ec7c/mmh3-5.2.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a094319ec0db52a04af9fdc391b4d39a1bc72bc8424b47c4411afb05413a44b5", size = 113135, upload-time = "2025-07-29T07:43:00.745Z" }, + { url = "https://files.pythonhosted.org/packages/8d/6f/cd7734a779389a8a467b5c89a48ff476d6f2576e78216a37551a97e9e42a/mmh3-5.2.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c5584061fd3da584659b13587f26c6cad25a096246a481636d64375d0c1f6c07", size = 120775, upload-time = "2025-07-29T07:43:02.124Z" }, + { url = "https://files.pythonhosted.org/packages/1d/ca/8256e3b96944408940de3f9291d7e38a283b5761fe9614d4808fcf27bd62/mmh3-5.2.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ecbfc0437ddfdced5e7822d1ce4855c9c64f46819d0fdc4482c53f56c707b935", size = 99178, upload-time = "2025-07-29T07:43:03.182Z" }, + { url = "https://files.pythonhosted.org/packages/8a/32/39e2b3cf06b6e2eb042c984dab8680841ac2a0d3ca6e0bea30db1f27b565/mmh3-5.2.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:7b986d506a8e8ea345791897ba5d8ba0d9d8820cd4fc3e52dbe6de19388de2e7", size = 98738, upload-time = "2025-07-29T07:43:04.207Z" }, + { url = "https://files.pythonhosted.org/packages/61/d3/7bbc8e0e8cf65ebbe1b893ffa0467b7ecd1bd07c3bbf6c9db4308ada22ec/mmh3-5.2.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:38d899a156549da8ef6a9f1d6f7ef231228d29f8f69bce2ee12f5fba6d6fd7c5", size = 106510, upload-time = "2025-07-29T07:43:05.656Z" }, + { url = "https://files.pythonhosted.org/packages/10/99/b97e53724b52374e2f3859046f0eb2425192da356cb19784d64bc17bb1cf/mmh3-5.2.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d86651fa45799530885ba4dab3d21144486ed15285e8784181a0ab37a4552384", size = 110053, upload-time = "2025-07-29T07:43:07.204Z" }, + { url = "https://files.pythonhosted.org/packages/ac/62/3688c7d975ed195155671df68788c83fed6f7909b6ec4951724c6860cb97/mmh3-5.2.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c463d7c1c4cfc9d751efeaadd936bbba07b5b0ed81a012b3a9f5a12f0872bd6e", size = 97546, upload-time = "2025-07-29T07:43:08.226Z" }, + { url = "https://files.pythonhosted.org/packages/ca/3b/c6153250f03f71a8b7634cded82939546cdfba02e32f124ff51d52c6f991/mmh3-5.2.0-cp314-cp314-win32.whl", hash = "sha256:bb4fe46bdc6104fbc28db7a6bacb115ee6368ff993366bbd8a2a7f0076e6f0c0", size = 41422, upload-time = "2025-07-29T07:43:09.216Z" }, + { url = "https://files.pythonhosted.org/packages/74/01/a27d98bab083a435c4c07e9d1d720d4c8a578bf4c270bae373760b1022be/mmh3-5.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:7c7f0b342fd06044bedd0b6e72177ddc0076f54fd89ee239447f8b271d919d9b", size = 42135, upload-time = "2025-07-29T07:43:10.183Z" }, + { url = "https://files.pythonhosted.org/packages/cb/c9/dbba5507e95429b8b380e2ba091eff5c20a70a59560934dff0ad8392b8c8/mmh3-5.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:3193752fc05ea72366c2b63ff24b9a190f422e32d75fdeae71087c08fff26115", size = 39879, upload-time = "2025-07-29T07:43:11.106Z" }, + { url = "https://files.pythonhosted.org/packages/b5/d1/c8c0ef839c17258b9de41b84f663574fabcf8ac2007b7416575e0f65ff6e/mmh3-5.2.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:69fc339d7202bea69ef9bd7c39bfdf9fdabc8e6822a01eba62fb43233c1b3932", size = 57696, upload-time = "2025-07-29T07:43:11.989Z" }, + { url = "https://files.pythonhosted.org/packages/2f/55/95e2b9ff201e89f9fe37036037ab61a6c941942b25cdb7b6a9df9b931993/mmh3-5.2.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:12da42c0a55c9d86ab566395324213c319c73ecb0c239fad4726324212b9441c", size = 41421, upload-time = "2025-07-29T07:43:13.269Z" }, + { url = "https://files.pythonhosted.org/packages/77/79/9be23ad0b7001a4b22752e7693be232428ecc0a35068a4ff5c2f14ef8b20/mmh3-5.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f7f9034c7cf05ddfaac8d7a2e63a3c97a840d4615d0a0e65ba8bdf6f8576e3be", size = 40853, upload-time = "2025-07-29T07:43:14.888Z" }, + { url = "https://files.pythonhosted.org/packages/ac/1b/96b32058eda1c1dee8264900c37c359a7325c1f11f5ff14fd2be8e24eff9/mmh3-5.2.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:11730eeb16dfcf9674fdea9bb6b8e6dd9b40813b7eb839bc35113649eef38aeb", size = 109694, upload-time = "2025-07-29T07:43:15.816Z" }, + { url = "https://files.pythonhosted.org/packages/8d/6f/a2ae44cd7dad697b6dea48390cbc977b1e5ca58fda09628cbcb2275af064/mmh3-5.2.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:932a6eec1d2e2c3c9e630d10f7128d80e70e2d47fe6b8c7ea5e1afbd98733e65", size = 117438, upload-time = "2025-07-29T07:43:16.865Z" }, + { url = "https://files.pythonhosted.org/packages/a0/08/bfb75451c83f05224a28afeaf3950c7b793c0b71440d571f8e819cfb149a/mmh3-5.2.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3ca975c51c5028947bbcfc24966517aac06a01d6c921e30f7c5383c195f87991", size = 120409, upload-time = "2025-07-29T07:43:18.207Z" }, + { url = "https://files.pythonhosted.org/packages/9f/ea/8b118b69b2ff8df568f742387d1a159bc654a0f78741b31437dd047ea28e/mmh3-5.2.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5b0b58215befe0f0e120b828f7645e97719bbba9f23b69e268ed0ac7adde8645", size = 125909, upload-time = "2025-07-29T07:43:19.39Z" }, + { url = "https://files.pythonhosted.org/packages/3e/11/168cc0b6a30650032e351a3b89b8a47382da541993a03af91e1ba2501234/mmh3-5.2.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29c2b9ce61886809d0492a274a5a53047742dea0f703f9c4d5d223c3ea6377d3", size = 135331, upload-time = "2025-07-29T07:43:20.435Z" }, + { url = "https://files.pythonhosted.org/packages/31/05/e3a9849b1c18a7934c64e831492c99e67daebe84a8c2f2c39a7096a830e3/mmh3-5.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:a367d4741ac0103f8198c82f429bccb9359f543ca542b06a51f4f0332e8de279", size = 110085, upload-time = "2025-07-29T07:43:21.92Z" }, + { url = "https://files.pythonhosted.org/packages/d9/d5/a96bcc306e3404601418b2a9a370baec92af84204528ba659fdfe34c242f/mmh3-5.2.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:5a5dba98e514fb26241868f6eb90a7f7ca0e039aed779342965ce24ea32ba513", size = 111195, upload-time = "2025-07-29T07:43:23.066Z" }, + { url = "https://files.pythonhosted.org/packages/af/29/0fd49801fec5bff37198684e0849b58e0dab3a2a68382a357cfffb0fafc3/mmh3-5.2.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:941603bfd75a46023807511c1ac2f1b0f39cccc393c15039969806063b27e6db", size = 116919, upload-time = "2025-07-29T07:43:24.178Z" }, + { url = "https://files.pythonhosted.org/packages/2d/04/4f3c32b0a2ed762edca45d8b46568fc3668e34f00fb1e0a3b5451ec1281c/mmh3-5.2.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:132dd943451a7c7546978863d2f5a64977928410782e1a87d583cb60eb89e667", size = 123160, upload-time = "2025-07-29T07:43:25.26Z" }, + { url = "https://files.pythonhosted.org/packages/91/76/3d29eaa38821730633d6a240d36fa8ad2807e9dfd432c12e1a472ed211eb/mmh3-5.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f698733a8a494466432d611a8f0d1e026f5286dee051beea4b3c3146817e35d5", size = 110206, upload-time = "2025-07-29T07:43:26.699Z" }, + { url = "https://files.pythonhosted.org/packages/44/1c/ccf35892684d3a408202e296e56843743e0b4fb1629e59432ea88cdb3909/mmh3-5.2.0-cp314-cp314t-win32.whl", hash = "sha256:6d541038b3fc360ec538fc116de87462627944765a6750308118f8b509a8eec7", size = 41970, upload-time = "2025-07-29T07:43:27.666Z" }, + { url = "https://files.pythonhosted.org/packages/75/b2/b9e4f1e5adb5e21eb104588fcee2cd1eaa8308255173481427d5ecc4284e/mmh3-5.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:e912b19cf2378f2967d0c08e86ff4c6c360129887f678e27e4dde970d21b3f4d", size = 43063, upload-time = "2025-07-29T07:43:28.582Z" }, + { url = "https://files.pythonhosted.org/packages/6a/fc/0e61d9a4e29c8679356795a40e48f647b4aad58d71bfc969f0f8f56fb912/mmh3-5.2.0-cp314-cp314t-win_arm64.whl", hash = "sha256:e7884931fe5e788163e7b3c511614130c2c59feffdc21112290a194487efb2e9", size = 40455, upload-time = "2025-07-29T07:43:29.563Z" }, +] + +[[package]] +name = "msal" +version = "1.34.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, + { name = "pyjwt", extra = ["crypto"] }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/cf/0e/c857c46d653e104019a84f22d4494f2119b4fe9f896c92b4b864b3b045cc/msal-1.34.0.tar.gz", hash = "sha256:76ba83b716ea5a6d75b0279c0ac353a0e05b820ca1f6682c0eb7f45190c43c2f", size = 153961, upload-time = "2025-09-22T23:05:48.989Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c2/dc/18d48843499e278538890dc709e9ee3dea8375f8be8e82682851df1b48b5/msal-1.34.0-py3-none-any.whl", hash = "sha256:f669b1644e4950115da7a176441b0e13ec2975c29528d8b9e81316023676d6e1", size = 116987, upload-time = "2025-09-22T23:05:47.294Z" }, +] + +[[package]] +name = "msal-extensions" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "msal" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/01/99/5d239b6156eddf761a636bded1118414d161bd6b7b37a9335549ed159396/msal_extensions-1.3.1.tar.gz", hash = "sha256:c5b0fd10f65ef62b5f1d62f4251d51cbcaf003fcedae8c91b040a488614be1a4", size = 23315, upload-time = "2025-03-14T23:51:03.902Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5e/75/bd9b7bb966668920f06b200e84454c8f3566b102183bc55c5473d96cb2b9/msal_extensions-1.3.1-py3-none-any.whl", hash = "sha256:96d3de4d034504e969ac5e85bae8106c8373b5c6568e4c8fa7af2eca9dbe6bca", size = 20583, upload-time = "2025-03-14T23:51:03.016Z" }, +] + +[[package]] +name = "multidict" +version = "6.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/80/1e/5492c365f222f907de1039b91f922b93fa4f764c713ee858d235495d8f50/multidict-6.7.0.tar.gz", hash = "sha256:c6e99d9a65ca282e578dfea819cfa9c0a62b2499d8677392e09feaf305e9e6f5", size = 101834, upload-time = "2025-10-06T14:52:30.657Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a9/63/7bdd4adc330abcca54c85728db2327130e49e52e8c3ce685cec44e0f2e9f/multidict-6.7.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:9f474ad5acda359c8758c8accc22032c6abe6dc87a8be2440d097785e27a9349", size = 77153, upload-time = "2025-10-06T14:48:26.409Z" }, + { url = "https://files.pythonhosted.org/packages/3f/bb/b6c35ff175ed1a3142222b78455ee31be71a8396ed3ab5280fbe3ebe4e85/multidict-6.7.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4b7a9db5a870f780220e931d0002bbfd88fb53aceb6293251e2c839415c1b20e", size = 44993, upload-time = "2025-10-06T14:48:28.4Z" }, + { url = "https://files.pythonhosted.org/packages/e0/1f/064c77877c5fa6df6d346e68075c0f6998547afe952d6471b4c5f6a7345d/multidict-6.7.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:03ca744319864e92721195fa28c7a3b2bc7b686246b35e4078c1e4d0eb5466d3", size = 44607, upload-time = "2025-10-06T14:48:29.581Z" }, + { url = "https://files.pythonhosted.org/packages/04/7a/bf6aa92065dd47f287690000b3d7d332edfccb2277634cadf6a810463c6a/multidict-6.7.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:f0e77e3c0008bc9316e662624535b88d360c3a5d3f81e15cf12c139a75250046", size = 241847, upload-time = "2025-10-06T14:48:32.107Z" }, + { url = "https://files.pythonhosted.org/packages/94/39/297a8de920f76eda343e4ce05f3b489f0ab3f9504f2576dfb37b7c08ca08/multidict-6.7.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:08325c9e5367aa379a3496aa9a022fe8837ff22e00b94db256d3a1378c76ab32", size = 242616, upload-time = "2025-10-06T14:48:34.054Z" }, + { url = "https://files.pythonhosted.org/packages/39/3a/d0eee2898cfd9d654aea6cb8c4addc2f9756e9a7e09391cfe55541f917f7/multidict-6.7.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e2862408c99f84aa571ab462d25236ef9cb12a602ea959ba9c9009a54902fc73", size = 222333, upload-time = "2025-10-06T14:48:35.9Z" }, + { url = "https://files.pythonhosted.org/packages/05/48/3b328851193c7a4240815b71eea165b49248867bbb6153a0aee227a0bb47/multidict-6.7.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4d72a9a2d885f5c208b0cb91ff2ed43636bb7e345ec839ff64708e04f69a13cc", size = 253239, upload-time = "2025-10-06T14:48:37.302Z" }, + { url = "https://files.pythonhosted.org/packages/b1/ca/0706a98c8d126a89245413225ca4a3fefc8435014de309cf8b30acb68841/multidict-6.7.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:478cc36476687bac1514d651cbbaa94b86b0732fb6855c60c673794c7dd2da62", size = 251618, upload-time = "2025-10-06T14:48:38.963Z" }, + { url = "https://files.pythonhosted.org/packages/5e/4f/9c7992f245554d8b173f6f0a048ad24b3e645d883f096857ec2c0822b8bd/multidict-6.7.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6843b28b0364dc605f21481c90fadb5f60d9123b442eb8a726bb74feef588a84", size = 241655, upload-time = "2025-10-06T14:48:40.312Z" }, + { url = "https://files.pythonhosted.org/packages/31/79/26a85991ae67efd1c0b1fc2e0c275b8a6aceeb155a68861f63f87a798f16/multidict-6.7.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:23bfeee5316266e5ee2d625df2d2c602b829435fc3a235c2ba2131495706e4a0", size = 239245, upload-time = "2025-10-06T14:48:41.848Z" }, + { url = "https://files.pythonhosted.org/packages/14/1e/75fa96394478930b79d0302eaf9a6c69f34005a1a5251ac8b9c336486ec9/multidict-6.7.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:680878b9f3d45c31e1f730eef731f9b0bc1da456155688c6745ee84eb818e90e", size = 233523, upload-time = "2025-10-06T14:48:43.749Z" }, + { url = "https://files.pythonhosted.org/packages/b2/5e/085544cb9f9c4ad2b5d97467c15f856df8d9bac410cffd5c43991a5d878b/multidict-6.7.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:eb866162ef2f45063acc7a53a88ef6fe8bf121d45c30ea3c9cd87ce7e191a8d4", size = 243129, upload-time = "2025-10-06T14:48:45.225Z" }, + { url = "https://files.pythonhosted.org/packages/b9/c3/e9d9e2f20c9474e7a8fcef28f863c5cbd29bb5adce6b70cebe8bdad0039d/multidict-6.7.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:df0e3bf7993bdbeca5ac25aa859cf40d39019e015c9c91809ba7093967f7a648", size = 248999, upload-time = "2025-10-06T14:48:46.703Z" }, + { url = "https://files.pythonhosted.org/packages/b5/3f/df171b6efa3239ae33b97b887e42671cd1d94d460614bfb2c30ffdab3b95/multidict-6.7.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:661709cdcd919a2ece2234f9bae7174e5220c80b034585d7d8a755632d3e2111", size = 243711, upload-time = "2025-10-06T14:48:48.146Z" }, + { url = "https://files.pythonhosted.org/packages/3c/2f/9b5564888c4e14b9af64c54acf149263721a283aaf4aa0ae89b091d5d8c1/multidict-6.7.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:096f52730c3fb8ed419db2d44391932b63891b2c5ed14850a7e215c0ba9ade36", size = 237504, upload-time = "2025-10-06T14:48:49.447Z" }, + { url = "https://files.pythonhosted.org/packages/6c/3a/0bd6ca0f7d96d790542d591c8c3354c1e1b6bfd2024d4d92dc3d87485ec7/multidict-6.7.0-cp310-cp310-win32.whl", hash = "sha256:afa8a2978ec65d2336305550535c9c4ff50ee527914328c8677b3973ade52b85", size = 41422, upload-time = "2025-10-06T14:48:50.789Z" }, + { url = "https://files.pythonhosted.org/packages/00/35/f6a637ea2c75f0d3b7c7d41b1189189acff0d9deeb8b8f35536bb30f5e33/multidict-6.7.0-cp310-cp310-win_amd64.whl", hash = "sha256:b15b3afff74f707b9275d5ba6a91ae8f6429c3ffb29bbfd216b0b375a56f13d7", size = 46050, upload-time = "2025-10-06T14:48:51.938Z" }, + { url = "https://files.pythonhosted.org/packages/e7/b8/f7bf8329b39893d02d9d95cf610c75885d12fc0f402b1c894e1c8e01c916/multidict-6.7.0-cp310-cp310-win_arm64.whl", hash = "sha256:4b73189894398d59131a66ff157837b1fafea9974be486d036bb3d32331fdbf0", size = 43153, upload-time = "2025-10-06T14:48:53.146Z" }, + { url = "https://files.pythonhosted.org/packages/34/9e/5c727587644d67b2ed479041e4b1c58e30afc011e3d45d25bbe35781217c/multidict-6.7.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4d409aa42a94c0b3fa617708ef5276dfe81012ba6753a0370fcc9d0195d0a1fc", size = 76604, upload-time = "2025-10-06T14:48:54.277Z" }, + { url = "https://files.pythonhosted.org/packages/17/e4/67b5c27bd17c085a5ea8f1ec05b8a3e5cba0ca734bfcad5560fb129e70ca/multidict-6.7.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:14c9e076eede3b54c636f8ce1c9c252b5f057c62131211f0ceeec273810c9721", size = 44715, upload-time = "2025-10-06T14:48:55.445Z" }, + { url = "https://files.pythonhosted.org/packages/4d/e1/866a5d77be6ea435711bef2a4291eed11032679b6b28b56b4776ab06ba3e/multidict-6.7.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4c09703000a9d0fa3c3404b27041e574cc7f4df4c6563873246d0e11812a94b6", size = 44332, upload-time = "2025-10-06T14:48:56.706Z" }, + { url = "https://files.pythonhosted.org/packages/31/61/0c2d50241ada71ff61a79518db85ada85fdabfcf395d5968dae1cbda04e5/multidict-6.7.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:a265acbb7bb33a3a2d626afbe756371dce0279e7b17f4f4eda406459c2b5ff1c", size = 245212, upload-time = "2025-10-06T14:48:58.042Z" }, + { url = "https://files.pythonhosted.org/packages/ac/e0/919666a4e4b57fff1b57f279be1c9316e6cdc5de8a8b525d76f6598fefc7/multidict-6.7.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51cb455de290ae462593e5b1cb1118c5c22ea7f0d3620d9940bf695cea5a4bd7", size = 246671, upload-time = "2025-10-06T14:49:00.004Z" }, + { url = "https://files.pythonhosted.org/packages/a1/cc/d027d9c5a520f3321b65adea289b965e7bcbd2c34402663f482648c716ce/multidict-6.7.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:db99677b4457c7a5c5a949353e125ba72d62b35f74e26da141530fbb012218a7", size = 225491, upload-time = "2025-10-06T14:49:01.393Z" }, + { url = "https://files.pythonhosted.org/packages/75/c4/bbd633980ce6155a28ff04e6a6492dd3335858394d7bb752d8b108708558/multidict-6.7.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f470f68adc395e0183b92a2f4689264d1ea4b40504a24d9882c27375e6662bb9", size = 257322, upload-time = "2025-10-06T14:49:02.745Z" }, + { url = "https://files.pythonhosted.org/packages/4c/6d/d622322d344f1f053eae47e033b0b3f965af01212de21b10bcf91be991fb/multidict-6.7.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0db4956f82723cc1c270de9c6e799b4c341d327762ec78ef82bb962f79cc07d8", size = 254694, upload-time = "2025-10-06T14:49:04.15Z" }, + { url = "https://files.pythonhosted.org/packages/a8/9f/78f8761c2705d4c6d7516faed63c0ebdac569f6db1bef95e0d5218fdc146/multidict-6.7.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3e56d780c238f9e1ae66a22d2adf8d16f485381878250db8d496623cd38b22bd", size = 246715, upload-time = "2025-10-06T14:49:05.967Z" }, + { url = "https://files.pythonhosted.org/packages/78/59/950818e04f91b9c2b95aab3d923d9eabd01689d0dcd889563988e9ea0fd8/multidict-6.7.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9d14baca2ee12c1a64740d4531356ba50b82543017f3ad6de0deb943c5979abb", size = 243189, upload-time = "2025-10-06T14:49:07.37Z" }, + { url = "https://files.pythonhosted.org/packages/7a/3d/77c79e1934cad2ee74991840f8a0110966d9599b3af95964c0cd79bb905b/multidict-6.7.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:295a92a76188917c7f99cda95858c822f9e4aae5824246bba9b6b44004ddd0a6", size = 237845, upload-time = "2025-10-06T14:49:08.759Z" }, + { url = "https://files.pythonhosted.org/packages/63/1b/834ce32a0a97a3b70f86437f685f880136677ac00d8bce0027e9fd9c2db7/multidict-6.7.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:39f1719f57adbb767ef592a50ae5ebb794220d1188f9ca93de471336401c34d2", size = 246374, upload-time = "2025-10-06T14:49:10.574Z" }, + { url = "https://files.pythonhosted.org/packages/23/ef/43d1c3ba205b5dec93dc97f3fba179dfa47910fc73aaaea4f7ceb41cec2a/multidict-6.7.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:0a13fb8e748dfc94749f622de065dd5c1def7e0d2216dba72b1d8069a389c6ff", size = 253345, upload-time = "2025-10-06T14:49:12.331Z" }, + { url = "https://files.pythonhosted.org/packages/6b/03/eaf95bcc2d19ead522001f6a650ef32811aa9e3624ff0ad37c445c7a588c/multidict-6.7.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:e3aa16de190d29a0ea1b48253c57d99a68492c8dd8948638073ab9e74dc9410b", size = 246940, upload-time = "2025-10-06T14:49:13.821Z" }, + { url = "https://files.pythonhosted.org/packages/e8/df/ec8a5fd66ea6cd6f525b1fcbb23511b033c3e9bc42b81384834ffa484a62/multidict-6.7.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a048ce45dcdaaf1defb76b2e684f997fb5abf74437b6cb7b22ddad934a964e34", size = 242229, upload-time = "2025-10-06T14:49:15.603Z" }, + { url = "https://files.pythonhosted.org/packages/8a/a2/59b405d59fd39ec86d1142630e9049243015a5f5291ba49cadf3c090c541/multidict-6.7.0-cp311-cp311-win32.whl", hash = "sha256:a90af66facec4cebe4181b9e62a68be65e45ac9b52b67de9eec118701856e7ff", size = 41308, upload-time = "2025-10-06T14:49:16.871Z" }, + { url = "https://files.pythonhosted.org/packages/32/0f/13228f26f8b882c34da36efa776c3b7348455ec383bab4a66390e42963ae/multidict-6.7.0-cp311-cp311-win_amd64.whl", hash = "sha256:95b5ffa4349df2887518bb839409bcf22caa72d82beec453216802f475b23c81", size = 46037, upload-time = "2025-10-06T14:49:18.457Z" }, + { url = "https://files.pythonhosted.org/packages/84/1f/68588e31b000535a3207fd3c909ebeec4fb36b52c442107499c18a896a2a/multidict-6.7.0-cp311-cp311-win_arm64.whl", hash = "sha256:329aa225b085b6f004a4955271a7ba9f1087e39dcb7e65f6284a988264a63912", size = 43023, upload-time = "2025-10-06T14:49:19.648Z" }, + { url = "https://files.pythonhosted.org/packages/c2/9e/9f61ac18d9c8b475889f32ccfa91c9f59363480613fc807b6e3023d6f60b/multidict-6.7.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:8a3862568a36d26e650a19bb5cbbba14b71789032aebc0423f8cc5f150730184", size = 76877, upload-time = "2025-10-06T14:49:20.884Z" }, + { url = "https://files.pythonhosted.org/packages/38/6f/614f09a04e6184f8824268fce4bc925e9849edfa654ddd59f0b64508c595/multidict-6.7.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:960c60b5849b9b4f9dcc9bea6e3626143c252c74113df2c1540aebce70209b45", size = 45467, upload-time = "2025-10-06T14:49:22.054Z" }, + { url = "https://files.pythonhosted.org/packages/b3/93/c4f67a436dd026f2e780c433277fff72be79152894d9fc36f44569cab1a6/multidict-6.7.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2049be98fb57a31b4ccf870bf377af2504d4ae35646a19037ec271e4c07998aa", size = 43834, upload-time = "2025-10-06T14:49:23.566Z" }, + { url = "https://files.pythonhosted.org/packages/7f/f5/013798161ca665e4a422afbc5e2d9e4070142a9ff8905e482139cd09e4d0/multidict-6.7.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0934f3843a1860dd465d38895c17fce1f1cb37295149ab05cd1b9a03afacb2a7", size = 250545, upload-time = "2025-10-06T14:49:24.882Z" }, + { url = "https://files.pythonhosted.org/packages/71/2f/91dbac13e0ba94669ea5119ba267c9a832f0cb65419aca75549fcf09a3dc/multidict-6.7.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b3e34f3a1b8131ba06f1a73adab24f30934d148afcd5f5de9a73565a4404384e", size = 258305, upload-time = "2025-10-06T14:49:26.778Z" }, + { url = "https://files.pythonhosted.org/packages/ef/b0/754038b26f6e04488b48ac621f779c341338d78503fb45403755af2df477/multidict-6.7.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:efbb54e98446892590dc2458c19c10344ee9a883a79b5cec4bc34d6656e8d546", size = 242363, upload-time = "2025-10-06T14:49:28.562Z" }, + { url = "https://files.pythonhosted.org/packages/87/15/9da40b9336a7c9fa606c4cf2ed80a649dffeb42b905d4f63a1d7eb17d746/multidict-6.7.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a35c5fc61d4f51eb045061e7967cfe3123d622cd500e8868e7c0c592a09fedc4", size = 268375, upload-time = "2025-10-06T14:49:29.96Z" }, + { url = "https://files.pythonhosted.org/packages/82/72/c53fcade0cc94dfaad583105fd92b3a783af2091eddcb41a6d5a52474000/multidict-6.7.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29fe6740ebccba4175af1b9b87bf553e9c15cd5868ee967e010efcf94e4fd0f1", size = 269346, upload-time = "2025-10-06T14:49:31.404Z" }, + { url = "https://files.pythonhosted.org/packages/0d/e2/9baffdae21a76f77ef8447f1a05a96ec4bc0a24dae08767abc0a2fe680b8/multidict-6.7.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:123e2a72e20537add2f33a79e605f6191fba2afda4cbb876e35c1a7074298a7d", size = 256107, upload-time = "2025-10-06T14:49:32.974Z" }, + { url = "https://files.pythonhosted.org/packages/3c/06/3f06f611087dc60d65ef775f1fb5aca7c6d61c6db4990e7cda0cef9b1651/multidict-6.7.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b284e319754366c1aee2267a2036248b24eeb17ecd5dc16022095e747f2f4304", size = 253592, upload-time = "2025-10-06T14:49:34.52Z" }, + { url = "https://files.pythonhosted.org/packages/20/24/54e804ec7945b6023b340c412ce9c3f81e91b3bf5fa5ce65558740141bee/multidict-6.7.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:803d685de7be4303b5a657b76e2f6d1240e7e0a8aa2968ad5811fa2285553a12", size = 251024, upload-time = "2025-10-06T14:49:35.956Z" }, + { url = "https://files.pythonhosted.org/packages/14/48/011cba467ea0b17ceb938315d219391d3e421dfd35928e5dbdc3f4ae76ef/multidict-6.7.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c04a328260dfd5db8c39538f999f02779012268f54614902d0afc775d44e0a62", size = 251484, upload-time = "2025-10-06T14:49:37.631Z" }, + { url = "https://files.pythonhosted.org/packages/0d/2f/919258b43bb35b99fa127435cfb2d91798eb3a943396631ef43e3720dcf4/multidict-6.7.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8a19cdb57cd3df4cd865849d93ee14920fb97224300c88501f16ecfa2604b4e0", size = 263579, upload-time = "2025-10-06T14:49:39.502Z" }, + { url = "https://files.pythonhosted.org/packages/31/22/a0e884d86b5242b5a74cf08e876bdf299e413016b66e55511f7a804a366e/multidict-6.7.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:9b2fd74c52accced7e75de26023b7dccee62511a600e62311b918ec5c168fc2a", size = 259654, upload-time = "2025-10-06T14:49:41.32Z" }, + { url = "https://files.pythonhosted.org/packages/b2/e5/17e10e1b5c5f5a40f2fcbb45953c9b215f8a4098003915e46a93f5fcaa8f/multidict-6.7.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3e8bfdd0e487acf992407a140d2589fe598238eaeffa3da8448d63a63cd363f8", size = 251511, upload-time = "2025-10-06T14:49:46.021Z" }, + { url = "https://files.pythonhosted.org/packages/e3/9a/201bb1e17e7af53139597069c375e7b0dcbd47594604f65c2d5359508566/multidict-6.7.0-cp312-cp312-win32.whl", hash = "sha256:dd32a49400a2c3d52088e120ee00c1e3576cbff7e10b98467962c74fdb762ed4", size = 41895, upload-time = "2025-10-06T14:49:48.718Z" }, + { url = "https://files.pythonhosted.org/packages/46/e2/348cd32faad84eaf1d20cce80e2bb0ef8d312c55bca1f7fa9865e7770aaf/multidict-6.7.0-cp312-cp312-win_amd64.whl", hash = "sha256:92abb658ef2d7ef22ac9f8bb88e8b6c3e571671534e029359b6d9e845923eb1b", size = 46073, upload-time = "2025-10-06T14:49:50.28Z" }, + { url = "https://files.pythonhosted.org/packages/25/ec/aad2613c1910dce907480e0c3aa306905830f25df2e54ccc9dea450cb5aa/multidict-6.7.0-cp312-cp312-win_arm64.whl", hash = "sha256:490dab541a6a642ce1a9d61a4781656b346a55c13038f0b1244653828e3a83ec", size = 43226, upload-time = "2025-10-06T14:49:52.304Z" }, + { url = "https://files.pythonhosted.org/packages/d2/86/33272a544eeb36d66e4d9a920602d1a2f57d4ebea4ef3cdfe5a912574c95/multidict-6.7.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:bee7c0588aa0076ce77c0ea5d19a68d76ad81fcd9fe8501003b9a24f9d4000f6", size = 76135, upload-time = "2025-10-06T14:49:54.26Z" }, + { url = "https://files.pythonhosted.org/packages/91/1c/eb97db117a1ebe46d457a3d235a7b9d2e6dcab174f42d1b67663dd9e5371/multidict-6.7.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7ef6b61cad77091056ce0e7ce69814ef72afacb150b7ac6a3e9470def2198159", size = 45117, upload-time = "2025-10-06T14:49:55.82Z" }, + { url = "https://files.pythonhosted.org/packages/f1/d8/6c3442322e41fb1dd4de8bd67bfd11cd72352ac131f6368315617de752f1/multidict-6.7.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:9c0359b1ec12b1d6849c59f9d319610b7f20ef990a6d454ab151aa0e3b9f78ca", size = 43472, upload-time = "2025-10-06T14:49:57.048Z" }, + { url = "https://files.pythonhosted.org/packages/75/3f/e2639e80325af0b6c6febdf8e57cc07043ff15f57fa1ef808f4ccb5ac4cd/multidict-6.7.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cd240939f71c64bd658f186330603aac1a9a81bf6273f523fca63673cb7378a8", size = 249342, upload-time = "2025-10-06T14:49:58.368Z" }, + { url = "https://files.pythonhosted.org/packages/5d/cc/84e0585f805cbeaa9cbdaa95f9a3d6aed745b9d25700623ac89a6ecff400/multidict-6.7.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a60a4d75718a5efa473ebd5ab685786ba0c67b8381f781d1be14da49f1a2dc60", size = 257082, upload-time = "2025-10-06T14:49:59.89Z" }, + { url = "https://files.pythonhosted.org/packages/b0/9c/ac851c107c92289acbbf5cfb485694084690c1b17e555f44952c26ddc5bd/multidict-6.7.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:53a42d364f323275126aff81fb67c5ca1b7a04fda0546245730a55c8c5f24bc4", size = 240704, upload-time = "2025-10-06T14:50:01.485Z" }, + { url = "https://files.pythonhosted.org/packages/50/cc/5f93e99427248c09da95b62d64b25748a5f5c98c7c2ab09825a1d6af0e15/multidict-6.7.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3b29b980d0ddbecb736735ee5bef69bb2ddca56eff603c86f3f29a1128299b4f", size = 266355, upload-time = "2025-10-06T14:50:02.955Z" }, + { url = "https://files.pythonhosted.org/packages/ec/0c/2ec1d883ceb79c6f7f6d7ad90c919c898f5d1c6ea96d322751420211e072/multidict-6.7.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f8a93b1c0ed2d04b97a5e9336fd2d33371b9a6e29ab7dd6503d63407c20ffbaf", size = 267259, upload-time = "2025-10-06T14:50:04.446Z" }, + { url = "https://files.pythonhosted.org/packages/c6/2d/f0b184fa88d6630aa267680bdb8623fb69cb0d024b8c6f0d23f9a0f406d3/multidict-6.7.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9ff96e8815eecacc6645da76c413eb3b3d34cfca256c70b16b286a687d013c32", size = 254903, upload-time = "2025-10-06T14:50:05.98Z" }, + { url = "https://files.pythonhosted.org/packages/06/c9/11ea263ad0df7dfabcad404feb3c0dd40b131bc7f232d5537f2fb1356951/multidict-6.7.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7516c579652f6a6be0e266aec0acd0db80829ca305c3d771ed898538804c2036", size = 252365, upload-time = "2025-10-06T14:50:07.511Z" }, + { url = "https://files.pythonhosted.org/packages/41/88/d714b86ee2c17d6e09850c70c9d310abac3d808ab49dfa16b43aba9d53fd/multidict-6.7.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:040f393368e63fb0f3330e70c26bfd336656bed925e5cbe17c9da839a6ab13ec", size = 250062, upload-time = "2025-10-06T14:50:09.074Z" }, + { url = "https://files.pythonhosted.org/packages/15/fe/ad407bb9e818c2b31383f6131ca19ea7e35ce93cf1310fce69f12e89de75/multidict-6.7.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b3bc26a951007b1057a1c543af845f1c7e3e71cc240ed1ace7bf4484aa99196e", size = 249683, upload-time = "2025-10-06T14:50:10.714Z" }, + { url = "https://files.pythonhosted.org/packages/8c/a4/a89abdb0229e533fb925e7c6e5c40201c2873efebc9abaf14046a4536ee6/multidict-6.7.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:7b022717c748dd1992a83e219587aabe45980d88969f01b316e78683e6285f64", size = 261254, upload-time = "2025-10-06T14:50:12.28Z" }, + { url = "https://files.pythonhosted.org/packages/8d/aa/0e2b27bd88b40a4fb8dc53dd74eecac70edaa4c1dd0707eb2164da3675b3/multidict-6.7.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:9600082733859f00d79dee64effc7aef1beb26adb297416a4ad2116fd61374bd", size = 257967, upload-time = "2025-10-06T14:50:14.16Z" }, + { url = "https://files.pythonhosted.org/packages/d0/8e/0c67b7120d5d5f6d874ed85a085f9dc770a7f9d8813e80f44a9fec820bb7/multidict-6.7.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:94218fcec4d72bc61df51c198d098ce2b378e0ccbac41ddbed5ef44092913288", size = 250085, upload-time = "2025-10-06T14:50:15.639Z" }, + { url = "https://files.pythonhosted.org/packages/ba/55/b73e1d624ea4b8fd4dd07a3bb70f6e4c7c6c5d9d640a41c6ffe5cdbd2a55/multidict-6.7.0-cp313-cp313-win32.whl", hash = "sha256:a37bd74c3fa9d00be2d7b8eca074dc56bd8077ddd2917a839bd989612671ed17", size = 41713, upload-time = "2025-10-06T14:50:17.066Z" }, + { url = "https://files.pythonhosted.org/packages/32/31/75c59e7d3b4205075b4c183fa4ca398a2daf2303ddf616b04ae6ef55cffe/multidict-6.7.0-cp313-cp313-win_amd64.whl", hash = "sha256:30d193c6cc6d559db42b6bcec8a5d395d34d60c9877a0b71ecd7c204fcf15390", size = 45915, upload-time = "2025-10-06T14:50:18.264Z" }, + { url = "https://files.pythonhosted.org/packages/31/2a/8987831e811f1184c22bc2e45844934385363ee61c0a2dcfa8f71b87e608/multidict-6.7.0-cp313-cp313-win_arm64.whl", hash = "sha256:ea3334cabe4d41b7ccd01e4d349828678794edbc2d3ae97fc162a3312095092e", size = 43077, upload-time = "2025-10-06T14:50:19.853Z" }, + { url = "https://files.pythonhosted.org/packages/e8/68/7b3a5170a382a340147337b300b9eb25a9ddb573bcdfff19c0fa3f31ffba/multidict-6.7.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:ad9ce259f50abd98a1ca0aa6e490b58c316a0fce0617f609723e40804add2c00", size = 83114, upload-time = "2025-10-06T14:50:21.223Z" }, + { url = "https://files.pythonhosted.org/packages/55/5c/3fa2d07c84df4e302060f555bbf539310980362236ad49f50eeb0a1c1eb9/multidict-6.7.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:07f5594ac6d084cbb5de2df218d78baf55ef150b91f0ff8a21cc7a2e3a5a58eb", size = 48442, upload-time = "2025-10-06T14:50:22.871Z" }, + { url = "https://files.pythonhosted.org/packages/fc/56/67212d33239797f9bd91962bb899d72bb0f4c35a8652dcdb8ed049bef878/multidict-6.7.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:0591b48acf279821a579282444814a2d8d0af624ae0bc600aa4d1b920b6e924b", size = 46885, upload-time = "2025-10-06T14:50:24.258Z" }, + { url = "https://files.pythonhosted.org/packages/46/d1/908f896224290350721597a61a69cd19b89ad8ee0ae1f38b3f5cd12ea2ac/multidict-6.7.0-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:749a72584761531d2b9467cfbdfd29487ee21124c304c4b6cb760d8777b27f9c", size = 242588, upload-time = "2025-10-06T14:50:25.716Z" }, + { url = "https://files.pythonhosted.org/packages/ab/67/8604288bbd68680eee0ab568fdcb56171d8b23a01bcd5cb0c8fedf6e5d99/multidict-6.7.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b4c3d199f953acd5b446bf7c0de1fe25d94e09e79086f8dc2f48a11a129cdf1", size = 249966, upload-time = "2025-10-06T14:50:28.192Z" }, + { url = "https://files.pythonhosted.org/packages/20/33/9228d76339f1ba51e3efef7da3ebd91964d3006217aae13211653193c3ff/multidict-6.7.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:9fb0211dfc3b51efea2f349ec92c114d7754dd62c01f81c3e32b765b70c45c9b", size = 228618, upload-time = "2025-10-06T14:50:29.82Z" }, + { url = "https://files.pythonhosted.org/packages/f8/2d/25d9b566d10cab1c42b3b9e5b11ef79c9111eaf4463b8c257a3bd89e0ead/multidict-6.7.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a027ec240fe73a8d6281872690b988eed307cd7d91b23998ff35ff577ca688b5", size = 257539, upload-time = "2025-10-06T14:50:31.731Z" }, + { url = "https://files.pythonhosted.org/packages/b6/b1/8d1a965e6637fc33de3c0d8f414485c2b7e4af00f42cab3d84e7b955c222/multidict-6.7.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d1d964afecdf3a8288789df2f5751dc0a8261138c3768d9af117ed384e538fad", size = 256345, upload-time = "2025-10-06T14:50:33.26Z" }, + { url = "https://files.pythonhosted.org/packages/ba/0c/06b5a8adbdeedada6f4fb8d8f193d44a347223b11939b42953eeb6530b6b/multidict-6.7.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:caf53b15b1b7df9fbd0709aa01409000a2b4dd03a5f6f5cc548183c7c8f8b63c", size = 247934, upload-time = "2025-10-06T14:50:34.808Z" }, + { url = "https://files.pythonhosted.org/packages/8f/31/b2491b5fe167ca044c6eb4b8f2c9f3b8a00b24c432c365358eadac5d7625/multidict-6.7.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:654030da3197d927f05a536a66186070e98765aa5142794c9904555d3a9d8fb5", size = 245243, upload-time = "2025-10-06T14:50:36.436Z" }, + { url = "https://files.pythonhosted.org/packages/61/1a/982913957cb90406c8c94f53001abd9eafc271cb3e70ff6371590bec478e/multidict-6.7.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:2090d3718829d1e484706a2f525e50c892237b2bf9b17a79b059cb98cddc2f10", size = 235878, upload-time = "2025-10-06T14:50:37.953Z" }, + { url = "https://files.pythonhosted.org/packages/be/c0/21435d804c1a1cf7a2608593f4d19bca5bcbd7a81a70b253fdd1c12af9c0/multidict-6.7.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:2d2cfeec3f6f45651b3d408c4acec0ebf3daa9bc8a112a084206f5db5d05b754", size = 243452, upload-time = "2025-10-06T14:50:39.574Z" }, + { url = "https://files.pythonhosted.org/packages/54/0a/4349d540d4a883863191be6eb9a928846d4ec0ea007d3dcd36323bb058ac/multidict-6.7.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:4ef089f985b8c194d341eb2c24ae6e7408c9a0e2e5658699c92f497437d88c3c", size = 252312, upload-time = "2025-10-06T14:50:41.612Z" }, + { url = "https://files.pythonhosted.org/packages/26/64/d5416038dbda1488daf16b676e4dbfd9674dde10a0cc8f4fc2b502d8125d/multidict-6.7.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:e93a0617cd16998784bf4414c7e40f17a35d2350e5c6f0bd900d3a8e02bd3762", size = 246935, upload-time = "2025-10-06T14:50:43.972Z" }, + { url = "https://files.pythonhosted.org/packages/9f/8c/8290c50d14e49f35e0bd4abc25e1bc7711149ca9588ab7d04f886cdf03d9/multidict-6.7.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f0feece2ef8ebc42ed9e2e8c78fc4aa3cf455733b507c09ef7406364c94376c6", size = 243385, upload-time = "2025-10-06T14:50:45.648Z" }, + { url = "https://files.pythonhosted.org/packages/ef/a0/f83ae75e42d694b3fbad3e047670e511c138be747bc713cf1b10d5096416/multidict-6.7.0-cp313-cp313t-win32.whl", hash = "sha256:19a1d55338ec1be74ef62440ca9e04a2f001a04d0cc49a4983dc320ff0f3212d", size = 47777, upload-time = "2025-10-06T14:50:47.154Z" }, + { url = "https://files.pythonhosted.org/packages/dc/80/9b174a92814a3830b7357307a792300f42c9e94664b01dee8e457551fa66/multidict-6.7.0-cp313-cp313t-win_amd64.whl", hash = "sha256:3da4fb467498df97e986af166b12d01f05d2e04f978a9c1c680ea1988e0bc4b6", size = 53104, upload-time = "2025-10-06T14:50:48.851Z" }, + { url = "https://files.pythonhosted.org/packages/cc/28/04baeaf0428d95bb7a7bea0e691ba2f31394338ba424fb0679a9ed0f4c09/multidict-6.7.0-cp313-cp313t-win_arm64.whl", hash = "sha256:b4121773c49a0776461f4a904cdf6264c88e42218aaa8407e803ca8025872792", size = 45503, upload-time = "2025-10-06T14:50:50.16Z" }, + { url = "https://files.pythonhosted.org/packages/e2/b1/3da6934455dd4b261d4c72f897e3a5728eba81db59959f3a639245891baa/multidict-6.7.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3bab1e4aff7adaa34410f93b1f8e57c4b36b9af0426a76003f441ee1d3c7e842", size = 75128, upload-time = "2025-10-06T14:50:51.92Z" }, + { url = "https://files.pythonhosted.org/packages/14/2c/f069cab5b51d175a1a2cb4ccdf7a2c2dabd58aa5bd933fa036a8d15e2404/multidict-6.7.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:b8512bac933afc3e45fb2b18da8e59b78d4f408399a960339598374d4ae3b56b", size = 44410, upload-time = "2025-10-06T14:50:53.275Z" }, + { url = "https://files.pythonhosted.org/packages/42/e2/64bb41266427af6642b6b128e8774ed84c11b80a90702c13ac0a86bb10cc/multidict-6.7.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:79dcf9e477bc65414ebfea98ffd013cb39552b5ecd62908752e0e413d6d06e38", size = 43205, upload-time = "2025-10-06T14:50:54.911Z" }, + { url = "https://files.pythonhosted.org/packages/02/68/6b086fef8a3f1a8541b9236c594f0c9245617c29841f2e0395d979485cde/multidict-6.7.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:31bae522710064b5cbeddaf2e9f32b1abab70ac6ac91d42572502299e9953128", size = 245084, upload-time = "2025-10-06T14:50:56.369Z" }, + { url = "https://files.pythonhosted.org/packages/15/ee/f524093232007cd7a75c1d132df70f235cfd590a7c9eaccd7ff422ef4ae8/multidict-6.7.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a0df7ff02397bb63e2fd22af2c87dfa39e8c7f12947bc524dbdc528282c7e34", size = 252667, upload-time = "2025-10-06T14:50:57.991Z" }, + { url = "https://files.pythonhosted.org/packages/02/a5/eeb3f43ab45878f1895118c3ef157a480db58ede3f248e29b5354139c2c9/multidict-6.7.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7a0222514e8e4c514660e182d5156a415c13ef0aabbd71682fc714e327b95e99", size = 233590, upload-time = "2025-10-06T14:50:59.589Z" }, + { url = "https://files.pythonhosted.org/packages/6a/1e/76d02f8270b97269d7e3dbd45644b1785bda457b474315f8cf999525a193/multidict-6.7.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2397ab4daaf2698eb51a76721e98db21ce4f52339e535725de03ea962b5a3202", size = 264112, upload-time = "2025-10-06T14:51:01.183Z" }, + { url = "https://files.pythonhosted.org/packages/76/0b/c28a70ecb58963847c2a8efe334904cd254812b10e535aefb3bcce513918/multidict-6.7.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8891681594162635948a636c9fe0ff21746aeb3dd5463f6e25d9bea3a8a39ca1", size = 261194, upload-time = "2025-10-06T14:51:02.794Z" }, + { url = "https://files.pythonhosted.org/packages/b4/63/2ab26e4209773223159b83aa32721b4021ffb08102f8ac7d689c943fded1/multidict-6.7.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:18706cc31dbf402a7945916dd5cddf160251b6dab8a2c5f3d6d5a55949f676b3", size = 248510, upload-time = "2025-10-06T14:51:04.724Z" }, + { url = "https://files.pythonhosted.org/packages/93/cd/06c1fa8282af1d1c46fd55c10a7930af652afdce43999501d4d68664170c/multidict-6.7.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f844a1bbf1d207dd311a56f383f7eda2d0e134921d45751842d8235e7778965d", size = 248395, upload-time = "2025-10-06T14:51:06.306Z" }, + { url = "https://files.pythonhosted.org/packages/99/ac/82cb419dd6b04ccf9e7e61befc00c77614fc8134362488b553402ecd55ce/multidict-6.7.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:d4393e3581e84e5645506923816b9cc81f5609a778c7e7534054091acc64d1c6", size = 239520, upload-time = "2025-10-06T14:51:08.091Z" }, + { url = "https://files.pythonhosted.org/packages/fa/f3/a0f9bf09493421bd8716a362e0cd1d244f5a6550f5beffdd6b47e885b331/multidict-6.7.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:fbd18dc82d7bf274b37aa48d664534330af744e03bccf696d6f4c6042e7d19e7", size = 245479, upload-time = "2025-10-06T14:51:10.365Z" }, + { url = "https://files.pythonhosted.org/packages/8d/01/476d38fc73a212843f43c852b0eee266b6971f0e28329c2184a8df90c376/multidict-6.7.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:b6234e14f9314731ec45c42fc4554b88133ad53a09092cc48a88e771c125dadb", size = 258903, upload-time = "2025-10-06T14:51:12.466Z" }, + { url = "https://files.pythonhosted.org/packages/49/6d/23faeb0868adba613b817d0e69c5f15531b24d462af8012c4f6de4fa8dc3/multidict-6.7.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:08d4379f9744d8f78d98c8673c06e202ffa88296f009c71bbafe8a6bf847d01f", size = 252333, upload-time = "2025-10-06T14:51:14.48Z" }, + { url = "https://files.pythonhosted.org/packages/1e/cc/48d02ac22b30fa247f7dad82866e4b1015431092f4ba6ebc7e77596e0b18/multidict-6.7.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9fe04da3f79387f450fd0061d4dd2e45a72749d31bf634aecc9e27f24fdc4b3f", size = 243411, upload-time = "2025-10-06T14:51:16.072Z" }, + { url = "https://files.pythonhosted.org/packages/4a/03/29a8bf5a18abf1fe34535c88adbdfa88c9fb869b5a3b120692c64abe8284/multidict-6.7.0-cp314-cp314-win32.whl", hash = "sha256:fbafe31d191dfa7c4c51f7a6149c9fb7e914dcf9ffead27dcfd9f1ae382b3885", size = 40940, upload-time = "2025-10-06T14:51:17.544Z" }, + { url = "https://files.pythonhosted.org/packages/82/16/7ed27b680791b939de138f906d5cf2b4657b0d45ca6f5dd6236fdddafb1a/multidict-6.7.0-cp314-cp314-win_amd64.whl", hash = "sha256:2f67396ec0310764b9222a1728ced1ab638f61aadc6226f17a71dd9324f9a99c", size = 45087, upload-time = "2025-10-06T14:51:18.875Z" }, + { url = "https://files.pythonhosted.org/packages/cd/3c/e3e62eb35a1950292fe39315d3c89941e30a9d07d5d2df42965ab041da43/multidict-6.7.0-cp314-cp314-win_arm64.whl", hash = "sha256:ba672b26069957ee369cfa7fc180dde1fc6f176eaf1e6beaf61fbebbd3d9c000", size = 42368, upload-time = "2025-10-06T14:51:20.225Z" }, + { url = "https://files.pythonhosted.org/packages/8b/40/cd499bd0dbc5f1136726db3153042a735fffd0d77268e2ee20d5f33c010f/multidict-6.7.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:c1dcc7524066fa918c6a27d61444d4ee7900ec635779058571f70d042d86ed63", size = 82326, upload-time = "2025-10-06T14:51:21.588Z" }, + { url = "https://files.pythonhosted.org/packages/13/8a/18e031eca251c8df76daf0288e6790561806e439f5ce99a170b4af30676b/multidict-6.7.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:27e0b36c2d388dc7b6ced3406671b401e84ad7eb0656b8f3a2f46ed0ce483718", size = 48065, upload-time = "2025-10-06T14:51:22.93Z" }, + { url = "https://files.pythonhosted.org/packages/40/71/5e6701277470a87d234e433fb0a3a7deaf3bcd92566e421e7ae9776319de/multidict-6.7.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2a7baa46a22e77f0988e3b23d4ede5513ebec1929e34ee9495be535662c0dfe2", size = 46475, upload-time = "2025-10-06T14:51:24.352Z" }, + { url = "https://files.pythonhosted.org/packages/fe/6a/bab00cbab6d9cfb57afe1663318f72ec28289ea03fd4e8236bb78429893a/multidict-6.7.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:7bf77f54997a9166a2f5675d1201520586439424c2511723a7312bdb4bcc034e", size = 239324, upload-time = "2025-10-06T14:51:25.822Z" }, + { url = "https://files.pythonhosted.org/packages/2a/5f/8de95f629fc22a7769ade8b41028e3e5a822c1f8904f618d175945a81ad3/multidict-6.7.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e011555abada53f1578d63389610ac8a5400fc70ce71156b0aa30d326f1a5064", size = 246877, upload-time = "2025-10-06T14:51:27.604Z" }, + { url = "https://files.pythonhosted.org/packages/23/b4/38881a960458f25b89e9f4a4fdcb02ac101cfa710190db6e5528841e67de/multidict-6.7.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:28b37063541b897fd6a318007373930a75ca6d6ac7c940dbe14731ffdd8d498e", size = 225824, upload-time = "2025-10-06T14:51:29.664Z" }, + { url = "https://files.pythonhosted.org/packages/1e/39/6566210c83f8a261575f18e7144736059f0c460b362e96e9cf797a24b8e7/multidict-6.7.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:05047ada7a2fde2631a0ed706f1fd68b169a681dfe5e4cf0f8e4cb6618bbc2cd", size = 253558, upload-time = "2025-10-06T14:51:31.684Z" }, + { url = "https://files.pythonhosted.org/packages/00/a3/67f18315100f64c269f46e6c0319fa87ba68f0f64f2b8e7fd7c72b913a0b/multidict-6.7.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:716133f7d1d946a4e1b91b1756b23c088881e70ff180c24e864c26192ad7534a", size = 252339, upload-time = "2025-10-06T14:51:33.699Z" }, + { url = "https://files.pythonhosted.org/packages/c8/2a/1cb77266afee2458d82f50da41beba02159b1d6b1f7973afc9a1cad1499b/multidict-6.7.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d1bed1b467ef657f2a0ae62844a607909ef1c6889562de5e1d505f74457d0b96", size = 244895, upload-time = "2025-10-06T14:51:36.189Z" }, + { url = "https://files.pythonhosted.org/packages/dd/72/09fa7dd487f119b2eb9524946ddd36e2067c08510576d43ff68469563b3b/multidict-6.7.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ca43bdfa5d37bd6aee89d85e1d0831fb86e25541be7e9d376ead1b28974f8e5e", size = 241862, upload-time = "2025-10-06T14:51:41.291Z" }, + { url = "https://files.pythonhosted.org/packages/65/92/bc1f8bd0853d8669300f732c801974dfc3702c3eeadae2f60cef54dc69d7/multidict-6.7.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:44b546bd3eb645fd26fb949e43c02a25a2e632e2ca21a35e2e132c8105dc8599", size = 232376, upload-time = "2025-10-06T14:51:43.55Z" }, + { url = "https://files.pythonhosted.org/packages/09/86/ac39399e5cb9d0c2ac8ef6e10a768e4d3bc933ac808d49c41f9dc23337eb/multidict-6.7.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:a6ef16328011d3f468e7ebc326f24c1445f001ca1dec335b2f8e66bed3006394", size = 240272, upload-time = "2025-10-06T14:51:45.265Z" }, + { url = "https://files.pythonhosted.org/packages/3d/b6/fed5ac6b8563ec72df6cb1ea8dac6d17f0a4a1f65045f66b6d3bf1497c02/multidict-6.7.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:5aa873cbc8e593d361ae65c68f85faadd755c3295ea2c12040ee146802f23b38", size = 248774, upload-time = "2025-10-06T14:51:46.836Z" }, + { url = "https://files.pythonhosted.org/packages/6b/8d/b954d8c0dc132b68f760aefd45870978deec6818897389dace00fcde32ff/multidict-6.7.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:3d7b6ccce016e29df4b7ca819659f516f0bc7a4b3efa3bb2012ba06431b044f9", size = 242731, upload-time = "2025-10-06T14:51:48.541Z" }, + { url = "https://files.pythonhosted.org/packages/16/9d/a2dac7009125d3540c2f54e194829ea18ac53716c61b655d8ed300120b0f/multidict-6.7.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:171b73bd4ee683d307599b66793ac80981b06f069b62eea1c9e29c9241aa66b0", size = 240193, upload-time = "2025-10-06T14:51:50.355Z" }, + { url = "https://files.pythonhosted.org/packages/39/ca/c05f144128ea232ae2178b008d5011d4e2cea86e4ee8c85c2631b1b94802/multidict-6.7.0-cp314-cp314t-win32.whl", hash = "sha256:b2d7f80c4e1fd010b07cb26820aae86b7e73b681ee4889684fb8d2d4537aab13", size = 48023, upload-time = "2025-10-06T14:51:51.883Z" }, + { url = "https://files.pythonhosted.org/packages/ba/8f/0a60e501584145588be1af5cc829265701ba3c35a64aec8e07cbb71d39bb/multidict-6.7.0-cp314-cp314t-win_amd64.whl", hash = "sha256:09929cab6fcb68122776d575e03c6cc64ee0b8fca48d17e135474b042ce515cd", size = 53507, upload-time = "2025-10-06T14:51:53.672Z" }, + { url = "https://files.pythonhosted.org/packages/7f/ae/3148b988a9c6239903e786eac19c889fab607c31d6efa7fb2147e5680f23/multidict-6.7.0-cp314-cp314t-win_arm64.whl", hash = "sha256:cc41db090ed742f32bd2d2c721861725e6109681eddf835d0a82bd3a5c382827", size = 44804, upload-time = "2025-10-06T14:51:55.415Z" }, + { url = "https://files.pythonhosted.org/packages/b7/da/7d22601b625e241d4f23ef1ebff8acfc60da633c9e7e7922e24d10f592b3/multidict-6.7.0-py3-none-any.whl", hash = "sha256:394fc5c42a333c9ffc3e421a4c85e08580d990e08b99f6bf35b4132114c5dcb3", size = 12317, upload-time = "2025-10-06T14:52:29.272Z" }, +] + +[[package]] +name = "mypy" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "ast-serialize" }, + { name = "librt", marker = "platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions" }, + { name = "pathspec" }, + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/82/15/cca9d88503549ed6fedeaa1d448cdddd542ee8a490232d732e278036fbf2/mypy-2.1.0.tar.gz", hash = "sha256:81e76ad12c2d804512e9b13240d1588316531bfba07558286078bfbce9613633", size = 3898359, upload-time = "2026-05-11T18:37:36.237Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a4/71/d351dca3e9b30da2328ee9d445c88b8388072808ebfbc49eb69d30b67749/mypy-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:11a6beb180257a805961aea9ec591bbd0bd17f1e18d35b8456d57aee5bedfedc", size = 14778792, upload-time = "2026-05-11T18:36:23.605Z" }, + { url = "https://files.pythonhosted.org/packages/2f/45/7d51594b644c17c0bcf74ed8cd5fc33b324276d708e8506f220b70dab9d9/mypy-2.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8ef78c1d306bbf9a8a12f526c44902c9c28dffd6c52c52bf6a72641ce18d3849", size = 13645739, upload-time = "2026-05-11T18:37:22.752Z" }, + { url = "https://files.pythonhosted.org/packages/65/01/455c31b170e9468265074840bf18863a8482a24103fdaabe4e199392aa5f/mypy-2.1.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c209a90853081ff01d01ee895cafe10f7db1474e0d95beaeef0f6c1db9119bbd", size = 14074199, upload-time = "2026-05-11T18:35:09.292Z" }, + { url = "https://files.pythonhosted.org/packages/41/5a/93093f0b29a9e982deafde698f740a2eb2e05886e79ccf0594c7fd5413a3/mypy-2.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47cebf61abde7c088a4e27718a8b13a81655686b2e9c251f5c0915a802248166", size = 14953128, upload-time = "2026-05-11T18:31:57.678Z" }, + { url = "https://files.pythonhosted.org/packages/7f/2f/a196f5331d96170ad3d28f144d2aba690d4b2911381f68d51e489c7ab82a/mypy-2.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d57a90ae5e872138a425ec328edbc9b235d1934c4377881a33ec05b341acc9a8", size = 15249378, upload-time = "2026-05-11T18:33:00.101Z" }, + { url = "https://files.pythonhosted.org/packages/54/de/94d321cc12da9f71341ac0c270efbed5c725750c7b4c334d957de9a087d9/mypy-2.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:aea7f7a8a55b459c34275fc468ada6ca7c173a5e43a68f5dbe588a563d8a06b8", size = 11060994, upload-time = "2026-05-11T18:33:18.848Z" }, + { url = "https://files.pythonhosted.org/packages/e1/62/0c27ca55219a7c764a7fb88c7bb2b7b2f9780ade8bbf16bc8ed8400eef6b/mypy-2.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:c989640253f0d76843e9c6c1bbf4bd48c5e85ada61bde4beb37cb3eca035685e", size = 9976743, upload-time = "2026-05-11T18:31:25.554Z" }, + { url = "https://files.pythonhosted.org/packages/0a/a1/639f3024794a2a15899cb90707fe02e044c4412794c39c5769fd3df2e2ef/mypy-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a683016b16fe2f572dc04c72be7ee0504ac1605a265d0200f5cea695fb788f41", size = 14691685, upload-time = "2026-05-11T18:33:27.973Z" }, + { url = "https://files.pythonhosted.org/packages/3b/08/9a585dea4325f20d8b80dc78623fa50d1fd2173b710f6237afd6ba6ab39b/mypy-2.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1a293c534adb55271fef24a26da04b855540a8c13cc07bc5917b9fd2c394f2ca", size = 13555165, upload-time = "2026-05-11T18:32:16.107Z" }, + { url = "https://files.pythonhosted.org/packages/81/dc/7c42cc9c6cb01e8eb09961f1f738741d3e9c7e9d5c5b30ec69222625cd5f/mypy-2.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7406f4d048e71e576f5356d317e5b0a9e666dfd966bd99f9d14ca06e1a341538", size = 13994376, upload-time = "2026-05-11T18:32:39.256Z" }, + { url = "https://files.pythonhosted.org/packages/d4/fa/285946c33bce716e082c11dfeee9ee196eaf1f5042efb3581a31f9f205e4/mypy-2.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e0210d626fc8b31ccc90233754c7bc90e1f43205e85d96387f7db1285b55c398", size = 14864618, upload-time = "2026-05-11T18:34:49.765Z" }, + { url = "https://files.pythonhosted.org/packages/2b/83/82397f48af6c27e295d57979ded8490c9829040152cf7571b2f026aeb9a0/mypy-2.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3712c20deed54e814eaaa825603bada8ea1c390670a397c95b98405347acc563", size = 15102063, upload-time = "2026-05-11T18:34:05.855Z" }, + { url = "https://files.pythonhosted.org/packages/40/68/b02dec39057b88eb03dc0aa854732e26e8361f34f9d0e20c7614967d1eba/mypy-2.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:fcaa0e479066e31f7cceb6a3bea39cb22b2ff51a6b2f24f193d19179ba17c389", size = 11060564, upload-time = "2026-05-11T18:35:36.494Z" }, + { url = "https://files.pythonhosted.org/packages/cf/a8/ea3dcbef31f99b634f2ee23bb0321cbc8c1b388b76a861eb849f13c347dc/mypy-2.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:0b1a5260c95aa443083f9ed3592662941951bca3d4ca224a5dc517c38b7cf666", size = 9966983, upload-time = "2026-05-11T18:37:14.139Z" }, + { url = "https://files.pythonhosted.org/packages/95/b1/55861beb5c339b44f9a2ba92df9e2cb1eeb4ae1eee674cdf7772c797778b/mypy-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:244358bf1c0da7722230bce60683d52e8e9fd030554926f15b747a84efb5b3af", size = 14874381, upload-time = "2026-05-11T18:37:31.784Z" }, + { url = "https://files.pythonhosted.org/packages/0b/b3/b7f770114b7d0ac92d0f76e8d93c2780844a70488a90e91821927850da86/mypy-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4ec7c57657493c7a75534df2751c8ae2cda383c16ecc55d2106c54476b1b16f6", size = 13665501, upload-time = "2026-05-11T18:34:23.063Z" }, + { url = "https://files.pythonhosted.org/packages/b6/f3/8ae2037967e2126689a0c11d99e2b707134a565191e92c60ca2572aec60a/mypy-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d8161b6ff4392410023224f0969d17db93e1e154bc3e4ba62598e720723ae211", size = 14045750, upload-time = "2026-05-11T18:31:48.151Z" }, + { url = "https://files.pythonhosted.org/packages/a0/32/615eb5911859e43d054941b0d0a7d06cfa2870eba86529cf385b052b111c/mypy-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf03e12003084a67395184d3eb8cbd6a489dc3655b5664b28c210a9e2403ab0b", size = 15061630, upload-time = "2026-05-11T18:37:06.898Z" }, + { url = "https://files.pythonhosted.org/packages/d4/03/4eafbfff8bfab1b87082741eae6e6a624028c984e6708b73bce2a8570c9d/mypy-2.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:20509760fd791c51579d573153407d226385ec1f8bcce55d730b354f3336bc22", size = 15288831, upload-time = "2026-05-11T18:31:18.07Z" }, + { url = "https://files.pythonhosted.org/packages/99/ee/919661478e5891a3c96e549c036e467e64563ab85995b10c53c8358e16a3/mypy-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:6753d0c1fdd6b1a23b9e4f283ce80b2153b724adcb2653b20b85a8a28ac6436b", size = 11135228, upload-time = "2026-05-11T18:34:31.23Z" }, + { url = "https://files.pythonhosted.org/packages/24/0a/6a12b9782ca0831a553192f351679f4548abc9d19a7cc93bb7feb02084c7/mypy-2.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:98ebb6589bb3b6d0c6f0c459d53ca55b8091fbc13d277c4041c885392e8195e8", size = 10040684, upload-time = "2026-05-11T18:36:48.199Z" }, + { url = "https://files.pythonhosted.org/packages/6e/dd/c7191469c777f07689c032a8f7326e393ea34c92d6d76eb7ce5ba57ea66d/mypy-2.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:35aac3bb114e03888f535d5eb51b8bafbb3266586b599da1940f9b1be3ec5bd5", size = 14852174, upload-time = "2026-05-11T18:31:38.929Z" }, + { url = "https://files.pythonhosted.org/packages/55/8c/aed55408879043d72bb9135f4d0d19a02b886dd569631e113e3d2706cb8d/mypy-2.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8de55a8c861f2a49331f807be98d90caeceeef520bde13d43a160207f8af613e", size = 13651542, upload-time = "2026-05-11T18:36:04.636Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8e/f371a824b1f1fa8ea6e3dbb8703d232977d572be2329554a3bc4d960302f/mypy-2.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5fdf2941a07434af755837d9880f7d7d25f1dacb1af9dcd4b9b66f2220a3024e", size = 14033929, upload-time = "2026-05-11T18:35:55.742Z" }, + { url = "https://files.pythonhosted.org/packages/94/21/f54be870d6dd53a82c674407e0f8eed7174b05ec78d42e5abd7b42e84fd5/mypy-2.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e195b817c13f02352a9c124301f9f30f078405444679b6753c1b96b6eed37285", size = 15039200, upload-time = "2026-05-11T18:33:10.281Z" }, + { url = "https://files.pythonhosted.org/packages/17/99/bf21748626a40ce59fd29a39386ab46afec88b7bd2f0fa6c3a97c995523f/mypy-2.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5431d42af987ebd92ba2f71d45c85ed41d8e6ca9f5fd209a69f68f707d2469e5", size = 15272690, upload-time = "2026-05-11T18:32:07.205Z" }, + { url = "https://files.pythonhosted.org/packages/d6/d7/9e90d2cf47100bea550ed2bc7b0d4de3a62181d84d5e37da0003e8462637/mypy-2.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:767fe8c66dc3e01e19e1737d4c38ebefead16125e1b8e58ad421903b376f5c65", size = 11147435, upload-time = "2026-05-11T18:33:56.477Z" }, + { url = "https://files.pythonhosted.org/packages/ec/46/e5c449e858798e35ffc90946282a27c62a77be743fe17480e4977374eb91/mypy-2.1.0-cp313-cp313-win_arm64.whl", hash = "sha256:ecfe70d43775ab99562ab128ce49854a362044c9f894961f68f898c23cb7429d", size = 10035052, upload-time = "2026-05-11T18:32:30.049Z" }, + { url = "https://files.pythonhosted.org/packages/b0/ca/b279a672e874aedd5498ae25f722dacc8aa86bbffb939b3f97cbb1cf6686/mypy-2.1.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7354c5a7f69d9345c3d6e69921d57088eea3ddeeb6b20d34c1b3855b02c36ec2", size = 14848422, upload-time = "2026-05-11T18:35:45.984Z" }, + { url = "https://files.pythonhosted.org/packages/27/e6/3efe56c631d959b9b4454e208b0ac4b7f4f58b404c89f8bec7b49efdfc21/mypy-2.1.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:49890d4f76ac9e06ec117f9e09f3174da70a620a0c300953d8595c926e80947f", size = 13677374, upload-time = "2026-05-11T18:36:57.188Z" }, + { url = "https://files.pythonhosted.org/packages/84/7f/8107ea87a44fd1f1b59882442f033c9c3488c127201b1d1d15f1cbd6022e/mypy-2.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:761be68e023ef5d94678772396a8af1220030f80837a3afd8d0aef3b419666f4", size = 14055743, upload-time = "2026-05-11T18:35:18.361Z" }, + { url = "https://files.pythonhosted.org/packages/51/4d/b6d34db183133b83761b9199a82d31557cdbb70a380d8c3b3438e11882a3/mypy-2.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c90345fc182dc363b891350457ec69c35140858538f38b4540845afcc32b1aef", size = 15020937, upload-time = "2026-05-11T18:34:59.618Z" }, + { url = "https://files.pythonhosted.org/packages/ff/d7/f08360c691d758acb02f45022c34d98b92892f4ea756644e1000d4b9f3d8/mypy-2.1.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b84802e7b5a6daf1f5e15bc9fcd7ddae77be13981ffab037f1c67bb84d67d135", size = 15253371, upload-time = "2026-05-11T18:36:41.081Z" }, + { url = "https://files.pythonhosted.org/packages/67/1b/09460a13719530a19bce27bd3bc8449e83569dd2ba7faf51c9c3c30c0b61/mypy-2.1.0-cp314-cp314-win_amd64.whl", hash = "sha256:022c771234936ceac541ebaf836fe9e2abeb3f5e09aff21588fe543ff006fe21", size = 11326429, upload-time = "2026-05-11T18:34:13.526Z" }, + { url = "https://files.pythonhosted.org/packages/40/62/75dbf0f82f7b6680340efc614af29dd0b3c17b8a4f1cd09b8bd2fd6bc814/mypy-2.1.0-cp314-cp314-win_arm64.whl", hash = "sha256:498207db725cec88829a6a5c2fc771205fd043719ef98bc49aba8fb9fc4e6d57", size = 10218799, upload-time = "2026-05-11T18:32:23.491Z" }, + { url = "https://files.pythonhosted.org/packages/b2/66/caca04ed7d972fb6eb6dd1ccd6df1de5c38fae8c5b3dc1c4e8e0d85ee6b9/mypy-2.1.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7d5e5cad0efeba72b93cd17490cc0d69c5ac9ca132994fe3fb0314808aeeb83e", size = 15923458, upload-time = "2026-05-11T18:35:28.64Z" }, + { url = "https://files.pythonhosted.org/packages/ed/52/2d90cbe49d014b13ed7ff337930c30bad35893fe38a1e4641e756bb62191/mypy-2.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ff715050c127d724fd260a2e666e7747fdd83511c0c47d449d98238970aef780", size = 14757697, upload-time = "2026-05-11T18:36:14.208Z" }, + { url = "https://files.pythonhosted.org/packages/ac/37/d98f4a14e081b238992d0ed96b6d39c7cc0148c9699eb71eaa68629665ea/mypy-2.1.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:82208da9e09414d520e912d3e462d454854bed0810b71540bb016dcbca7308fd", size = 15405638, upload-time = "2026-05-11T18:33:48.249Z" }, + { url = "https://files.pythonhosted.org/packages/a3/c2/15c46613b24a84fad2aea1248bf9619b99c2767ae9071fe224c179a0b7d4/mypy-2.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e79ebc1b904b84f0310dff7469655a9c36c7a68bddb37bdd42b67a332df61d08", size = 16215852, upload-time = "2026-05-11T18:32:50.296Z" }, + { url = "https://files.pythonhosted.org/packages/5c/90/9c16a57f482c76d25f6379762b56bbf65c711d8158cf271fb2802cfb0640/mypy-2.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e583edc957cfb0deb142079162ae826f58449b116c1d442f2d91c69d9fced081", size = 16452695, upload-time = "2026-05-11T18:33:38.182Z" }, + { url = "https://files.pythonhosted.org/packages/0f/4c/215a4eeb63cacc5f17f516691ea7285d11e249802b942476bff15922a314/mypy-2.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b33b6cd332695bba180d55e717a79d3038e479a2c49cc5eb3d53603409b9a5d7", size = 12866622, upload-time = "2026-05-11T18:34:39.945Z" }, + { url = "https://files.pythonhosted.org/packages/4b/50/1043e1db5f455ffe4c9ab22747cd8ca2bc492b1e4f4e21b130a44ee2b217/mypy-2.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:4f910fe825376a7b66ef7ca8c98e5a149e8cd64c19ae71d84047a74ee060d4e6", size = 10610798, upload-time = "2026-05-11T18:36:31.444Z" }, + { url = "https://files.pythonhosted.org/packages/0d/2a/13ca1f292f6db1b98ff495ef3467736b331621c5917cad984b7043e7348d/mypy-2.1.0-py3-none-any.whl", hash = "sha256:a663814603a5c563fb87a4f96fb473eeb30d1f5a4885afcf44f9db000a366289", size = 2693302, upload-time = "2026-05-11T18:31:29.246Z" }, +] + +[[package]] +name = "mypy-extensions" +version = "1.1.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" }, +] + +[[package]] +name = "numexpr" +version = "2.14.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" }, + { name = "numpy", version = "2.3.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/cb/2f/fdba158c9dbe5caca9c3eca3eaffffb251f2fb8674bf8e2d0aed5f38d319/numexpr-2.14.1.tar.gz", hash = "sha256:4be00b1086c7b7a5c32e31558122b7b80243fe098579b170967da83f3152b48b", size = 119400, upload-time = "2025-10-13T16:17:27.351Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/db/91/ccd504cbe5b88d06987c77f42ba37a13ef05065fdab4afe6dcfeb2961faf/numexpr-2.14.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d0fab3fd06a04f6b86102552b26aa5d85e20ac7d8296c15764c726eeabae6cc8", size = 163200, upload-time = "2025-10-13T16:16:25.47Z" }, + { url = "https://files.pythonhosted.org/packages/f3/89/6b07977baf2af75fb6692f9e7a1fb612a15f600fc921f3f565366de01f4a/numexpr-2.14.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:64ae5dfd62d74a3ef82fe0b37f80527247f3626171ad82025900f46ffca4b39a", size = 152085, upload-time = "2025-10-13T16:16:29.508Z" }, + { url = "https://files.pythonhosted.org/packages/28/c2/c5775541256c4bf16b4d88fa1cffa74a0126703e513093c8774d911b0bb7/numexpr-2.14.1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:955c92b064f9074d2970cf3138f5e3b965be673b82024962ed526f39bc25a920", size = 449435, upload-time = "2025-10-13T16:13:16.257Z" }, + { url = "https://files.pythonhosted.org/packages/34/d4/d1a410901c620f7a6a3c5c2b1fc9dab22170be05a89d2c02ae699e27bd3f/numexpr-2.14.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:75440c54fc01e130396650fdf307aa9d41a67dc06ddbfb288971b591c13a395b", size = 440197, upload-time = "2025-10-13T16:14:44.109Z" }, + { url = "https://files.pythonhosted.org/packages/ac/c8/fa85f0cc5c39db587ba4927b862a92477c017ee8476e415e8120a100457b/numexpr-2.14.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:dde9fa47ed319e1e1728940a539df3cb78326b7754bc7c6ab3152afc91808f9b", size = 1414125, upload-time = "2025-10-13T16:13:19.882Z" }, + { url = "https://files.pythonhosted.org/packages/08/72/a58ddc05e0eabb3fa8d3fcd319f3d97870e6b41520832acfd04a6734c2c0/numexpr-2.14.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:76db0bc6267e591ab9c4df405ffb533598e4c88239db7338d11ae9e4b368a85a", size = 1463041, upload-time = "2025-10-13T16:14:47.502Z" }, + { url = "https://files.pythonhosted.org/packages/c4/c5/bdd1862302bb71a78dba941eaf7060e1274f1cf6af2d1b0f1880bfcb289b/numexpr-2.14.1-cp310-cp310-win32.whl", hash = "sha256:0d1dcbdc4d0374c0d523cee2f94f06b001623cbc1fd163612841017a3495427c", size = 166833, upload-time = "2025-10-13T16:17:03.543Z" }, + { url = "https://files.pythonhosted.org/packages/18/af/26773a246716922794388786529e5640676399efabb0ee217ce034df9d27/numexpr-2.14.1-cp310-cp310-win_amd64.whl", hash = "sha256:823cd82c8e7937981339f634e7a9c6a92cb2d0b9d0a5cf627a5e394fffc05377", size = 160068, upload-time = "2025-10-13T16:17:05.191Z" }, + { url = "https://files.pythonhosted.org/packages/b2/a3/67999bdd1ed1f938d38f3fedd4969632f2f197b090e50505f7cc1fa82510/numexpr-2.14.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2d03fcb4644a12f70a14d74006f72662824da5b6128bf1bcd10cc3ed80e64c34", size = 163195, upload-time = "2025-10-13T16:16:31.212Z" }, + { url = "https://files.pythonhosted.org/packages/25/95/d64f680ea1fc56d165457287e0851d6708800f9fcea346fc1b9957942ee6/numexpr-2.14.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2773ee1133f77009a1fc2f34fe236f3d9823779f5f75450e183137d49f00499f", size = 152088, upload-time = "2025-10-13T16:16:33.186Z" }, + { url = "https://files.pythonhosted.org/packages/0e/7f/3bae417cb13ae08afd86d08bb0301c32440fe0cae4e6262b530e0819aeda/numexpr-2.14.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ebe4980f9494b9f94d10d2e526edc29e72516698d3bf95670ba79415492212a4", size = 451126, upload-time = "2025-10-13T16:13:22.248Z" }, + { url = "https://files.pythonhosted.org/packages/4c/1a/edbe839109518364ac0bd9e918cf874c755bb2c128040e920f198c494263/numexpr-2.14.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2a381e5e919a745c9503bcefffc1c7f98c972c04ec58fc8e999ed1a929e01ba6", size = 442012, upload-time = "2025-10-13T16:14:51.416Z" }, + { url = "https://files.pythonhosted.org/packages/66/b1/be4ce99bff769a5003baddac103f34681997b31d4640d5a75c0e8ed59c78/numexpr-2.14.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d08856cfc1b440eb1caaa60515235369654321995dd68eb9377577392020f6cb", size = 1415975, upload-time = "2025-10-13T16:13:26.088Z" }, + { url = "https://files.pythonhosted.org/packages/e7/33/b33b8fdc032a05d9ebb44a51bfcd4b92c178a2572cd3e6c1b03d8a4b45b2/numexpr-2.14.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:03130afa04edf83a7b590d207444f05a00363c9b9ea5d81c0f53b1ea13fad55a", size = 1464683, upload-time = "2025-10-13T16:14:58.87Z" }, + { url = "https://files.pythonhosted.org/packages/d0/b2/ddcf0ac6cf0a1d605e5aecd4281507fd79a9628a67896795ab2e975de5df/numexpr-2.14.1-cp311-cp311-win32.whl", hash = "sha256:db78fa0c9fcbaded3ae7453faf060bd7a18b0dc10299d7fcd02d9362be1213ed", size = 166838, upload-time = "2025-10-13T16:17:06.765Z" }, + { url = "https://files.pythonhosted.org/packages/64/72/4ca9bd97b2eb6dce9f5e70a3b6acec1a93e1fb9b079cb4cba2cdfbbf295d/numexpr-2.14.1-cp311-cp311-win_amd64.whl", hash = "sha256:e9b2f957798c67a2428be96b04bce85439bed05efe78eb78e4c2ca43737578e7", size = 160069, upload-time = "2025-10-13T16:17:08.752Z" }, + { url = "https://files.pythonhosted.org/packages/9d/20/c473fc04a371f5e2f8c5749e04505c13e7a8ede27c09e9f099b2ad6f43d6/numexpr-2.14.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:91ebae0ab18c799b0e6b8c5a8d11e1fa3848eb4011271d99848b297468a39430", size = 162790, upload-time = "2025-10-13T16:16:34.903Z" }, + { url = "https://files.pythonhosted.org/packages/45/93/b6760dd1904c2a498e5f43d1bb436f59383c3ddea3815f1461dfaa259373/numexpr-2.14.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:47041f2f7b9e69498fb311af672ba914a60e6e6d804011caacb17d66f639e659", size = 152196, upload-time = "2025-10-13T16:16:36.593Z" }, + { url = "https://files.pythonhosted.org/packages/72/94/cc921e35593b820521e464cbbeaf8212bbdb07f16dc79fe283168df38195/numexpr-2.14.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d686dfb2c1382d9e6e0ee0b7647f943c1886dba3adbf606c625479f35f1956c1", size = 452468, upload-time = "2025-10-13T16:13:29.531Z" }, + { url = "https://files.pythonhosted.org/packages/d9/43/560e9ba23c02c904b5934496486d061bcb14cd3ebba2e3cf0e2dccb6c22b/numexpr-2.14.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eee6d4fbbbc368e6cdd0772734d6249128d957b3b8ad47a100789009f4de7083", size = 443631, upload-time = "2025-10-13T16:15:02.473Z" }, + { url = "https://files.pythonhosted.org/packages/7b/6c/78f83b6219f61c2c22d71ab6e6c2d4e5d7381334c6c29b77204e59edb039/numexpr-2.14.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3a2839efa25f3c8d4133252ea7342d8f81226c7c4dda81f97a57e090b9d87a48", size = 1417670, upload-time = "2025-10-13T16:13:33.464Z" }, + { url = "https://files.pythonhosted.org/packages/0e/bb/1ccc9dcaf46281568ce769888bf16294c40e98a5158e4b16c241de31d0d3/numexpr-2.14.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9f9137f1351b310436662b5dc6f4082a245efa8950c3b0d9008028df92fefb9b", size = 1466212, upload-time = "2025-10-13T16:15:12.828Z" }, + { url = "https://files.pythonhosted.org/packages/31/9f/203d82b9e39dadd91d64bca55b3c8ca432e981b822468dcef41a4418626b/numexpr-2.14.1-cp312-cp312-win32.whl", hash = "sha256:36f8d5c1bd1355df93b43d766790f9046cccfc1e32b7c6163f75bcde682cda07", size = 166996, upload-time = "2025-10-13T16:17:10.369Z" }, + { url = "https://files.pythonhosted.org/packages/1f/67/ffe750b5452eb66de788c34e7d21ec6d886abb4d7c43ad1dc88ceb3d998f/numexpr-2.14.1-cp312-cp312-win_amd64.whl", hash = "sha256:fdd886f4b7dbaf167633ee396478f0d0aa58ea2f9e7ccc3c6431019623e8d68f", size = 160187, upload-time = "2025-10-13T16:17:11.974Z" }, + { url = "https://files.pythonhosted.org/packages/73/b4/9f6d637fd79df42be1be29ee7ba1f050fab63b7182cb922a0e08adc12320/numexpr-2.14.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:09078ba73cffe94745abfbcc2d81ab8b4b4e9d7bfbbde6cac2ee5dbf38eee222", size = 162794, upload-time = "2025-10-13T16:16:38.291Z" }, + { url = "https://files.pythonhosted.org/packages/35/ae/d58558d8043de0c49f385ea2fa789e3cfe4d436c96be80200c5292f45f15/numexpr-2.14.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:dce0b5a0447baa7b44bc218ec2d7dcd175b8eee6083605293349c0c1d9b82fb6", size = 152203, upload-time = "2025-10-13T16:16:39.907Z" }, + { url = "https://files.pythonhosted.org/packages/13/65/72b065f9c75baf8f474fd5d2b768350935989d4917db1c6c75b866d4067c/numexpr-2.14.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:06855053de7a3a8425429bd996e8ae3c50b57637ad3e757e0fa0602a7874be30", size = 455860, upload-time = "2025-10-13T16:13:35.811Z" }, + { url = "https://files.pythonhosted.org/packages/fc/f9/c9457652dfe28e2eb898372da2fe786c6db81af9540c0f853ee04a0699cc/numexpr-2.14.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05f9366d23a2e991fd5a8b5e61a17558f028ba86158a4552f8f239b005cdf83c", size = 446574, upload-time = "2025-10-13T16:15:17.367Z" }, + { url = "https://files.pythonhosted.org/packages/b6/99/8d3879c4d67d3db5560cf2de65ce1778b80b75f6fa415eb5c3e7bd37ba27/numexpr-2.14.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:c5f1b1605695778896534dfc6e130d54a65cd52be7ed2cd0cfee3981fd676bf5", size = 1417306, upload-time = "2025-10-13T16:13:42.813Z" }, + { url = "https://files.pythonhosted.org/packages/ea/05/6bddac9f18598ba94281e27a6943093f7d0976544b0cb5d92272c64719bd/numexpr-2.14.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a4ba71db47ea99c659d88ee6233fa77b6dc83392f1d324e0c90ddf617ae3f421", size = 1466145, upload-time = "2025-10-13T16:15:27.464Z" }, + { url = "https://files.pythonhosted.org/packages/24/5d/cbeb67aca0c5a76ead13df7e8bd8dd5e0d49145f90da697ba1d9f07005b0/numexpr-2.14.1-cp313-cp313-win32.whl", hash = "sha256:638dce8320f4a1483d5ca4fda69f60a70ed7e66be6e68bc23fb9f1a6b78a9e3b", size = 166996, upload-time = "2025-10-13T16:17:13.803Z" }, + { url = "https://files.pythonhosted.org/packages/cc/23/9281bceaeb282cead95f0aa5f7f222ffc895670ea689cc1398355f6e3001/numexpr-2.14.1-cp313-cp313-win_amd64.whl", hash = "sha256:9fdcd4735121658a313f878fd31136d1bfc6a5b913219e7274e9fca9f8dac3bb", size = 160189, upload-time = "2025-10-13T16:17:15.417Z" }, + { url = "https://files.pythonhosted.org/packages/f3/76/7aac965fd93a56803cbe502aee2adcad667253ae34b0badf6c5af7908b6c/numexpr-2.14.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:557887ad7f5d3c2a40fd7310e50597045a68e66b20a77b3f44d7bc7608523b4b", size = 163524, upload-time = "2025-10-13T16:16:42.213Z" }, + { url = "https://files.pythonhosted.org/packages/58/65/79d592d5e63fbfab3b59a60c386853d9186a44a3fa3c87ba26bdc25b6195/numexpr-2.14.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:af111c8fe6fc55d15e4c7cab11920fc50740d913636d486545b080192cd0ad73", size = 152919, upload-time = "2025-10-13T16:16:44.229Z" }, + { url = "https://files.pythonhosted.org/packages/84/78/3c8335f713d4aeb99fa758d7c62f0be1482d4947ce5b508e2052bb7aeee9/numexpr-2.14.1-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:33265294376e7e2ae4d264d75b798a915d2acf37b9dd2b9405e8b04f84d05cfc", size = 465972, upload-time = "2025-10-13T16:13:45.061Z" }, + { url = "https://files.pythonhosted.org/packages/35/81/9ee5f69b811e8f18746c12d6f71848617684edd3161927f95eee7a305631/numexpr-2.14.1-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:83647d846d3eeeb9a9255311236135286728b398d0d41d35dedb532dca807fe9", size = 456953, upload-time = "2025-10-13T16:15:31.186Z" }, + { url = "https://files.pythonhosted.org/packages/6d/39/9b8bc6e294d85cbb54a634e47b833e9f3276a8bdf7ce92aa808718a0212d/numexpr-2.14.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6e575fd3ad41ddf3355d0c7ef6bd0168619dc1779a98fe46693cad5e95d25e6e", size = 1426199, upload-time = "2025-10-13T16:13:48.231Z" }, + { url = "https://files.pythonhosted.org/packages/1e/ce/0d4fcd31ab49319740d934fba1734d7dad13aa485532ca754e555ca16c8b/numexpr-2.14.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:67ea4771029ce818573b1998f5ca416bd255156feea017841b86176a938f7d19", size = 1474214, upload-time = "2025-10-13T16:15:38.893Z" }, + { url = "https://files.pythonhosted.org/packages/b7/47/b2a93cbdb3ba4e009728ad1b9ef1550e2655ea2c86958ebaf03b9615f275/numexpr-2.14.1-cp313-cp313t-win32.whl", hash = "sha256:15015d47d3d1487072d58c0e7682ef2eb608321e14099c39d52e2dd689483611", size = 167676, upload-time = "2025-10-13T16:17:17.351Z" }, + { url = "https://files.pythonhosted.org/packages/86/99/ee3accc589ed032eea68e12172515ed96a5568534c213ad109e1f4411df1/numexpr-2.14.1-cp313-cp313t-win_amd64.whl", hash = "sha256:94c711f6d8f17dfb4606842b403699603aa591ab9f6bf23038b488ea9cfb0f09", size = 161096, upload-time = "2025-10-13T16:17:19.174Z" }, + { url = "https://files.pythonhosted.org/packages/ac/36/9db78dfbfdfa1f8bf0872993f1a334cdd8fca5a5b6567e47dcb128bcb7c2/numexpr-2.14.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:ede79f7ff06629f599081de644546ce7324f1581c09b0ac174da88a470d39c21", size = 162848, upload-time = "2025-10-13T16:16:46.216Z" }, + { url = "https://files.pythonhosted.org/packages/13/c1/a5c78ae637402c5550e2e0ba175275d2515d432ec28af0cdc23c9b476e65/numexpr-2.14.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:2eac7a5a2f70b3768c67056445d1ceb4ecd9b853c8eda9563823b551aeaa5082", size = 152270, upload-time = "2025-10-13T16:16:47.92Z" }, + { url = "https://files.pythonhosted.org/packages/9a/ed/aabd8678077848dd9a751c5558c2057839f5a09e2a176d8dfcd0850ee00e/numexpr-2.14.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5aedf38d4c0c19d3cecfe0334c3f4099fb496f54c146223d30fa930084bc8574", size = 455918, upload-time = "2025-10-13T16:13:50.338Z" }, + { url = "https://files.pythonhosted.org/packages/88/e1/3db65117f02cdefb0e5e4c440daf1c30beb45051b7f47aded25b7f4f2f34/numexpr-2.14.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:439ec4d57b853792ebe5456e3160312281c3a7071ecac5532ded3278ede614de", size = 446512, upload-time = "2025-10-13T16:15:42.313Z" }, + { url = "https://files.pythonhosted.org/packages/9a/fb/7ceb9ee55b5f67e4a3e4d73d5af4c7e37e3c9f37f54bee90361b64b17e3f/numexpr-2.14.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e23b87f744e04e302d82ac5e2189ae20a533566aec76a46885376e20b0645bf8", size = 1417845, upload-time = "2025-10-13T16:13:53.836Z" }, + { url = "https://files.pythonhosted.org/packages/45/2d/9b5764d0eafbbb2889288f80de773791358acf6fad1a55767538d8b79599/numexpr-2.14.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:44f84e0e5af219dbb62a081606156420815890e041b87252fbcea5df55214c4c", size = 1466211, upload-time = "2025-10-13T16:15:48.985Z" }, + { url = "https://files.pythonhosted.org/packages/5d/21/204db708eccd71aa8bc55bcad55bc0fc6c5a4e01ad78e14ee5714a749386/numexpr-2.14.1-cp314-cp314-win32.whl", hash = "sha256:1f1a5e817c534539351aa75d26088e9e1e0ef1b3a6ab484047618a652ccc4fc3", size = 168835, upload-time = "2025-10-13T16:17:20.82Z" }, + { url = "https://files.pythonhosted.org/packages/4f/3e/d83e9401a1c3449a124f7d4b3fb44084798e0d30f7c11e60712d9b94cf11/numexpr-2.14.1-cp314-cp314-win_amd64.whl", hash = "sha256:587c41509bc373dfb1fe6086ba55a73147297247bedb6d588cda69169fc412f2", size = 162608, upload-time = "2025-10-13T16:17:22.228Z" }, + { url = "https://files.pythonhosted.org/packages/7f/d6/ec947806bb57836d6379a8c8a253c2aeaa602b12fef2336bfd2462bb4ed5/numexpr-2.14.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:ec368819502b64f190c3f71be14a304780b5935c42aae5bf22c27cc2cbba70b5", size = 163525, upload-time = "2025-10-13T16:16:50.133Z" }, + { url = "https://files.pythonhosted.org/packages/0d/77/048f30dcf661a3d52963a88c29b52b6d5ce996d38e9313a56a922451c1e0/numexpr-2.14.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7e87f6d203ac57239de32261c941e9748f9309cbc0da6295eabd0c438b920d3a", size = 152917, upload-time = "2025-10-13T16:16:52.055Z" }, + { url = "https://files.pythonhosted.org/packages/9e/d3/956a13e628d722d649fbf2fded615134a308c082e122a48bad0e90a99ce9/numexpr-2.14.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dd72d8c2a165fe45ea7650b16eb8cc1792a94a722022006bb97c86fe51fd2091", size = 466242, upload-time = "2025-10-13T16:13:55.795Z" }, + { url = "https://files.pythonhosted.org/packages/d6/dd/abe848678d82486940892f2cacf39e82eec790e8930d4d713d3f9191063b/numexpr-2.14.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:70d80fcb418a54ca208e9a38e58ddc425c07f66485176b261d9a67c7f2864f73", size = 457149, upload-time = "2025-10-13T16:15:52.036Z" }, + { url = "https://files.pythonhosted.org/packages/fd/bb/797b583b5fb9da5700a5708ca6eb4f889c94d81abb28de4d642c0f4b3258/numexpr-2.14.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:edea2f20c2040df8b54ee8ca8ebda63de9545b2112872466118e9df4d0ae99f3", size = 1426493, upload-time = "2025-10-13T16:13:59.244Z" }, + { url = "https://files.pythonhosted.org/packages/77/c4/0519ab028fdc35e3e7ee700def7f2b4631b175cd9e1202bd7966c1695c33/numexpr-2.14.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:790447be6879a6c51b9545f79612d24c9ea0a41d537a84e15e6a8ddef0b6268e", size = 1474413, upload-time = "2025-10-13T16:15:59.211Z" }, + { url = "https://files.pythonhosted.org/packages/d4/4a/33044878c8f4a75213cfe9c11d4c02058bb710a7a063fe14f362e8de1077/numexpr-2.14.1-cp314-cp314t-win32.whl", hash = "sha256:538961096c2300ea44240209181e31fae82759d26b51713b589332b9f2a4117e", size = 169502, upload-time = "2025-10-13T16:17:23.829Z" }, + { url = "https://files.pythonhosted.org/packages/41/a2/5a1a2c72528b429337f49911b18c302ecd36eeab00f409147e1aa4ae4519/numexpr-2.14.1-cp314-cp314t-win_amd64.whl", hash = "sha256:a40b350cd45b4446076fa11843fa32bbe07024747aeddf6d467290bf9011b392", size = 163589, upload-time = "2025-10-13T16:17:25.696Z" }, +] + +[[package]] +name = "numpy" +version = "2.2.6" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.11' and platform_python_implementation != 'PyPy'", + "python_full_version < '3.11' and platform_python_implementation == 'PyPy'", +] +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.3.4" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15' and platform_python_implementation == 'PyPy'", + "python_full_version == '3.14.*' and platform_python_implementation == 'PyPy'", + "python_full_version == '3.13.*' and platform_python_implementation == 'PyPy'", + "python_full_version >= '3.15' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.14.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.13.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.12.*' and platform_python_implementation == 'PyPy'", + "python_full_version == '3.12.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.11.*' and platform_python_implementation != 'PyPy'", + "python_full_version == '3.11.*' and platform_python_implementation == 'PyPy'", +] +sdist = { url = "https://files.pythonhosted.org/packages/b5/f4/098d2270d52b41f1bd7db9fc288aaa0400cb48c2a3e2af6fa365d9720947/numpy-2.3.4.tar.gz", hash = "sha256:a7d018bfedb375a8d979ac758b120ba846a7fe764911a64465fd87b8729f4a6a", size = 20582187, upload-time = "2025-10-15T16:18:11.77Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/60/e7/0e07379944aa8afb49a556a2b54587b828eb41dc9adc56fb7615b678ca53/numpy-2.3.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e78aecd2800b32e8347ce49316d3eaf04aed849cd5b38e0af39f829a4e59f5eb", size = 21259519, upload-time = "2025-10-15T16:15:19.012Z" }, + { url = "https://files.pythonhosted.org/packages/d0/cb/5a69293561e8819b09e34ed9e873b9a82b5f2ade23dce4c51dc507f6cfe1/numpy-2.3.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7fd09cc5d65bda1e79432859c40978010622112e9194e581e3415a3eccc7f43f", size = 14452796, upload-time = "2025-10-15T16:15:23.094Z" }, + { url = "https://files.pythonhosted.org/packages/e4/04/ff11611200acd602a1e5129e36cfd25bf01ad8e5cf927baf2e90236eb02e/numpy-2.3.4-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:1b219560ae2c1de48ead517d085bc2d05b9433f8e49d0955c82e8cd37bd7bf36", size = 5381639, upload-time = "2025-10-15T16:15:25.572Z" }, + { url = "https://files.pythonhosted.org/packages/ea/77/e95c757a6fe7a48d28a009267408e8aa382630cc1ad1db7451b3bc21dbb4/numpy-2.3.4-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:bafa7d87d4c99752d07815ed7a2c0964f8ab311eb8168f41b910bd01d15b6032", size = 6914296, upload-time = "2025-10-15T16:15:27.079Z" }, + { url = "https://files.pythonhosted.org/packages/a3/d2/137c7b6841c942124eae921279e5c41b1c34bab0e6fc60c7348e69afd165/numpy-2.3.4-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:36dc13af226aeab72b7abad501d370d606326a0029b9f435eacb3b8c94b8a8b7", size = 14591904, upload-time = "2025-10-15T16:15:29.044Z" }, + { url = "https://files.pythonhosted.org/packages/bb/32/67e3b0f07b0aba57a078c4ab777a9e8e6bc62f24fb53a2337f75f9691699/numpy-2.3.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a7b2f9a18b5ff9824a6af80de4f37f4ec3c2aab05ef08f51c77a093f5b89adda", size = 16939602, upload-time = "2025-10-15T16:15:31.106Z" }, + { url = "https://files.pythonhosted.org/packages/95/22/9639c30e32c93c4cee3ccdb4b09c2d0fbff4dcd06d36b357da06146530fb/numpy-2.3.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9984bd645a8db6ca15d850ff996856d8762c51a2239225288f08f9050ca240a0", size = 16372661, upload-time = "2025-10-15T16:15:33.546Z" }, + { url = "https://files.pythonhosted.org/packages/12/e9/a685079529be2b0156ae0c11b13d6be647743095bb51d46589e95be88086/numpy-2.3.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:64c5825affc76942973a70acf438a8ab618dbd692b84cd5ec40a0a0509edc09a", size = 18884682, upload-time = "2025-10-15T16:15:36.105Z" }, + { url = "https://files.pythonhosted.org/packages/cf/85/f6f00d019b0cc741e64b4e00ce865a57b6bed945d1bbeb1ccadbc647959b/numpy-2.3.4-cp311-cp311-win32.whl", hash = "sha256:ed759bf7a70342f7817d88376eb7142fab9fef8320d6019ef87fae05a99874e1", size = 6570076, upload-time = "2025-10-15T16:15:38.225Z" }, + { url = "https://files.pythonhosted.org/packages/7d/10/f8850982021cb90e2ec31990291f9e830ce7d94eef432b15066e7cbe0bec/numpy-2.3.4-cp311-cp311-win_amd64.whl", hash = "sha256:faba246fb30ea2a526c2e9645f61612341de1a83fb1e0c5edf4ddda5a9c10996", size = 13089358, upload-time = "2025-10-15T16:15:40.404Z" }, + { url = "https://files.pythonhosted.org/packages/d1/ad/afdd8351385edf0b3445f9e24210a9c3971ef4de8fd85155462fc4321d79/numpy-2.3.4-cp311-cp311-win_arm64.whl", hash = "sha256:4c01835e718bcebe80394fd0ac66c07cbb90147ebbdad3dcecd3f25de2ae7e2c", size = 10462292, upload-time = "2025-10-15T16:15:42.896Z" }, + { url = "https://files.pythonhosted.org/packages/96/7a/02420400b736f84317e759291b8edaeee9dc921f72b045475a9cbdb26b17/numpy-2.3.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ef1b5a3e808bc40827b5fa2c8196151a4c5abe110e1726949d7abddfe5c7ae11", size = 20957727, upload-time = "2025-10-15T16:15:44.9Z" }, + { url = "https://files.pythonhosted.org/packages/18/90/a014805d627aa5750f6f0e878172afb6454552da929144b3c07fcae1bb13/numpy-2.3.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c2f91f496a87235c6aaf6d3f3d89b17dba64996abadccb289f48456cff931ca9", size = 14187262, upload-time = "2025-10-15T16:15:47.761Z" }, + { url = "https://files.pythonhosted.org/packages/c7/e4/0a94b09abe89e500dc748e7515f21a13e30c5c3fe3396e6d4ac108c25fca/numpy-2.3.4-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:f77e5b3d3da652b474cc80a14084927a5e86a5eccf54ca8ca5cbd697bf7f2667", size = 5115992, upload-time = "2025-10-15T16:15:50.144Z" }, + { url = "https://files.pythonhosted.org/packages/88/dd/db77c75b055c6157cbd4f9c92c4458daef0dd9cbe6d8d2fe7f803cb64c37/numpy-2.3.4-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:8ab1c5f5ee40d6e01cbe96de5863e39b215a4d24e7d007cad56c7184fdf4aeef", size = 6648672, upload-time = "2025-10-15T16:15:52.442Z" }, + { url = "https://files.pythonhosted.org/packages/e1/e6/e31b0d713719610e406c0ea3ae0d90760465b086da8783e2fd835ad59027/numpy-2.3.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:77b84453f3adcb994ddbd0d1c5d11db2d6bda1a2b7fd5ac5bd4649d6f5dc682e", size = 14284156, upload-time = "2025-10-15T16:15:54.351Z" }, + { url = "https://files.pythonhosted.org/packages/f9/58/30a85127bfee6f108282107caf8e06a1f0cc997cb6b52cdee699276fcce4/numpy-2.3.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4121c5beb58a7f9e6dfdee612cb24f4df5cd4db6e8261d7f4d7450a997a65d6a", size = 16641271, upload-time = "2025-10-15T16:15:56.67Z" }, + { url = "https://files.pythonhosted.org/packages/06/f2/2e06a0f2adf23e3ae29283ad96959267938d0efd20a2e25353b70065bfec/numpy-2.3.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:65611ecbb00ac9846efe04db15cbe6186f562f6bb7e5e05f077e53a599225d16", size = 16059531, upload-time = "2025-10-15T16:15:59.412Z" }, + { url = "https://files.pythonhosted.org/packages/b0/e7/b106253c7c0d5dc352b9c8fab91afd76a93950998167fa3e5afe4ef3a18f/numpy-2.3.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:dabc42f9c6577bcc13001b8810d300fe814b4cfbe8a92c873f269484594f9786", size = 18578983, upload-time = "2025-10-15T16:16:01.804Z" }, + { url = "https://files.pythonhosted.org/packages/73/e3/04ecc41e71462276ee867ccbef26a4448638eadecf1bc56772c9ed6d0255/numpy-2.3.4-cp312-cp312-win32.whl", hash = "sha256:a49d797192a8d950ca59ee2d0337a4d804f713bb5c3c50e8db26d49666e351dc", size = 6291380, upload-time = "2025-10-15T16:16:03.938Z" }, + { url = "https://files.pythonhosted.org/packages/3d/a8/566578b10d8d0e9955b1b6cd5db4e9d4592dd0026a941ff7994cedda030a/numpy-2.3.4-cp312-cp312-win_amd64.whl", hash = "sha256:985f1e46358f06c2a09921e8921e2c98168ed4ae12ccd6e5e87a4f1857923f32", size = 12787999, upload-time = "2025-10-15T16:16:05.801Z" }, + { url = "https://files.pythonhosted.org/packages/58/22/9c903a957d0a8071b607f5b1bff0761d6e608b9a965945411f867d515db1/numpy-2.3.4-cp312-cp312-win_arm64.whl", hash = "sha256:4635239814149e06e2cb9db3dd584b2fa64316c96f10656983b8026a82e6e4db", size = 10197412, upload-time = "2025-10-15T16:16:07.854Z" }, + { url = "https://files.pythonhosted.org/packages/57/7e/b72610cc91edf138bc588df5150957a4937221ca6058b825b4725c27be62/numpy-2.3.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c090d4860032b857d94144d1a9976b8e36709e40386db289aaf6672de2a81966", size = 20950335, upload-time = "2025-10-15T16:16:10.304Z" }, + { url = "https://files.pythonhosted.org/packages/3e/46/bdd3370dcea2f95ef14af79dbf81e6927102ddf1cc54adc0024d61252fd9/numpy-2.3.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a13fc473b6db0be619e45f11f9e81260f7302f8d180c49a22b6e6120022596b3", size = 14179878, upload-time = "2025-10-15T16:16:12.595Z" }, + { url = "https://files.pythonhosted.org/packages/ac/01/5a67cb785bda60f45415d09c2bc245433f1c68dd82eef9c9002c508b5a65/numpy-2.3.4-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:3634093d0b428e6c32c3a69b78e554f0cd20ee420dcad5a9f3b2a63762ce4197", size = 5108673, upload-time = "2025-10-15T16:16:14.877Z" }, + { url = "https://files.pythonhosted.org/packages/c2/cd/8428e23a9fcebd33988f4cb61208fda832800ca03781f471f3727a820704/numpy-2.3.4-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:043885b4f7e6e232d7df4f51ffdef8c36320ee9d5f227b380ea636722c7ed12e", size = 6641438, upload-time = "2025-10-15T16:16:16.805Z" }, + { url = "https://files.pythonhosted.org/packages/3e/d1/913fe563820f3c6b079f992458f7331278dcd7ba8427e8e745af37ddb44f/numpy-2.3.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4ee6a571d1e4f0ea6d5f22d6e5fbd6ed1dc2b18542848e1e7301bd190500c9d7", size = 14281290, upload-time = "2025-10-15T16:16:18.764Z" }, + { url = "https://files.pythonhosted.org/packages/9e/7e/7d306ff7cb143e6d975cfa7eb98a93e73495c4deabb7d1b5ecf09ea0fd69/numpy-2.3.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fc8a63918b04b8571789688b2780ab2b4a33ab44bfe8ccea36d3eba51228c953", size = 16636543, upload-time = "2025-10-15T16:16:21.072Z" }, + { url = "https://files.pythonhosted.org/packages/47/6a/8cfc486237e56ccfb0db234945552a557ca266f022d281a2f577b98e955c/numpy-2.3.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:40cc556d5abbc54aabe2b1ae287042d7bdb80c08edede19f0c0afb36ae586f37", size = 16056117, upload-time = "2025-10-15T16:16:23.369Z" }, + { url = "https://files.pythonhosted.org/packages/b1/0e/42cb5e69ea901e06ce24bfcc4b5664a56f950a70efdcf221f30d9615f3f3/numpy-2.3.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ecb63014bb7f4ce653f8be7f1df8cbc6093a5a2811211770f6606cc92b5a78fd", size = 18577788, upload-time = "2025-10-15T16:16:27.496Z" }, + { url = "https://files.pythonhosted.org/packages/86/92/41c3d5157d3177559ef0a35da50f0cda7fa071f4ba2306dd36818591a5bc/numpy-2.3.4-cp313-cp313-win32.whl", hash = "sha256:e8370eb6925bb8c1c4264fec52b0384b44f675f191df91cbe0140ec9f0955646", size = 6282620, upload-time = "2025-10-15T16:16:29.811Z" }, + { url = "https://files.pythonhosted.org/packages/09/97/fd421e8bc50766665ad35536c2bb4ef916533ba1fdd053a62d96cc7c8b95/numpy-2.3.4-cp313-cp313-win_amd64.whl", hash = "sha256:56209416e81a7893036eea03abcb91c130643eb14233b2515c90dcac963fe99d", size = 12784672, upload-time = "2025-10-15T16:16:31.589Z" }, + { url = "https://files.pythonhosted.org/packages/ad/df/5474fb2f74970ca8eb978093969b125a84cc3d30e47f82191f981f13a8a0/numpy-2.3.4-cp313-cp313-win_arm64.whl", hash = "sha256:a700a4031bc0fd6936e78a752eefb79092cecad2599ea9c8039c548bc097f9bc", size = 10196702, upload-time = "2025-10-15T16:16:33.902Z" }, + { url = "https://files.pythonhosted.org/packages/11/83/66ac031464ec1767ea3ed48ce40f615eb441072945e98693bec0bcd056cc/numpy-2.3.4-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:86966db35c4040fdca64f0816a1c1dd8dbd027d90fca5a57e00e1ca4cd41b879", size = 21049003, upload-time = "2025-10-15T16:16:36.101Z" }, + { url = "https://files.pythonhosted.org/packages/5f/99/5b14e0e686e61371659a1d5bebd04596b1d72227ce36eed121bb0aeab798/numpy-2.3.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:838f045478638b26c375ee96ea89464d38428c69170360b23a1a50fa4baa3562", size = 14302980, upload-time = "2025-10-15T16:16:39.124Z" }, + { url = "https://files.pythonhosted.org/packages/2c/44/e9486649cd087d9fc6920e3fc3ac2aba10838d10804b1e179fb7cbc4e634/numpy-2.3.4-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:d7315ed1dab0286adca467377c8381cd748f3dc92235f22a7dfc42745644a96a", size = 5231472, upload-time = "2025-10-15T16:16:41.168Z" }, + { url = "https://files.pythonhosted.org/packages/3e/51/902b24fa8887e5fe2063fd61b1895a476d0bbf46811ab0c7fdf4bd127345/numpy-2.3.4-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:84f01a4d18b2cc4ade1814a08e5f3c907b079c847051d720fad15ce37aa930b6", size = 6739342, upload-time = "2025-10-15T16:16:43.777Z" }, + { url = "https://files.pythonhosted.org/packages/34/f1/4de9586d05b1962acdcdb1dc4af6646361a643f8c864cef7c852bf509740/numpy-2.3.4-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:817e719a868f0dacde4abdfc5c1910b301877970195db9ab6a5e2c4bd5b121f7", size = 14354338, upload-time = "2025-10-15T16:16:46.081Z" }, + { url = "https://files.pythonhosted.org/packages/1f/06/1c16103b425de7969d5a76bdf5ada0804b476fed05d5f9e17b777f1cbefd/numpy-2.3.4-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:85e071da78d92a214212cacea81c6da557cab307f2c34b5f85b628e94803f9c0", size = 16702392, upload-time = "2025-10-15T16:16:48.455Z" }, + { url = "https://files.pythonhosted.org/packages/34/b2/65f4dc1b89b5322093572b6e55161bb42e3e0487067af73627f795cc9d47/numpy-2.3.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:2ec646892819370cf3558f518797f16597b4e4669894a2ba712caccc9da53f1f", size = 16134998, upload-time = "2025-10-15T16:16:51.114Z" }, + { url = "https://files.pythonhosted.org/packages/d4/11/94ec578896cdb973aaf56425d6c7f2aff4186a5c00fac15ff2ec46998b46/numpy-2.3.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:035796aaaddfe2f9664b9a9372f089cfc88bd795a67bd1bfe15e6e770934cf64", size = 18651574, upload-time = "2025-10-15T16:16:53.429Z" }, + { url = "https://files.pythonhosted.org/packages/62/b7/7efa763ab33dbccf56dade36938a77345ce8e8192d6b39e470ca25ff3cd0/numpy-2.3.4-cp313-cp313t-win32.whl", hash = "sha256:fea80f4f4cf83b54c3a051f2f727870ee51e22f0248d3114b8e755d160b38cfb", size = 6413135, upload-time = "2025-10-15T16:16:55.992Z" }, + { url = "https://files.pythonhosted.org/packages/43/70/aba4c38e8400abcc2f345e13d972fb36c26409b3e644366db7649015f291/numpy-2.3.4-cp313-cp313t-win_amd64.whl", hash = "sha256:15eea9f306b98e0be91eb344a94c0e630689ef302e10c2ce5f7e11905c704f9c", size = 12928582, upload-time = "2025-10-15T16:16:57.943Z" }, + { url = "https://files.pythonhosted.org/packages/67/63/871fad5f0073fc00fbbdd7232962ea1ac40eeaae2bba66c76214f7954236/numpy-2.3.4-cp313-cp313t-win_arm64.whl", hash = "sha256:b6c231c9c2fadbae4011ca5e7e83e12dc4a5072f1a1d85a0a7b3ed754d145a40", size = 10266691, upload-time = "2025-10-15T16:17:00.048Z" }, + { url = "https://files.pythonhosted.org/packages/72/71/ae6170143c115732470ae3a2d01512870dd16e0953f8a6dc89525696069b/numpy-2.3.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:81c3e6d8c97295a7360d367f9f8553973651b76907988bb6066376bc2252f24e", size = 20955580, upload-time = "2025-10-15T16:17:02.509Z" }, + { url = "https://files.pythonhosted.org/packages/af/39/4be9222ffd6ca8a30eda033d5f753276a9c3426c397bb137d8e19dedd200/numpy-2.3.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:7c26b0b2bf58009ed1f38a641f3db4be8d960a417ca96d14e5b06df1506d41ff", size = 14188056, upload-time = "2025-10-15T16:17:04.873Z" }, + { url = "https://files.pythonhosted.org/packages/6c/3d/d85f6700d0a4aa4f9491030e1021c2b2b7421b2b38d01acd16734a2bfdc7/numpy-2.3.4-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:62b2198c438058a20b6704351b35a1d7db881812d8512d67a69c9de1f18ca05f", size = 5116555, upload-time = "2025-10-15T16:17:07.499Z" }, + { url = "https://files.pythonhosted.org/packages/bf/04/82c1467d86f47eee8a19a464c92f90a9bb68ccf14a54c5224d7031241ffb/numpy-2.3.4-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:9d729d60f8d53a7361707f4b68a9663c968882dd4f09e0d58c044c8bf5faee7b", size = 6643581, upload-time = "2025-10-15T16:17:09.774Z" }, + { url = "https://files.pythonhosted.org/packages/0c/d3/c79841741b837e293f48bd7db89d0ac7a4f2503b382b78a790ef1dc778a5/numpy-2.3.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bd0c630cf256b0a7fd9d0a11c9413b42fef5101219ce6ed5a09624f5a65392c7", size = 14299186, upload-time = "2025-10-15T16:17:11.937Z" }, + { url = "https://files.pythonhosted.org/packages/e8/7e/4a14a769741fbf237eec5a12a2cbc7a4c4e061852b6533bcb9e9a796c908/numpy-2.3.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5e081bc082825f8b139f9e9fe42942cb4054524598aaeb177ff476cc76d09d2", size = 16638601, upload-time = "2025-10-15T16:17:14.391Z" }, + { url = "https://files.pythonhosted.org/packages/93/87/1c1de269f002ff0a41173fe01dcc925f4ecff59264cd8f96cf3b60d12c9b/numpy-2.3.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:15fb27364ed84114438fff8aaf998c9e19adbeba08c0b75409f8c452a8692c52", size = 16074219, upload-time = "2025-10-15T16:17:17.058Z" }, + { url = "https://files.pythonhosted.org/packages/cd/28/18f72ee77408e40a76d691001ae599e712ca2a47ddd2c4f695b16c65f077/numpy-2.3.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:85d9fb2d8cd998c84d13a79a09cc0c1091648e848e4e6249b0ccd7f6b487fa26", size = 18576702, upload-time = "2025-10-15T16:17:19.379Z" }, + { url = "https://files.pythonhosted.org/packages/c3/76/95650169b465ececa8cf4b2e8f6df255d4bf662775e797ade2025cc51ae6/numpy-2.3.4-cp314-cp314-win32.whl", hash = "sha256:e73d63fd04e3a9d6bc187f5455d81abfad05660b212c8804bf3b407e984cd2bc", size = 6337136, upload-time = "2025-10-15T16:17:22.886Z" }, + { url = "https://files.pythonhosted.org/packages/dc/89/a231a5c43ede5d6f77ba4a91e915a87dea4aeea76560ba4d2bf185c683f0/numpy-2.3.4-cp314-cp314-win_amd64.whl", hash = "sha256:3da3491cee49cf16157e70f607c03a217ea6647b1cea4819c4f48e53d49139b9", size = 12920542, upload-time = "2025-10-15T16:17:24.783Z" }, + { url = "https://files.pythonhosted.org/packages/0d/0c/ae9434a888f717c5ed2ff2393b3f344f0ff6f1c793519fa0c540461dc530/numpy-2.3.4-cp314-cp314-win_arm64.whl", hash = "sha256:6d9cd732068e8288dbe2717177320723ccec4fb064123f0caf9bbd90ab5be868", size = 10480213, upload-time = "2025-10-15T16:17:26.935Z" }, + { url = "https://files.pythonhosted.org/packages/83/4b/c4a5f0841f92536f6b9592694a5b5f68c9ab37b775ff342649eadf9055d3/numpy-2.3.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:22758999b256b595cf0b1d102b133bb61866ba5ceecf15f759623b64c020c9ec", size = 21052280, upload-time = "2025-10-15T16:17:29.638Z" }, + { url = "https://files.pythonhosted.org/packages/3e/80/90308845fc93b984d2cc96d83e2324ce8ad1fd6efea81b324cba4b673854/numpy-2.3.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:9cb177bc55b010b19798dc5497d540dea67fd13a8d9e882b2dae71de0cf09eb3", size = 14302930, upload-time = "2025-10-15T16:17:32.384Z" }, + { url = "https://files.pythonhosted.org/packages/3d/4e/07439f22f2a3b247cec4d63a713faae55e1141a36e77fb212881f7cda3fb/numpy-2.3.4-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:0f2bcc76f1e05e5ab58893407c63d90b2029908fa41f9f1cc51eecce936c3365", size = 5231504, upload-time = "2025-10-15T16:17:34.515Z" }, + { url = "https://files.pythonhosted.org/packages/ab/de/1e11f2547e2fe3d00482b19721855348b94ada8359aef5d40dd57bfae9df/numpy-2.3.4-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:8dc20bde86802df2ed8397a08d793da0ad7a5fd4ea3ac85d757bf5dd4ad7c252", size = 6739405, upload-time = "2025-10-15T16:17:36.128Z" }, + { url = "https://files.pythonhosted.org/packages/3b/40/8cd57393a26cebe2e923005db5134a946c62fa56a1087dc7c478f3e30837/numpy-2.3.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5e199c087e2aa71c8f9ce1cb7a8e10677dc12457e7cc1be4798632da37c3e86e", size = 14354866, upload-time = "2025-10-15T16:17:38.884Z" }, + { url = "https://files.pythonhosted.org/packages/93/39/5b3510f023f96874ee6fea2e40dfa99313a00bf3ab779f3c92978f34aace/numpy-2.3.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:85597b2d25ddf655495e2363fe044b0ae999b75bc4d630dc0d886484b03a5eb0", size = 16703296, upload-time = "2025-10-15T16:17:41.564Z" }, + { url = "https://files.pythonhosted.org/packages/41/0d/19bb163617c8045209c1996c4e427bccbc4bbff1e2c711f39203c8ddbb4a/numpy-2.3.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:04a69abe45b49c5955923cf2c407843d1c85013b424ae8a560bba16c92fe44a0", size = 16136046, upload-time = "2025-10-15T16:17:43.901Z" }, + { url = "https://files.pythonhosted.org/packages/e2/c1/6dba12fdf68b02a21ac411c9df19afa66bed2540f467150ca64d246b463d/numpy-2.3.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e1708fac43ef8b419c975926ce1eaf793b0c13b7356cfab6ab0dc34c0a02ac0f", size = 18652691, upload-time = "2025-10-15T16:17:46.247Z" }, + { url = "https://files.pythonhosted.org/packages/f8/73/f85056701dbbbb910c51d846c58d29fd46b30eecd2b6ba760fc8b8a1641b/numpy-2.3.4-cp314-cp314t-win32.whl", hash = "sha256:863e3b5f4d9915aaf1b8ec79ae560ad21f0b8d5e3adc31e73126491bb86dee1d", size = 6485782, upload-time = "2025-10-15T16:17:48.872Z" }, + { url = "https://files.pythonhosted.org/packages/17/90/28fa6f9865181cb817c2471ee65678afa8a7e2a1fb16141473d5fa6bacc3/numpy-2.3.4-cp314-cp314t-win_amd64.whl", hash = "sha256:962064de37b9aef801d33bc579690f8bfe6c5e70e29b61783f60bcba838a14d6", size = 13113301, upload-time = "2025-10-15T16:17:50.938Z" }, + { url = "https://files.pythonhosted.org/packages/54/23/08c002201a8e7e1f9afba93b97deceb813252d9cfd0d3351caed123dcf97/numpy-2.3.4-cp314-cp314t-win_arm64.whl", hash = "sha256:8b5a9a39c45d852b62693d9b3f3e0fe052541f804296ff401a72a1b60edafb29", size = 10547532, upload-time = "2025-10-15T16:17:53.48Z" }, + { url = "https://files.pythonhosted.org/packages/b1/b6/64898f51a86ec88ca1257a59c1d7fd077b60082a119affefcdf1dd0df8ca/numpy-2.3.4-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:6e274603039f924c0fe5cb73438fa9246699c78a6df1bd3decef9ae592ae1c05", size = 21131552, upload-time = "2025-10-15T16:17:55.845Z" }, + { url = "https://files.pythonhosted.org/packages/ce/4c/f135dc6ebe2b6a3c77f4e4838fa63d350f85c99462012306ada1bd4bc460/numpy-2.3.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:d149aee5c72176d9ddbc6803aef9c0f6d2ceeea7626574fc68518da5476fa346", size = 14377796, upload-time = "2025-10-15T16:17:58.308Z" }, + { url = "https://files.pythonhosted.org/packages/d0/a4/f33f9c23fcc13dd8412fc8614559b5b797e0aba9d8e01dfa8bae10c84004/numpy-2.3.4-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:6d34ed9db9e6395bb6cd33286035f73a59b058169733a9db9f85e650b88df37e", size = 5306904, upload-time = "2025-10-15T16:18:00.596Z" }, + { url = "https://files.pythonhosted.org/packages/28/af/c44097f25f834360f9fb960fa082863e0bad14a42f36527b2a121abdec56/numpy-2.3.4-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:fdebe771ca06bb8d6abce84e51dca9f7921fe6ad34a0c914541b063e9a68928b", size = 6819682, upload-time = "2025-10-15T16:18:02.32Z" }, + { url = "https://files.pythonhosted.org/packages/c5/8c/cd283b54c3c2b77e188f63e23039844f56b23bba1712318288c13fe86baf/numpy-2.3.4-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:957e92defe6c08211eb77902253b14fe5b480ebc5112bc741fd5e9cd0608f847", size = 14422300, upload-time = "2025-10-15T16:18:04.271Z" }, + { url = "https://files.pythonhosted.org/packages/b0/f0/8404db5098d92446b3e3695cf41c6f0ecb703d701cb0b7566ee2177f2eee/numpy-2.3.4-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:13b9062e4f5c7ee5c7e5be96f29ba71bc5a37fed3d1d77c37390ae00724d296d", size = 16760806, upload-time = "2025-10-15T16:18:06.668Z" }, + { url = "https://files.pythonhosted.org/packages/95/8e/2844c3959ce9a63acc7c8e50881133d86666f0420bcde695e115ced0920f/numpy-2.3.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:81b3a59793523e552c4a96109dde028aa4448ae06ccac5a76ff6532a85558a7f", size = 12973130, upload-time = "2025-10-15T16:18:09.397Z" }, +] + +[[package]] +name = "ollama" +version = "0.6.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "httpx" }, + { name = "pydantic" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d6/47/f9ee32467fe92744474a8c72e138113f3b529fc266eea76abfdec9a33f3b/ollama-0.6.0.tar.gz", hash = "sha256:da2b2d846b5944cfbcee1ca1e6ee0585f6c9d45a2fe9467cbcd096a37383da2f", size = 50811, upload-time = "2025-09-24T22:46:02.417Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b5/c1/edc9f41b425ca40b26b7c104c5f6841a4537bb2552bfa6ca66e81405bb95/ollama-0.6.0-py3-none-any.whl", hash = "sha256:534511b3ccea2dff419ae06c3b58d7f217c55be7897c8ce5868dfb6b219cf7a0", size = 14130, upload-time = "2025-09-24T22:46:01.19Z" }, +] + +[[package]] +name = "openai" +version = "2.26.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "anyio" }, + { name = "distro" }, + { name = "httpx" }, + { name = "jiter" }, + { name = "pydantic" }, + { name = "sniffio" }, + { name = "tqdm" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/d7/91/2a06c4e9597c338cac1e5e5a8dd6f29e1836fc229c4c523529dca387fda8/openai-2.26.0.tar.gz", hash = "sha256:b41f37c140ae0034a6e92b0c509376d907f3a66109935fba2c1b471a7c05a8fb", size = 666702, upload-time = "2026-03-05T23:17:35.874Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c6/2e/3f73e8ca53718952222cacd0cf7eecc9db439d020f0c1fe7ae717e4e199a/openai-2.26.0-py3-none-any.whl", hash = "sha256:6151bf8f83802f036117f06cc8a57b3a4da60da9926826cc96747888b57f394f", size = 1136409, upload-time = "2026-03-05T23:17:34.072Z" }, +] + +[[package]] +name = "opentelemetry-api" +version = "1.38.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "importlib-metadata" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/08/d8/0f354c375628e048bd0570645b310797299754730079853095bf000fba69/opentelemetry_api-1.38.0.tar.gz", hash = "sha256:f4c193b5e8acb0912b06ac5b16321908dd0843d75049c091487322284a3eea12", size = 65242, upload-time = "2025-10-16T08:35:50.25Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ae/a2/d86e01c28300bd41bab8f18afd613676e2bd63515417b77636fc1add426f/opentelemetry_api-1.38.0-py3-none-any.whl", hash = "sha256:2891b0197f47124454ab9f0cf58f3be33faca394457ac3e09daba13ff50aa582", size = 65947, upload-time = "2025-10-16T08:35:30.23Z" }, +] + +[[package]] +name = "orjson" +version = "3.11.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/70/a3/4e09c61a5f0c521cba0bb433639610ae037437669f1a4cbc93799e731d78/orjson-3.11.6.tar.gz", hash = "sha256:0a54c72259f35299fd033042367df781c2f66d10252955ca1efb7db309b954cb", size = 6175856, upload-time = "2026-01-29T15:13:07.942Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/30/3c/098ed0e49c565fdf1ccc6a75b190115d1ca74148bf5b6ab036554a550650/orjson-3.11.6-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:a613fc37e007143d5b6286dccb1394cd114b07832417006a02b620ddd8279e37", size = 250411, upload-time = "2026-01-29T15:11:17.941Z" }, + { url = "https://files.pythonhosted.org/packages/15/7c/cb11a360fd228ceebade03b1e8e9e138dd4b1b3b11602b72dbdad915aded/orjson-3.11.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:46ebee78f709d3ba7a65384cfe285bb0763157c6d2f836e7bde2f12d33a867a2", size = 138147, upload-time = "2026-01-29T15:11:19.659Z" }, + { url = "https://files.pythonhosted.org/packages/4e/4b/e57b5c45ffe69fbef7cbd56e9f40e2dc0d5de920caafefcc6981d1a7efc5/orjson-3.11.6-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a726fa86d2368cd57990f2bd95ef5495a6e613b08fc9585dfe121ec758fb08d1", size = 135110, upload-time = "2026-01-29T15:11:21.231Z" }, + { url = "https://files.pythonhosted.org/packages/b0/6e/4f21c6256f8cee3c0c69926cf7ac821cfc36f218512eedea2e2dc4a490c8/orjson-3.11.6-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:150f12e59d6864197770c78126e1a6e07a3da73d1728731bf3bc1e8b96ffdbe6", size = 140995, upload-time = "2026-01-29T15:11:22.902Z" }, + { url = "https://files.pythonhosted.org/packages/d0/78/92c36205ba2f6094ba1eea60c8e646885072abe64f155196833988c14b74/orjson-3.11.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a2d9746a5b5ce20c0908ada451eb56da4ffa01552a50789a0354d8636a02953", size = 144435, upload-time = "2026-01-29T15:11:24.124Z" }, + { url = "https://files.pythonhosted.org/packages/4d/52/1b518d164005811eb3fea92650e76e7d9deadb0b41e92c483373b1e82863/orjson-3.11.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:afd177f5dd91666d31e9019f1b06d2fcdf8a409a1637ddcb5915085dede85680", size = 142734, upload-time = "2026-01-29T15:11:25.708Z" }, + { url = "https://files.pythonhosted.org/packages/4b/11/60ea7885a2b7c1bf60ed8b5982356078a73785bd3bab392041a5bcf8de7c/orjson-3.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d777ec41a327bd3b7de97ba7bce12cc1007815ca398e4e4de9ec56c022c090b", size = 145802, upload-time = "2026-01-29T15:11:26.917Z" }, + { url = "https://files.pythonhosted.org/packages/41/7f/15a927e7958fd4f7560fb6dbb9346bee44a168e40168093c46020d866098/orjson-3.11.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f3a135f83185c87c13ff231fcb7dbb2fa4332a376444bd65135b50ff4cc5265c", size = 147504, upload-time = "2026-01-29T15:11:28.07Z" }, + { url = "https://files.pythonhosted.org/packages/66/1f/cabb9132a533f4f913e29294d0a1ca818b1a9a52e990526fe3f7ddd75f1c/orjson-3.11.6-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:2a8eeed7d4544cf391a142b0dd06029dac588e96cc692d9ab1c3f05b1e57c7f6", size = 421408, upload-time = "2026-01-29T15:11:29.314Z" }, + { url = "https://files.pythonhosted.org/packages/4c/b9/09bda9257a982e300313e4a9fc9b9c3aaff424d07bcf765bf045e4e3ed03/orjson-3.11.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:9d576865a21e5cc6695be8fb78afc812079fd361ce6a027a7d41561b61b33a90", size = 155801, upload-time = "2026-01-29T15:11:30.575Z" }, + { url = "https://files.pythonhosted.org/packages/98/19/4e40ea3e5f4c6a8d51f31fd2382351ee7b396fecca915b17cd1af588175b/orjson-3.11.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:925e2df51f60aa50f8797830f2adfc05330425803f4105875bb511ced98b7f89", size = 147647, upload-time = "2026-01-29T15:11:31.856Z" }, + { url = "https://files.pythonhosted.org/packages/5a/73/ef4bd7dd15042cf33a402d16b87b9e969e71edb452b63b6e2b05025d1f7d/orjson-3.11.6-cp310-cp310-win32.whl", hash = "sha256:09dded2de64e77ac0b312ad59f35023548fb87393a57447e1bb36a26c181a90f", size = 139770, upload-time = "2026-01-29T15:11:33.031Z" }, + { url = "https://files.pythonhosted.org/packages/b4/ac/daab6e10467f7fffd7081ba587b492505b49313130ff5446a6fe28bf076e/orjson-3.11.6-cp310-cp310-win_amd64.whl", hash = "sha256:3a63b5e7841ca8635214c6be7c0bf0246aa8c5cd4ef0c419b14362d0b2fb13de", size = 136783, upload-time = "2026-01-29T15:11:34.686Z" }, + { url = "https://files.pythonhosted.org/packages/f3/fd/d6b0a36854179b93ed77839f107c4089d91cccc9f9ba1b752b6e3bac5f34/orjson-3.11.6-cp311-cp311-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:e259e85a81d76d9665f03d6129e09e4435531870de5961ddcd0bf6e3a7fde7d7", size = 250029, upload-time = "2026-01-29T15:11:35.942Z" }, + { url = "https://files.pythonhosted.org/packages/a3/bb/22902619826641cf3b627c24aab62e2ad6b571bdd1d34733abb0dd57f67a/orjson-3.11.6-cp311-cp311-macosx_15_0_arm64.whl", hash = "sha256:52263949f41b4a4822c6b1353bcc5ee2f7109d53a3b493501d3369d6d0e7937a", size = 134518, upload-time = "2026-01-29T15:11:37.347Z" }, + { url = "https://files.pythonhosted.org/packages/72/90/7a818da4bba1de711a9653c420749c0ac95ef8f8651cbc1dca551f462fe0/orjson-3.11.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6439e742fa7834a24698d358a27346bb203bff356ae0402e7f5df8f749c621a8", size = 137917, upload-time = "2026-01-29T15:11:38.511Z" }, + { url = "https://files.pythonhosted.org/packages/59/0f/02846c1cac8e205cb3822dd8aa8f9114acda216f41fd1999ace6b543418d/orjson-3.11.6-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b81ffd68f084b4e993e3867acb554a049fa7787cc8710bbcc1e26965580d99be", size = 134923, upload-time = "2026-01-29T15:11:39.711Z" }, + { url = "https://files.pythonhosted.org/packages/94/cf/aeaf683001b474bb3c3c757073a4231dfdfe8467fceaefa5bfd40902c99f/orjson-3.11.6-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a5a5468e5e60f7ef6d7f9044b06c8f94a3c56ba528c6e4f7f06ae95164b595ec", size = 140752, upload-time = "2026-01-29T15:11:41.347Z" }, + { url = "https://files.pythonhosted.org/packages/fc/fe/dad52d8315a65f084044a0819d74c4c9daf9ebe0681d30f525b0d29a31f0/orjson-3.11.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:72c5005eb45bd2535632d4f3bec7ad392832cfc46b62a3021da3b48a67734b45", size = 144201, upload-time = "2026-01-29T15:11:42.537Z" }, + { url = "https://files.pythonhosted.org/packages/36/bc/ab070dd421565b831801077f1e390c4d4af8bfcecafc110336680a33866b/orjson-3.11.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0b14dd49f3462b014455a28a4d810d3549bf990567653eb43765cd847df09145", size = 142380, upload-time = "2026-01-29T15:11:44.309Z" }, + { url = "https://files.pythonhosted.org/packages/e6/d8/4b581c725c3a308717f28bf45a9fdac210bca08b67e8430143699413ff06/orjson-3.11.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e0bb2c1ea30ef302f0f89f9bf3e7f9ab5e2af29dc9f80eb87aa99788e4e2d65", size = 145582, upload-time = "2026-01-29T15:11:45.506Z" }, + { url = "https://files.pythonhosted.org/packages/5b/a2/09aab99b39f9a7f175ea8fa29adb9933a3d01e7d5d603cdee7f1c40c8da2/orjson-3.11.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:825e0a85d189533c6bff7e2fc417a28f6fcea53d27125c4551979aecd6c9a197", size = 147270, upload-time = "2026-01-29T15:11:46.782Z" }, + { url = "https://files.pythonhosted.org/packages/b8/2f/5ef8eaf7829dc50da3bf497c7775b21ee88437bc8c41f959aa3504ca6631/orjson-3.11.6-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:b04575417a26530637f6ab4b1f7b4f666eb0433491091da4de38611f97f2fcf3", size = 421222, upload-time = "2026-01-29T15:11:48.106Z" }, + { url = "https://files.pythonhosted.org/packages/3b/b0/dd6b941294c2b5b13da5fdc7e749e58d0c55a5114ab37497155e83050e95/orjson-3.11.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b83eb2e40e8c4da6d6b340ee6b1d6125f5195eb1b0ebb7eac23c6d9d4f92d224", size = 155562, upload-time = "2026-01-29T15:11:49.408Z" }, + { url = "https://files.pythonhosted.org/packages/8e/09/43924331a847476ae2f9a16bd6d3c9dab301265006212ba0d3d7fd58763a/orjson-3.11.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1f42da604ee65a6b87eef858c913ce3e5777872b19321d11e6fc6d21de89b64f", size = 147432, upload-time = "2026-01-29T15:11:50.635Z" }, + { url = "https://files.pythonhosted.org/packages/5d/e9/d9865961081816909f6b49d880749dbbd88425afd7c5bbce0549e2290d77/orjson-3.11.6-cp311-cp311-win32.whl", hash = "sha256:5ae45df804f2d344cffb36c43fdf03c82fb6cd247f5faa41e21891b40dfbf733", size = 139623, upload-time = "2026-01-29T15:11:51.82Z" }, + { url = "https://files.pythonhosted.org/packages/b4/f9/6836edb92f76eec1082919101eb1145d2f9c33c8f2c5e6fa399b82a2aaa8/orjson-3.11.6-cp311-cp311-win_amd64.whl", hash = "sha256:f4295948d65ace0a2d8f2c4ccc429668b7eb8af547578ec882e16bf79b0050b2", size = 136647, upload-time = "2026-01-29T15:11:53.454Z" }, + { url = "https://files.pythonhosted.org/packages/b3/0c/4954082eea948c9ae52ee0bcbaa2f99da3216a71bcc314ab129bde22e565/orjson-3.11.6-cp311-cp311-win_arm64.whl", hash = "sha256:314e9c45e0b81b547e3a1cfa3df3e07a815821b3dac9fe8cb75014071d0c16a4", size = 135327, upload-time = "2026-01-29T15:11:56.616Z" }, + { url = "https://files.pythonhosted.org/packages/14/ba/759f2879f41910b7e5e0cdbd9cf82a4f017c527fb0e972e9869ca7fe4c8e/orjson-3.11.6-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:6f03f30cd8953f75f2a439070c743c7336d10ee940da918d71c6f3556af3ddcf", size = 249988, upload-time = "2026-01-29T15:11:58.294Z" }, + { url = "https://files.pythonhosted.org/packages/f0/70/54cecb929e6c8b10104fcf580b0cc7dc551aa193e83787dd6f3daba28bb5/orjson-3.11.6-cp312-cp312-macosx_15_0_arm64.whl", hash = "sha256:af44baae65ef386ad971469a8557a0673bb042b0b9fd4397becd9c2dfaa02588", size = 134445, upload-time = "2026-01-29T15:11:59.819Z" }, + { url = "https://files.pythonhosted.org/packages/f2/6f/ec0309154457b9ba1ad05f11faa4441f76037152f75e1ac577db3ce7ca96/orjson-3.11.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c310a48542094e4f7dbb6ac076880994986dda8ca9186a58c3cb70a3514d3231", size = 137708, upload-time = "2026-01-29T15:12:01.488Z" }, + { url = "https://files.pythonhosted.org/packages/20/52/3c71b80840f8bab9cb26417302707b7716b7d25f863f3a541bcfa232fe6e/orjson-3.11.6-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d8dfa7a5d387f15ecad94cb6b2d2d5f4aeea64efd8d526bfc03c9812d01e1cc0", size = 134798, upload-time = "2026-01-29T15:12:02.705Z" }, + { url = "https://files.pythonhosted.org/packages/30/51/b490a43b22ff736282360bd02e6bded455cf31dfc3224e01cd39f919bbd2/orjson-3.11.6-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba8daee3e999411b50f8b50dbb0a3071dd1845f3f9a1a0a6fa6de86d1689d84d", size = 140839, upload-time = "2026-01-29T15:12:03.956Z" }, + { url = "https://files.pythonhosted.org/packages/95/bc/4bcfe4280c1bc63c5291bb96f98298845b6355da2226d3400e17e7b51e53/orjson-3.11.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f89d104c974eafd7436d7a5fdbc57f7a1e776789959a2f4f1b2eab5c62a339f4", size = 144080, upload-time = "2026-01-29T15:12:05.151Z" }, + { url = "https://files.pythonhosted.org/packages/01/74/22970f9ead9ab1f1b5f8c227a6c3aa8d71cd2c5acd005868a1d44f2362fa/orjson-3.11.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2e2e2456788ca5ea75616c40da06fc885a7dc0389780e8a41bf7c5389ba257b", size = 142435, upload-time = "2026-01-29T15:12:06.641Z" }, + { url = "https://files.pythonhosted.org/packages/29/34/d564aff85847ab92c82ee43a7a203683566c2fca0723a5f50aebbe759603/orjson-3.11.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2a42efebc45afabb1448001e90458c4020d5c64fbac8a8dc4045b777db76cb5a", size = 145631, upload-time = "2026-01-29T15:12:08.351Z" }, + { url = "https://files.pythonhosted.org/packages/e7/ef/016957a3890752c4aa2368326ea69fa53cdc1fdae0a94a542b6410dbdf52/orjson-3.11.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:71b7cbef8471324966c3738c90ba38775563ef01b512feb5ad4805682188d1b9", size = 147058, upload-time = "2026-01-29T15:12:10.023Z" }, + { url = "https://files.pythonhosted.org/packages/56/cc/9a899c3972085645b3225569f91a30e221f441e5dc8126e6d060b971c252/orjson-3.11.6-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f8515e5910f454fe9a8e13c2bb9dc4bae4c1836313e967e72eb8a4ad874f0248", size = 421161, upload-time = "2026-01-29T15:12:11.308Z" }, + { url = "https://files.pythonhosted.org/packages/21/a8/767d3fbd6d9b8fdee76974db40619399355fd49bf91a6dd2c4b6909ccf05/orjson-3.11.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:300360edf27c8c9bf7047345a94fddf3a8b8922df0ff69d71d854a170cb375cf", size = 155757, upload-time = "2026-01-29T15:12:12.776Z" }, + { url = "https://files.pythonhosted.org/packages/ad/0b/205cd69ac87e2272e13ef3f5f03a3d4657e317e38c1b08aaa2ef97060bbc/orjson-3.11.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:caaed4dad39e271adfadc106fab634d173b2bb23d9cf7e67bd645f879175ebfc", size = 147446, upload-time = "2026-01-29T15:12:14.166Z" }, + { url = "https://files.pythonhosted.org/packages/de/c5/dd9f22aa9f27c54c7d05cc32f4580c9ac9b6f13811eeb81d6c4c3f50d6b1/orjson-3.11.6-cp312-cp312-win32.whl", hash = "sha256:955368c11808c89793e847830e1b1007503a5923ddadc108547d3b77df761044", size = 139717, upload-time = "2026-01-29T15:12:15.7Z" }, + { url = "https://files.pythonhosted.org/packages/23/a1/e62fc50d904486970315a1654b8cfb5832eb46abb18cd5405118e7e1fc79/orjson-3.11.6-cp312-cp312-win_amd64.whl", hash = "sha256:2c68de30131481150073d90a5d227a4a421982f42c025ecdfb66157f9579e06f", size = 136711, upload-time = "2026-01-29T15:12:17.055Z" }, + { url = "https://files.pythonhosted.org/packages/04/3d/b4fefad8bdf91e0fe212eb04975aeb36ea92997269d68857efcc7eb1dda3/orjson-3.11.6-cp312-cp312-win_arm64.whl", hash = "sha256:65dfa096f4e3a5e02834b681f539a87fbe85adc82001383c0db907557f666bfc", size = 135212, upload-time = "2026-01-29T15:12:18.3Z" }, + { url = "https://files.pythonhosted.org/packages/ae/45/d9c71c8c321277bc1ceebf599bc55ba826ae538b7c61f287e9a7e71bd589/orjson-3.11.6-cp313-cp313-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:e4ae1670caabb598a88d385798692ce2a1b2f078971b3329cfb85253c6097f5b", size = 249828, upload-time = "2026-01-29T15:12:20.14Z" }, + { url = "https://files.pythonhosted.org/packages/ac/7e/4afcf4cfa9c2f93846d70eee9c53c3c0123286edcbeb530b7e9bd2aea1b2/orjson-3.11.6-cp313-cp313-macosx_15_0_arm64.whl", hash = "sha256:2c6b81f47b13dac2caa5d20fbc953c75eb802543abf48403a4703ed3bff225f0", size = 134339, upload-time = "2026-01-29T15:12:22.01Z" }, + { url = "https://files.pythonhosted.org/packages/40/10/6d2b8a064c8d2411d3d0ea6ab43125fae70152aef6bea77bb50fa54d4097/orjson-3.11.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:647d6d034e463764e86670644bdcaf8e68b076e6e74783383b01085ae9ab334f", size = 137662, upload-time = "2026-01-29T15:12:23.307Z" }, + { url = "https://files.pythonhosted.org/packages/5a/50/5804ea7d586baf83ee88969eefda97a24f9a5bdba0727f73e16305175b26/orjson-3.11.6-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8523b9cc4ef174ae52414f7699e95ee657c16aa18b3c3c285d48d7966cce9081", size = 134626, upload-time = "2026-01-29T15:12:25.099Z" }, + { url = "https://files.pythonhosted.org/packages/9e/2e/f0492ed43e376722bb4afd648e06cc1e627fc7ec8ff55f6ee739277813ea/orjson-3.11.6-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:313dfd7184cde50c733fc0d5c8c0e2f09017b573afd11dc36bd7476b30b4cb17", size = 140873, upload-time = "2026-01-29T15:12:26.369Z" }, + { url = "https://files.pythonhosted.org/packages/10/15/6f874857463421794a303a39ac5494786ad46a4ab46d92bda6705d78c5aa/orjson-3.11.6-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905ee036064ff1e1fd1fb800055ac477cdcb547a78c22c1bc2bbf8d5d1a6fb42", size = 144044, upload-time = "2026-01-29T15:12:28.082Z" }, + { url = "https://files.pythonhosted.org/packages/d2/c7/b7223a3a70f1d0cc2d86953825de45f33877ee1b124a91ca1f79aa6e643f/orjson-3.11.6-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ce374cb98411356ba906914441fc993f271a7a666d838d8de0e0900dd4a4bc12", size = 142396, upload-time = "2026-01-29T15:12:30.529Z" }, + { url = "https://files.pythonhosted.org/packages/87/e3/aa1b6d3ad3cd80f10394134f73ae92a1d11fdbe974c34aa199cc18bb5fcf/orjson-3.11.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cded072b9f65fcfd188aead45efa5bd528ba552add619b3ad2a81f67400ec450", size = 145600, upload-time = "2026-01-29T15:12:31.848Z" }, + { url = "https://files.pythonhosted.org/packages/f6/cf/e4aac5a46cbd39d7e769ef8650efa851dfce22df1ba97ae2b33efe893b12/orjson-3.11.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7ab85bdbc138e1f73a234db6bb2e4cc1f0fcec8f4bd2bd2430e957a01aadf746", size = 146967, upload-time = "2026-01-29T15:12:33.203Z" }, + { url = "https://files.pythonhosted.org/packages/0b/04/975b86a4bcf6cfeda47aad15956d52fbeda280811206e9967380fa9355c8/orjson-3.11.6-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:351b96b614e3c37a27b8ab048239ebc1e0be76cc17481a430d70a77fb95d3844", size = 421003, upload-time = "2026-01-29T15:12:35.097Z" }, + { url = "https://files.pythonhosted.org/packages/28/d1/0369d0baf40eea5ff2300cebfe209883b2473ab4aa4c4974c8bd5ee42bb2/orjson-3.11.6-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:f9959c85576beae5cdcaaf39510b15105f1ee8b70d5dacd90152617f57be8c83", size = 155695, upload-time = "2026-01-29T15:12:36.589Z" }, + { url = "https://files.pythonhosted.org/packages/ab/1f/d10c6d6ae26ff1d7c3eea6fd048280ef2e796d4fb260c5424fd021f68ecf/orjson-3.11.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:75682d62b1b16b61a30716d7a2ec1f4c36195de4a1c61f6665aedd947b93a5d5", size = 147392, upload-time = "2026-01-29T15:12:37.876Z" }, + { url = "https://files.pythonhosted.org/packages/8d/43/7479921c174441a0aa5277c313732e20713c0969ac303be9f03d88d3db5d/orjson-3.11.6-cp313-cp313-win32.whl", hash = "sha256:40dc277999c2ef227dcc13072be879b4cfd325502daeb5c35ed768f706f2bf30", size = 139718, upload-time = "2026-01-29T15:12:39.274Z" }, + { url = "https://files.pythonhosted.org/packages/88/bc/9ffe7dfbf8454bc4e75bb8bf3a405ed9e0598df1d3535bb4adcd46be07d0/orjson-3.11.6-cp313-cp313-win_amd64.whl", hash = "sha256:f0f6e9f8ff7905660bc3c8a54cd4a675aa98f7f175cf00a59815e2ff42c0d916", size = 136635, upload-time = "2026-01-29T15:12:40.593Z" }, + { url = "https://files.pythonhosted.org/packages/6f/7e/51fa90b451470447ea5023b20d83331ec741ae28d1e6d8ed547c24e7de14/orjson-3.11.6-cp313-cp313-win_arm64.whl", hash = "sha256:1608999478664de848e5900ce41f25c4ecdfc4beacbc632b6fd55e1a586e5d38", size = 135175, upload-time = "2026-01-29T15:12:41.997Z" }, + { url = "https://files.pythonhosted.org/packages/31/9f/46ca908abaeeec7560638ff20276ab327b980d73b3cc2f5b205b4a1c60b3/orjson-3.11.6-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:6026db2692041d2a23fe2545606df591687787825ad5821971ef0974f2c47630", size = 249823, upload-time = "2026-01-29T15:12:43.332Z" }, + { url = "https://files.pythonhosted.org/packages/ff/78/ca478089818d18c9cd04f79c43f74ddd031b63c70fa2a946eb5e85414623/orjson-3.11.6-cp314-cp314-macosx_15_0_arm64.whl", hash = "sha256:132b0ab2e20c73afa85cf142e547511feb3d2f5b7943468984658f3952b467d4", size = 134328, upload-time = "2026-01-29T15:12:45.171Z" }, + { url = "https://files.pythonhosted.org/packages/39/5e/cbb9d830ed4e47f4375ad8eef8e4fff1bf1328437732c3809054fc4e80be/orjson-3.11.6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b376fb05f20a96ec117d47987dd3b39265c635725bda40661b4c5b73b77b5fde", size = 137651, upload-time = "2026-01-29T15:12:46.602Z" }, + { url = "https://files.pythonhosted.org/packages/7c/3a/35df6558c5bc3a65ce0961aefee7f8364e59af78749fc796ea255bfa0cf5/orjson-3.11.6-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:954dae4e080574672a1dfcf2a840eddef0f27bd89b0e94903dd0824e9c1db060", size = 134596, upload-time = "2026-01-29T15:12:47.95Z" }, + { url = "https://files.pythonhosted.org/packages/cd/8e/3d32dd7b7f26a19cc4512d6ed0ae3429567c71feef720fe699ff43c5bc9e/orjson-3.11.6-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe515bb89d59e1e4b48637a964f480b35c0a2676de24e65e55310f6016cca7ce", size = 140923, upload-time = "2026-01-29T15:12:49.333Z" }, + { url = "https://files.pythonhosted.org/packages/6c/9c/1efbf5c99b3304f25d6f0d493a8d1492ee98693637c10ce65d57be839d7b/orjson-3.11.6-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:380f9709c275917af28feb086813923251e11ee10687257cd7f1ea188bcd4485", size = 144068, upload-time = "2026-01-29T15:12:50.927Z" }, + { url = "https://files.pythonhosted.org/packages/82/83/0d19eeb5be797de217303bbb55dde58dba26f996ed905d301d98fd2d4637/orjson-3.11.6-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8173e0d3f6081e7034c51cf984036d02f6bab2a2126de5a759d79f8e5a140e7", size = 142493, upload-time = "2026-01-29T15:12:52.432Z" }, + { url = "https://files.pythonhosted.org/packages/32/a7/573fec3df4dc8fc259b7770dc6c0656f91adce6e19330c78d23f87945d1e/orjson-3.11.6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dddf9ba706294906c56ef5150a958317b09aa3a8a48df1c52ccf22ec1907eac", size = 145616, upload-time = "2026-01-29T15:12:53.903Z" }, + { url = "https://files.pythonhosted.org/packages/c2/0e/23551b16f21690f7fd5122e3cf40fdca5d77052a434d0071990f97f5fe2f/orjson-3.11.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:cbae5c34588dc79938dffb0b6fbe8c531f4dc8a6ad7f39759a9eb5d2da405ef2", size = 146951, upload-time = "2026-01-29T15:12:55.698Z" }, + { url = "https://files.pythonhosted.org/packages/b8/63/5e6c8f39805c39123a18e412434ea364349ee0012548d08aa586e2bd6aa9/orjson-3.11.6-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:f75c318640acbddc419733b57f8a07515e587a939d8f54363654041fd1f4e465", size = 421024, upload-time = "2026-01-29T15:12:57.434Z" }, + { url = "https://files.pythonhosted.org/packages/1d/4d/724975cf0087f6550bd01fd62203418afc0ea33fd099aed318c5bcc52df8/orjson-3.11.6-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:e0ab8d13aa2a3e98b4a43487c9205b2c92c38c054b4237777484d503357c8437", size = 155774, upload-time = "2026-01-29T15:12:59.397Z" }, + { url = "https://files.pythonhosted.org/packages/a8/a3/f4c4e3f46b55db29e0a5f20493b924fc791092d9a03ff2068c9fe6c1002f/orjson-3.11.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f884c7fb1020d44612bd7ac0db0babba0e2f78b68d9a650c7959bf99c783773f", size = 147393, upload-time = "2026-01-29T15:13:00.769Z" }, + { url = "https://files.pythonhosted.org/packages/ee/86/6f5529dd27230966171ee126cecb237ed08e9f05f6102bfaf63e5b32277d/orjson-3.11.6-cp314-cp314-win32.whl", hash = "sha256:8d1035d1b25732ec9f971e833a3e299d2b1a330236f75e6fd945ad982c76aaf3", size = 139760, upload-time = "2026-01-29T15:13:02.173Z" }, + { url = "https://files.pythonhosted.org/packages/d3/b5/91ae7037b2894a6b5002fb33f4fbccec98424a928469835c3837fbb22a9b/orjson-3.11.6-cp314-cp314-win_amd64.whl", hash = "sha256:931607a8865d21682bb72de54231655c86df1870502d2962dbfd12c82890d077", size = 136633, upload-time = "2026-01-29T15:13:04.267Z" }, + { url = "https://files.pythonhosted.org/packages/55/74/f473a3ec7a0a7ebc825ca8e3c86763f7d039f379860c81ba12dcdd456547/orjson-3.11.6-cp314-cp314-win_arm64.whl", hash = "sha256:fe71f6b283f4f1832204ab8235ce07adad145052614f77c876fcf0dac97bc06f", size = 135168, upload-time = "2026-01-29T15:13:05.932Z" }, +] + +[[package]] +name = "ormsgpack" +version = "1.12.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/6c/67/d5ef41c3b4a94400be801984ef7c7fc9623e1a82b643e74eeec367e7462b/ormsgpack-1.12.0.tar.gz", hash = "sha256:94be818fdbb0285945839b88763b269987787cb2f7ef280cad5d6ec815b7e608", size = 49959, upload-time = "2025-11-04T18:30:10.083Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4d/0c/8f45fcd22c95190b05d4fba71375d8f783a9e3b0b6aaf476812b693e3868/ormsgpack-1.12.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:e08904c232358b94a682ccfbb680bc47d3fd5c424bb7dccb65974dd20c95e8e1", size = 369156, upload-time = "2025-11-04T18:29:17.629Z" }, + { url = "https://files.pythonhosted.org/packages/d2/f8/c7adc093d4ceb05e38786906815f868210f808326c27f8124b4d9466a26b/ormsgpack-1.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b9ed7a4b0037d69c8ba7e670e03ee65ae8d5c5114a409e73c5770d7fb5e4b895", size = 195743, upload-time = "2025-11-04T18:29:18.964Z" }, + { url = "https://files.pythonhosted.org/packages/fe/b8/bf002648fa6c150ed6157837b00303edafb35f65c352429463f83214de18/ormsgpack-1.12.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:db2928525b684f3f2af0367aef7ae8d20cde37fc5349c700017129d493a755aa", size = 206472, upload-time = "2025-11-04T18:29:19.951Z" }, + { url = "https://files.pythonhosted.org/packages/23/d6/1f445947c95a931bb189b7864a3f9dcbeebe7dcbc1b3c7387427b3779228/ormsgpack-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45f911d9c5b23d11e49ff03fc8f9566745a2b1a7d9033733a1c0a2fa9301cd60", size = 207959, upload-time = "2025-11-04T18:29:21.282Z" }, + { url = "https://files.pythonhosted.org/packages/5c/9c/dd8ccd7553a5c1d0b4b69a0541611983a2f9bc2e8c5708a4bfffc0100468/ormsgpack-1.12.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:98c54ae6fd682b2aceb264505af9b2255f3df9d84e6e4369bc44d2110f1f311d", size = 377659, upload-time = "2025-11-04T18:29:22.561Z" }, + { url = "https://files.pythonhosted.org/packages/3d/08/3282d8f6330e742d4cdbcfbe2c100b403ae5526ae82a1c1b6a11b7967e37/ormsgpack-1.12.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:857ab987c3502de08258cc4baf0e87267cb2c80931601084e13df3c355b1ab9d", size = 471391, upload-time = "2025-11-04T18:29:23.663Z" }, + { url = "https://files.pythonhosted.org/packages/18/d4/94a2fbfd4837754bda7a099b6a23b9d40aba9e76e1af8b8fb8133612eb54/ormsgpack-1.12.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:27579d45dc502ee736238e1024559cb0a01aa72a3b68827448b8edf6a2dcdc9c", size = 381501, upload-time = "2025-11-04T18:29:24.771Z" }, + { url = "https://files.pythonhosted.org/packages/d8/c6/1a9fa122cb5deb10b067bbaa43165b12291a914cc0ce364988ff17bbf405/ormsgpack-1.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:c78379d054760875540cf2e81f28da1bb78d09fda3eabdbeb6c53b3e297158cb", size = 112715, upload-time = "2025-11-04T18:29:26.016Z" }, + { url = "https://files.pythonhosted.org/packages/1a/ba/3cae83cf36420c1c8dd294f16c852c03313aafe2439a165c4c6ac611b1d0/ormsgpack-1.12.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:c40d86d77391b18dd34de5295e3de2b8ad818bcab9c9def4121c8ec5c9714ae4", size = 369159, upload-time = "2025-11-04T18:29:27.057Z" }, + { url = "https://files.pythonhosted.org/packages/97/d4/5e176309e01a8b9098d80201aac1eb7db9336c3b5b4fa6254a2bbb0d0fa0/ormsgpack-1.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:777b7fab364dc0f200bb382a98a385c8222ffa6a2333d627d763797326202c86", size = 195744, upload-time = "2025-11-04T18:29:28.069Z" }, + { url = "https://files.pythonhosted.org/packages/4f/83/6d80c8c5571639c000a39f38f77752dfaf9d9e552d775331e8d280f66a4e/ormsgpack-1.12.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b5b5089ad9dd5b3d3013b245a55e4abaea2f8ad70f4a78e1b002127b02340004", size = 206474, upload-time = "2025-11-04T18:29:29.034Z" }, + { url = "https://files.pythonhosted.org/packages/5e/e6/940311e48dc0cfc3e212bd7007a21ed0825158638057687d804f2c5c2cca/ormsgpack-1.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:deaf0c87cace7bc08fbf68c5cc66605b593df6427e9f4de235b2da358787e008", size = 207959, upload-time = "2025-11-04T18:29:30.315Z" }, + { url = "https://files.pythonhosted.org/packages/1a/e3/fbe94b0a311815343b86a95a0627e4901b11ff6fd522679ca29a2a88c99b/ormsgpack-1.12.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f62d476fe28bc5675d9aff30341bfa9f41d7de332c5b63fbbe9aaf6bb7ec74d4", size = 377666, upload-time = "2025-11-04T18:29:31.38Z" }, + { url = "https://files.pythonhosted.org/packages/a3/3b/229cfa28076798ffb619aaa854b842de3f2ed5ea4e6509bf34d14c038c4d/ormsgpack-1.12.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:ded7810095b887e28434f32f5a345d354e88cf851bab3c5435aeb86a718618d2", size = 471394, upload-time = "2025-11-04T18:29:32.521Z" }, + { url = "https://files.pythonhosted.org/packages/6b/bd/4eae4ab35586e4175c07acb5f98aec83aa9d8987f71ea0443aa900191bdf/ormsgpack-1.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f72a1dea0c4ae7c4101dcfbe8133f274a9d769d0b87fe5188db4fab07ffabaee", size = 381506, upload-time = "2025-11-04T18:29:33.533Z" }, + { url = "https://files.pythonhosted.org/packages/dd/51/f9d56d6d015cbfa1ce9a4358ca30a41744644f0cf606e060d7203efe5af8/ormsgpack-1.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:8f479bfef847255d7d0b12c7a198f6a21490155da2da3062e082ba370893d4a1", size = 112707, upload-time = "2025-11-04T18:29:34.898Z" }, + { url = "https://files.pythonhosted.org/packages/f4/07/bb189ef7072979f2f96e8716e952172efdce9c54930aa0814bec73aee19b/ormsgpack-1.12.0-cp311-cp311-win_arm64.whl", hash = "sha256:3583ca410e4502144b2594170542e4bbef7b15643fd1208703ae820f11029036", size = 106533, upload-time = "2025-11-04T18:29:36.112Z" }, + { url = "https://files.pythonhosted.org/packages/a2/f2/c1036b2775fcc0cfa5fd618c53bcd3b862ee07298fb627f03af4c7982f84/ormsgpack-1.12.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:e0c1e08b64d99076fee155276097489b82cc56e8d5951c03c721a65a32f44494", size = 369538, upload-time = "2025-11-04T18:29:37.125Z" }, + { url = "https://files.pythonhosted.org/packages/d9/ca/526c4ae02f3cb34621af91bf8282a10d666757c2e0c6ff391ff5d403d607/ormsgpack-1.12.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3fd43bcb299131690b8e0677af172020b2ada8e625169034b42ac0c13adf84aa", size = 195872, upload-time = "2025-11-04T18:29:38.34Z" }, + { url = "https://files.pythonhosted.org/packages/7f/0f/83bb7968e9715f6a85be53d041b1e6324a05428f56b8b980dac866886871/ormsgpack-1.12.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5f0149d595341e22ead340bf281b2995c4cc7dc8d522a6b5f575fe17aa407604", size = 206469, upload-time = "2025-11-04T18:29:39.749Z" }, + { url = "https://files.pythonhosted.org/packages/02/e3/9e93ca1065f2d4af035804a842b1ff3025bab580c7918239bb225cd1fee2/ormsgpack-1.12.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f19a1b27d169deb553c80fd10b589fc2be1fc14cee779fae79fcaf40db04de2b", size = 208273, upload-time = "2025-11-04T18:29:40.769Z" }, + { url = "https://files.pythonhosted.org/packages/b3/d8/6d6ef901b3a8b8f3ab8836b135a56eb7f66c559003e251d9530bedb12627/ormsgpack-1.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6f28896942d655064940dfe06118b7ce1e3468d051483148bf02c99ec157483a", size = 377839, upload-time = "2025-11-04T18:29:42.092Z" }, + { url = "https://files.pythonhosted.org/packages/4c/72/fcb704bfa4c2c3a37b647d597cc45a13cffc9d50baac635a9ad620731d29/ormsgpack-1.12.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:9396efcfa48b4abbc06e44c5dbc3c4574a8381a80cb4cd01eea15d28b38c554e", size = 471446, upload-time = "2025-11-04T18:29:43.133Z" }, + { url = "https://files.pythonhosted.org/packages/84/f8/402e4e3eb997c2ee534c99bec4b5bb359c2a1f9edadf043e254a71e11378/ormsgpack-1.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:96586ed537a5fb386a162c4f9f7d8e6f76e07b38a990d50c73f11131e00ff040", size = 381783, upload-time = "2025-11-04T18:29:44.466Z" }, + { url = "https://files.pythonhosted.org/packages/f0/8d/5897b700360bc00911b70ae5ef1134ee7abf5baa81a92a4be005917d3dfd/ormsgpack-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e70387112fb3870e4844de090014212cdcf1342f5022047aecca01ec7de05d7a", size = 112943, upload-time = "2025-11-04T18:29:45.468Z" }, + { url = "https://files.pythonhosted.org/packages/5b/44/1e73649f79bb96d6cf9e5bcbac68b6216d238bba80af351c4c0cbcf7ee15/ormsgpack-1.12.0-cp312-cp312-win_arm64.whl", hash = "sha256:d71290a23de5d4829610c42665d816c661ecad8979883f3f06b2e3ab9639962e", size = 106688, upload-time = "2025-11-04T18:29:46.411Z" }, + { url = "https://files.pythonhosted.org/packages/2e/e8/35f11ce9313111488b26b3035e4cbe55caa27909c0b6c8b5b5cd59f9661e/ormsgpack-1.12.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:766f2f3b512d85cd375b26a8b1329b99843560b50b93d3880718e634ad4a5de5", size = 369574, upload-time = "2025-11-04T18:29:47.431Z" }, + { url = "https://files.pythonhosted.org/packages/61/b0/77461587f412d4e598d3687bafe23455ed0f26269f44be20252eddaa624e/ormsgpack-1.12.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:84b285b1f3f185aad7da45641b873b30acfd13084cf829cf668c4c6480a81583", size = 195893, upload-time = "2025-11-04T18:29:48.735Z" }, + { url = "https://files.pythonhosted.org/packages/c6/67/e197ceb04c3b550589e5407fc9fdae10f4e2e2eba5fdac921a269e02e974/ormsgpack-1.12.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e23604fc79fe110292cb365f4c8232e64e63a34f470538be320feae3921f271b", size = 206503, upload-time = "2025-11-04T18:29:49.99Z" }, + { url = "https://files.pythonhosted.org/packages/0b/b1/7fa8ba82a25cef678983c7976f85edeef5014f5c26495f338258e6a3cf1c/ormsgpack-1.12.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dc32b156c113a0fae2975051417d8d9a7a5247c34b2d7239410c46b75ce9348a", size = 208257, upload-time = "2025-11-04T18:29:51.007Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b1/759e999390000d2589e6d0797f7265e6ec28378547075d28d3736248ab63/ormsgpack-1.12.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:94ac500dd10c20fa8b8a23bc55606250bfe711bf9716828d9f3d44dfd1f25668", size = 377852, upload-time = "2025-11-04T18:29:52.103Z" }, + { url = "https://files.pythonhosted.org/packages/51/e7/0af737c94272494d9d84a3c29cc42c973ef7fd2342917020906596db863c/ormsgpack-1.12.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:c5201ff7ec24f721f813a182885a17064cffdbe46b2412685a52e6374a872c8f", size = 471456, upload-time = "2025-11-04T18:29:53.336Z" }, + { url = "https://files.pythonhosted.org/packages/f4/ba/c81f0aa4f19fbf457213395945b672e6fde3ce777e3587456e7f0fca2147/ormsgpack-1.12.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a9740bb3839c9368aacae1cbcfc474ee6976458f41cc135372b7255d5206c953", size = 381813, upload-time = "2025-11-04T18:29:54.394Z" }, + { url = "https://files.pythonhosted.org/packages/ce/15/429c72d64323503fd42cc4ca8398930ded8aa8b3470df8a86b3bbae7a35c/ormsgpack-1.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ed37f29772432048b58174e920a1d4c4cde0404a5d448d3d8bbcc95d86a6918", size = 112949, upload-time = "2025-11-04T18:29:55.371Z" }, + { url = "https://files.pythonhosted.org/packages/55/b9/e72c451a40f8c57bfc229e0b8e536ecea7203c8f0a839676df2ffb605c62/ormsgpack-1.12.0-cp313-cp313-win_arm64.whl", hash = "sha256:b03994bbec5d6d42e03d6604e327863f885bde67aa61e06107ce1fa5bdd3e71d", size = 106689, upload-time = "2025-11-04T18:29:56.262Z" }, + { url = "https://files.pythonhosted.org/packages/13/16/13eab1a75da531b359105fdee90dda0b6bd1ca0a09880250cf91d8bdfdea/ormsgpack-1.12.0-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:0f3981ba3cba80656012090337e548e597799e14b41e3d0b595ab5ab05a23d7f", size = 369620, upload-time = "2025-11-04T18:29:57.255Z" }, + { url = "https://files.pythonhosted.org/packages/a0/c1/cbcc38b7af4ce58d8893e56d3595c0c8dcd117093bf048f889cf351bdba0/ormsgpack-1.12.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:901f6f55184d6776dbd5183cbce14caf05bf7f467eef52faf9b094686980bf71", size = 195925, upload-time = "2025-11-04T18:29:58.34Z" }, + { url = "https://files.pythonhosted.org/packages/5c/59/4fa4dc0681490e12b75333440a1c0fd9741b0ebff272b1db4a29d35c2021/ormsgpack-1.12.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e13b15412571422b711b40f45e3fe6d993ea3314b5e97d1a853fe99226c5effc", size = 206594, upload-time = "2025-11-04T18:29:59.329Z" }, + { url = "https://files.pythonhosted.org/packages/39/67/249770896bc32bb91b22c30256961f935d0915cbcf6e289a7fc961d9b14c/ormsgpack-1.12.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:91fa8a452553a62e5fb3fbab471e7faf7b3bec3c87a2f355ebf3d7aab290fe4f", size = 208307, upload-time = "2025-11-04T18:30:00.377Z" }, + { url = "https://files.pythonhosted.org/packages/07/0a/e041a248cd72f2f4c07e155913e0a3ede4c86cf21a40ae6cd79f135f2847/ormsgpack-1.12.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:74ec101f69624695eec4ce7c953192d97748254abe78fb01b591f06d529e1952", size = 377844, upload-time = "2025-11-04T18:30:01.389Z" }, + { url = "https://files.pythonhosted.org/packages/d8/71/6f7773e4ffda73a358ce4bba69b3e8bee9d40a7a06315e4c1cd7a3ea9d02/ormsgpack-1.12.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:9bbf7896580848326c1f9bd7531f264e561f98db7e08e15aa75963d83832c717", size = 471572, upload-time = "2025-11-04T18:30:02.486Z" }, + { url = "https://files.pythonhosted.org/packages/65/29/af6769a4289c07acc71e7bda1d64fb31800563147d73142686e185e82348/ormsgpack-1.12.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7567917da613b8f8d591c1674e411fd3404bea41ef2b9a0e0a1e049c0f9406d7", size = 381842, upload-time = "2025-11-04T18:30:03.799Z" }, + { url = "https://files.pythonhosted.org/packages/0b/dd/0a86195ee7a1a96c088aefc8504385e881cf56f4563ed81bafe21cbf1fb0/ormsgpack-1.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:4e418256c5d8622b8bc92861936f7c6a0131355e7bcad88a42102ae8227f8a1c", size = 113008, upload-time = "2025-11-04T18:30:04.777Z" }, + { url = "https://files.pythonhosted.org/packages/4c/57/fafc79e32f3087f6f26f509d80b8167516326bfea38d30502627c01617e0/ormsgpack-1.12.0-cp314-cp314-win_arm64.whl", hash = "sha256:433ace29aa02713554f714c62a4e4dcad0c9e32674ba4f66742c91a4c3b1b969", size = 106648, upload-time = "2025-11-04T18:30:05.708Z" }, + { url = "https://files.pythonhosted.org/packages/b3/cf/5d58d9b132128d2fe5d586355dde76af386554abef00d608f66b913bff1f/ormsgpack-1.12.0-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:e57164be4ca34b64e210ec515059193280ac84df4d6f31a6fcbfb2fc8436de55", size = 369803, upload-time = "2025-11-04T18:30:06.728Z" }, + { url = "https://files.pythonhosted.org/packages/67/42/968a2da361eaff2e4cbb17c82c7599787babf16684110ad70409646cc1e4/ormsgpack-1.12.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:904f96289deaa92fc6440b122edc27c5bdc28234edd63717f6d853d88c823a83", size = 195991, upload-time = "2025-11-04T18:30:07.713Z" }, + { url = "https://files.pythonhosted.org/packages/03/f0/9696c6c6cf8ad35170f0be8d0ef3523cc258083535f6c8071cb8235ebb8b/ormsgpack-1.12.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b291d086e524a1062d57d1b7b5a8bcaaf29caebf0212fec12fd86240bd33633", size = 208316, upload-time = "2025-11-04T18:30:08.663Z" }, +] + +[[package]] +name = "packaging" +version = "24.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950, upload-time = "2024-11-08T09:47:47.202Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451, upload-time = "2024-11-08T09:47:44.722Z" }, +] + +[[package]] +name = "pathspec" +version = "1.0.4" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fa/36/e27608899f9b8d4dff0617b2d9ab17ca5608956ca44461ac14ac48b44015/pathspec-1.0.4.tar.gz", hash = "sha256:0210e2ae8a21a9137c0d470578cb0e595af87edaa6ebf12ff176f14a02e0e645", size = 131200, upload-time = "2026-01-27T03:59:46.938Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/3c/2c197d226f9ea224a9ab8d197933f9da0ae0aac5b6e0f884e2b8d9c8e9f7/pathspec-1.0.4-py3-none-any.whl", hash = "sha256:fb6ae2fd4e7c921a165808a552060e722767cfa526f99ca5156ed2ce45a5c723", size = 55206, upload-time = "2026-01-27T03:59:45.137Z" }, +] + +[[package]] +name = "pillow" +version = "12.2.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/8c/21/c2bcdd5906101a30244eaffc1b6e6ce71a31bd0742a01eb89e660ebfac2d/pillow-12.2.0.tar.gz", hash = "sha256:a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5", size = 46987819, upload-time = "2026-04-01T14:46:17.687Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3a/aa/d0b28e1c811cd4d5f5c2bfe2e022292bd255ae5744a3b9ac7d6c8f72dd75/pillow-12.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:a4e8f36e677d3336f35089648c8955c51c6d386a13cf6ee9c189c5f5bd713a9f", size = 5354355, upload-time = "2026-04-01T14:42:15.402Z" }, + { url = "https://files.pythonhosted.org/packages/27/8e/1d5b39b8ae2bd7650d0c7b6abb9602d16043ead9ebbfef4bc4047454da2a/pillow-12.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e589959f10d9824d39b350472b92f0ce3b443c0a3442ebf41c40cb8361c5b97", size = 4695871, upload-time = "2026-04-01T14:42:18.234Z" }, + { url = "https://files.pythonhosted.org/packages/f0/c5/dcb7a6ca6b7d3be41a76958e90018d56c8462166b3ef223150360850c8da/pillow-12.2.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a52edc8bfff4429aaabdf4d9ee0daadbbf8562364f940937b941f87a4290f5ff", size = 6269734, upload-time = "2026-04-01T14:42:20.608Z" }, + { url = "https://files.pythonhosted.org/packages/ea/f1/aa1bb13b2f4eba914e9637893c73f2af8e48d7d4023b9d3750d4c5eb2d0c/pillow-12.2.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:975385f4776fafde056abb318f612ef6285b10a1f12b8570f3647ad0d74b48ec", size = 8076080, upload-time = "2026-04-01T14:42:23.095Z" }, + { url = "https://files.pythonhosted.org/packages/a1/2a/8c79d6a53169937784604a8ae8d77e45888c41537f7f6f65ed1f407fe66d/pillow-12.2.0-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bd9c0c7a0c681a347b3194c500cb1e6ca9cab053ea4d82a5cf45b6b754560136", size = 6382236, upload-time = "2026-04-01T14:42:25.82Z" }, + { url = "https://files.pythonhosted.org/packages/b5/42/bbcb6051030e1e421d103ce7a8ecadf837aa2f39b8f82ef1a8d37c3d4ebc/pillow-12.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:88d387ff40b3ff7c274947ed3125dedf5262ec6919d83946753b5f3d7c67ea4c", size = 7070220, upload-time = "2026-04-01T14:42:28.68Z" }, + { url = "https://files.pythonhosted.org/packages/3f/e1/c2a7d6dd8cfa6b231227da096fd2d58754bab3603b9d73bf609d3c18b64f/pillow-12.2.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:51c4167c34b0d8ba05b547a3bb23578d0ba17b80a5593f93bd8ecb123dd336a3", size = 6493124, upload-time = "2026-04-01T14:42:31.579Z" }, + { url = "https://files.pythonhosted.org/packages/5f/41/7c8617da5d32e1d2f026e509484fdb6f3ad7efaef1749a0c1928adbb099e/pillow-12.2.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:34c0d99ecccea270c04882cb3b86e7b57296079c9a4aff88cb3b33563d95afaa", size = 7194324, upload-time = "2026-04-01T14:42:34.615Z" }, + { url = "https://files.pythonhosted.org/packages/2d/de/a777627e19fd6d62f84070ee1521adde5eeda4855b5cf60fe0b149118bca/pillow-12.2.0-cp310-cp310-win32.whl", hash = "sha256:b85f66ae9eb53e860a873b858b789217ba505e5e405a24b85c0464822fe88032", size = 6376363, upload-time = "2026-04-01T14:42:37.19Z" }, + { url = "https://files.pythonhosted.org/packages/e7/34/fc4cb5204896465842767b96d250c08410f01f2f28afc43b257de842eed5/pillow-12.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:673aa32138f3e7531ccdbca7b3901dba9b70940a19ccecc6a37c77d5fdeb05b5", size = 7083523, upload-time = "2026-04-01T14:42:39.62Z" }, + { url = "https://files.pythonhosted.org/packages/2d/a0/32852d36bc7709f14dc3f64f929a275e958ad8c19a6deba9610d458e28b3/pillow-12.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:3e080565d8d7c671db5802eedfb438e5565ffa40115216eabb8cd52d0ecce024", size = 2463318, upload-time = "2026-04-01T14:42:42.063Z" }, + { url = "https://files.pythonhosted.org/packages/68/e1/748f5663efe6edcfc4e74b2b93edfb9b8b99b67f21a854c3ae416500a2d9/pillow-12.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:8be29e59487a79f173507c30ddf57e733a357f67881430449bb32614075a40ab", size = 5354347, upload-time = "2026-04-01T14:42:44.255Z" }, + { url = "https://files.pythonhosted.org/packages/47/a1/d5ff69e747374c33a3b53b9f98cca7889fce1fd03d79cdc4e1bccc6c5a87/pillow-12.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:71cde9a1e1551df7d34a25462fc60325e8a11a82cc2e2f54578e5e9a1e153d65", size = 4695873, upload-time = "2026-04-01T14:42:46.452Z" }, + { url = "https://files.pythonhosted.org/packages/df/21/e3fbdf54408a973c7f7f89a23b2cb97a7ef30c61ab4142af31eee6aebc88/pillow-12.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f490f9368b6fc026f021db16d7ec2fbf7d89e2edb42e8ec09d2c60505f5729c7", size = 6280168, upload-time = "2026-04-01T14:42:49.228Z" }, + { url = "https://files.pythonhosted.org/packages/d3/f1/00b7278c7dd52b17ad4329153748f87b6756ec195ff786c2bdf12518337d/pillow-12.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8bd7903a5f2a4545f6fd5935c90058b89d30045568985a71c79f5fd6edf9b91e", size = 8088188, upload-time = "2026-04-01T14:42:51.735Z" }, + { url = "https://files.pythonhosted.org/packages/ad/cf/220a5994ef1b10e70e85748b75649d77d506499352be135a4989c957b701/pillow-12.2.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3997232e10d2920a68d25191392e3a4487d8183039e1c74c2297f00ed1c50705", size = 6394401, upload-time = "2026-04-01T14:42:54.343Z" }, + { url = "https://files.pythonhosted.org/packages/e9/bd/e51a61b1054f09437acfbc2ff9106c30d1eb76bc1453d428399946781253/pillow-12.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e74473c875d78b8e9d5da2a70f7099549f9eb37ded4e2f6a463e60125bccd176", size = 7079655, upload-time = "2026-04-01T14:42:56.954Z" }, + { url = "https://files.pythonhosted.org/packages/6b/3d/45132c57d5fb4b5744567c3817026480ac7fc3ce5d4c47902bc0e7f6f853/pillow-12.2.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:56a3f9c60a13133a98ecff6197af34d7824de9b7b38c3654861a725c970c197b", size = 6503105, upload-time = "2026-04-01T14:42:59.847Z" }, + { url = "https://files.pythonhosted.org/packages/7d/2e/9df2fc1e82097b1df3dce58dc43286aa01068e918c07574711fcc53e6fb4/pillow-12.2.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:90e6f81de50ad6b534cab6e5aef77ff6e37722b2f5d908686f4a5c9eba17a909", size = 7203402, upload-time = "2026-04-01T14:43:02.664Z" }, + { url = "https://files.pythonhosted.org/packages/bd/2e/2941e42858ebb67e50ae741473de81c2984e6eff7b397017623c676e2e8d/pillow-12.2.0-cp311-cp311-win32.whl", hash = "sha256:8c984051042858021a54926eb597d6ee3012393ce9c181814115df4c60b9a808", size = 6378149, upload-time = "2026-04-01T14:43:05.274Z" }, + { url = "https://files.pythonhosted.org/packages/69/42/836b6f3cd7f3e5fa10a1f1a5420447c17966044c8fbf589cc0452d5502db/pillow-12.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:6e6b2a0c538fc200b38ff9eb6628228b77908c319a005815f2dde585a0664b60", size = 7082626, upload-time = "2026-04-01T14:43:08.557Z" }, + { url = "https://files.pythonhosted.org/packages/c2/88/549194b5d6f1f494b485e493edc6693c0a16f4ada488e5bd974ed1f42fad/pillow-12.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:9a8a34cc89c67a65ea7437ce257cea81a9dad65b29805f3ecee8c8fe8ff25ffe", size = 2463531, upload-time = "2026-04-01T14:43:10.743Z" }, + { url = "https://files.pythonhosted.org/packages/58/be/7482c8a5ebebbc6470b3eb791812fff7d5e0216c2be3827b30b8bb6603ed/pillow-12.2.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2d192a155bbcec180f8564f693e6fd9bccff5a7af9b32e2e4bf8c9c69dbad6b5", size = 5308279, upload-time = "2026-04-01T14:43:13.246Z" }, + { url = "https://files.pythonhosted.org/packages/d8/95/0a351b9289c2b5cbde0bacd4a83ebc44023e835490a727b2a3bd60ddc0f4/pillow-12.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f3f40b3c5a968281fd507d519e444c35f0ff171237f4fdde090dd60699458421", size = 4695490, upload-time = "2026-04-01T14:43:15.584Z" }, + { url = "https://files.pythonhosted.org/packages/de/af/4e8e6869cbed569d43c416fad3dc4ecb944cb5d9492defaed89ddd6fe871/pillow-12.2.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:03e7e372d5240cc23e9f07deca4d775c0817bffc641b01e9c3af208dbd300987", size = 6284462, upload-time = "2026-04-01T14:43:18.268Z" }, + { url = "https://files.pythonhosted.org/packages/e9/9e/c05e19657fd57841e476be1ab46c4d501bffbadbafdc31a6d665f8b737b6/pillow-12.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b86024e52a1b269467a802258c25521e6d742349d760728092e1bc2d135b4d76", size = 8094744, upload-time = "2026-04-01T14:43:20.716Z" }, + { url = "https://files.pythonhosted.org/packages/2b/54/1789c455ed10176066b6e7e6da1b01e50e36f94ba584dc68d9eebfe9156d/pillow-12.2.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7371b48c4fa448d20d2714c9a1f775a81155050d383333e0a6c15b1123dda005", size = 6398371, upload-time = "2026-04-01T14:43:23.443Z" }, + { url = "https://files.pythonhosted.org/packages/43/e3/fdc657359e919462369869f1c9f0e973f353f9a9ee295a39b1fea8ee1a77/pillow-12.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:62f5409336adb0663b7caa0da5c7d9e7bdbaae9ce761d34669420c2a801b2780", size = 7087215, upload-time = "2026-04-01T14:43:26.758Z" }, + { url = "https://files.pythonhosted.org/packages/8b/f8/2f6825e441d5b1959d2ca5adec984210f1ec086435b0ed5f52c19b3b8a6e/pillow-12.2.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:01afa7cf67f74f09523699b4e88c73fb55c13346d212a59a2db1f86b0a63e8c5", size = 6509783, upload-time = "2026-04-01T14:43:29.56Z" }, + { url = "https://files.pythonhosted.org/packages/67/f9/029a27095ad20f854f9dba026b3ea6428548316e057e6fc3545409e86651/pillow-12.2.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc3d34d4a8fbec3e88a79b92e5465e0f9b842b628675850d860b8bd300b159f5", size = 7212112, upload-time = "2026-04-01T14:43:32.091Z" }, + { url = "https://files.pythonhosted.org/packages/be/42/025cfe05d1be22dbfdb4f264fe9de1ccda83f66e4fc3aac94748e784af04/pillow-12.2.0-cp312-cp312-win32.whl", hash = "sha256:58f62cc0f00fd29e64b29f4fd923ffdb3859c9f9e6105bfc37ba1d08994e8940", size = 6378489, upload-time = "2026-04-01T14:43:34.601Z" }, + { url = "https://files.pythonhosted.org/packages/5d/7b/25a221d2c761c6a8ae21bfa3874988ff2583e19cf8a27bf2fee358df7942/pillow-12.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:7f84204dee22a783350679a0333981df803dac21a0190d706a50475e361c93f5", size = 7084129, upload-time = "2026-04-01T14:43:37.213Z" }, + { url = "https://files.pythonhosted.org/packages/10/e1/542a474affab20fd4a0f1836cb234e8493519da6b76899e30bcc5d990b8b/pillow-12.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:af73337013e0b3b46f175e79492d96845b16126ddf79c438d7ea7ff27783a414", size = 2463612, upload-time = "2026-04-01T14:43:39.421Z" }, + { url = "https://files.pythonhosted.org/packages/4a/01/53d10cf0dbad820a8db274d259a37ba50b88b24768ddccec07355382d5ad/pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:8297651f5b5679c19968abefd6bb84d95fe30ef712eb1b2d9b2d31ca61267f4c", size = 4100837, upload-time = "2026-04-01T14:43:41.506Z" }, + { url = "https://files.pythonhosted.org/packages/0f/98/f3a6657ecb698c937f6c76ee564882945f29b79bad496abcba0e84659ec5/pillow-12.2.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:50d8520da2a6ce0af445fa6d648c4273c3eeefbc32d7ce049f22e8b5c3daecc2", size = 4176528, upload-time = "2026-04-01T14:43:43.773Z" }, + { url = "https://files.pythonhosted.org/packages/69/bc/8986948f05e3ea490b8442ea1c1d4d990b24a7e43d8a51b2c7d8b1dced36/pillow-12.2.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:766cef22385fa1091258ad7e6216792b156dc16d8d3fa607e7545b2b72061f1c", size = 3640401, upload-time = "2026-04-01T14:43:45.87Z" }, + { url = "https://files.pythonhosted.org/packages/34/46/6c717baadcd62bc8ed51d238d521ab651eaa74838291bda1f86fe1f864c9/pillow-12.2.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5d2fd0fa6b5d9d1de415060363433f28da8b1526c1c129020435e186794b3795", size = 5308094, upload-time = "2026-04-01T14:43:48.438Z" }, + { url = "https://files.pythonhosted.org/packages/71/43/905a14a8b17fdb1ccb58d282454490662d2cb89a6bfec26af6d3520da5ec/pillow-12.2.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:56b25336f502b6ed02e889f4ece894a72612fe885889a6e8c4c80239ff6e5f5f", size = 4695402, upload-time = "2026-04-01T14:43:51.292Z" }, + { url = "https://files.pythonhosted.org/packages/73/dd/42107efcb777b16fa0393317eac58f5b5cf30e8392e266e76e51cff28c3d/pillow-12.2.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f1c943e96e85df3d3478f7b691f229887e143f81fedab9b20205349ab04d73ed", size = 6280005, upload-time = "2026-04-01T14:43:54.242Z" }, + { url = "https://files.pythonhosted.org/packages/a8/68/b93e09e5e8549019e61acf49f65b1a8530765a7f812c77a7461bca7e4494/pillow-12.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:03f6fab9219220f041c74aeaa2939ff0062bd5c364ba9ce037197f4c6d498cd9", size = 8090669, upload-time = "2026-04-01T14:43:57.335Z" }, + { url = "https://files.pythonhosted.org/packages/4b/6e/3ccb54ce8ec4ddd1accd2d89004308b7b0b21c4ac3d20fa70af4760a4330/pillow-12.2.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5cdfebd752ec52bf5bb4e35d9c64b40826bc5b40a13df7c3cda20a2c03a0f5ed", size = 6395194, upload-time = "2026-04-01T14:43:59.864Z" }, + { url = "https://files.pythonhosted.org/packages/67/ee/21d4e8536afd1a328f01b359b4d3997b291ffd35a237c877b331c1c3b71c/pillow-12.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:eedf4b74eda2b5a4b2b2fb4c006d6295df3bf29e459e198c90ea48e130dc75c3", size = 7082423, upload-time = "2026-04-01T14:44:02.74Z" }, + { url = "https://files.pythonhosted.org/packages/78/5f/e9f86ab0146464e8c133fe85df987ed9e77e08b29d8d35f9f9f4d6f917ba/pillow-12.2.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:00a2865911330191c0b818c59103b58a5e697cae67042366970a6b6f1b20b7f9", size = 6505667, upload-time = "2026-04-01T14:44:05.381Z" }, + { url = "https://files.pythonhosted.org/packages/ed/1e/409007f56a2fdce61584fd3acbc2bbc259857d555196cedcadc68c015c82/pillow-12.2.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1e1757442ed87f4912397c6d35a0db6a7b52592156014706f17658ff58bbf795", size = 7208580, upload-time = "2026-04-01T14:44:08.39Z" }, + { url = "https://files.pythonhosted.org/packages/23/c4/7349421080b12fb35414607b8871e9534546c128a11965fd4a7002ccfbee/pillow-12.2.0-cp313-cp313-win32.whl", hash = "sha256:144748b3af2d1b358d41286056d0003f47cb339b8c43a9ea42f5fea4d8c66b6e", size = 6375896, upload-time = "2026-04-01T14:44:11.197Z" }, + { url = "https://files.pythonhosted.org/packages/3f/82/8a3739a5e470b3c6cbb1d21d315800d8e16bff503d1f16b03a4ec3212786/pillow-12.2.0-cp313-cp313-win_amd64.whl", hash = "sha256:390ede346628ccc626e5730107cde16c42d3836b89662a115a921f28440e6a3b", size = 7081266, upload-time = "2026-04-01T14:44:13.947Z" }, + { url = "https://files.pythonhosted.org/packages/c3/25/f968f618a062574294592f668218f8af564830ccebdd1fa6200f598e65c5/pillow-12.2.0-cp313-cp313-win_arm64.whl", hash = "sha256:8023abc91fba39036dbce14a7d6535632f99c0b857807cbbbf21ecc9f4717f06", size = 2463508, upload-time = "2026-04-01T14:44:16.312Z" }, + { url = "https://files.pythonhosted.org/packages/4d/a4/b342930964e3cb4dce5038ae34b0eab4653334995336cd486c5a8c25a00c/pillow-12.2.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:042db20a421b9bafecc4b84a8b6e444686bd9d836c7fd24542db3e7df7baad9b", size = 5309927, upload-time = "2026-04-01T14:44:18.89Z" }, + { url = "https://files.pythonhosted.org/packages/9f/de/23198e0a65a9cf06123f5435a5d95cea62a635697f8f03d134d3f3a96151/pillow-12.2.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:dd025009355c926a84a612fecf58bb315a3f6814b17ead51a8e48d3823d9087f", size = 4698624, upload-time = "2026-04-01T14:44:21.115Z" }, + { url = "https://files.pythonhosted.org/packages/01/a6/1265e977f17d93ea37aa28aa81bad4fa597933879fac2520d24e021c8da3/pillow-12.2.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:88ddbc66737e277852913bd1e07c150cc7bb124539f94c4e2df5344494e0a612", size = 6321252, upload-time = "2026-04-01T14:44:23.663Z" }, + { url = "https://files.pythonhosted.org/packages/3c/83/5982eb4a285967baa70340320be9f88e57665a387e3a53a7f0db8231a0cd/pillow-12.2.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d362d1878f00c142b7e1a16e6e5e780f02be8195123f164edf7eddd911eefe7c", size = 8126550, upload-time = "2026-04-01T14:44:26.772Z" }, + { url = "https://files.pythonhosted.org/packages/4e/48/6ffc514adce69f6050d0753b1a18fd920fce8cac87620d5a31231b04bfc5/pillow-12.2.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2c727a6d53cb0018aadd8018c2b938376af27914a68a492f59dfcaca650d5eea", size = 6433114, upload-time = "2026-04-01T14:44:29.615Z" }, + { url = "https://files.pythonhosted.org/packages/36/a3/f9a77144231fb8d40ee27107b4463e205fa4677e2ca2548e14da5cf18dce/pillow-12.2.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:efd8c21c98c5cc60653bcb311bef2ce0401642b7ce9d09e03a7da87c878289d4", size = 7115667, upload-time = "2026-04-01T14:44:32.773Z" }, + { url = "https://files.pythonhosted.org/packages/c1/fc/ac4ee3041e7d5a565e1c4fd72a113f03b6394cc72ab7089d27608f8aaccb/pillow-12.2.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9f08483a632889536b8139663db60f6724bfcb443c96f1b18855860d7d5c0fd4", size = 6538966, upload-time = "2026-04-01T14:44:35.252Z" }, + { url = "https://files.pythonhosted.org/packages/c0/a8/27fb307055087f3668f6d0a8ccb636e7431d56ed0750e07a60547b1e083e/pillow-12.2.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dac8d77255a37e81a2efcbd1fc05f1c15ee82200e6c240d7e127e25e365c39ea", size = 7238241, upload-time = "2026-04-01T14:44:37.875Z" }, + { url = "https://files.pythonhosted.org/packages/ad/4b/926ab182c07fccae9fcb120043464e1ff1564775ec8864f21a0ebce6ac25/pillow-12.2.0-cp313-cp313t-win32.whl", hash = "sha256:ee3120ae9dff32f121610bb08e4313be87e03efeadfc6c0d18f89127e24d0c24", size = 6379592, upload-time = "2026-04-01T14:44:40.336Z" }, + { url = "https://files.pythonhosted.org/packages/c2/c4/f9e476451a098181b30050cc4c9a3556b64c02cf6497ea421ac047e89e4b/pillow-12.2.0-cp313-cp313t-win_amd64.whl", hash = "sha256:325ca0528c6788d2a6c3d40e3568639398137346c3d6e66bb61db96b96511c98", size = 7085542, upload-time = "2026-04-01T14:44:43.251Z" }, + { url = "https://files.pythonhosted.org/packages/00/a4/285f12aeacbe2d6dc36c407dfbbe9e96d4a80b0fb710a337f6d2ad978c75/pillow-12.2.0-cp313-cp313t-win_arm64.whl", hash = "sha256:2e5a76d03a6c6dcef67edabda7a52494afa4035021a79c8558e14af25313d453", size = 2465765, upload-time = "2026-04-01T14:44:45.996Z" }, + { url = "https://files.pythonhosted.org/packages/bf/98/4595daa2365416a86cb0d495248a393dfc84e96d62ad080c8546256cb9c0/pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:3adc9215e8be0448ed6e814966ecf3d9952f0ea40eb14e89a102b87f450660d8", size = 4100848, upload-time = "2026-04-01T14:44:48.48Z" }, + { url = "https://files.pythonhosted.org/packages/0b/79/40184d464cf89f6663e18dfcf7ca21aae2491fff1a16127681bf1fa9b8cf/pillow-12.2.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:6a9adfc6d24b10f89588096364cc726174118c62130c817c2837c60cf08a392b", size = 4176515, upload-time = "2026-04-01T14:44:51.353Z" }, + { url = "https://files.pythonhosted.org/packages/b0/63/703f86fd4c422a9cf722833670f4f71418fb116b2853ff7da722ea43f184/pillow-12.2.0-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:6a6e67ea2e6feda684ed370f9a1c52e7a243631c025ba42149a2cc5934dec295", size = 3640159, upload-time = "2026-04-01T14:44:53.588Z" }, + { url = "https://files.pythonhosted.org/packages/71/e0/fb22f797187d0be2270f83500aab851536101b254bfa1eae10795709d283/pillow-12.2.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2bb4a8d594eacdfc59d9e5ad972aa8afdd48d584ffd5f13a937a664c3e7db0ed", size = 5312185, upload-time = "2026-04-01T14:44:56.039Z" }, + { url = "https://files.pythonhosted.org/packages/ba/8c/1a9e46228571de18f8e28f16fabdfc20212a5d019f3e3303452b3f0a580d/pillow-12.2.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:80b2da48193b2f33ed0c32c38140f9d3186583ce7d516526d462645fd98660ae", size = 4695386, upload-time = "2026-04-01T14:44:58.663Z" }, + { url = "https://files.pythonhosted.org/packages/70/62/98f6b7f0c88b9addd0e87c217ded307b36be024d4ff8869a812b241d1345/pillow-12.2.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:22db17c68434de69d8ecfc2fe821569195c0c373b25cccb9cbdacf2c6e53c601", size = 6280384, upload-time = "2026-04-01T14:45:01.5Z" }, + { url = "https://files.pythonhosted.org/packages/5e/03/688747d2e91cfbe0e64f316cd2e8005698f76ada3130d0194664174fa5de/pillow-12.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7b14cc0106cd9aecda615dd6903840a058b4700fcb817687d0ee4fc8b6e389be", size = 8091599, upload-time = "2026-04-01T14:45:04.5Z" }, + { url = "https://files.pythonhosted.org/packages/f6/35/577e22b936fcdd66537329b33af0b4ccfefaeabd8aec04b266528cddb33c/pillow-12.2.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cbeb542b2ebc6fcdacabf8aca8c1a97c9b3ad3927d46b8723f9d4f033288a0f", size = 6396021, upload-time = "2026-04-01T14:45:07.117Z" }, + { url = "https://files.pythonhosted.org/packages/11/8d/d2532ad2a603ca2b93ad9f5135732124e57811d0168155852f37fbce2458/pillow-12.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4bfd07bc812fbd20395212969e41931001fd59eb55a60658b0e5710872e95286", size = 7083360, upload-time = "2026-04-01T14:45:09.763Z" }, + { url = "https://files.pythonhosted.org/packages/5e/26/d325f9f56c7e039034897e7380e9cc202b1e368bfd04d4cbe6a441f02885/pillow-12.2.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9aba9a17b623ef750a4d11b742cbafffeb48a869821252b30ee21b5e91392c50", size = 6507628, upload-time = "2026-04-01T14:45:12.378Z" }, + { url = "https://files.pythonhosted.org/packages/5f/f7/769d5632ffb0988f1c5e7660b3e731e30f7f8ec4318e94d0a5d674eb65a4/pillow-12.2.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:deede7c263feb25dba4e82ea23058a235dcc2fe1f6021025dc71f2b618e26104", size = 7209321, upload-time = "2026-04-01T14:45:15.122Z" }, + { url = "https://files.pythonhosted.org/packages/6a/7a/c253e3c645cd47f1aceea6a8bacdba9991bf45bb7dfe927f7c893e89c93c/pillow-12.2.0-cp314-cp314-win32.whl", hash = "sha256:632ff19b2778e43162304d50da0181ce24ac5bb8180122cbe1bf4673428328c7", size = 6479723, upload-time = "2026-04-01T14:45:17.797Z" }, + { url = "https://files.pythonhosted.org/packages/cd/8b/601e6566b957ca50e28725cb6c355c59c2c8609751efbecd980db44e0349/pillow-12.2.0-cp314-cp314-win_amd64.whl", hash = "sha256:4e6c62e9d237e9b65fac06857d511e90d8461a32adcc1b9065ea0c0fa3a28150", size = 7217400, upload-time = "2026-04-01T14:45:20.529Z" }, + { url = "https://files.pythonhosted.org/packages/d6/94/220e46c73065c3e2951bb91c11a1fb636c8c9ad427ac3ce7d7f3359b9b2f/pillow-12.2.0-cp314-cp314-win_arm64.whl", hash = "sha256:b1c1fbd8a5a1af3412a0810d060a78b5136ec0836c8a4ef9aa11807f2a22f4e1", size = 2554835, upload-time = "2026-04-01T14:45:23.162Z" }, + { url = "https://files.pythonhosted.org/packages/b6/ab/1b426a3974cb0e7da5c29ccff4807871d48110933a57207b5a676cccc155/pillow-12.2.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:57850958fe9c751670e49b2cecf6294acc99e562531f4bd317fa5ddee2068463", size = 5314225, upload-time = "2026-04-01T14:45:25.637Z" }, + { url = "https://files.pythonhosted.org/packages/19/1e/dce46f371be2438eecfee2a1960ee2a243bbe5e961890146d2dee1ff0f12/pillow-12.2.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:d5d38f1411c0ed9f97bcb49b7bd59b6b7c314e0e27420e34d99d844b9ce3b6f3", size = 4698541, upload-time = "2026-04-01T14:45:28.355Z" }, + { url = "https://files.pythonhosted.org/packages/55/c3/7fbecf70adb3a0c33b77a300dc52e424dc22ad8cdc06557a2e49523b703d/pillow-12.2.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5c0a9f29ca8e79f09de89293f82fc9b0270bb4af1d58bc98f540cc4aedf03166", size = 6322251, upload-time = "2026-04-01T14:45:30.924Z" }, + { url = "https://files.pythonhosted.org/packages/1c/3c/7fbc17cfb7e4fe0ef1642e0abc17fc6c94c9f7a16be41498e12e2ba60408/pillow-12.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1610dd6c61621ae1cf811bef44d77e149ce3f7b95afe66a4512f8c59f25d9ebe", size = 8127807, upload-time = "2026-04-01T14:45:33.908Z" }, + { url = "https://files.pythonhosted.org/packages/ff/c3/a8ae14d6defd2e448493ff512fae903b1e9bd40b72efb6ec55ce0048c8ce/pillow-12.2.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0a34329707af4f73cf1782a36cd2289c0368880654a2c11f027bcee9052d35dd", size = 6433935, upload-time = "2026-04-01T14:45:36.623Z" }, + { url = "https://files.pythonhosted.org/packages/6e/32/2880fb3a074847ac159d8f902cb43278a61e85f681661e7419e6596803ed/pillow-12.2.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8e9c4f5b3c546fa3458a29ab22646c1c6c787ea8f5ef51300e5a60300736905e", size = 7116720, upload-time = "2026-04-01T14:45:39.258Z" }, + { url = "https://files.pythonhosted.org/packages/46/87/495cc9c30e0129501643f24d320076f4cc54f718341df18cc70ec94c44e1/pillow-12.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fb043ee2f06b41473269765c2feae53fc2e2fbf96e5e22ca94fb5ad677856f06", size = 6540498, upload-time = "2026-04-01T14:45:41.879Z" }, + { url = "https://files.pythonhosted.org/packages/18/53/773f5edca692009d883a72211b60fdaf8871cbef075eaa9d577f0a2f989e/pillow-12.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f278f034eb75b4e8a13a54a876cc4a5ab39173d2cdd93a638e1b467fc545ac43", size = 7239413, upload-time = "2026-04-01T14:45:44.705Z" }, + { url = "https://files.pythonhosted.org/packages/c9/e4/4b64a97d71b2a83158134abbb2f5bd3f8a2ea691361282f010998f339ec7/pillow-12.2.0-cp314-cp314t-win32.whl", hash = "sha256:6bb77b2dcb06b20f9f4b4a8454caa581cd4dd0643a08bacf821216a16d9c8354", size = 6482084, upload-time = "2026-04-01T14:45:47.568Z" }, + { url = "https://files.pythonhosted.org/packages/ba/13/306d275efd3a3453f72114b7431c877d10b1154014c1ebbedd067770d629/pillow-12.2.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6562ace0d3fb5f20ed7290f1f929cae41b25ae29528f2af1722966a0a02e2aa1", size = 7225152, upload-time = "2026-04-01T14:45:50.032Z" }, + { url = "https://files.pythonhosted.org/packages/ff/6e/cf826fae916b8658848d7b9f38d88da6396895c676e8086fc0988073aaf8/pillow-12.2.0-cp314-cp314t-win_arm64.whl", hash = "sha256:aa88ccfe4e32d362816319ed727a004423aab09c5cea43c01a4b435643fa34eb", size = 2556579, upload-time = "2026-04-01T14:45:52.529Z" }, + { url = "https://files.pythonhosted.org/packages/4e/b7/2437044fb910f499610356d1352e3423753c98e34f915252aafecc64889f/pillow-12.2.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0538bd5e05efec03ae613fd89c4ce0368ecd2ba239cc25b9f9be7ed426b0af1f", size = 5273969, upload-time = "2026-04-01T14:45:55.538Z" }, + { url = "https://files.pythonhosted.org/packages/f6/f4/8316e31de11b780f4ac08ef3654a75555e624a98db1056ecb2122d008d5a/pillow-12.2.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:394167b21da716608eac917c60aa9b969421b5dcbbe02ae7f013e7b85811c69d", size = 4659674, upload-time = "2026-04-01T14:45:58.093Z" }, + { url = "https://files.pythonhosted.org/packages/d4/37/664fca7201f8bb2aa1d20e2c3d5564a62e6ae5111741966c8319ca802361/pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5d04bfa02cc2d23b497d1e90a0f927070043f6cbf303e738300532379a4b4e0f", size = 5288479, upload-time = "2026-04-01T14:46:01.141Z" }, + { url = "https://files.pythonhosted.org/packages/49/62/5b0ed78fce87346be7a5cfcfaaad91f6a1f98c26f86bdbafa2066c647ef6/pillow-12.2.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0c838a5125cee37e68edec915651521191cef1e6aa336b855f495766e77a366e", size = 7032230, upload-time = "2026-04-01T14:46:03.874Z" }, + { url = "https://files.pythonhosted.org/packages/c3/28/ec0fc38107fc32536908034e990c47914c57cd7c5a3ece4d8d8f7ffd7e27/pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a6c9fa44005fa37a91ebfc95d081e8079757d2e904b27103f4f5fa6f0bf78c0", size = 5355404, upload-time = "2026-04-01T14:46:06.33Z" }, + { url = "https://files.pythonhosted.org/packages/5e/8b/51b0eddcfa2180d60e41f06bd6d0a62202b20b59c68f5a132e615b75aecf/pillow-12.2.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:25373b66e0dd5905ed63fa3cae13c82fbddf3079f2c8bf15c6fb6a35586324c1", size = 6002215, upload-time = "2026-04-01T14:46:08.83Z" }, + { url = "https://files.pythonhosted.org/packages/bc/60/5382c03e1970de634027cee8e1b7d39776b778b81812aaf45b694dfe9e28/pillow-12.2.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:bfa9c230d2fe991bed5318a5f119bd6780cda2915cca595393649fc118ab895e", size = 7080946, upload-time = "2026-04-01T14:46:11.734Z" }, +] + +[[package]] +name = "platformdirs" +version = "4.5.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/61/33/9611380c2bdb1225fdef633e2a9610622310fed35ab11dac9620972ee088/platformdirs-4.5.0.tar.gz", hash = "sha256:70ddccdd7c99fc5942e9fc25636a8b34d04c24b335100223152c2803e4063312", size = 21632, upload-time = "2025-10-08T17:44:48.791Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/73/cb/ac7874b3e5d58441674fb70742e6c374b28b0c7cb988d37d991cde47166c/platformdirs-4.5.0-py3-none-any.whl", hash = "sha256:e578a81bb873cbb89a41fcc904c7ef523cc18284b7e3b3ccf06aca1403b7ebd3", size = 18651, upload-time = "2025-10-08T17:44:47.223Z" }, +] + +[[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 = "propcache" +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/9e/da/e9fc233cf63743258bff22b3dfa7ea5baef7b5bc324af47a0ad89b8ffc6f/propcache-0.4.1.tar.gz", hash = "sha256:f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d", size = 46442, upload-time = "2025-10-08T19:49:02.291Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3c/0e/934b541323035566a9af292dba85a195f7b78179114f2c6ebb24551118a9/propcache-0.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7c2d1fa3201efaf55d730400d945b5b3ab6e672e100ba0f9a409d950ab25d7db", size = 79534, upload-time = "2025-10-08T19:46:02.083Z" }, + { url = "https://files.pythonhosted.org/packages/a1/6b/db0d03d96726d995dc7171286c6ba9d8d14251f37433890f88368951a44e/propcache-0.4.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:1eb2994229cc8ce7fe9b3db88f5465f5fd8651672840b2e426b88cdb1a30aac8", size = 45526, upload-time = "2025-10-08T19:46:03.884Z" }, + { url = "https://files.pythonhosted.org/packages/e4/c3/82728404aea669e1600f304f2609cde9e665c18df5a11cdd57ed73c1dceb/propcache-0.4.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:66c1f011f45a3b33d7bcb22daed4b29c0c9e2224758b6be00686731e1b46f925", size = 47263, upload-time = "2025-10-08T19:46:05.405Z" }, + { url = "https://files.pythonhosted.org/packages/df/1b/39313ddad2bf9187a1432654c38249bab4562ef535ef07f5eb6eb04d0b1b/propcache-0.4.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9a52009f2adffe195d0b605c25ec929d26b36ef986ba85244891dee3b294df21", size = 201012, upload-time = "2025-10-08T19:46:07.165Z" }, + { url = "https://files.pythonhosted.org/packages/5b/01/f1d0b57d136f294a142acf97f4ed58c8e5b974c21e543000968357115011/propcache-0.4.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5d4e2366a9c7b837555cf02fb9be2e3167d333aff716332ef1b7c3a142ec40c5", size = 209491, upload-time = "2025-10-08T19:46:08.909Z" }, + { url = "https://files.pythonhosted.org/packages/a1/c8/038d909c61c5bb039070b3fb02ad5cccdb1dde0d714792e251cdb17c9c05/propcache-0.4.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9d2b6caef873b4f09e26ea7e33d65f42b944837563a47a94719cc3544319a0db", size = 215319, upload-time = "2025-10-08T19:46:10.7Z" }, + { url = "https://files.pythonhosted.org/packages/08/57/8c87e93142b2c1fa2408e45695205a7ba05fb5db458c0bf5c06ba0e09ea6/propcache-0.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2b16ec437a8c8a965ecf95739448dd938b5c7f56e67ea009f4300d8df05f32b7", size = 196856, upload-time = "2025-10-08T19:46:12.003Z" }, + { url = "https://files.pythonhosted.org/packages/42/df/5615fec76aa561987a534759b3686008a288e73107faa49a8ae5795a9f7a/propcache-0.4.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:296f4c8ed03ca7476813fe666c9ea97869a8d7aec972618671b33a38a5182ef4", size = 193241, upload-time = "2025-10-08T19:46:13.495Z" }, + { url = "https://files.pythonhosted.org/packages/d5/21/62949eb3a7a54afe8327011c90aca7e03547787a88fb8bd9726806482fea/propcache-0.4.1-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:1f0978529a418ebd1f49dad413a2b68af33f85d5c5ca5c6ca2a3bed375a7ac60", size = 190552, upload-time = "2025-10-08T19:46:14.938Z" }, + { url = "https://files.pythonhosted.org/packages/30/ee/ab4d727dd70806e5b4de96a798ae7ac6e4d42516f030ee60522474b6b332/propcache-0.4.1-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:fd138803047fb4c062b1c1dd95462f5209456bfab55c734458f15d11da288f8f", size = 200113, upload-time = "2025-10-08T19:46:16.695Z" }, + { url = "https://files.pythonhosted.org/packages/8a/0b/38b46208e6711b016aa8966a3ac793eee0d05c7159d8342aa27fc0bc365e/propcache-0.4.1-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8c9b3cbe4584636d72ff556d9036e0c9317fa27b3ac1f0f558e7e84d1c9c5900", size = 200778, upload-time = "2025-10-08T19:46:18.023Z" }, + { url = "https://files.pythonhosted.org/packages/cf/81/5abec54355ed344476bee711e9f04815d4b00a311ab0535599204eecc257/propcache-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f93243fdc5657247533273ac4f86ae106cc6445a0efacb9a1bfe982fcfefd90c", size = 193047, upload-time = "2025-10-08T19:46:19.449Z" }, + { url = "https://files.pythonhosted.org/packages/ec/b6/1f237c04e32063cb034acd5f6ef34ef3a394f75502e72703545631ab1ef6/propcache-0.4.1-cp310-cp310-win32.whl", hash = "sha256:a0ee98db9c5f80785b266eb805016e36058ac72c51a064040f2bc43b61101cdb", size = 38093, upload-time = "2025-10-08T19:46:20.643Z" }, + { url = "https://files.pythonhosted.org/packages/a6/67/354aac4e0603a15f76439caf0427781bcd6797f370377f75a642133bc954/propcache-0.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:1cdb7988c4e5ac7f6d175a28a9aa0c94cb6f2ebe52756a3c0cda98d2809a9e37", size = 41638, upload-time = "2025-10-08T19:46:21.935Z" }, + { url = "https://files.pythonhosted.org/packages/e0/e1/74e55b9fd1a4c209ff1a9a824bf6c8b3d1fc5a1ac3eabe23462637466785/propcache-0.4.1-cp310-cp310-win_arm64.whl", hash = "sha256:d82ad62b19645419fe79dd63b3f9253e15b30e955c0170e5cebc350c1844e581", size = 38229, upload-time = "2025-10-08T19:46:23.368Z" }, + { url = "https://files.pythonhosted.org/packages/8c/d4/4e2c9aaf7ac2242b9358f98dccd8f90f2605402f5afeff6c578682c2c491/propcache-0.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:60a8fda9644b7dfd5dece8c61d8a85e271cb958075bfc4e01083c148b61a7caf", size = 80208, upload-time = "2025-10-08T19:46:24.597Z" }, + { url = "https://files.pythonhosted.org/packages/c2/21/d7b68e911f9c8e18e4ae43bdbc1e1e9bbd971f8866eb81608947b6f585ff/propcache-0.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c30b53e7e6bda1d547cabb47c825f3843a0a1a42b0496087bb58d8fedf9f41b5", size = 45777, upload-time = "2025-10-08T19:46:25.733Z" }, + { url = "https://files.pythonhosted.org/packages/d3/1d/11605e99ac8ea9435651ee71ab4cb4bf03f0949586246476a25aadfec54a/propcache-0.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6918ecbd897443087a3b7cd978d56546a812517dcaaca51b49526720571fa93e", size = 47647, upload-time = "2025-10-08T19:46:27.304Z" }, + { url = "https://files.pythonhosted.org/packages/58/1a/3c62c127a8466c9c843bccb503d40a273e5cc69838805f322e2826509e0d/propcache-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3d902a36df4e5989763425a8ab9e98cd8ad5c52c823b34ee7ef307fd50582566", size = 214929, upload-time = "2025-10-08T19:46:28.62Z" }, + { url = "https://files.pythonhosted.org/packages/56/b9/8fa98f850960b367c4b8fe0592e7fc341daa7a9462e925228f10a60cf74f/propcache-0.4.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a9695397f85973bb40427dedddf70d8dc4a44b22f1650dd4af9eedf443d45165", size = 221778, upload-time = "2025-10-08T19:46:30.358Z" }, + { url = "https://files.pythonhosted.org/packages/46/a6/0ab4f660eb59649d14b3d3d65c439421cf2f87fe5dd68591cbe3c1e78a89/propcache-0.4.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2bb07ffd7eaad486576430c89f9b215f9e4be68c4866a96e97db9e97fead85dc", size = 228144, upload-time = "2025-10-08T19:46:32.607Z" }, + { url = "https://files.pythonhosted.org/packages/52/6a/57f43e054fb3d3a56ac9fc532bc684fc6169a26c75c353e65425b3e56eef/propcache-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fd6f30fdcf9ae2a70abd34da54f18da086160e4d7d9251f81f3da0ff84fc5a48", size = 210030, upload-time = "2025-10-08T19:46:33.969Z" }, + { url = "https://files.pythonhosted.org/packages/40/e2/27e6feebb5f6b8408fa29f5efbb765cd54c153ac77314d27e457a3e993b7/propcache-0.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fc38cba02d1acba4e2869eef1a57a43dfbd3d49a59bf90dda7444ec2be6a5570", size = 208252, upload-time = "2025-10-08T19:46:35.309Z" }, + { url = "https://files.pythonhosted.org/packages/9e/f8/91c27b22ccda1dbc7967f921c42825564fa5336a01ecd72eb78a9f4f53c2/propcache-0.4.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:67fad6162281e80e882fb3ec355398cf72864a54069d060321f6cd0ade95fe85", size = 202064, upload-time = "2025-10-08T19:46:36.993Z" }, + { url = "https://files.pythonhosted.org/packages/f2/26/7f00bd6bd1adba5aafe5f4a66390f243acab58eab24ff1a08bebb2ef9d40/propcache-0.4.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f10207adf04d08bec185bae14d9606a1444715bc99180f9331c9c02093e1959e", size = 212429, upload-time = "2025-10-08T19:46:38.398Z" }, + { url = "https://files.pythonhosted.org/packages/84/89/fd108ba7815c1117ddca79c228f3f8a15fc82a73bca8b142eb5de13b2785/propcache-0.4.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:e9b0d8d0845bbc4cfcdcbcdbf5086886bc8157aa963c31c777ceff7846c77757", size = 216727, upload-time = "2025-10-08T19:46:39.732Z" }, + { url = "https://files.pythonhosted.org/packages/79/37/3ec3f7e3173e73f1d600495d8b545b53802cbf35506e5732dd8578db3724/propcache-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:981333cb2f4c1896a12f4ab92a9cc8f09ea664e9b7dbdc4eff74627af3a11c0f", size = 205097, upload-time = "2025-10-08T19:46:41.025Z" }, + { url = "https://files.pythonhosted.org/packages/61/b0/b2631c19793f869d35f47d5a3a56fb19e9160d3c119f15ac7344fc3ccae7/propcache-0.4.1-cp311-cp311-win32.whl", hash = "sha256:f1d2f90aeec838a52f1c1a32fe9a619fefd5e411721a9117fbf82aea638fe8a1", size = 38084, upload-time = "2025-10-08T19:46:42.693Z" }, + { url = "https://files.pythonhosted.org/packages/f4/78/6cce448e2098e9f3bfc91bb877f06aa24b6ccace872e39c53b2f707c4648/propcache-0.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:364426a62660f3f699949ac8c621aad6977be7126c5807ce48c0aeb8e7333ea6", size = 41637, upload-time = "2025-10-08T19:46:43.778Z" }, + { url = "https://files.pythonhosted.org/packages/9c/e9/754f180cccd7f51a39913782c74717c581b9cc8177ad0e949f4d51812383/propcache-0.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:e53f3a38d3510c11953f3e6a33f205c6d1b001129f972805ca9b42fc308bc239", size = 38064, upload-time = "2025-10-08T19:46:44.872Z" }, + { url = "https://files.pythonhosted.org/packages/a2/0f/f17b1b2b221d5ca28b4b876e8bb046ac40466513960646bda8e1853cdfa2/propcache-0.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e153e9cd40cc8945138822807139367f256f89c6810c2634a4f6902b52d3b4e2", size = 80061, upload-time = "2025-10-08T19:46:46.075Z" }, + { url = "https://files.pythonhosted.org/packages/76/47/8ccf75935f51448ba9a16a71b783eb7ef6b9ee60f5d14c7f8a8a79fbeed7/propcache-0.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cd547953428f7abb73c5ad82cbb32109566204260d98e41e5dfdc682eb7f8403", size = 46037, upload-time = "2025-10-08T19:46:47.23Z" }, + { url = "https://files.pythonhosted.org/packages/0a/b6/5c9a0e42df4d00bfb4a3cbbe5cf9f54260300c88a0e9af1f47ca5ce17ac0/propcache-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f048da1b4f243fc44f205dfd320933a951b8d89e0afd4c7cacc762a8b9165207", size = 47324, upload-time = "2025-10-08T19:46:48.384Z" }, + { url = "https://files.pythonhosted.org/packages/9e/d3/6c7ee328b39a81ee877c962469f1e795f9db87f925251efeb0545e0020d0/propcache-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ec17c65562a827bba85e3872ead335f95405ea1674860d96483a02f5c698fa72", size = 225505, upload-time = "2025-10-08T19:46:50.055Z" }, + { url = "https://files.pythonhosted.org/packages/01/5d/1c53f4563490b1d06a684742cc6076ef944bc6457df6051b7d1a877c057b/propcache-0.4.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:405aac25c6394ef275dee4c709be43745d36674b223ba4eb7144bf4d691b7367", size = 230242, upload-time = "2025-10-08T19:46:51.815Z" }, + { url = "https://files.pythonhosted.org/packages/20/e1/ce4620633b0e2422207c3cb774a0ee61cac13abc6217763a7b9e2e3f4a12/propcache-0.4.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0013cb6f8dde4b2a2f66903b8ba740bdfe378c943c4377a200551ceb27f379e4", size = 238474, upload-time = "2025-10-08T19:46:53.208Z" }, + { url = "https://files.pythonhosted.org/packages/46/4b/3aae6835b8e5f44ea6a68348ad90f78134047b503765087be2f9912140ea/propcache-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15932ab57837c3368b024473a525e25d316d8353016e7cc0e5ba9eb343fbb1cf", size = 221575, upload-time = "2025-10-08T19:46:54.511Z" }, + { url = "https://files.pythonhosted.org/packages/6e/a5/8a5e8678bcc9d3a1a15b9a29165640d64762d424a16af543f00629c87338/propcache-0.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:031dce78b9dc099f4c29785d9cf5577a3faf9ebf74ecbd3c856a7b92768c3df3", size = 216736, upload-time = "2025-10-08T19:46:56.212Z" }, + { url = "https://files.pythonhosted.org/packages/f1/63/b7b215eddeac83ca1c6b934f89d09a625aa9ee4ba158338854c87210cc36/propcache-0.4.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:ab08df6c9a035bee56e31af99be621526bd237bea9f32def431c656b29e41778", size = 213019, upload-time = "2025-10-08T19:46:57.595Z" }, + { url = "https://files.pythonhosted.org/packages/57/74/f580099a58c8af587cac7ba19ee7cb418506342fbbe2d4a4401661cca886/propcache-0.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4d7af63f9f93fe593afbf104c21b3b15868efb2c21d07d8732c0c4287e66b6a6", size = 220376, upload-time = "2025-10-08T19:46:59.067Z" }, + { url = "https://files.pythonhosted.org/packages/c4/ee/542f1313aff7eaf19c2bb758c5d0560d2683dac001a1c96d0774af799843/propcache-0.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cfc27c945f422e8b5071b6e93169679e4eb5bf73bbcbf1ba3ae3a83d2f78ebd9", size = 226988, upload-time = "2025-10-08T19:47:00.544Z" }, + { url = "https://files.pythonhosted.org/packages/8f/18/9c6b015dd9c6930f6ce2229e1f02fb35298b847f2087ea2b436a5bfa7287/propcache-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:35c3277624a080cc6ec6f847cbbbb5b49affa3598c4535a0a4682a697aaa5c75", size = 215615, upload-time = "2025-10-08T19:47:01.968Z" }, + { url = "https://files.pythonhosted.org/packages/80/9e/e7b85720b98c45a45e1fca6a177024934dc9bc5f4d5dd04207f216fc33ed/propcache-0.4.1-cp312-cp312-win32.whl", hash = "sha256:671538c2262dadb5ba6395e26c1731e1d52534bfe9ae56d0b5573ce539266aa8", size = 38066, upload-time = "2025-10-08T19:47:03.503Z" }, + { url = "https://files.pythonhosted.org/packages/54/09/d19cff2a5aaac632ec8fc03737b223597b1e347416934c1b3a7df079784c/propcache-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:cb2d222e72399fcf5890d1d5cc1060857b9b236adff2792ff48ca2dfd46c81db", size = 41655, upload-time = "2025-10-08T19:47:04.973Z" }, + { url = "https://files.pythonhosted.org/packages/68/ab/6b5c191bb5de08036a8c697b265d4ca76148efb10fa162f14af14fb5f076/propcache-0.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:204483131fb222bdaaeeea9f9e6c6ed0cac32731f75dfc1d4a567fc1926477c1", size = 37789, upload-time = "2025-10-08T19:47:06.077Z" }, + { url = "https://files.pythonhosted.org/packages/bf/df/6d9c1b6ac12b003837dde8a10231a7344512186e87b36e855bef32241942/propcache-0.4.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:43eedf29202c08550aac1d14e0ee619b0430aaef78f85864c1a892294fbc28cf", size = 77750, upload-time = "2025-10-08T19:47:07.648Z" }, + { url = "https://files.pythonhosted.org/packages/8b/e8/677a0025e8a2acf07d3418a2e7ba529c9c33caf09d3c1f25513023c1db56/propcache-0.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d62cdfcfd89ccb8de04e0eda998535c406bf5e060ffd56be6c586cbcc05b3311", size = 44780, upload-time = "2025-10-08T19:47:08.851Z" }, + { url = "https://files.pythonhosted.org/packages/89/a4/92380f7ca60f99ebae761936bc48a72a639e8a47b29050615eef757cb2a7/propcache-0.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cae65ad55793da34db5f54e4029b89d3b9b9490d8abe1b4c7ab5d4b8ec7ebf74", size = 46308, upload-time = "2025-10-08T19:47:09.982Z" }, + { url = "https://files.pythonhosted.org/packages/2d/48/c5ac64dee5262044348d1d78a5f85dd1a57464a60d30daee946699963eb3/propcache-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:333ddb9031d2704a301ee3e506dc46b1fe5f294ec198ed6435ad5b6a085facfe", size = 208182, upload-time = "2025-10-08T19:47:11.319Z" }, + { url = "https://files.pythonhosted.org/packages/c6/0c/cd762dd011a9287389a6a3eb43aa30207bde253610cca06824aeabfe9653/propcache-0.4.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:fd0858c20f078a32cf55f7e81473d96dcf3b93fd2ccdb3d40fdf54b8573df3af", size = 211215, upload-time = "2025-10-08T19:47:13.146Z" }, + { url = "https://files.pythonhosted.org/packages/30/3e/49861e90233ba36890ae0ca4c660e95df565b2cd15d4a68556ab5865974e/propcache-0.4.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:678ae89ebc632c5c204c794f8dab2837c5f159aeb59e6ed0539500400577298c", size = 218112, upload-time = "2025-10-08T19:47:14.913Z" }, + { url = "https://files.pythonhosted.org/packages/f1/8b/544bc867e24e1bd48f3118cecd3b05c694e160a168478fa28770f22fd094/propcache-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d472aeb4fbf9865e0c6d622d7f4d54a4e101a89715d8904282bb5f9a2f476c3f", size = 204442, upload-time = "2025-10-08T19:47:16.277Z" }, + { url = "https://files.pythonhosted.org/packages/50/a6/4282772fd016a76d3e5c0df58380a5ea64900afd836cec2c2f662d1b9bb3/propcache-0.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4d3df5fa7e36b3225954fba85589da77a0fe6a53e3976de39caf04a0db4c36f1", size = 199398, upload-time = "2025-10-08T19:47:17.962Z" }, + { url = "https://files.pythonhosted.org/packages/3e/ec/d8a7cd406ee1ddb705db2139f8a10a8a427100347bd698e7014351c7af09/propcache-0.4.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:ee17f18d2498f2673e432faaa71698032b0127ebf23ae5974eeaf806c279df24", size = 196920, upload-time = "2025-10-08T19:47:19.355Z" }, + { url = "https://files.pythonhosted.org/packages/f6/6c/f38ab64af3764f431e359f8baf9e0a21013e24329e8b85d2da32e8ed07ca/propcache-0.4.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:580e97762b950f993ae618e167e7be9256b8353c2dcd8b99ec100eb50f5286aa", size = 203748, upload-time = "2025-10-08T19:47:21.338Z" }, + { url = "https://files.pythonhosted.org/packages/d6/e3/fa846bd70f6534d647886621388f0a265254d30e3ce47e5c8e6e27dbf153/propcache-0.4.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:501d20b891688eb8e7aa903021f0b72d5a55db40ffaab27edefd1027caaafa61", size = 205877, upload-time = "2025-10-08T19:47:23.059Z" }, + { url = "https://files.pythonhosted.org/packages/e2/39/8163fc6f3133fea7b5f2827e8eba2029a0277ab2c5beee6c1db7b10fc23d/propcache-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9a0bd56e5b100aef69bd8562b74b46254e7c8812918d3baa700c8a8009b0af66", size = 199437, upload-time = "2025-10-08T19:47:24.445Z" }, + { url = "https://files.pythonhosted.org/packages/93/89/caa9089970ca49c7c01662bd0eeedfe85494e863e8043565aeb6472ce8fe/propcache-0.4.1-cp313-cp313-win32.whl", hash = "sha256:bcc9aaa5d80322bc2fb24bb7accb4a30f81e90ab8d6ba187aec0744bc302ad81", size = 37586, upload-time = "2025-10-08T19:47:25.736Z" }, + { url = "https://files.pythonhosted.org/packages/f5/ab/f76ec3c3627c883215b5c8080debb4394ef5a7a29be811f786415fc1e6fd/propcache-0.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:381914df18634f5494334d201e98245c0596067504b9372d8cf93f4bb23e025e", size = 40790, upload-time = "2025-10-08T19:47:26.847Z" }, + { url = "https://files.pythonhosted.org/packages/59/1b/e71ae98235f8e2ba5004d8cb19765a74877abf189bc53fc0c80d799e56c3/propcache-0.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:8873eb4460fd55333ea49b7d189749ecf6e55bf85080f11b1c4530ed3034cba1", size = 37158, upload-time = "2025-10-08T19:47:27.961Z" }, + { url = "https://files.pythonhosted.org/packages/83/ce/a31bbdfc24ee0dcbba458c8175ed26089cf109a55bbe7b7640ed2470cfe9/propcache-0.4.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:92d1935ee1f8d7442da9c0c4fa7ac20d07e94064184811b685f5c4fada64553b", size = 81451, upload-time = "2025-10-08T19:47:29.445Z" }, + { url = "https://files.pythonhosted.org/packages/25/9c/442a45a470a68456e710d96cacd3573ef26a1d0a60067e6a7d5e655621ed/propcache-0.4.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:473c61b39e1460d386479b9b2f337da492042447c9b685f28be4f74d3529e566", size = 46374, upload-time = "2025-10-08T19:47:30.579Z" }, + { url = "https://files.pythonhosted.org/packages/f4/bf/b1d5e21dbc3b2e889ea4327044fb16312a736d97640fb8b6aa3f9c7b3b65/propcache-0.4.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:c0ef0aaafc66fbd87842a3fe3902fd889825646bc21149eafe47be6072725835", size = 48396, upload-time = "2025-10-08T19:47:31.79Z" }, + { url = "https://files.pythonhosted.org/packages/f4/04/5b4c54a103d480e978d3c8a76073502b18db0c4bc17ab91b3cb5092ad949/propcache-0.4.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f95393b4d66bfae908c3ca8d169d5f79cd65636ae15b5e7a4f6e67af675adb0e", size = 275950, upload-time = "2025-10-08T19:47:33.481Z" }, + { url = "https://files.pythonhosted.org/packages/b4/c1/86f846827fb969c4b78b0af79bba1d1ea2156492e1b83dea8b8a6ae27395/propcache-0.4.1-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c07fda85708bc48578467e85099645167a955ba093be0a2dcba962195676e859", size = 273856, upload-time = "2025-10-08T19:47:34.906Z" }, + { url = "https://files.pythonhosted.org/packages/36/1d/fc272a63c8d3bbad6878c336c7a7dea15e8f2d23a544bda43205dfa83ada/propcache-0.4.1-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:af223b406d6d000830c6f65f1e6431783fc3f713ba3e6cc8c024d5ee96170a4b", size = 280420, upload-time = "2025-10-08T19:47:36.338Z" }, + { url = "https://files.pythonhosted.org/packages/07/0c/01f2219d39f7e53d52e5173bcb09c976609ba30209912a0680adfb8c593a/propcache-0.4.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a78372c932c90ee474559c5ddfffd718238e8673c340dc21fe45c5b8b54559a0", size = 263254, upload-time = "2025-10-08T19:47:37.692Z" }, + { url = "https://files.pythonhosted.org/packages/2d/18/cd28081658ce597898f0c4d174d4d0f3c5b6d4dc27ffafeef835c95eb359/propcache-0.4.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:564d9f0d4d9509e1a870c920a89b2fec951b44bf5ba7d537a9e7c1ccec2c18af", size = 261205, upload-time = "2025-10-08T19:47:39.659Z" }, + { url = "https://files.pythonhosted.org/packages/7a/71/1f9e22eb8b8316701c2a19fa1f388c8a3185082607da8e406a803c9b954e/propcache-0.4.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:17612831fda0138059cc5546f4d12a2aacfb9e47068c06af35c400ba58ba7393", size = 247873, upload-time = "2025-10-08T19:47:41.084Z" }, + { url = "https://files.pythonhosted.org/packages/4a/65/3d4b61f36af2b4eddba9def857959f1016a51066b4f1ce348e0cf7881f58/propcache-0.4.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:41a89040cb10bd345b3c1a873b2bf36413d48da1def52f268a055f7398514874", size = 262739, upload-time = "2025-10-08T19:47:42.51Z" }, + { url = "https://files.pythonhosted.org/packages/2a/42/26746ab087faa77c1c68079b228810436ccd9a5ce9ac85e2b7307195fd06/propcache-0.4.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:e35b88984e7fa64aacecea39236cee32dd9bd8c55f57ba8a75cf2399553f9bd7", size = 263514, upload-time = "2025-10-08T19:47:43.927Z" }, + { url = "https://files.pythonhosted.org/packages/94/13/630690fe201f5502d2403dd3cfd451ed8858fe3c738ee88d095ad2ff407b/propcache-0.4.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f8b465489f927b0df505cbe26ffbeed4d6d8a2bbc61ce90eb074ff129ef0ab1", size = 257781, upload-time = "2025-10-08T19:47:45.448Z" }, + { url = "https://files.pythonhosted.org/packages/92/f7/1d4ec5841505f423469efbfc381d64b7b467438cd5a4bbcbb063f3b73d27/propcache-0.4.1-cp313-cp313t-win32.whl", hash = "sha256:2ad890caa1d928c7c2965b48f3a3815c853180831d0e5503d35cf00c472f4717", size = 41396, upload-time = "2025-10-08T19:47:47.202Z" }, + { url = "https://files.pythonhosted.org/packages/48/f0/615c30622316496d2cbbc29f5985f7777d3ada70f23370608c1d3e081c1f/propcache-0.4.1-cp313-cp313t-win_amd64.whl", hash = "sha256:f7ee0e597f495cf415bcbd3da3caa3bd7e816b74d0d52b8145954c5e6fd3ff37", size = 44897, upload-time = "2025-10-08T19:47:48.336Z" }, + { url = "https://files.pythonhosted.org/packages/fd/ca/6002e46eccbe0e33dcd4069ef32f7f1c9e243736e07adca37ae8c4830ec3/propcache-0.4.1-cp313-cp313t-win_arm64.whl", hash = "sha256:929d7cbe1f01bb7baffb33dc14eb5691c95831450a26354cd210a8155170c93a", size = 39789, upload-time = "2025-10-08T19:47:49.876Z" }, + { url = "https://files.pythonhosted.org/packages/8e/5c/bca52d654a896f831b8256683457ceddd490ec18d9ec50e97dfd8fc726a8/propcache-0.4.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3f7124c9d820ba5548d431afb4632301acf965db49e666aa21c305cbe8c6de12", size = 78152, upload-time = "2025-10-08T19:47:51.051Z" }, + { url = "https://files.pythonhosted.org/packages/65/9b/03b04e7d82a5f54fb16113d839f5ea1ede58a61e90edf515f6577c66fa8f/propcache-0.4.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:c0d4b719b7da33599dfe3b22d3db1ef789210a0597bc650b7cee9c77c2be8c5c", size = 44869, upload-time = "2025-10-08T19:47:52.594Z" }, + { url = "https://files.pythonhosted.org/packages/b2/fa/89a8ef0468d5833a23fff277b143d0573897cf75bd56670a6d28126c7d68/propcache-0.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f302f4783709a78240ebc311b793f123328716a60911d667e0c036bc5dcbded", size = 46596, upload-time = "2025-10-08T19:47:54.073Z" }, + { url = "https://files.pythonhosted.org/packages/86/bd/47816020d337f4a746edc42fe8d53669965138f39ee117414c7d7a340cfe/propcache-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c80ee5802e3fb9ea37938e7eecc307fb984837091d5fd262bb37238b1ae97641", size = 206981, upload-time = "2025-10-08T19:47:55.715Z" }, + { url = "https://files.pythonhosted.org/packages/df/f6/c5fa1357cc9748510ee55f37173eb31bfde6d94e98ccd9e6f033f2fc06e1/propcache-0.4.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ed5a841e8bb29a55fb8159ed526b26adc5bdd7e8bd7bf793ce647cb08656cdf4", size = 211490, upload-time = "2025-10-08T19:47:57.499Z" }, + { url = "https://files.pythonhosted.org/packages/80/1e/e5889652a7c4a3846683401a48f0f2e5083ce0ec1a8a5221d8058fbd1adf/propcache-0.4.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:55c72fd6ea2da4c318e74ffdf93c4fe4e926051133657459131a95c846d16d44", size = 215371, upload-time = "2025-10-08T19:47:59.317Z" }, + { url = "https://files.pythonhosted.org/packages/b2/f2/889ad4b2408f72fe1a4f6a19491177b30ea7bf1a0fd5f17050ca08cfc882/propcache-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8326e144341460402713f91df60ade3c999d601e7eb5ff8f6f7862d54de0610d", size = 201424, upload-time = "2025-10-08T19:48:00.67Z" }, + { url = "https://files.pythonhosted.org/packages/27/73/033d63069b57b0812c8bd19f311faebeceb6ba31b8f32b73432d12a0b826/propcache-0.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:060b16ae65bc098da7f6d25bf359f1f31f688384858204fe5d652979e0015e5b", size = 197566, upload-time = "2025-10-08T19:48:02.604Z" }, + { url = "https://files.pythonhosted.org/packages/dc/89/ce24f3dc182630b4e07aa6d15f0ff4b14ed4b9955fae95a0b54c58d66c05/propcache-0.4.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:89eb3fa9524f7bec9de6e83cf3faed9d79bffa560672c118a96a171a6f55831e", size = 193130, upload-time = "2025-10-08T19:48:04.499Z" }, + { url = "https://files.pythonhosted.org/packages/a9/24/ef0d5fd1a811fb5c609278d0209c9f10c35f20581fcc16f818da959fc5b4/propcache-0.4.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:dee69d7015dc235f526fe80a9c90d65eb0039103fe565776250881731f06349f", size = 202625, upload-time = "2025-10-08T19:48:06.213Z" }, + { url = "https://files.pythonhosted.org/packages/f5/02/98ec20ff5546f68d673df2f7a69e8c0d076b5abd05ca882dc7ee3a83653d/propcache-0.4.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:5558992a00dfd54ccbc64a32726a3357ec93825a418a401f5cc67df0ac5d9e49", size = 204209, upload-time = "2025-10-08T19:48:08.432Z" }, + { url = "https://files.pythonhosted.org/packages/a0/87/492694f76759b15f0467a2a93ab68d32859672b646aa8a04ce4864e7932d/propcache-0.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c9b822a577f560fbd9554812526831712c1436d2c046cedee4c3796d3543b144", size = 197797, upload-time = "2025-10-08T19:48:09.968Z" }, + { url = "https://files.pythonhosted.org/packages/ee/36/66367de3575db1d2d3f3d177432bd14ee577a39d3f5d1b3d5df8afe3b6e2/propcache-0.4.1-cp314-cp314-win32.whl", hash = "sha256:ab4c29b49d560fe48b696cdcb127dd36e0bc2472548f3bf56cc5cb3da2b2984f", size = 38140, upload-time = "2025-10-08T19:48:11.232Z" }, + { url = "https://files.pythonhosted.org/packages/0c/2a/a758b47de253636e1b8aef181c0b4f4f204bf0dd964914fb2af90a95b49b/propcache-0.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:5a103c3eb905fcea0ab98be99c3a9a5ab2de60228aa5aceedc614c0281cf6153", size = 41257, upload-time = "2025-10-08T19:48:12.707Z" }, + { url = "https://files.pythonhosted.org/packages/34/5e/63bd5896c3fec12edcbd6f12508d4890d23c265df28c74b175e1ef9f4f3b/propcache-0.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:74c1fb26515153e482e00177a1ad654721bf9207da8a494a0c05e797ad27b992", size = 38097, upload-time = "2025-10-08T19:48:13.923Z" }, + { url = "https://files.pythonhosted.org/packages/99/85/9ff785d787ccf9bbb3f3106f79884a130951436f58392000231b4c737c80/propcache-0.4.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:824e908bce90fb2743bd6b59db36eb4f45cd350a39637c9f73b1c1ea66f5b75f", size = 81455, upload-time = "2025-10-08T19:48:15.16Z" }, + { url = "https://files.pythonhosted.org/packages/90/85/2431c10c8e7ddb1445c1f7c4b54d886e8ad20e3c6307e7218f05922cad67/propcache-0.4.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c2b5e7db5328427c57c8e8831abda175421b709672f6cfc3d630c3b7e2146393", size = 46372, upload-time = "2025-10-08T19:48:16.424Z" }, + { url = "https://files.pythonhosted.org/packages/01/20/b0972d902472da9bcb683fa595099911f4d2e86e5683bcc45de60dd05dc3/propcache-0.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6f6ff873ed40292cd4969ef5310179afd5db59fdf055897e282485043fc80ad0", size = 48411, upload-time = "2025-10-08T19:48:17.577Z" }, + { url = "https://files.pythonhosted.org/packages/e2/e3/7dc89f4f21e8f99bad3d5ddb3a3389afcf9da4ac69e3deb2dcdc96e74169/propcache-0.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49a2dc67c154db2c1463013594c458881a069fcf98940e61a0569016a583020a", size = 275712, upload-time = "2025-10-08T19:48:18.901Z" }, + { url = "https://files.pythonhosted.org/packages/20/67/89800c8352489b21a8047c773067644e3897f02ecbbd610f4d46b7f08612/propcache-0.4.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:005f08e6a0529984491e37d8dbc3dd86f84bd78a8ceb5fa9a021f4c48d4984be", size = 273557, upload-time = "2025-10-08T19:48:20.762Z" }, + { url = "https://files.pythonhosted.org/packages/e2/a1/b52b055c766a54ce6d9c16d9aca0cad8059acd9637cdf8aa0222f4a026ef/propcache-0.4.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5c3310452e0d31390da9035c348633b43d7e7feb2e37be252be6da45abd1abcc", size = 280015, upload-time = "2025-10-08T19:48:22.592Z" }, + { url = "https://files.pythonhosted.org/packages/48/c8/33cee30bd890672c63743049f3c9e4be087e6780906bfc3ec58528be59c1/propcache-0.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4c3c70630930447f9ef1caac7728c8ad1c56bc5015338b20fed0d08ea2480b3a", size = 262880, upload-time = "2025-10-08T19:48:23.947Z" }, + { url = "https://files.pythonhosted.org/packages/0c/b1/8f08a143b204b418285c88b83d00edbd61afbc2c6415ffafc8905da7038b/propcache-0.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8e57061305815dfc910a3634dcf584f08168a8836e6999983569f51a8544cd89", size = 260938, upload-time = "2025-10-08T19:48:25.656Z" }, + { url = "https://files.pythonhosted.org/packages/cf/12/96e4664c82ca2f31e1c8dff86afb867348979eb78d3cb8546a680287a1e9/propcache-0.4.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:521a463429ef54143092c11a77e04056dd00636f72e8c45b70aaa3140d639726", size = 247641, upload-time = "2025-10-08T19:48:27.207Z" }, + { url = "https://files.pythonhosted.org/packages/18/ed/e7a9cfca28133386ba52278136d42209d3125db08d0a6395f0cba0c0285c/propcache-0.4.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:120c964da3fdc75e3731aa392527136d4ad35868cc556fd09bb6d09172d9a367", size = 262510, upload-time = "2025-10-08T19:48:28.65Z" }, + { url = "https://files.pythonhosted.org/packages/f5/76/16d8bf65e8845dd62b4e2b57444ab81f07f40caa5652b8969b87ddcf2ef6/propcache-0.4.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:d8f353eb14ee3441ee844ade4277d560cdd68288838673273b978e3d6d2c8f36", size = 263161, upload-time = "2025-10-08T19:48:30.133Z" }, + { url = "https://files.pythonhosted.org/packages/e7/70/c99e9edb5d91d5ad8a49fa3c1e8285ba64f1476782fed10ab251ff413ba1/propcache-0.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ab2943be7c652f09638800905ee1bab2c544e537edb57d527997a24c13dc1455", size = 257393, upload-time = "2025-10-08T19:48:31.567Z" }, + { url = "https://files.pythonhosted.org/packages/08/02/87b25304249a35c0915d236575bc3574a323f60b47939a2262b77632a3ee/propcache-0.4.1-cp314-cp314t-win32.whl", hash = "sha256:05674a162469f31358c30bcaa8883cb7829fa3110bf9c0991fe27d7896c42d85", size = 42546, upload-time = "2025-10-08T19:48:32.872Z" }, + { url = "https://files.pythonhosted.org/packages/cb/ef/3c6ecf8b317aa982f309835e8f96987466123c6e596646d4e6a1dfcd080f/propcache-0.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:990f6b3e2a27d683cb7602ed6c86f15ee6b43b1194736f9baaeb93d0016633b1", size = 46259, upload-time = "2025-10-08T19:48:34.226Z" }, + { url = "https://files.pythonhosted.org/packages/c4/2d/346e946d4951f37eca1e4f55be0f0174c52cd70720f84029b02f296f4a38/propcache-0.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ecef2343af4cc68e05131e45024ba34f6095821988a9d0a02aa7c73fcc448aa9", size = 40428, upload-time = "2025-10-08T19:48:35.441Z" }, + { url = "https://files.pythonhosted.org/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305, upload-time = "2025-10-08T19:49:00.792Z" }, +] + +[[package]] +name = "proto-plus" +version = "1.26.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "protobuf" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f4/ac/87285f15f7cce6d4a008f33f1757fb5a13611ea8914eb58c3d0d26243468/proto_plus-1.26.1.tar.gz", hash = "sha256:21a515a4c4c0088a773899e23c7bbade3d18f9c66c73edd4c7ee3816bc96a012", size = 56142, upload-time = "2025-03-10T15:54:38.843Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4e/6d/280c4c2ce28b1593a19ad5239c8b826871fc6ec275c21afc8e1820108039/proto_plus-1.26.1-py3-none-any.whl", hash = "sha256:13285478c2dcf2abb829db158e1047e2f1e8d63a077d94263c2b88b043c75a66", size = 50163, upload-time = "2025-03-10T15:54:37.335Z" }, +] + +[[package]] +name = "protobuf" +version = "6.33.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ba/25/7c72c307aafc96fa87062aa6291d9f7c94836e43214d43722e86037aac02/protobuf-6.33.5.tar.gz", hash = "sha256:6ddcac2a081f8b7b9642c09406bc6a4290128fce5f471cddd165960bb9119e5c", size = 444465, upload-time = "2026-01-29T21:51:33.494Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b1/79/af92d0a8369732b027e6d6084251dd8e782c685c72da161bd4a2e00fbabb/protobuf-6.33.5-cp310-abi3-win32.whl", hash = "sha256:d71b040839446bac0f4d162e758bea99c8251161dae9d0983a3b88dee345153b", size = 425769, upload-time = "2026-01-29T21:51:21.751Z" }, + { url = "https://files.pythonhosted.org/packages/55/75/bb9bc917d10e9ee13dee8607eb9ab963b7cf8be607c46e7862c748aa2af7/protobuf-6.33.5-cp310-abi3-win_amd64.whl", hash = "sha256:3093804752167bcab3998bec9f1048baae6e29505adaf1afd14a37bddede533c", size = 437118, upload-time = "2026-01-29T21:51:24.022Z" }, + { url = "https://files.pythonhosted.org/packages/a2/6b/e48dfc1191bc5b52950246275bf4089773e91cb5ba3592621723cdddca62/protobuf-6.33.5-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:a5cb85982d95d906df1e2210e58f8e4f1e3cdc088e52c921a041f9c9a0386de5", size = 427766, upload-time = "2026-01-29T21:51:25.413Z" }, + { url = "https://files.pythonhosted.org/packages/4e/b1/c79468184310de09d75095ed1314b839eb2f72df71097db9d1404a1b2717/protobuf-6.33.5-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:9b71e0281f36f179d00cbcb119cb19dec4d14a81393e5ea220f64b286173e190", size = 324638, upload-time = "2026-01-29T21:51:26.423Z" }, + { url = "https://files.pythonhosted.org/packages/c5/f5/65d838092fd01c44d16037953fd4c2cc851e783de9b8f02b27ec4ffd906f/protobuf-6.33.5-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:8afa18e1d6d20af15b417e728e9f60f3aa108ee76f23c3b2c07a2c3b546d3afd", size = 339411, upload-time = "2026-01-29T21:51:27.446Z" }, + { url = "https://files.pythonhosted.org/packages/9b/53/a9443aa3ca9ba8724fdfa02dd1887c1bcd8e89556b715cfbacca6b63dbec/protobuf-6.33.5-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:cbf16ba3350fb7b889fca858fb215967792dc125b35c7976ca4818bee3521cf0", size = 323465, upload-time = "2026-01-29T21:51:28.925Z" }, + { url = "https://files.pythonhosted.org/packages/57/bf/2086963c69bdac3d7cff1cc7ff79b8ce5ea0bec6797a017e1be338a46248/protobuf-6.33.5-py3-none-any.whl", hash = "sha256:69915a973dd0f60f31a08b8318b73eab2bd6a392c79184b3612226b0a3f8ec02", size = 170687, upload-time = "2026-01-29T21:51:32.557Z" }, +] + +[[package]] +name = "py-cpuinfo" +version = "9.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/37/a8/d832f7293ebb21690860d2e01d8115e5ff6f2ae8bbdc953f0eb0fa4bd2c7/py-cpuinfo-9.0.0.tar.gz", hash = "sha256:3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690", size = 104716, upload-time = "2022-10-25T20:38:06.303Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e0/a9/023730ba63db1e494a271cb018dcd361bd2c917ba7004c3e49d5daf795a2/py_cpuinfo-9.0.0-py3-none-any.whl", hash = "sha256:859625bc251f64e21f077d099d4162689c762b5d6a4c3c97553d56241c9674d5", size = 22335, upload-time = "2022-10-25T20:38:27.636Z" }, +] + +[[package]] +name = "pyarrow" +version = "23.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/88/22/134986a4cc224d593c1afde5494d18ff629393d74cc2eddb176669f234a4/pyarrow-23.0.1.tar.gz", hash = "sha256:b8c5873e33440b2bc2f4a79d2b47017a89c5a24116c055625e6f2ee50523f019", size = 1167336, upload-time = "2026-02-16T10:14:12.39Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bc/a8/24e5dc6855f50a62936ceb004e6e9645e4219a8065f304145d7fb8a79d5d/pyarrow-23.0.1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:3fab8f82571844eb3c460f90a75583801d14ca0cc32b1acc8c361650e006fd56", size = 34307390, upload-time = "2026-02-16T10:08:08.654Z" }, + { url = "https://files.pythonhosted.org/packages/bc/8e/4be5617b4aaae0287f621ad31c6036e5f63118cfca0dc57d42121ff49b51/pyarrow-23.0.1-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:3f91c038b95f71ddfc865f11d5876c42f343b4495535bd262c7b321b0b94507c", size = 35853761, upload-time = "2026-02-16T10:08:17.811Z" }, + { url = "https://files.pythonhosted.org/packages/2e/08/3e56a18819462210432ae37d10f5c8eed3828be1d6c751b6e6a2e93c286a/pyarrow-23.0.1-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:d0744403adabef53c985a7f8a082b502a368510c40d184df349a0a8754533258", size = 44493116, upload-time = "2026-02-16T10:08:25.792Z" }, + { url = "https://files.pythonhosted.org/packages/f8/82/c40b68001dbec8a3faa4c08cd8c200798ac732d2854537c5449dc859f55a/pyarrow-23.0.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:c33b5bf406284fd0bba436ed6f6c3ebe8e311722b441d89397c54f871c6863a2", size = 47564532, upload-time = "2026-02-16T10:08:34.27Z" }, + { url = "https://files.pythonhosted.org/packages/20/bc/73f611989116b6f53347581b02177f9f620efdf3cd3f405d0e83cdf53a83/pyarrow-23.0.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:ddf743e82f69dcd6dbbcb63628895d7161e04e56794ef80550ac6f3315eeb1d5", size = 48183685, upload-time = "2026-02-16T10:08:42.889Z" }, + { url = "https://files.pythonhosted.org/packages/b0/cc/6c6b3ecdae2a8c3aced99956187e8302fc954cc2cca2a37cf2111dad16ce/pyarrow-23.0.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e052a211c5ac9848ae15d5ec875ed0943c0221e2fcfe69eee80b604b4e703222", size = 50605582, upload-time = "2026-02-16T10:08:51.641Z" }, + { url = "https://files.pythonhosted.org/packages/8d/94/d359e708672878d7638a04a0448edf7c707f9e5606cee11e15aaa5c7535a/pyarrow-23.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:5abde149bb3ce524782d838eb67ac095cd3fd6090eba051130589793f1a7f76d", size = 27521148, upload-time = "2026-02-16T10:08:58.077Z" }, + { url = "https://files.pythonhosted.org/packages/b0/41/8e6b6ef7e225d4ceead8459427a52afdc23379768f54dd3566014d7618c1/pyarrow-23.0.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:6f0147ee9e0386f519c952cc670eb4a8b05caa594eeffe01af0e25f699e4e9bb", size = 34302230, upload-time = "2026-02-16T10:09:03.859Z" }, + { url = "https://files.pythonhosted.org/packages/bf/4a/1472c00392f521fea03ae93408bf445cc7bfa1ab81683faf9bc188e36629/pyarrow-23.0.1-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:0ae6e17c828455b6265d590100c295193f93cc5675eb0af59e49dbd00d2de350", size = 35850050, upload-time = "2026-02-16T10:09:11.877Z" }, + { url = "https://files.pythonhosted.org/packages/0c/b2/bd1f2f05ded56af7f54d702c8364c9c43cd6abb91b0e9933f3d77b4f4132/pyarrow-23.0.1-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:fed7020203e9ef273360b9e45be52a2a47d3103caf156a30ace5247ffb51bdbd", size = 44491918, upload-time = "2026-02-16T10:09:18.144Z" }, + { url = "https://files.pythonhosted.org/packages/0b/62/96459ef5b67957eac38a90f541d1c28833d1b367f014a482cb63f3b7cd2d/pyarrow-23.0.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:26d50dee49d741ac0e82185033488d28d35be4d763ae6f321f97d1140eb7a0e9", size = 47562811, upload-time = "2026-02-16T10:09:25.792Z" }, + { url = "https://files.pythonhosted.org/packages/7d/94/1170e235add1f5f45a954e26cd0e906e7e74e23392dcb560de471f7366ec/pyarrow-23.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3c30143b17161310f151f4a2bcfe41b5ff744238c1039338779424e38579d701", size = 48183766, upload-time = "2026-02-16T10:09:34.645Z" }, + { url = "https://files.pythonhosted.org/packages/0e/2d/39a42af4570377b99774cdb47f63ee6c7da7616bd55b3d5001aa18edfe4f/pyarrow-23.0.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:db2190fa79c80a23fdd29fef4b8992893f024ae7c17d2f5f4db7171fa30c2c78", size = 50607669, upload-time = "2026-02-16T10:09:44.153Z" }, + { url = "https://files.pythonhosted.org/packages/00/ca/db94101c187f3df742133ac837e93b1f269ebdac49427f8310ee40b6a58f/pyarrow-23.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:f00f993a8179e0e1c9713bcc0baf6d6c01326a406a9c23495ec1ba9c9ebf2919", size = 27527698, upload-time = "2026-02-16T10:09:50.263Z" }, + { url = "https://files.pythonhosted.org/packages/9a/4b/4166bb5abbfe6f750fc60ad337c43ecf61340fa52ab386da6e8dbf9e63c4/pyarrow-23.0.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f4b0dbfa124c0bb161f8b5ebb40f1a680b70279aa0c9901d44a2b5a20806039f", size = 34214575, upload-time = "2026-02-16T10:09:56.225Z" }, + { url = "https://files.pythonhosted.org/packages/e1/da/3f941e3734ac8088ea588b53e860baeddac8323ea40ce22e3d0baa865cc9/pyarrow-23.0.1-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:7707d2b6673f7de054e2e83d59f9e805939038eebe1763fe811ee8fa5c0cd1a7", size = 35832540, upload-time = "2026-02-16T10:10:03.428Z" }, + { url = "https://files.pythonhosted.org/packages/88/7c/3d841c366620e906d54430817531b877ba646310296df42ef697308c2705/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:86ff03fb9f1a320266e0de855dee4b17da6794c595d207f89bba40d16b5c78b9", size = 44470940, upload-time = "2026-02-16T10:10:10.704Z" }, + { url = "https://files.pythonhosted.org/packages/2c/a5/da83046273d990f256cb79796a190bbf7ec999269705ddc609403f8c6b06/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:813d99f31275919c383aab17f0f455a04f5a429c261cc411b1e9a8f5e4aaaa05", size = 47586063, upload-time = "2026-02-16T10:10:17.95Z" }, + { url = "https://files.pythonhosted.org/packages/5b/3c/b7d2ebcff47a514f47f9da1e74b7949138c58cfeb108cdd4ee62f43f0cf3/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bf5842f960cddd2ef757d486041d57c96483efc295a8c4a0e20e704cbbf39c67", size = 48173045, upload-time = "2026-02-16T10:10:25.363Z" }, + { url = "https://files.pythonhosted.org/packages/43/b2/b40961262213beaba6acfc88698eb773dfce32ecdf34d19291db94c2bd73/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:564baf97c858ecc03ec01a41062e8f4698abc3e6e2acd79c01c2e97880a19730", size = 50621741, upload-time = "2026-02-16T10:10:33.477Z" }, + { url = "https://files.pythonhosted.org/packages/f6/70/1fdda42d65b28b078e93d75d371b2185a61da89dda4def8ba6ba41ebdeb4/pyarrow-23.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:07deae7783782ac7250989a7b2ecde9b3c343a643f82e8a4df03d93b633006f0", size = 27620678, upload-time = "2026-02-16T10:10:39.31Z" }, + { url = "https://files.pythonhosted.org/packages/47/10/2cbe4c6f0fb83d2de37249567373d64327a5e4d8db72f486db42875b08f6/pyarrow-23.0.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:6b8fda694640b00e8af3c824f99f789e836720aa8c9379fb435d4c4953a756b8", size = 34210066, upload-time = "2026-02-16T10:10:45.487Z" }, + { url = "https://files.pythonhosted.org/packages/cb/4f/679fa7e84dadbaca7a65f7cdba8d6c83febbd93ca12fa4adf40ba3b6362b/pyarrow-23.0.1-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:8ff51b1addc469b9444b7c6f3548e19dc931b172ab234e995a60aea9f6e6025f", size = 35825526, upload-time = "2026-02-16T10:10:52.266Z" }, + { url = "https://files.pythonhosted.org/packages/f9/63/d2747d930882c9d661e9398eefc54f15696547b8983aaaf11d4a2e8b5426/pyarrow-23.0.1-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:71c5be5cbf1e1cb6169d2a0980850bccb558ddc9b747b6206435313c47c37677", size = 44473279, upload-time = "2026-02-16T10:11:01.557Z" }, + { url = "https://files.pythonhosted.org/packages/b3/93/10a48b5e238de6d562a411af6467e71e7aedbc9b87f8d3a35f1560ae30fb/pyarrow-23.0.1-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:9b6f4f17b43bc39d56fec96e53fe89d94bac3eb134137964371b45352d40d0c2", size = 47585798, upload-time = "2026-02-16T10:11:09.401Z" }, + { url = "https://files.pythonhosted.org/packages/5c/20/476943001c54ef078dbf9542280e22741219a184a0632862bca4feccd666/pyarrow-23.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:9fc13fc6c403d1337acab46a2c4346ca6c9dec5780c3c697cf8abfd5e19b6b37", size = 48179446, upload-time = "2026-02-16T10:11:17.781Z" }, + { url = "https://files.pythonhosted.org/packages/4b/b6/5dd0c47b335fcd8edba9bfab78ad961bd0fd55ebe53468cc393f45e0be60/pyarrow-23.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5c16ed4f53247fa3ffb12a14d236de4213a4415d127fe9cebed33d51671113e2", size = 50623972, upload-time = "2026-02-16T10:11:26.185Z" }, + { url = "https://files.pythonhosted.org/packages/d5/09/a532297c9591a727d67760e2e756b83905dd89adb365a7f6e9c72578bcc1/pyarrow-23.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:cecfb12ef629cf6be0b1887f9f86463b0dd3dc3195ae6224e74006be4736035a", size = 27540749, upload-time = "2026-02-16T10:12:23.297Z" }, + { url = "https://files.pythonhosted.org/packages/a5/8e/38749c4b1303e6ae76b3c80618f84861ae0c55dd3c2273842ea6f8258233/pyarrow-23.0.1-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:29f7f7419a0e30264ea261fdc0e5fe63ce5a6095003db2945d7cd78df391a7e1", size = 34471544, upload-time = "2026-02-16T10:11:32.535Z" }, + { url = "https://files.pythonhosted.org/packages/a3/73/f237b2bc8c669212f842bcfd842b04fc8d936bfc9d471630569132dc920d/pyarrow-23.0.1-cp313-cp313t-macosx_12_0_x86_64.whl", hash = "sha256:33d648dc25b51fd8055c19e4261e813dfc4d2427f068bcecc8b53d01b81b0500", size = 35949911, upload-time = "2026-02-16T10:11:39.813Z" }, + { url = "https://files.pythonhosted.org/packages/0c/86/b912195eee0903b5611bf596833def7d146ab2d301afeb4b722c57ffc966/pyarrow-23.0.1-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:cd395abf8f91c673dd3589cadc8cc1ee4e8674fa61b2e923c8dd215d9c7d1f41", size = 44520337, upload-time = "2026-02-16T10:11:47.764Z" }, + { url = "https://files.pythonhosted.org/packages/69/c2/f2a717fb824f62d0be952ea724b4f6f9372a17eed6f704b5c9526f12f2f1/pyarrow-23.0.1-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:00be9576d970c31defb5c32eb72ef585bf600ef6d0a82d5eccaae96639cf9d07", size = 47548944, upload-time = "2026-02-16T10:11:56.607Z" }, + { url = "https://files.pythonhosted.org/packages/84/a7/90007d476b9f0dc308e3bc57b832d004f848fd6c0da601375d20d92d1519/pyarrow-23.0.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c2139549494445609f35a5cda4eb94e2c9e4d704ce60a095b342f82460c73a83", size = 48236269, upload-time = "2026-02-16T10:12:04.47Z" }, + { url = "https://files.pythonhosted.org/packages/b0/3f/b16fab3e77709856eb6ac328ce35f57a6d4a18462c7ca5186ef31b45e0e0/pyarrow-23.0.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:7044b442f184d84e2351e5084600f0d7343d6117aabcbc1ac78eb1ae11eb4125", size = 50604794, upload-time = "2026-02-16T10:12:11.797Z" }, + { url = "https://files.pythonhosted.org/packages/e9/a1/22df0620a9fac31d68397a75465c344e83c3dfe521f7612aea33e27ab6c0/pyarrow-23.0.1-cp313-cp313t-win_amd64.whl", hash = "sha256:a35581e856a2fafa12f3f54fce4331862b1cfb0bef5758347a858a4aa9d6bae8", size = 27660642, upload-time = "2026-02-16T10:12:17.746Z" }, + { url = "https://files.pythonhosted.org/packages/8d/1b/6da9a89583ce7b23ac611f183ae4843cd3a6cf54f079549b0e8c14031e73/pyarrow-23.0.1-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:5df1161da23636a70838099d4aaa65142777185cc0cdba4037a18cee7d8db9ca", size = 34238755, upload-time = "2026-02-16T10:12:32.819Z" }, + { url = "https://files.pythonhosted.org/packages/ae/b5/d58a241fbe324dbaeb8df07be6af8752c846192d78d2272e551098f74e88/pyarrow-23.0.1-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:fa8e51cb04b9f8c9c5ace6bab63af9a1f88d35c0d6cbf53e8c17c098552285e1", size = 35847826, upload-time = "2026-02-16T10:12:38.949Z" }, + { url = "https://files.pythonhosted.org/packages/54/a5/8cbc83f04aba433ca7b331b38f39e000efd9f0c7ce47128670e737542996/pyarrow-23.0.1-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:0b95a3994f015be13c63148fef8832e8a23938128c185ee951c98908a696e0eb", size = 44536859, upload-time = "2026-02-16T10:12:45.467Z" }, + { url = "https://files.pythonhosted.org/packages/36/2e/c0f017c405fcdc252dbccafbe05e36b0d0eb1ea9a958f081e01c6972927f/pyarrow-23.0.1-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:4982d71350b1a6e5cfe1af742c53dfb759b11ce14141870d05d9e540d13bc5d1", size = 47614443, upload-time = "2026-02-16T10:12:55.525Z" }, + { url = "https://files.pythonhosted.org/packages/af/6b/2314a78057912f5627afa13ba43809d9d653e6630859618b0fd81a4e0759/pyarrow-23.0.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c250248f1fe266db627921c89b47b7c06fee0489ad95b04d50353537d74d6886", size = 48232991, upload-time = "2026-02-16T10:13:04.729Z" }, + { url = "https://files.pythonhosted.org/packages/40/f2/1bcb1d3be3460832ef3370d621142216e15a2c7c62602a4ea19ec240dd64/pyarrow-23.0.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5f4763b83c11c16e5f4c15601ba6dfa849e20723b46aa2617cb4bffe8768479f", size = 50645077, upload-time = "2026-02-16T10:13:14.147Z" }, + { url = "https://files.pythonhosted.org/packages/eb/3f/b1da7b61cd66566a4d4c8383d376c606d1c34a906c3f1cb35c479f59d1aa/pyarrow-23.0.1-cp314-cp314-win_amd64.whl", hash = "sha256:3a4c85ef66c134161987c17b147d6bffdca4566f9a4c1d81a0a01cdf08414ea5", size = 28234271, upload-time = "2026-02-16T10:14:09.397Z" }, + { url = "https://files.pythonhosted.org/packages/b5/78/07f67434e910a0f7323269be7bfbf58699bd0c1d080b18a1ab49ba943fe8/pyarrow-23.0.1-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:17cd28e906c18af486a499422740298c52d7c6795344ea5002a7720b4eadf16d", size = 34488692, upload-time = "2026-02-16T10:13:21.541Z" }, + { url = "https://files.pythonhosted.org/packages/50/76/34cf7ae93ece1f740a04910d9f7e80ba166b9b4ab9596a953e9e62b90fe1/pyarrow-23.0.1-cp314-cp314t-macosx_12_0_x86_64.whl", hash = "sha256:76e823d0e86b4fb5e1cf4a58d293036e678b5a4b03539be933d3b31f9406859f", size = 35964383, upload-time = "2026-02-16T10:13:28.63Z" }, + { url = "https://files.pythonhosted.org/packages/46/90/459b827238936d4244214be7c684e1b366a63f8c78c380807ae25ed92199/pyarrow-23.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a62e1899e3078bf65943078b3ad2a6ddcacf2373bc06379aac61b1e548a75814", size = 44538119, upload-time = "2026-02-16T10:13:35.506Z" }, + { url = "https://files.pythonhosted.org/packages/28/a1/93a71ae5881e99d1f9de1d4554a87be37da11cd6b152239fb5bd924fdc64/pyarrow-23.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:df088e8f640c9fae3b1f495b3c64755c4e719091caf250f3a74d095ddf3c836d", size = 47571199, upload-time = "2026-02-16T10:13:42.504Z" }, + { url = "https://files.pythonhosted.org/packages/88/a3/d2c462d4ef313521eaf2eff04d204ac60775263f1fb08c374b543f79f610/pyarrow-23.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:46718a220d64677c93bc243af1d44b55998255427588e400677d7192671845c7", size = 48259435, upload-time = "2026-02-16T10:13:49.226Z" }, + { url = "https://files.pythonhosted.org/packages/cc/f1/11a544b8c3d38a759eb3fbb022039117fd633e9a7b19e4841cc3da091915/pyarrow-23.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a09f3876e87f48bc2f13583ab551f0379e5dfb83210391e68ace404181a20690", size = 50629149, upload-time = "2026-02-16T10:13:57.238Z" }, + { url = "https://files.pythonhosted.org/packages/50/f2/c0e76a0b451ffdf0cf788932e182758eb7558953f4f27f1aff8e2518b653/pyarrow-23.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:527e8d899f14bd15b740cd5a54ad56b7f98044955373a17179d5956ddb93d9ce", size = 28365807, upload-time = "2026-02-16T10:14:03.892Z" }, +] + +[[package]] +name = "pyasn1" +version = "0.6.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/5c/5f/6583902b6f79b399c9c40674ac384fd9cd77805f9e6205075f828ef11fb2/pyasn1-0.6.3.tar.gz", hash = "sha256:697a8ecd6d98891189184ca1fa05d1bb00e2f84b5977c481452050549c8a72cf", size = 148685, upload-time = "2026-03-17T01:06:53.382Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5d/a0/7d793dce3fa811fe047d6ae2431c672364b462850c6235ae306c0efd025f/pyasn1-0.6.3-py3-none-any.whl", hash = "sha256:a80184d120f0864a52a073acc6fc642847d0be408e7c7252f31390c0f4eadcde", size = 83997, upload-time = "2026-03-17T01:06:52.036Z" }, +] + +[[package]] +name = "pyasn1-modules" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pyasn1" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e9/e6/78ebbb10a8c8e4b61a59249394a4a594c1a7af95593dc933a349c8d00964/pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6", size = 307892, upload-time = "2025-03-28T02:41:22.17Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/47/8d/d529b5d697919ba8c11ad626e835d4039be708a35b0d22de83a269a6682c/pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a", size = 181259, upload-time = "2025-03-28T02:41:19.028Z" }, +] + +[[package]] +name = "pycparser" +version = "2.23" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fe/cf/d2d3b9f5699fb1e4615c8e32ff220203e43b248e1dfcc6736ad9057731ca/pycparser-2.23.tar.gz", hash = "sha256:78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2", size = 173734, upload-time = "2025-09-09T13:23:47.91Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a0/e3/59cd50310fc9b59512193629e1984c1f95e5c8ae6e5d8c69532ccc65a7fe/pycparser-2.23-py3-none-any.whl", hash = "sha256:e5c6e8d3fbad53479cab09ac03729e0a9faf2bee3db8208a550daf5af81a5934", size = 118140, upload-time = "2025-09-09T13:23:46.651Z" }, +] + +[[package]] +name = "pydantic" +version = "2.12.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "annotated-types" }, + { name = "pydantic-core" }, + { name = "typing-extensions" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/69/44/36f1a6e523abc58ae5f928898e4aca2e0ea509b5aa6f6f392a5d882be928/pydantic-2.12.5.tar.gz", hash = "sha256:4d351024c75c0f085a9febbb665ce8c0c6ec5d30e903bdb6394b7ede26aebb49", size = 821591, upload-time = "2025-11-26T15:11:46.471Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5a/87/b70ad306ebb6f9b585f114d0ac2137d792b48be34d732d60e597c2f8465a/pydantic-2.12.5-py3-none-any.whl", hash = "sha256:e561593fccf61e8a20fc46dfc2dfe075b8be7d0188df33f221ad1f0139180f9d", size = 463580, upload-time = "2025-11-26T15:11:44.605Z" }, +] + +[[package]] +name = "pydantic-core" +version = "2.41.5" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/71/70/23b021c950c2addd24ec408e9ab05d59b035b39d97cdc1130e1bce647bb6/pydantic_core-2.41.5.tar.gz", hash = "sha256:08daa51ea16ad373ffd5e7606252cc32f07bc72b28284b6bc9c6df804816476e", size = 460952, upload-time = "2025-11-04T13:43:49.098Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/c6/90/32c9941e728d564b411d574d8ee0cf09b12ec978cb22b294995bae5549a5/pydantic_core-2.41.5-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:77b63866ca88d804225eaa4af3e664c5faf3568cea95360d21f4725ab6e07146", size = 2107298, upload-time = "2025-11-04T13:39:04.116Z" }, + { url = "https://files.pythonhosted.org/packages/fb/a8/61c96a77fe28993d9a6fb0f4127e05430a267b235a124545d79fea46dd65/pydantic_core-2.41.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:dfa8a0c812ac681395907e71e1274819dec685fec28273a28905df579ef137e2", size = 1901475, upload-time = "2025-11-04T13:39:06.055Z" }, + { url = "https://files.pythonhosted.org/packages/5d/b6/338abf60225acc18cdc08b4faef592d0310923d19a87fba1faf05af5346e/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5921a4d3ca3aee735d9fd163808f5e8dd6c6972101e4adbda9a4667908849b97", size = 1918815, upload-time = "2025-11-04T13:39:10.41Z" }, + { url = "https://files.pythonhosted.org/packages/d1/1c/2ed0433e682983d8e8cba9c8d8ef274d4791ec6a6f24c58935b90e780e0a/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e25c479382d26a2a41b7ebea1043564a937db462816ea07afa8a44c0866d52f9", size = 2065567, upload-time = "2025-11-04T13:39:12.244Z" }, + { url = "https://files.pythonhosted.org/packages/b3/24/cf84974ee7d6eae06b9e63289b7b8f6549d416b5c199ca2d7ce13bbcf619/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f547144f2966e1e16ae626d8ce72b4cfa0caedc7fa28052001c94fb2fcaa1c52", size = 2230442, upload-time = "2025-11-04T13:39:13.962Z" }, + { url = "https://files.pythonhosted.org/packages/fd/21/4e287865504b3edc0136c89c9c09431be326168b1eb7841911cbc877a995/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6f52298fbd394f9ed112d56f3d11aabd0d5bd27beb3084cc3d8ad069483b8941", size = 2350956, upload-time = "2025-11-04T13:39:15.889Z" }, + { url = "https://files.pythonhosted.org/packages/a8/76/7727ef2ffa4b62fcab916686a68a0426b9b790139720e1934e8ba797e238/pydantic_core-2.41.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:100baa204bb412b74fe285fb0f3a385256dad1d1879f0a5cb1499ed2e83d132a", size = 2068253, upload-time = "2025-11-04T13:39:17.403Z" }, + { url = "https://files.pythonhosted.org/packages/d5/8c/a4abfc79604bcb4c748e18975c44f94f756f08fb04218d5cb87eb0d3a63e/pydantic_core-2.41.5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:05a2c8852530ad2812cb7914dc61a1125dc4e06252ee98e5638a12da6cc6fb6c", size = 2177050, upload-time = "2025-11-04T13:39:19.351Z" }, + { url = "https://files.pythonhosted.org/packages/67/b1/de2e9a9a79b480f9cb0b6e8b6ba4c50b18d4e89852426364c66aa82bb7b3/pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:29452c56df2ed968d18d7e21f4ab0ac55e71dc59524872f6fc57dcf4a3249ed2", size = 2147178, upload-time = "2025-11-04T13:39:21Z" }, + { url = "https://files.pythonhosted.org/packages/16/c1/dfb33f837a47b20417500efaa0378adc6635b3c79e8369ff7a03c494b4ac/pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:d5160812ea7a8a2ffbe233d8da666880cad0cbaf5d4de74ae15c313213d62556", size = 2341833, upload-time = "2025-11-04T13:39:22.606Z" }, + { url = "https://files.pythonhosted.org/packages/47/36/00f398642a0f4b815a9a558c4f1dca1b4020a7d49562807d7bc9ff279a6c/pydantic_core-2.41.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:df3959765b553b9440adfd3c795617c352154e497a4eaf3752555cfb5da8fc49", size = 2321156, upload-time = "2025-11-04T13:39:25.843Z" }, + { url = "https://files.pythonhosted.org/packages/7e/70/cad3acd89fde2010807354d978725ae111ddf6d0ea46d1ea1775b5c1bd0c/pydantic_core-2.41.5-cp310-cp310-win32.whl", hash = "sha256:1f8d33a7f4d5a7889e60dc39856d76d09333d8a6ed0f5f1190635cbec70ec4ba", size = 1989378, upload-time = "2025-11-04T13:39:27.92Z" }, + { url = "https://files.pythonhosted.org/packages/76/92/d338652464c6c367e5608e4488201702cd1cbb0f33f7b6a85a60fe5f3720/pydantic_core-2.41.5-cp310-cp310-win_amd64.whl", hash = "sha256:62de39db01b8d593e45871af2af9e497295db8d73b085f6bfd0b18c83c70a8f9", size = 2013622, upload-time = "2025-11-04T13:39:29.848Z" }, + { url = "https://files.pythonhosted.org/packages/e8/72/74a989dd9f2084b3d9530b0915fdda64ac48831c30dbf7c72a41a5232db8/pydantic_core-2.41.5-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a3a52f6156e73e7ccb0f8cced536adccb7042be67cb45f9562e12b319c119da6", size = 2105873, upload-time = "2025-11-04T13:39:31.373Z" }, + { url = "https://files.pythonhosted.org/packages/12/44/37e403fd9455708b3b942949e1d7febc02167662bf1a7da5b78ee1ea2842/pydantic_core-2.41.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7f3bf998340c6d4b0c9a2f02d6a400e51f123b59565d74dc60d252ce888c260b", size = 1899826, upload-time = "2025-11-04T13:39:32.897Z" }, + { url = "https://files.pythonhosted.org/packages/33/7f/1d5cab3ccf44c1935a359d51a8a2a9e1a654b744b5e7f80d41b88d501eec/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:378bec5c66998815d224c9ca994f1e14c0c21cb95d2f52b6021cc0b2a58f2a5a", size = 1917869, upload-time = "2025-11-04T13:39:34.469Z" }, + { url = "https://files.pythonhosted.org/packages/6e/6a/30d94a9674a7fe4f4744052ed6c5e083424510be1e93da5bc47569d11810/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e7b576130c69225432866fe2f4a469a85a54ade141d96fd396dffcf607b558f8", size = 2063890, upload-time = "2025-11-04T13:39:36.053Z" }, + { url = "https://files.pythonhosted.org/packages/50/be/76e5d46203fcb2750e542f32e6c371ffa9b8ad17364cf94bb0818dbfb50c/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6cb58b9c66f7e4179a2d5e0f849c48eff5c1fca560994d6eb6543abf955a149e", size = 2229740, upload-time = "2025-11-04T13:39:37.753Z" }, + { url = "https://files.pythonhosted.org/packages/d3/ee/fed784df0144793489f87db310a6bbf8118d7b630ed07aa180d6067e653a/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:88942d3a3dff3afc8288c21e565e476fc278902ae4d6d134f1eeda118cc830b1", size = 2350021, upload-time = "2025-11-04T13:39:40.94Z" }, + { url = "https://files.pythonhosted.org/packages/c8/be/8fed28dd0a180dca19e72c233cbf58efa36df055e5b9d90d64fd1740b828/pydantic_core-2.41.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f31d95a179f8d64d90f6831d71fa93290893a33148d890ba15de25642c5d075b", size = 2066378, upload-time = "2025-11-04T13:39:42.523Z" }, + { url = "https://files.pythonhosted.org/packages/b0/3b/698cf8ae1d536a010e05121b4958b1257f0b5522085e335360e53a6b1c8b/pydantic_core-2.41.5-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c1df3d34aced70add6f867a8cf413e299177e0c22660cc767218373d0779487b", size = 2175761, upload-time = "2025-11-04T13:39:44.553Z" }, + { url = "https://files.pythonhosted.org/packages/b8/ba/15d537423939553116dea94ce02f9c31be0fa9d0b806d427e0308ec17145/pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:4009935984bd36bd2c774e13f9a09563ce8de4abaa7226f5108262fa3e637284", size = 2146303, upload-time = "2025-11-04T13:39:46.238Z" }, + { url = "https://files.pythonhosted.org/packages/58/7f/0de669bf37d206723795f9c90c82966726a2ab06c336deba4735b55af431/pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:34a64bc3441dc1213096a20fe27e8e128bd3ff89921706e83c0b1ac971276594", size = 2340355, upload-time = "2025-11-04T13:39:48.002Z" }, + { url = "https://files.pythonhosted.org/packages/e5/de/e7482c435b83d7e3c3ee5ee4451f6e8973cff0eb6007d2872ce6383f6398/pydantic_core-2.41.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:c9e19dd6e28fdcaa5a1de679aec4141f691023916427ef9bae8584f9c2fb3b0e", size = 2319875, upload-time = "2025-11-04T13:39:49.705Z" }, + { url = "https://files.pythonhosted.org/packages/fe/e6/8c9e81bb6dd7560e33b9053351c29f30c8194b72f2d6932888581f503482/pydantic_core-2.41.5-cp311-cp311-win32.whl", hash = "sha256:2c010c6ded393148374c0f6f0bf89d206bf3217f201faa0635dcd56bd1520f6b", size = 1987549, upload-time = "2025-11-04T13:39:51.842Z" }, + { url = "https://files.pythonhosted.org/packages/11/66/f14d1d978ea94d1bc21fc98fcf570f9542fe55bfcc40269d4e1a21c19bf7/pydantic_core-2.41.5-cp311-cp311-win_amd64.whl", hash = "sha256:76ee27c6e9c7f16f47db7a94157112a2f3a00e958bc626e2f4ee8bec5c328fbe", size = 2011305, upload-time = "2025-11-04T13:39:53.485Z" }, + { url = "https://files.pythonhosted.org/packages/56/d8/0e271434e8efd03186c5386671328154ee349ff0354d83c74f5caaf096ed/pydantic_core-2.41.5-cp311-cp311-win_arm64.whl", hash = "sha256:4bc36bbc0b7584de96561184ad7f012478987882ebf9f9c389b23f432ea3d90f", size = 1972902, upload-time = "2025-11-04T13:39:56.488Z" }, + { url = "https://files.pythonhosted.org/packages/5f/5d/5f6c63eebb5afee93bcaae4ce9a898f3373ca23df3ccaef086d0233a35a7/pydantic_core-2.41.5-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:f41a7489d32336dbf2199c8c0a215390a751c5b014c2c1c5366e817202e9cdf7", size = 2110990, upload-time = "2025-11-04T13:39:58.079Z" }, + { url = "https://files.pythonhosted.org/packages/aa/32/9c2e8ccb57c01111e0fd091f236c7b371c1bccea0fa85247ac55b1e2b6b6/pydantic_core-2.41.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:070259a8818988b9a84a449a2a7337c7f430a22acc0859c6b110aa7212a6d9c0", size = 1896003, upload-time = "2025-11-04T13:39:59.956Z" }, + { url = "https://files.pythonhosted.org/packages/68/b8/a01b53cb0e59139fbc9e4fda3e9724ede8de279097179be4ff31f1abb65a/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e96cea19e34778f8d59fe40775a7a574d95816eb150850a85a7a4c8f4b94ac69", size = 1919200, upload-time = "2025-11-04T13:40:02.241Z" }, + { url = "https://files.pythonhosted.org/packages/38/de/8c36b5198a29bdaade07b5985e80a233a5ac27137846f3bc2d3b40a47360/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ed2e99c456e3fadd05c991f8f437ef902e00eedf34320ba2b0842bd1c3ca3a75", size = 2052578, upload-time = "2025-11-04T13:40:04.401Z" }, + { url = "https://files.pythonhosted.org/packages/00/b5/0e8e4b5b081eac6cb3dbb7e60a65907549a1ce035a724368c330112adfdd/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:65840751b72fbfd82c3c640cff9284545342a4f1eb1586ad0636955b261b0b05", size = 2208504, upload-time = "2025-11-04T13:40:06.072Z" }, + { url = "https://files.pythonhosted.org/packages/77/56/87a61aad59c7c5b9dc8caad5a41a5545cba3810c3e828708b3d7404f6cef/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e536c98a7626a98feb2d3eaf75944ef6f3dbee447e1f841eae16f2f0a72d8ddc", size = 2335816, upload-time = "2025-11-04T13:40:07.835Z" }, + { url = "https://files.pythonhosted.org/packages/0d/76/941cc9f73529988688a665a5c0ecff1112b3d95ab48f81db5f7606f522d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eceb81a8d74f9267ef4081e246ffd6d129da5d87e37a77c9bde550cb04870c1c", size = 2075366, upload-time = "2025-11-04T13:40:09.804Z" }, + { url = "https://files.pythonhosted.org/packages/d3/43/ebef01f69baa07a482844faaa0a591bad1ef129253ffd0cdaa9d8a7f72d3/pydantic_core-2.41.5-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d38548150c39b74aeeb0ce8ee1d8e82696f4a4e16ddc6de7b1d8823f7de4b9b5", size = 2171698, upload-time = "2025-11-04T13:40:12.004Z" }, + { url = "https://files.pythonhosted.org/packages/b1/87/41f3202e4193e3bacfc2c065fab7706ebe81af46a83d3e27605029c1f5a6/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:c23e27686783f60290e36827f9c626e63154b82b116d7fe9adba1fda36da706c", size = 2132603, upload-time = "2025-11-04T13:40:13.868Z" }, + { url = "https://files.pythonhosted.org/packages/49/7d/4c00df99cb12070b6bccdef4a195255e6020a550d572768d92cc54dba91a/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:482c982f814460eabe1d3bb0adfdc583387bd4691ef00b90575ca0d2b6fe2294", size = 2329591, upload-time = "2025-11-04T13:40:15.672Z" }, + { url = "https://files.pythonhosted.org/packages/cc/6a/ebf4b1d65d458f3cda6a7335d141305dfa19bdc61140a884d165a8a1bbc7/pydantic_core-2.41.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:bfea2a5f0b4d8d43adf9d7b8bf019fb46fdd10a2e5cde477fbcb9d1fa08c68e1", size = 2319068, upload-time = "2025-11-04T13:40:17.532Z" }, + { url = "https://files.pythonhosted.org/packages/49/3b/774f2b5cd4192d5ab75870ce4381fd89cf218af999515baf07e7206753f0/pydantic_core-2.41.5-cp312-cp312-win32.whl", hash = "sha256:b74557b16e390ec12dca509bce9264c3bbd128f8a2c376eaa68003d7f327276d", size = 1985908, upload-time = "2025-11-04T13:40:19.309Z" }, + { url = "https://files.pythonhosted.org/packages/86/45/00173a033c801cacf67c190fef088789394feaf88a98a7035b0e40d53dc9/pydantic_core-2.41.5-cp312-cp312-win_amd64.whl", hash = "sha256:1962293292865bca8e54702b08a4f26da73adc83dd1fcf26fbc875b35d81c815", size = 2020145, upload-time = "2025-11-04T13:40:21.548Z" }, + { url = "https://files.pythonhosted.org/packages/f9/22/91fbc821fa6d261b376a3f73809f907cec5ca6025642c463d3488aad22fb/pydantic_core-2.41.5-cp312-cp312-win_arm64.whl", hash = "sha256:1746d4a3d9a794cacae06a5eaaccb4b8643a131d45fbc9af23e353dc0a5ba5c3", size = 1976179, upload-time = "2025-11-04T13:40:23.393Z" }, + { url = "https://files.pythonhosted.org/packages/87/06/8806241ff1f70d9939f9af039c6c35f2360cf16e93c2ca76f184e76b1564/pydantic_core-2.41.5-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:941103c9be18ac8daf7b7adca8228f8ed6bb7a1849020f643b3a14d15b1924d9", size = 2120403, upload-time = "2025-11-04T13:40:25.248Z" }, + { url = "https://files.pythonhosted.org/packages/94/02/abfa0e0bda67faa65fef1c84971c7e45928e108fe24333c81f3bfe35d5f5/pydantic_core-2.41.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:112e305c3314f40c93998e567879e887a3160bb8689ef3d2c04b6cc62c33ac34", size = 1896206, upload-time = "2025-11-04T13:40:27.099Z" }, + { url = "https://files.pythonhosted.org/packages/15/df/a4c740c0943e93e6500f9eb23f4ca7ec9bf71b19e608ae5b579678c8d02f/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0cbaad15cb0c90aa221d43c00e77bb33c93e8d36e0bf74760cd00e732d10a6a0", size = 1919307, upload-time = "2025-11-04T13:40:29.806Z" }, + { url = "https://files.pythonhosted.org/packages/9a/e3/6324802931ae1d123528988e0e86587c2072ac2e5394b4bc2bc34b61ff6e/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:03ca43e12fab6023fc79d28ca6b39b05f794ad08ec2feccc59a339b02f2b3d33", size = 2063258, upload-time = "2025-11-04T13:40:33.544Z" }, + { url = "https://files.pythonhosted.org/packages/c9/d4/2230d7151d4957dd79c3044ea26346c148c98fbf0ee6ebd41056f2d62ab5/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc799088c08fa04e43144b164feb0c13f9a0bc40503f8df3e9fde58a3c0c101e", size = 2214917, upload-time = "2025-11-04T13:40:35.479Z" }, + { url = "https://files.pythonhosted.org/packages/e6/9f/eaac5df17a3672fef0081b6c1bb0b82b33ee89aa5cec0d7b05f52fd4a1fa/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:97aeba56665b4c3235a0e52b2c2f5ae9cd071b8a8310ad27bddb3f7fb30e9aa2", size = 2332186, upload-time = "2025-11-04T13:40:37.436Z" }, + { url = "https://files.pythonhosted.org/packages/cf/4e/35a80cae583a37cf15604b44240e45c05e04e86f9cfd766623149297e971/pydantic_core-2.41.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:406bf18d345822d6c21366031003612b9c77b3e29ffdb0f612367352aab7d586", size = 2073164, upload-time = "2025-11-04T13:40:40.289Z" }, + { url = "https://files.pythonhosted.org/packages/bf/e3/f6e262673c6140dd3305d144d032f7bd5f7497d3871c1428521f19f9efa2/pydantic_core-2.41.5-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:b93590ae81f7010dbe380cdeab6f515902ebcbefe0b9327cc4804d74e93ae69d", size = 2179146, upload-time = "2025-11-04T13:40:42.809Z" }, + { url = "https://files.pythonhosted.org/packages/75/c7/20bd7fc05f0c6ea2056a4565c6f36f8968c0924f19b7d97bbfea55780e73/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:01a3d0ab748ee531f4ea6c3e48ad9dac84ddba4b0d82291f87248f2f9de8d740", size = 2137788, upload-time = "2025-11-04T13:40:44.752Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8d/34318ef985c45196e004bc46c6eab2eda437e744c124ef0dbe1ff2c9d06b/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:6561e94ba9dacc9c61bce40e2d6bdc3bfaa0259d3ff36ace3b1e6901936d2e3e", size = 2340133, upload-time = "2025-11-04T13:40:46.66Z" }, + { url = "https://files.pythonhosted.org/packages/9c/59/013626bf8c78a5a5d9350d12e7697d3d4de951a75565496abd40ccd46bee/pydantic_core-2.41.5-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:915c3d10f81bec3a74fbd4faebe8391013ba61e5a1a8d48c4455b923bdda7858", size = 2324852, upload-time = "2025-11-04T13:40:48.575Z" }, + { url = "https://files.pythonhosted.org/packages/1a/d9/c248c103856f807ef70c18a4f986693a46a8ffe1602e5d361485da502d20/pydantic_core-2.41.5-cp313-cp313-win32.whl", hash = "sha256:650ae77860b45cfa6e2cdafc42618ceafab3a2d9a3811fcfbd3bbf8ac3c40d36", size = 1994679, upload-time = "2025-11-04T13:40:50.619Z" }, + { url = "https://files.pythonhosted.org/packages/9e/8b/341991b158ddab181cff136acd2552c9f35bd30380422a639c0671e99a91/pydantic_core-2.41.5-cp313-cp313-win_amd64.whl", hash = "sha256:79ec52ec461e99e13791ec6508c722742ad745571f234ea6255bed38c6480f11", size = 2019766, upload-time = "2025-11-04T13:40:52.631Z" }, + { url = "https://files.pythonhosted.org/packages/73/7d/f2f9db34af103bea3e09735bb40b021788a5e834c81eedb541991badf8f5/pydantic_core-2.41.5-cp313-cp313-win_arm64.whl", hash = "sha256:3f84d5c1b4ab906093bdc1ff10484838aca54ef08de4afa9de0f5f14d69639cd", size = 1981005, upload-time = "2025-11-04T13:40:54.734Z" }, + { url = "https://files.pythonhosted.org/packages/ea/28/46b7c5c9635ae96ea0fbb779e271a38129df2550f763937659ee6c5dbc65/pydantic_core-2.41.5-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:3f37a19d7ebcdd20b96485056ba9e8b304e27d9904d233d7b1015db320e51f0a", size = 2119622, upload-time = "2025-11-04T13:40:56.68Z" }, + { url = "https://files.pythonhosted.org/packages/74/1a/145646e5687e8d9a1e8d09acb278c8535ebe9e972e1f162ed338a622f193/pydantic_core-2.41.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:1d1d9764366c73f996edd17abb6d9d7649a7eb690006ab6adbda117717099b14", size = 1891725, upload-time = "2025-11-04T13:40:58.807Z" }, + { url = "https://files.pythonhosted.org/packages/23/04/e89c29e267b8060b40dca97bfc64a19b2a3cf99018167ea1677d96368273/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:25e1c2af0fce638d5f1988b686f3b3ea8cd7de5f244ca147c777769e798a9cd1", size = 1915040, upload-time = "2025-11-04T13:41:00.853Z" }, + { url = "https://files.pythonhosted.org/packages/84/a3/15a82ac7bd97992a82257f777b3583d3e84bdb06ba6858f745daa2ec8a85/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:506d766a8727beef16b7adaeb8ee6217c64fc813646b424d0804d67c16eddb66", size = 2063691, upload-time = "2025-11-04T13:41:03.504Z" }, + { url = "https://files.pythonhosted.org/packages/74/9b/0046701313c6ef08c0c1cf0e028c67c770a4e1275ca73131563c5f2a310a/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4819fa52133c9aa3c387b3328f25c1facc356491e6135b459f1de698ff64d869", size = 2213897, upload-time = "2025-11-04T13:41:05.804Z" }, + { url = "https://files.pythonhosted.org/packages/8a/cd/6bac76ecd1b27e75a95ca3a9a559c643b3afcd2dd62086d4b7a32a18b169/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2b761d210c9ea91feda40d25b4efe82a1707da2ef62901466a42492c028553a2", size = 2333302, upload-time = "2025-11-04T13:41:07.809Z" }, + { url = "https://files.pythonhosted.org/packages/4c/d2/ef2074dc020dd6e109611a8be4449b98cd25e1b9b8a303c2f0fca2f2bcf7/pydantic_core-2.41.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22f0fb8c1c583a3b6f24df2470833b40207e907b90c928cc8d3594b76f874375", size = 2064877, upload-time = "2025-11-04T13:41:09.827Z" }, + { url = "https://files.pythonhosted.org/packages/18/66/e9db17a9a763d72f03de903883c057b2592c09509ccfe468187f2a2eef29/pydantic_core-2.41.5-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c870e99878c634505236d81e5443092fba820f0373997ff75f90f68cd553", size = 2180680, upload-time = "2025-11-04T13:41:12.379Z" }, + { url = "https://files.pythonhosted.org/packages/d3/9e/3ce66cebb929f3ced22be85d4c2399b8e85b622db77dad36b73c5387f8f8/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:0177272f88ab8312479336e1d777f6b124537d47f2123f89cb37e0accea97f90", size = 2138960, upload-time = "2025-11-04T13:41:14.627Z" }, + { url = "https://files.pythonhosted.org/packages/a6/62/205a998f4327d2079326b01abee48e502ea739d174f0a89295c481a2272e/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:63510af5e38f8955b8ee5687740d6ebf7c2a0886d15a6d65c32814613681bc07", size = 2339102, upload-time = "2025-11-04T13:41:16.868Z" }, + { url = "https://files.pythonhosted.org/packages/3c/0d/f05e79471e889d74d3d88f5bd20d0ed189ad94c2423d81ff8d0000aab4ff/pydantic_core-2.41.5-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e56ba91f47764cc14f1daacd723e3e82d1a89d783f0f5afe9c364b8bb491ccdb", size = 2326039, upload-time = "2025-11-04T13:41:18.934Z" }, + { url = "https://files.pythonhosted.org/packages/ec/e1/e08a6208bb100da7e0c4b288eed624a703f4d129bde2da475721a80cab32/pydantic_core-2.41.5-cp314-cp314-win32.whl", hash = "sha256:aec5cf2fd867b4ff45b9959f8b20ea3993fc93e63c7363fe6851424c8a7e7c23", size = 1995126, upload-time = "2025-11-04T13:41:21.418Z" }, + { url = "https://files.pythonhosted.org/packages/48/5d/56ba7b24e9557f99c9237e29f5c09913c81eeb2f3217e40e922353668092/pydantic_core-2.41.5-cp314-cp314-win_amd64.whl", hash = "sha256:8e7c86f27c585ef37c35e56a96363ab8de4e549a95512445b85c96d3e2f7c1bf", size = 2015489, upload-time = "2025-11-04T13:41:24.076Z" }, + { url = "https://files.pythonhosted.org/packages/4e/bb/f7a190991ec9e3e0ba22e4993d8755bbc4a32925c0b5b42775c03e8148f9/pydantic_core-2.41.5-cp314-cp314-win_arm64.whl", hash = "sha256:e672ba74fbc2dc8eea59fb6d4aed6845e6905fc2a8afe93175d94a83ba2a01a0", size = 1977288, upload-time = "2025-11-04T13:41:26.33Z" }, + { url = "https://files.pythonhosted.org/packages/92/ed/77542d0c51538e32e15afe7899d79efce4b81eee631d99850edc2f5e9349/pydantic_core-2.41.5-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8566def80554c3faa0e65ac30ab0932b9e3a5cd7f8323764303d468e5c37595a", size = 2120255, upload-time = "2025-11-04T13:41:28.569Z" }, + { url = "https://files.pythonhosted.org/packages/bb/3d/6913dde84d5be21e284439676168b28d8bbba5600d838b9dca99de0fad71/pydantic_core-2.41.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b80aa5095cd3109962a298ce14110ae16b8c1aece8b72f9dafe81cf597ad80b3", size = 1863760, upload-time = "2025-11-04T13:41:31.055Z" }, + { url = "https://files.pythonhosted.org/packages/5a/f0/e5e6b99d4191da102f2b0eb9687aaa7f5bea5d9964071a84effc3e40f997/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3006c3dd9ba34b0c094c544c6006cc79e87d8612999f1a5d43b769b89181f23c", size = 1878092, upload-time = "2025-11-04T13:41:33.21Z" }, + { url = "https://files.pythonhosted.org/packages/71/48/36fb760642d568925953bcc8116455513d6e34c4beaa37544118c36aba6d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:72f6c8b11857a856bcfa48c86f5368439f74453563f951e473514579d44aa612", size = 2053385, upload-time = "2025-11-04T13:41:35.508Z" }, + { url = "https://files.pythonhosted.org/packages/20/25/92dc684dd8eb75a234bc1c764b4210cf2646479d54b47bf46061657292a8/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5cb1b2f9742240e4bb26b652a5aeb840aa4b417c7748b6f8387927bc6e45e40d", size = 2218832, upload-time = "2025-11-04T13:41:37.732Z" }, + { url = "https://files.pythonhosted.org/packages/e2/09/f53e0b05023d3e30357d82eb35835d0f6340ca344720a4599cd663dca599/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3d54f38609ff308209bd43acea66061494157703364ae40c951f83ba99a1a9", size = 2327585, upload-time = "2025-11-04T13:41:40Z" }, + { url = "https://files.pythonhosted.org/packages/aa/4e/2ae1aa85d6af35a39b236b1b1641de73f5a6ac4d5a7509f77b814885760c/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ff4321e56e879ee8d2a879501c8e469414d948f4aba74a2d4593184eb326660", size = 2041078, upload-time = "2025-11-04T13:41:42.323Z" }, + { url = "https://files.pythonhosted.org/packages/cd/13/2e215f17f0ef326fc72afe94776edb77525142c693767fc347ed6288728d/pydantic_core-2.41.5-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d0d2568a8c11bf8225044aa94409e21da0cb09dcdafe9ecd10250b2baad531a9", size = 2173914, upload-time = "2025-11-04T13:41:45.221Z" }, + { url = "https://files.pythonhosted.org/packages/02/7a/f999a6dcbcd0e5660bc348a3991c8915ce6599f4f2c6ac22f01d7a10816c/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:a39455728aabd58ceabb03c90e12f71fd30fa69615760a075b9fec596456ccc3", size = 2129560, upload-time = "2025-11-04T13:41:47.474Z" }, + { url = "https://files.pythonhosted.org/packages/3a/b1/6c990ac65e3b4c079a4fb9f5b05f5b013afa0f4ed6780a3dd236d2cbdc64/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:239edca560d05757817c13dc17c50766136d21f7cd0fac50295499ae24f90fdf", size = 2329244, upload-time = "2025-11-04T13:41:49.992Z" }, + { url = "https://files.pythonhosted.org/packages/d9/02/3c562f3a51afd4d88fff8dffb1771b30cfdfd79befd9883ee094f5b6c0d8/pydantic_core-2.41.5-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:2a5e06546e19f24c6a96a129142a75cee553cc018ffee48a460059b1185f4470", size = 2331955, upload-time = "2025-11-04T13:41:54.079Z" }, + { url = "https://files.pythonhosted.org/packages/5c/96/5fb7d8c3c17bc8c62fdb031c47d77a1af698f1d7a406b0f79aaa1338f9ad/pydantic_core-2.41.5-cp314-cp314t-win32.whl", hash = "sha256:b4ececa40ac28afa90871c2cc2b9ffd2ff0bf749380fbdf57d165fd23da353aa", size = 1988906, upload-time = "2025-11-04T13:41:56.606Z" }, + { url = "https://files.pythonhosted.org/packages/22/ed/182129d83032702912c2e2d8bbe33c036f342cc735737064668585dac28f/pydantic_core-2.41.5-cp314-cp314t-win_amd64.whl", hash = "sha256:80aa89cad80b32a912a65332f64a4450ed00966111b6615ca6816153d3585a8c", size = 1981607, upload-time = "2025-11-04T13:41:58.889Z" }, + { url = "https://files.pythonhosted.org/packages/9f/ed/068e41660b832bb0b1aa5b58011dea2a3fe0ba7861ff38c4d4904c1c1a99/pydantic_core-2.41.5-cp314-cp314t-win_arm64.whl", hash = "sha256:35b44f37a3199f771c3eaa53051bc8a70cd7b54f333531c59e29fd4db5d15008", size = 1974769, upload-time = "2025-11-04T13:42:01.186Z" }, + { url = "https://files.pythonhosted.org/packages/11/72/90fda5ee3b97e51c494938a4a44c3a35a9c96c19bba12372fb9c634d6f57/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:b96d5f26b05d03cc60f11a7761a5ded1741da411e7fe0909e27a5e6a0cb7b034", size = 2115441, upload-time = "2025-11-04T13:42:39.557Z" }, + { url = "https://files.pythonhosted.org/packages/1f/53/8942f884fa33f50794f119012dc6a1a02ac43a56407adaac20463df8e98f/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:634e8609e89ceecea15e2d61bc9ac3718caaaa71963717bf3c8f38bfde64242c", size = 1930291, upload-time = "2025-11-04T13:42:42.169Z" }, + { url = "https://files.pythonhosted.org/packages/79/c8/ecb9ed9cd942bce09fc888ee960b52654fbdbede4ba6c2d6e0d3b1d8b49c/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:93e8740d7503eb008aa2df04d3b9735f845d43ae845e6dcd2be0b55a2da43cd2", size = 1948632, upload-time = "2025-11-04T13:42:44.564Z" }, + { url = "https://files.pythonhosted.org/packages/2e/1b/687711069de7efa6af934e74f601e2a4307365e8fdc404703afc453eab26/pydantic_core-2.41.5-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f15489ba13d61f670dcc96772e733aad1a6f9c429cc27574c6cdaed82d0146ad", size = 2138905, upload-time = "2025-11-04T13:42:47.156Z" }, + { url = "https://files.pythonhosted.org/packages/09/32/59b0c7e63e277fa7911c2fc70ccfb45ce4b98991e7ef37110663437005af/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:7da7087d756b19037bc2c06edc6c170eeef3c3bafcb8f532ff17d64dc427adfd", size = 2110495, upload-time = "2025-11-04T13:42:49.689Z" }, + { url = "https://files.pythonhosted.org/packages/aa/81/05e400037eaf55ad400bcd318c05bb345b57e708887f07ddb2d20e3f0e98/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:aabf5777b5c8ca26f7824cb4a120a740c9588ed58df9b2d196ce92fba42ff8dc", size = 1915388, upload-time = "2025-11-04T13:42:52.215Z" }, + { url = "https://files.pythonhosted.org/packages/6e/0d/e3549b2399f71d56476b77dbf3cf8937cec5cd70536bdc0e374a421d0599/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c007fe8a43d43b3969e8469004e9845944f1a80e6acd47c150856bb87f230c56", size = 1942879, upload-time = "2025-11-04T13:42:56.483Z" }, + { url = "https://files.pythonhosted.org/packages/f7/07/34573da085946b6a313d7c42f82f16e8920bfd730665de2d11c0c37a74b5/pydantic_core-2.41.5-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:76d0819de158cd855d1cbb8fcafdf6f5cf1eb8e470abe056d5d161106e38062b", size = 2139017, upload-time = "2025-11-04T13:42:59.471Z" }, + { url = "https://files.pythonhosted.org/packages/e6/b0/1a2aa41e3b5a4ba11420aba2d091b2d17959c8d1519ece3627c371951e73/pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b5819cd790dbf0c5eb9f82c73c16b39a65dd6dd4d1439dcdea7816ec9adddab8", size = 2103351, upload-time = "2025-11-04T13:43:02.058Z" }, + { url = "https://files.pythonhosted.org/packages/a4/ee/31b1f0020baaf6d091c87900ae05c6aeae101fa4e188e1613c80e4f1ea31/pydantic_core-2.41.5-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5a4e67afbc95fa5c34cf27d9089bca7fcab4e51e57278d710320a70b956d1b9a", size = 1925363, upload-time = "2025-11-04T13:43:05.159Z" }, + { url = "https://files.pythonhosted.org/packages/e1/89/ab8e86208467e467a80deaca4e434adac37b10a9d134cd2f99b28a01e483/pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ece5c59f0ce7d001e017643d8d24da587ea1f74f6993467d85ae8a5ef9d4f42b", size = 2135615, upload-time = "2025-11-04T13:43:08.116Z" }, + { url = "https://files.pythonhosted.org/packages/99/0a/99a53d06dd0348b2008f2f30884b34719c323f16c3be4e6cc1203b74a91d/pydantic_core-2.41.5-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:16f80f7abe3351f8ea6858914ddc8c77e02578544a0ebc15b4c2e1a0e813b0b2", size = 2175369, upload-time = "2025-11-04T13:43:12.49Z" }, + { url = "https://files.pythonhosted.org/packages/6d/94/30ca3b73c6d485b9bb0bc66e611cff4a7138ff9736b7e66bcf0852151636/pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:33cb885e759a705b426baada1fe68cbb0a2e68e34c5d0d0289a364cf01709093", size = 2144218, upload-time = "2025-11-04T13:43:15.431Z" }, + { url = "https://files.pythonhosted.org/packages/87/57/31b4f8e12680b739a91f472b5671294236b82586889ef764b5fbc6669238/pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:c8d8b4eb992936023be7dee581270af5c6e0697a8559895f527f5b7105ecd36a", size = 2329951, upload-time = "2025-11-04T13:43:18.062Z" }, + { url = "https://files.pythonhosted.org/packages/7d/73/3c2c8edef77b8f7310e6fb012dbc4b8551386ed575b9eb6fb2506e28a7eb/pydantic_core-2.41.5-pp310-pypy310_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:242a206cd0318f95cd21bdacff3fcc3aab23e79bba5cac3db5a841c9ef9c6963", size = 2318428, upload-time = "2025-11-04T13:43:20.679Z" }, + { url = "https://files.pythonhosted.org/packages/2f/02/8559b1f26ee0d502c74f9cca5c0d2fd97e967e083e006bbbb4e97f3a043a/pydantic_core-2.41.5-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d3a978c4f57a597908b7e697229d996d77a6d3c94901e9edee593adada95ce1a", size = 2147009, upload-time = "2025-11-04T13:43:23.286Z" }, + { url = "https://files.pythonhosted.org/packages/5f/9b/1b3f0e9f9305839d7e84912f9e8bfbd191ed1b1ef48083609f0dabde978c/pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:b2379fa7ed44ddecb5bfe4e48577d752db9fc10be00a6b7446e9663ba143de26", size = 2101980, upload-time = "2025-11-04T13:43:25.97Z" }, + { url = "https://files.pythonhosted.org/packages/a4/ed/d71fefcb4263df0da6a85b5d8a7508360f2f2e9b3bf5814be9c8bccdccc1/pydantic_core-2.41.5-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:266fb4cbf5e3cbd0b53669a6d1b039c45e3ce651fd5442eff4d07c2cc8d66808", size = 1923865, upload-time = "2025-11-04T13:43:28.763Z" }, + { url = "https://files.pythonhosted.org/packages/ce/3a/626b38db460d675f873e4444b4bb030453bbe7b4ba55df821d026a0493c4/pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58133647260ea01e4d0500089a8c4f07bd7aa6ce109682b1426394988d8aaacc", size = 2134256, upload-time = "2025-11-04T13:43:31.71Z" }, + { url = "https://files.pythonhosted.org/packages/83/d9/8412d7f06f616bbc053d30cb4e5f76786af3221462ad5eee1f202021eb4e/pydantic_core-2.41.5-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:287dad91cfb551c363dc62899a80e9e14da1f0e2b6ebde82c806612ca2a13ef1", size = 2174762, upload-time = "2025-11-04T13:43:34.744Z" }, + { url = "https://files.pythonhosted.org/packages/55/4c/162d906b8e3ba3a99354e20faa1b49a85206c47de97a639510a0e673f5da/pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:03b77d184b9eb40240ae9fd676ca364ce1085f203e1b1256f8ab9984dca80a84", size = 2143141, upload-time = "2025-11-04T13:43:37.701Z" }, + { url = "https://files.pythonhosted.org/packages/1f/f2/f11dd73284122713f5f89fc940f370d035fa8e1e078d446b3313955157fe/pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:a668ce24de96165bb239160b3d854943128f4334822900534f2fe947930e5770", size = 2330317, upload-time = "2025-11-04T13:43:40.406Z" }, + { url = "https://files.pythonhosted.org/packages/88/9d/b06ca6acfe4abb296110fb1273a4d848a0bfb2ff65f3ee92127b3244e16b/pydantic_core-2.41.5-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:f14f8f046c14563f8eb3f45f499cc658ab8d10072961e07225e507adb700e93f", size = 2316992, upload-time = "2025-11-04T13:43:43.602Z" }, + { url = "https://files.pythonhosted.org/packages/36/c7/cfc8e811f061c841d7990b0201912c3556bfeb99cdcb7ed24adc8d6f8704/pydantic_core-2.41.5-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:56121965f7a4dc965bff783d70b907ddf3d57f6eba29b6d2e5dabfaf07799c51", size = 2145302, upload-time = "2025-11-04T13:43:46.64Z" }, +] + +[[package]] +name = "pydantic-settings" +version = "2.14.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pydantic" }, + { name = "python-dotenv" }, + { name = "typing-inspection" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5c/b5/8f48e906c3e0205276e8bd8cb7512217a87b2685304d64be27cad5b3019f/pydantic_settings-2.14.2.tar.gz", hash = "sha256:c19dd64b19097f1de80184f0cc7b0272a13ae6e170cbf240a3e27e381ed14a5f", size = 237700, upload-time = "2026-06-19T13:44:56.324Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/77/c1/6e422f34e569cf8e18df68d1939c81c099d2b61e4f7d9621c8a77560799c/pydantic_settings-2.14.2-py3-none-any.whl", hash = "sha256:a20c97b37910b6550d5ea50fbcc2d4187defe58cd57070b73863d069419c9440", size = 61715, upload-time = "2026-06-19T13:44:55.02Z" }, +] + +[[package]] +name = "pygments" +version = "2.20.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, +] + +[[package]] +name = "pyjwt" +version = "2.13.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions", marker = "python_full_version < '3.11'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/3b/81/58d0ac84e1ef3a3843791d6954d94c0b33d526c75eeb1efbce9d0a4c4077/pyjwt-2.13.0.tar.gz", hash = "sha256:41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423", size = 107515, upload-time = "2026-05-21T19:54:36.618Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a3/5e/ecf12fdb62546d64385c158514e9b2b671f7832108ef2ecd2020ce0af2d1/pyjwt-2.13.0-py3-none-any.whl", hash = "sha256:66adcc2aff09b3f1bbd95fc1e1577df8ac8723c978552fd43304c8a290ac5728", size = 31274, upload-time = "2026-05-21T19:54:35.362Z" }, +] + +[package.optional-dependencies] +crypto = [ + { name = "cryptography" }, +] + +[[package]] +name = "pytest" +version = "9.0.3" +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/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165, upload-time = "2026-04-07T17:16:18.027Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249, upload-time = "2026-04-07T17:16:16.13Z" }, +] + +[[package]] +name = "pytest-asyncio" +version = "1.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "backports-asyncio-runner", marker = "python_full_version < '3.11'" }, + { name = "pytest" }, + { name = "typing-extensions", marker = "python_full_version < '3.13'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/90/2c/8af215c0f776415f3590cac4f9086ccefd6fd463befeae41cd4d3f193e5a/pytest_asyncio-1.3.0.tar.gz", hash = "sha256:d7f52f36d231b80ee124cd216ffb19369aa168fc10095013c6b014a34d3ee9e5", size = 50087, upload-time = "2025-11-10T16:07:47.256Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e5/35/f8b19922b6a25bc0880171a2f1a003eaeb93657475193ab516fd87cac9da/pytest_asyncio-1.3.0-py3-none-any.whl", hash = "sha256:611e26147c7f77640e6d0a92a38ed17c3e9848063698d5c93d5aa7aa11cebff5", size = 15075, upload-time = "2025-11-10T16:07:45.537Z" }, +] + +[[package]] +name = "pytest-benchmark" +version = "5.2.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "py-cpuinfo" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/24/34/9f732b76456d64faffbef6232f1f9dbec7a7c4999ff46282fa418bd1af66/pytest_benchmark-5.2.3.tar.gz", hash = "sha256:deb7317998a23c650fd4ff76e1230066a76cb45dcece0aca5607143c619e7779", size = 341340, upload-time = "2025-11-09T18:48:43.215Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/33/29/e756e715a48959f1c0045342088d7ca9762a2f509b945f362a316e9412b7/pytest_benchmark-5.2.3-py3-none-any.whl", hash = "sha256:bc839726ad20e99aaa0d11a127445457b4219bdb9e80a1afc4b51da7f96b0803", size = 45255, upload-time = "2025-11-09T18:48:39.765Z" }, +] + +[[package]] +name = "pytest-codspeed" +version = "4.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi" }, + { name = "pytest" }, + { name = "rich" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e2/e8/27fcbe6516a1c956614a4b61a7fccbf3791ea0b992e07416e8948184327d/pytest_codspeed-4.2.0.tar.gz", hash = "sha256:04b5d0bc5a1851ba1504d46bf9d7dbb355222a69f2cd440d54295db721b331f7", size = 113263, upload-time = "2025-10-24T09:02:55.704Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/6c/b8/d599a466c50af3f04001877ae8b17c12b803f3b358235736b91a0769de0d/pytest_codspeed-4.2.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:609828b03972966b75b9b7416fa2570c4a0f6124f67e02d35cd3658e64312a7b", size = 261943, upload-time = "2025-10-24T09:02:37.962Z" }, + { url = "https://files.pythonhosted.org/packages/74/19/ccc1a2fcd28357a8db08ba6b60f381832088a3850abc262c8e0b3406491a/pytest_codspeed-4.2.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23a0c0fbf8bb4de93a3454fd9e5efcdca164c778aaef0a9da4f233d85cb7f5b8", size = 250782, upload-time = "2025-10-24T09:02:39.617Z" }, + { url = "https://files.pythonhosted.org/packages/b9/2d/f0083a2f14ecf008d961d40439a71da0ae0d568e5f8dc2fccd3e8a2ab3e4/pytest_codspeed-4.2.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2de87bde9fbc6fd53f0fd21dcf2599c89e0b8948d49f9bad224edce51c47e26b", size = 261960, upload-time = "2025-10-24T09:02:40.665Z" }, + { url = "https://files.pythonhosted.org/packages/5f/0c/1f514c553db4ea5a69dfbe2706734129acd0eca8d5101ec16f1dd00dbc0f/pytest_codspeed-4.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:95aeb2479ca383f6b18e2cc9ebcd3b03ab184980a59a232aea6f370bbf59a1e3", size = 250808, upload-time = "2025-10-24T09:02:42.07Z" }, + { url = "https://files.pythonhosted.org/packages/81/04/479905bd6653bc981c0554fcce6df52d7ae1594e1eefd53e6cf31810ec7f/pytest_codspeed-4.2.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7d4fefbd4ae401e2c60f6be920a0be50eef0c3e4a1f0a1c83962efd45be38b39", size = 262084, upload-time = "2025-10-24T09:02:43.155Z" }, + { url = "https://files.pythonhosted.org/packages/d2/46/d6f345d7907bac6cbb6224bd697ecbc11cf7427acc9e843c3618f19e3476/pytest_codspeed-4.2.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:309b4227f57fcbb9df21e889ea1ae191d0d1cd8b903b698fdb9ea0461dbf1dfe", size = 251100, upload-time = "2025-10-24T09:02:44.168Z" }, + { url = "https://files.pythonhosted.org/packages/de/dc/e864f45e994a50390ff49792256f1bdcbf42f170e3bc0470ee1a7d2403f3/pytest_codspeed-4.2.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:72aab8278452a6d020798b9e4f82780966adb00f80d27a25d1274272c54630d5", size = 262057, upload-time = "2025-10-24T09:02:45.791Z" }, + { url = "https://files.pythonhosted.org/packages/1d/1c/f1d2599784486879cf6579d8d94a3e22108f0e1f130033dab8feefd29249/pytest_codspeed-4.2.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:684fcd9491d810ded653a8d38de4835daa2d001645f4a23942862950664273f8", size = 251013, upload-time = "2025-10-24T09:02:46.937Z" }, + { url = "https://files.pythonhosted.org/packages/0c/fd/eafd24db5652a94b4d00fe9b309b607de81add0f55f073afb68a378a24b6/pytest_codspeed-4.2.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:50794dabea6ec90d4288904452051e2febace93e7edf4ca9f2bce8019dd8cd37", size = 262065, upload-time = "2025-10-24T09:02:48.018Z" }, + { url = "https://files.pythonhosted.org/packages/f9/14/8d9340d7dc0ae647991b28a396e16b3403e10def883cde90d6b663d3f7ec/pytest_codspeed-4.2.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0ebd87f2a99467a1cfd8e83492c4712976e43d353ee0b5f71cbb057f1393aca", size = 251057, upload-time = "2025-10-24T09:02:49.102Z" }, + { url = "https://files.pythonhosted.org/packages/4b/39/48cf6afbca55bc7c8c93c3d4ae926a1068bcce3f0241709db19b078d5418/pytest_codspeed-4.2.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dbbb2d61b85bef8fc7e2193f723f9ac2db388a48259d981bbce96319043e9830", size = 267983, upload-time = "2025-10-24T09:02:50.558Z" }, + { url = "https://files.pythonhosted.org/packages/33/86/4407341efb5dceb3e389635749ce1d670542d6ca148bd34f9d5334295faf/pytest_codspeed-4.2.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:748411c832147bfc85f805af78a1ab1684f52d08e14aabe22932bbe46c079a5f", size = 256732, upload-time = "2025-10-24T09:02:51.603Z" }, + { url = "https://files.pythonhosted.org/packages/25/0e/8cb71fd3ed4ed08c07aec1245aea7bc1b661ba55fd9c392db76f1978d453/pytest_codspeed-4.2.0-py3-none-any.whl", hash = "sha256:e81bbb45c130874ef99aca97929d72682733527a49f84239ba575b5cb843bab0", size = 113726, upload-time = "2025-10-24T09:02:54.785Z" }, +] + +[[package]] +name = "pytest-cov" +version = "7.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "coverage", extra = ["toml"] }, + { name = "pluggy" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5e/f7/c933acc76f5208b3b00089573cf6a2bc26dc80a8aece8f52bb7d6b1855ca/pytest_cov-7.0.0.tar.gz", hash = "sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1", size = 54328, upload-time = "2025-09-09T10:57:02.113Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ee/49/1377b49de7d0c1ce41292161ea0f721913fa8722c19fb9c1e3aa0367eecb/pytest_cov-7.0.0-py3-none-any.whl", hash = "sha256:3b8e9558b16cc1479da72058bdecf8073661c7f57f7d3c5f22a1c23507f2d861", size = 22424, upload-time = "2025-09-09T10:57:00.695Z" }, +] + +[[package]] +name = "pytest-mock" +version = "3.15.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/68/14/eb014d26be205d38ad5ad20d9a80f7d201472e08167f0bb4361e251084a9/pytest_mock-3.15.1.tar.gz", hash = "sha256:1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f", size = 34036, upload-time = "2025-09-16T16:37:27.081Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5a/cc/06253936f4a7fa2e0f48dfe6d851d9c56df896a9ab09ac019d70b760619c/pytest_mock-3.15.1-py3-none-any.whl", hash = "sha256:0a25e2eb88fe5168d535041d09a4529a188176ae608a6d249ee65abc0949630d", size = 10095, upload-time = "2025-09-16T16:37:25.734Z" }, +] + +[[package]] +name = "pytest-recording" +version = "0.13.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, + { name = "vcrpy" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/32/9c/f4027c5f1693847b06d11caf4b4f6bb09f22c1581ada4663877ec166b8c6/pytest_recording-0.13.4.tar.gz", hash = "sha256:568d64b2a85992eec4ae0a419c855d5fd96782c5fb016784d86f18053792768c", size = 26576, upload-time = "2025-05-08T10:41:11.231Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/42/c2/ce34735972cc42d912173e79f200fe66530225190c06655c5632a9d88f1e/pytest_recording-0.13.4-py3-none-any.whl", hash = "sha256:ad49a434b51b1c4f78e85b1e6b74fdcc2a0a581ca16e52c798c6ace971f7f439", size = 13723, upload-time = "2025-05-08T10:41:09.684Z" }, +] + +[[package]] +name = "pytest-socket" +version = "0.7.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/05/ff/90c7e1e746baf3d62ce864c479fd53410b534818b9437413903596f81580/pytest_socket-0.7.0.tar.gz", hash = "sha256:71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3", size = 12389, upload-time = "2024-01-28T20:17:23.177Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/19/58/5d14cb5cb59409e491ebe816c47bf81423cd03098ea92281336320ae5681/pytest_socket-0.7.0-py3-none-any.whl", hash = "sha256:7e0f4642177d55d317bbd58fc68c6bd9048d6eadb2d46a89307fa9221336ce45", size = 6754, upload-time = "2024-01-28T20:17:22.105Z" }, +] + +[[package]] +name = "pytest-watcher" +version = "0.6.3" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "tomli", marker = "python_full_version < '3.11'" }, + { name = "watchdog" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e6/d2/80606077b7fa8784417687f494ff801d7ab817d9a17fc94305811d5919bb/pytest_watcher-0.6.3.tar.gz", hash = "sha256:842dc904264df0ad2d5264153a66bb452fccfa46598cd6e0a5ef1d19afed9b13", size = 601878, upload-time = "2026-01-10T23:28:18.805Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/3f/172d73600ad2771774cda108efb813fc724fc345e5240a81a1085f1ade5d/pytest_watcher-0.6.3-py3-none-any.whl", hash = "sha256:83e7748c933087e8276edb6078663e6afa9926434b4fd8b85cf6b32b1d5bec89", size = 12431, upload-time = "2026-01-10T23:28:17.64Z" }, +] + +[[package]] +name = "pytest-xdist" +version = "3.8.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "execnet" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/78/b4/439b179d1ff526791eb921115fca8e44e596a13efeda518b9d845a619450/pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1", size = 88069, upload-time = "2025-07-01T13:30:59.346Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ca/31/d4e37e9e550c2b92a9cbc2e4d0b7420a27224968580b5a447f420847c975/pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88", size = 46396, upload-time = "2025-07-01T13:30:56.632Z" }, +] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" }, +] + +[[package]] +name = "python-dotenv" +version = "1.2.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" }, +] + +[[package]] +name = "pytokens" +version = "0.4.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/b6/34/b4e015b99031667a7b960f888889c5bd34ef585c85e1cb56a594b92836ac/pytokens-0.4.1.tar.gz", hash = "sha256:292052fe80923aae2260c073f822ceba21f3872ced9a68bb7953b348e561179a", size = 23015, upload-time = "2026-01-30T01:03:45.924Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/42/24/f206113e05cb8ef51b3850e7ef88f20da6f4bf932190ceb48bd3da103e10/pytokens-0.4.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2a44ed93ea23415c54f3face3b65ef2b844d96aeb3455b8a69b3df6beab6acc5", size = 161522, upload-time = "2026-01-30T01:02:50.393Z" }, + { url = "https://files.pythonhosted.org/packages/d4/e9/06a6bf1b90c2ed81a9c7d2544232fe5d2891d1cd480e8a1809ca354a8eb2/pytokens-0.4.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:add8bf86b71a5d9fb5b89f023a80b791e04fba57960aa790cc6125f7f1d39dfe", size = 246945, upload-time = "2026-01-30T01:02:52.399Z" }, + { url = "https://files.pythonhosted.org/packages/69/66/f6fb1007a4c3d8b682d5d65b7c1fb33257587a5f782647091e3408abe0b8/pytokens-0.4.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:670d286910b531c7b7e3c0b453fd8156f250adb140146d234a82219459b9640c", size = 259525, upload-time = "2026-01-30T01:02:53.737Z" }, + { url = "https://files.pythonhosted.org/packages/04/92/086f89b4d622a18418bac74ab5db7f68cf0c21cf7cc92de6c7b919d76c88/pytokens-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:4e691d7f5186bd2842c14813f79f8884bb03f5995f0575272009982c5ac6c0f7", size = 262693, upload-time = "2026-01-30T01:02:54.871Z" }, + { url = "https://files.pythonhosted.org/packages/b4/7b/8b31c347cf94a3f900bdde750b2e9131575a61fdb620d3d3c75832262137/pytokens-0.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:27b83ad28825978742beef057bfe406ad6ed524b2d28c252c5de7b4a6dd48fa2", size = 103567, upload-time = "2026-01-30T01:02:56.414Z" }, + { url = "https://files.pythonhosted.org/packages/3d/92/790ebe03f07b57e53b10884c329b9a1a308648fc083a6d4a39a10a28c8fc/pytokens-0.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d70e77c55ae8380c91c0c18dea05951482e263982911fc7410b1ffd1dadd3440", size = 160864, upload-time = "2026-01-30T01:02:57.882Z" }, + { url = "https://files.pythonhosted.org/packages/13/25/a4f555281d975bfdd1eba731450e2fe3a95870274da73fb12c40aeae7625/pytokens-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a58d057208cb9075c144950d789511220b07636dd2e4708d5645d24de666bdc", size = 248565, upload-time = "2026-01-30T01:02:59.912Z" }, + { url = "https://files.pythonhosted.org/packages/17/50/bc0394b4ad5b1601be22fa43652173d47e4c9efbf0044c62e9a59b747c56/pytokens-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b49750419d300e2b5a3813cf229d4e5a4c728dae470bcc89867a9ad6f25a722d", size = 260824, upload-time = "2026-01-30T01:03:01.471Z" }, + { url = "https://files.pythonhosted.org/packages/4e/54/3e04f9d92a4be4fc6c80016bc396b923d2a6933ae94b5f557c939c460ee0/pytokens-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:d9907d61f15bf7261d7e775bd5d7ee4d2930e04424bab1972591918497623a16", size = 264075, upload-time = "2026-01-30T01:03:04.143Z" }, + { url = "https://files.pythonhosted.org/packages/d1/1b/44b0326cb5470a4375f37988aea5d61b5cc52407143303015ebee94abfd6/pytokens-0.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:ee44d0f85b803321710f9239f335aafe16553b39106384cef8e6de40cb4ef2f6", size = 103323, upload-time = "2026-01-30T01:03:05.412Z" }, + { url = "https://files.pythonhosted.org/packages/41/5d/e44573011401fb82e9d51e97f1290ceb377800fb4eed650b96f4753b499c/pytokens-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:140709331e846b728475786df8aeb27d24f48cbcf7bcd449f8de75cae7a45083", size = 160663, upload-time = "2026-01-30T01:03:06.473Z" }, + { url = "https://files.pythonhosted.org/packages/f0/e6/5bbc3019f8e6f21d09c41f8b8654536117e5e211a85d89212d59cbdab381/pytokens-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6d6c4268598f762bc8e91f5dbf2ab2f61f7b95bdc07953b602db879b3c8c18e1", size = 255626, upload-time = "2026-01-30T01:03:08.177Z" }, + { url = "https://files.pythonhosted.org/packages/bf/3c/2d5297d82286f6f3d92770289fd439956b201c0a4fc7e72efb9b2293758e/pytokens-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24afde1f53d95348b5a0eb19488661147285ca4dd7ed752bbc3e1c6242a304d1", size = 269779, upload-time = "2026-01-30T01:03:09.756Z" }, + { url = "https://files.pythonhosted.org/packages/20/01/7436e9ad693cebda0551203e0bf28f7669976c60ad07d6402098208476de/pytokens-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5ad948d085ed6c16413eb5fec6b3e02fa00dc29a2534f088d3302c47eb59adf9", size = 268076, upload-time = "2026-01-30T01:03:10.957Z" }, + { url = "https://files.pythonhosted.org/packages/2e/df/533c82a3c752ba13ae7ef238b7f8cdd272cf1475f03c63ac6cf3fcfb00b6/pytokens-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:3f901fe783e06e48e8cbdc82d631fca8f118333798193e026a50ce1b3757ea68", size = 103552, upload-time = "2026-01-30T01:03:12.066Z" }, + { url = "https://files.pythonhosted.org/packages/cb/dc/08b1a080372afda3cceb4f3c0a7ba2bde9d6a5241f1edb02a22a019ee147/pytokens-0.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8bdb9d0ce90cbf99c525e75a2fa415144fd570a1ba987380190e8b786bc6ef9b", size = 160720, upload-time = "2026-01-30T01:03:13.843Z" }, + { url = "https://files.pythonhosted.org/packages/64/0c/41ea22205da480837a700e395507e6a24425151dfb7ead73343d6e2d7ffe/pytokens-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5502408cab1cb18e128570f8d598981c68a50d0cbd7c61312a90507cd3a1276f", size = 254204, upload-time = "2026-01-30T01:03:14.886Z" }, + { url = "https://files.pythonhosted.org/packages/e0/d2/afe5c7f8607018beb99971489dbb846508f1b8f351fcefc225fcf4b2adc0/pytokens-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:29d1d8fb1030af4d231789959f21821ab6325e463f0503a61d204343c9b355d1", size = 268423, upload-time = "2026-01-30T01:03:15.936Z" }, + { url = "https://files.pythonhosted.org/packages/68/d4/00ffdbd370410c04e9591da9220a68dc1693ef7499173eb3e30d06e05ed1/pytokens-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:970b08dd6b86058b6dc07efe9e98414f5102974716232d10f32ff39701e841c4", size = 266859, upload-time = "2026-01-30T01:03:17.458Z" }, + { url = "https://files.pythonhosted.org/packages/a7/c9/c3161313b4ca0c601eeefabd3d3b576edaa9afdefd32da97210700e47652/pytokens-0.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:9bd7d7f544d362576be74f9d5901a22f317efc20046efe2034dced238cbbfe78", size = 103520, upload-time = "2026-01-30T01:03:18.652Z" }, + { url = "https://files.pythonhosted.org/packages/8f/a7/b470f672e6fc5fee0a01d9e75005a0e617e162381974213a945fcd274843/pytokens-0.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4a14d5f5fc78ce85e426aa159489e2d5961acf0e47575e08f35584009178e321", size = 160821, upload-time = "2026-01-30T01:03:19.684Z" }, + { url = "https://files.pythonhosted.org/packages/80/98/e83a36fe8d170c911f864bfded690d2542bfcfacb9c649d11a9e6eb9dc41/pytokens-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f50fd18543be72da51dd505e2ed20d2228c74e0464e4262e4899797803d7fa", size = 254263, upload-time = "2026-01-30T01:03:20.834Z" }, + { url = "https://files.pythonhosted.org/packages/0f/95/70d7041273890f9f97a24234c00b746e8da86df462620194cef1d411ddeb/pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dc74c035f9bfca0255c1af77ddd2d6ae8419012805453e4b0e7513e17904545d", size = 268071, upload-time = "2026-01-30T01:03:21.888Z" }, + { url = "https://files.pythonhosted.org/packages/da/79/76e6d09ae19c99404656d7db9c35dfd20f2086f3eb6ecb496b5b31163bad/pytokens-0.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f66a6bbe741bd431f6d741e617e0f39ec7257ca1f89089593479347cc4d13324", size = 271716, upload-time = "2026-01-30T01:03:23.633Z" }, + { url = "https://files.pythonhosted.org/packages/79/37/482e55fa1602e0a7ff012661d8c946bafdc05e480ea5a32f4f7e336d4aa9/pytokens-0.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:b35d7e5ad269804f6697727702da3c517bb8a5228afa450ab0fa787732055fc9", size = 104539, upload-time = "2026-01-30T01:03:24.788Z" }, + { url = "https://files.pythonhosted.org/packages/30/e8/20e7db907c23f3d63b0be3b8a4fd1927f6da2395f5bcc7f72242bb963dfe/pytokens-0.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:8fcb9ba3709ff77e77f1c7022ff11d13553f3c30299a9fe246a166903e9091eb", size = 168474, upload-time = "2026-01-30T01:03:26.428Z" }, + { url = "https://files.pythonhosted.org/packages/d6/81/88a95ee9fafdd8f5f3452107748fd04c24930d500b9aba9738f3ade642cc/pytokens-0.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:79fc6b8699564e1f9b521582c35435f1bd32dd06822322ec44afdeba666d8cb3", size = 290473, upload-time = "2026-01-30T01:03:27.415Z" }, + { url = "https://files.pythonhosted.org/packages/cf/35/3aa899645e29b6375b4aed9f8d21df219e7c958c4c186b465e42ee0a06bf/pytokens-0.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d31b97b3de0f61571a124a00ffe9a81fb9939146c122c11060725bd5aea79975", size = 303485, upload-time = "2026-01-30T01:03:28.558Z" }, + { url = "https://files.pythonhosted.org/packages/52/a0/07907b6ff512674d9b201859f7d212298c44933633c946703a20c25e9d81/pytokens-0.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:967cf6e3fd4adf7de8fc73cd3043754ae79c36475c1c11d514fc72cf5490094a", size = 306698, upload-time = "2026-01-30T01:03:29.653Z" }, + { url = "https://files.pythonhosted.org/packages/39/2a/cbbf9250020a4a8dd53ba83a46c097b69e5eb49dd14e708f496f548c6612/pytokens-0.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:584c80c24b078eec1e227079d56dc22ff755e0ba8654d8383b2c549107528918", size = 116287, upload-time = "2026-01-30T01:03:30.912Z" }, + { url = "https://files.pythonhosted.org/packages/c6/78/397db326746f0a342855b81216ae1f0a32965deccfd7c830a2dbc66d2483/pytokens-0.4.1-py3-none-any.whl", hash = "sha256:26cef14744a8385f35d0e095dc8b3a7583f6c953c2e3d269c7f82484bf5ad2de", size = 13729, upload-time = "2026-01-30T01:03:45.029Z" }, +] + +[[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 = "regex" +version = "2025.11.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/cc/a9/546676f25e573a4cf00fe8e119b78a37b6a8fe2dc95cda877b30889c9c45/regex-2025.11.3.tar.gz", hash = "sha256:1fedc720f9bb2494ce31a58a1631f9c82df6a09b49c19517ea5cc280b4541e01", size = 414669, upload-time = "2025-11-03T21:34:22.089Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8a/d6/d788d52da01280a30a3f6268aef2aa71043bff359c618fea4c5b536654d5/regex-2025.11.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:2b441a4ae2c8049106e8b39973bfbddfb25a179dda2bdb99b0eeb60c40a6a3af", size = 488087, upload-time = "2025-11-03T21:30:47.317Z" }, + { url = "https://files.pythonhosted.org/packages/69/39/abec3bd688ec9bbea3562de0fd764ff802976185f5ff22807bf0a2697992/regex-2025.11.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2fa2eed3f76677777345d2f81ee89f5de2f5745910e805f7af7386a920fa7313", size = 290544, upload-time = "2025-11-03T21:30:49.912Z" }, + { url = "https://files.pythonhosted.org/packages/39/b3/9a231475d5653e60002508f41205c61684bb2ffbf2401351ae2186897fc4/regex-2025.11.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d8b4a27eebd684319bdf473d39f1d79eed36bf2cd34bd4465cdb4618d82b3d56", size = 288408, upload-time = "2025-11-03T21:30:51.344Z" }, + { url = "https://files.pythonhosted.org/packages/c3/c5/1929a0491bd5ac2d1539a866768b88965fa8c405f3e16a8cef84313098d6/regex-2025.11.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5cf77eac15bd264986c4a2c63353212c095b40f3affb2bc6b4ef80c4776c1a28", size = 781584, upload-time = "2025-11-03T21:30:52.596Z" }, + { url = "https://files.pythonhosted.org/packages/ce/fd/16aa16cf5d497ef727ec966f74164fbe75d6516d3d58ac9aa989bc9cdaad/regex-2025.11.3-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b7f9ee819f94c6abfa56ec7b1dbab586f41ebbdc0a57e6524bd5e7f487a878c7", size = 850733, upload-time = "2025-11-03T21:30:53.825Z" }, + { url = "https://files.pythonhosted.org/packages/e6/49/3294b988855a221cb6565189edf5dc43239957427df2d81d4a6b15244f64/regex-2025.11.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:838441333bc90b829406d4a03cb4b8bf7656231b84358628b0406d803931ef32", size = 898691, upload-time = "2025-11-03T21:30:55.575Z" }, + { url = "https://files.pythonhosted.org/packages/14/62/b56d29e70b03666193369bdbdedfdc23946dbe9f81dd78ce262c74d988ab/regex-2025.11.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:cfe6d3f0c9e3b7e8c0c694b24d25e677776f5ca26dce46fd6b0489f9c8339391", size = 791662, upload-time = "2025-11-03T21:30:57.262Z" }, + { url = "https://files.pythonhosted.org/packages/15/fc/e4c31d061eced63fbf1ce9d853975f912c61a7d406ea14eda2dd355f48e7/regex-2025.11.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2ab815eb8a96379a27c3b6157fcb127c8f59c36f043c1678110cea492868f1d5", size = 782587, upload-time = "2025-11-03T21:30:58.788Z" }, + { url = "https://files.pythonhosted.org/packages/b2/bb/5e30c7394bcf63f0537121c23e796be67b55a8847c3956ae6068f4c70702/regex-2025.11.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:728a9d2d173a65b62bdc380b7932dd8e74ed4295279a8fe1021204ce210803e7", size = 774709, upload-time = "2025-11-03T21:31:00.081Z" }, + { url = "https://files.pythonhosted.org/packages/c5/c4/fce773710af81b0cb37cb4ff0947e75d5d17dee304b93d940b87a67fc2f4/regex-2025.11.3-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:509dc827f89c15c66a0c216331260d777dd6c81e9a4e4f830e662b0bb296c313", size = 845773, upload-time = "2025-11-03T21:31:01.583Z" }, + { url = "https://files.pythonhosted.org/packages/7b/5e/9466a7ec4b8ec282077095c6eb50a12a389d2e036581134d4919e8ca518c/regex-2025.11.3-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:849202cd789e5f3cf5dcc7822c34b502181b4824a65ff20ce82da5524e45e8e9", size = 836164, upload-time = "2025-11-03T21:31:03.244Z" }, + { url = "https://files.pythonhosted.org/packages/95/18/82980a60e8ed1594eb3c89eb814fb276ef51b9af7caeab1340bfd8564af6/regex-2025.11.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b6f78f98741dcc89607c16b1e9426ee46ce4bf31ac5e6b0d40e81c89f3481ea5", size = 779832, upload-time = "2025-11-03T21:31:04.876Z" }, + { url = "https://files.pythonhosted.org/packages/03/cc/90ab0fdbe6dce064a42015433f9152710139fb04a8b81b4fb57a1cb63ffa/regex-2025.11.3-cp310-cp310-win32.whl", hash = "sha256:149eb0bba95231fb4f6d37c8f760ec9fa6fabf65bab555e128dde5f2475193ec", size = 265802, upload-time = "2025-11-03T21:31:06.581Z" }, + { url = "https://files.pythonhosted.org/packages/34/9d/e9e8493a85f3b1ddc4a5014465f5c2b78c3ea1cbf238dcfde78956378041/regex-2025.11.3-cp310-cp310-win_amd64.whl", hash = "sha256:ee3a83ce492074c35a74cc76cf8235d49e77b757193a5365ff86e3f2f93db9fd", size = 277722, upload-time = "2025-11-03T21:31:08.144Z" }, + { url = "https://files.pythonhosted.org/packages/15/c4/b54b24f553966564506dbf873a3e080aef47b356a3b39b5d5aba992b50db/regex-2025.11.3-cp310-cp310-win_arm64.whl", hash = "sha256:38af559ad934a7b35147716655d4a2f79fcef2d695ddfe06a06ba40ae631fa7e", size = 270289, upload-time = "2025-11-03T21:31:10.267Z" }, + { url = "https://files.pythonhosted.org/packages/f7/90/4fb5056e5f03a7048abd2b11f598d464f0c167de4f2a51aa868c376b8c70/regex-2025.11.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:eadade04221641516fa25139273505a1c19f9bf97589a05bc4cfcd8b4a618031", size = 488081, upload-time = "2025-11-03T21:31:11.946Z" }, + { url = "https://files.pythonhosted.org/packages/85/23/63e481293fac8b069d84fba0299b6666df720d875110efd0338406b5d360/regex-2025.11.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:feff9e54ec0dd3833d659257f5c3f5322a12eee58ffa360984b716f8b92983f4", size = 290554, upload-time = "2025-11-03T21:31:13.387Z" }, + { url = "https://files.pythonhosted.org/packages/2b/9d/b101d0262ea293a0066b4522dfb722eb6a8785a8c3e084396a5f2c431a46/regex-2025.11.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3b30bc921d50365775c09a7ed446359e5c0179e9e2512beec4a60cbcef6ddd50", size = 288407, upload-time = "2025-11-03T21:31:14.809Z" }, + { url = "https://files.pythonhosted.org/packages/0c/64/79241c8209d5b7e00577ec9dca35cd493cc6be35b7d147eda367d6179f6d/regex-2025.11.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f99be08cfead2020c7ca6e396c13543baea32343b7a9a5780c462e323bd8872f", size = 793418, upload-time = "2025-11-03T21:31:16.556Z" }, + { url = "https://files.pythonhosted.org/packages/3d/e2/23cd5d3573901ce8f9757c92ca4db4d09600b865919b6d3e7f69f03b1afd/regex-2025.11.3-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6dd329a1b61c0ee95ba95385fb0c07ea0d3fe1a21e1349fa2bec272636217118", size = 860448, upload-time = "2025-11-03T21:31:18.12Z" }, + { url = "https://files.pythonhosted.org/packages/2a/4c/aecf31beeaa416d0ae4ecb852148d38db35391aac19c687b5d56aedf3a8b/regex-2025.11.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4c5238d32f3c5269d9e87be0cf096437b7622b6920f5eac4fd202468aaeb34d2", size = 907139, upload-time = "2025-11-03T21:31:20.753Z" }, + { url = "https://files.pythonhosted.org/packages/61/22/b8cb00df7d2b5e0875f60628594d44dba283e951b1ae17c12f99e332cc0a/regex-2025.11.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:10483eefbfb0adb18ee9474498c9a32fcf4e594fbca0543bb94c48bac6183e2e", size = 800439, upload-time = "2025-11-03T21:31:22.069Z" }, + { url = "https://files.pythonhosted.org/packages/02/a8/c4b20330a5cdc7a8eb265f9ce593f389a6a88a0c5f280cf4d978f33966bc/regex-2025.11.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:78c2d02bb6e1da0720eedc0bad578049cad3f71050ef8cd065ecc87691bed2b0", size = 782965, upload-time = "2025-11-03T21:31:23.598Z" }, + { url = "https://files.pythonhosted.org/packages/b4/4c/ae3e52988ae74af4b04d2af32fee4e8077f26e51b62ec2d12d246876bea2/regex-2025.11.3-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:e6b49cd2aad93a1790ce9cffb18964f6d3a4b0b3dbdbd5de094b65296fce6e58", size = 854398, upload-time = "2025-11-03T21:31:25.008Z" }, + { url = "https://files.pythonhosted.org/packages/06/d1/a8b9cf45874eda14b2e275157ce3b304c87e10fb38d9fc26a6e14eb18227/regex-2025.11.3-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:885b26aa3ee56433b630502dc3d36ba78d186a00cc535d3806e6bfd9ed3c70ab", size = 845897, upload-time = "2025-11-03T21:31:26.427Z" }, + { url = "https://files.pythonhosted.org/packages/ea/fe/1830eb0236be93d9b145e0bd8ab499f31602fe0999b1f19e99955aa8fe20/regex-2025.11.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ddd76a9f58e6a00f8772e72cff8ebcff78e022be95edf018766707c730593e1e", size = 788906, upload-time = "2025-11-03T21:31:28.078Z" }, + { url = "https://files.pythonhosted.org/packages/66/47/dc2577c1f95f188c1e13e2e69d8825a5ac582ac709942f8a03af42ed6e93/regex-2025.11.3-cp311-cp311-win32.whl", hash = "sha256:3e816cc9aac1cd3cc9a4ec4d860f06d40f994b5c7b4d03b93345f44e08cc68bf", size = 265812, upload-time = "2025-11-03T21:31:29.72Z" }, + { url = "https://files.pythonhosted.org/packages/50/1e/15f08b2f82a9bbb510621ec9042547b54d11e83cb620643ebb54e4eb7d71/regex-2025.11.3-cp311-cp311-win_amd64.whl", hash = "sha256:087511f5c8b7dfbe3a03f5d5ad0c2a33861b1fc387f21f6f60825a44865a385a", size = 277737, upload-time = "2025-11-03T21:31:31.422Z" }, + { url = "https://files.pythonhosted.org/packages/f4/fc/6500eb39f5f76c5e47a398df82e6b535a5e345f839581012a418b16f9cc3/regex-2025.11.3-cp311-cp311-win_arm64.whl", hash = "sha256:1ff0d190c7f68ae7769cd0313fe45820ba07ffebfddfaa89cc1eb70827ba0ddc", size = 270290, upload-time = "2025-11-03T21:31:33.041Z" }, + { url = "https://files.pythonhosted.org/packages/e8/74/18f04cb53e58e3fb107439699bd8375cf5a835eec81084e0bddbd122e4c2/regex-2025.11.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bc8ab71e2e31b16e40868a40a69007bc305e1109bd4658eb6cad007e0bf67c41", size = 489312, upload-time = "2025-11-03T21:31:34.343Z" }, + { url = "https://files.pythonhosted.org/packages/78/3f/37fcdd0d2b1e78909108a876580485ea37c91e1acf66d3bb8e736348f441/regex-2025.11.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:22b29dda7e1f7062a52359fca6e58e548e28c6686f205e780b02ad8ef710de36", size = 291256, upload-time = "2025-11-03T21:31:35.675Z" }, + { url = "https://files.pythonhosted.org/packages/bf/26/0a575f58eb23b7ebd67a45fccbc02ac030b737b896b7e7a909ffe43ffd6a/regex-2025.11.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3a91e4a29938bc1a082cc28fdea44be420bf2bebe2665343029723892eb073e1", size = 288921, upload-time = "2025-11-03T21:31:37.07Z" }, + { url = "https://files.pythonhosted.org/packages/ea/98/6a8dff667d1af907150432cf5abc05a17ccd32c72a3615410d5365ac167a/regex-2025.11.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:08b884f4226602ad40c5d55f52bf91a9df30f513864e0054bad40c0e9cf1afb7", size = 798568, upload-time = "2025-11-03T21:31:38.784Z" }, + { url = "https://files.pythonhosted.org/packages/64/15/92c1db4fa4e12733dd5a526c2dd2b6edcbfe13257e135fc0f6c57f34c173/regex-2025.11.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3e0b11b2b2433d1c39c7c7a30e3f3d0aeeea44c2a8d0bae28f6b95f639927a69", size = 864165, upload-time = "2025-11-03T21:31:40.559Z" }, + { url = "https://files.pythonhosted.org/packages/f9/e7/3ad7da8cdee1ce66c7cd37ab5ab05c463a86ffeb52b1a25fe7bd9293b36c/regex-2025.11.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:87eb52a81ef58c7ba4d45c3ca74e12aa4b4e77816f72ca25258a85b3ea96cb48", size = 912182, upload-time = "2025-11-03T21:31:42.002Z" }, + { url = "https://files.pythonhosted.org/packages/84/bd/9ce9f629fcb714ffc2c3faf62b6766ecb7a585e1e885eb699bcf130a5209/regex-2025.11.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a12ab1f5c29b4e93db518f5e3872116b7e9b1646c9f9f426f777b50d44a09e8c", size = 803501, upload-time = "2025-11-03T21:31:43.815Z" }, + { url = "https://files.pythonhosted.org/packages/7c/0f/8dc2e4349d8e877283e6edd6c12bdcebc20f03744e86f197ab6e4492bf08/regex-2025.11.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:7521684c8c7c4f6e88e35ec89680ee1aa8358d3f09d27dfbdf62c446f5d4c695", size = 787842, upload-time = "2025-11-03T21:31:45.353Z" }, + { url = "https://files.pythonhosted.org/packages/f9/73/cff02702960bc185164d5619c0c62a2f598a6abff6695d391b096237d4ab/regex-2025.11.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:7fe6e5440584e94cc4b3f5f4d98a25e29ca12dccf8873679a635638349831b98", size = 858519, upload-time = "2025-11-03T21:31:46.814Z" }, + { url = "https://files.pythonhosted.org/packages/61/83/0e8d1ae71e15bc1dc36231c90b46ee35f9d52fab2e226b0e039e7ea9c10a/regex-2025.11.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:8e026094aa12b43f4fd74576714e987803a315c76edb6b098b9809db5de58f74", size = 850611, upload-time = "2025-11-03T21:31:48.289Z" }, + { url = "https://files.pythonhosted.org/packages/c8/f5/70a5cdd781dcfaa12556f2955bf170cd603cb1c96a1827479f8faea2df97/regex-2025.11.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:435bbad13e57eb5606a68443af62bed3556de2f46deb9f7d4237bc2f1c9fb3a0", size = 789759, upload-time = "2025-11-03T21:31:49.759Z" }, + { url = "https://files.pythonhosted.org/packages/59/9b/7c29be7903c318488983e7d97abcf8ebd3830e4c956c4c540005fcfb0462/regex-2025.11.3-cp312-cp312-win32.whl", hash = "sha256:3839967cf4dc4b985e1570fd8d91078f0c519f30491c60f9ac42a8db039be204", size = 266194, upload-time = "2025-11-03T21:31:51.53Z" }, + { url = "https://files.pythonhosted.org/packages/1a/67/3b92df89f179d7c367be654ab5626ae311cb28f7d5c237b6bb976cd5fbbb/regex-2025.11.3-cp312-cp312-win_amd64.whl", hash = "sha256:e721d1b46e25c481dc5ded6f4b3f66c897c58d2e8cfdf77bbced84339108b0b9", size = 277069, upload-time = "2025-11-03T21:31:53.151Z" }, + { url = "https://files.pythonhosted.org/packages/d7/55/85ba4c066fe5094d35b249c3ce8df0ba623cfd35afb22d6764f23a52a1c5/regex-2025.11.3-cp312-cp312-win_arm64.whl", hash = "sha256:64350685ff08b1d3a6fff33f45a9ca183dc1d58bbfe4981604e70ec9801bbc26", size = 270330, upload-time = "2025-11-03T21:31:54.514Z" }, + { url = "https://files.pythonhosted.org/packages/e1/a7/dda24ebd49da46a197436ad96378f17df30ceb40e52e859fc42cac45b850/regex-2025.11.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:c1e448051717a334891f2b9a620fe36776ebf3dd8ec46a0b877c8ae69575feb4", size = 489081, upload-time = "2025-11-03T21:31:55.9Z" }, + { url = "https://files.pythonhosted.org/packages/19/22/af2dc751aacf88089836aa088a1a11c4f21a04707eb1b0478e8e8fb32847/regex-2025.11.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:9b5aca4d5dfd7fbfbfbdaf44850fcc7709a01146a797536a8f84952e940cca76", size = 291123, upload-time = "2025-11-03T21:31:57.758Z" }, + { url = "https://files.pythonhosted.org/packages/a3/88/1a3ea5672f4b0a84802ee9891b86743438e7c04eb0b8f8c4e16a42375327/regex-2025.11.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:04d2765516395cf7dda331a244a3282c0f5ae96075f728629287dfa6f76ba70a", size = 288814, upload-time = "2025-11-03T21:32:01.12Z" }, + { url = "https://files.pythonhosted.org/packages/fb/8c/f5987895bf42b8ddeea1b315c9fedcfe07cadee28b9c98cf50d00adcb14d/regex-2025.11.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5d9903ca42bfeec4cebedba8022a7c97ad2aab22e09573ce9976ba01b65e4361", size = 798592, upload-time = "2025-11-03T21:32:03.006Z" }, + { url = "https://files.pythonhosted.org/packages/99/2a/6591ebeede78203fa77ee46a1c36649e02df9eaa77a033d1ccdf2fcd5d4e/regex-2025.11.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:639431bdc89d6429f6721625e8129413980ccd62e9d3f496be618a41d205f160", size = 864122, upload-time = "2025-11-03T21:32:04.553Z" }, + { url = "https://files.pythonhosted.org/packages/94/d6/be32a87cf28cf8ed064ff281cfbd49aefd90242a83e4b08b5a86b38e8eb4/regex-2025.11.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f117efad42068f9715677c8523ed2be1518116d1c49b1dd17987716695181efe", size = 912272, upload-time = "2025-11-03T21:32:06.148Z" }, + { url = "https://files.pythonhosted.org/packages/62/11/9bcef2d1445665b180ac7f230406ad80671f0fc2a6ffb93493b5dd8cd64c/regex-2025.11.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4aecb6f461316adf9f1f0f6a4a1a3d79e045f9b71ec76055a791affa3b285850", size = 803497, upload-time = "2025-11-03T21:32:08.162Z" }, + { url = "https://files.pythonhosted.org/packages/e5/a7/da0dc273d57f560399aa16d8a68ae7f9b57679476fc7ace46501d455fe84/regex-2025.11.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3b3a5f320136873cc5561098dfab677eea139521cb9a9e8db98b7e64aef44cbc", size = 787892, upload-time = "2025-11-03T21:32:09.769Z" }, + { url = "https://files.pythonhosted.org/packages/da/4b/732a0c5a9736a0b8d6d720d4945a2f1e6f38f87f48f3173559f53e8d5d82/regex-2025.11.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:75fa6f0056e7efb1f42a1c34e58be24072cb9e61a601340cc1196ae92326a4f9", size = 858462, upload-time = "2025-11-03T21:32:11.769Z" }, + { url = "https://files.pythonhosted.org/packages/0c/f5/a2a03df27dc4c2d0c769220f5110ba8c4084b0bfa9ab0f9b4fcfa3d2b0fc/regex-2025.11.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:dbe6095001465294f13f1adcd3311e50dd84e5a71525f20a10bd16689c61ce0b", size = 850528, upload-time = "2025-11-03T21:32:13.906Z" }, + { url = "https://files.pythonhosted.org/packages/d6/09/e1cd5bee3841c7f6eb37d95ca91cdee7100b8f88b81e41c2ef426910891a/regex-2025.11.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:454d9b4ae7881afbc25015b8627c16d88a597479b9dea82b8c6e7e2e07240dc7", size = 789866, upload-time = "2025-11-03T21:32:15.748Z" }, + { url = "https://files.pythonhosted.org/packages/eb/51/702f5ea74e2a9c13d855a6a85b7f80c30f9e72a95493260193c07f3f8d74/regex-2025.11.3-cp313-cp313-win32.whl", hash = "sha256:28ba4d69171fc6e9896337d4fc63a43660002b7da53fc15ac992abcf3410917c", size = 266189, upload-time = "2025-11-03T21:32:17.493Z" }, + { url = "https://files.pythonhosted.org/packages/8b/00/6e29bb314e271a743170e53649db0fdb8e8ff0b64b4f425f5602f4eb9014/regex-2025.11.3-cp313-cp313-win_amd64.whl", hash = "sha256:bac4200befe50c670c405dc33af26dad5a3b6b255dd6c000d92fe4629f9ed6a5", size = 277054, upload-time = "2025-11-03T21:32:19.042Z" }, + { url = "https://files.pythonhosted.org/packages/25/f1/b156ff9f2ec9ac441710764dda95e4edaf5f36aca48246d1eea3f1fd96ec/regex-2025.11.3-cp313-cp313-win_arm64.whl", hash = "sha256:2292cd5a90dab247f9abe892ac584cb24f0f54680c73fcb4a7493c66c2bf2467", size = 270325, upload-time = "2025-11-03T21:32:21.338Z" }, + { url = "https://files.pythonhosted.org/packages/20/28/fd0c63357caefe5680b8ea052131acbd7f456893b69cc2a90cc3e0dc90d4/regex-2025.11.3-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:1eb1ebf6822b756c723e09f5186473d93236c06c579d2cc0671a722d2ab14281", size = 491984, upload-time = "2025-11-03T21:32:23.466Z" }, + { url = "https://files.pythonhosted.org/packages/df/ec/7014c15626ab46b902b3bcc4b28a7bae46d8f281fc7ea9c95e22fcaaa917/regex-2025.11.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:1e00ec2970aab10dc5db34af535f21fcf32b4a31d99e34963419636e2f85ae39", size = 292673, upload-time = "2025-11-03T21:32:25.034Z" }, + { url = "https://files.pythonhosted.org/packages/23/ab/3b952ff7239f20d05f1f99e9e20188513905f218c81d52fb5e78d2bf7634/regex-2025.11.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a4cb042b615245d5ff9b3794f56be4138b5adc35a4166014d31d1814744148c7", size = 291029, upload-time = "2025-11-03T21:32:26.528Z" }, + { url = "https://files.pythonhosted.org/packages/21/7e/3dc2749fc684f455f162dcafb8a187b559e2614f3826877d3844a131f37b/regex-2025.11.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:44f264d4bf02f3176467d90b294d59bf1db9fe53c141ff772f27a8b456b2a9ed", size = 807437, upload-time = "2025-11-03T21:32:28.363Z" }, + { url = "https://files.pythonhosted.org/packages/1b/0b/d529a85ab349c6a25d1ca783235b6e3eedf187247eab536797021f7126c6/regex-2025.11.3-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7be0277469bf3bd7a34a9c57c1b6a724532a0d235cd0dc4e7f4316f982c28b19", size = 873368, upload-time = "2025-11-03T21:32:30.4Z" }, + { url = "https://files.pythonhosted.org/packages/7d/18/2d868155f8c9e3e9d8f9e10c64e9a9f496bb8f7e037a88a8bed26b435af6/regex-2025.11.3-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0d31e08426ff4b5b650f68839f5af51a92a5b51abd8554a60c2fbc7c71f25d0b", size = 914921, upload-time = "2025-11-03T21:32:32.123Z" }, + { url = "https://files.pythonhosted.org/packages/2d/71/9d72ff0f354fa783fe2ba913c8734c3b433b86406117a8db4ea2bf1c7a2f/regex-2025.11.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e43586ce5bd28f9f285a6e729466841368c4a0353f6fd08d4ce4630843d3648a", size = 812708, upload-time = "2025-11-03T21:32:34.305Z" }, + { url = "https://files.pythonhosted.org/packages/e7/19/ce4bf7f5575c97f82b6e804ffb5c4e940c62609ab2a0d9538d47a7fdf7d4/regex-2025.11.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:0f9397d561a4c16829d4e6ff75202c1c08b68a3bdbfe29dbfcdb31c9830907c6", size = 795472, upload-time = "2025-11-03T21:32:36.364Z" }, + { url = "https://files.pythonhosted.org/packages/03/86/fd1063a176ffb7b2315f9a1b08d17b18118b28d9df163132615b835a26ee/regex-2025.11.3-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:dd16e78eb18ffdb25ee33a0682d17912e8cc8a770e885aeee95020046128f1ce", size = 868341, upload-time = "2025-11-03T21:32:38.042Z" }, + { url = "https://files.pythonhosted.org/packages/12/43/103fb2e9811205e7386366501bc866a164a0430c79dd59eac886a2822950/regex-2025.11.3-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:ffcca5b9efe948ba0661e9df0fa50d2bc4b097c70b9810212d6b62f05d83b2dd", size = 854666, upload-time = "2025-11-03T21:32:40.079Z" }, + { url = "https://files.pythonhosted.org/packages/7d/22/e392e53f3869b75804762c7c848bd2dd2abf2b70fb0e526f58724638bd35/regex-2025.11.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c56b4d162ca2b43318ac671c65bd4d563e841a694ac70e1a976ac38fcf4ca1d2", size = 799473, upload-time = "2025-11-03T21:32:42.148Z" }, + { url = "https://files.pythonhosted.org/packages/4f/f9/8bd6b656592f925b6845fcbb4d57603a3ac2fb2373344ffa1ed70aa6820a/regex-2025.11.3-cp313-cp313t-win32.whl", hash = "sha256:9ddc42e68114e161e51e272f667d640f97e84a2b9ef14b7477c53aac20c2d59a", size = 268792, upload-time = "2025-11-03T21:32:44.13Z" }, + { url = "https://files.pythonhosted.org/packages/e5/87/0e7d603467775ff65cd2aeabf1b5b50cc1c3708556a8b849a2fa4dd1542b/regex-2025.11.3-cp313-cp313t-win_amd64.whl", hash = "sha256:7a7c7fdf755032ffdd72c77e3d8096bdcb0eb92e89e17571a196f03d88b11b3c", size = 280214, upload-time = "2025-11-03T21:32:45.853Z" }, + { url = "https://files.pythonhosted.org/packages/8d/d0/2afc6f8e94e2b64bfb738a7c2b6387ac1699f09f032d363ed9447fd2bb57/regex-2025.11.3-cp313-cp313t-win_arm64.whl", hash = "sha256:df9eb838c44f570283712e7cff14c16329a9f0fb19ca492d21d4b7528ee6821e", size = 271469, upload-time = "2025-11-03T21:32:48.026Z" }, + { url = "https://files.pythonhosted.org/packages/31/e9/f6e13de7e0983837f7b6d238ad9458800a874bf37c264f7923e63409944c/regex-2025.11.3-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:9697a52e57576c83139d7c6f213d64485d3df5bf84807c35fa409e6c970801c6", size = 489089, upload-time = "2025-11-03T21:32:50.027Z" }, + { url = "https://files.pythonhosted.org/packages/a3/5c/261f4a262f1fa65141c1b74b255988bd2fa020cc599e53b080667d591cfc/regex-2025.11.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:e18bc3f73bd41243c9b38a6d9f2366cd0e0137a9aebe2d8ff76c5b67d4c0a3f4", size = 291059, upload-time = "2025-11-03T21:32:51.682Z" }, + { url = "https://files.pythonhosted.org/packages/8e/57/f14eeb7f072b0e9a5a090d1712741fd8f214ec193dba773cf5410108bb7d/regex-2025.11.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:61a08bcb0ec14ff4e0ed2044aad948d0659604f824cbd50b55e30b0ec6f09c73", size = 288900, upload-time = "2025-11-03T21:32:53.569Z" }, + { url = "https://files.pythonhosted.org/packages/3c/6b/1d650c45e99a9b327586739d926a1cd4e94666b1bd4af90428b36af66dc7/regex-2025.11.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c9c30003b9347c24bcc210958c5d167b9e4f9be786cb380a7d32f14f9b84674f", size = 799010, upload-time = "2025-11-03T21:32:55.222Z" }, + { url = "https://files.pythonhosted.org/packages/99/ee/d66dcbc6b628ce4e3f7f0cbbb84603aa2fc0ffc878babc857726b8aab2e9/regex-2025.11.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4e1e592789704459900728d88d41a46fe3969b82ab62945560a31732ffc19a6d", size = 864893, upload-time = "2025-11-03T21:32:57.239Z" }, + { url = "https://files.pythonhosted.org/packages/bf/2d/f238229f1caba7ac87a6c4153d79947fb0261415827ae0f77c304260c7d3/regex-2025.11.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6538241f45eb5a25aa575dbba1069ad786f68a4f2773a29a2bd3dd1f9de787be", size = 911522, upload-time = "2025-11-03T21:32:59.274Z" }, + { url = "https://files.pythonhosted.org/packages/bd/3d/22a4eaba214a917c80e04f6025d26143690f0419511e0116508e24b11c9b/regex-2025.11.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bce22519c989bb72a7e6b36a199384c53db7722fe669ba891da75907fe3587db", size = 803272, upload-time = "2025-11-03T21:33:01.393Z" }, + { url = "https://files.pythonhosted.org/packages/84/b1/03188f634a409353a84b5ef49754b97dbcc0c0f6fd6c8ede505a8960a0a4/regex-2025.11.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:66d559b21d3640203ab9075797a55165d79017520685fb407b9234d72ab63c62", size = 787958, upload-time = "2025-11-03T21:33:03.379Z" }, + { url = "https://files.pythonhosted.org/packages/99/6a/27d072f7fbf6fadd59c64d210305e1ff865cc3b78b526fd147db768c553b/regex-2025.11.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:669dcfb2e38f9e8c69507bace46f4889e3abbfd9b0c29719202883c0a603598f", size = 859289, upload-time = "2025-11-03T21:33:05.374Z" }, + { url = "https://files.pythonhosted.org/packages/9a/70/1b3878f648e0b6abe023172dacb02157e685564853cc363d9961bcccde4e/regex-2025.11.3-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:32f74f35ff0f25a5021373ac61442edcb150731fbaa28286bbc8bb1582c89d02", size = 850026, upload-time = "2025-11-03T21:33:07.131Z" }, + { url = "https://files.pythonhosted.org/packages/dd/d5/68e25559b526b8baab8e66839304ede68ff6727237a47727d240006bd0ff/regex-2025.11.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e6c7a21dffba883234baefe91bc3388e629779582038f75d2a5be918e250f0ed", size = 789499, upload-time = "2025-11-03T21:33:09.141Z" }, + { url = "https://files.pythonhosted.org/packages/fc/df/43971264857140a350910d4e33df725e8c94dd9dee8d2e4729fa0d63d49e/regex-2025.11.3-cp314-cp314-win32.whl", hash = "sha256:795ea137b1d809eb6836b43748b12634291c0ed55ad50a7d72d21edf1cd565c4", size = 271604, upload-time = "2025-11-03T21:33:10.9Z" }, + { url = "https://files.pythonhosted.org/packages/01/6f/9711b57dc6894a55faf80a4c1b5aa4f8649805cb9c7aef46f7d27e2b9206/regex-2025.11.3-cp314-cp314-win_amd64.whl", hash = "sha256:9f95fbaa0ee1610ec0fc6b26668e9917a582ba80c52cc6d9ada15e30aa9ab9ad", size = 280320, upload-time = "2025-11-03T21:33:12.572Z" }, + { url = "https://files.pythonhosted.org/packages/f1/7e/f6eaa207d4377481f5e1775cdeb5a443b5a59b392d0065f3417d31d80f87/regex-2025.11.3-cp314-cp314-win_arm64.whl", hash = "sha256:dfec44d532be4c07088c3de2876130ff0fbeeacaa89a137decbbb5f665855a0f", size = 273372, upload-time = "2025-11-03T21:33:14.219Z" }, + { url = "https://files.pythonhosted.org/packages/c3/06/49b198550ee0f5e4184271cee87ba4dfd9692c91ec55289e6282f0f86ccf/regex-2025.11.3-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:ba0d8a5d7f04f73ee7d01d974d47c5834f8a1b0224390e4fe7c12a3a92a78ecc", size = 491985, upload-time = "2025-11-03T21:33:16.555Z" }, + { url = "https://files.pythonhosted.org/packages/ce/bf/abdafade008f0b1c9da10d934034cb670432d6cf6cbe38bbb53a1cfd6cf8/regex-2025.11.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:442d86cf1cfe4faabf97db7d901ef58347efd004934da045c745e7b5bd57ac49", size = 292669, upload-time = "2025-11-03T21:33:18.32Z" }, + { url = "https://files.pythonhosted.org/packages/f9/ef/0c357bb8edbd2ad8e273fcb9e1761bc37b8acbc6e1be050bebd6475f19c1/regex-2025.11.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:fd0a5e563c756de210bb964789b5abe4f114dacae9104a47e1a649b910361536", size = 291030, upload-time = "2025-11-03T21:33:20.048Z" }, + { url = "https://files.pythonhosted.org/packages/79/06/edbb67257596649b8fb088d6aeacbcb248ac195714b18a65e018bf4c0b50/regex-2025.11.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf3490bcbb985a1ae97b2ce9ad1c0f06a852d5b19dde9b07bdf25bf224248c95", size = 807674, upload-time = "2025-11-03T21:33:21.797Z" }, + { url = "https://files.pythonhosted.org/packages/f4/d9/ad4deccfce0ea336296bd087f1a191543bb99ee1c53093dcd4c64d951d00/regex-2025.11.3-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3809988f0a8b8c9dcc0f92478d6501fac7200b9ec56aecf0ec21f4a2ec4b6009", size = 873451, upload-time = "2025-11-03T21:33:23.741Z" }, + { url = "https://files.pythonhosted.org/packages/13/75/a55a4724c56ef13e3e04acaab29df26582f6978c000ac9cd6810ad1f341f/regex-2025.11.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f4ff94e58e84aedb9c9fce66d4ef9f27a190285b451420f297c9a09f2b9abee9", size = 914980, upload-time = "2025-11-03T21:33:25.999Z" }, + { url = "https://files.pythonhosted.org/packages/67/1e/a1657ee15bd9116f70d4a530c736983eed997b361e20ecd8f5ca3759d5c5/regex-2025.11.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7eb542fd347ce61e1321b0a6b945d5701528dca0cd9759c2e3bb8bd57e47964d", size = 812852, upload-time = "2025-11-03T21:33:27.852Z" }, + { url = "https://files.pythonhosted.org/packages/b8/6f/f7516dde5506a588a561d296b2d0044839de06035bb486b326065b4c101e/regex-2025.11.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d6c2d5919075a1f2e413c00b056ea0c2f065b3f5fe83c3d07d325ab92dce51d6", size = 795566, upload-time = "2025-11-03T21:33:32.364Z" }, + { url = "https://files.pythonhosted.org/packages/d9/dd/3d10b9e170cc16fb34cb2cef91513cf3df65f440b3366030631b2984a264/regex-2025.11.3-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:3f8bf11a4827cc7ce5a53d4ef6cddd5ad25595d3c1435ef08f76825851343154", size = 868463, upload-time = "2025-11-03T21:33:34.459Z" }, + { url = "https://files.pythonhosted.org/packages/f5/8e/935e6beff1695aa9085ff83195daccd72acc82c81793df480f34569330de/regex-2025.11.3-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:22c12d837298651e5550ac1d964e4ff57c3f56965fc1812c90c9fb2028eaf267", size = 854694, upload-time = "2025-11-03T21:33:36.793Z" }, + { url = "https://files.pythonhosted.org/packages/92/12/10650181a040978b2f5720a6a74d44f841371a3d984c2083fc1752e4acf6/regex-2025.11.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:62ba394a3dda9ad41c7c780f60f6e4a70988741415ae96f6d1bf6c239cf01379", size = 799691, upload-time = "2025-11-03T21:33:39.079Z" }, + { url = "https://files.pythonhosted.org/packages/67/90/8f37138181c9a7690e7e4cb388debbd389342db3c7381d636d2875940752/regex-2025.11.3-cp314-cp314t-win32.whl", hash = "sha256:4bf146dca15cdd53224a1bf46d628bd7590e4a07fbb69e720d561aea43a32b38", size = 274583, upload-time = "2025-11-03T21:33:41.302Z" }, + { url = "https://files.pythonhosted.org/packages/8f/cd/867f5ec442d56beb56f5f854f40abcfc75e11d10b11fdb1869dd39c63aaf/regex-2025.11.3-cp314-cp314t-win_amd64.whl", hash = "sha256:adad1a1bcf1c9e76346e091d22d23ac54ef28e1365117d99521631078dfec9de", size = 284286, upload-time = "2025-11-03T21:33:43.324Z" }, + { url = "https://files.pythonhosted.org/packages/20/31/32c0c4610cbc070362bf1d2e4ea86d1ea29014d400a6d6c2486fcfd57766/regex-2025.11.3-cp314-cp314t-win_arm64.whl", hash = "sha256:c54f768482cef41e219720013cd05933b6f971d9562544d691c68699bf2b6801", size = 274741, upload-time = "2025-11-03T21:33:45.557Z" }, +] + +[[package]] +name = "requests" +version = "2.33.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/34/64/8860370b167a9721e8956ae116825caff829224fbca0ca6e7bf8ddef8430/requests-2.33.0.tar.gz", hash = "sha256:c7ebc5e8b0f21837386ad0e1c8fe8b829fa5f544d8df3b2253bff14ef29d7652", size = 134232, upload-time = "2026-03-25T15:10:41.586Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/56/5d/c814546c2333ceea4ba42262d8c4d55763003e767fa169adc693bd524478/requests-2.33.0-py3-none-any.whl", hash = "sha256:3324635456fa185245e24865e810cecec7b4caf933d7eb133dcde67d48cee69b", size = 65017, upload-time = "2026-03-25T15:10:40.382Z" }, +] + +[[package]] +name = "requests-toolbelt" +version = "1.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f3/61/d7545dafb7ac2230c70d38d31cbfe4cc64f7144dc41f6e4e4b78ecd9f5bb/requests-toolbelt-1.0.0.tar.gz", hash = "sha256:7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6", size = 206888, upload-time = "2023-05-01T04:11:33.229Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" }, +] + +[[package]] +name = "rich" +version = "14.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "markdown-it-py" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/fb/d2/8920e102050a0de7bfabeb4c4614a49248cf8d5d7a8d01885fbb24dc767a/rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4", size = 219990, upload-time = "2025-10-09T14:16:53.064Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/25/7a/b0178788f8dc6cafce37a212c99565fa1fe7872c70c6c9c1e1a372d9d88f/rich-14.2.0-py3-none-any.whl", hash = "sha256:76bc51fe2e57d2b1be1f96c524b890b816e334ab4c1e45888799bfaab0021edd", size = 243393, upload-time = "2025-10-09T14:16:51.245Z" }, +] + +[[package]] +name = "ruff" +version = "0.15.5" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/77/9b/840e0039e65fcf12758adf684d2289024d6140cde9268cc59887dc55189c/ruff-0.15.5.tar.gz", hash = "sha256:7c3601d3b6d76dce18c5c824fc8d06f4eef33d6df0c21ec7799510cde0f159a2", size = 4574214, upload-time = "2026-03-05T20:06:34.946Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/47/20/5369c3ce21588c708bcbe517a8fbe1a8dfdb5dfd5137e14790b1da71612c/ruff-0.15.5-py3-none-linux_armv6l.whl", hash = "sha256:4ae44c42281f42e3b06b988e442d344a5b9b72450ff3c892e30d11b29a96a57c", size = 10478185, upload-time = "2026-03-05T20:06:29.093Z" }, + { url = "https://files.pythonhosted.org/packages/44/ed/e81dd668547da281e5dce710cf0bc60193f8d3d43833e8241d006720e42b/ruff-0.15.5-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:6edd3792d408ebcf61adabc01822da687579a1a023f297618ac27a5b51ef0080", size = 10859201, upload-time = "2026-03-05T20:06:32.632Z" }, + { url = "https://files.pythonhosted.org/packages/c4/8f/533075f00aaf19b07c5cd6aa6e5d89424b06b3b3f4583bfa9c640a079059/ruff-0.15.5-py3-none-macosx_11_0_arm64.whl", hash = "sha256:89f463f7c8205a9f8dea9d658d59eff49db05f88f89cc3047fb1a02d9f344010", size = 10184752, upload-time = "2026-03-05T20:06:40.312Z" }, + { url = "https://files.pythonhosted.org/packages/66/0e/ba49e2c3fa0395b3152bad634c7432f7edfc509c133b8f4529053ff024fb/ruff-0.15.5-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ba786a8295c6574c1116704cf0b9e6563de3432ac888d8f83685654fe528fd65", size = 10534857, upload-time = "2026-03-05T20:06:19.581Z" }, + { url = "https://files.pythonhosted.org/packages/59/71/39234440f27a226475a0659561adb0d784b4d247dfe7f43ffc12dd02e288/ruff-0.15.5-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:fd4b801e57955fe9f02b31d20375ab3a5c4415f2e5105b79fb94cf2642c91440", size = 10309120, upload-time = "2026-03-05T20:06:00.435Z" }, + { url = "https://files.pythonhosted.org/packages/f5/87/4140aa86a93df032156982b726f4952aaec4a883bb98cb6ef73c347da253/ruff-0.15.5-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:391f7c73388f3d8c11b794dbbc2959a5b5afe66642c142a6effa90b45f6f5204", size = 11047428, upload-time = "2026-03-05T20:05:51.867Z" }, + { url = "https://files.pythonhosted.org/packages/5a/f7/4953e7e3287676f78fbe85e3a0ca414c5ca81237b7575bdadc00229ac240/ruff-0.15.5-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8dc18f30302e379fe1e998548b0f5e9f4dff907f52f73ad6da419ea9c19d66c8", size = 11914251, upload-time = "2026-03-05T20:06:22.887Z" }, + { url = "https://files.pythonhosted.org/packages/77/46/0f7c865c10cf896ccf5a939c3e84e1cfaeed608ff5249584799a74d33835/ruff-0.15.5-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1cc6e7f90087e2d27f98dc34ed1b3ab7c8f0d273cc5431415454e22c0bd2a681", size = 11333801, upload-time = "2026-03-05T20:05:57.168Z" }, + { url = "https://files.pythonhosted.org/packages/d3/01/a10fe54b653061585e655f5286c2662ebddb68831ed3eaebfb0eb08c0a16/ruff-0.15.5-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c1cb7169f53c1ddb06e71a9aebd7e98fc0fea936b39afb36d8e86d36ecc2636a", size = 11206821, upload-time = "2026-03-05T20:06:03.441Z" }, + { url = "https://files.pythonhosted.org/packages/7a/0d/2132ceaf20c5e8699aa83da2706ecb5c5dcdf78b453f77edca7fb70f8a93/ruff-0.15.5-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:9b037924500a31ee17389b5c8c4d88874cc6ea8e42f12e9c61a3d754ff72f1ca", size = 11133326, upload-time = "2026-03-05T20:06:25.655Z" }, + { url = "https://files.pythonhosted.org/packages/72/cb/2e5259a7eb2a0f87c08c0fe5bf5825a1e4b90883a52685524596bfc93072/ruff-0.15.5-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:65bb414e5b4eadd95a8c1e4804f6772bbe8995889f203a01f77ddf2d790929dd", size = 10510820, upload-time = "2026-03-05T20:06:37.79Z" }, + { url = "https://files.pythonhosted.org/packages/ff/20/b67ce78f9e6c59ffbdb5b4503d0090e749b5f2d31b599b554698a80d861c/ruff-0.15.5-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:d20aa469ae3b57033519c559e9bc9cd9e782842e39be05b50e852c7c981fa01d", size = 10302395, upload-time = "2026-03-05T20:05:54.504Z" }, + { url = "https://files.pythonhosted.org/packages/5f/e5/719f1acccd31b720d477751558ed74e9c88134adcc377e5e886af89d3072/ruff-0.15.5-py3-none-musllinux_1_2_i686.whl", hash = "sha256:15388dd28c9161cdb8eda68993533acc870aa4e646a0a277aa166de9ad5a8752", size = 10754069, upload-time = "2026-03-05T20:06:06.422Z" }, + { url = "https://files.pythonhosted.org/packages/c3/9c/d1db14469e32d98f3ca27079dbd30b7b44dbb5317d06ab36718dee3baf03/ruff-0.15.5-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:b30da330cbd03bed0c21420b6b953158f60c74c54c5f4c1dabbdf3a57bf355d2", size = 11304315, upload-time = "2026-03-05T20:06:10.867Z" }, + { url = "https://files.pythonhosted.org/packages/28/3a/950367aee7c69027f4f422059227b290ed780366b6aecee5de5039d50fa8/ruff-0.15.5-py3-none-win32.whl", hash = "sha256:732e5ee1f98ba5b3679029989a06ca39a950cced52143a0ea82a2102cb592b74", size = 10551676, upload-time = "2026-03-05T20:06:13.705Z" }, + { url = "https://files.pythonhosted.org/packages/b8/00/bf077a505b4e649bdd3c47ff8ec967735ce2544c8e4a43aba42ee9bf935d/ruff-0.15.5-py3-none-win_amd64.whl", hash = "sha256:821d41c5fa9e19117616c35eaa3f4b75046ec76c65e7ae20a333e9a8696bc7fe", size = 11678972, upload-time = "2026-03-05T20:06:45.379Z" }, + { url = "https://files.pythonhosted.org/packages/fe/4e/cd76eca6db6115604b7626668e891c9dd03330384082e33662fb0f113614/ruff-0.15.5-py3-none-win_arm64.whl", hash = "sha256:b498d1c60d2fe5c10c45ec3f698901065772730b411f164ae270bb6bfcc4740b", size = 10965572, upload-time = "2026-03-05T20:06:16.984Z" }, +] + +[[package]] +name = "s3transfer" +version = "0.16.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "botocore" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/05/04/74127fc843314818edfa81b5540e26dd537353b123a4edc563109d8f17dd/s3transfer-0.16.0.tar.gz", hash = "sha256:8e990f13268025792229cd52fa10cb7163744bf56e719e0b9cb925ab79abf920", size = 153827, upload-time = "2025-12-01T02:30:59.114Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/51/727abb13f44c1fcf6d145979e1535a35794db0f6e450a0cb46aa24732fe2/s3transfer-0.16.0-py3-none-any.whl", hash = "sha256:18e25d66fed509e3868dc1572b3f427ff947dd2c56f844a5bf09481ad3f3b2fe", size = 86830, upload-time = "2025-12-01T02:30:57.729Z" }, +] + +[[package]] +name = "six" +version = "1.17.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" }, +] + +[[package]] +name = "sniffio" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" }, +] + +[[package]] +name = "sqlalchemy" +version = "2.0.44" +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/f0/f2/840d7b9496825333f532d2e3976b8eadbf52034178aac53630d09fe6e1ef/sqlalchemy-2.0.44.tar.gz", hash = "sha256:0ae7454e1ab1d780aee69fd2aae7d6b8670a581d8847f2d1e0f7ddfbf47e5a22", size = 9819830, upload-time = "2025-10-10T14:39:12.935Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/a7/e9ccfa7eecaf34c6f57d8cb0bb7cbdeeff27017cc0f5d0ca90fdde7a7c0d/sqlalchemy-2.0.44-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7c77f3080674fc529b1bd99489378c7f63fcb4ba7f8322b79732e0258f0ea3ce", size = 2137282, upload-time = "2025-10-10T15:36:10.965Z" }, + { url = "https://files.pythonhosted.org/packages/b1/e1/50bc121885bdf10833a4f65ecbe9fe229a3215f4d65a58da8a181734cae3/sqlalchemy-2.0.44-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4c26ef74ba842d61635b0152763d057c8d48215d5be9bb8b7604116a059e9985", size = 2127322, upload-time = "2025-10-10T15:36:12.428Z" }, + { url = "https://files.pythonhosted.org/packages/46/f2/a8573b7230a3ce5ee4b961a2d510d71b43872513647398e595b744344664/sqlalchemy-2.0.44-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4a172b31785e2f00780eccab00bc240ccdbfdb8345f1e6063175b3ff12ad1b0", size = 3214772, upload-time = "2025-10-10T15:34:15.09Z" }, + { url = "https://files.pythonhosted.org/packages/4a/d8/c63d8adb6a7edaf8dcb6f75a2b1e9f8577960a1e489606859c4d73e7d32b/sqlalchemy-2.0.44-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f9480c0740aabd8cb29c329b422fb65358049840b34aba0adf63162371d2a96e", size = 3214434, upload-time = "2025-10-10T15:47:00.473Z" }, + { url = "https://files.pythonhosted.org/packages/ee/a6/243d277a4b54fae74d4797957a7320a5c210c293487f931cbe036debb697/sqlalchemy-2.0.44-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:17835885016b9e4d0135720160db3095dc78c583e7b902b6be799fb21035e749", size = 3155365, upload-time = "2025-10-10T15:34:17.932Z" }, + { url = "https://files.pythonhosted.org/packages/5f/f8/6a39516ddd75429fd4ee5a0d72e4c80639fab329b2467c75f363c2ed9751/sqlalchemy-2.0.44-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:cbe4f85f50c656d753890f39468fcd8190c5f08282caf19219f684225bfd5fd2", size = 3178910, upload-time = "2025-10-10T15:47:02.346Z" }, + { url = "https://files.pythonhosted.org/packages/43/f0/118355d4ad3c39d9a2f5ee4c7304a9665b3571482777357fa9920cd7a6b4/sqlalchemy-2.0.44-cp310-cp310-win32.whl", hash = "sha256:2fcc4901a86ed81dc76703f3b93ff881e08761c63263c46991081fd7f034b165", size = 2105624, upload-time = "2025-10-10T15:38:15.552Z" }, + { url = "https://files.pythonhosted.org/packages/61/83/6ae5f9466f8aa5d0dcebfff8c9c33b98b27ce23292df3b990454b3d434fd/sqlalchemy-2.0.44-cp310-cp310-win_amd64.whl", hash = "sha256:9919e77403a483ab81e3423151e8ffc9dd992c20d2603bf17e4a8161111e55f5", size = 2129240, upload-time = "2025-10-10T15:38:17.175Z" }, + { url = "https://files.pythonhosted.org/packages/e3/81/15d7c161c9ddf0900b076b55345872ed04ff1ed6a0666e5e94ab44b0163c/sqlalchemy-2.0.44-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0fe3917059c7ab2ee3f35e77757062b1bea10a0b6ca633c58391e3f3c6c488dd", size = 2140517, upload-time = "2025-10-10T15:36:15.64Z" }, + { url = "https://files.pythonhosted.org/packages/d4/d5/4abd13b245c7d91bdf131d4916fd9e96a584dac74215f8b5bc945206a974/sqlalchemy-2.0.44-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:de4387a354ff230bc979b46b2207af841dc8bf29847b6c7dbe60af186d97aefa", size = 2130738, upload-time = "2025-10-10T15:36:16.91Z" }, + { url = "https://files.pythonhosted.org/packages/cb/3c/8418969879c26522019c1025171cefbb2a8586b6789ea13254ac602986c0/sqlalchemy-2.0.44-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3678a0fb72c8a6a29422b2732fe423db3ce119c34421b5f9955873eb9b62c1e", size = 3304145, upload-time = "2025-10-10T15:34:19.569Z" }, + { url = "https://files.pythonhosted.org/packages/94/2d/fdb9246d9d32518bda5d90f4b65030b9bf403a935cfe4c36a474846517cb/sqlalchemy-2.0.44-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3cf6872a23601672d61a68f390e44703442639a12ee9dd5a88bbce52a695e46e", size = 3304511, upload-time = "2025-10-10T15:47:05.088Z" }, + { url = "https://files.pythonhosted.org/packages/7d/fb/40f2ad1da97d5c83f6c1269664678293d3fe28e90ad17a1093b735420549/sqlalchemy-2.0.44-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:329aa42d1be9929603f406186630135be1e7a42569540577ba2c69952b7cf399", size = 3235161, upload-time = "2025-10-10T15:34:21.193Z" }, + { url = "https://files.pythonhosted.org/packages/95/cb/7cf4078b46752dca917d18cf31910d4eff6076e5b513c2d66100c4293d83/sqlalchemy-2.0.44-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:70e03833faca7166e6a9927fbee7c27e6ecde436774cd0b24bbcc96353bce06b", size = 3261426, upload-time = "2025-10-10T15:47:07.196Z" }, + { url = "https://files.pythonhosted.org/packages/f8/3b/55c09b285cb2d55bdfa711e778bdffdd0dc3ffa052b0af41f1c5d6e582fa/sqlalchemy-2.0.44-cp311-cp311-win32.whl", hash = "sha256:253e2f29843fb303eca6b2fc645aca91fa7aa0aa70b38b6950da92d44ff267f3", size = 2105392, upload-time = "2025-10-10T15:38:20.051Z" }, + { url = "https://files.pythonhosted.org/packages/c7/23/907193c2f4d680aedbfbdf7bf24c13925e3c7c292e813326c1b84a0b878e/sqlalchemy-2.0.44-cp311-cp311-win_amd64.whl", hash = "sha256:7a8694107eb4308a13b425ca8c0e67112f8134c846b6e1f722698708741215d5", size = 2130293, upload-time = "2025-10-10T15:38:21.601Z" }, + { url = "https://files.pythonhosted.org/packages/62/c4/59c7c9b068e6813c898b771204aad36683c96318ed12d4233e1b18762164/sqlalchemy-2.0.44-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:72fea91746b5890f9e5e0997f16cbf3d53550580d76355ba2d998311b17b2250", size = 2139675, upload-time = "2025-10-10T16:03:31.064Z" }, + { url = "https://files.pythonhosted.org/packages/d6/ae/eeb0920537a6f9c5a3708e4a5fc55af25900216bdb4847ec29cfddf3bf3a/sqlalchemy-2.0.44-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:585c0c852a891450edbb1eaca8648408a3cc125f18cf433941fa6babcc359e29", size = 2127726, upload-time = "2025-10-10T16:03:35.934Z" }, + { url = "https://files.pythonhosted.org/packages/d8/d5/2ebbabe0379418eda8041c06b0b551f213576bfe4c2f09d77c06c07c8cc5/sqlalchemy-2.0.44-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9b94843a102efa9ac68a7a30cd46df3ff1ed9c658100d30a725d10d9c60a2f44", size = 3327603, upload-time = "2025-10-10T15:35:28.322Z" }, + { url = "https://files.pythonhosted.org/packages/45/e5/5aa65852dadc24b7d8ae75b7efb8d19303ed6ac93482e60c44a585930ea5/sqlalchemy-2.0.44-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:119dc41e7a7defcefc57189cfa0e61b1bf9c228211aba432b53fb71ef367fda1", size = 3337842, upload-time = "2025-10-10T15:43:45.431Z" }, + { url = "https://files.pythonhosted.org/packages/41/92/648f1afd3f20b71e880ca797a960f638d39d243e233a7082c93093c22378/sqlalchemy-2.0.44-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0765e318ee9179b3718c4fd7ba35c434f4dd20332fbc6857a5e8df17719c24d7", size = 3264558, upload-time = "2025-10-10T15:35:29.93Z" }, + { url = "https://files.pythonhosted.org/packages/40/cf/e27d7ee61a10f74b17740918e23cbc5bc62011b48282170dc4c66da8ec0f/sqlalchemy-2.0.44-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2e7b5b079055e02d06a4308d0481658e4f06bc7ef211567edc8f7d5dce52018d", size = 3301570, upload-time = "2025-10-10T15:43:48.407Z" }, + { url = "https://files.pythonhosted.org/packages/3b/3d/3116a9a7b63e780fb402799b6da227435be878b6846b192f076d2f838654/sqlalchemy-2.0.44-cp312-cp312-win32.whl", hash = "sha256:846541e58b9a81cce7dee8329f352c318de25aa2f2bbe1e31587eb1f057448b4", size = 2103447, upload-time = "2025-10-10T15:03:21.678Z" }, + { url = "https://files.pythonhosted.org/packages/25/83/24690e9dfc241e6ab062df82cc0df7f4231c79ba98b273fa496fb3dd78ed/sqlalchemy-2.0.44-cp312-cp312-win_amd64.whl", hash = "sha256:7cbcb47fd66ab294703e1644f78971f6f2f1126424d2b300678f419aa73c7b6e", size = 2130912, upload-time = "2025-10-10T15:03:24.656Z" }, + { url = "https://files.pythonhosted.org/packages/45/d3/c67077a2249fdb455246e6853166360054c331db4613cda3e31ab1cadbef/sqlalchemy-2.0.44-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ff486e183d151e51b1d694c7aa1695747599bb00b9f5f604092b54b74c64a8e1", size = 2135479, upload-time = "2025-10-10T16:03:37.671Z" }, + { url = "https://files.pythonhosted.org/packages/2b/91/eabd0688330d6fd114f5f12c4f89b0d02929f525e6bf7ff80aa17ca802af/sqlalchemy-2.0.44-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0b1af8392eb27b372ddb783b317dea0f650241cea5bd29199b22235299ca2e45", size = 2123212, upload-time = "2025-10-10T16:03:41.755Z" }, + { url = "https://files.pythonhosted.org/packages/b0/bb/43e246cfe0e81c018076a16036d9b548c4cc649de241fa27d8d9ca6f85ab/sqlalchemy-2.0.44-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2b61188657e3a2b9ac4e8f04d6cf8e51046e28175f79464c67f2fd35bceb0976", size = 3255353, upload-time = "2025-10-10T15:35:31.221Z" }, + { url = "https://files.pythonhosted.org/packages/b9/96/c6105ed9a880abe346b64d3b6ddef269ddfcab04f7f3d90a0bf3c5a88e82/sqlalchemy-2.0.44-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b87e7b91a5d5973dda5f00cd61ef72ad75a1db73a386b62877d4875a8840959c", size = 3260222, upload-time = "2025-10-10T15:43:50.124Z" }, + { url = "https://files.pythonhosted.org/packages/44/16/1857e35a47155b5ad927272fee81ae49d398959cb749edca6eaa399b582f/sqlalchemy-2.0.44-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:15f3326f7f0b2bfe406ee562e17f43f36e16167af99c4c0df61db668de20002d", size = 3189614, upload-time = "2025-10-10T15:35:32.578Z" }, + { url = "https://files.pythonhosted.org/packages/88/ee/4afb39a8ee4fc786e2d716c20ab87b5b1fb33d4ac4129a1aaa574ae8a585/sqlalchemy-2.0.44-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1e77faf6ff919aa8cd63f1c4e561cac1d9a454a191bb864d5dd5e545935e5a40", size = 3226248, upload-time = "2025-10-10T15:43:51.862Z" }, + { url = "https://files.pythonhosted.org/packages/32/d5/0e66097fc64fa266f29a7963296b40a80d6a997b7ac13806183700676f86/sqlalchemy-2.0.44-cp313-cp313-win32.whl", hash = "sha256:ee51625c2d51f8baadf2829fae817ad0b66b140573939dd69284d2ba3553ae73", size = 2101275, upload-time = "2025-10-10T15:03:26.096Z" }, + { url = "https://files.pythonhosted.org/packages/03/51/665617fe4f8c6450f42a6d8d69243f9420f5677395572c2fe9d21b493b7b/sqlalchemy-2.0.44-cp313-cp313-win_amd64.whl", hash = "sha256:c1c80faaee1a6c3428cecf40d16a2365bcf56c424c92c2b6f0f9ad204b899e9e", size = 2127901, upload-time = "2025-10-10T15:03:27.548Z" }, + { url = "https://files.pythonhosted.org/packages/9c/5e/6a29fa884d9fb7ddadf6b69490a9d45fded3b38541713010dad16b77d015/sqlalchemy-2.0.44-py3-none-any.whl", hash = "sha256:19de7ca1246fbef9f9d1bff8f1ab25641569df226364a0e40457dc5457c54b05", size = 1928718, upload-time = "2025-10-10T15:29:45.32Z" }, +] + +[[package]] +name = "sseclient-py" +version = "1.8.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e8/ed/3df5ab8bb0c12f86c28d0cadb11ed1de44a92ed35ce7ff4fd5518a809325/sseclient-py-1.8.0.tar.gz", hash = "sha256:c547c5c1a7633230a38dc599a21a2dc638f9b5c297286b48b46b935c71fac3e8", size = 7791, upload-time = "2023-09-01T19:39:20.45Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/49/58/97655efdfeb5b4eeab85b1fc5d3fa1023661246c2ab2a26ea8e47402d4f2/sseclient_py-1.8.0-py2.py3-none-any.whl", hash = "sha256:4ecca6dc0b9f963f8384e9d7fd529bf93dd7d708144c4fb5da0e0a1a926fee83", size = 8828, upload-time = "2023-09-01T19:39:17.627Z" }, +] + +[[package]] +name = "syrupy" +version = "5.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/2e/b0/24bca682d6a6337854be37f242d116cceeda9942571d5804c44bc1bdd427/syrupy-5.1.0.tar.gz", hash = "sha256:df543c7aa50d3cf1246e83d58fe490afe5f7dab7b41e74ecc0d8d23ae19bd4b8", size = 50495, upload-time = "2026-01-25T14:53:06.2Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/de/70/cf880c3b95a6034ef673e74b369941b42315c01f1554a5637a4f8b911009/syrupy-5.1.0-py3-none-any.whl", hash = "sha256:95162d2b05e61ed3e13f117b88dfab7c58bd6f90e66ebbf918e8a77114ad51c5", size = 51658, upload-time = "2026-01-25T14:53:05.105Z" }, +] + +[[package]] +name = "tabulate" +version = "0.9.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ec/fe/802052aecb21e3797b8f7902564ab6ea0d60ff8ca23952079064155d1ae1/tabulate-0.9.0.tar.gz", hash = "sha256:0095b12bf5966de529c0feb1fa08671671b3368eec77d7ef7ab114be2c068b3c", size = 81090, upload-time = "2022-10-06T17:21:48.54Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/40/44/4a5f08c96eb108af5cb50b41f76142f0afa346dfa99d5296fe7202a11854/tabulate-0.9.0-py3-none-any.whl", hash = "sha256:024ca478df22e9340661486f85298cff5f6dcdba14f3813e8830015b9ed1948f", size = 35252, upload-time = "2022-10-06T17:21:44.262Z" }, +] + +[[package]] +name = "tenacity" +version = "9.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0a/d4/2b0cd0fe285e14b36db076e78c93766ff1d529d70408bd1d2a5a84f1d929/tenacity-9.1.2.tar.gz", hash = "sha256:1169d376c297e7de388d18b4481760d478b0e99a777cad3a9c86e556f4b697cb", size = 48036, upload-time = "2025-04-02T08:25:09.966Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e5/30/643397144bfbfec6f6ef821f36f33e57d35946c44a2352d3c9f0ae847619/tenacity-9.1.2-py3-none-any.whl", hash = "sha256:f77bf36710d8b73a50b2dd155c97b870017ad21afe6ab300326b0371b3b05138", size = 28248, upload-time = "2025-04-02T08:25:07.678Z" }, +] + +[[package]] +name = "tiktoken" +version = "0.12.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "regex" }, + { name = "requests" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/7d/ab/4d017d0f76ec3171d469d80fc03dfbb4e48a4bcaddaa831b31d526f05edc/tiktoken-0.12.0.tar.gz", hash = "sha256:b18ba7ee2b093863978fcb14f74b3707cdc8d4d4d3836853ce7ec60772139931", size = 37806, upload-time = "2025-10-06T20:22:45.419Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/89/b3/2cb7c17b6c4cf8ca983204255d3f1d95eda7213e247e6947a0ee2c747a2c/tiktoken-0.12.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:3de02f5a491cfd179aec916eddb70331814bd6bf764075d39e21d5862e533970", size = 1051991, upload-time = "2025-10-06T20:21:34.098Z" }, + { url = "https://files.pythonhosted.org/packages/27/0f/df139f1df5f6167194ee5ab24634582ba9a1b62c6b996472b0277ec80f66/tiktoken-0.12.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b6cfb6d9b7b54d20af21a912bfe63a2727d9cfa8fbda642fd8322c70340aad16", size = 995798, upload-time = "2025-10-06T20:21:35.579Z" }, + { url = "https://files.pythonhosted.org/packages/ef/5d/26a691f28ab220d5edc09b9b787399b130f24327ef824de15e5d85ef21aa/tiktoken-0.12.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:cde24cdb1b8a08368f709124f15b36ab5524aac5fa830cc3fdce9c03d4fb8030", size = 1129865, upload-time = "2025-10-06T20:21:36.675Z" }, + { url = "https://files.pythonhosted.org/packages/b2/94/443fab3d4e5ebecac895712abd3849b8da93b7b7dec61c7db5c9c7ebe40c/tiktoken-0.12.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:6de0da39f605992649b9cfa6f84071e3f9ef2cec458d08c5feb1b6f0ff62e134", size = 1152856, upload-time = "2025-10-06T20:21:37.873Z" }, + { url = "https://files.pythonhosted.org/packages/54/35/388f941251b2521c70dd4c5958e598ea6d2c88e28445d2fb8189eecc1dfc/tiktoken-0.12.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:6faa0534e0eefbcafaccb75927a4a380463a2eaa7e26000f0173b920e98b720a", size = 1195308, upload-time = "2025-10-06T20:21:39.577Z" }, + { url = "https://files.pythonhosted.org/packages/f8/00/c6681c7f833dd410576183715a530437a9873fa910265817081f65f9105f/tiktoken-0.12.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:82991e04fc860afb933efb63957affc7ad54f83e2216fe7d319007dab1ba5892", size = 1255697, upload-time = "2025-10-06T20:21:41.154Z" }, + { url = "https://files.pythonhosted.org/packages/5f/d2/82e795a6a9bafa034bf26a58e68fe9a89eeaaa610d51dbeb22106ba04f0a/tiktoken-0.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:6fb2995b487c2e31acf0a9e17647e3b242235a20832642bb7a9d1a181c0c1bb1", size = 879375, upload-time = "2025-10-06T20:21:43.201Z" }, + { url = "https://files.pythonhosted.org/packages/de/46/21ea696b21f1d6d1efec8639c204bdf20fde8bafb351e1355c72c5d7de52/tiktoken-0.12.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:6e227c7f96925003487c33b1b32265fad2fbcec2b7cf4817afb76d416f40f6bb", size = 1051565, upload-time = "2025-10-06T20:21:44.566Z" }, + { url = "https://files.pythonhosted.org/packages/c9/d9/35c5d2d9e22bb2a5f74ba48266fb56c63d76ae6f66e02feb628671c0283e/tiktoken-0.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c06cf0fcc24c2cb2adb5e185c7082a82cba29c17575e828518c2f11a01f445aa", size = 995284, upload-time = "2025-10-06T20:21:45.622Z" }, + { url = "https://files.pythonhosted.org/packages/01/84/961106c37b8e49b9fdcf33fe007bb3a8fdcc380c528b20cc7fbba80578b8/tiktoken-0.12.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:f18f249b041851954217e9fd8e5c00b024ab2315ffda5ed77665a05fa91f42dc", size = 1129201, upload-time = "2025-10-06T20:21:47.074Z" }, + { url = "https://files.pythonhosted.org/packages/6a/d0/3d9275198e067f8b65076a68894bb52fd253875f3644f0a321a720277b8a/tiktoken-0.12.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:47a5bc270b8c3db00bb46ece01ef34ad050e364b51d406b6f9730b64ac28eded", size = 1152444, upload-time = "2025-10-06T20:21:48.139Z" }, + { url = "https://files.pythonhosted.org/packages/78/db/a58e09687c1698a7c592e1038e01c206569b86a0377828d51635561f8ebf/tiktoken-0.12.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:508fa71810c0efdcd1b898fda574889ee62852989f7c1667414736bcb2b9a4bd", size = 1195080, upload-time = "2025-10-06T20:21:49.246Z" }, + { url = "https://files.pythonhosted.org/packages/9e/1b/a9e4d2bf91d515c0f74afc526fd773a812232dd6cda33ebea7f531202325/tiktoken-0.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:a1af81a6c44f008cba48494089dd98cccb8b313f55e961a52f5b222d1e507967", size = 1255240, upload-time = "2025-10-06T20:21:50.274Z" }, + { url = "https://files.pythonhosted.org/packages/9d/15/963819345f1b1fb0809070a79e9dd96938d4ca41297367d471733e79c76c/tiktoken-0.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:3e68e3e593637b53e56f7237be560f7a394451cb8c11079755e80ae64b9e6def", size = 879422, upload-time = "2025-10-06T20:21:51.734Z" }, + { url = "https://files.pythonhosted.org/packages/a4/85/be65d39d6b647c79800fd9d29241d081d4eeb06271f383bb87200d74cf76/tiktoken-0.12.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b97f74aca0d78a1ff21b8cd9e9925714c15a9236d6ceacf5c7327c117e6e21e8", size = 1050728, upload-time = "2025-10-06T20:21:52.756Z" }, + { url = "https://files.pythonhosted.org/packages/4a/42/6573e9129bc55c9bf7300b3a35bef2c6b9117018acca0dc760ac2d93dffe/tiktoken-0.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2b90f5ad190a4bb7c3eb30c5fa32e1e182ca1ca79f05e49b448438c3e225a49b", size = 994049, upload-time = "2025-10-06T20:21:53.782Z" }, + { url = "https://files.pythonhosted.org/packages/66/c5/ed88504d2f4a5fd6856990b230b56d85a777feab84e6129af0822f5d0f70/tiktoken-0.12.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:65b26c7a780e2139e73acc193e5c63ac754021f160df919add909c1492c0fb37", size = 1129008, upload-time = "2025-10-06T20:21:54.832Z" }, + { url = "https://files.pythonhosted.org/packages/f4/90/3dae6cc5436137ebd38944d396b5849e167896fc2073da643a49f372dc4f/tiktoken-0.12.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:edde1ec917dfd21c1f2f8046b86348b0f54a2c0547f68149d8600859598769ad", size = 1152665, upload-time = "2025-10-06T20:21:56.129Z" }, + { url = "https://files.pythonhosted.org/packages/a3/fe/26df24ce53ffde419a42f5f53d755b995c9318908288c17ec3f3448313a3/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:35a2f8ddd3824608b3d650a000c1ef71f730d0c56486845705a8248da00f9fe5", size = 1194230, upload-time = "2025-10-06T20:21:57.546Z" }, + { url = "https://files.pythonhosted.org/packages/20/cc/b064cae1a0e9fac84b0d2c46b89f4e57051a5f41324e385d10225a984c24/tiktoken-0.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:83d16643edb7fa2c99eff2ab7733508aae1eebb03d5dfc46f5565862810f24e3", size = 1254688, upload-time = "2025-10-06T20:21:58.619Z" }, + { url = "https://files.pythonhosted.org/packages/81/10/b8523105c590c5b8349f2587e2fdfe51a69544bd5a76295fc20f2374f470/tiktoken-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffc5288f34a8bc02e1ea7047b8d041104791d2ddbf42d1e5fa07822cbffe16bd", size = 878694, upload-time = "2025-10-06T20:21:59.876Z" }, + { url = "https://files.pythonhosted.org/packages/00/61/441588ee21e6b5cdf59d6870f86beb9789e532ee9718c251b391b70c68d6/tiktoken-0.12.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:775c2c55de2310cc1bc9a3ad8826761cbdc87770e586fd7b6da7d4589e13dab3", size = 1050802, upload-time = "2025-10-06T20:22:00.96Z" }, + { url = "https://files.pythonhosted.org/packages/1f/05/dcf94486d5c5c8d34496abe271ac76c5b785507c8eae71b3708f1ad9b45a/tiktoken-0.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a01b12f69052fbe4b080a2cfb867c4de12c704b56178edf1d1d7b273561db160", size = 993995, upload-time = "2025-10-06T20:22:02.788Z" }, + { url = "https://files.pythonhosted.org/packages/a0/70/5163fe5359b943f8db9946b62f19be2305de8c3d78a16f629d4165e2f40e/tiktoken-0.12.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:01d99484dc93b129cd0964f9d34eee953f2737301f18b3c7257bf368d7615baa", size = 1128948, upload-time = "2025-10-06T20:22:03.814Z" }, + { url = "https://files.pythonhosted.org/packages/0c/da/c028aa0babf77315e1cef357d4d768800c5f8a6de04d0eac0f377cb619fa/tiktoken-0.12.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:4a1a4fcd021f022bfc81904a911d3df0f6543b9e7627b51411da75ff2fe7a1be", size = 1151986, upload-time = "2025-10-06T20:22:05.173Z" }, + { url = "https://files.pythonhosted.org/packages/a0/5a/886b108b766aa53e295f7216b509be95eb7d60b166049ce2c58416b25f2a/tiktoken-0.12.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:981a81e39812d57031efdc9ec59fa32b2a5a5524d20d4776574c4b4bd2e9014a", size = 1194222, upload-time = "2025-10-06T20:22:06.265Z" }, + { url = "https://files.pythonhosted.org/packages/f4/f8/4db272048397636ac7a078d22773dd2795b1becee7bc4922fe6207288d57/tiktoken-0.12.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9baf52f84a3f42eef3ff4e754a0db79a13a27921b457ca9832cf944c6be4f8f3", size = 1255097, upload-time = "2025-10-06T20:22:07.403Z" }, + { url = "https://files.pythonhosted.org/packages/8e/32/45d02e2e0ea2be3a9ed22afc47d93741247e75018aac967b713b2941f8ea/tiktoken-0.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:b8a0cd0c789a61f31bf44851defbd609e8dd1e2c8589c614cc1060940ef1f697", size = 879117, upload-time = "2025-10-06T20:22:08.418Z" }, + { url = "https://files.pythonhosted.org/packages/ce/76/994fc868f88e016e6d05b0da5ac24582a14c47893f4474c3e9744283f1d5/tiktoken-0.12.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:d5f89ea5680066b68bcb797ae85219c72916c922ef0fcdd3480c7d2315ffff16", size = 1050309, upload-time = "2025-10-06T20:22:10.939Z" }, + { url = "https://files.pythonhosted.org/packages/f6/b8/57ef1456504c43a849821920d582a738a461b76a047f352f18c0b26c6516/tiktoken-0.12.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b4e7ed1c6a7a8a60a3230965bdedba8cc58f68926b835e519341413370e0399a", size = 993712, upload-time = "2025-10-06T20:22:12.115Z" }, + { url = "https://files.pythonhosted.org/packages/72/90/13da56f664286ffbae9dbcfadcc625439142675845baa62715e49b87b68b/tiktoken-0.12.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:fc530a28591a2d74bce821d10b418b26a094bf33839e69042a6e86ddb7a7fb27", size = 1128725, upload-time = "2025-10-06T20:22:13.541Z" }, + { url = "https://files.pythonhosted.org/packages/05/df/4f80030d44682235bdaecd7346c90f67ae87ec8f3df4a3442cb53834f7e4/tiktoken-0.12.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:06a9f4f49884139013b138920a4c393aa6556b2f8f536345f11819389c703ebb", size = 1151875, upload-time = "2025-10-06T20:22:14.559Z" }, + { url = "https://files.pythonhosted.org/packages/22/1f/ae535223a8c4ef4c0c1192e3f9b82da660be9eb66b9279e95c99288e9dab/tiktoken-0.12.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:04f0e6a985d95913cabc96a741c5ffec525a2c72e9df086ff17ebe35985c800e", size = 1194451, upload-time = "2025-10-06T20:22:15.545Z" }, + { url = "https://files.pythonhosted.org/packages/78/a7/f8ead382fce0243cb625c4f266e66c27f65ae65ee9e77f59ea1653b6d730/tiktoken-0.12.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:0ee8f9ae00c41770b5f9b0bb1235474768884ae157de3beb5439ca0fd70f3e25", size = 1253794, upload-time = "2025-10-06T20:22:16.624Z" }, + { url = "https://files.pythonhosted.org/packages/93/e0/6cc82a562bc6365785a3ff0af27a2a092d57c47d7a81d9e2295d8c36f011/tiktoken-0.12.0-cp313-cp313t-win_amd64.whl", hash = "sha256:dc2dd125a62cb2b3d858484d6c614d136b5b848976794edfb63688d539b8b93f", size = 878777, upload-time = "2025-10-06T20:22:18.036Z" }, + { url = "https://files.pythonhosted.org/packages/72/05/3abc1db5d2c9aadc4d2c76fa5640134e475e58d9fbb82b5c535dc0de9b01/tiktoken-0.12.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:a90388128df3b3abeb2bfd1895b0681412a8d7dc644142519e6f0a97c2111646", size = 1050188, upload-time = "2025-10-06T20:22:19.563Z" }, + { url = "https://files.pythonhosted.org/packages/e3/7b/50c2f060412202d6c95f32b20755c7a6273543b125c0985d6fa9465105af/tiktoken-0.12.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:da900aa0ad52247d8794e307d6446bd3cdea8e192769b56276695d34d2c9aa88", size = 993978, upload-time = "2025-10-06T20:22:20.702Z" }, + { url = "https://files.pythonhosted.org/packages/14/27/bf795595a2b897e271771cd31cb847d479073497344c637966bdf2853da1/tiktoken-0.12.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:285ba9d73ea0d6171e7f9407039a290ca77efcdb026be7769dccc01d2c8d7fff", size = 1129271, upload-time = "2025-10-06T20:22:22.06Z" }, + { url = "https://files.pythonhosted.org/packages/f5/de/9341a6d7a8f1b448573bbf3425fa57669ac58258a667eb48a25dfe916d70/tiktoken-0.12.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:d186a5c60c6a0213f04a7a802264083dea1bbde92a2d4c7069e1a56630aef830", size = 1151216, upload-time = "2025-10-06T20:22:23.085Z" }, + { url = "https://files.pythonhosted.org/packages/75/0d/881866647b8d1be4d67cb24e50d0c26f9f807f994aa1510cb9ba2fe5f612/tiktoken-0.12.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:604831189bd05480f2b885ecd2d1986dc7686f609de48208ebbbddeea071fc0b", size = 1194860, upload-time = "2025-10-06T20:22:24.602Z" }, + { url = "https://files.pythonhosted.org/packages/b3/1e/b651ec3059474dab649b8d5b69f5c65cd8fcd8918568c1935bd4136c9392/tiktoken-0.12.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8f317e8530bb3a222547b85a58583238c8f74fd7a7408305f9f63246d1a0958b", size = 1254567, upload-time = "2025-10-06T20:22:25.671Z" }, + { url = "https://files.pythonhosted.org/packages/80/57/ce64fd16ac390fafde001268c364d559447ba09b509181b2808622420eec/tiktoken-0.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:399c3dd672a6406719d84442299a490420b458c44d3ae65516302a99675888f3", size = 921067, upload-time = "2025-10-06T20:22:26.753Z" }, + { url = "https://files.pythonhosted.org/packages/ac/a4/72eed53e8976a099539cdd5eb36f241987212c29629d0a52c305173e0a68/tiktoken-0.12.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c2c714c72bc00a38ca969dae79e8266ddec999c7ceccd603cc4f0d04ccd76365", size = 1050473, upload-time = "2025-10-06T20:22:27.775Z" }, + { url = "https://files.pythonhosted.org/packages/e6/d7/0110b8f54c008466b19672c615f2168896b83706a6611ba6e47313dbc6e9/tiktoken-0.12.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:cbb9a3ba275165a2cb0f9a83f5d7025afe6b9d0ab01a22b50f0e74fee2ad253e", size = 993855, upload-time = "2025-10-06T20:22:28.799Z" }, + { url = "https://files.pythonhosted.org/packages/5f/77/4f268c41a3957c418b084dd576ea2fad2e95da0d8e1ab705372892c2ca22/tiktoken-0.12.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:dfdfaa5ffff8993a3af94d1125870b1d27aed7cb97aa7eb8c1cefdbc87dbee63", size = 1129022, upload-time = "2025-10-06T20:22:29.981Z" }, + { url = "https://files.pythonhosted.org/packages/4e/2b/fc46c90fe5028bd094cd6ee25a7db321cb91d45dc87531e2bdbb26b4867a/tiktoken-0.12.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:584c3ad3d0c74f5269906eb8a659c8bfc6144a52895d9261cdaf90a0ae5f4de0", size = 1150736, upload-time = "2025-10-06T20:22:30.996Z" }, + { url = "https://files.pythonhosted.org/packages/28/c0/3c7a39ff68022ddfd7d93f3337ad90389a342f761c4d71de99a3ccc57857/tiktoken-0.12.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:54c891b416a0e36b8e2045b12b33dd66fb34a4fe7965565f1b482da50da3e86a", size = 1194908, upload-time = "2025-10-06T20:22:32.073Z" }, + { url = "https://files.pythonhosted.org/packages/ab/0d/c1ad6f4016a3968c048545f5d9b8ffebf577774b2ede3e2e352553b685fe/tiktoken-0.12.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5edb8743b88d5be814b1a8a8854494719080c28faaa1ccbef02e87354fe71ef0", size = 1253706, upload-time = "2025-10-06T20:22:33.385Z" }, + { url = "https://files.pythonhosted.org/packages/af/df/c7891ef9d2712ad774777271d39fdef63941ffba0a9d59b7ad1fd2765e57/tiktoken-0.12.0-cp314-cp314t-win_amd64.whl", hash = "sha256:f61c0aea5565ac82e2ec50a05e02a6c44734e91b51c10510b084ea1b8e633a71", size = 920667, upload-time = "2025-10-06T20:22:34.444Z" }, +] + +[[package]] +name = "together" +version = "0.2.11" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "aiohttp" }, + { name = "pydantic" }, + { name = "requests" }, + { name = "sseclient-py" }, + { name = "tabulate" }, + { name = "tqdm" }, + { name = "typer" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/36/8f/ca74863a4591b359100470974b2f4f2c2221ce764bae0fe9b36f80dc38fe/together-0.2.11.tar.gz", hash = "sha256:906ae626b0ec49f7ea90d5660fb4c28664a1f55719f998e868d035f417316e24", size = 41518, upload-time = "2024-01-20T01:13:10.575Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/9c/ff58694ce629171db4563ec0a8c274a1c6b2804526c8ed204d3e61912498/together-0.2.11-py3-none-any.whl", hash = "sha256:0760aafe1b53cf41cb58592086a2b5edef956a2536b52daecfc2f9ef0fc736d5", size = 43800, upload-time = "2024-01-20T01:13:08.505Z" }, +] + +[[package]] +name = "tokenizers" +version = "0.22.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "huggingface-hub" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1c/46/fb6854cec3278fbfa4a75b50232c77622bc517ac886156e6afbfa4d8fc6e/tokenizers-0.22.1.tar.gz", hash = "sha256:61de6522785310a309b3407bac22d99c4db5dba349935e99e4d15ea2226af2d9", size = 363123, upload-time = "2025-09-19T09:49:23.424Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/bf/33/f4b2d94ada7ab297328fc671fed209368ddb82f965ec2224eb1892674c3a/tokenizers-0.22.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:59fdb013df17455e5f950b4b834a7b3ee2e0271e6378ccb33aa74d178b513c73", size = 3069318, upload-time = "2025-09-19T09:49:11.848Z" }, + { url = "https://files.pythonhosted.org/packages/1c/58/2aa8c874d02b974990e89ff95826a4852a8b2a273c7d1b4411cdd45a4565/tokenizers-0.22.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:8d4e484f7b0827021ac5f9f71d4794aaef62b979ab7608593da22b1d2e3c4edc", size = 2926478, upload-time = "2025-09-19T09:49:09.759Z" }, + { url = "https://files.pythonhosted.org/packages/1e/3b/55e64befa1e7bfea963cf4b787b2cea1011362c4193f5477047532ce127e/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:19d2962dd28bc67c1f205ab180578a78eef89ac60ca7ef7cbe9635a46a56422a", size = 3256994, upload-time = "2025-09-19T09:48:56.701Z" }, + { url = "https://files.pythonhosted.org/packages/71/0b/fbfecf42f67d9b7b80fde4aabb2b3110a97fac6585c9470b5bff103a80cb/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:38201f15cdb1f8a6843e6563e6e79f4abd053394992b9bbdf5213ea3469b4ae7", size = 3153141, upload-time = "2025-09-19T09:48:59.749Z" }, + { url = "https://files.pythonhosted.org/packages/17/a9/b38f4e74e0817af8f8ef925507c63c6ae8171e3c4cb2d5d4624bf58fca69/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d1cbe5454c9a15df1b3443c726063d930c16f047a3cc724b9e6e1a91140e5a21", size = 3508049, upload-time = "2025-09-19T09:49:05.868Z" }, + { url = "https://files.pythonhosted.org/packages/d2/48/dd2b3dac46bb9134a88e35d72e1aa4869579eacc1a27238f1577270773ff/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e7d094ae6312d69cc2a872b54b91b309f4f6fbce871ef28eb27b52a98e4d0214", size = 3710730, upload-time = "2025-09-19T09:49:01.832Z" }, + { url = "https://files.pythonhosted.org/packages/93/0e/ccabc8d16ae4ba84a55d41345207c1e2ea88784651a5a487547d80851398/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:afd7594a56656ace95cdd6df4cca2e4059d294c5cfb1679c57824b605556cb2f", size = 3412560, upload-time = "2025-09-19T09:49:03.867Z" }, + { url = "https://files.pythonhosted.org/packages/d0/c6/dc3a0db5a6766416c32c034286d7c2d406da1f498e4de04ab1b8959edd00/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2ef6063d7a84994129732b47e7915e8710f27f99f3a3260b8a38fc7ccd083f4", size = 3250221, upload-time = "2025-09-19T09:49:07.664Z" }, + { url = "https://files.pythonhosted.org/packages/d7/a6/2c8486eef79671601ff57b093889a345dd3d576713ef047776015dc66de7/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ba0a64f450b9ef412c98f6bcd2a50c6df6e2443b560024a09fa6a03189726879", size = 9345569, upload-time = "2025-09-19T09:49:14.214Z" }, + { url = "https://files.pythonhosted.org/packages/6b/16/32ce667f14c35537f5f605fe9bea3e415ea1b0a646389d2295ec348d5657/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:331d6d149fa9c7d632cde4490fb8bbb12337fa3a0232e77892be656464f4b446", size = 9271599, upload-time = "2025-09-19T09:49:16.639Z" }, + { url = "https://files.pythonhosted.org/packages/51/7c/a5f7898a3f6baa3fc2685c705e04c98c1094c523051c805cdd9306b8f87e/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:607989f2ea68a46cb1dfbaf3e3aabdf3f21d8748312dbeb6263d1b3b66c5010a", size = 9533862, upload-time = "2025-09-19T09:49:19.146Z" }, + { url = "https://files.pythonhosted.org/packages/36/65/7e75caea90bc73c1dd8d40438adf1a7bc26af3b8d0a6705ea190462506e1/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a0f307d490295717726598ef6fa4f24af9d484809223bbc253b201c740a06390", size = 9681250, upload-time = "2025-09-19T09:49:21.501Z" }, + { url = "https://files.pythonhosted.org/packages/30/2c/959dddef581b46e6209da82df3b78471e96260e2bc463f89d23b1bf0e52a/tokenizers-0.22.1-cp39-abi3-win32.whl", hash = "sha256:b5120eed1442765cd90b903bb6cfef781fd8fe64e34ccaecbae4c619b7b12a82", size = 2472003, upload-time = "2025-09-19T09:49:27.089Z" }, + { url = "https://files.pythonhosted.org/packages/b3/46/e33a8c93907b631a99377ef4c5f817ab453d0b34f93529421f42ff559671/tokenizers-0.22.1-cp39-abi3-win_amd64.whl", hash = "sha256:65fd6e3fb11ca1e78a6a93602490f134d1fdeb13bcef99389d5102ea318ed138", size = 2674684, upload-time = "2025-09-19T09:49:24.953Z" }, +] + +[[package]] +name = "toml" +version = "0.10.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f", size = 22253, upload-time = "2020-11-01T01:40:22.204Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", size = 16588, upload-time = "2020-11-01T01:40:20.672Z" }, +] + +[[package]] +name = "tomli" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/52/ed/3f73f72945444548f33eba9a87fc7a6e969915e7b1acc8260b30e1f76a2f/tomli-2.3.0.tar.gz", hash = "sha256:64be704a875d2a59753d80ee8a533c3fe183e3f06807ff7dc2232938ccb01549", size = 17392, upload-time = "2025-10-08T22:01:47.119Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b3/2e/299f62b401438d5fe1624119c723f5d877acc86a4c2492da405626665f12/tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45", size = 153236, upload-time = "2025-10-08T22:01:00.137Z" }, + { url = "https://files.pythonhosted.org/packages/86/7f/d8fffe6a7aefdb61bced88fcb5e280cfd71e08939da5894161bd71bea022/tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba", size = 148084, upload-time = "2025-10-08T22:01:01.63Z" }, + { url = "https://files.pythonhosted.org/packages/47/5c/24935fb6a2ee63e86d80e4d3b58b222dafaf438c416752c8b58537c8b89a/tomli-2.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d1381caf13ab9f300e30dd8feadb3de072aeb86f1d34a8569453ff32a7dea4bf", size = 234832, upload-time = "2025-10-08T22:01:02.543Z" }, + { url = "https://files.pythonhosted.org/packages/89/da/75dfd804fc11e6612846758a23f13271b76d577e299592b4371a4ca4cd09/tomli-2.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a0e285d2649b78c0d9027570d4da3425bdb49830a6156121360b3f8511ea3441", size = 242052, upload-time = "2025-10-08T22:01:03.836Z" }, + { url = "https://files.pythonhosted.org/packages/70/8c/f48ac899f7b3ca7eb13af73bacbc93aec37f9c954df3c08ad96991c8c373/tomli-2.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0a154a9ae14bfcf5d8917a59b51ffd5a3ac1fd149b71b47a3a104ca4edcfa845", size = 239555, upload-time = "2025-10-08T22:01:04.834Z" }, + { url = "https://files.pythonhosted.org/packages/ba/28/72f8afd73f1d0e7829bfc093f4cb98ce0a40ffc0cc997009ee1ed94ba705/tomli-2.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:74bf8464ff93e413514fefd2be591c3b0b23231a77f901db1eb30d6f712fc42c", size = 245128, upload-time = "2025-10-08T22:01:05.84Z" }, + { url = "https://files.pythonhosted.org/packages/b6/eb/a7679c8ac85208706d27436e8d421dfa39d4c914dcf5fa8083a9305f58d9/tomli-2.3.0-cp311-cp311-win32.whl", hash = "sha256:00b5f5d95bbfc7d12f91ad8c593a1659b6387b43f054104cda404be6bda62456", size = 96445, upload-time = "2025-10-08T22:01:06.896Z" }, + { url = "https://files.pythonhosted.org/packages/0a/fe/3d3420c4cb1ad9cb462fb52967080575f15898da97e21cb6f1361d505383/tomli-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:4dc4ce8483a5d429ab602f111a93a6ab1ed425eae3122032db7e9acf449451be", size = 107165, upload-time = "2025-10-08T22:01:08.107Z" }, + { url = "https://files.pythonhosted.org/packages/ff/b7/40f36368fcabc518bb11c8f06379a0fd631985046c038aca08c6d6a43c6e/tomli-2.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d7d86942e56ded512a594786a5ba0a5e521d02529b3826e7761a05138341a2ac", size = 154891, upload-time = "2025-10-08T22:01:09.082Z" }, + { url = "https://files.pythonhosted.org/packages/f9/3f/d9dd692199e3b3aab2e4e4dd948abd0f790d9ded8cd10cbaae276a898434/tomli-2.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:73ee0b47d4dad1c5e996e3cd33b8a76a50167ae5f96a2607cbe8cc773506ab22", size = 148796, upload-time = "2025-10-08T22:01:10.266Z" }, + { url = "https://files.pythonhosted.org/packages/60/83/59bff4996c2cf9f9387a0f5a3394629c7efa5ef16142076a23a90f1955fa/tomli-2.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:792262b94d5d0a466afb5bc63c7daa9d75520110971ee269152083270998316f", size = 242121, upload-time = "2025-10-08T22:01:11.332Z" }, + { url = "https://files.pythonhosted.org/packages/45/e5/7c5119ff39de8693d6baab6c0b6dcb556d192c165596e9fc231ea1052041/tomli-2.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f195fe57ecceac95a66a75ac24d9d5fbc98ef0962e09b2eddec5d39375aae52", size = 250070, upload-time = "2025-10-08T22:01:12.498Z" }, + { url = "https://files.pythonhosted.org/packages/45/12/ad5126d3a278f27e6701abde51d342aa78d06e27ce2bb596a01f7709a5a2/tomli-2.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e31d432427dcbf4d86958c184b9bfd1e96b5b71f8eb17e6d02531f434fd335b8", size = 245859, upload-time = "2025-10-08T22:01:13.551Z" }, + { url = "https://files.pythonhosted.org/packages/fb/a1/4d6865da6a71c603cfe6ad0e6556c73c76548557a8d658f9e3b142df245f/tomli-2.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7b0882799624980785240ab732537fcfc372601015c00f7fc367c55308c186f6", size = 250296, upload-time = "2025-10-08T22:01:14.614Z" }, + { url = "https://files.pythonhosted.org/packages/a0/b7/a7a7042715d55c9ba6e8b196d65d2cb662578b4d8cd17d882d45322b0d78/tomli-2.3.0-cp312-cp312-win32.whl", hash = "sha256:ff72b71b5d10d22ecb084d345fc26f42b5143c5533db5e2eaba7d2d335358876", size = 97124, upload-time = "2025-10-08T22:01:15.629Z" }, + { url = "https://files.pythonhosted.org/packages/06/1e/f22f100db15a68b520664eb3328fb0ae4e90530887928558112c8d1f4515/tomli-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:1cb4ed918939151a03f33d4242ccd0aa5f11b3547d0cf30f7c74a408a5b99878", size = 107698, upload-time = "2025-10-08T22:01:16.51Z" }, + { url = "https://files.pythonhosted.org/packages/89/48/06ee6eabe4fdd9ecd48bf488f4ac783844fd777f547b8d1b61c11939974e/tomli-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5192f562738228945d7b13d4930baffda67b69425a7f0da96d360b0a3888136b", size = 154819, upload-time = "2025-10-08T22:01:17.964Z" }, + { url = "https://files.pythonhosted.org/packages/f1/01/88793757d54d8937015c75dcdfb673c65471945f6be98e6a0410fba167ed/tomli-2.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:be71c93a63d738597996be9528f4abe628d1adf5e6eb11607bc8fe1a510b5dae", size = 148766, upload-time = "2025-10-08T22:01:18.959Z" }, + { url = "https://files.pythonhosted.org/packages/42/17/5e2c956f0144b812e7e107f94f1cc54af734eb17b5191c0bbfb72de5e93e/tomli-2.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4665508bcbac83a31ff8ab08f424b665200c0e1e645d2bd9ab3d3e557b6185b", size = 240771, upload-time = "2025-10-08T22:01:20.106Z" }, + { url = "https://files.pythonhosted.org/packages/d5/f4/0fbd014909748706c01d16824eadb0307115f9562a15cbb012cd9b3512c5/tomli-2.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4021923f97266babc6ccab9f5068642a0095faa0a51a246a6a02fccbb3514eaf", size = 248586, upload-time = "2025-10-08T22:01:21.164Z" }, + { url = "https://files.pythonhosted.org/packages/30/77/fed85e114bde5e81ecf9bc5da0cc69f2914b38f4708c80ae67d0c10180c5/tomli-2.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4ea38c40145a357d513bffad0ed869f13c1773716cf71ccaa83b0fa0cc4e42f", size = 244792, upload-time = "2025-10-08T22:01:22.417Z" }, + { url = "https://files.pythonhosted.org/packages/55/92/afed3d497f7c186dc71e6ee6d4fcb0acfa5f7d0a1a2878f8beae379ae0cc/tomli-2.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ad805ea85eda330dbad64c7ea7a4556259665bdf9d2672f5dccc740eb9d3ca05", size = 248909, upload-time = "2025-10-08T22:01:23.859Z" }, + { url = "https://files.pythonhosted.org/packages/f8/84/ef50c51b5a9472e7265ce1ffc7f24cd4023d289e109f669bdb1553f6a7c2/tomli-2.3.0-cp313-cp313-win32.whl", hash = "sha256:97d5eec30149fd3294270e889b4234023f2c69747e555a27bd708828353ab606", size = 96946, upload-time = "2025-10-08T22:01:24.893Z" }, + { url = "https://files.pythonhosted.org/packages/b2/b7/718cd1da0884f281f95ccfa3a6cc572d30053cba64603f79d431d3c9b61b/tomli-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0c95ca56fbe89e065c6ead5b593ee64b84a26fca063b5d71a1122bf26e533999", size = 107705, upload-time = "2025-10-08T22:01:26.153Z" }, + { url = "https://files.pythonhosted.org/packages/19/94/aeafa14a52e16163008060506fcb6aa1949d13548d13752171a755c65611/tomli-2.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:cebc6fe843e0733ee827a282aca4999b596241195f43b4cc371d64fc6639da9e", size = 154244, upload-time = "2025-10-08T22:01:27.06Z" }, + { url = "https://files.pythonhosted.org/packages/db/e4/1e58409aa78eefa47ccd19779fc6f36787edbe7d4cd330eeeedb33a4515b/tomli-2.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4c2ef0244c75aba9355561272009d934953817c49f47d768070c3c94355c2aa3", size = 148637, upload-time = "2025-10-08T22:01:28.059Z" }, + { url = "https://files.pythonhosted.org/packages/26/b6/d1eccb62f665e44359226811064596dd6a366ea1f985839c566cd61525ae/tomli-2.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c22a8bf253bacc0cf11f35ad9808b6cb75ada2631c2d97c971122583b129afbc", size = 241925, upload-time = "2025-10-08T22:01:29.066Z" }, + { url = "https://files.pythonhosted.org/packages/70/91/7cdab9a03e6d3d2bb11beae108da5bdc1c34bdeb06e21163482544ddcc90/tomli-2.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0eea8cc5c5e9f89c9b90c4896a8deefc74f518db5927d0e0e8d4a80953d774d0", size = 249045, upload-time = "2025-10-08T22:01:31.98Z" }, + { url = "https://files.pythonhosted.org/packages/15/1b/8c26874ed1f6e4f1fcfeb868db8a794cbe9f227299402db58cfcc858766c/tomli-2.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b74a0e59ec5d15127acdabd75ea17726ac4c5178ae51b85bfe39c4f8a278e879", size = 245835, upload-time = "2025-10-08T22:01:32.989Z" }, + { url = "https://files.pythonhosted.org/packages/fd/42/8e3c6a9a4b1a1360c1a2a39f0b972cef2cc9ebd56025168c4137192a9321/tomli-2.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b5870b50c9db823c595983571d1296a6ff3e1b88f734a4c8f6fc6188397de005", size = 253109, upload-time = "2025-10-08T22:01:34.052Z" }, + { url = "https://files.pythonhosted.org/packages/22/0c/b4da635000a71b5f80130937eeac12e686eefb376b8dee113b4a582bba42/tomli-2.3.0-cp314-cp314-win32.whl", hash = "sha256:feb0dacc61170ed7ab602d3d972a58f14ee3ee60494292d384649a3dc38ef463", size = 97930, upload-time = "2025-10-08T22:01:35.082Z" }, + { url = "https://files.pythonhosted.org/packages/b9/74/cb1abc870a418ae99cd5c9547d6bce30701a954e0e721821df483ef7223c/tomli-2.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:b273fcbd7fc64dc3600c098e39136522650c49bca95df2d11cf3b626422392c8", size = 107964, upload-time = "2025-10-08T22:01:36.057Z" }, + { url = "https://files.pythonhosted.org/packages/54/78/5c46fff6432a712af9f792944f4fcd7067d8823157949f4e40c56b8b3c83/tomli-2.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:940d56ee0410fa17ee1f12b817b37a4d4e4dc4d27340863cc67236c74f582e77", size = 163065, upload-time = "2025-10-08T22:01:37.27Z" }, + { url = "https://files.pythonhosted.org/packages/39/67/f85d9bd23182f45eca8939cd2bc7050e1f90c41f4a2ecbbd5963a1d1c486/tomli-2.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f85209946d1fe94416debbb88d00eb92ce9cd5266775424ff81bc959e001acaf", size = 159088, upload-time = "2025-10-08T22:01:38.235Z" }, + { url = "https://files.pythonhosted.org/packages/26/5a/4b546a0405b9cc0659b399f12b6adb750757baf04250b148d3c5059fc4eb/tomli-2.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a56212bdcce682e56b0aaf79e869ba5d15a6163f88d5451cbde388d48b13f530", size = 268193, upload-time = "2025-10-08T22:01:39.712Z" }, + { url = "https://files.pythonhosted.org/packages/42/4f/2c12a72ae22cf7b59a7fe75b3465b7aba40ea9145d026ba41cb382075b0e/tomli-2.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c5f3ffd1e098dfc032d4d3af5c0ac64f6d286d98bc148698356847b80fa4de1b", size = 275488, upload-time = "2025-10-08T22:01:40.773Z" }, + { url = "https://files.pythonhosted.org/packages/92/04/a038d65dbe160c3aa5a624e93ad98111090f6804027d474ba9c37c8ae186/tomli-2.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:5e01decd096b1530d97d5d85cb4dff4af2d8347bd35686654a004f8dea20fc67", size = 272669, upload-time = "2025-10-08T22:01:41.824Z" }, + { url = "https://files.pythonhosted.org/packages/be/2f/8b7c60a9d1612a7cbc39ffcca4f21a73bf368a80fc25bccf8253e2563267/tomli-2.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8a35dd0e643bb2610f156cca8db95d213a90015c11fee76c946aa62b7ae7e02f", size = 279709, upload-time = "2025-10-08T22:01:43.177Z" }, + { url = "https://files.pythonhosted.org/packages/7e/46/cc36c679f09f27ded940281c38607716c86cf8ba4a518d524e349c8b4874/tomli-2.3.0-cp314-cp314t-win32.whl", hash = "sha256:a1f7f282fe248311650081faafa5f4732bdbfef5d45fe3f2e702fbc6f2d496e0", size = 107563, upload-time = "2025-10-08T22:01:44.233Z" }, + { url = "https://files.pythonhosted.org/packages/84/ff/426ca8683cf7b753614480484f6437f568fd2fda2edbdf57a2d3d8b27a0b/tomli-2.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:70a251f8d4ba2d9ac2542eecf008b3c8a9fc5c3f9f02c56a9d7952612be2fdba", size = 119756, upload-time = "2025-10-08T22:01:45.234Z" }, + { url = "https://files.pythonhosted.org/packages/77/b8/0135fadc89e73be292b473cb820b4f5a08197779206b33191e801feeae40/tomli-2.3.0-py3-none-any.whl", hash = "sha256:e95b1af3c5b07d9e643909b5abbec77cd9f1217e6d0bca72b0234736b9fb1f1b", size = 14408, upload-time = "2025-10-08T22:01:46.04Z" }, +] + +[[package]] +name = "tqdm" +version = "4.67.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a8/4b/29b4ef32e036bb34e4ab51796dd745cdba7ed47ad142a9f4a1eb8e0c744d/tqdm-4.67.1.tar.gz", hash = "sha256:f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2", size = 169737, upload-time = "2024-11-24T20:12:22.481Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d0/30/dc54f88dd4a2b5dc8a0279bdd7270e735851848b762aeb1c1184ed1f6b14/tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2", size = 78540, upload-time = "2024-11-24T20:12:19.698Z" }, +] + +[[package]] +name = "typer" +version = "0.9.4" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e9/7d/b1e0399aa5e27071f0042784681d28417f3e526c61f62c8e3635ee5ad334/typer-0.9.4.tar.gz", hash = "sha256:f714c2d90afae3a7929fcd72a3abb08df305e1ff61719381384211c4070af57f", size = 276061, upload-time = "2024-03-23T17:07:55.568Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/62/39/82c9d3e10979851847361d922a373bdfef4091020da7f893acfaf07c0225/typer-0.9.4-py3-none-any.whl", hash = "sha256:aa6c4a4e2329d868b80ecbaf16f807f2b54e192209d7ac9dd42691d63f7a54eb", size = 45973, upload-time = "2024-03-23T17:07:53.985Z" }, +] + +[[package]] +name = "types-requests" +version = "2.31.0.6" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "types-urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f9/b8/c1e8d39996b4929b918aba10dba5de07a8b3f4c8487bb61bb79882544e69/types-requests-2.31.0.6.tar.gz", hash = "sha256:cd74ce3b53c461f1228a9b783929ac73a666658f223e28ed29753771477b3bd0", size = 15535, upload-time = "2023-09-27T06:19:38.443Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/5c/a1/6f8dc74d9069e790d604ddae70cb46dcbac668f1bb08136e7b0f2f5cd3bf/types_requests-2.31.0.6-py3-none-any.whl", hash = "sha256:a2db9cb228a81da8348b49ad6db3f5519452dd20a9c1e1a868c83c5fe88fd1a9", size = 14516, upload-time = "2023-09-27T06:19:36.373Z" }, +] + +[[package]] +name = "types-toml" +version = "0.10.8.20240310" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/86/47/3e4c75042792bff8e90d7991aa5c51812cc668828cc6cce711e97f63a607/types-toml-0.10.8.20240310.tar.gz", hash = "sha256:3d41501302972436a6b8b239c850b26689657e25281b48ff0ec06345b8830331", size = 4392, upload-time = "2024-03-10T02:18:37.518Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/da/a2/d32ab58c0b216912638b140ab2170ee4b8644067c293b170e19fba340ccc/types_toml-0.10.8.20240310-py3-none-any.whl", hash = "sha256:627b47775d25fa29977d9c70dc0cbab3f314f32c8d8d0c012f2ef5de7aaec05d", size = 4777, upload-time = "2024-03-10T02:18:36.568Z" }, +] + +[[package]] +name = "types-urllib3" +version = "1.26.25.14" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/73/de/b9d7a68ad39092368fb21dd6194b362b98a1daeea5dcfef5e1adb5031c7e/types-urllib3-1.26.25.14.tar.gz", hash = "sha256:229b7f577c951b8c1b92c1bc2b2fdb0b49847bd2af6d1cc2a2e3dd340f3bda8f", size = 11239, upload-time = "2023-07-20T15:19:31.307Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/11/7b/3fc711b2efea5e85a7a0bbfe269ea944aa767bbba5ec52f9ee45d362ccf3/types_urllib3-1.26.25.14-py3-none-any.whl", hash = "sha256:9683bbb7fb72e32bfe9d2be6e04875fbe1b3eeec3cbb4ea231435aa7fd6b4f0e", size = 15377, upload-time = "2023-07-20T15:19:30.379Z" }, +] + +[[package]] +name = "typing-extensions" +version = "4.15.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" }, +] + +[[package]] +name = "typing-inspect" +version = "0.9.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "mypy-extensions" }, + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/dc/74/1789779d91f1961fa9438e9a8710cdae6bd138c80d7303996933d117264a/typing_inspect-0.9.0.tar.gz", hash = "sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78", size = 13825, upload-time = "2023-05-24T20:25:47.612Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/65/f3/107a22063bf27bdccf2024833d3445f4eea42b2e598abfbd46f6a63b6cb0/typing_inspect-0.9.0-py3-none-any.whl", hash = "sha256:9ee6fc59062311ef8547596ab6b955e1b8aa46242d854bfc78f4f6b0eff35f9f", size = 8827, upload-time = "2023-05-24T20:25:45.287Z" }, +] + +[[package]] +name = "typing-inspection" +version = "0.4.2" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "typing-extensions" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" }, +] + +[[package]] +name = "urllib3" +version = "2.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, +] + +[[package]] +name = "uuid-utils" +version = "0.12.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/0b/0e/512fb221e4970c2f75ca9dae412d320b7d9ddc9f2b15e04ea8e44710396c/uuid_utils-0.12.0.tar.gz", hash = "sha256:252bd3d311b5d6b7f5dfce7a5857e27bb4458f222586bb439463231e5a9cbd64", size = 20889, upload-time = "2025-12-01T17:29:55.494Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8a/43/de5cd49a57b6293b911b6a9a62fc03e55db9f964da7d5882d9edbee1e9d2/uuid_utils-0.12.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:3b9b30707659292f207b98f294b0e081f6d77e1fbc760ba5b41331a39045f514", size = 603197, upload-time = "2025-12-01T17:29:30.104Z" }, + { url = "https://files.pythonhosted.org/packages/02/fa/5fd1d8c9234e44f0c223910808cde0de43bb69f7df1349e49b1afa7f2baa/uuid_utils-0.12.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:add3d820c7ec14ed37317375bea30249699c5d08ff4ae4dbee9fc9bce3bfbf65", size = 305168, upload-time = "2025-12-01T17:29:31.384Z" }, + { url = "https://files.pythonhosted.org/packages/c8/c6/8633ac9942bf9dc97a897b5154e5dcffa58816ec4dd780b3b12b559ff05c/uuid_utils-0.12.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1b8fce83ecb3b16af29c7809669056c4b6e7cc912cab8c6d07361645de12dd79", size = 340580, upload-time = "2025-12-01T17:29:32.362Z" }, + { url = "https://files.pythonhosted.org/packages/f3/88/8a61307b04b4da1c576373003e6d857a04dade52ab035151d62cb84d5cb5/uuid_utils-0.12.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ec921769afcb905035d785582b0791d02304a7850fbd6ce924c1a8976380dfc6", size = 346771, upload-time = "2025-12-01T17:29:33.708Z" }, + { url = "https://files.pythonhosted.org/packages/1c/fb/aab2dcf94b991e62aa167457c7825b9b01055b884b888af926562864398c/uuid_utils-0.12.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6f3b060330f5899a92d5c723547dc6a95adef42433e9748f14c66859a7396664", size = 474781, upload-time = "2025-12-01T17:29:35.237Z" }, + { url = "https://files.pythonhosted.org/packages/5a/7a/dbd5e49c91d6c86dba57158bbfa0e559e1ddf377bb46dcfd58aea4f0d567/uuid_utils-0.12.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:908dfef7f0bfcf98d406e5dc570c25d2f2473e49b376de41792b6e96c1d5d291", size = 343685, upload-time = "2025-12-01T17:29:36.677Z" }, + { url = "https://files.pythonhosted.org/packages/1a/19/8c4b1d9f450159733b8be421a4e1fb03533709b80ed3546800102d085572/uuid_utils-0.12.0-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4c6a24148926bd0ca63e8a2dabf4cc9dc329a62325b3ad6578ecd60fbf926506", size = 366482, upload-time = "2025-12-01T17:29:37.979Z" }, + { url = "https://files.pythonhosted.org/packages/82/43/c79a6e45687647f80a159c8ba34346f287b065452cc419d07d2212d38420/uuid_utils-0.12.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:64a91e632669f059ef605f1771d28490b1d310c26198e46f754e8846dddf12f4", size = 523132, upload-time = "2025-12-01T17:29:39.293Z" }, + { url = "https://files.pythonhosted.org/packages/5a/a2/b2d75a621260a40c438aa88593827dfea596d18316520a99e839f7a5fb9d/uuid_utils-0.12.0-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:93c082212470bb4603ca3975916c205a9d7ef1443c0acde8fbd1e0f5b36673c7", size = 614218, upload-time = "2025-12-01T17:29:40.315Z" }, + { url = "https://files.pythonhosted.org/packages/13/6b/ba071101626edd5a6dabf8525c9a1537ff3d885dbc210540574a03901fef/uuid_utils-0.12.0-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:431b1fb7283ba974811b22abd365f2726f8f821ab33f0f715be389640e18d039", size = 546241, upload-time = "2025-12-01T17:29:41.656Z" }, + { url = "https://files.pythonhosted.org/packages/01/12/9a942b81c0923268e6d85bf98d8f0a61fcbcd5e432fef94fdf4ce2ef8748/uuid_utils-0.12.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:2ffd7838c40149100299fa37cbd8bab5ee382372e8e65a148002a37d380df7c8", size = 511842, upload-time = "2025-12-01T17:29:43.107Z" }, + { url = "https://files.pythonhosted.org/packages/a9/a7/c326f5163dd48b79368b87d8a05f5da4668dd228a3f5ca9d79d5fee2fc40/uuid_utils-0.12.0-cp39-abi3-win32.whl", hash = "sha256:487f17c0fee6cbc1d8b90fe811874174a9b1b5683bf2251549e302906a50fed3", size = 179088, upload-time = "2025-12-01T17:29:44.492Z" }, + { url = "https://files.pythonhosted.org/packages/38/92/41c8734dd97213ee1d5ae435cf4499705dc4f2751e3b957fd12376f61784/uuid_utils-0.12.0-cp39-abi3-win_amd64.whl", hash = "sha256:9598e7c9da40357ae8fffc5d6938b1a7017f09a1acbcc95e14af8c65d48c655a", size = 183003, upload-time = "2025-12-01T17:29:45.47Z" }, + { url = "https://files.pythonhosted.org/packages/c9/f9/52ab0359618987331a1f739af837d26168a4b16281c9c3ab46519940c628/uuid_utils-0.12.0-cp39-abi3-win_arm64.whl", hash = "sha256:c9bea7c5b2aa6f57937ebebeee4d4ef2baad10f86f1b97b58a3f6f34c14b4e84", size = 182975, upload-time = "2025-12-01T17:29:46.444Z" }, + { url = "https://files.pythonhosted.org/packages/ef/f7/6c55b7722cede3b424df02ed5cddb25c19543abda2f95fa4cfc34a892ae5/uuid_utils-0.12.0-pp311-pypy311_pp73-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:e2209d361f2996966ab7114f49919eb6aaeabc6041672abbbbf4fdbb8ec1acc0", size = 593065, upload-time = "2025-12-01T17:29:47.507Z" }, + { url = "https://files.pythonhosted.org/packages/b8/40/ce5fe8e9137dbd5570e0016c2584fca43ad81b11a1cef809a1a1b4952ab7/uuid_utils-0.12.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:d9636bcdbd6cfcad2b549c352b669412d0d1eb09be72044a2f13e498974863cd", size = 300047, upload-time = "2025-12-01T17:29:48.596Z" }, + { url = "https://files.pythonhosted.org/packages/fb/9b/31c5d0736d7b118f302c50214e581f40e904305d8872eb0f0c921d50e138/uuid_utils-0.12.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8cd8543a3419251fb78e703ce3b15fdfafe1b7c542cf40caf0775e01db7e7674", size = 335165, upload-time = "2025-12-01T17:29:49.755Z" }, + { url = "https://files.pythonhosted.org/packages/f6/5c/d80b4d08691c9d7446d0ad58fd41503081a662cfd2c7640faf68c64d8098/uuid_utils-0.12.0-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e98db2d8977c052cb307ae1cb5cc37a21715e8d415dbc65863b039397495a013", size = 341437, upload-time = "2025-12-01T17:29:51.112Z" }, + { url = "https://files.pythonhosted.org/packages/f6/b3/9dccdc6f3c22f6ef5bd381ae559173f8a1ae185ae89ed1f39f499d9d8b02/uuid_utils-0.12.0-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8f2bdf5e4ffeb259ef6d15edae92aed60a1d6f07cbfab465d836f6b12b48da8", size = 469123, upload-time = "2025-12-01T17:29:52.389Z" }, + { url = "https://files.pythonhosted.org/packages/fd/90/6c35ef65fbc49f8189729839b793a4a74a7dd8c5aa5eb56caa93f8c97732/uuid_utils-0.12.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c3ec53c0cb15e1835870c139317cc5ec06e35aa22843e3ed7d9c74f23f23898", size = 335892, upload-time = "2025-12-01T17:29:53.44Z" }, + { url = "https://files.pythonhosted.org/packages/6b/c7/e3f3ce05c5af2bf86a0938d22165affe635f4dcbfd5687b1dacc042d3e0e/uuid_utils-0.12.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:84e5c0eba209356f7f389946a3a47b2cc2effd711b3fc7c7f155ad9f7d45e8a3", size = 360693, upload-time = "2025-12-01T17:29:54.558Z" }, +] + +[[package]] +name = "validators" +version = "0.35.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/53/66/a435d9ae49850b2f071f7ebd8119dd4e84872b01630d6736761e6e7fd847/validators-0.35.0.tar.gz", hash = "sha256:992d6c48a4e77c81f1b4daba10d16c3a9bb0dbb79b3a19ea847ff0928e70497a", size = 73399, upload-time = "2025-05-01T05:42:06.7Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fa/6e/3e955517e22cbdd565f2f8b2e73d52528b14b8bcfdb04f62466b071de847/validators-0.35.0-py3-none-any.whl", hash = "sha256:e8c947097eae7892cb3d26868d637f79f47b4a0554bc6b80065dfe5aac3705dd", size = 44712, upload-time = "2025-05-01T05:42:04.203Z" }, +] + +[[package]] +name = "vcrpy" +version = "8.2.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pyyaml" }, + { name = "wrapt" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/08/db/08183b845b0040bb877dad2bd7e4e0976fc232bb3476d7ee369c6c4f8b5a/vcrpy-8.2.1.tar.gz", hash = "sha256:d73a6e4eb6dae8148e659764b7a00e68cc51ba29ba9e6a85e1f0790ad96b97df", size = 90511, upload-time = "2026-06-16T13:20:52.906Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f8/7c/0e812ab83f5289404c674f3461ba783250b967d34b5ab034d361236ec042/vcrpy-8.2.1-py3-none-any.whl", hash = "sha256:7ce58c9e2792b246f79d6f4b3e9660676cc6f853be17e1547305b4437ab1ff85", size = 44925, upload-time = "2026-06-16T13:20:51.734Z" }, +] + +[[package]] +name = "watchdog" +version = "6.0.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/db/7d/7f3d619e951c88ed75c6037b246ddcf2d322812ee8ea189be89511721d54/watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282", size = 131220, upload-time = "2024-11-01T14:07:13.037Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/56/90994d789c61df619bfc5ce2ecdabd5eeff564e1eb47512bd01b5e019569/watchdog-6.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d1cdb490583ebd691c012b3d6dae011000fe42edb7a82ece80965b42abd61f26", size = 96390, upload-time = "2024-11-01T14:06:24.793Z" }, + { url = "https://files.pythonhosted.org/packages/55/46/9a67ee697342ddf3c6daa97e3a587a56d6c4052f881ed926a849fcf7371c/watchdog-6.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bc64ab3bdb6a04d69d4023b29422170b74681784ffb9463ed4870cf2f3e66112", size = 88389, upload-time = "2024-11-01T14:06:27.112Z" }, + { url = "https://files.pythonhosted.org/packages/44/65/91b0985747c52064d8701e1075eb96f8c40a79df889e59a399453adfb882/watchdog-6.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c897ac1b55c5a1461e16dae288d22bb2e412ba9807df8397a635d88f671d36c3", size = 89020, upload-time = "2024-11-01T14:06:29.876Z" }, + { url = "https://files.pythonhosted.org/packages/e0/24/d9be5cd6642a6aa68352ded4b4b10fb0d7889cb7f45814fb92cecd35f101/watchdog-6.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6eb11feb5a0d452ee41f824e271ca311a09e250441c262ca2fd7ebcf2461a06c", size = 96393, upload-time = "2024-11-01T14:06:31.756Z" }, + { url = "https://files.pythonhosted.org/packages/63/7a/6013b0d8dbc56adca7fdd4f0beed381c59f6752341b12fa0886fa7afc78b/watchdog-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ef810fbf7b781a5a593894e4f439773830bdecb885e6880d957d5b9382a960d2", size = 88392, upload-time = "2024-11-01T14:06:32.99Z" }, + { url = "https://files.pythonhosted.org/packages/d1/40/b75381494851556de56281e053700e46bff5b37bf4c7267e858640af5a7f/watchdog-6.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:afd0fe1b2270917c5e23c2a65ce50c2a4abb63daafb0d419fde368e272a76b7c", size = 89019, upload-time = "2024-11-01T14:06:34.963Z" }, + { url = "https://files.pythonhosted.org/packages/39/ea/3930d07dafc9e286ed356a679aa02d777c06e9bfd1164fa7c19c288a5483/watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948", size = 96471, upload-time = "2024-11-01T14:06:37.745Z" }, + { url = "https://files.pythonhosted.org/packages/12/87/48361531f70b1f87928b045df868a9fd4e253d9ae087fa4cf3f7113be363/watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860", size = 88449, upload-time = "2024-11-01T14:06:39.748Z" }, + { url = "https://files.pythonhosted.org/packages/5b/7e/8f322f5e600812e6f9a31b75d242631068ca8f4ef0582dd3ae6e72daecc8/watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0", size = 89054, upload-time = "2024-11-01T14:06:41.009Z" }, + { url = "https://files.pythonhosted.org/packages/68/98/b0345cabdce2041a01293ba483333582891a3bd5769b08eceb0d406056ef/watchdog-6.0.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c", size = 96480, upload-time = "2024-11-01T14:06:42.952Z" }, + { url = "https://files.pythonhosted.org/packages/85/83/cdf13902c626b28eedef7ec4f10745c52aad8a8fe7eb04ed7b1f111ca20e/watchdog-6.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134", size = 88451, upload-time = "2024-11-01T14:06:45.084Z" }, + { url = "https://files.pythonhosted.org/packages/fe/c4/225c87bae08c8b9ec99030cd48ae9c4eca050a59bf5c2255853e18c87b50/watchdog-6.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b", size = 89057, upload-time = "2024-11-01T14:06:47.324Z" }, + { url = "https://files.pythonhosted.org/packages/30/ad/d17b5d42e28a8b91f8ed01cb949da092827afb9995d4559fd448d0472763/watchdog-6.0.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c7ac31a19f4545dd92fc25d200694098f42c9a8e391bc00bdd362c5736dbf881", size = 87902, upload-time = "2024-11-01T14:06:53.119Z" }, + { url = "https://files.pythonhosted.org/packages/5c/ca/c3649991d140ff6ab67bfc85ab42b165ead119c9e12211e08089d763ece5/watchdog-6.0.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:9513f27a1a582d9808cf21a07dae516f0fab1cf2d7683a742c498b93eedabb11", size = 88380, upload-time = "2024-11-01T14:06:55.19Z" }, + { url = "https://files.pythonhosted.org/packages/a9/c7/ca4bf3e518cb57a686b2feb4f55a1892fd9a3dd13f470fca14e00f80ea36/watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13", size = 79079, upload-time = "2024-11-01T14:06:59.472Z" }, + { url = "https://files.pythonhosted.org/packages/5c/51/d46dc9332f9a647593c947b4b88e2381c8dfc0942d15b8edc0310fa4abb1/watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379", size = 79078, upload-time = "2024-11-01T14:07:01.431Z" }, + { url = "https://files.pythonhosted.org/packages/d4/57/04edbf5e169cd318d5f07b4766fee38e825d64b6913ca157ca32d1a42267/watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e", size = 79076, upload-time = "2024-11-01T14:07:02.568Z" }, + { url = "https://files.pythonhosted.org/packages/ab/cc/da8422b300e13cb187d2203f20b9253e91058aaf7db65b74142013478e66/watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f", size = 79077, upload-time = "2024-11-01T14:07:03.893Z" }, + { url = "https://files.pythonhosted.org/packages/2c/3b/b8964e04ae1a025c44ba8e4291f86e97fac443bca31de8bd98d3263d2fcf/watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26", size = 79078, upload-time = "2024-11-01T14:07:05.189Z" }, + { url = "https://files.pythonhosted.org/packages/62/ae/a696eb424bedff7407801c257d4b1afda455fe40821a2be430e173660e81/watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c", size = 79077, upload-time = "2024-11-01T14:07:06.376Z" }, + { url = "https://files.pythonhosted.org/packages/b5/e8/dbf020b4d98251a9860752a094d09a65e1b436ad181faf929983f697048f/watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2", size = 79078, upload-time = "2024-11-01T14:07:07.547Z" }, + { url = "https://files.pythonhosted.org/packages/07/f6/d0e5b343768e8bcb4cda79f0f2f55051bf26177ecd5651f84c07567461cf/watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a", size = 79065, upload-time = "2024-11-01T14:07:09.525Z" }, + { url = "https://files.pythonhosted.org/packages/db/d9/c495884c6e548fce18a8f40568ff120bc3a4b7b99813081c8ac0c936fa64/watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680", size = 79070, upload-time = "2024-11-01T14:07:10.686Z" }, + { url = "https://files.pythonhosted.org/packages/33/e8/e40370e6d74ddba47f002a32919d91310d6074130fe4e17dabcafc15cbf1/watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f", size = 79067, upload-time = "2024-11-01T14:07:11.845Z" }, +] + +[[package]] +name = "websockets" +version = "15.0.1" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/21/e6/26d09fab466b7ca9c7737474c52be4f76a40301b08362eb2dbc19dcc16c1/websockets-15.0.1.tar.gz", hash = "sha256:82544de02076bafba038ce055ee6412d68da13ab47f0c60cab827346de828dee", size = 177016, upload-time = "2025-03-05T20:03:41.606Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/1e/da/6462a9f510c0c49837bbc9345aca92d767a56c1fb2939e1579df1e1cdcf7/websockets-15.0.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d63efaa0cd96cf0c5fe4d581521d9fa87744540d4bc999ae6e08595a1014b45b", size = 175423, upload-time = "2025-03-05T20:01:35.363Z" }, + { url = "https://files.pythonhosted.org/packages/1c/9f/9d11c1a4eb046a9e106483b9ff69bce7ac880443f00e5ce64261b47b07e7/websockets-15.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:ac60e3b188ec7574cb761b08d50fcedf9d77f1530352db4eef1707fe9dee7205", size = 173080, upload-time = "2025-03-05T20:01:37.304Z" }, + { url = "https://files.pythonhosted.org/packages/d5/4f/b462242432d93ea45f297b6179c7333dd0402b855a912a04e7fc61c0d71f/websockets-15.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5756779642579d902eed757b21b0164cd6fe338506a8083eb58af5c372e39d9a", size = 173329, upload-time = "2025-03-05T20:01:39.668Z" }, + { url = "https://files.pythonhosted.org/packages/6e/0c/6afa1f4644d7ed50284ac59cc70ef8abd44ccf7d45850d989ea7310538d0/websockets-15.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0fdfe3e2a29e4db3659dbd5bbf04560cea53dd9610273917799f1cde46aa725e", size = 182312, upload-time = "2025-03-05T20:01:41.815Z" }, + { url = "https://files.pythonhosted.org/packages/dd/d4/ffc8bd1350b229ca7a4db2a3e1c482cf87cea1baccd0ef3e72bc720caeec/websockets-15.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c2529b320eb9e35af0fa3016c187dffb84a3ecc572bcee7c3ce302bfeba52bf", size = 181319, upload-time = "2025-03-05T20:01:43.967Z" }, + { url = "https://files.pythonhosted.org/packages/97/3a/5323a6bb94917af13bbb34009fac01e55c51dfde354f63692bf2533ffbc2/websockets-15.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ac1e5c9054fe23226fb11e05a6e630837f074174c4c2f0fe442996112a6de4fb", size = 181631, upload-time = "2025-03-05T20:01:46.104Z" }, + { url = "https://files.pythonhosted.org/packages/a6/cc/1aeb0f7cee59ef065724041bb7ed667b6ab1eeffe5141696cccec2687b66/websockets-15.0.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5df592cd503496351d6dc14f7cdad49f268d8e618f80dce0cd5a36b93c3fc08d", size = 182016, upload-time = "2025-03-05T20:01:47.603Z" }, + { url = "https://files.pythonhosted.org/packages/79/f9/c86f8f7af208e4161a7f7e02774e9d0a81c632ae76db2ff22549e1718a51/websockets-15.0.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0a34631031a8f05657e8e90903e656959234f3a04552259458aac0b0f9ae6fd9", size = 181426, upload-time = "2025-03-05T20:01:48.949Z" }, + { url = "https://files.pythonhosted.org/packages/c7/b9/828b0bc6753db905b91df6ae477c0b14a141090df64fb17f8a9d7e3516cf/websockets-15.0.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3d00075aa65772e7ce9e990cab3ff1de702aa09be3940d1dc88d5abf1ab8a09c", size = 181360, upload-time = "2025-03-05T20:01:50.938Z" }, + { url = "https://files.pythonhosted.org/packages/89/fb/250f5533ec468ba6327055b7d98b9df056fb1ce623b8b6aaafb30b55d02e/websockets-15.0.1-cp310-cp310-win32.whl", hash = "sha256:1234d4ef35db82f5446dca8e35a7da7964d02c127b095e172e54397fb6a6c256", size = 176388, upload-time = "2025-03-05T20:01:52.213Z" }, + { url = "https://files.pythonhosted.org/packages/1c/46/aca7082012768bb98e5608f01658ff3ac8437e563eca41cf068bd5849a5e/websockets-15.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:39c1fec2c11dc8d89bba6b2bf1556af381611a173ac2b511cf7231622058af41", size = 176830, upload-time = "2025-03-05T20:01:53.922Z" }, + { url = "https://files.pythonhosted.org/packages/9f/32/18fcd5919c293a398db67443acd33fde142f283853076049824fc58e6f75/websockets-15.0.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:823c248b690b2fd9303ba00c4f66cd5e2d8c3ba4aa968b2779be9532a4dad431", size = 175423, upload-time = "2025-03-05T20:01:56.276Z" }, + { url = "https://files.pythonhosted.org/packages/76/70/ba1ad96b07869275ef42e2ce21f07a5b0148936688c2baf7e4a1f60d5058/websockets-15.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678999709e68425ae2593acf2e3ebcbcf2e69885a5ee78f9eb80e6e371f1bf57", size = 173082, upload-time = "2025-03-05T20:01:57.563Z" }, + { url = "https://files.pythonhosted.org/packages/86/f2/10b55821dd40eb696ce4704a87d57774696f9451108cff0d2824c97e0f97/websockets-15.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d50fd1ee42388dcfb2b3676132c78116490976f1300da28eb629272d5d93e905", size = 173330, upload-time = "2025-03-05T20:01:59.063Z" }, + { url = "https://files.pythonhosted.org/packages/a5/90/1c37ae8b8a113d3daf1065222b6af61cc44102da95388ac0018fcb7d93d9/websockets-15.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d99e5546bf73dbad5bf3547174cd6cb8ba7273062a23808ffea025ecb1cf8562", size = 182878, upload-time = "2025-03-05T20:02:00.305Z" }, + { url = "https://files.pythonhosted.org/packages/8e/8d/96e8e288b2a41dffafb78e8904ea7367ee4f891dafc2ab8d87e2124cb3d3/websockets-15.0.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:66dd88c918e3287efc22409d426c8f729688d89a0c587c88971a0faa2c2f3792", size = 181883, upload-time = "2025-03-05T20:02:03.148Z" }, + { url = "https://files.pythonhosted.org/packages/93/1f/5d6dbf551766308f6f50f8baf8e9860be6182911e8106da7a7f73785f4c4/websockets-15.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8dd8327c795b3e3f219760fa603dcae1dcc148172290a8ab15158cf85a953413", size = 182252, upload-time = "2025-03-05T20:02:05.29Z" }, + { url = "https://files.pythonhosted.org/packages/d4/78/2d4fed9123e6620cbf1706c0de8a1632e1a28e7774d94346d7de1bba2ca3/websockets-15.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8fdc51055e6ff4adeb88d58a11042ec9a5eae317a0a53d12c062c8a8865909e8", size = 182521, upload-time = "2025-03-05T20:02:07.458Z" }, + { url = "https://files.pythonhosted.org/packages/e7/3b/66d4c1b444dd1a9823c4a81f50231b921bab54eee2f69e70319b4e21f1ca/websockets-15.0.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:693f0192126df6c2327cce3baa7c06f2a117575e32ab2308f7f8216c29d9e2e3", size = 181958, upload-time = "2025-03-05T20:02:09.842Z" }, + { url = "https://files.pythonhosted.org/packages/08/ff/e9eed2ee5fed6f76fdd6032ca5cd38c57ca9661430bb3d5fb2872dc8703c/websockets-15.0.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:54479983bd5fb469c38f2f5c7e3a24f9a4e70594cd68cd1fa6b9340dadaff7cf", size = 181918, upload-time = "2025-03-05T20:02:11.968Z" }, + { url = "https://files.pythonhosted.org/packages/d8/75/994634a49b7e12532be6a42103597b71098fd25900f7437d6055ed39930a/websockets-15.0.1-cp311-cp311-win32.whl", hash = "sha256:16b6c1b3e57799b9d38427dda63edcbe4926352c47cf88588c0be4ace18dac85", size = 176388, upload-time = "2025-03-05T20:02:13.32Z" }, + { url = "https://files.pythonhosted.org/packages/98/93/e36c73f78400a65f5e236cd376713c34182e6663f6889cd45a4a04d8f203/websockets-15.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:27ccee0071a0e75d22cb35849b1db43f2ecd3e161041ac1ee9d2352ddf72f065", size = 176828, upload-time = "2025-03-05T20:02:14.585Z" }, + { url = "https://files.pythonhosted.org/packages/51/6b/4545a0d843594f5d0771e86463606a3988b5a09ca5123136f8a76580dd63/websockets-15.0.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:3e90baa811a5d73f3ca0bcbf32064d663ed81318ab225ee4f427ad4e26e5aff3", size = 175437, upload-time = "2025-03-05T20:02:16.706Z" }, + { url = "https://files.pythonhosted.org/packages/f4/71/809a0f5f6a06522af902e0f2ea2757f71ead94610010cf570ab5c98e99ed/websockets-15.0.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:592f1a9fe869c778694f0aa806ba0374e97648ab57936f092fd9d87f8bc03665", size = 173096, upload-time = "2025-03-05T20:02:18.832Z" }, + { url = "https://files.pythonhosted.org/packages/3d/69/1a681dd6f02180916f116894181eab8b2e25b31e484c5d0eae637ec01f7c/websockets-15.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0701bc3cfcb9164d04a14b149fd74be7347a530ad3bbf15ab2c678a2cd3dd9a2", size = 173332, upload-time = "2025-03-05T20:02:20.187Z" }, + { url = "https://files.pythonhosted.org/packages/a6/02/0073b3952f5bce97eafbb35757f8d0d54812b6174ed8dd952aa08429bcc3/websockets-15.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8b56bdcdb4505c8078cb6c7157d9811a85790f2f2b3632c7d1462ab5783d215", size = 183152, upload-time = "2025-03-05T20:02:22.286Z" }, + { url = "https://files.pythonhosted.org/packages/74/45/c205c8480eafd114b428284840da0b1be9ffd0e4f87338dc95dc6ff961a1/websockets-15.0.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0af68c55afbd5f07986df82831c7bff04846928ea8d1fd7f30052638788bc9b5", size = 182096, upload-time = "2025-03-05T20:02:24.368Z" }, + { url = "https://files.pythonhosted.org/packages/14/8f/aa61f528fba38578ec553c145857a181384c72b98156f858ca5c8e82d9d3/websockets-15.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64dee438fed052b52e4f98f76c5790513235efaa1ef7f3f2192c392cd7c91b65", size = 182523, upload-time = "2025-03-05T20:02:25.669Z" }, + { url = "https://files.pythonhosted.org/packages/ec/6d/0267396610add5bc0d0d3e77f546d4cd287200804fe02323797de77dbce9/websockets-15.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d5f6b181bb38171a8ad1d6aa58a67a6aa9d4b38d0f8c5f496b9e42561dfc62fe", size = 182790, upload-time = "2025-03-05T20:02:26.99Z" }, + { url = "https://files.pythonhosted.org/packages/02/05/c68c5adbf679cf610ae2f74a9b871ae84564462955d991178f95a1ddb7dd/websockets-15.0.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5d54b09eba2bada6011aea5375542a157637b91029687eb4fdb2dab11059c1b4", size = 182165, upload-time = "2025-03-05T20:02:30.291Z" }, + { url = "https://files.pythonhosted.org/packages/29/93/bb672df7b2f5faac89761cb5fa34f5cec45a4026c383a4b5761c6cea5c16/websockets-15.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3be571a8b5afed347da347bfcf27ba12b069d9d7f42cb8c7028b5e98bbb12597", size = 182160, upload-time = "2025-03-05T20:02:31.634Z" }, + { url = "https://files.pythonhosted.org/packages/ff/83/de1f7709376dc3ca9b7eeb4b9a07b4526b14876b6d372a4dc62312bebee0/websockets-15.0.1-cp312-cp312-win32.whl", hash = "sha256:c338ffa0520bdb12fbc527265235639fb76e7bc7faafbb93f6ba80d9c06578a9", size = 176395, upload-time = "2025-03-05T20:02:33.017Z" }, + { url = "https://files.pythonhosted.org/packages/7d/71/abf2ebc3bbfa40f391ce1428c7168fb20582d0ff57019b69ea20fa698043/websockets-15.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcd5cf9e305d7b8338754470cf69cf81f420459dbae8a3b40cee57417f4614a7", size = 176841, upload-time = "2025-03-05T20:02:34.498Z" }, + { url = "https://files.pythonhosted.org/packages/cb/9f/51f0cf64471a9d2b4d0fc6c534f323b664e7095640c34562f5182e5a7195/websockets-15.0.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ee443ef070bb3b6ed74514f5efaa37a252af57c90eb33b956d35c8e9c10a1931", size = 175440, upload-time = "2025-03-05T20:02:36.695Z" }, + { url = "https://files.pythonhosted.org/packages/8a/05/aa116ec9943c718905997412c5989f7ed671bc0188ee2ba89520e8765d7b/websockets-15.0.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5a939de6b7b4e18ca683218320fc67ea886038265fd1ed30173f5ce3f8e85675", size = 173098, upload-time = "2025-03-05T20:02:37.985Z" }, + { url = "https://files.pythonhosted.org/packages/ff/0b/33cef55ff24f2d92924923c99926dcce78e7bd922d649467f0eda8368923/websockets-15.0.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:746ee8dba912cd6fc889a8147168991d50ed70447bf18bcda7039f7d2e3d9151", size = 173329, upload-time = "2025-03-05T20:02:39.298Z" }, + { url = "https://files.pythonhosted.org/packages/31/1d/063b25dcc01faa8fada1469bdf769de3768b7044eac9d41f734fd7b6ad6d/websockets-15.0.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:595b6c3969023ecf9041b2936ac3827e4623bfa3ccf007575f04c5a6aa318c22", size = 183111, upload-time = "2025-03-05T20:02:40.595Z" }, + { url = "https://files.pythonhosted.org/packages/93/53/9a87ee494a51bf63e4ec9241c1ccc4f7c2f45fff85d5bde2ff74fcb68b9e/websockets-15.0.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c714d2fc58b5ca3e285461a4cc0c9a66bd0e24c5da9911e30158286c9b5be7f", size = 182054, upload-time = "2025-03-05T20:02:41.926Z" }, + { url = "https://files.pythonhosted.org/packages/ff/b2/83a6ddf56cdcbad4e3d841fcc55d6ba7d19aeb89c50f24dd7e859ec0805f/websockets-15.0.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0f3c1e2ab208db911594ae5b4f79addeb3501604a165019dd221c0bdcabe4db8", size = 182496, upload-time = "2025-03-05T20:02:43.304Z" }, + { url = "https://files.pythonhosted.org/packages/98/41/e7038944ed0abf34c45aa4635ba28136f06052e08fc2168520bb8b25149f/websockets-15.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:229cf1d3ca6c1804400b0a9790dc66528e08a6a1feec0d5040e8b9eb14422375", size = 182829, upload-time = "2025-03-05T20:02:48.812Z" }, + { url = "https://files.pythonhosted.org/packages/e0/17/de15b6158680c7623c6ef0db361da965ab25d813ae54fcfeae2e5b9ef910/websockets-15.0.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:756c56e867a90fb00177d530dca4b097dd753cde348448a1012ed6c5131f8b7d", size = 182217, upload-time = "2025-03-05T20:02:50.14Z" }, + { url = "https://files.pythonhosted.org/packages/33/2b/1f168cb6041853eef0362fb9554c3824367c5560cbdaad89ac40f8c2edfc/websockets-15.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:558d023b3df0bffe50a04e710bc87742de35060580a293c2a984299ed83bc4e4", size = 182195, upload-time = "2025-03-05T20:02:51.561Z" }, + { url = "https://files.pythonhosted.org/packages/86/eb/20b6cdf273913d0ad05a6a14aed4b9a85591c18a987a3d47f20fa13dcc47/websockets-15.0.1-cp313-cp313-win32.whl", hash = "sha256:ba9e56e8ceeeedb2e080147ba85ffcd5cd0711b89576b83784d8605a7df455fa", size = 176393, upload-time = "2025-03-05T20:02:53.814Z" }, + { url = "https://files.pythonhosted.org/packages/1b/6c/c65773d6cab416a64d191d6ee8a8b1c68a09970ea6909d16965d26bfed1e/websockets-15.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:e09473f095a819042ecb2ab9465aee615bd9c2028e4ef7d933600a8401c79561", size = 176837, upload-time = "2025-03-05T20:02:55.237Z" }, + { url = "https://files.pythonhosted.org/packages/02/9e/d40f779fa16f74d3468357197af8d6ad07e7c5a27ea1ca74ceb38986f77a/websockets-15.0.1-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0c9e74d766f2818bb95f84c25be4dea09841ac0f734d1966f415e4edfc4ef1c3", size = 173109, upload-time = "2025-03-05T20:03:17.769Z" }, + { url = "https://files.pythonhosted.org/packages/bc/cd/5b887b8585a593073fd92f7c23ecd3985cd2c3175025a91b0d69b0551372/websockets-15.0.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:1009ee0c7739c08a0cd59de430d6de452a55e42d6b522de7aa15e6f67db0b8e1", size = 173343, upload-time = "2025-03-05T20:03:19.094Z" }, + { url = "https://files.pythonhosted.org/packages/fe/ae/d34f7556890341e900a95acf4886833646306269f899d58ad62f588bf410/websockets-15.0.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76d1f20b1c7a2fa82367e04982e708723ba0e7b8d43aa643d3dcd404d74f1475", size = 174599, upload-time = "2025-03-05T20:03:21.1Z" }, + { url = "https://files.pythonhosted.org/packages/71/e6/5fd43993a87db364ec60fc1d608273a1a465c0caba69176dd160e197ce42/websockets-15.0.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f29d80eb9a9263b8d109135351caf568cc3f80b9928bccde535c235de55c22d9", size = 174207, upload-time = "2025-03-05T20:03:23.221Z" }, + { url = "https://files.pythonhosted.org/packages/2b/fb/c492d6daa5ec067c2988ac80c61359ace5c4c674c532985ac5a123436cec/websockets-15.0.1-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b359ed09954d7c18bbc1680f380c7301f92c60bf924171629c5db97febb12f04", size = 174155, upload-time = "2025-03-05T20:03:25.321Z" }, + { url = "https://files.pythonhosted.org/packages/68/a1/dcb68430b1d00b698ae7a7e0194433bce4f07ded185f0ee5fb21e2a2e91e/websockets-15.0.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:cad21560da69f4ce7658ca2cb83138fb4cf695a2ba3e475e0559e05991aa8122", size = 176884, upload-time = "2025-03-05T20:03:27.934Z" }, + { url = "https://files.pythonhosted.org/packages/fa/a8/5b41e0da817d64113292ab1f8247140aac61cbf6cfd085d6a0fa77f4984f/websockets-15.0.1-py3-none-any.whl", hash = "sha256:f7a866fbc1e97b5c617ee4116daaa09b722101d4a3c170c787450ba409f9736f", size = 169743, upload-time = "2025-03-05T20:03:39.41Z" }, +] + +[[package]] +name = "wrapt" +version = "2.1.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/2e/64/925f213fdcbb9baeb1530449ac71a4d57fc361c053d06bf78d0c5c7cd80c/wrapt-2.1.2.tar.gz", hash = "sha256:3996a67eecc2c68fd47b4e3c564405a5777367adfd9b8abb58387b63ee83b21e", size = 81678, upload-time = "2026-03-06T02:53:25.134Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/da/d2/387594fb592d027366645f3d7cc9b4d7ca7be93845fbaba6d835a912ef3c/wrapt-2.1.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4b7a86d99a14f76facb269dc148590c01aaf47584071809a70da30555228158c", size = 60669, upload-time = "2026-03-06T02:52:40.671Z" }, + { url = "https://files.pythonhosted.org/packages/c9/18/3f373935bc5509e7ac444c8026a56762e50c1183e7061797437ca96c12ce/wrapt-2.1.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a819e39017f95bf7aede768f75915635aa8f671f2993c036991b8d3bfe8dbb6f", size = 61603, upload-time = "2026-03-06T02:54:21.032Z" }, + { url = "https://files.pythonhosted.org/packages/c2/7a/32758ca2853b07a887a4574b74e28843919103194bb47001a304e24af62f/wrapt-2.1.2-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5681123e60aed0e64c7d44f72bbf8b4ce45f79d81467e2c4c728629f5baf06eb", size = 113632, upload-time = "2026-03-06T02:53:54.121Z" }, + { url = "https://files.pythonhosted.org/packages/1d/d5/eeaa38f670d462e97d978b3b0d9ce06d5b91e54bebac6fbed867809216e7/wrapt-2.1.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2b8b28e97a44d21836259739ae76284e180b18abbb4dcfdff07a415cf1016c3e", size = 115644, upload-time = "2026-03-06T02:54:53.33Z" }, + { url = "https://files.pythonhosted.org/packages/e3/09/2a41506cb17affb0bdf9d5e2129c8c19e192b388c4c01d05e1b14db23c00/wrapt-2.1.2-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cef91c95a50596fcdc31397eb6955476f82ae8a3f5a8eabdc13611b60ee380ba", size = 112016, upload-time = "2026-03-06T02:54:43.274Z" }, + { url = "https://files.pythonhosted.org/packages/64/15/0e6c3f5e87caadc43db279724ee36979246d5194fa32fed489c73643ba59/wrapt-2.1.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:dad63212b168de8569b1c512f4eac4b57f2c6934b30df32d6ee9534a79f1493f", size = 114823, upload-time = "2026-03-06T02:54:29.392Z" }, + { url = "https://files.pythonhosted.org/packages/56/b2/0ad17c8248f4e57bedf44938c26ec3ee194715f812d2dbbd9d7ff4be6c06/wrapt-2.1.2-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:d307aa6888d5efab2c1cde09843d48c843990be13069003184b67d426d145394", size = 111244, upload-time = "2026-03-06T02:54:02.149Z" }, + { url = "https://files.pythonhosted.org/packages/ff/04/bcdba98c26f2c6522c7c09a726d5d9229120163493620205b2f76bd13c01/wrapt-2.1.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c87cf3f0c85e27b3ac7d9ad95da166bf8739ca215a8b171e8404a2d739897a45", size = 113307, upload-time = "2026-03-06T02:54:12.428Z" }, + { url = "https://files.pythonhosted.org/packages/0e/1b/5e2883c6bc14143924e465a6fc5a92d09eeabe35310842a481fb0581f832/wrapt-2.1.2-cp310-cp310-win32.whl", hash = "sha256:d1c5fea4f9fe3762e2b905fdd67df51e4be7a73b7674957af2d2ade71a5c075d", size = 57986, upload-time = "2026-03-06T02:54:26.823Z" }, + { url = "https://files.pythonhosted.org/packages/42/5a/4efc997bccadd3af5749c250b49412793bc41e13a83a486b2b54a33e240c/wrapt-2.1.2-cp310-cp310-win_amd64.whl", hash = "sha256:d8f7740e1af13dff2684e4d56fe604a7e04d6c94e737a60568d8d4238b9a0c71", size = 60336, upload-time = "2026-03-06T02:54:18Z" }, + { url = "https://files.pythonhosted.org/packages/c1/f5/a2bb833e20181b937e87c242645ed5d5aa9c373006b0467bfe1a35c727d0/wrapt-2.1.2-cp310-cp310-win_arm64.whl", hash = "sha256:1c6cc827c00dc839350155f316f1f8b4b0c370f52b6a19e782e2bda89600c7dc", size = 58757, upload-time = "2026-03-06T02:53:51.545Z" }, + { url = "https://files.pythonhosted.org/packages/c7/81/60c4471fce95afa5922ca09b88a25f03c93343f759aae0f31fb4412a85c7/wrapt-2.1.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:96159a0ee2b0277d44201c3b5be479a9979cf154e8c82fa5df49586a8e7679bb", size = 60666, upload-time = "2026-03-06T02:52:58.934Z" }, + { url = "https://files.pythonhosted.org/packages/6b/be/80e80e39e7cb90b006a0eaf11c73ac3a62bbfb3068469aec15cc0bc795de/wrapt-2.1.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:98ba61833a77b747901e9012072f038795de7fc77849f1faa965464f3f87ff2d", size = 61601, upload-time = "2026-03-06T02:53:00.487Z" }, + { url = "https://files.pythonhosted.org/packages/b0/be/d7c88cd9293c859fc74b232abdc65a229bb953997995d6912fc85af18323/wrapt-2.1.2-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:767c0dbbe76cae2a60dd2b235ac0c87c9cccf4898aef8062e57bead46b5f6894", size = 114057, upload-time = "2026-03-06T02:52:44.08Z" }, + { url = "https://files.pythonhosted.org/packages/ea/25/36c04602831a4d685d45a93b3abea61eca7fe35dab6c842d6f5d570ef94a/wrapt-2.1.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c691a6bc752c0cc4711cc0c00896fcd0f116abc253609ef64ef930032821842", size = 116099, upload-time = "2026-03-06T02:54:56.74Z" }, + { url = "https://files.pythonhosted.org/packages/5c/4e/98a6eb417ef551dc277bec1253d5246b25003cf36fdf3913b65cb7657a56/wrapt-2.1.2-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f3b7d73012ea75aee5844de58c88f44cf62d0d62711e39da5a82824a7c4626a8", size = 112457, upload-time = "2026-03-06T02:53:52.842Z" }, + { url = "https://files.pythonhosted.org/packages/cb/a6/a6f7186a5297cad8ec53fd7578533b28f795fdf5372368c74bd7e6e9841c/wrapt-2.1.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:577dff354e7acd9d411eaf4bfe76b724c89c89c8fc9b7e127ee28c5f7bcb25b6", size = 115351, upload-time = "2026-03-06T02:53:32.684Z" }, + { url = "https://files.pythonhosted.org/packages/97/6f/06e66189e721dbebd5cf20e138acc4d1150288ce118462f2fcbff92d38db/wrapt-2.1.2-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:3d7b6fd105f8b24e5bd23ccf41cb1d1099796524bcc6f7fbb8fe576c44befbc9", size = 111748, upload-time = "2026-03-06T02:53:08.455Z" }, + { url = "https://files.pythonhosted.org/packages/ef/43/4808b86f499a51370fbdbdfa6cb91e9b9169e762716456471b619fca7a70/wrapt-2.1.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:866abdbf4612e0b34764922ef8b1c5668867610a718d3053d59e24a5e5fcfc15", size = 113783, upload-time = "2026-03-06T02:53:02.02Z" }, + { url = "https://files.pythonhosted.org/packages/91/2c/a3f28b8fa7ac2cefa01cfcaca3471f9b0460608d012b693998cd61ef43df/wrapt-2.1.2-cp311-cp311-win32.whl", hash = "sha256:5a0a0a3a882393095573344075189eb2d566e0fd205a2b6414e9997b1b800a8b", size = 57977, upload-time = "2026-03-06T02:53:27.844Z" }, + { url = "https://files.pythonhosted.org/packages/3f/c3/2b1c7bd07a27b1db885a2fab469b707bdd35bddf30a113b4917a7e2139d2/wrapt-2.1.2-cp311-cp311-win_amd64.whl", hash = "sha256:64a07a71d2730ba56f11d1a4b91f7817dc79bc134c11516b75d1921a7c6fcda1", size = 60336, upload-time = "2026-03-06T02:54:28.104Z" }, + { url = "https://files.pythonhosted.org/packages/ec/5c/76ece7b401b088daa6503d6264dd80f9a727df3e6042802de9a223084ea2/wrapt-2.1.2-cp311-cp311-win_arm64.whl", hash = "sha256:b89f095fe98bc12107f82a9f7d570dc83a0870291aeb6b1d7a7d35575f55d98a", size = 58756, upload-time = "2026-03-06T02:53:16.319Z" }, + { url = "https://files.pythonhosted.org/packages/4c/b6/1db817582c49c7fcbb7df6809d0f515af29d7c2fbf57eb44c36e98fb1492/wrapt-2.1.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ff2aad9c4cda28a8f0653fc2d487596458c2a3f475e56ba02909e950a9efa6a9", size = 61255, upload-time = "2026-03-06T02:52:45.663Z" }, + { url = "https://files.pythonhosted.org/packages/a2/16/9b02a6b99c09227c93cd4b73acc3678114154ec38da53043c0ddc1fba0dc/wrapt-2.1.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6433ea84e1cfacf32021d2a4ee909554ade7fd392caa6f7c13f1f4bf7b8e8748", size = 61848, upload-time = "2026-03-06T02:53:48.728Z" }, + { url = "https://files.pythonhosted.org/packages/af/aa/ead46a88f9ec3a432a4832dfedb84092fc35af2d0ba40cd04aea3889f247/wrapt-2.1.2-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c20b757c268d30d6215916a5fa8461048d023865d888e437fab451139cad6c8e", size = 121433, upload-time = "2026-03-06T02:54:40.328Z" }, + { url = "https://files.pythonhosted.org/packages/3a/9f/742c7c7cdf58b59085a1ee4b6c37b013f66ac33673a7ef4aaed5e992bc33/wrapt-2.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:79847b83eb38e70d93dc392c7c5b587efe65b3e7afcc167aa8abd5d60e8761c8", size = 123013, upload-time = "2026-03-06T02:53:26.58Z" }, + { url = "https://files.pythonhosted.org/packages/e8/44/2c3dd45d53236b7ed7c646fcf212251dc19e48e599debd3926b52310fafb/wrapt-2.1.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f8fba1bae256186a83d1875b2b1f4e2d1242e8fac0f58ec0d7e41b26967b965c", size = 117326, upload-time = "2026-03-06T02:53:11.547Z" }, + { url = "https://files.pythonhosted.org/packages/74/e2/b17d66abc26bd96f89dec0ecd0ef03da4a1286e6ff793839ec431b9fae57/wrapt-2.1.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e3d3b35eedcf5f7d022291ecd7533321c4775f7b9cd0050a31a68499ba45757c", size = 121444, upload-time = "2026-03-06T02:54:09.5Z" }, + { url = "https://files.pythonhosted.org/packages/3c/62/e2977843fdf9f03daf1586a0ff49060b1b2fc7ff85a7ea82b6217c1ae36e/wrapt-2.1.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:6f2c5390460de57fa9582bc8a1b7a6c86e1a41dfad74c5225fc07044c15cc8d1", size = 116237, upload-time = "2026-03-06T02:54:03.884Z" }, + { url = "https://files.pythonhosted.org/packages/88/dd/27fc67914e68d740bce512f11734aec08696e6b17641fef8867c00c949fc/wrapt-2.1.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7dfa9f2cf65d027b951d05c662cc99ee3bd01f6e4691ed39848a7a5fffc902b2", size = 120563, upload-time = "2026-03-06T02:53:20.412Z" }, + { url = "https://files.pythonhosted.org/packages/ec/9f/b750b3692ed2ef4705cb305bd68858e73010492b80e43d2a4faa5573cbe7/wrapt-2.1.2-cp312-cp312-win32.whl", hash = "sha256:eba8155747eb2cae4a0b913d9ebd12a1db4d860fc4c829d7578c7b989bd3f2f0", size = 58198, upload-time = "2026-03-06T02:53:37.732Z" }, + { url = "https://files.pythonhosted.org/packages/8e/b2/feecfe29f28483d888d76a48f03c4c4d8afea944dbee2b0cd3380f9df032/wrapt-2.1.2-cp312-cp312-win_amd64.whl", hash = "sha256:1c51c738d7d9faa0b3601708e7e2eda9bf779e1b601dce6c77411f2a1b324a63", size = 60441, upload-time = "2026-03-06T02:52:47.138Z" }, + { url = "https://files.pythonhosted.org/packages/44/e1/e328f605d6e208547ea9fd120804fcdec68536ac748987a68c47c606eea8/wrapt-2.1.2-cp312-cp312-win_arm64.whl", hash = "sha256:c8e46ae8e4032792eb2f677dbd0d557170a8e5524d22acc55199f43efedd39bf", size = 58836, upload-time = "2026-03-06T02:53:22.053Z" }, + { url = "https://files.pythonhosted.org/packages/4c/7a/d936840735c828b38d26a854e85d5338894cda544cb7a85a9d5b8b9c4df7/wrapt-2.1.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:787fd6f4d67befa6fe2abdffcbd3de2d82dfc6fb8a6d850407c53332709d030b", size = 61259, upload-time = "2026-03-06T02:53:41.922Z" }, + { url = "https://files.pythonhosted.org/packages/5e/88/9a9b9a90ac8ca11c2fdb6a286cb3a1fc7dd774c00ed70929a6434f6bc634/wrapt-2.1.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:4bdf26e03e6d0da3f0e9422fd36bcebf7bc0eeb55fdf9c727a09abc6b9fe472e", size = 61851, upload-time = "2026-03-06T02:52:48.672Z" }, + { url = "https://files.pythonhosted.org/packages/03/a9/5b7d6a16fd6533fed2756900fc8fc923f678179aea62ada6d65c92718c00/wrapt-2.1.2-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:bbac24d879aa22998e87f6b3f481a5216311e7d53c7db87f189a7a0266dafffb", size = 121446, upload-time = "2026-03-06T02:54:14.013Z" }, + { url = "https://files.pythonhosted.org/packages/45/bb/34c443690c847835cfe9f892be78c533d4f32366ad2888972c094a897e39/wrapt-2.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:16997dfb9d67addc2e3f41b62a104341e80cac52f91110dece393923c0ebd5ca", size = 123056, upload-time = "2026-03-06T02:54:10.829Z" }, + { url = "https://files.pythonhosted.org/packages/93/b9/ff205f391cb708f67f41ea148545f2b53ff543a7ac293b30d178af4d2271/wrapt-2.1.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:162e4e2ba7542da9027821cb6e7c5e068d64f9a10b5f15512ea28e954893a267", size = 117359, upload-time = "2026-03-06T02:53:03.623Z" }, + { url = "https://files.pythonhosted.org/packages/1f/3d/1ea04d7747825119c3c9a5e0874a40b33594ada92e5649347c457d982805/wrapt-2.1.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f29c827a8d9936ac320746747a016c4bc66ef639f5cd0d32df24f5eacbf9c69f", size = 121479, upload-time = "2026-03-06T02:53:45.844Z" }, + { url = "https://files.pythonhosted.org/packages/78/cc/ee3a011920c7a023b25e8df26f306b2484a531ab84ca5c96260a73de76c0/wrapt-2.1.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:a9dd9813825f7ecb018c17fd147a01845eb330254dff86d3b5816f20f4d6aaf8", size = 116271, upload-time = "2026-03-06T02:54:46.356Z" }, + { url = "https://files.pythonhosted.org/packages/98/fd/e5ff7ded41b76d802cf1191288473e850d24ba2e39a6ec540f21ae3b57cb/wrapt-2.1.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6f8dbdd3719e534860d6a78526aafc220e0241f981367018c2875178cf83a413", size = 120573, upload-time = "2026-03-06T02:52:50.163Z" }, + { url = "https://files.pythonhosted.org/packages/47/c5/242cae3b5b080cd09bacef0591691ba1879739050cc7c801ff35c8886b66/wrapt-2.1.2-cp313-cp313-win32.whl", hash = "sha256:5c35b5d82b16a3bc6e0a04349b606a0582bc29f573786aebe98e0c159bc48db6", size = 58205, upload-time = "2026-03-06T02:53:47.494Z" }, + { url = "https://files.pythonhosted.org/packages/12/69/c358c61e7a50f290958809b3c61ebe8b3838ea3e070d7aac9814f95a0528/wrapt-2.1.2-cp313-cp313-win_amd64.whl", hash = "sha256:f8bc1c264d8d1cf5b3560a87bbdd31131573eb25f9f9447bb6252b8d4c44a3a1", size = 60452, upload-time = "2026-03-06T02:53:30.038Z" }, + { url = "https://files.pythonhosted.org/packages/8e/66/c8a6fcfe321295fd8c0ab1bd685b5a01462a9b3aa2f597254462fc2bc975/wrapt-2.1.2-cp313-cp313-win_arm64.whl", hash = "sha256:3beb22f674550d5634642c645aba4c72a2c66fb185ae1aebe1e955fae5a13baf", size = 58842, upload-time = "2026-03-06T02:52:52.114Z" }, + { url = "https://files.pythonhosted.org/packages/da/55/9c7052c349106e0b3f17ae8db4b23a691a963c334de7f9dbd60f8f74a831/wrapt-2.1.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0fc04bc8664a8bc4c8e00b37b5355cffca2535209fba1abb09ae2b7c76ddf82b", size = 63075, upload-time = "2026-03-06T02:53:19.108Z" }, + { url = "https://files.pythonhosted.org/packages/09/a8/ce7b4006f7218248dd71b7b2b732d0710845a0e49213b18faef64811ffef/wrapt-2.1.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a9b9d50c9af998875a1482a038eb05755dfd6fe303a313f6a940bb53a83c3f18", size = 63719, upload-time = "2026-03-06T02:54:33.452Z" }, + { url = "https://files.pythonhosted.org/packages/e4/e5/2ca472e80b9e2b7a17f106bb8f9df1db11e62101652ce210f66935c6af67/wrapt-2.1.2-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2d3ff4f0024dd224290c0eabf0240f1bfc1f26363431505fb1b0283d3b08f11d", size = 152643, upload-time = "2026-03-06T02:52:42.721Z" }, + { url = "https://files.pythonhosted.org/packages/36/42/30f0f2cefca9d9cbf6835f544d825064570203c3e70aa873d8ae12e23791/wrapt-2.1.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3278c471f4468ad544a691b31bb856374fbdefb7fee1a152153e64019379f015", size = 158805, upload-time = "2026-03-06T02:54:25.441Z" }, + { url = "https://files.pythonhosted.org/packages/bb/67/d08672f801f604889dcf58f1a0b424fe3808860ede9e03affc1876b295af/wrapt-2.1.2-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a8914c754d3134a3032601c6984db1c576e6abaf3fc68094bb8ab1379d75ff92", size = 145990, upload-time = "2026-03-06T02:53:57.456Z" }, + { url = "https://files.pythonhosted.org/packages/68/a7/fd371b02e73babec1de6ade596e8cd9691051058cfdadbfd62a5898f3295/wrapt-2.1.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:ff95d4264e55839be37bafe1536db2ab2de19da6b65f9244f01f332b5286cfbf", size = 155670, upload-time = "2026-03-06T02:54:55.309Z" }, + { url = "https://files.pythonhosted.org/packages/86/2d/9fe0095dfdb621009f40117dcebf41d7396c2c22dca6eac779f4c007b86c/wrapt-2.1.2-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:76405518ca4e1b76fbb1b9f686cff93aebae03920cc55ceeec48ff9f719c5f67", size = 144357, upload-time = "2026-03-06T02:54:24.092Z" }, + { url = "https://files.pythonhosted.org/packages/0e/b6/ec7b4a254abbe4cde9fa15c5d2cca4518f6b07d0f1b77d4ee9655e30280e/wrapt-2.1.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:c0be8b5a74c5824e9359b53e7e58bef71a729bacc82e16587db1c4ebc91f7c5a", size = 150269, upload-time = "2026-03-06T02:53:31.268Z" }, + { url = "https://files.pythonhosted.org/packages/6e/6b/2fabe8ebf148f4ee3c782aae86a795cc68ffe7d432ef550f234025ce0cfa/wrapt-2.1.2-cp313-cp313t-win32.whl", hash = "sha256:f01277d9a5fc1862f26f7626da9cf443bebc0abd2f303f41c5e995b15887dabd", size = 59894, upload-time = "2026-03-06T02:54:15.391Z" }, + { url = "https://files.pythonhosted.org/packages/ca/fb/9ba66fc2dedc936de5f8073c0217b5d4484e966d87723415cc8262c5d9c2/wrapt-2.1.2-cp313-cp313t-win_amd64.whl", hash = "sha256:84ce8f1c2104d2f6daa912b1b5b039f331febfeee74f8042ad4e04992bd95c8f", size = 63197, upload-time = "2026-03-06T02:54:41.943Z" }, + { url = "https://files.pythonhosted.org/packages/c0/1c/012d7423c95d0e337117723eb8ecf73c622ce15a97847e84cf3f8f26cd7e/wrapt-2.1.2-cp313-cp313t-win_arm64.whl", hash = "sha256:a93cd767e37faeddbe07d8fc4212d5cba660af59bdb0f6372c93faaa13e6e679", size = 60363, upload-time = "2026-03-06T02:54:48.093Z" }, + { url = "https://files.pythonhosted.org/packages/39/25/e7ea0b417db02bb796182a5316398a75792cd9a22528783d868755e1f669/wrapt-2.1.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:1370e516598854e5b4366e09ce81e08bfe94d42b0fd569b88ec46cc56d9164a9", size = 61418, upload-time = "2026-03-06T02:53:55.706Z" }, + { url = "https://files.pythonhosted.org/packages/ec/0f/fa539e2f6a770249907757eaeb9a5ff4deb41c026f8466c1c6d799088a9b/wrapt-2.1.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:6de1a3851c27e0bd6a04ca993ea6f80fc53e6c742ee1601f486c08e9f9b900a9", size = 61914, upload-time = "2026-03-06T02:52:53.37Z" }, + { url = "https://files.pythonhosted.org/packages/53/37/02af1867f5b1441aaeda9c82deed061b7cd1372572ddcd717f6df90b5e93/wrapt-2.1.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:de9f1a2bbc5ac7f6012ec24525bdd444765a2ff64b5985ac6e0692144838542e", size = 120417, upload-time = "2026-03-06T02:54:30.74Z" }, + { url = "https://files.pythonhosted.org/packages/c3/b7/0138a6238c8ba7476c77cf786a807f871672b37f37a422970342308276e7/wrapt-2.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:970d57ed83fa040d8b20c52fe74a6ae7e3775ae8cff5efd6a81e06b19078484c", size = 122797, upload-time = "2026-03-06T02:54:51.539Z" }, + { url = "https://files.pythonhosted.org/packages/e1/ad/819ae558036d6a15b7ed290d5b14e209ca795dd4da9c58e50c067d5927b0/wrapt-2.1.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3969c56e4563c375861c8df14fa55146e81ac11c8db49ea6fb7f2ba58bc1ff9a", size = 117350, upload-time = "2026-03-06T02:54:37.651Z" }, + { url = "https://files.pythonhosted.org/packages/8b/2d/afc18dc57a4600a6e594f77a9ae09db54f55ba455440a54886694a84c71b/wrapt-2.1.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:57d7c0c980abdc5f1d98b11a2aa3bb159790add80258c717fa49a99921456d90", size = 121223, upload-time = "2026-03-06T02:54:35.221Z" }, + { url = "https://files.pythonhosted.org/packages/b9/5b/5ec189b22205697bc56eb3b62aed87a1e0423e9c8285d0781c7a83170d15/wrapt-2.1.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:776867878e83130c7a04237010463372e877c1c994d449ca6aaafeab6aab2586", size = 116287, upload-time = "2026-03-06T02:54:19.654Z" }, + { url = "https://files.pythonhosted.org/packages/f7/2d/f84939a7c9b5e6cdd8a8d0f6a26cabf36a0f7e468b967720e8b0cd2bdf69/wrapt-2.1.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:fab036efe5464ec3291411fabb80a7a39e2dd80bae9bcbeeca5087fdfa891e19", size = 119593, upload-time = "2026-03-06T02:54:16.697Z" }, + { url = "https://files.pythonhosted.org/packages/0b/fe/ccd22a1263159c4ac811ab9374c061bcb4a702773f6e06e38de5f81a1bdc/wrapt-2.1.2-cp314-cp314-win32.whl", hash = "sha256:e6ed62c82ddf58d001096ae84ce7f833db97ae2263bff31c9b336ba8cfe3f508", size = 58631, upload-time = "2026-03-06T02:53:06.498Z" }, + { url = "https://files.pythonhosted.org/packages/65/0a/6bd83be7bff2e7efaac7b4ac9748da9d75a34634bbbbc8ad077d527146df/wrapt-2.1.2-cp314-cp314-win_amd64.whl", hash = "sha256:467e7c76315390331c67073073d00662015bb730c566820c9ca9b54e4d67fd04", size = 60875, upload-time = "2026-03-06T02:53:50.252Z" }, + { url = "https://files.pythonhosted.org/packages/6c/c0/0b3056397fe02ff80e5a5d72d627c11eb885d1ca78e71b1a5c1e8c7d45de/wrapt-2.1.2-cp314-cp314-win_arm64.whl", hash = "sha256:da1f00a557c66225d53b095a97eace0fc5349e3bfda28fa34ffae238978ee575", size = 59164, upload-time = "2026-03-06T02:53:59.128Z" }, + { url = "https://files.pythonhosted.org/packages/71/ed/5d89c798741993b2371396eb9d4634f009ff1ad8a6c78d366fe2883ea7a6/wrapt-2.1.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:62503ffbc2d3a69891cf29beeaccdb4d5e0a126e2b6a851688d4777e01428dbb", size = 63163, upload-time = "2026-03-06T02:52:54.873Z" }, + { url = "https://files.pythonhosted.org/packages/c6/8c/05d277d182bf36b0a13d6bd393ed1dec3468a25b59d01fba2dd70fe4d6ae/wrapt-2.1.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c7e6cd120ef837d5b6f860a6ea3745f8763805c418bb2f12eeb1fa6e25f22d22", size = 63723, upload-time = "2026-03-06T02:52:56.374Z" }, + { url = "https://files.pythonhosted.org/packages/f4/27/6c51ec1eff4413c57e72d6106bb8dec6f0c7cdba6503d78f0fa98767bcc9/wrapt-2.1.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:3769a77df8e756d65fbc050333f423c01ae012b4f6731aaf70cf2bef61b34596", size = 152652, upload-time = "2026-03-06T02:53:23.79Z" }, + { url = "https://files.pythonhosted.org/packages/db/4c/d7dd662d6963fc7335bfe29d512b02b71cdfa23eeca7ab3ac74a67505deb/wrapt-2.1.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a76d61a2e851996150ba0f80582dd92a870643fa481f3b3846f229de88caf044", size = 158807, upload-time = "2026-03-06T02:53:35.742Z" }, + { url = "https://files.pythonhosted.org/packages/b4/4d/1e5eea1a78d539d346765727422976676615814029522c76b87a95f6bcdd/wrapt-2.1.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6f97edc9842cf215312b75fe737ee7c8adda75a89979f8e11558dfff6343cc4b", size = 146061, upload-time = "2026-03-06T02:52:57.574Z" }, + { url = "https://files.pythonhosted.org/packages/89/bc/62cabea7695cd12a288023251eeefdcb8465056ddaab6227cb78a2de005b/wrapt-2.1.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:4006c351de6d5007aa33a551f600404ba44228a89e833d2fadc5caa5de8edfbf", size = 155667, upload-time = "2026-03-06T02:53:39.422Z" }, + { url = "https://files.pythonhosted.org/packages/e9/99/6f2888cd68588f24df3a76572c69c2de28287acb9e1972bf0c83ce97dbc1/wrapt-2.1.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:a9372fc3639a878c8e7d87e1556fa209091b0a66e912c611e3f833e2c4202be2", size = 144392, upload-time = "2026-03-06T02:54:22.41Z" }, + { url = "https://files.pythonhosted.org/packages/40/51/1dfc783a6c57971614c48e361a82ca3b6da9055879952587bc99fe1a7171/wrapt-2.1.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3144b027ff30cbd2fca07c0a87e67011adb717eb5f5bd8496325c17e454257a3", size = 150296, upload-time = "2026-03-06T02:54:07.848Z" }, + { url = "https://files.pythonhosted.org/packages/6c/38/cbb8b933a0201076c1f64fc42883b0023002bdc14a4964219154e6ff3350/wrapt-2.1.2-cp314-cp314t-win32.whl", hash = "sha256:3b8d15e52e195813efe5db8cec156eebe339aaf84222f4f4f051a6c01f237ed7", size = 60539, upload-time = "2026-03-06T02:54:00.594Z" }, + { url = "https://files.pythonhosted.org/packages/82/dd/e5176e4b241c9f528402cebb238a36785a628179d7d8b71091154b3e4c9e/wrapt-2.1.2-cp314-cp314t-win_amd64.whl", hash = "sha256:08ffa54146a7559f5b8df4b289b46d963a8e74ed16ba3687f99896101a3990c5", size = 63969, upload-time = "2026-03-06T02:54:39Z" }, + { url = "https://files.pythonhosted.org/packages/5c/99/79f17046cf67e4a95b9987ea129632ba8bcec0bc81f3fb3d19bdb0bd60cd/wrapt-2.1.2-cp314-cp314t-win_arm64.whl", hash = "sha256:72aaa9d0d8e4ed0e2e98019cea47a21f823c9dd4b43c7b77bba6679ffcca6a00", size = 60554, upload-time = "2026-03-06T02:53:14.132Z" }, + { url = "https://files.pythonhosted.org/packages/1a/c7/8528ac2dfa2c1e6708f647df7ae144ead13f0a31146f43c7264b4942bf12/wrapt-2.1.2-py3-none-any.whl", hash = "sha256:b8fd6fa2b2c4e7621808f8c62e8317f4aae56e59721ad933bac5239d913cf0e8", size = 43993, upload-time = "2026-03-06T02:53:12.905Z" }, +] + +[[package]] +name = "wsproto" +version = "1.3.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "h11" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/91/8d/48e227460422d3f78f52618d8ef7d7a0474c6fcdaddf7f2d1aa25854ea75/wsproto-1.3.1.tar.gz", hash = "sha256:81529992325c28f0d9b86ca66fc973da96eb80ab53410249ce2e502749c7723c", size = 50083, upload-time = "2025-11-12T07:50:48.408Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/8f/da/539c2d24b13025e54a86ce3215eb9b6297b023937a087db9ef2a436cc7b4/wsproto-1.3.1-py3-none-any.whl", hash = "sha256:297ce79322989c0d286cc158681641cd18bc7632dfb38cf4054696a89179b993", size = 24402, upload-time = "2025-11-12T07:50:47.178Z" }, +] + +[[package]] +name = "xxhash" +version = "3.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/02/84/30869e01909fb37a6cc7e18688ee8bf1e42d57e7e0777636bd47524c43c7/xxhash-3.6.0.tar.gz", hash = "sha256:f0162a78b13a0d7617b2845b90c763339d1f1d82bb04a4b07f4ab535cc5e05d6", size = 85160, upload-time = "2025-10-02T14:37:08.097Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/34/ee/f9f1d656ad168681bb0f6b092372c1e533c4416b8069b1896a175c46e484/xxhash-3.6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:87ff03d7e35c61435976554477a7f4cd1704c3596a89a8300d5ce7fc83874a71", size = 32845, upload-time = "2025-10-02T14:33:51.573Z" }, + { url = "https://files.pythonhosted.org/packages/a3/b1/93508d9460b292c74a09b83d16750c52a0ead89c51eea9951cb97a60d959/xxhash-3.6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f572dfd3d0e2eb1a57511831cf6341242f5a9f8298a45862d085f5b93394a27d", size = 30807, upload-time = "2025-10-02T14:33:52.964Z" }, + { url = "https://files.pythonhosted.org/packages/07/55/28c93a3662f2d200c70704efe74aab9640e824f8ce330d8d3943bf7c9b3c/xxhash-3.6.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:89952ea539566b9fed2bbd94e589672794b4286f342254fad28b149f9615fef8", size = 193786, upload-time = "2025-10-02T14:33:54.272Z" }, + { url = "https://files.pythonhosted.org/packages/c1/96/fec0be9bb4b8f5d9c57d76380a366f31a1781fb802f76fc7cda6c84893c7/xxhash-3.6.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48e6f2ffb07a50b52465a1032c3cf1f4a5683f944acaca8a134a2f23674c2058", size = 212830, upload-time = "2025-10-02T14:33:55.706Z" }, + { url = "https://files.pythonhosted.org/packages/c4/a0/c706845ba77b9611f81fd2e93fad9859346b026e8445e76f8c6fd057cc6d/xxhash-3.6.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b5b848ad6c16d308c3ac7ad4ba6bede80ed5df2ba8ed382f8932df63158dd4b2", size = 211606, upload-time = "2025-10-02T14:33:57.133Z" }, + { url = "https://files.pythonhosted.org/packages/67/1e/164126a2999e5045f04a69257eea946c0dc3e86541b400d4385d646b53d7/xxhash-3.6.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a034590a727b44dd8ac5914236a7b8504144447a9682586c3327e935f33ec8cc", size = 444872, upload-time = "2025-10-02T14:33:58.446Z" }, + { url = "https://files.pythonhosted.org/packages/2d/4b/55ab404c56cd70a2cf5ecfe484838865d0fea5627365c6c8ca156bd09c8f/xxhash-3.6.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8a8f1972e75ebdd161d7896743122834fe87378160c20e97f8b09166213bf8cc", size = 193217, upload-time = "2025-10-02T14:33:59.724Z" }, + { url = "https://files.pythonhosted.org/packages/45/e6/52abf06bac316db33aa269091ae7311bd53cfc6f4b120ae77bac1b348091/xxhash-3.6.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:ee34327b187f002a596d7b167ebc59a1b729e963ce645964bbc050d2f1b73d07", size = 210139, upload-time = "2025-10-02T14:34:02.041Z" }, + { url = "https://files.pythonhosted.org/packages/34/37/db94d490b8691236d356bc249c08819cbcef9273a1a30acf1254ff9ce157/xxhash-3.6.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:339f518c3c7a850dd033ab416ea25a692759dc7478a71131fe8869010d2b75e4", size = 197669, upload-time = "2025-10-02T14:34:03.664Z" }, + { url = "https://files.pythonhosted.org/packages/b7/36/c4f219ef4a17a4f7a64ed3569bc2b5a9c8311abdb22249ac96093625b1a4/xxhash-3.6.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:bf48889c9630542d4709192578aebbd836177c9f7a4a2778a7d6340107c65f06", size = 210018, upload-time = "2025-10-02T14:34:05.325Z" }, + { url = "https://files.pythonhosted.org/packages/fd/06/bfac889a374fc2fc439a69223d1750eed2e18a7db8514737ab630534fa08/xxhash-3.6.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:5576b002a56207f640636056b4160a378fe36a58db73ae5c27a7ec8db35f71d4", size = 413058, upload-time = "2025-10-02T14:34:06.925Z" }, + { url = "https://files.pythonhosted.org/packages/c9/d1/555d8447e0dd32ad0930a249a522bb2e289f0d08b6b16204cfa42c1f5a0c/xxhash-3.6.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:af1f3278bd02814d6dedc5dec397993b549d6f16c19379721e5a1d31e132c49b", size = 190628, upload-time = "2025-10-02T14:34:08.669Z" }, + { url = "https://files.pythonhosted.org/packages/d1/15/8751330b5186cedc4ed4b597989882ea05e0408b53fa47bcb46a6125bfc6/xxhash-3.6.0-cp310-cp310-win32.whl", hash = "sha256:aed058764db109dc9052720da65fafe84873b05eb8b07e5e653597951af57c3b", size = 30577, upload-time = "2025-10-02T14:34:10.234Z" }, + { url = "https://files.pythonhosted.org/packages/bb/cc/53f87e8b5871a6eb2ff7e89c48c66093bda2be52315a8161ddc54ea550c4/xxhash-3.6.0-cp310-cp310-win_amd64.whl", hash = "sha256:e82da5670f2d0d98950317f82a0e4a0197150ff19a6df2ba40399c2a3b9ae5fb", size = 31487, upload-time = "2025-10-02T14:34:11.618Z" }, + { url = "https://files.pythonhosted.org/packages/9f/00/60f9ea3bb697667a14314d7269956f58bf56bb73864f8f8d52a3c2535e9a/xxhash-3.6.0-cp310-cp310-win_arm64.whl", hash = "sha256:4a082ffff8c6ac07707fb6b671caf7c6e020c75226c561830b73d862060f281d", size = 27863, upload-time = "2025-10-02T14:34:12.619Z" }, + { url = "https://files.pythonhosted.org/packages/17/d4/cc2f0400e9154df4b9964249da78ebd72f318e35ccc425e9f403c392f22a/xxhash-3.6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b47bbd8cf2d72797f3c2772eaaac0ded3d3af26481a26d7d7d41dc2d3c46b04a", size = 32844, upload-time = "2025-10-02T14:34:14.037Z" }, + { url = "https://files.pythonhosted.org/packages/5e/ec/1cc11cd13e26ea8bc3cb4af4eaadd8d46d5014aebb67be3f71fb0b68802a/xxhash-3.6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2b6821e94346f96db75abaa6e255706fb06ebd530899ed76d32cd99f20dc52fa", size = 30809, upload-time = "2025-10-02T14:34:15.484Z" }, + { url = "https://files.pythonhosted.org/packages/04/5f/19fe357ea348d98ca22f456f75a30ac0916b51c753e1f8b2e0e6fb884cce/xxhash-3.6.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d0a9751f71a1a65ce3584e9cae4467651c7e70c9d31017fa57574583a4540248", size = 194665, upload-time = "2025-10-02T14:34:16.541Z" }, + { url = "https://files.pythonhosted.org/packages/90/3b/d1f1a8f5442a5fd8beedae110c5af7604dc37349a8e16519c13c19a9a2de/xxhash-3.6.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b29ee68625ab37b04c0b40c3fafdf24d2f75ccd778333cfb698f65f6c463f62", size = 213550, upload-time = "2025-10-02T14:34:17.878Z" }, + { url = "https://files.pythonhosted.org/packages/c4/ef/3a9b05eb527457d5db13a135a2ae1a26c80fecd624d20f3e8dcc4cb170f3/xxhash-3.6.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6812c25fe0d6c36a46ccb002f40f27ac903bf18af9f6dd8f9669cb4d176ab18f", size = 212384, upload-time = "2025-10-02T14:34:19.182Z" }, + { url = "https://files.pythonhosted.org/packages/0f/18/ccc194ee698c6c623acbf0f8c2969811a8a4b6185af5e824cd27b9e4fd3e/xxhash-3.6.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4ccbff013972390b51a18ef1255ef5ac125c92dc9143b2d1909f59abc765540e", size = 445749, upload-time = "2025-10-02T14:34:20.659Z" }, + { url = "https://files.pythonhosted.org/packages/a5/86/cf2c0321dc3940a7aa73076f4fd677a0fb3e405cb297ead7d864fd90847e/xxhash-3.6.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:297b7fbf86c82c550e12e8fb71968b3f033d27b874276ba3624ea868c11165a8", size = 193880, upload-time = "2025-10-02T14:34:22.431Z" }, + { url = "https://files.pythonhosted.org/packages/82/fb/96213c8560e6f948a1ecc9a7613f8032b19ee45f747f4fca4eb31bb6d6ed/xxhash-3.6.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:dea26ae1eb293db089798d3973a5fc928a18fdd97cc8801226fae705b02b14b0", size = 210912, upload-time = "2025-10-02T14:34:23.937Z" }, + { url = "https://files.pythonhosted.org/packages/40/aa/4395e669b0606a096d6788f40dbdf2b819d6773aa290c19e6e83cbfc312f/xxhash-3.6.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7a0b169aafb98f4284f73635a8e93f0735f9cbde17bd5ec332480484241aaa77", size = 198654, upload-time = "2025-10-02T14:34:25.644Z" }, + { url = "https://files.pythonhosted.org/packages/67/74/b044fcd6b3d89e9b1b665924d85d3f400636c23590226feb1eb09e1176ce/xxhash-3.6.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:08d45aef063a4531b785cd72de4887766d01dc8f362a515693df349fdb825e0c", size = 210867, upload-time = "2025-10-02T14:34:27.203Z" }, + { url = "https://files.pythonhosted.org/packages/bc/fd/3ce73bf753b08cb19daee1eb14aa0d7fe331f8da9c02dd95316ddfe5275e/xxhash-3.6.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:929142361a48ee07f09121fe9e96a84950e8d4df3bb298ca5d88061969f34d7b", size = 414012, upload-time = "2025-10-02T14:34:28.409Z" }, + { url = "https://files.pythonhosted.org/packages/ba/b3/5a4241309217c5c876f156b10778f3ab3af7ba7e3259e6d5f5c7d0129eb2/xxhash-3.6.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:51312c768403d8540487dbbfb557454cfc55589bbde6424456951f7fcd4facb3", size = 191409, upload-time = "2025-10-02T14:34:29.696Z" }, + { url = "https://files.pythonhosted.org/packages/c0/01/99bfbc15fb9abb9a72b088c1d95219fc4782b7d01fc835bd5744d66dd0b8/xxhash-3.6.0-cp311-cp311-win32.whl", hash = "sha256:d1927a69feddc24c987b337ce81ac15c4720955b667fe9b588e02254b80446fd", size = 30574, upload-time = "2025-10-02T14:34:31.028Z" }, + { url = "https://files.pythonhosted.org/packages/65/79/9d24d7f53819fe301b231044ea362ce64e86c74f6e8c8e51320de248b3e5/xxhash-3.6.0-cp311-cp311-win_amd64.whl", hash = "sha256:26734cdc2d4ffe449b41d186bbeac416f704a482ed835d375a5c0cb02bc63fef", size = 31481, upload-time = "2025-10-02T14:34:32.062Z" }, + { url = "https://files.pythonhosted.org/packages/30/4e/15cd0e3e8772071344eab2961ce83f6e485111fed8beb491a3f1ce100270/xxhash-3.6.0-cp311-cp311-win_arm64.whl", hash = "sha256:d72f67ef8bf36e05f5b6c65e8524f265bd61071471cd4cf1d36743ebeeeb06b7", size = 27861, upload-time = "2025-10-02T14:34:33.555Z" }, + { url = "https://files.pythonhosted.org/packages/9a/07/d9412f3d7d462347e4511181dea65e47e0d0e16e26fbee2ea86a2aefb657/xxhash-3.6.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:01362c4331775398e7bb34e3ab403bc9ee9f7c497bc7dee6272114055277dd3c", size = 32744, upload-time = "2025-10-02T14:34:34.622Z" }, + { url = "https://files.pythonhosted.org/packages/79/35/0429ee11d035fc33abe32dca1b2b69e8c18d236547b9a9b72c1929189b9a/xxhash-3.6.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b7b2df81a23f8cb99656378e72501b2cb41b1827c0f5a86f87d6b06b69f9f204", size = 30816, upload-time = "2025-10-02T14:34:36.043Z" }, + { url = "https://files.pythonhosted.org/packages/b7/f2/57eb99aa0f7d98624c0932c5b9a170e1806406cdbcdb510546634a1359e0/xxhash-3.6.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:dc94790144e66b14f67b10ac8ed75b39ca47536bf8800eb7c24b50271ea0c490", size = 194035, upload-time = "2025-10-02T14:34:37.354Z" }, + { url = "https://files.pythonhosted.org/packages/4c/ed/6224ba353690d73af7a3f1c7cdb1fc1b002e38f783cb991ae338e1eb3d79/xxhash-3.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:93f107c673bccf0d592cdba077dedaf52fe7f42dcd7676eba1f6d6f0c3efffd2", size = 212914, upload-time = "2025-10-02T14:34:38.6Z" }, + { url = "https://files.pythonhosted.org/packages/38/86/fb6b6130d8dd6b8942cc17ab4d90e223653a89aa32ad2776f8af7064ed13/xxhash-3.6.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2aa5ee3444c25b69813663c9f8067dcfaa2e126dc55e8dddf40f4d1c25d7effa", size = 212163, upload-time = "2025-10-02T14:34:39.872Z" }, + { url = "https://files.pythonhosted.org/packages/ee/dc/e84875682b0593e884ad73b2d40767b5790d417bde603cceb6878901d647/xxhash-3.6.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f7f99123f0e1194fa59cc69ad46dbae2e07becec5df50a0509a808f90a0f03f0", size = 445411, upload-time = "2025-10-02T14:34:41.569Z" }, + { url = "https://files.pythonhosted.org/packages/11/4f/426f91b96701ec2f37bb2b8cec664eff4f658a11f3fa9d94f0a887ea6d2b/xxhash-3.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:49e03e6fe2cac4a1bc64952dd250cf0dbc5ef4ebb7b8d96bce82e2de163c82a2", size = 193883, upload-time = "2025-10-02T14:34:43.249Z" }, + { url = "https://files.pythonhosted.org/packages/53/5a/ddbb83eee8e28b778eacfc5a85c969673e4023cdeedcfcef61f36731610b/xxhash-3.6.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bd17fede52a17a4f9a7bc4472a5867cb0b160deeb431795c0e4abe158bc784e9", size = 210392, upload-time = "2025-10-02T14:34:45.042Z" }, + { url = "https://files.pythonhosted.org/packages/1e/c2/ff69efd07c8c074ccdf0a4f36fcdd3d27363665bcdf4ba399abebe643465/xxhash-3.6.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6fb5f5476bef678f69db04f2bd1efbed3030d2aba305b0fc1773645f187d6a4e", size = 197898, upload-time = "2025-10-02T14:34:46.302Z" }, + { url = "https://files.pythonhosted.org/packages/58/ca/faa05ac19b3b622c7c9317ac3e23954187516298a091eb02c976d0d3dd45/xxhash-3.6.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:843b52f6d88071f87eba1631b684fcb4b2068cd2180a0224122fe4ef011a9374", size = 210655, upload-time = "2025-10-02T14:34:47.571Z" }, + { url = "https://files.pythonhosted.org/packages/d4/7a/06aa7482345480cc0cb597f5c875b11a82c3953f534394f620b0be2f700c/xxhash-3.6.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7d14a6cfaf03b1b6f5f9790f76880601ccc7896aff7ab9cd8978a939c1eb7e0d", size = 414001, upload-time = "2025-10-02T14:34:49.273Z" }, + { url = "https://files.pythonhosted.org/packages/23/07/63ffb386cd47029aa2916b3d2f454e6cc5b9f5c5ada3790377d5430084e7/xxhash-3.6.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:418daf3db71e1413cfe211c2f9a528456936645c17f46b5204705581a45390ae", size = 191431, upload-time = "2025-10-02T14:34:50.798Z" }, + { url = "https://files.pythonhosted.org/packages/0f/93/14fde614cadb4ddf5e7cebf8918b7e8fac5ae7861c1875964f17e678205c/xxhash-3.6.0-cp312-cp312-win32.whl", hash = "sha256:50fc255f39428a27299c20e280d6193d8b63b8ef8028995323bf834a026b4fbb", size = 30617, upload-time = "2025-10-02T14:34:51.954Z" }, + { url = "https://files.pythonhosted.org/packages/13/5d/0d125536cbe7565a83d06e43783389ecae0c0f2ed037b48ede185de477c0/xxhash-3.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:c0f2ab8c715630565ab8991b536ecded9416d615538be8ecddce43ccf26cbc7c", size = 31534, upload-time = "2025-10-02T14:34:53.276Z" }, + { url = "https://files.pythonhosted.org/packages/54/85/6ec269b0952ec7e36ba019125982cf11d91256a778c7c3f98a4c5043d283/xxhash-3.6.0-cp312-cp312-win_arm64.whl", hash = "sha256:eae5c13f3bc455a3bbb68bdc513912dc7356de7e2280363ea235f71f54064829", size = 27876, upload-time = "2025-10-02T14:34:54.371Z" }, + { url = "https://files.pythonhosted.org/packages/33/76/35d05267ac82f53ae9b0e554da7c5e281ee61f3cad44c743f0fcd354f211/xxhash-3.6.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:599e64ba7f67472481ceb6ee80fa3bd828fd61ba59fb11475572cc5ee52b89ec", size = 32738, upload-time = "2025-10-02T14:34:55.839Z" }, + { url = "https://files.pythonhosted.org/packages/31/a8/3fbce1cd96534a95e35d5120637bf29b0d7f5d8fa2f6374e31b4156dd419/xxhash-3.6.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7d8b8aaa30fca4f16f0c84a5c8d7ddee0e25250ec2796c973775373257dde8f1", size = 30821, upload-time = "2025-10-02T14:34:57.219Z" }, + { url = "https://files.pythonhosted.org/packages/0c/ea/d387530ca7ecfa183cb358027f1833297c6ac6098223fd14f9782cd0015c/xxhash-3.6.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d597acf8506d6e7101a4a44a5e428977a51c0fadbbfd3c39650cca9253f6e5a6", size = 194127, upload-time = "2025-10-02T14:34:59.21Z" }, + { url = "https://files.pythonhosted.org/packages/ba/0c/71435dcb99874b09a43b8d7c54071e600a7481e42b3e3ce1eb5226a5711a/xxhash-3.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:858dc935963a33bc33490128edc1c12b0c14d9c7ebaa4e387a7869ecc4f3e263", size = 212975, upload-time = "2025-10-02T14:35:00.816Z" }, + { url = "https://files.pythonhosted.org/packages/84/7a/c2b3d071e4bb4a90b7057228a99b10d51744878f4a8a6dd643c8bd897620/xxhash-3.6.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ba284920194615cb8edf73bf52236ce2e1664ccd4a38fdb543506413529cc546", size = 212241, upload-time = "2025-10-02T14:35:02.207Z" }, + { url = "https://files.pythonhosted.org/packages/81/5f/640b6eac0128e215f177df99eadcd0f1b7c42c274ab6a394a05059694c5a/xxhash-3.6.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4b54219177f6c6674d5378bd862c6aedf64725f70dd29c472eaae154df1a2e89", size = 445471, upload-time = "2025-10-02T14:35:03.61Z" }, + { url = "https://files.pythonhosted.org/packages/5e/1e/3c3d3ef071b051cc3abbe3721ffb8365033a172613c04af2da89d5548a87/xxhash-3.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:42c36dd7dbad2f5238950c377fcbf6811b1cdb1c444fab447960030cea60504d", size = 193936, upload-time = "2025-10-02T14:35:05.013Z" }, + { url = "https://files.pythonhosted.org/packages/2c/bd/4a5f68381939219abfe1c22a9e3a5854a4f6f6f3c4983a87d255f21f2e5d/xxhash-3.6.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f22927652cba98c44639ffdc7aaf35828dccf679b10b31c4ad72a5b530a18eb7", size = 210440, upload-time = "2025-10-02T14:35:06.239Z" }, + { url = "https://files.pythonhosted.org/packages/eb/37/b80fe3d5cfb9faff01a02121a0f4d565eb7237e9e5fc66e73017e74dcd36/xxhash-3.6.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b45fad44d9c5c119e9c6fbf2e1c656a46dc68e280275007bbfd3d572b21426db", size = 197990, upload-time = "2025-10-02T14:35:07.735Z" }, + { url = "https://files.pythonhosted.org/packages/d7/fd/2c0a00c97b9e18f72e1f240ad4e8f8a90fd9d408289ba9c7c495ed7dc05c/xxhash-3.6.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:6f2580ffab1a8b68ef2b901cde7e55fa8da5e4be0977c68f78fc80f3c143de42", size = 210689, upload-time = "2025-10-02T14:35:09.438Z" }, + { url = "https://files.pythonhosted.org/packages/93/86/5dd8076a926b9a95db3206aba20d89a7fc14dd5aac16e5c4de4b56033140/xxhash-3.6.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:40c391dd3cd041ebc3ffe6f2c862f402e306eb571422e0aa918d8070ba31da11", size = 414068, upload-time = "2025-10-02T14:35:11.162Z" }, + { url = "https://files.pythonhosted.org/packages/af/3c/0bb129170ee8f3650f08e993baee550a09593462a5cddd8e44d0011102b1/xxhash-3.6.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f205badabde7aafd1a31e8ca2a3e5a763107a71c397c4481d6a804eb5063d8bd", size = 191495, upload-time = "2025-10-02T14:35:12.971Z" }, + { url = "https://files.pythonhosted.org/packages/e9/3a/6797e0114c21d1725e2577508e24006fd7ff1d8c0c502d3b52e45c1771d8/xxhash-3.6.0-cp313-cp313-win32.whl", hash = "sha256:2577b276e060b73b73a53042ea5bd5203d3e6347ce0d09f98500f418a9fcf799", size = 30620, upload-time = "2025-10-02T14:35:14.129Z" }, + { url = "https://files.pythonhosted.org/packages/86/15/9bc32671e9a38b413a76d24722a2bf8784a132c043063a8f5152d390b0f9/xxhash-3.6.0-cp313-cp313-win_amd64.whl", hash = "sha256:757320d45d2fbcce8f30c42a6b2f47862967aea7bf458b9625b4bbe7ee390392", size = 31542, upload-time = "2025-10-02T14:35:15.21Z" }, + { url = "https://files.pythonhosted.org/packages/39/c5/cc01e4f6188656e56112d6a8e0dfe298a16934b8c47a247236549a3f7695/xxhash-3.6.0-cp313-cp313-win_arm64.whl", hash = "sha256:457b8f85dec5825eed7b69c11ae86834a018b8e3df5e77783c999663da2f96d6", size = 27880, upload-time = "2025-10-02T14:35:16.315Z" }, + { url = "https://files.pythonhosted.org/packages/f3/30/25e5321c8732759e930c555176d37e24ab84365482d257c3b16362235212/xxhash-3.6.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a42e633d75cdad6d625434e3468126c73f13f7584545a9cf34e883aa1710e702", size = 32956, upload-time = "2025-10-02T14:35:17.413Z" }, + { url = "https://files.pythonhosted.org/packages/9f/3c/0573299560d7d9f8ab1838f1efc021a280b5ae5ae2e849034ef3dee18810/xxhash-3.6.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:568a6d743219e717b07b4e03b0a828ce593833e498c3b64752e0f5df6bfe84db", size = 31072, upload-time = "2025-10-02T14:35:18.844Z" }, + { url = "https://files.pythonhosted.org/packages/7a/1c/52d83a06e417cd9d4137722693424885cc9878249beb3a7c829e74bf7ce9/xxhash-3.6.0-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:bec91b562d8012dae276af8025a55811b875baace6af510412a5e58e3121bc54", size = 196409, upload-time = "2025-10-02T14:35:20.31Z" }, + { url = "https://files.pythonhosted.org/packages/e3/8e/c6d158d12a79bbd0b878f8355432075fc82759e356ab5a111463422a239b/xxhash-3.6.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78e7f2f4c521c30ad5e786fdd6bae89d47a32672a80195467b5de0480aa97b1f", size = 215736, upload-time = "2025-10-02T14:35:21.616Z" }, + { url = "https://files.pythonhosted.org/packages/bc/68/c4c80614716345d55071a396cf03d06e34b5f4917a467faf43083c995155/xxhash-3.6.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3ed0df1b11a79856df5ffcab572cbd6b9627034c1c748c5566fa79df9048a7c5", size = 214833, upload-time = "2025-10-02T14:35:23.32Z" }, + { url = "https://files.pythonhosted.org/packages/7e/e9/ae27c8ffec8b953efa84c7c4a6c6802c263d587b9fc0d6e7cea64e08c3af/xxhash-3.6.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0e4edbfc7d420925b0dd5e792478ed393d6e75ff8fc219a6546fb446b6a417b1", size = 448348, upload-time = "2025-10-02T14:35:25.111Z" }, + { url = "https://files.pythonhosted.org/packages/d7/6b/33e21afb1b5b3f46b74b6bd1913639066af218d704cc0941404ca717fc57/xxhash-3.6.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fba27a198363a7ef87f8c0f6b171ec36b674fe9053742c58dd7e3201c1ab30ee", size = 196070, upload-time = "2025-10-02T14:35:26.586Z" }, + { url = "https://files.pythonhosted.org/packages/96/b6/fcabd337bc5fa624e7203aa0fa7d0c49eed22f72e93229431752bddc83d9/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:794fe9145fe60191c6532fa95063765529770edcdd67b3d537793e8004cabbfd", size = 212907, upload-time = "2025-10-02T14:35:28.087Z" }, + { url = "https://files.pythonhosted.org/packages/4b/d3/9ee6160e644d660fcf176c5825e61411c7f62648728f69c79ba237250143/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:6105ef7e62b5ac73a837778efc331a591d8442f8ef5c7e102376506cb4ae2729", size = 200839, upload-time = "2025-10-02T14:35:29.857Z" }, + { url = "https://files.pythonhosted.org/packages/0d/98/e8de5baa5109394baf5118f5e72ab21a86387c4f89b0e77ef3e2f6b0327b/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:f01375c0e55395b814a679b3eea205db7919ac2af213f4a6682e01220e5fe292", size = 213304, upload-time = "2025-10-02T14:35:31.222Z" }, + { url = "https://files.pythonhosted.org/packages/7b/1d/71056535dec5c3177eeb53e38e3d367dd1d16e024e63b1cee208d572a033/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:d706dca2d24d834a4661619dcacf51a75c16d65985718d6a7d73c1eeeb903ddf", size = 416930, upload-time = "2025-10-02T14:35:32.517Z" }, + { url = "https://files.pythonhosted.org/packages/dc/6c/5cbde9de2cd967c322e651c65c543700b19e7ae3e0aae8ece3469bf9683d/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:5f059d9faeacd49c0215d66f4056e1326c80503f51a1532ca336a385edadd033", size = 193787, upload-time = "2025-10-02T14:35:33.827Z" }, + { url = "https://files.pythonhosted.org/packages/19/fa/0172e350361d61febcea941b0cc541d6e6c8d65d153e85f850a7b256ff8a/xxhash-3.6.0-cp313-cp313t-win32.whl", hash = "sha256:1244460adc3a9be84731d72b8e80625788e5815b68da3da8b83f78115a40a7ec", size = 30916, upload-time = "2025-10-02T14:35:35.107Z" }, + { url = "https://files.pythonhosted.org/packages/ad/e6/e8cf858a2b19d6d45820f072eff1bea413910592ff17157cabc5f1227a16/xxhash-3.6.0-cp313-cp313t-win_amd64.whl", hash = "sha256:b1e420ef35c503869c4064f4a2f2b08ad6431ab7b229a05cce39d74268bca6b8", size = 31799, upload-time = "2025-10-02T14:35:36.165Z" }, + { url = "https://files.pythonhosted.org/packages/56/15/064b197e855bfb7b343210e82490ae672f8bc7cdf3ddb02e92f64304ee8a/xxhash-3.6.0-cp313-cp313t-win_arm64.whl", hash = "sha256:ec44b73a4220623235f67a996c862049f375df3b1052d9899f40a6382c32d746", size = 28044, upload-time = "2025-10-02T14:35:37.195Z" }, + { url = "https://files.pythonhosted.org/packages/7e/5e/0138bc4484ea9b897864d59fce9be9086030825bc778b76cb5a33a906d37/xxhash-3.6.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:a40a3d35b204b7cc7643cbcf8c9976d818cb47befcfac8bbefec8038ac363f3e", size = 32754, upload-time = "2025-10-02T14:35:38.245Z" }, + { url = "https://files.pythonhosted.org/packages/18/d7/5dac2eb2ec75fd771957a13e5dda560efb2176d5203f39502a5fc571f899/xxhash-3.6.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a54844be970d3fc22630b32d515e79a90d0a3ddb2644d8d7402e3c4c8da61405", size = 30846, upload-time = "2025-10-02T14:35:39.6Z" }, + { url = "https://files.pythonhosted.org/packages/fe/71/8bc5be2bb00deb5682e92e8da955ebe5fa982da13a69da5a40a4c8db12fb/xxhash-3.6.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:016e9190af8f0a4e3741343777710e3d5717427f175adfdc3e72508f59e2a7f3", size = 194343, upload-time = "2025-10-02T14:35:40.69Z" }, + { url = "https://files.pythonhosted.org/packages/e7/3b/52badfb2aecec2c377ddf1ae75f55db3ba2d321c5e164f14461c90837ef3/xxhash-3.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4f6f72232f849eb9d0141e2ebe2677ece15adfd0fa599bc058aad83c714bb2c6", size = 213074, upload-time = "2025-10-02T14:35:42.29Z" }, + { url = "https://files.pythonhosted.org/packages/a2/2b/ae46b4e9b92e537fa30d03dbc19cdae57ed407e9c26d163895e968e3de85/xxhash-3.6.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:63275a8aba7865e44b1813d2177e0f5ea7eadad3dd063a21f7cf9afdc7054063", size = 212388, upload-time = "2025-10-02T14:35:43.929Z" }, + { url = "https://files.pythonhosted.org/packages/f5/80/49f88d3afc724b4ac7fbd664c8452d6db51b49915be48c6982659e0e7942/xxhash-3.6.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3cd01fa2aa00d8b017c97eb46b9a794fbdca53fc14f845f5a328c71254b0abb7", size = 445614, upload-time = "2025-10-02T14:35:45.216Z" }, + { url = "https://files.pythonhosted.org/packages/ed/ba/603ce3961e339413543d8cd44f21f2c80e2a7c5cfe692a7b1f2cccf58f3c/xxhash-3.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0226aa89035b62b6a86d3c68df4d7c1f47a342b8683da2b60cedcddb46c4d95b", size = 194024, upload-time = "2025-10-02T14:35:46.959Z" }, + { url = "https://files.pythonhosted.org/packages/78/d1/8e225ff7113bf81545cfdcd79eef124a7b7064a0bba53605ff39590b95c2/xxhash-3.6.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c6e193e9f56e4ca4923c61238cdaced324f0feac782544eb4c6d55ad5cc99ddd", size = 210541, upload-time = "2025-10-02T14:35:48.301Z" }, + { url = "https://files.pythonhosted.org/packages/6f/58/0f89d149f0bad89def1a8dd38feb50ccdeb643d9797ec84707091d4cb494/xxhash-3.6.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:9176dcaddf4ca963d4deb93866d739a343c01c969231dbe21680e13a5d1a5bf0", size = 198305, upload-time = "2025-10-02T14:35:49.584Z" }, + { url = "https://files.pythonhosted.org/packages/11/38/5eab81580703c4df93feb5f32ff8fa7fe1e2c51c1f183ee4e48d4bb9d3d7/xxhash-3.6.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:c1ce4009c97a752e682b897aa99aef84191077a9433eb237774689f14f8ec152", size = 210848, upload-time = "2025-10-02T14:35:50.877Z" }, + { url = "https://files.pythonhosted.org/packages/5e/6b/953dc4b05c3ce678abca756416e4c130d2382f877a9c30a20d08ee6a77c0/xxhash-3.6.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:8cb2f4f679b01513b7adbb9b1b2f0f9cdc31b70007eaf9d59d0878809f385b11", size = 414142, upload-time = "2025-10-02T14:35:52.15Z" }, + { url = "https://files.pythonhosted.org/packages/08/a9/238ec0d4e81a10eb5026d4a6972677cbc898ba6c8b9dbaec12ae001b1b35/xxhash-3.6.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:653a91d7c2ab54a92c19ccf43508b6a555440b9be1bc8be553376778be7f20b5", size = 191547, upload-time = "2025-10-02T14:35:53.547Z" }, + { url = "https://files.pythonhosted.org/packages/f1/ee/3cf8589e06c2164ac77c3bf0aa127012801128f1feebf2a079272da5737c/xxhash-3.6.0-cp314-cp314-win32.whl", hash = "sha256:a756fe893389483ee8c394d06b5ab765d96e68fbbfe6fde7aa17e11f5720559f", size = 31214, upload-time = "2025-10-02T14:35:54.746Z" }, + { url = "https://files.pythonhosted.org/packages/02/5d/a19552fbc6ad4cb54ff953c3908bbc095f4a921bc569433d791f755186f1/xxhash-3.6.0-cp314-cp314-win_amd64.whl", hash = "sha256:39be8e4e142550ef69629c9cd71b88c90e9a5db703fecbcf265546d9536ca4ad", size = 32290, upload-time = "2025-10-02T14:35:55.791Z" }, + { url = "https://files.pythonhosted.org/packages/b1/11/dafa0643bc30442c887b55baf8e73353a344ee89c1901b5a5c54a6c17d39/xxhash-3.6.0-cp314-cp314-win_arm64.whl", hash = "sha256:25915e6000338999236f1eb68a02a32c3275ac338628a7eaa5a269c401995679", size = 28795, upload-time = "2025-10-02T14:35:57.162Z" }, + { url = "https://files.pythonhosted.org/packages/2c/db/0e99732ed7f64182aef4a6fb145e1a295558deec2a746265dcdec12d191e/xxhash-3.6.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c5294f596a9017ca5a3e3f8884c00b91ab2ad2933cf288f4923c3fd4346cf3d4", size = 32955, upload-time = "2025-10-02T14:35:58.267Z" }, + { url = "https://files.pythonhosted.org/packages/55/f4/2a7c3c68e564a099becfa44bb3d398810cc0ff6749b0d3cb8ccb93f23c14/xxhash-3.6.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1cf9dcc4ab9cff01dfbba78544297a3a01dafd60f3bde4e2bfd016cf7e4ddc67", size = 31072, upload-time = "2025-10-02T14:35:59.382Z" }, + { url = "https://files.pythonhosted.org/packages/c6/d9/72a29cddc7250e8a5819dad5d466facb5dc4c802ce120645630149127e73/xxhash-3.6.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:01262da8798422d0685f7cef03b2bd3f4f46511b02830861df548d7def4402ad", size = 196579, upload-time = "2025-10-02T14:36:00.838Z" }, + { url = "https://files.pythonhosted.org/packages/63/93/b21590e1e381040e2ca305a884d89e1c345b347404f7780f07f2cdd47ef4/xxhash-3.6.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51a73fb7cb3a3ead9f7a8b583ffd9b8038e277cdb8cb87cf890e88b3456afa0b", size = 215854, upload-time = "2025-10-02T14:36:02.207Z" }, + { url = "https://files.pythonhosted.org/packages/ce/b8/edab8a7d4fa14e924b29be877d54155dcbd8b80be85ea00d2be3413a9ed4/xxhash-3.6.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b9c6df83594f7df8f7f708ce5ebeacfc69f72c9fbaaababf6cf4758eaada0c9b", size = 214965, upload-time = "2025-10-02T14:36:03.507Z" }, + { url = "https://files.pythonhosted.org/packages/27/67/dfa980ac7f0d509d54ea0d5a486d2bb4b80c3f1bb22b66e6a05d3efaf6c0/xxhash-3.6.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:627f0af069b0ea56f312fd5189001c24578868643203bca1abbc2c52d3a6f3ca", size = 448484, upload-time = "2025-10-02T14:36:04.828Z" }, + { url = "https://files.pythonhosted.org/packages/8c/63/8ffc2cc97e811c0ca5d00ab36604b3ea6f4254f20b7bc658ca825ce6c954/xxhash-3.6.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:aa912c62f842dfd013c5f21a642c9c10cd9f4c4e943e0af83618b4a404d9091a", size = 196162, upload-time = "2025-10-02T14:36:06.182Z" }, + { url = "https://files.pythonhosted.org/packages/4b/77/07f0e7a3edd11a6097e990f6e5b815b6592459cb16dae990d967693e6ea9/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:b465afd7909db30168ab62afe40b2fcf79eedc0b89a6c0ab3123515dc0df8b99", size = 213007, upload-time = "2025-10-02T14:36:07.733Z" }, + { url = "https://files.pythonhosted.org/packages/ae/d8/bc5fa0d152837117eb0bef6f83f956c509332ce133c91c63ce07ee7c4873/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:a881851cf38b0a70e7c4d3ce81fc7afd86fbc2a024f4cfb2a97cf49ce04b75d3", size = 200956, upload-time = "2025-10-02T14:36:09.106Z" }, + { url = "https://files.pythonhosted.org/packages/26/a5/d749334130de9411783873e9b98ecc46688dad5db64ca6e04b02acc8b473/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:9b3222c686a919a0f3253cfc12bb118b8b103506612253b5baeaac10d8027cf6", size = 213401, upload-time = "2025-10-02T14:36:10.585Z" }, + { url = "https://files.pythonhosted.org/packages/89/72/abed959c956a4bfc72b58c0384bb7940663c678127538634d896b1195c10/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:c5aa639bc113e9286137cec8fadc20e9cd732b2cc385c0b7fa673b84fc1f2a93", size = 417083, upload-time = "2025-10-02T14:36:12.276Z" }, + { url = "https://files.pythonhosted.org/packages/0c/b3/62fd2b586283b7d7d665fb98e266decadf31f058f1cf6c478741f68af0cb/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5c1343d49ac102799905e115aee590183c3921d475356cb24b4de29a4bc56518", size = 193913, upload-time = "2025-10-02T14:36:14.025Z" }, + { url = "https://files.pythonhosted.org/packages/9a/9a/c19c42c5b3f5a4aad748a6d5b4f23df3bed7ee5445accc65a0fb3ff03953/xxhash-3.6.0-cp314-cp314t-win32.whl", hash = "sha256:5851f033c3030dd95c086b4a36a2683c2ff4a799b23af60977188b057e467119", size = 31586, upload-time = "2025-10-02T14:36:15.603Z" }, + { url = "https://files.pythonhosted.org/packages/03/d6/4cc450345be9924fd5dc8c590ceda1db5b43a0a889587b0ae81a95511360/xxhash-3.6.0-cp314-cp314t-win_amd64.whl", hash = "sha256:0444e7967dac37569052d2409b00a8860c2135cff05502df4da80267d384849f", size = 32526, upload-time = "2025-10-02T14:36:16.708Z" }, + { url = "https://files.pythonhosted.org/packages/0f/c9/7243eb3f9eaabd1a88a5a5acadf06df2d83b100c62684b7425c6a11bcaa8/xxhash-3.6.0-cp314-cp314t-win_arm64.whl", hash = "sha256:bb79b1e63f6fd84ec778a4b1916dfe0a7c3fdb986c06addd5db3a0d413819d95", size = 28898, upload-time = "2025-10-02T14:36:17.843Z" }, + { url = "https://files.pythonhosted.org/packages/93/1e/8aec23647a34a249f62e2398c42955acd9b4c6ed5cf08cbea94dc46f78d2/xxhash-3.6.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0f7b7e2ec26c1666ad5fc9dbfa426a6a3367ceaf79db5dd76264659d509d73b0", size = 30662, upload-time = "2025-10-02T14:37:01.743Z" }, + { url = "https://files.pythonhosted.org/packages/b8/0b/b14510b38ba91caf43006209db846a696ceea6a847a0c9ba0a5b1adc53d6/xxhash-3.6.0-pp311-pypy311_pp73-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5dc1e14d14fa0f5789ec29a7062004b5933964bb9b02aae6622b8f530dc40296", size = 41056, upload-time = "2025-10-02T14:37:02.879Z" }, + { url = "https://files.pythonhosted.org/packages/50/55/15a7b8a56590e66ccd374bbfa3f9ffc45b810886c8c3b614e3f90bd2367c/xxhash-3.6.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:881b47fc47e051b37d94d13e7455131054b56749b91b508b0907eb07900d1c13", size = 36251, upload-time = "2025-10-02T14:37:04.44Z" }, + { url = "https://files.pythonhosted.org/packages/62/b2/5ac99a041a29e58e95f907876b04f7067a0242cb85b5f39e726153981503/xxhash-3.6.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c6dc31591899f5e5666f04cc2e529e69b4072827085c1ef15294d91a004bc1bd", size = 32481, upload-time = "2025-10-02T14:37:05.869Z" }, + { url = "https://files.pythonhosted.org/packages/7b/d9/8d95e906764a386a3d3b596f3c68bb63687dfca806373509f51ce8eea81f/xxhash-3.6.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:15e0dac10eb9309508bfc41f7f9deaa7755c69e35af835db9cb10751adebc35d", size = 31565, upload-time = "2025-10-02T14:37:06.966Z" }, +] + +[[package]] +name = "yarl" +version = "1.22.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "idna" }, + { name = "multidict" }, + { name = "propcache" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/57/63/0c6ebca57330cd313f6102b16dd57ffaf3ec4c83403dcb45dbd15c6f3ea1/yarl-1.22.0.tar.gz", hash = "sha256:bebf8557577d4401ba8bd9ff33906f1376c877aa78d1fe216ad01b4d6745af71", size = 187169, upload-time = "2025-10-06T14:12:55.963Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/43/a2204825342f37c337f5edb6637040fa14e365b2fcc2346960201d457579/yarl-1.22.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:c7bd6683587567e5a49ee6e336e0612bec8329be1b7d4c8af5687dcdeb67ee1e", size = 140517, upload-time = "2025-10-06T14:08:42.494Z" }, + { url = "https://files.pythonhosted.org/packages/44/6f/674f3e6f02266428c56f704cd2501c22f78e8b2eeb23f153117cc86fb28a/yarl-1.22.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5cdac20da754f3a723cceea5b3448e1a2074866406adeb4ef35b469d089adb8f", size = 93495, upload-time = "2025-10-06T14:08:46.2Z" }, + { url = "https://files.pythonhosted.org/packages/b8/12/5b274d8a0f30c07b91b2f02cba69152600b47830fcfb465c108880fcee9c/yarl-1.22.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:07a524d84df0c10f41e3ee918846e1974aba4ec017f990dc735aad487a0bdfdf", size = 94400, upload-time = "2025-10-06T14:08:47.855Z" }, + { url = "https://files.pythonhosted.org/packages/e2/7f/df1b6949b1fa1aa9ff6de6e2631876ad4b73c4437822026e85d8acb56bb1/yarl-1.22.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e1b329cb8146d7b736677a2440e422eadd775d1806a81db2d4cded80a48efc1a", size = 347545, upload-time = "2025-10-06T14:08:49.683Z" }, + { url = "https://files.pythonhosted.org/packages/84/09/f92ed93bd6cd77872ab6c3462df45ca45cd058d8f1d0c9b4f54c1704429f/yarl-1.22.0-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:75976c6945d85dbb9ee6308cd7ff7b1fb9409380c82d6119bd778d8fcfe2931c", size = 319598, upload-time = "2025-10-06T14:08:51.215Z" }, + { url = "https://files.pythonhosted.org/packages/c3/97/ac3f3feae7d522cf7ccec3d340bb0b2b61c56cb9767923df62a135092c6b/yarl-1.22.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:80ddf7a5f8c86cb3eb4bc9028b07bbbf1f08a96c5c0bc1244be5e8fefcb94147", size = 363893, upload-time = "2025-10-06T14:08:53.144Z" }, + { url = "https://files.pythonhosted.org/packages/06/49/f3219097403b9c84a4d079b1d7bda62dd9b86d0d6e4428c02d46ab2c77fc/yarl-1.22.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d332fc2e3c94dad927f2112395772a4e4fedbcf8f80efc21ed7cdfae4d574fdb", size = 371240, upload-time = "2025-10-06T14:08:55.036Z" }, + { url = "https://files.pythonhosted.org/packages/35/9f/06b765d45c0e44e8ecf0fe15c9eacbbde342bb5b7561c46944f107bfb6c3/yarl-1.22.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0cf71bf877efeac18b38d3930594c0948c82b64547c1cf420ba48722fe5509f6", size = 346965, upload-time = "2025-10-06T14:08:56.722Z" }, + { url = "https://files.pythonhosted.org/packages/c5/69/599e7cea8d0fcb1694323b0db0dda317fa3162f7b90166faddecf532166f/yarl-1.22.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:663e1cadaddae26be034a6ab6072449a8426ddb03d500f43daf952b74553bba0", size = 342026, upload-time = "2025-10-06T14:08:58.563Z" }, + { url = "https://files.pythonhosted.org/packages/95/6f/9dfd12c8bc90fea9eab39832ee32ea48f8e53d1256252a77b710c065c89f/yarl-1.22.0-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:6dcbb0829c671f305be48a7227918cfcd11276c2d637a8033a99a02b67bf9eda", size = 335637, upload-time = "2025-10-06T14:09:00.506Z" }, + { url = "https://files.pythonhosted.org/packages/57/2e/34c5b4eb9b07e16e873db5b182c71e5f06f9b5af388cdaa97736d79dd9a6/yarl-1.22.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:f0d97c18dfd9a9af4490631905a3f131a8e4c9e80a39353919e2cfed8f00aedc", size = 359082, upload-time = "2025-10-06T14:09:01.936Z" }, + { url = "https://files.pythonhosted.org/packages/31/71/fa7e10fb772d273aa1f096ecb8ab8594117822f683bab7d2c5a89914c92a/yarl-1.22.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:437840083abe022c978470b942ff832c3940b2ad3734d424b7eaffcd07f76737", size = 357811, upload-time = "2025-10-06T14:09:03.445Z" }, + { url = "https://files.pythonhosted.org/packages/26/da/11374c04e8e1184a6a03cf9c8f5688d3e5cec83ed6f31ad3481b3207f709/yarl-1.22.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a899cbd98dce6f5d8de1aad31cb712ec0a530abc0a86bd6edaa47c1090138467", size = 351223, upload-time = "2025-10-06T14:09:05.401Z" }, + { url = "https://files.pythonhosted.org/packages/82/8f/e2d01f161b0c034a30410e375e191a5d27608c1f8693bab1a08b089ca096/yarl-1.22.0-cp310-cp310-win32.whl", hash = "sha256:595697f68bd1f0c1c159fcb97b661fc9c3f5db46498043555d04805430e79bea", size = 82118, upload-time = "2025-10-06T14:09:11.148Z" }, + { url = "https://files.pythonhosted.org/packages/62/46/94c76196642dbeae634c7a61ba3da88cd77bed875bf6e4a8bed037505aa6/yarl-1.22.0-cp310-cp310-win_amd64.whl", hash = "sha256:cb95a9b1adaa48e41815a55ae740cfda005758104049a640a398120bf02515ca", size = 86852, upload-time = "2025-10-06T14:09:12.958Z" }, + { url = "https://files.pythonhosted.org/packages/af/af/7df4f179d3b1a6dcb9a4bd2ffbc67642746fcafdb62580e66876ce83fff4/yarl-1.22.0-cp310-cp310-win_arm64.whl", hash = "sha256:b85b982afde6df99ecc996990d4ad7ccbdbb70e2a4ba4de0aecde5922ba98a0b", size = 82012, upload-time = "2025-10-06T14:09:14.664Z" }, + { url = "https://files.pythonhosted.org/packages/4d/27/5ab13fc84c76a0250afd3d26d5936349a35be56ce5785447d6c423b26d92/yarl-1.22.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:1ab72135b1f2db3fed3997d7e7dc1b80573c67138023852b6efb336a5eae6511", size = 141607, upload-time = "2025-10-06T14:09:16.298Z" }, + { url = "https://files.pythonhosted.org/packages/6a/a1/d065d51d02dc02ce81501d476b9ed2229d9a990818332242a882d5d60340/yarl-1.22.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:669930400e375570189492dc8d8341301578e8493aec04aebc20d4717f899dd6", size = 94027, upload-time = "2025-10-06T14:09:17.786Z" }, + { url = "https://files.pythonhosted.org/packages/c1/da/8da9f6a53f67b5106ffe902c6fa0164e10398d4e150d85838b82f424072a/yarl-1.22.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:792a2af6d58177ef7c19cbf0097aba92ca1b9cb3ffdd9c7470e156c8f9b5e028", size = 94963, upload-time = "2025-10-06T14:09:19.662Z" }, + { url = "https://files.pythonhosted.org/packages/68/fe/2c1f674960c376e29cb0bec1249b117d11738db92a6ccc4a530b972648db/yarl-1.22.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3ea66b1c11c9150f1372f69afb6b8116f2dd7286f38e14ea71a44eee9ec51b9d", size = 368406, upload-time = "2025-10-06T14:09:21.402Z" }, + { url = "https://files.pythonhosted.org/packages/95/26/812a540e1c3c6418fec60e9bbd38e871eaba9545e94fa5eff8f4a8e28e1e/yarl-1.22.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3e2daa88dc91870215961e96a039ec73e4937da13cf77ce17f9cad0c18df3503", size = 336581, upload-time = "2025-10-06T14:09:22.98Z" }, + { url = "https://files.pythonhosted.org/packages/0b/f5/5777b19e26fdf98563985e481f8be3d8a39f8734147a6ebf459d0dab5a6b/yarl-1.22.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ba440ae430c00eee41509353628600212112cd5018d5def7e9b05ea7ac34eb65", size = 388924, upload-time = "2025-10-06T14:09:24.655Z" }, + { url = "https://files.pythonhosted.org/packages/86/08/24bd2477bd59c0bbd994fe1d93b126e0472e4e3df5a96a277b0a55309e89/yarl-1.22.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e6438cc8f23a9c1478633d216b16104a586b9761db62bfacb6425bac0a36679e", size = 392890, upload-time = "2025-10-06T14:09:26.617Z" }, + { url = "https://files.pythonhosted.org/packages/46/00/71b90ed48e895667ecfb1eaab27c1523ee2fa217433ed77a73b13205ca4b/yarl-1.22.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4c52a6e78aef5cf47a98ef8e934755abf53953379b7d53e68b15ff4420e6683d", size = 365819, upload-time = "2025-10-06T14:09:28.544Z" }, + { url = "https://files.pythonhosted.org/packages/30/2d/f715501cae832651d3282387c6a9236cd26bd00d0ff1e404b3dc52447884/yarl-1.22.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3b06bcadaac49c70f4c88af4ffcfbe3dc155aab3163e75777818092478bcbbe7", size = 363601, upload-time = "2025-10-06T14:09:30.568Z" }, + { url = "https://files.pythonhosted.org/packages/f8/f9/a678c992d78e394e7126ee0b0e4e71bd2775e4334d00a9278c06a6cce96a/yarl-1.22.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:6944b2dc72c4d7f7052683487e3677456050ff77fcf5e6204e98caf785ad1967", size = 358072, upload-time = "2025-10-06T14:09:32.528Z" }, + { url = "https://files.pythonhosted.org/packages/2c/d1/b49454411a60edb6fefdcad4f8e6dbba7d8019e3a508a1c5836cba6d0781/yarl-1.22.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:d5372ca1df0f91a86b047d1277c2aaf1edb32d78bbcefffc81b40ffd18f027ed", size = 385311, upload-time = "2025-10-06T14:09:34.634Z" }, + { url = "https://files.pythonhosted.org/packages/87/e5/40d7a94debb8448c7771a916d1861d6609dddf7958dc381117e7ba36d9e8/yarl-1.22.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:51af598701f5299012b8416486b40fceef8c26fc87dc6d7d1f6fc30609ea0aa6", size = 381094, upload-time = "2025-10-06T14:09:36.268Z" }, + { url = "https://files.pythonhosted.org/packages/35/d8/611cc282502381ad855448643e1ad0538957fc82ae83dfe7762c14069e14/yarl-1.22.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b266bd01fedeffeeac01a79ae181719ff848a5a13ce10075adbefc8f1daee70e", size = 370944, upload-time = "2025-10-06T14:09:37.872Z" }, + { url = "https://files.pythonhosted.org/packages/2d/df/fadd00fb1c90e1a5a8bd731fa3d3de2e165e5a3666a095b04e31b04d9cb6/yarl-1.22.0-cp311-cp311-win32.whl", hash = "sha256:a9b1ba5610a4e20f655258d5a1fdc7ebe3d837bb0e45b581398b99eb98b1f5ca", size = 81804, upload-time = "2025-10-06T14:09:39.359Z" }, + { url = "https://files.pythonhosted.org/packages/b5/f7/149bb6f45f267cb5c074ac40c01c6b3ea6d8a620d34b337f6321928a1b4d/yarl-1.22.0-cp311-cp311-win_amd64.whl", hash = "sha256:078278b9b0b11568937d9509b589ee83ef98ed6d561dfe2020e24a9fd08eaa2b", size = 86858, upload-time = "2025-10-06T14:09:41.068Z" }, + { url = "https://files.pythonhosted.org/packages/2b/13/88b78b93ad3f2f0b78e13bfaaa24d11cbc746e93fe76d8c06bf139615646/yarl-1.22.0-cp311-cp311-win_arm64.whl", hash = "sha256:b6a6f620cfe13ccec221fa312139135166e47ae169f8253f72a0abc0dae94376", size = 81637, upload-time = "2025-10-06T14:09:42.712Z" }, + { url = "https://files.pythonhosted.org/packages/75/ff/46736024fee3429b80a165a732e38e5d5a238721e634ab41b040d49f8738/yarl-1.22.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e340382d1afa5d32b892b3ff062436d592ec3d692aeea3bef3a5cfe11bbf8c6f", size = 142000, upload-time = "2025-10-06T14:09:44.631Z" }, + { url = "https://files.pythonhosted.org/packages/5a/9a/b312ed670df903145598914770eb12de1bac44599549b3360acc96878df8/yarl-1.22.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:f1e09112a2c31ffe8d80be1b0988fa6a18c5d5cad92a9ffbb1c04c91bfe52ad2", size = 94338, upload-time = "2025-10-06T14:09:46.372Z" }, + { url = "https://files.pythonhosted.org/packages/ba/f5/0601483296f09c3c65e303d60c070a5c19fcdbc72daa061e96170785bc7d/yarl-1.22.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:939fe60db294c786f6b7c2d2e121576628468f65453d86b0fe36cb52f987bd74", size = 94909, upload-time = "2025-10-06T14:09:48.648Z" }, + { url = "https://files.pythonhosted.org/packages/60/41/9a1fe0b73dbcefce72e46cf149b0e0a67612d60bfc90fb59c2b2efdfbd86/yarl-1.22.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e1651bf8e0398574646744c1885a41198eba53dc8a9312b954073f845c90a8df", size = 372940, upload-time = "2025-10-06T14:09:50.089Z" }, + { url = "https://files.pythonhosted.org/packages/17/7a/795cb6dfee561961c30b800f0ed616b923a2ec6258b5def2a00bf8231334/yarl-1.22.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:b8a0588521a26bf92a57a1705b77b8b59044cdceccac7151bd8d229e66b8dedb", size = 345825, upload-time = "2025-10-06T14:09:52.142Z" }, + { url = "https://files.pythonhosted.org/packages/d7/93/a58f4d596d2be2ae7bab1a5846c4d270b894958845753b2c606d666744d3/yarl-1.22.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:42188e6a615c1a75bcaa6e150c3fe8f3e8680471a6b10150c5f7e83f47cc34d2", size = 386705, upload-time = "2025-10-06T14:09:54.128Z" }, + { url = "https://files.pythonhosted.org/packages/61/92/682279d0e099d0e14d7fd2e176bd04f48de1484f56546a3e1313cd6c8e7c/yarl-1.22.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f6d2cb59377d99718913ad9a151030d6f83ef420a2b8f521d94609ecc106ee82", size = 396518, upload-time = "2025-10-06T14:09:55.762Z" }, + { url = "https://files.pythonhosted.org/packages/db/0f/0d52c98b8a885aeda831224b78f3be7ec2e1aa4a62091f9f9188c3c65b56/yarl-1.22.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50678a3b71c751d58d7908edc96d332af328839eea883bb554a43f539101277a", size = 377267, upload-time = "2025-10-06T14:09:57.958Z" }, + { url = "https://files.pythonhosted.org/packages/22/42/d2685e35908cbeaa6532c1fc73e89e7f2efb5d8a7df3959ea8e37177c5a3/yarl-1.22.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1e8fbaa7cec507aa24ea27a01456e8dd4b6fab829059b69844bd348f2d467124", size = 365797, upload-time = "2025-10-06T14:09:59.527Z" }, + { url = "https://files.pythonhosted.org/packages/a2/83/cf8c7bcc6355631762f7d8bdab920ad09b82efa6b722999dfb05afa6cfac/yarl-1.22.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:433885ab5431bc3d3d4f2f9bd15bfa1614c522b0f1405d62c4f926ccd69d04fa", size = 365535, upload-time = "2025-10-06T14:10:01.139Z" }, + { url = "https://files.pythonhosted.org/packages/25/e1/5302ff9b28f0c59cac913b91fe3f16c59a033887e57ce9ca5d41a3a94737/yarl-1.22.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:b790b39c7e9a4192dc2e201a282109ed2985a1ddbd5ac08dc56d0e121400a8f7", size = 382324, upload-time = "2025-10-06T14:10:02.756Z" }, + { url = "https://files.pythonhosted.org/packages/bf/cd/4617eb60f032f19ae3a688dc990d8f0d89ee0ea378b61cac81ede3e52fae/yarl-1.22.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:31f0b53913220599446872d757257be5898019c85e7971599065bc55065dc99d", size = 383803, upload-time = "2025-10-06T14:10:04.552Z" }, + { url = "https://files.pythonhosted.org/packages/59/65/afc6e62bb506a319ea67b694551dab4a7e6fb7bf604e9bd9f3e11d575fec/yarl-1.22.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a49370e8f711daec68d09b821a34e1167792ee2d24d405cbc2387be4f158b520", size = 374220, upload-time = "2025-10-06T14:10:06.489Z" }, + { url = "https://files.pythonhosted.org/packages/e7/3d/68bf18d50dc674b942daec86a9ba922d3113d8399b0e52b9897530442da2/yarl-1.22.0-cp312-cp312-win32.whl", hash = "sha256:70dfd4f241c04bd9239d53b17f11e6ab672b9f1420364af63e8531198e3f5fe8", size = 81589, upload-time = "2025-10-06T14:10:09.254Z" }, + { url = "https://files.pythonhosted.org/packages/c8/9a/6ad1a9b37c2f72874f93e691b2e7ecb6137fb2b899983125db4204e47575/yarl-1.22.0-cp312-cp312-win_amd64.whl", hash = "sha256:8884d8b332a5e9b88e23f60bb166890009429391864c685e17bd73a9eda9105c", size = 87213, upload-time = "2025-10-06T14:10:11.369Z" }, + { url = "https://files.pythonhosted.org/packages/44/c5/c21b562d1680a77634d748e30c653c3ca918beb35555cff24986fff54598/yarl-1.22.0-cp312-cp312-win_arm64.whl", hash = "sha256:ea70f61a47f3cc93bdf8b2f368ed359ef02a01ca6393916bc8ff877427181e74", size = 81330, upload-time = "2025-10-06T14:10:13.112Z" }, + { url = "https://files.pythonhosted.org/packages/ea/f3/d67de7260456ee105dc1d162d43a019ecad6b91e2f51809d6cddaa56690e/yarl-1.22.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8dee9c25c74997f6a750cd317b8ca63545169c098faee42c84aa5e506c819b53", size = 139980, upload-time = "2025-10-06T14:10:14.601Z" }, + { url = "https://files.pythonhosted.org/packages/01/88/04d98af0b47e0ef42597b9b28863b9060bb515524da0a65d5f4db160b2d5/yarl-1.22.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:01e73b85a5434f89fc4fe27dcda2aff08ddf35e4d47bbbea3bdcd25321af538a", size = 93424, upload-time = "2025-10-06T14:10:16.115Z" }, + { url = "https://files.pythonhosted.org/packages/18/91/3274b215fd8442a03975ce6bee5fe6aa57a8326b29b9d3d56234a1dca244/yarl-1.22.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:22965c2af250d20c873cdbee8ff958fb809940aeb2e74ba5f20aaf6b7ac8c70c", size = 93821, upload-time = "2025-10-06T14:10:17.993Z" }, + { url = "https://files.pythonhosted.org/packages/61/3a/caf4e25036db0f2da4ca22a353dfeb3c9d3c95d2761ebe9b14df8fc16eb0/yarl-1.22.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b4f15793aa49793ec8d1c708ab7f9eded1aa72edc5174cae703651555ed1b601", size = 373243, upload-time = "2025-10-06T14:10:19.44Z" }, + { url = "https://files.pythonhosted.org/packages/6e/9e/51a77ac7516e8e7803b06e01f74e78649c24ee1021eca3d6a739cb6ea49c/yarl-1.22.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e5542339dcf2747135c5c85f68680353d5cb9ffd741c0f2e8d832d054d41f35a", size = 342361, upload-time = "2025-10-06T14:10:21.124Z" }, + { url = "https://files.pythonhosted.org/packages/d4/f8/33b92454789dde8407f156c00303e9a891f1f51a0330b0fad7c909f87692/yarl-1.22.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5c401e05ad47a75869c3ab3e35137f8468b846770587e70d71e11de797d113df", size = 387036, upload-time = "2025-10-06T14:10:22.902Z" }, + { url = "https://files.pythonhosted.org/packages/d9/9a/c5db84ea024f76838220280f732970aa4ee154015d7f5c1bfb60a267af6f/yarl-1.22.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:243dda95d901c733f5b59214d28b0120893d91777cb8aa043e6ef059d3cddfe2", size = 397671, upload-time = "2025-10-06T14:10:24.523Z" }, + { url = "https://files.pythonhosted.org/packages/11/c9/cd8538dc2e7727095e0c1d867bad1e40c98f37763e6d995c1939f5fdc7b1/yarl-1.22.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bec03d0d388060058f5d291a813f21c011041938a441c593374da6077fe21b1b", size = 377059, upload-time = "2025-10-06T14:10:26.406Z" }, + { url = "https://files.pythonhosted.org/packages/a1/b9/ab437b261702ced75122ed78a876a6dec0a1b0f5e17a4ac7a9a2482d8abe/yarl-1.22.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b0748275abb8c1e1e09301ee3cf90c8a99678a4e92e4373705f2a2570d581273", size = 365356, upload-time = "2025-10-06T14:10:28.461Z" }, + { url = "https://files.pythonhosted.org/packages/b2/9d/8e1ae6d1d008a9567877b08f0ce4077a29974c04c062dabdb923ed98e6fe/yarl-1.22.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:47fdb18187e2a4e18fda2c25c05d8251a9e4a521edaed757fef033e7d8498d9a", size = 361331, upload-time = "2025-10-06T14:10:30.541Z" }, + { url = "https://files.pythonhosted.org/packages/ca/5a/09b7be3905962f145b73beb468cdd53db8aa171cf18c80400a54c5b82846/yarl-1.22.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:c7044802eec4524fde550afc28edda0dd5784c4c45f0be151a2d3ba017daca7d", size = 382590, upload-time = "2025-10-06T14:10:33.352Z" }, + { url = "https://files.pythonhosted.org/packages/aa/7f/59ec509abf90eda5048b0bc3e2d7b5099dffdb3e6b127019895ab9d5ef44/yarl-1.22.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:139718f35149ff544caba20fce6e8a2f71f1e39b92c700d8438a0b1d2a631a02", size = 385316, upload-time = "2025-10-06T14:10:35.034Z" }, + { url = "https://files.pythonhosted.org/packages/e5/84/891158426bc8036bfdfd862fabd0e0fa25df4176ec793e447f4b85cf1be4/yarl-1.22.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e1b51bebd221006d3d2f95fbe124b22b247136647ae5dcc8c7acafba66e5ee67", size = 374431, upload-time = "2025-10-06T14:10:37.76Z" }, + { url = "https://files.pythonhosted.org/packages/bb/49/03da1580665baa8bef5e8ed34c6df2c2aca0a2f28bf397ed238cc1bbc6f2/yarl-1.22.0-cp313-cp313-win32.whl", hash = "sha256:d3e32536234a95f513bd374e93d717cf6b2231a791758de6c509e3653f234c95", size = 81555, upload-time = "2025-10-06T14:10:39.649Z" }, + { url = "https://files.pythonhosted.org/packages/9a/ee/450914ae11b419eadd067c6183ae08381cfdfcb9798b90b2b713bbebddda/yarl-1.22.0-cp313-cp313-win_amd64.whl", hash = "sha256:47743b82b76d89a1d20b83e60d5c20314cbd5ba2befc9cda8f28300c4a08ed4d", size = 86965, upload-time = "2025-10-06T14:10:41.313Z" }, + { url = "https://files.pythonhosted.org/packages/98/4d/264a01eae03b6cf629ad69bae94e3b0e5344741e929073678e84bf7a3e3b/yarl-1.22.0-cp313-cp313-win_arm64.whl", hash = "sha256:5d0fcda9608875f7d052eff120c7a5da474a6796fe4d83e152e0e4d42f6d1a9b", size = 81205, upload-time = "2025-10-06T14:10:43.167Z" }, + { url = "https://files.pythonhosted.org/packages/88/fc/6908f062a2f77b5f9f6d69cecb1747260831ff206adcbc5b510aff88df91/yarl-1.22.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:719ae08b6972befcba4310e49edb1161a88cdd331e3a694b84466bd938a6ab10", size = 146209, upload-time = "2025-10-06T14:10:44.643Z" }, + { url = "https://files.pythonhosted.org/packages/65/47/76594ae8eab26210b4867be6f49129861ad33da1f1ebdf7051e98492bf62/yarl-1.22.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:47d8a5c446df1c4db9d21b49619ffdba90e77c89ec6e283f453856c74b50b9e3", size = 95966, upload-time = "2025-10-06T14:10:46.554Z" }, + { url = "https://files.pythonhosted.org/packages/ab/ce/05e9828a49271ba6b5b038b15b3934e996980dd78abdfeb52a04cfb9467e/yarl-1.22.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:cfebc0ac8333520d2d0423cbbe43ae43c8838862ddb898f5ca68565e395516e9", size = 97312, upload-time = "2025-10-06T14:10:48.007Z" }, + { url = "https://files.pythonhosted.org/packages/d1/c5/7dffad5e4f2265b29c9d7ec869c369e4223166e4f9206fc2243ee9eea727/yarl-1.22.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4398557cbf484207df000309235979c79c4356518fd5c99158c7d38203c4da4f", size = 361967, upload-time = "2025-10-06T14:10:49.997Z" }, + { url = "https://files.pythonhosted.org/packages/50/b2/375b933c93a54bff7fc041e1a6ad2c0f6f733ffb0c6e642ce56ee3b39970/yarl-1.22.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2ca6fd72a8cd803be290d42f2dec5cdcd5299eeb93c2d929bf060ad9efaf5de0", size = 323949, upload-time = "2025-10-06T14:10:52.004Z" }, + { url = "https://files.pythonhosted.org/packages/66/50/bfc2a29a1d78644c5a7220ce2f304f38248dc94124a326794e677634b6cf/yarl-1.22.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ca1f59c4e1ab6e72f0a23c13fca5430f889634166be85dbf1013683e49e3278e", size = 361818, upload-time = "2025-10-06T14:10:54.078Z" }, + { url = "https://files.pythonhosted.org/packages/46/96/f3941a46af7d5d0f0498f86d71275696800ddcdd20426298e572b19b91ff/yarl-1.22.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6c5010a52015e7c70f86eb967db0f37f3c8bd503a695a49f8d45700144667708", size = 372626, upload-time = "2025-10-06T14:10:55.767Z" }, + { url = "https://files.pythonhosted.org/packages/c1/42/8b27c83bb875cd89448e42cd627e0fb971fa1675c9ec546393d18826cb50/yarl-1.22.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d7672ecf7557476642c88497c2f8d8542f8e36596e928e9bcba0e42e1e7d71f", size = 341129, upload-time = "2025-10-06T14:10:57.985Z" }, + { url = "https://files.pythonhosted.org/packages/49/36/99ca3122201b382a3cf7cc937b95235b0ac944f7e9f2d5331d50821ed352/yarl-1.22.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:3b7c88eeef021579d600e50363e0b6ee4f7f6f728cd3486b9d0f3ee7b946398d", size = 346776, upload-time = "2025-10-06T14:10:59.633Z" }, + { url = "https://files.pythonhosted.org/packages/85/b4/47328bf996acd01a4c16ef9dcd2f59c969f495073616586f78cd5f2efb99/yarl-1.22.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:f4afb5c34f2c6fecdcc182dfcfc6af6cccf1aa923eed4d6a12e9d96904e1a0d8", size = 334879, upload-time = "2025-10-06T14:11:01.454Z" }, + { url = "https://files.pythonhosted.org/packages/c2/ad/b77d7b3f14a4283bffb8e92c6026496f6de49751c2f97d4352242bba3990/yarl-1.22.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:59c189e3e99a59cf8d83cbb31d4db02d66cda5a1a4374e8a012b51255341abf5", size = 350996, upload-time = "2025-10-06T14:11:03.452Z" }, + { url = "https://files.pythonhosted.org/packages/81/c8/06e1d69295792ba54d556f06686cbd6a7ce39c22307100e3fb4a2c0b0a1d/yarl-1.22.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:5a3bf7f62a289fa90f1990422dc8dff5a458469ea71d1624585ec3a4c8d6960f", size = 356047, upload-time = "2025-10-06T14:11:05.115Z" }, + { url = "https://files.pythonhosted.org/packages/4b/b8/4c0e9e9f597074b208d18cef227d83aac36184bfbc6eab204ea55783dbc5/yarl-1.22.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:de6b9a04c606978fdfe72666fa216ffcf2d1a9f6a381058d4378f8d7b1e5de62", size = 342947, upload-time = "2025-10-06T14:11:08.137Z" }, + { url = "https://files.pythonhosted.org/packages/e0/e5/11f140a58bf4c6ad7aca69a892bff0ee638c31bea4206748fc0df4ebcb3a/yarl-1.22.0-cp313-cp313t-win32.whl", hash = "sha256:1834bb90991cc2999f10f97f5f01317f99b143284766d197e43cd5b45eb18d03", size = 86943, upload-time = "2025-10-06T14:11:10.284Z" }, + { url = "https://files.pythonhosted.org/packages/31/74/8b74bae38ed7fe6793d0c15a0c8207bbb819cf287788459e5ed230996cdd/yarl-1.22.0-cp313-cp313t-win_amd64.whl", hash = "sha256:ff86011bd159a9d2dfc89c34cfd8aff12875980e3bd6a39ff097887520e60249", size = 93715, upload-time = "2025-10-06T14:11:11.739Z" }, + { url = "https://files.pythonhosted.org/packages/69/66/991858aa4b5892d57aef7ee1ba6b4d01ec3b7eb3060795d34090a3ca3278/yarl-1.22.0-cp313-cp313t-win_arm64.whl", hash = "sha256:7861058d0582b847bc4e3a4a4c46828a410bca738673f35a29ba3ca5db0b473b", size = 83857, upload-time = "2025-10-06T14:11:13.586Z" }, + { url = "https://files.pythonhosted.org/packages/46/b3/e20ef504049f1a1c54a814b4b9bed96d1ac0e0610c3b4da178f87209db05/yarl-1.22.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:34b36c2c57124530884d89d50ed2c1478697ad7473efd59cfd479945c95650e4", size = 140520, upload-time = "2025-10-06T14:11:15.465Z" }, + { url = "https://files.pythonhosted.org/packages/e4/04/3532d990fdbab02e5ede063676b5c4260e7f3abea2151099c2aa745acc4c/yarl-1.22.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:0dd9a702591ca2e543631c2a017e4a547e38a5c0f29eece37d9097e04a7ac683", size = 93504, upload-time = "2025-10-06T14:11:17.106Z" }, + { url = "https://files.pythonhosted.org/packages/11/63/ff458113c5c2dac9a9719ac68ee7c947cb621432bcf28c9972b1c0e83938/yarl-1.22.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:594fcab1032e2d2cc3321bb2e51271e7cd2b516c7d9aee780ece81b07ff8244b", size = 94282, upload-time = "2025-10-06T14:11:19.064Z" }, + { url = "https://files.pythonhosted.org/packages/a7/bc/315a56aca762d44a6aaaf7ad253f04d996cb6b27bad34410f82d76ea8038/yarl-1.22.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f3d7a87a78d46a2e3d5b72587ac14b4c16952dd0887dbb051451eceac774411e", size = 372080, upload-time = "2025-10-06T14:11:20.996Z" }, + { url = "https://files.pythonhosted.org/packages/3f/3f/08e9b826ec2e099ea6e7c69a61272f4f6da62cb5b1b63590bb80ca2e4a40/yarl-1.22.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:852863707010316c973162e703bddabec35e8757e67fcb8ad58829de1ebc8590", size = 338696, upload-time = "2025-10-06T14:11:22.847Z" }, + { url = "https://files.pythonhosted.org/packages/e3/9f/90360108e3b32bd76789088e99538febfea24a102380ae73827f62073543/yarl-1.22.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:131a085a53bfe839a477c0845acf21efc77457ba2bcf5899618136d64f3303a2", size = 387121, upload-time = "2025-10-06T14:11:24.889Z" }, + { url = "https://files.pythonhosted.org/packages/98/92/ab8d4657bd5b46a38094cfaea498f18bb70ce6b63508fd7e909bd1f93066/yarl-1.22.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:078a8aefd263f4d4f923a9677b942b445a2be970ca24548a8102689a3a8ab8da", size = 394080, upload-time = "2025-10-06T14:11:27.307Z" }, + { url = "https://files.pythonhosted.org/packages/f5/e7/d8c5a7752fef68205296201f8ec2bf718f5c805a7a7e9880576c67600658/yarl-1.22.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bca03b91c323036913993ff5c738d0842fc9c60c4648e5c8d98331526df89784", size = 372661, upload-time = "2025-10-06T14:11:29.387Z" }, + { url = "https://files.pythonhosted.org/packages/b6/2e/f4d26183c8db0bb82d491b072f3127fb8c381a6206a3a56332714b79b751/yarl-1.22.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:68986a61557d37bb90d3051a45b91fa3d5c516d177dfc6dd6f2f436a07ff2b6b", size = 364645, upload-time = "2025-10-06T14:11:31.423Z" }, + { url = "https://files.pythonhosted.org/packages/80/7c/428e5812e6b87cd00ee8e898328a62c95825bf37c7fa87f0b6bb2ad31304/yarl-1.22.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:4792b262d585ff0dff6bcb787f8492e40698443ec982a3568c2096433660c694", size = 355361, upload-time = "2025-10-06T14:11:33.055Z" }, + { url = "https://files.pythonhosted.org/packages/ec/2a/249405fd26776f8b13c067378ef4d7dd49c9098d1b6457cdd152a99e96a9/yarl-1.22.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:ebd4549b108d732dba1d4ace67614b9545b21ece30937a63a65dd34efa19732d", size = 381451, upload-time = "2025-10-06T14:11:35.136Z" }, + { url = "https://files.pythonhosted.org/packages/67/a8/fb6b1adbe98cf1e2dd9fad71003d3a63a1bc22459c6e15f5714eb9323b93/yarl-1.22.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:f87ac53513d22240c7d59203f25cc3beac1e574c6cd681bbfd321987b69f95fd", size = 383814, upload-time = "2025-10-06T14:11:37.094Z" }, + { url = "https://files.pythonhosted.org/packages/d9/f9/3aa2c0e480fb73e872ae2814c43bc1e734740bb0d54e8cb2a95925f98131/yarl-1.22.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:22b029f2881599e2f1b06f8f1db2ee63bd309e2293ba2d566e008ba12778b8da", size = 370799, upload-time = "2025-10-06T14:11:38.83Z" }, + { url = "https://files.pythonhosted.org/packages/50/3c/af9dba3b8b5eeb302f36f16f92791f3ea62e3f47763406abf6d5a4a3333b/yarl-1.22.0-cp314-cp314-win32.whl", hash = "sha256:6a635ea45ba4ea8238463b4f7d0e721bad669f80878b7bfd1f89266e2ae63da2", size = 82990, upload-time = "2025-10-06T14:11:40.624Z" }, + { url = "https://files.pythonhosted.org/packages/ac/30/ac3a0c5bdc1d6efd1b41fa24d4897a4329b3b1e98de9449679dd327af4f0/yarl-1.22.0-cp314-cp314-win_amd64.whl", hash = "sha256:0d6e6885777af0f110b0e5d7e5dda8b704efed3894da26220b7f3d887b839a79", size = 88292, upload-time = "2025-10-06T14:11:42.578Z" }, + { url = "https://files.pythonhosted.org/packages/df/0a/227ab4ff5b998a1b7410abc7b46c9b7a26b0ca9e86c34ba4b8d8bc7c63d5/yarl-1.22.0-cp314-cp314-win_arm64.whl", hash = "sha256:8218f4e98d3c10d683584cb40f0424f4b9fd6e95610232dd75e13743b070ee33", size = 82888, upload-time = "2025-10-06T14:11:44.863Z" }, + { url = "https://files.pythonhosted.org/packages/06/5e/a15eb13db90abd87dfbefb9760c0f3f257ac42a5cac7e75dbc23bed97a9f/yarl-1.22.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:45c2842ff0e0d1b35a6bf1cd6c690939dacb617a70827f715232b2e0494d55d1", size = 146223, upload-time = "2025-10-06T14:11:46.796Z" }, + { url = "https://files.pythonhosted.org/packages/18/82/9665c61910d4d84f41a5bf6837597c89e665fa88aa4941080704645932a9/yarl-1.22.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:d947071e6ebcf2e2bee8fce76e10faca8f7a14808ca36a910263acaacef08eca", size = 95981, upload-time = "2025-10-06T14:11:48.845Z" }, + { url = "https://files.pythonhosted.org/packages/5d/9a/2f65743589809af4d0a6d3aa749343c4b5f4c380cc24a8e94a3c6625a808/yarl-1.22.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:334b8721303e61b00019474cc103bdac3d7b1f65e91f0bfedeec2d56dfe74b53", size = 97303, upload-time = "2025-10-06T14:11:50.897Z" }, + { url = "https://files.pythonhosted.org/packages/b0/ab/5b13d3e157505c43c3b43b5a776cbf7b24a02bc4cccc40314771197e3508/yarl-1.22.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e7ce67c34138a058fd092f67d07a72b8e31ff0c9236e751957465a24b28910c", size = 361820, upload-time = "2025-10-06T14:11:52.549Z" }, + { url = "https://files.pythonhosted.org/packages/fb/76/242a5ef4677615cf95330cfc1b4610e78184400699bdda0acb897ef5e49a/yarl-1.22.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d77e1b2c6d04711478cb1c4ab90db07f1609ccf06a287d5607fcd90dc9863acf", size = 323203, upload-time = "2025-10-06T14:11:54.225Z" }, + { url = "https://files.pythonhosted.org/packages/8c/96/475509110d3f0153b43d06164cf4195c64d16999e0c7e2d8a099adcd6907/yarl-1.22.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4647674b6150d2cae088fc07de2738a84b8bcedebef29802cf0b0a82ab6face", size = 363173, upload-time = "2025-10-06T14:11:56.069Z" }, + { url = "https://files.pythonhosted.org/packages/c9/66/59db471aecfbd559a1fd48aedd954435558cd98c7d0da8b03cc6c140a32c/yarl-1.22.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:efb07073be061c8f79d03d04139a80ba33cbd390ca8f0297aae9cce6411e4c6b", size = 373562, upload-time = "2025-10-06T14:11:58.783Z" }, + { url = "https://files.pythonhosted.org/packages/03/1f/c5d94abc91557384719da10ff166b916107c1b45e4d0423a88457071dd88/yarl-1.22.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e51ac5435758ba97ad69617e13233da53908beccc6cfcd6c34bbed8dcbede486", size = 339828, upload-time = "2025-10-06T14:12:00.686Z" }, + { url = "https://files.pythonhosted.org/packages/5f/97/aa6a143d3afba17b6465733681c70cf175af89f76ec8d9286e08437a7454/yarl-1.22.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:33e32a0dd0c8205efa8e83d04fc9f19313772b78522d1bdc7d9aed706bfd6138", size = 347551, upload-time = "2025-10-06T14:12:02.628Z" }, + { url = "https://files.pythonhosted.org/packages/43/3c/45a2b6d80195959239a7b2a8810506d4eea5487dce61c2a3393e7fc3c52e/yarl-1.22.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:bf4a21e58b9cde0e401e683ebd00f6ed30a06d14e93f7c8fd059f8b6e8f87b6a", size = 334512, upload-time = "2025-10-06T14:12:04.871Z" }, + { url = "https://files.pythonhosted.org/packages/86/a0/c2ab48d74599c7c84cb104ebd799c5813de252bea0f360ffc29d270c2caa/yarl-1.22.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:e4b582bab49ac33c8deb97e058cd67c2c50dac0dd134874106d9c774fd272529", size = 352400, upload-time = "2025-10-06T14:12:06.624Z" }, + { url = "https://files.pythonhosted.org/packages/32/75/f8919b2eafc929567d3d8411f72bdb1a2109c01caaab4ebfa5f8ffadc15b/yarl-1.22.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:0b5bcc1a9c4839e7e30b7b30dd47fe5e7e44fb7054ec29b5bb8d526aa1041093", size = 357140, upload-time = "2025-10-06T14:12:08.362Z" }, + { url = "https://files.pythonhosted.org/packages/cf/72/6a85bba382f22cf78add705d8c3731748397d986e197e53ecc7835e76de7/yarl-1.22.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c0232bce2170103ec23c454e54a57008a9a72b5d1c3105dc2496750da8cfa47c", size = 341473, upload-time = "2025-10-06T14:12:10.994Z" }, + { url = "https://files.pythonhosted.org/packages/35/18/55e6011f7c044dc80b98893060773cefcfdbf60dfefb8cb2f58b9bacbd83/yarl-1.22.0-cp314-cp314t-win32.whl", hash = "sha256:8009b3173bcd637be650922ac455946197d858b3630b6d8787aa9e5c4564533e", size = 89056, upload-time = "2025-10-06T14:12:13.317Z" }, + { url = "https://files.pythonhosted.org/packages/f9/86/0f0dccb6e59a9e7f122c5afd43568b1d31b8ab7dda5f1b01fb5c7025c9a9/yarl-1.22.0-cp314-cp314t-win_amd64.whl", hash = "sha256:9fb17ea16e972c63d25d4a97f016d235c78dd2344820eb35bc034bc32012ee27", size = 96292, upload-time = "2025-10-06T14:12:15.398Z" }, + { url = "https://files.pythonhosted.org/packages/48/b7/503c98092fb3b344a179579f55814b613c1fbb1c23b3ec14a7b008a66a6e/yarl-1.22.0-cp314-cp314t-win_arm64.whl", hash = "sha256:9f6d73c1436b934e3f01df1e1b21ff765cd1d28c77dfb9ace207f746d4610ee1", size = 85171, upload-time = "2025-10-06T14:12:16.935Z" }, + { url = "https://files.pythonhosted.org/packages/73/ae/b48f95715333080afb75a4504487cbe142cae1268afc482d06692d605ae6/yarl-1.22.0-py3-none-any.whl", hash = "sha256:1380560bdba02b6b6c90de54133c81c9f2a453dee9912fe58c1dcced1edb7cff", size = 46814, upload-time = "2025-10-06T14:12:53.872Z" }, +] + +[[package]] +name = "zipp" +version = "3.23.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/02/0f2892c661036d50ede074e376733dca2ae7c6eb617489437771209d4180/zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166", size = 25547, upload-time = "2025-06-08T17:06:39.4Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2e/54/647ade08bf0db230bfea292f893923872fd20be6ac6f53b2b936ba839d75/zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e", size = 10276, upload-time = "2025-06-08T17:06:38.034Z" }, +] + +[[package]] +name = "zstandard" +version = "0.25.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/fd/aa/3e0508d5a5dd96529cdc5a97011299056e14c6505b678fd58938792794b1/zstandard-0.25.0.tar.gz", hash = "sha256:7713e1179d162cf5c7906da876ec2ccb9c3a9dcbdffef0cc7f70c3667a205f0b", size = 711513, upload-time = "2025-09-14T22:15:54.002Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/56/7a/28efd1d371f1acd037ac64ed1c5e2b41514a6cc937dd6ab6a13ab9f0702f/zstandard-0.25.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e59fdc271772f6686e01e1b3b74537259800f57e24280be3f29c8a0deb1904dd", size = 795256, upload-time = "2025-09-14T22:15:56.415Z" }, + { url = "https://files.pythonhosted.org/packages/96/34/ef34ef77f1ee38fc8e4f9775217a613b452916e633c4f1d98f31db52c4a5/zstandard-0.25.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4d441506e9b372386a5271c64125f72d5df6d2a8e8a2a45a0ae09b03cb781ef7", size = 640565, upload-time = "2025-09-14T22:15:58.177Z" }, + { url = "https://files.pythonhosted.org/packages/9d/1b/4fdb2c12eb58f31f28c4d28e8dc36611dd7205df8452e63f52fb6261d13e/zstandard-0.25.0-cp310-cp310-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:ab85470ab54c2cb96e176f40342d9ed41e58ca5733be6a893b730e7af9c40550", size = 5345306, upload-time = "2025-09-14T22:16:00.165Z" }, + { url = "https://files.pythonhosted.org/packages/73/28/a44bdece01bca027b079f0e00be3b6bd89a4df180071da59a3dd7381665b/zstandard-0.25.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e05ab82ea7753354bb054b92e2f288afb750e6b439ff6ca78af52939ebbc476d", size = 5055561, upload-time = "2025-09-14T22:16:02.22Z" }, + { url = "https://files.pythonhosted.org/packages/e9/74/68341185a4f32b274e0fc3410d5ad0750497e1acc20bd0f5b5f64ce17785/zstandard-0.25.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:78228d8a6a1c177a96b94f7e2e8d012c55f9c760761980da16ae7546a15a8e9b", size = 5402214, upload-time = "2025-09-14T22:16:04.109Z" }, + { url = "https://files.pythonhosted.org/packages/8b/67/f92e64e748fd6aaffe01e2b75a083c0c4fd27abe1c8747fee4555fcee7dd/zstandard-0.25.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:2b6bd67528ee8b5c5f10255735abc21aa106931f0dbaf297c7be0c886353c3d0", size = 5449703, upload-time = "2025-09-14T22:16:06.312Z" }, + { url = "https://files.pythonhosted.org/packages/fd/e5/6d36f92a197c3c17729a2125e29c169f460538a7d939a27eaaa6dcfcba8e/zstandard-0.25.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4b6d83057e713ff235a12e73916b6d356e3084fd3d14ced499d84240f3eecee0", size = 5556583, upload-time = "2025-09-14T22:16:08.457Z" }, + { url = "https://files.pythonhosted.org/packages/d7/83/41939e60d8d7ebfe2b747be022d0806953799140a702b90ffe214d557638/zstandard-0.25.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:9174f4ed06f790a6869b41cba05b43eeb9a35f8993c4422ab853b705e8112bbd", size = 5045332, upload-time = "2025-09-14T22:16:10.444Z" }, + { url = "https://files.pythonhosted.org/packages/b3/87/d3ee185e3d1aa0133399893697ae91f221fda79deb61adbe998a7235c43f/zstandard-0.25.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:25f8f3cd45087d089aef5ba3848cd9efe3ad41163d3400862fb42f81a3a46701", size = 5572283, upload-time = "2025-09-14T22:16:12.128Z" }, + { url = "https://files.pythonhosted.org/packages/0a/1d/58635ae6104df96671076ac7d4ae7816838ce7debd94aecf83e30b7121b0/zstandard-0.25.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3756b3e9da9b83da1796f8809dd57cb024f838b9eeafde28f3cb472012797ac1", size = 4959754, upload-time = "2025-09-14T22:16:14.225Z" }, + { url = "https://files.pythonhosted.org/packages/75/d6/57e9cb0a9983e9a229dd8fd2e6e96593ef2aa82a3907188436f22b111ccd/zstandard-0.25.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:81dad8d145d8fd981b2962b686b2241d3a1ea07733e76a2f15435dfb7fb60150", size = 5266477, upload-time = "2025-09-14T22:16:16.343Z" }, + { url = "https://files.pythonhosted.org/packages/d1/a9/ee891e5edf33a6ebce0a028726f0bbd8567effe20fe3d5808c42323e8542/zstandard-0.25.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:a5a419712cf88862a45a23def0ae063686db3d324cec7edbe40509d1a79a0aab", size = 5440914, upload-time = "2025-09-14T22:16:18.453Z" }, + { url = "https://files.pythonhosted.org/packages/58/08/a8522c28c08031a9521f27abc6f78dbdee7312a7463dd2cfc658b813323b/zstandard-0.25.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:e7360eae90809efd19b886e59a09dad07da4ca9ba096752e61a2e03c8aca188e", size = 5819847, upload-time = "2025-09-14T22:16:20.559Z" }, + { url = "https://files.pythonhosted.org/packages/6f/11/4c91411805c3f7b6f31c60e78ce347ca48f6f16d552fc659af6ec3b73202/zstandard-0.25.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:75ffc32a569fb049499e63ce68c743155477610532da1eb38e7f24bf7cd29e74", size = 5363131, upload-time = "2025-09-14T22:16:22.206Z" }, + { url = "https://files.pythonhosted.org/packages/ef/d6/8c4bd38a3b24c4c7676a7a3d8de85d6ee7a983602a734b9f9cdefb04a5d6/zstandard-0.25.0-cp310-cp310-win32.whl", hash = "sha256:106281ae350e494f4ac8a80470e66d1fe27e497052c8d9c3b95dc4cf1ade81aa", size = 436469, upload-time = "2025-09-14T22:16:25.002Z" }, + { url = "https://files.pythonhosted.org/packages/93/90/96d50ad417a8ace5f841b3228e93d1bb13e6ad356737f42e2dde30d8bd68/zstandard-0.25.0-cp310-cp310-win_amd64.whl", hash = "sha256:ea9d54cc3d8064260114a0bbf3479fc4a98b21dffc89b3459edd506b69262f6e", size = 506100, upload-time = "2025-09-14T22:16:23.569Z" }, + { url = "https://files.pythonhosted.org/packages/2a/83/c3ca27c363d104980f1c9cee1101cc8ba724ac8c28a033ede6aab89585b1/zstandard-0.25.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:933b65d7680ea337180733cf9e87293cc5500cc0eb3fc8769f4d3c88d724ec5c", size = 795254, upload-time = "2025-09-14T22:16:26.137Z" }, + { url = "https://files.pythonhosted.org/packages/ac/4d/e66465c5411a7cf4866aeadc7d108081d8ceba9bc7abe6b14aa21c671ec3/zstandard-0.25.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a3f79487c687b1fc69f19e487cd949bf3aae653d181dfb5fde3bf6d18894706f", size = 640559, upload-time = "2025-09-14T22:16:27.973Z" }, + { url = "https://files.pythonhosted.org/packages/12/56/354fe655905f290d3b147b33fe946b0f27e791e4b50a5f004c802cb3eb7b/zstandard-0.25.0-cp311-cp311-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:0bbc9a0c65ce0eea3c34a691e3c4b6889f5f3909ba4822ab385fab9057099431", size = 5348020, upload-time = "2025-09-14T22:16:29.523Z" }, + { url = "https://files.pythonhosted.org/packages/3b/13/2b7ed68bd85e69a2069bcc72141d378f22cae5a0f3b353a2c8f50ef30c1b/zstandard-0.25.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:01582723b3ccd6939ab7b3a78622c573799d5d8737b534b86d0e06ac18dbde4a", size = 5058126, upload-time = "2025-09-14T22:16:31.811Z" }, + { url = "https://files.pythonhosted.org/packages/c9/dd/fdaf0674f4b10d92cb120ccff58bbb6626bf8368f00ebfd2a41ba4a0dc99/zstandard-0.25.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:5f1ad7bf88535edcf30038f6919abe087f606f62c00a87d7e33e7fc57cb69fcc", size = 5405390, upload-time = "2025-09-14T22:16:33.486Z" }, + { url = "https://files.pythonhosted.org/packages/0f/67/354d1555575bc2490435f90d67ca4dd65238ff2f119f30f72d5cde09c2ad/zstandard-0.25.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:06acb75eebeedb77b69048031282737717a63e71e4ae3f77cc0c3b9508320df6", size = 5452914, upload-time = "2025-09-14T22:16:35.277Z" }, + { url = "https://files.pythonhosted.org/packages/bb/1f/e9cfd801a3f9190bf3e759c422bbfd2247db9d7f3d54a56ecde70137791a/zstandard-0.25.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9300d02ea7c6506f00e627e287e0492a5eb0371ec1670ae852fefffa6164b072", size = 5559635, upload-time = "2025-09-14T22:16:37.141Z" }, + { url = "https://files.pythonhosted.org/packages/21/88/5ba550f797ca953a52d708c8e4f380959e7e3280af029e38fbf47b55916e/zstandard-0.25.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:bfd06b1c5584b657a2892a6014c2f4c20e0db0208c159148fa78c65f7e0b0277", size = 5048277, upload-time = "2025-09-14T22:16:38.807Z" }, + { url = "https://files.pythonhosted.org/packages/46/c0/ca3e533b4fa03112facbe7fbe7779cb1ebec215688e5df576fe5429172e0/zstandard-0.25.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f373da2c1757bb7f1acaf09369cdc1d51d84131e50d5fa9863982fd626466313", size = 5574377, upload-time = "2025-09-14T22:16:40.523Z" }, + { url = "https://files.pythonhosted.org/packages/12/9b/3fb626390113f272abd0799fd677ea33d5fc3ec185e62e6be534493c4b60/zstandard-0.25.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6c0e5a65158a7946e7a7affa6418878ef97ab66636f13353b8502d7ea03c8097", size = 4961493, upload-time = "2025-09-14T22:16:43.3Z" }, + { url = "https://files.pythonhosted.org/packages/cb/d3/23094a6b6a4b1343b27ae68249daa17ae0651fcfec9ed4de09d14b940285/zstandard-0.25.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:c8e167d5adf59476fa3e37bee730890e389410c354771a62e3c076c86f9f7778", size = 5269018, upload-time = "2025-09-14T22:16:45.292Z" }, + { url = "https://files.pythonhosted.org/packages/8c/a7/bb5a0c1c0f3f4b5e9d5b55198e39de91e04ba7c205cc46fcb0f95f0383c1/zstandard-0.25.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:98750a309eb2f020da61e727de7d7ba3c57c97cf6213f6f6277bb7fb42a8e065", size = 5443672, upload-time = "2025-09-14T22:16:47.076Z" }, + { url = "https://files.pythonhosted.org/packages/27/22/503347aa08d073993f25109c36c8d9f029c7d5949198050962cb568dfa5e/zstandard-0.25.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:22a086cff1b6ceca18a8dd6096ec631e430e93a8e70a9ca5efa7561a00f826fa", size = 5822753, upload-time = "2025-09-14T22:16:49.316Z" }, + { url = "https://files.pythonhosted.org/packages/e2/be/94267dc6ee64f0f8ba2b2ae7c7a2df934a816baaa7291db9e1aa77394c3c/zstandard-0.25.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:72d35d7aa0bba323965da807a462b0966c91608ef3a48ba761678cb20ce5d8b7", size = 5366047, upload-time = "2025-09-14T22:16:51.328Z" }, + { url = "https://files.pythonhosted.org/packages/7b/a3/732893eab0a3a7aecff8b99052fecf9f605cf0fb5fb6d0290e36beee47a4/zstandard-0.25.0-cp311-cp311-win32.whl", hash = "sha256:f5aeea11ded7320a84dcdd62a3d95b5186834224a9e55b92ccae35d21a8b63d4", size = 436484, upload-time = "2025-09-14T22:16:55.005Z" }, + { url = "https://files.pythonhosted.org/packages/43/a3/c6155f5c1cce691cb80dfd38627046e50af3ee9ddc5d0b45b9b063bfb8c9/zstandard-0.25.0-cp311-cp311-win_amd64.whl", hash = "sha256:daab68faadb847063d0c56f361a289c4f268706b598afbf9ad113cbe5c38b6b2", size = 506183, upload-time = "2025-09-14T22:16:52.753Z" }, + { url = "https://files.pythonhosted.org/packages/8c/3e/8945ab86a0820cc0e0cdbf38086a92868a9172020fdab8a03ac19662b0e5/zstandard-0.25.0-cp311-cp311-win_arm64.whl", hash = "sha256:22a06c5df3751bb7dc67406f5374734ccee8ed37fc5981bf1ad7041831fa1137", size = 462533, upload-time = "2025-09-14T22:16:53.878Z" }, + { url = "https://files.pythonhosted.org/packages/82/fc/f26eb6ef91ae723a03e16eddb198abcfce2bc5a42e224d44cc8b6765e57e/zstandard-0.25.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7b3c3a3ab9daa3eed242d6ecceead93aebbb8f5f84318d82cee643e019c4b73b", size = 795738, upload-time = "2025-09-14T22:16:56.237Z" }, + { url = "https://files.pythonhosted.org/packages/aa/1c/d920d64b22f8dd028a8b90e2d756e431a5d86194caa78e3819c7bf53b4b3/zstandard-0.25.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:913cbd31a400febff93b564a23e17c3ed2d56c064006f54efec210d586171c00", size = 640436, upload-time = "2025-09-14T22:16:57.774Z" }, + { url = "https://files.pythonhosted.org/packages/53/6c/288c3f0bd9fcfe9ca41e2c2fbfd17b2097f6af57b62a81161941f09afa76/zstandard-0.25.0-cp312-cp312-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:011d388c76b11a0c165374ce660ce2c8efa8e5d87f34996aa80f9c0816698b64", size = 5343019, upload-time = "2025-09-14T22:16:59.302Z" }, + { url = "https://files.pythonhosted.org/packages/1e/15/efef5a2f204a64bdb5571e6161d49f7ef0fffdbca953a615efbec045f60f/zstandard-0.25.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6dffecc361d079bb48d7caef5d673c88c8988d3d33fb74ab95b7ee6da42652ea", size = 5063012, upload-time = "2025-09-14T22:17:01.156Z" }, + { url = "https://files.pythonhosted.org/packages/b7/37/a6ce629ffdb43959e92e87ebdaeebb5ac81c944b6a75c9c47e300f85abdf/zstandard-0.25.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7149623bba7fdf7e7f24312953bcf73cae103db8cae49f8154dd1eadc8a29ecb", size = 5394148, upload-time = "2025-09-14T22:17:03.091Z" }, + { url = "https://files.pythonhosted.org/packages/e3/79/2bf870b3abeb5c070fe2d670a5a8d1057a8270f125ef7676d29ea900f496/zstandard-0.25.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6a573a35693e03cf1d67799fd01b50ff578515a8aeadd4595d2a7fa9f3ec002a", size = 5451652, upload-time = "2025-09-14T22:17:04.979Z" }, + { url = "https://files.pythonhosted.org/packages/53/60/7be26e610767316c028a2cbedb9a3beabdbe33e2182c373f71a1c0b88f36/zstandard-0.25.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5a56ba0db2d244117ed744dfa8f6f5b366e14148e00de44723413b2f3938a902", size = 5546993, upload-time = "2025-09-14T22:17:06.781Z" }, + { url = "https://files.pythonhosted.org/packages/85/c7/3483ad9ff0662623f3648479b0380d2de5510abf00990468c286c6b04017/zstandard-0.25.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:10ef2a79ab8e2974e2075fb984e5b9806c64134810fac21576f0668e7ea19f8f", size = 5046806, upload-time = "2025-09-14T22:17:08.415Z" }, + { url = "https://files.pythonhosted.org/packages/08/b3/206883dd25b8d1591a1caa44b54c2aad84badccf2f1de9e2d60a446f9a25/zstandard-0.25.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:aaf21ba8fb76d102b696781bddaa0954b782536446083ae3fdaa6f16b25a1c4b", size = 5576659, upload-time = "2025-09-14T22:17:10.164Z" }, + { url = "https://files.pythonhosted.org/packages/9d/31/76c0779101453e6c117b0ff22565865c54f48f8bd807df2b00c2c404b8e0/zstandard-0.25.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1869da9571d5e94a85a5e8d57e4e8807b175c9e4a6294e3b66fa4efb074d90f6", size = 4953933, upload-time = "2025-09-14T22:17:11.857Z" }, + { url = "https://files.pythonhosted.org/packages/18/e1/97680c664a1bf9a247a280a053d98e251424af51f1b196c6d52f117c9720/zstandard-0.25.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:809c5bcb2c67cd0ed81e9229d227d4ca28f82d0f778fc5fea624a9def3963f91", size = 5268008, upload-time = "2025-09-14T22:17:13.627Z" }, + { url = "https://files.pythonhosted.org/packages/1e/73/316e4010de585ac798e154e88fd81bb16afc5c5cb1a72eeb16dd37e8024a/zstandard-0.25.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:f27662e4f7dbf9f9c12391cb37b4c4c3cb90ffbd3b1fb9284dadbbb8935fa708", size = 5433517, upload-time = "2025-09-14T22:17:16.103Z" }, + { url = "https://files.pythonhosted.org/packages/5b/60/dd0f8cfa8129c5a0ce3ea6b7f70be5b33d2618013a161e1ff26c2b39787c/zstandard-0.25.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:99c0c846e6e61718715a3c9437ccc625de26593fea60189567f0118dc9db7512", size = 5814292, upload-time = "2025-09-14T22:17:17.827Z" }, + { url = "https://files.pythonhosted.org/packages/fc/5f/75aafd4b9d11b5407b641b8e41a57864097663699f23e9ad4dbb91dc6bfe/zstandard-0.25.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:474d2596a2dbc241a556e965fb76002c1ce655445e4e3bf38e5477d413165ffa", size = 5360237, upload-time = "2025-09-14T22:17:19.954Z" }, + { url = "https://files.pythonhosted.org/packages/ff/8d/0309daffea4fcac7981021dbf21cdb2e3427a9e76bafbcdbdf5392ff99a4/zstandard-0.25.0-cp312-cp312-win32.whl", hash = "sha256:23ebc8f17a03133b4426bcc04aabd68f8236eb78c3760f12783385171b0fd8bd", size = 436922, upload-time = "2025-09-14T22:17:24.398Z" }, + { url = "https://files.pythonhosted.org/packages/79/3b/fa54d9015f945330510cb5d0b0501e8253c127cca7ebe8ba46a965df18c5/zstandard-0.25.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffef5a74088f1e09947aecf91011136665152e0b4b359c42be3373897fb39b01", size = 506276, upload-time = "2025-09-14T22:17:21.429Z" }, + { url = "https://files.pythonhosted.org/packages/ea/6b/8b51697e5319b1f9ac71087b0af9a40d8a6288ff8025c36486e0c12abcc4/zstandard-0.25.0-cp312-cp312-win_arm64.whl", hash = "sha256:181eb40e0b6a29b3cd2849f825e0fa34397f649170673d385f3598ae17cca2e9", size = 462679, upload-time = "2025-09-14T22:17:23.147Z" }, + { url = "https://files.pythonhosted.org/packages/35/0b/8df9c4ad06af91d39e94fa96cc010a24ac4ef1378d3efab9223cc8593d40/zstandard-0.25.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ec996f12524f88e151c339688c3897194821d7f03081ab35d31d1e12ec975e94", size = 795735, upload-time = "2025-09-14T22:17:26.042Z" }, + { url = "https://files.pythonhosted.org/packages/3f/06/9ae96a3e5dcfd119377ba33d4c42a7d89da1efabd5cb3e366b156c45ff4d/zstandard-0.25.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a1a4ae2dec3993a32247995bdfe367fc3266da832d82f8438c8570f989753de1", size = 640440, upload-time = "2025-09-14T22:17:27.366Z" }, + { url = "https://files.pythonhosted.org/packages/d9/14/933d27204c2bd404229c69f445862454dcc101cd69ef8c6068f15aaec12c/zstandard-0.25.0-cp313-cp313-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:e96594a5537722fdfb79951672a2a63aec5ebfb823e7560586f7484819f2a08f", size = 5343070, upload-time = "2025-09-14T22:17:28.896Z" }, + { url = "https://files.pythonhosted.org/packages/6d/db/ddb11011826ed7db9d0e485d13df79b58586bfdec56e5c84a928a9a78c1c/zstandard-0.25.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bfc4e20784722098822e3eee42b8e576b379ed72cca4a7cb856ae733e62192ea", size = 5063001, upload-time = "2025-09-14T22:17:31.044Z" }, + { url = "https://files.pythonhosted.org/packages/db/00/87466ea3f99599d02a5238498b87bf84a6348290c19571051839ca943777/zstandard-0.25.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:457ed498fc58cdc12fc48f7950e02740d4f7ae9493dd4ab2168a47c93c31298e", size = 5394120, upload-time = "2025-09-14T22:17:32.711Z" }, + { url = "https://files.pythonhosted.org/packages/2b/95/fc5531d9c618a679a20ff6c29e2b3ef1d1f4ad66c5e161ae6ff847d102a9/zstandard-0.25.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:fd7a5004eb1980d3cefe26b2685bcb0b17989901a70a1040d1ac86f1d898c551", size = 5451230, upload-time = "2025-09-14T22:17:34.41Z" }, + { url = "https://files.pythonhosted.org/packages/63/4b/e3678b4e776db00f9f7b2fe58e547e8928ef32727d7a1ff01dea010f3f13/zstandard-0.25.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8e735494da3db08694d26480f1493ad2cf86e99bdd53e8e9771b2752a5c0246a", size = 5547173, upload-time = "2025-09-14T22:17:36.084Z" }, + { url = "https://files.pythonhosted.org/packages/4e/d5/ba05ed95c6b8ec30bd468dfeab20589f2cf709b5c940483e31d991f2ca58/zstandard-0.25.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:3a39c94ad7866160a4a46d772e43311a743c316942037671beb264e395bdd611", size = 5046736, upload-time = "2025-09-14T22:17:37.891Z" }, + { url = "https://files.pythonhosted.org/packages/50/d5/870aa06b3a76c73eced65c044b92286a3c4e00554005ff51962deef28e28/zstandard-0.25.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:172de1f06947577d3a3005416977cce6168f2261284c02080e7ad0185faeced3", size = 5576368, upload-time = "2025-09-14T22:17:40.206Z" }, + { url = "https://files.pythonhosted.org/packages/5d/35/398dc2ffc89d304d59bc12f0fdd931b4ce455bddf7038a0a67733a25f550/zstandard-0.25.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3c83b0188c852a47cd13ef3bf9209fb0a77fa5374958b8c53aaa699398c6bd7b", size = 4954022, upload-time = "2025-09-14T22:17:41.879Z" }, + { url = "https://files.pythonhosted.org/packages/9a/5c/36ba1e5507d56d2213202ec2b05e8541734af5f2ce378c5d1ceaf4d88dc4/zstandard-0.25.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:1673b7199bbe763365b81a4f3252b8e80f44c9e323fc42940dc8843bfeaf9851", size = 5267889, upload-time = "2025-09-14T22:17:43.577Z" }, + { url = "https://files.pythonhosted.org/packages/70/e8/2ec6b6fb7358b2ec0113ae202647ca7c0e9d15b61c005ae5225ad0995df5/zstandard-0.25.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:0be7622c37c183406f3dbf0cba104118eb16a4ea7359eeb5752f0794882fc250", size = 5433952, upload-time = "2025-09-14T22:17:45.271Z" }, + { url = "https://files.pythonhosted.org/packages/7b/01/b5f4d4dbc59ef193e870495c6f1275f5b2928e01ff5a81fecb22a06e22fb/zstandard-0.25.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:5f5e4c2a23ca271c218ac025bd7d635597048b366d6f31f420aaeb715239fc98", size = 5814054, upload-time = "2025-09-14T22:17:47.08Z" }, + { url = "https://files.pythonhosted.org/packages/b2/e5/fbd822d5c6f427cf158316d012c5a12f233473c2f9c5fe5ab1ae5d21f3d8/zstandard-0.25.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4f187a0bb61b35119d1926aee039524d1f93aaf38a9916b8c4b78ac8514a0aaf", size = 5360113, upload-time = "2025-09-14T22:17:48.893Z" }, + { url = "https://files.pythonhosted.org/packages/8e/e0/69a553d2047f9a2c7347caa225bb3a63b6d7704ad74610cb7823baa08ed7/zstandard-0.25.0-cp313-cp313-win32.whl", hash = "sha256:7030defa83eef3e51ff26f0b7bfb229f0204b66fe18e04359ce3474ac33cbc09", size = 436936, upload-time = "2025-09-14T22:17:52.658Z" }, + { url = "https://files.pythonhosted.org/packages/d9/82/b9c06c870f3bd8767c201f1edbdf9e8dc34be5b0fbc5682c4f80fe948475/zstandard-0.25.0-cp313-cp313-win_amd64.whl", hash = "sha256:1f830a0dac88719af0ae43b8b2d6aef487d437036468ef3c2ea59c51f9d55fd5", size = 506232, upload-time = "2025-09-14T22:17:50.402Z" }, + { url = "https://files.pythonhosted.org/packages/d4/57/60c3c01243bb81d381c9916e2a6d9e149ab8627c0c7d7abb2d73384b3c0c/zstandard-0.25.0-cp313-cp313-win_arm64.whl", hash = "sha256:85304a43f4d513f5464ceb938aa02c1e78c2943b29f44a750b48b25ac999a049", size = 462671, upload-time = "2025-09-14T22:17:51.533Z" }, + { url = "https://files.pythonhosted.org/packages/3d/5c/f8923b595b55fe49e30612987ad8bf053aef555c14f05bb659dd5dbe3e8a/zstandard-0.25.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:e29f0cf06974c899b2c188ef7f783607dbef36da4c242eb6c82dcd8b512855e3", size = 795887, upload-time = "2025-09-14T22:17:54.198Z" }, + { url = "https://files.pythonhosted.org/packages/8d/09/d0a2a14fc3439c5f874042dca72a79c70a532090b7ba0003be73fee37ae2/zstandard-0.25.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:05df5136bc5a011f33cd25bc9f506e7426c0c9b3f9954f056831ce68f3b6689f", size = 640658, upload-time = "2025-09-14T22:17:55.423Z" }, + { url = "https://files.pythonhosted.org/packages/5d/7c/8b6b71b1ddd517f68ffb55e10834388d4f793c49c6b83effaaa05785b0b4/zstandard-0.25.0-cp314-cp314-manylinux2010_i686.manylinux_2_12_i686.manylinux_2_28_i686.whl", hash = "sha256:f604efd28f239cc21b3adb53eb061e2a205dc164be408e553b41ba2ffe0ca15c", size = 5379849, upload-time = "2025-09-14T22:17:57.372Z" }, + { url = "https://files.pythonhosted.org/packages/a4/86/a48e56320d0a17189ab7a42645387334fba2200e904ee47fc5a26c1fd8ca/zstandard-0.25.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:223415140608d0f0da010499eaa8ccdb9af210a543fac54bce15babbcfc78439", size = 5058095, upload-time = "2025-09-14T22:17:59.498Z" }, + { url = "https://files.pythonhosted.org/packages/f8/ad/eb659984ee2c0a779f9d06dbfe45e2dc39d99ff40a319895df2d3d9a48e5/zstandard-0.25.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2e54296a283f3ab5a26fc9b8b5d4978ea0532f37b231644f367aa588930aa043", size = 5551751, upload-time = "2025-09-14T22:18:01.618Z" }, + { url = "https://files.pythonhosted.org/packages/61/b3/b637faea43677eb7bd42ab204dfb7053bd5c4582bfe6b1baefa80ac0c47b/zstandard-0.25.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ca54090275939dc8ec5dea2d2afb400e0f83444b2fc24e07df7fdef677110859", size = 6364818, upload-time = "2025-09-14T22:18:03.769Z" }, + { url = "https://files.pythonhosted.org/packages/31/dc/cc50210e11e465c975462439a492516a73300ab8caa8f5e0902544fd748b/zstandard-0.25.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e09bb6252b6476d8d56100e8147b803befa9a12cea144bbe629dd508800d1ad0", size = 5560402, upload-time = "2025-09-14T22:18:05.954Z" }, + { url = "https://files.pythonhosted.org/packages/c9/ae/56523ae9c142f0c08efd5e868a6da613ae76614eca1305259c3bf6a0ed43/zstandard-0.25.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a9ec8c642d1ec73287ae3e726792dd86c96f5681eb8df274a757bf62b750eae7", size = 4955108, upload-time = "2025-09-14T22:18:07.68Z" }, + { url = "https://files.pythonhosted.org/packages/98/cf/c899f2d6df0840d5e384cf4c4121458c72802e8bda19691f3b16619f51e9/zstandard-0.25.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a4089a10e598eae6393756b036e0f419e8c1d60f44a831520f9af41c14216cf2", size = 5269248, upload-time = "2025-09-14T22:18:09.753Z" }, + { url = "https://files.pythonhosted.org/packages/1b/c0/59e912a531d91e1c192d3085fc0f6fb2852753c301a812d856d857ea03c6/zstandard-0.25.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:f67e8f1a324a900e75b5e28ffb152bcac9fbed1cc7b43f99cd90f395c4375344", size = 5430330, upload-time = "2025-09-14T22:18:11.966Z" }, + { url = "https://files.pythonhosted.org/packages/a0/1d/7e31db1240de2df22a58e2ea9a93fc6e38cc29353e660c0272b6735d6669/zstandard-0.25.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:9654dbc012d8b06fc3d19cc825af3f7bf8ae242226df5f83936cb39f5fdc846c", size = 5811123, upload-time = "2025-09-14T22:18:13.907Z" }, + { url = "https://files.pythonhosted.org/packages/f6/49/fac46df5ad353d50535e118d6983069df68ca5908d4d65b8c466150a4ff1/zstandard-0.25.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4203ce3b31aec23012d3a4cf4a2ed64d12fea5269c49aed5e4c3611b938e4088", size = 5359591, upload-time = "2025-09-14T22:18:16.465Z" }, + { url = "https://files.pythonhosted.org/packages/c2/38/f249a2050ad1eea0bb364046153942e34abba95dd5520af199aed86fbb49/zstandard-0.25.0-cp314-cp314-win32.whl", hash = "sha256:da469dc041701583e34de852d8634703550348d5822e66a0c827d39b05365b12", size = 444513, upload-time = "2025-09-14T22:18:20.61Z" }, + { url = "https://files.pythonhosted.org/packages/3a/43/241f9615bcf8ba8903b3f0432da069e857fc4fd1783bd26183db53c4804b/zstandard-0.25.0-cp314-cp314-win_amd64.whl", hash = "sha256:c19bcdd826e95671065f8692b5a4aa95c52dc7a02a4c5a0cac46deb879a017a2", size = 516118, upload-time = "2025-09-14T22:18:17.849Z" }, + { url = "https://files.pythonhosted.org/packages/f0/ef/da163ce2450ed4febf6467d77ccb4cd52c4c30ab45624bad26ca0a27260c/zstandard-0.25.0-cp314-cp314-win_arm64.whl", hash = "sha256:d7541afd73985c630bafcd6338d2518ae96060075f9463d7dc14cfb33514383d", size = 476940, upload-time = "2025-09-14T22:18:19.088Z" }, +] diff --git a/western_ai/usa/langchain/libs/model-profiles/Makefile b/western_ai/usa/langchain/libs/model-profiles/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..9a09014d414a13ba20b0c303a325eae417664656 --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/Makefile @@ -0,0 +1,105 @@ +.PHONY: all format lint type test tests integration_tests help extended_tests refresh-profiles + +# Default target executed when no arguments are given to make. +all: help + +.EXPORT_ALL_VARIABLES: +UV_FROZEN = true + +###################### +# MODEL PROFILE REFRESH +###################### + +# Provider map: partner directory name -> models.dev provider ID. +# Used by .github/workflows/refresh_model_profiles.yml via `make refresh-profiles`. +PROFILE_PROVIDERS := \ + anthropic=anthropic \ + deepseek=deepseek \ + fireworks=fireworks-ai \ + groq=groq \ + huggingface=huggingface \ + mistralai=mistral \ + openai=openai \ + openrouter=openrouter \ + perplexity=perplexity \ + xai=xai + +# Refresh model profiles for all supported partners in libs/partners/. +# Requires network access, so UV_FROZEN is overridden for this target. +refresh-profiles: + @for entry in $(PROFILE_PROVIDERS); do \ + partner=$${entry%%=*}; \ + provider=$${entry##*=}; \ + data_dir="../partners/$${partner}/langchain_$$(echo "$${partner}" | tr '-' '_')/data"; \ + echo "--- Refreshing $${partner} (provider: $${provider}) ---"; \ + echo y | UV_FROZEN=false uv run langchain-profiles refresh \ + --provider "$${provider}" \ + --data-dir "$${data_dir}"; \ + done + +# Define a variable for the test file path. +TEST_FILE ?= tests/unit_tests/ +PYTEST_EXTRA ?= + +integration_test integration_tests: TEST_FILE=tests/integration_tests/ + +# unit tests are run with the --disable-socket flag to prevent network calls +test tests: + uv run --group test pytest $(PYTEST_EXTRA) --disable-socket --allow-unix-socket $(TEST_FILE) + +integration_test integration_tests: + uv run --group test --group test_integration pytest -n auto $(TEST_FILE) + +test_watch: + uv run --group test ptw --snapshot-update --now . -- -vv $(TEST_FILE) + + +make benchmark: + uv run --group test pytest ./tests -m benchmark + +###################### +# LINTING AND FORMATTING +###################### + +# Define a variable for Python and notebook files. +PYTHON_FILES=. +MYPY_CACHE=.mypy_cache +lint format: PYTHON_FILES=. +lint_diff format_diff: PYTHON_FILES=$(shell git diff --relative=libs/model-profiles --name-only --diff-filter=d master | grep -E '\.py$$|\.ipynb$$') +lint_package: PYTHON_FILES=langchain_model_profiles +lint_tests: PYTHON_FILES=tests +lint_tests: MYPY_CACHE=.mypy_cache_test +UV_RUN_LINT = uv run --all-groups +UV_RUN_TYPE = uv run --all-groups +lint_package lint_tests: UV_RUN_LINT = uv run --group lint + +lint lint_diff lint_package lint_tests: + ./scripts/lint_imports.sh + [ "$(PYTHON_FILES)" = "" ] || $(UV_RUN_LINT) ruff check $(PYTHON_FILES) + [ "$(PYTHON_FILES)" = "" ] || $(UV_RUN_LINT) ruff format $(PYTHON_FILES) --diff + [ "$(PYTHON_FILES)" = "" ] || mkdir -p $(MYPY_CACHE) && $(UV_RUN_TYPE) mypy $(PYTHON_FILES) --cache-dir $(MYPY_CACHE) + +type: + mkdir -p $(MYPY_CACHE) && $(UV_RUN_TYPE) mypy $(PYTHON_FILES) --cache-dir $(MYPY_CACHE) + +format format_diff: + [ "$(PYTHON_FILES)" = "" ] || $(UV_RUN_LINT) ruff format $(PYTHON_FILES) + [ "$(PYTHON_FILES)" = "" ] || $(UV_RUN_LINT) ruff check --fix $(PYTHON_FILES) + +check_imports: $(shell find langchain_model_profiles -name '*.py') + $(UV_RUN_LINT) python ./scripts/check_imports.py $^ + +###################### +# HELP +###################### + +help: + @echo '----' + @echo 'check_imports - check imports' + @echo 'format - run code formatters' + @echo 'lint - run linters' + @echo 'type - run type checking' + @echo 'test - run unit tests' + @echo 'tests - run unit tests' + @echo 'test TEST_FILE= - run all tests in file' + @echo 'refresh-profiles - refresh model profiles for all supported partners' diff --git a/western_ai/usa/langchain/libs/model-profiles/README.md b/western_ai/usa/langchain/libs/model-profiles/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e9f77a0cf5d7f0315718fe1bdc34757d98325ff1 --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/README.md @@ -0,0 +1,48 @@ +# 🦜🪪 langchain-model-profiles + +[![PyPI - Version](https://img.shields.io/pypi/v/langchain-model-profiles?label=%20)](https://pypi.org/project/langchain-model-profiles/#history) +[![PyPI - License](https://img.shields.io/pypi/l/langchain-model-profiles)](https://opensource.org/licenses/MIT) +[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-model-profiles)](https://pypistats.org/packages/langchain-model-profiles) +[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain_oss.svg?style=social&label=Follow%20%40LangChain)](https://x.com/langchain_oss) + +> [!WARNING] +> This package is currently in development and the API is subject to change. + +CLI tool for updating model profile data in LangChain integration packages. + +## Quick Install + +```bash +uv add langchain-model-profiles +``` + +## 🤔 What is this? + +`langchain-model-profiles` is a CLI tool for fetching and updating model capability data from [models.dev](https://github.com/sst/models.dev) for use in LangChain integration packages. + +LangChain chat models expose a `.profile` field that provides programmatic access to model capabilities such as context window sizes, supported modalities, tool calling, structured output, and more. This CLI tool helps maintainers keep that data up-to-date. + +## Data sources + +This package is built on top of the excellent work by the [models.dev](https://github.com/sst/models.dev) project, an open source initiative that provides model capability data. + +LangChain model profiles augment the data from models.dev with some additional fields. We intend to keep this aligned with the upstream project as it evolves. + +## 📖 Documentation + +For full documentation, see the [API reference](https://reference.langchain.com/python/langchain_model_profiles/). For conceptual guides, tutorials, and examples on using LangChain, see the [LangChain Docs](https://docs.langchain.com/oss/python/langchain/overview). You can also chat with the docs using [Chat LangChain](https://chat.langchain.com). + +## Usage + +Update model profile data for a specific provider: + +```bash +langchain-profiles refresh --provider anthropic --data-dir ./langchain_anthropic/data +``` + +This downloads the latest model data from models.dev, merges it with any augmentations defined in `profile_augmentations.toml`, and generates a `profiles.py` file. + +## Resources + +- [LangChain Academy](https://academy.langchain.com/) — comprehensive, free courses on LangChain libraries and products, made by the LangChain team +- [Code of Conduct](https://github.com/langchain-ai/langchain/?tab=coc-ov-file) — community guidelines and standards diff --git a/western_ai/usa/langchain/libs/model-profiles/extended_testing_deps.txt b/western_ai/usa/langchain/libs/model-profiles/extended_testing_deps.txt new file mode 100644 index 0000000000000000000000000000000000000000..b694e8136afc9fc2bbff533aba5f7c2f7275eb90 --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/extended_testing_deps.txt @@ -0,0 +1,2 @@ +-e ../partners/openai +-e ../partners/anthropic diff --git a/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/__init__.py b/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/_summary.py b/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/_summary.py new file mode 100644 index 0000000000000000000000000000000000000000..391a1f384ed00c36e2ac750fbf87fdb29dc8b201 --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/_summary.py @@ -0,0 +1,475 @@ +"""Generate a plain-English summary of model profile changes. + +The `refresh_model_profiles` workflow opens an automated PR whenever the data +behind `_profiles.py` files changes. Those diffs are large blocks of generated +data, so a reviewer otherwise has to open *Files changed* and eyeball raw values +to learn what actually moved. This module turns the structured before/after data +into a skimmable Markdown summary (new models, removed models, and per-field +capability/metadata changes) for the PR body. The summary is generated +deterministically from the data, so there is no risk of an LLM misdescribing it. +""" + +from __future__ import annotations + +import ast +import subprocess +from dataclasses import dataclass, field +from pathlib import Path +from typing import TYPE_CHECKING, Any, NamedTuple, TypedDict + +if TYPE_CHECKING: + from collections.abc import Mapping + + from langchain_core.language_models.model_profile import ( + ModelProfile, + ModelProfileRegistry, + ) + +# Maximum number of bullet rows rendered per section before truncating. +_MAX_ROWS = 25 + +# Human-readable labels for profile fields. +_FIELD_LABELS: dict[str, str] = { + "name": "display name", + "status": "status", + "release_date": "release date", + "last_updated": "last updated", + "open_weights": "open weights", + "max_input_tokens": "max input tokens", + "max_output_tokens": "max output tokens", + "text_inputs": "text input", + "image_inputs": "image input", + "audio_inputs": "audio input", + "pdf_inputs": "PDF input", + "video_inputs": "video input", + "text_outputs": "text output", + "image_outputs": "image output", + "audio_outputs": "audio output", + "video_outputs": "video output", + "reasoning_output": "reasoning", + "tool_calling": "tool calling", + "tool_choice": "tool choice", + "tool_call_streaming": "tool call streaming", + "structured_output": "structured output", + "attachment": "attachments", + "temperature": "temperature control", + "image_url_inputs": "image URL input", + "image_tool_message": "image tool messages", + "pdf_tool_message": "PDF tool messages", +} + +# Token fields rendered with thousands separators. +_TOKEN_FIELDS = frozenset({"max_input_tokens", "max_output_tokens"}) + + +class ProfileParseError(ValueError): + """A `_profiles.py` source exists but its `_PROFILES` data is unparseable. + + Distinguished from a genuinely absent file (which yields an empty mapping) + so that corrupt working-tree or committed data surfaces as an error rather + than being silently diffed as a mass addition or removal of models. + """ + + +class FieldChange(NamedTuple): + """Old and new values for a single changed profile field. + + Named rather than a bare `tuple` so the old → new ordering the renderer + relies on is part of the type instead of a positional convention. Values are + heterogeneous profile data (bool, int, str, or unset), so `Any` is the + honest element type here. + """ + + old: Any + """Value before the refresh, or `None` if absent/unset.""" + + new: Any + """Value after the refresh, or `None` if absent/unset.""" + + +class ProviderEntry(TypedDict): + """One provider's identity and the data dir holding its `_profiles.py`.""" + + provider: str + """Provider identifier (e.g. `'openai'`).""" + + data_dir: str + """Path to the provider's data directory, relative to the repo root.""" + + +@dataclass +class ProfileDiff: + """Structured difference between two sets of model profiles.""" + + added: list[str] = field(default_factory=list) + """Model IDs present after the refresh but not before, sorted.""" + + removed: list[str] = field(default_factory=list) + """Model IDs present before the refresh but not after, sorted.""" + + changed: dict[str, dict[str, FieldChange]] = field(default_factory=dict) + """Per-model field changes, keyed by model ID then field name.""" + + added_profiles: ModelProfileRegistry = field(default_factory=dict) + """Full profiles for each added model, keyed by model ID.""" + + @property + def is_empty(self) -> bool: + """Whether there are no model additions, removals, or field changes.""" + return not (self.added or self.removed or self.changed) + + +def extract_profiles(source: str) -> ModelProfileRegistry: + """Extract the `_PROFILES` mapping from `_profiles.py` source. + + Uses `ast.literal_eval` rather than importing/executing the module so the + generated data file is never run as code. + + Args: + source: Contents of a `_profiles.py` module. An empty string (e.g. a + file absent at a git ref) yields an empty mapping. + + Returns: + The `_PROFILES` mapping, or an empty dict when the source contains no + `_PROFILES` assignment. + + Raises: + ProfileParseError: If the source is present but cannot be parsed, or its + `_PROFILES` value is not a dict literal. Surfacing this rather than + returning `{}` prevents a corrupt file from being misreported as + every model added or removed. + """ + try: + tree = ast.parse(source) + except SyntaxError as e: + msg = f"Could not parse profile source as Python: {e}" + raise ProfileParseError(msg) from e + + for node in tree.body: + if isinstance(node, ast.AnnAssign): + targets: list[ast.expr] = [node.target] + elif isinstance(node, ast.Assign): + targets = list(node.targets) + else: + continue + is_profiles = any( + isinstance(t, ast.Name) and t.id == "_PROFILES" for t in targets + ) + if is_profiles and node.value is not None: + try: + value = ast.literal_eval(node.value) + except (ValueError, SyntaxError) as e: + msg = f"`_PROFILES` is not a literal expression: {e}" + raise ProfileParseError(msg) from e + if not isinstance(value, dict): + msg = f"`_PROFILES` is not a dict (got {type(value).__name__})" + raise ProfileParseError(msg) + return value + return {} + + +def diff_profiles(old: ModelProfileRegistry, new: ModelProfileRegistry) -> ProfileDiff: + """Compute the difference between two `_PROFILES` mappings. + + Args: + old: Profiles before the refresh. + new: Profiles after the refresh. + + Returns: + A `ProfileDiff` describing added, removed, and changed models. + """ + added = sorted(set(new) - set(old)) + removed = sorted(set(old) - set(new)) + + changed: dict[str, dict[str, FieldChange]] = {} + for model_id in sorted(set(old) & set(new)): + # View profiles as plain mappings so we can iterate dynamic keys (the + # `ModelProfile` TypedDict only permits literal-key access). + old_profile: Mapping[str, Any] = old[model_id] + new_profile: Mapping[str, Any] = new[model_id] + fields: dict[str, FieldChange] = {} + for key in sorted(set(old_profile) | set(new_profile)): + old_val = old_profile.get(key) + new_val = new_profile.get(key) + if old_val != new_val: + fields[key] = FieldChange(old_val, new_val) + if fields: + changed[model_id] = fields + + added_profiles = {model_id: new[model_id] for model_id in added} + return ProfileDiff( + added=added, + removed=removed, + changed=changed, + added_profiles=added_profiles, + ) + + +def _format_value(field_name: str, value: Any) -> str: # noqa: ANN401 + """Render a single field value for display.""" + if value is None: + return "unset" + if isinstance(value, bool): + return "yes" if value else "no" + if isinstance(value, int) and field_name in _TOKEN_FIELDS: + return f"{value:,}" + return f"`{value}`" if isinstance(value, str) else str(value) + + +def _describe_field_change( + field_name: str, + old_val: Any, # noqa: ANN401 + new_val: Any, # noqa: ANN401 +) -> str: + """Produce a plain-English phrase for one field change.""" + label = _FIELD_LABELS.get(field_name, field_name) + if isinstance(old_val, bool) or isinstance(new_val, bool): + if new_val and not old_val: + return f"added {label}" + if old_val and not new_val: + return f"removed {label}" + old_str = _format_value(field_name, old_val) + new_str = _format_value(field_name, new_val) + return f"{label} {old_str} → {new_str}" + + +def _describe_new_model(profile: ModelProfile) -> str: + """Produce a short descriptor for a newly added model.""" + parts: list[str] = [] + context = profile.get("max_input_tokens") + if context: + parts.append(f"{context:,} ctx") + output = profile.get("max_output_tokens") + if output: + parts.append(f"{output:,} out") + modalities = [ + name + for key, name in ( + ("image_inputs", "image"), + ("audio_inputs", "audio"), + ("video_inputs", "video"), + ("pdf_inputs", "pdf"), + ) + if profile.get(key) + ] + if modalities: + parts.append("text+" + "+".join(modalities) + " in") + if profile.get("reasoning_output"): + parts.append("reasoning") + if profile.get("tool_calling"): + parts.append("tools") + return ", ".join(parts) + + +def _truncate(rows: list[str]) -> list[str]: + """Cap a list of bullet rows, appending an ellipsis row when truncated.""" + if len(rows) <= _MAX_ROWS: + return rows + hidden = len(rows) - _MAX_ROWS + return [*rows[:_MAX_ROWS], f"- …and {hidden} more"] + + +def render_provider_section(provider: str, diff: ProfileDiff) -> str | None: + """Render the Markdown section for a single provider, or None if unchanged. + + Args: + provider: Provider identifier (e.g. `'openai'`). + diff: The computed `ProfileDiff` for the provider. + + Returns: + Markdown for the provider's changes, or `None` when there are none. + """ + if diff.is_empty: + return None + + lines = [f"### {provider}"] + + if diff.added: + lines.append(f"\n**➕ {len(diff.added)} added**") # noqa: RUF001 + rows = [] + for model_id in diff.added: + descriptor = _describe_new_model(diff.added_profiles[model_id]) + suffix = f" — {descriptor}" if descriptor else "" + rows.append(f"- `{model_id}`{suffix}") + lines.extend(_truncate(rows)) + + if diff.removed: + lines.append(f"\n**➖ {len(diff.removed)} removed**") # noqa: RUF001 + lines.extend(_truncate([f"- `{m}`" for m in diff.removed])) + + if diff.changed: + lines.append(f"\n**✏️ {len(diff.changed)} changed**") + rows = [] + for model_id, fields in diff.changed.items(): + phrases = [ + _describe_field_change(name, change.old, change.new) + for name, change in fields.items() + ] + rows.append(f"- `{model_id}`: " + "; ".join(phrases)) + lines.extend(_truncate(rows)) + + return "\n".join(lines) + + +def build_summary(provider_diffs: dict[str, ProfileDiff]) -> str: + """Assemble the full Markdown summary across all providers. + + Args: + provider_diffs: Mapping of provider name to its `ProfileDiff`. + + Returns: + Markdown summary. When nothing changed, a short note is returned. + """ + sections = [ + section + for provider in sorted(provider_diffs) + if (section := render_provider_section(provider, provider_diffs[provider])) + ] + if not sections: + return "No model profile data changed." + + total_added = sum(len(d.added) for d in provider_diffs.values()) + total_removed = sum(len(d.removed) for d in provider_diffs.values()) + total_changed = sum(len(d.changed) for d in provider_diffs.values()) + headline = ( + f"**{total_added} added · {total_removed} removed · " + f"{total_changed} changed** across {len(sections)} provider(s)." + ) + + return "\n\n".join(["## Summary of changes", headline, *sections]) + + +def _verify_ref(repo_root: Path, ref: str) -> None: + """Confirm `ref` resolves to a commit in `repo_root`. + + Validating once up front lets `_git_show` treat a non-zero exit + unambiguously as "path absent at this ref", rather than conflating a typo'd + ref, an unfetched ref, or a non-repository root with a genuinely new file — + which would otherwise render every existing model as newly added. + + Raises: + RuntimeError: If git is unavailable, `repo_root` is not a repository, or + `ref` cannot be resolved. + """ + try: + result = subprocess.run( # noqa: S603 + [ # noqa: S607 + "git", + "-C", + str(repo_root), + "rev-parse", + "--verify", + "--quiet", + f"{ref}^{{commit}}", + ], + capture_output=True, + text=True, + check=False, + ) + except OSError as e: + msg = f"Could not run git (is it installed and on PATH?): {e}" + raise RuntimeError(msg) from e + if result.returncode != 0: + msg = ( + f"Could not resolve base ref {ref!r} in {repo_root}; " + "is it a valid git ref in this repository?" + ) + raise RuntimeError(msg) + + +def _git_show(repo_root: Path, ref: str, rel_path: str) -> str | None: + """Return file contents at `ref`, or None if the file does not exist there. + + Assumes `ref` has already been validated by `_verify_ref`, so a non-zero + exit here means the path is absent at `ref` rather than a bad ref. + """ + try: + result = subprocess.run( # noqa: S603 + ["git", "-C", str(repo_root), "show", f"{ref}:{rel_path}"], # noqa: S607 + capture_output=True, + text=True, + check=False, + ) + except OSError: + return None + return result.stdout if result.returncode == 0 else None + + +def summarize( + providers: list[ProviderEntry], + *, + base_ref: str = "HEAD", + repo_root: Path | None = None, +) -> str: + """Build a Markdown summary of profile changes vs `base_ref`. + + Args: + providers: List of `{'provider': ..., 'data_dir': ...}` entries, + matching the workflow input. `data_dir` is relative to the repo + root and contains `_profiles.py`. + base_ref: Git ref to compare the working tree against. + repo_root: Repository root. Defaults to the current directory. + + Returns: + Markdown summary suitable for a PR body. + + Raises: + RuntimeError: If `base_ref` cannot be resolved, or a profiles file + exists but cannot be read or parsed. + ValueError: If a `providers` entry is missing a required key. + TypeError: If a `providers` entry's `provider`/`data_dir` is not a + string. + """ + root = (repo_root or Path.cwd()).resolve() + _verify_ref(root, base_ref) + provider_diffs: dict[str, ProfileDiff] = {} + + for entry in providers: + # View the entry as an untrusted mapping: at the CLI boundary it is + # arbitrary parsed JSON, not a guaranteed `ProviderEntry`. + entry_map: Mapping[str, Any] = entry + try: + provider = entry_map["provider"] + data_dir = entry_map["data_dir"] + except (KeyError, TypeError) as e: + msg = ( + f"Invalid provider entry {entry!r}: expected 'provider' and " + f"'data_dir' keys ({e})" + ) + raise ValueError(msg) from e + if not isinstance(provider, str) or not isinstance(data_dir, str): + msg = ( + f"Invalid provider entry {entry!r}: 'provider' and 'data_dir' " + "must be strings" + ) + raise TypeError(msg) + rel_path = f"{data_dir.rstrip('/')}/_profiles.py" + + old_source = _git_show(root, base_ref, rel_path) or "" + new_path = root / rel_path + if new_path.exists(): + try: + new_source = new_path.read_text(encoding="utf-8") + except (OSError, UnicodeDecodeError) as e: + msg = f"Could not read {new_path}: {e}" + raise RuntimeError(msg) from e + else: + new_source = "" + + # A corrupt-but-readable file must surface as an error: extracting `{}` + # from it would otherwise be diffed as every model added (old side) or + # removed (new side), yielding a confident but wrong summary. + try: + old_profiles = extract_profiles(old_source) + except ProfileParseError as e: + msg = f"Profile data for {provider!r} at {base_ref!r} is unparseable: {e}" + raise RuntimeError(msg) from e + try: + new_profiles = extract_profiles(new_source) + except ProfileParseError as e: + msg = f"Profile data for {provider!r} at {new_path} is unparseable: {e}" + raise RuntimeError(msg) from e + + provider_diffs[provider] = diff_profiles(old_profiles, new_profiles) + + return build_summary(provider_diffs) diff --git a/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/cli.py b/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/cli.py new file mode 100644 index 0000000000000000000000000000000000000000..456d70c55e70b905e5c1294703508b015726e17a --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/langchain_model_profiles/cli.py @@ -0,0 +1,452 @@ +"""CLI for refreshing model profile data from models.dev.""" + +import argparse +import json +import re +import sys +import tempfile +import warnings +from pathlib import Path +from typing import Any, get_type_hints + +import httpx + +# Use a `sys.version_info` guard rather than try/except: under strict mypy, +# `warn_unused_ignores` cannot be satisfied across versions with try/except +# (3.10 needs an `import-not-found` ignore on `tomllib`; 3.11+ flags it unused). +# mypy resolves this guard per target version and exempts it from +# `warn_unreachable`, so it type-checks cleanly with no ignores. +if sys.version_info >= (3, 11): + import tomllib +else: + import tomli as tomllib + + +def _validate_data_dir(data_dir: Path) -> Path: + """Validate and canonicalize data directory path. + + Args: + data_dir: User-provided data directory path. + + Returns: + Resolved, canonical path. + + Raises: + SystemExit: If user declines to write outside current directory. + """ + # Resolve to absolute, canonical path (follows symlinks) + try: + resolved = data_dir.resolve(strict=False) + except (OSError, RuntimeError) as e: + msg = f"Invalid data directory path: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + # Warn if writing outside current directory + cwd = Path.cwd().resolve() + try: + resolved.relative_to(cwd) + except ValueError: + # Not relative to cwd + print("⚠️ WARNING: Writing outside current directory", file=sys.stderr) + print(f" Current directory: {cwd}", file=sys.stderr) + print(f" Target directory: {resolved}", file=sys.stderr) + print(file=sys.stderr) + response = input("Continue? (y/N): ") + if response.lower() != "y": + print("Aborted.", file=sys.stderr) + sys.exit(1) + + return resolved + + +def _load_augmentations( + data_dir: Path, +) -> tuple[dict[str, Any], dict[str, dict[str, Any]]]: + """Load augmentations from `profile_augmentations.toml`. + + Args: + data_dir: Directory containing `profile_augmentations.toml`. + + Returns: + Tuple of `(provider_augmentations, model_augmentations)`. + """ + aug_file = data_dir / "profile_augmentations.toml" + if not aug_file.exists(): + return {}, {} + + try: + with aug_file.open("rb") as f: + data = tomllib.load(f) + except PermissionError: + msg = f"Permission denied reading augmentations file: {aug_file}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + except tomllib.TOMLDecodeError as e: + msg = f"Invalid TOML syntax in augmentations file: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + except OSError as e: + msg = f"Failed to read augmentations file: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + overrides = data.get("overrides", {}) + provider_aug: dict[str, Any] = {} + model_augs: dict[str, dict[str, Any]] = {} + + for key, value in overrides.items(): + if isinstance(value, dict): + model_augs[key] = value + else: + provider_aug[key] = value + + return provider_aug, model_augs + + +def _model_data_to_profile(model_data: dict[str, Any]) -> dict[str, Any]: + """Convert raw models.dev data into the canonical profile structure.""" + limit = model_data.get("limit") or {} + modalities = model_data.get("modalities") or {} + input_modalities = modalities.get("input") or [] + output_modalities = modalities.get("output") or [] + + profile = { + "name": model_data.get("name"), + "status": model_data.get("status"), + "release_date": model_data.get("release_date"), + "last_updated": model_data.get("last_updated"), + "open_weights": model_data.get("open_weights"), + "max_input_tokens": limit.get("context"), + "max_output_tokens": limit.get("output"), + "text_inputs": "text" in input_modalities, + "image_inputs": "image" in input_modalities, + "audio_inputs": "audio" in input_modalities, + "pdf_inputs": "pdf" in input_modalities or model_data.get("pdf_inputs"), + "video_inputs": "video" in input_modalities, + "text_outputs": "text" in output_modalities, + "image_outputs": "image" in output_modalities, + "audio_outputs": "audio" in output_modalities, + "video_outputs": "video" in output_modalities, + "reasoning_output": model_data.get("reasoning"), + "tool_calling": model_data.get("tool_call"), + "tool_choice": model_data.get("tool_choice"), + "tool_call_streaming": model_data.get("tool_call_streaming"), + "structured_output": model_data.get("structured_output"), + "attachment": model_data.get("attachment"), + "temperature": model_data.get("temperature"), + "image_url_inputs": model_data.get("image_url_inputs"), + "image_tool_message": model_data.get("image_tool_message"), + "pdf_tool_message": model_data.get("pdf_tool_message"), + } + + return {k: v for k, v in profile.items() if v is not None} + + +def _apply_overrides( + profile: dict[str, Any], *overrides: dict[str, Any] | None +) -> dict[str, Any]: + """Merge provider and model overrides onto the canonical profile.""" + merged = dict(profile) + for override in overrides: + if not override: + continue + for key, value in override.items(): + if value is not None: + merged[key] = value # noqa: PERF403 + return merged + + +def _warn_undeclared_profile_keys( + profiles: dict[str, dict[str, Any]], +) -> None: + """Warn if any profile keys are not declared in `ModelProfile`. + + Args: + profiles: Mapping of model IDs to their profile dicts. + """ + try: + from langchain_core.language_models.model_profile import ModelProfile + except ImportError: + # langchain-core may not be installed or importable; skip check. + return + + try: + declared = set(get_type_hints(ModelProfile).keys()) + except (TypeError, NameError): + # get_type_hints raises NameError on unresolvable forward refs and + # TypeError when annotations evaluate to non-type objects. + return + extra = sorted({k for p in profiles.values() for k in p} - declared) + if extra: + warnings.warn( + f"Profile keys not declared in langchain_core ModelProfile: {extra}. " + f"Add these fields to " + f"langchain_core.language_models.model_profile.ModelProfile and " + f"release langchain-core before publishing partner packages that " + f"use these profiles.", + stacklevel=2, + ) + + +def _ensure_safe_output_path(base_dir: Path, output_file: Path) -> None: + """Ensure the resolved output path remains inside the expected directory.""" + if base_dir.exists() and base_dir.is_symlink(): + msg = f"Data directory {base_dir} is a symlink; refusing to write profiles." + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + if output_file.exists() and output_file.is_symlink(): + msg = ( + f"profiles.py at {output_file} is a symlink; refusing to overwrite it.\n" + "Delete the symlink or point --data-dir to a safe location." + ) + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + try: + output_file.resolve(strict=False).relative_to(base_dir.resolve()) + except (OSError, RuntimeError) as e: + msg = f"Failed to resolve output path: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + except ValueError: + msg = f"Refusing to write outside of data directory: {output_file}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + +def _write_profiles_file(output_file: Path, contents: str) -> None: + """Write the generated module atomically without following symlinks.""" + _ensure_safe_output_path(output_file.parent, output_file) + + temp_path: Path | None = None + try: + with tempfile.NamedTemporaryFile( + mode="w", encoding="utf-8", dir=output_file.parent, delete=False + ) as tmp_file: + tmp_file.write(contents) + temp_path = Path(tmp_file.name) + temp_path.replace(output_file) + except PermissionError: + msg = f"Permission denied writing file: {output_file}" + print(f"❌ {msg}", file=sys.stderr) + if temp_path: + temp_path.unlink(missing_ok=True) + sys.exit(1) + except OSError as e: + msg = f"Failed to write file: {e}" + print(f"❌ {msg}", file=sys.stderr) + if temp_path: + temp_path.unlink(missing_ok=True) + sys.exit(1) + + +MODULE_ADMONITION = """Auto-generated model profiles. + +DO NOT EDIT THIS FILE MANUALLY. +This file is generated by the langchain-profiles CLI tool. + +It contains data derived from the models.dev project. + +Source: https://github.com/sst/models.dev +License: MIT License + +To update these data, refer to the instructions here: + +https://docs.langchain.com/oss/python/langchain/models#updating-or-overwriting-profile-data +""" + + +def refresh(provider: str, data_dir: Path) -> None: # noqa: C901, PLR0915 + """Download and merge model profile data for a specific provider. + + Args: + provider: Provider ID from models.dev (e.g., `'anthropic'`, `'openai'`). + data_dir: Directory containing `profile_augmentations.toml` and where + `profiles.py` will be written. + """ + # Validate and canonicalize data directory path + data_dir = _validate_data_dir(data_dir) + + api_url = "https://models.dev/api.json" + + print(f"Provider: {provider}") + print(f"Data directory: {data_dir}") + print() + + # Download data from models.dev + print(f"Downloading data from {api_url}...") + try: + response = httpx.get(api_url, timeout=30) + response.raise_for_status() + except httpx.TimeoutException: + msg = f"Request timed out connecting to {api_url}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + except httpx.HTTPStatusError as e: + msg = f"HTTP error {e.response.status_code} from {api_url}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + except httpx.RequestError as e: + msg = f"Failed to connect to {api_url}: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + try: + all_data = response.json() + except json.JSONDecodeError as e: + msg = f"Invalid JSON response from API: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + # Basic validation + if not isinstance(all_data, dict): + msg = "Expected API response to be a dictionary" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + provider_count = len(all_data) + model_count = sum(len(p.get("models", {})) for p in all_data.values()) + print(f"Downloaded {provider_count} providers with {model_count} models") + + # Extract data for this provider + if provider not in all_data: + msg = f"Provider '{provider}' not found in models.dev data" + print(msg, file=sys.stderr) + sys.exit(1) + + provider_data = all_data[provider] + models = provider_data.get("models", {}) + print(f"Extracted {len(models)} models for {provider}") + + # Load augmentations + print("Loading augmentations...") + provider_aug, model_augs = _load_augmentations(data_dir) + + # Merge and convert to profiles + profiles: dict[str, dict[str, Any]] = {} + for model_id, model_data in models.items(): + base_profile = _model_data_to_profile(model_data) + profiles[model_id] = _apply_overrides( + base_profile, provider_aug, model_augs.get(model_id) + ) + + # Include new models defined purely via augmentations + extra_models = set(model_augs) - set(models) + if extra_models: + print(f"Adding {len(extra_models)} models from augmentations only...") + for model_id in sorted(extra_models): + profiles[model_id] = _apply_overrides({}, provider_aug, model_augs[model_id]) + + _warn_undeclared_profile_keys(profiles) + + # Ensure directory exists + try: + data_dir.mkdir(parents=True, exist_ok=True, mode=0o755) + except PermissionError: + msg = f"Permission denied creating directory: {data_dir}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + except OSError as e: + msg = f"Failed to create directory: {e}" + print(f"❌ {msg}", file=sys.stderr) + sys.exit(1) + + # Write as Python module + output_file = data_dir / "_profiles.py" + print(f"Writing to {output_file}...") + module_content = [f'"""{MODULE_ADMONITION}"""\n\n', "from typing import Any\n\n"] + module_content.append("_PROFILES: dict[str, dict[str, Any]] = ") + json_str = json.dumps(dict(sorted(profiles.items())), indent=4) + json_str = ( + json_str.replace("true", "True") + .replace("false", "False") + .replace("null", "None") + ) + # Add trailing commas for ruff format compliance + json_str = re.sub(r"([^\s,{\[])(?=\n\s*[\}\]])", r"\1,", json_str) + module_content.append(f"{json_str}\n") + _write_profiles_file(output_file, "".join(module_content)) + + print( + f"✓ Successfully refreshed {len(profiles)} model profiles " + f"({output_file.stat().st_size:,} bytes)" + ) + + +def main() -> None: + """CLI entrypoint.""" + parser = argparse.ArgumentParser( + description="Refresh model profile data from models.dev", + prog="langchain-profiles", + ) + subparsers = parser.add_subparsers(dest="command", required=True) + + # refresh command + refresh_parser = subparsers.add_parser( + "refresh", help="Download and merge model profile data for a provider" + ) + refresh_parser.add_argument( + "--provider", + required=True, + help="Provider ID from models.dev (e.g., 'anthropic', 'openai', 'google')", + ) + refresh_parser.add_argument( + "--data-dir", + required=True, + type=Path, + help="Data directory containing profile_augmentations.toml", + ) + + # summarize command + summarize_parser = subparsers.add_parser( + "summarize", + help="Summarize profile changes vs a git ref as Markdown (for PR bodies)", + ) + summarize_parser.add_argument( + "--providers", + required=True, + help=( + "JSON array of objects with 'provider' and 'data_dir' keys " + "(data_dir relative to the repo root)." + ), + ) + summarize_parser.add_argument( + "--base-ref", + default="HEAD", + help="Git ref to compare the working tree against (default: HEAD).", + ) + summarize_parser.add_argument( + "--repo-root", + type=Path, + default=None, + help="Repository root (default: current directory).", + ) + + args = parser.parse_args() + + if args.command == "refresh": + refresh(args.provider, args.data_dir) + elif args.command == "summarize": + from langchain_model_profiles._summary import summarize + + try: + providers = json.loads(args.providers) + except json.JSONDecodeError as e: + parser.error(f"--providers is not valid JSON: {e}") + + if not isinstance(providers, list): + parser.error("--providers must be a JSON array") + + try: + output = summarize( + providers, base_ref=args.base_ref, repo_root=args.repo_root + ) + except (RuntimeError, ValueError, TypeError) as e: + parser.error(str(e)) + print(output) + + +if __name__ == "__main__": + main() diff --git a/western_ai/usa/langchain/libs/model-profiles/pyproject.toml b/western_ai/usa/langchain/libs/model-profiles/pyproject.toml new file mode 100644 index 0000000000000000000000000000000000000000..73c78da4bf6f20fc776212c20eb5a4f7b059ea4b --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/pyproject.toml @@ -0,0 +1,136 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "langchain-model-profiles" +description = "CLI tool for updating model profile data in LangChain integration packages." +readme = "README.md" +license = { text = "MIT" } +classifiers = [ + "Development Status :: 4 - Beta", + "Environment :: Console", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Topic :: Software Development :: Libraries :: Python Modules", +] + +version = "0.0.6" +requires-python = ">=3.10.0,<4.0.0" +dependencies = [ + "httpx>=0.23.0,<1", + "tomli>=2.0.0,<3.0.0; python_version < '3.11'", + "typing-extensions>=4.7.0,<5.0.0", +] + +[project.scripts] +langchain-profiles = "langchain_model_profiles.cli:main" + +[project.urls] +Homepage = "https://docs.langchain.com/" +Documentation = "https://reference.langchain.com/python/langchain_model_profiles/" +Repository = "https://github.com/langchain-ai/langchain" +Issues = "https://github.com/langchain-ai/langchain/issues" +Twitter = "https://x.com/langchain_oss" +Slack = "https://www.langchain.com/join-community" +Reddit = "https://www.reddit.com/r/LangChain/" + +[dependency-groups] +dev = [] + +test = [ + "pytest>=9.0.3,<10.0.0", + "pytest-cov>=4.0.0,<8.0.0", + "pytest-watcher>=0.2.6,<1.0.0", + "pytest-asyncio>=1.3.0,<2.0.0", + "pytest-socket>=0.6.0,<1.0.0", + "pytest-xdist<4.0.0,>=3.6.1", + "pytest-mock", + "syrupy>=5.0.0,<6.0.0", + "toml>=0.10.2,<1.0.0", + "langchain[openai]>=1.0.2,<2.0.0", + "langchain-core>=1.4.7,<2.0.0", +] + +test_integration = ["langchain-core>=1.4.7,<2.0.0"] + +lint = [ + "ruff>=0.15.0,<0.16.0", + "langchain>=1.0.0,<2.0.0", +] +typing = [ + "mypy>=2.1.0,<2.2.0", + "types-toml>=0.10.8.20240310,<1.0.0.0", +] + +[tool.uv] +constraint-dependencies = ["pygments>=2.20.0"] # CVE-2026-4539 + +[tool.uv.sources] +langchain-core = { path = "../core", editable = true } +langchain = { path = "../langchain_v1", editable = true } + +[tool.mypy] +plugins = ["pydantic.mypy"] +strict = true +enable_error_code = "deprecated" +warn_unreachable = true + +[tool.ruff.format] +docstring-code-format = true + +[tool.ruff.lint] +select = [ + "ALL" +] +ignore = [ + "COM812", # Messes with the formatter + "ISC001", # Messes with the formatter + "PERF203", # Rarely useful + "SLF001", # Private member access + "PLC0415", # Imports should be at the top. Not always desirable + "PLR0913", # Too many arguments in function definition + "PLC0414", # Inconsistent with how type checkers expect to be notified of intentional re-exports + "S101", # Tests need assertions + "PLR2004", # Magic numbers + "ARG001", + "D104", + "FIX002", + "TD002", + "TD003", + "T201", # Allow print statements (CLI tool) +] +unfixable = ["B028"] # People should intentionally tune the stacklevel + +pyupgrade.keep-runtime-typing = true +flake8-annotations.allow-star-arg-any = true + +[tool.ruff.lint.pydocstyle] +convention = "google" +ignore-var-parameters = true # ignore missing documentation for *args and **kwargs parameters + +[tool.ruff.lint.flake8-tidy-imports] +ban-relative-imports = "all" + +[tool.coverage.run] +omit = ["tests/*"] + +[tool.pytest.ini_options] +addopts = "--strict-markers --strict-config --durations=5 --snapshot-warn-unused -vv" +markers = [ + "requires: mark tests as requiring a specific library", + "scheduled: mark tests to run in scheduled testing", + "compile: mark placeholder test used to compile integration tests without running them", +] +asyncio_mode = "auto" +filterwarnings = [ + "ignore::langchain_core._api.beta_decorator.LangChainBetaWarning", + "ignore::langchain_core._api.deprecation.LangChainDeprecationWarning:tests", + "ignore::langchain_core._api.deprecation.LangChainPendingDeprecationWarning:tests", +] diff --git a/western_ai/usa/langchain/libs/model-profiles/scripts/lint_imports.sh b/western_ai/usa/langchain/libs/model-profiles/scripts/lint_imports.sh new file mode 100644 index 0000000000000000000000000000000000000000..bab33bce31d64b123aabb62839e3a8e59a460b8b --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/scripts/lint_imports.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -eu + +# Initialize a variable to keep track of errors +errors=0 + +# make sure not importing from langchain or langchain_experimental +# allow langchain.agents and langchain.tools (v1 middleware) +git --no-pager grep "^from langchain\." . | grep -v ":from langchain\.agents" | grep -v ":from langchain\.tools" && errors=$((errors+1)) +git --no-pager grep "^from langchain_experimental\." . && errors=$((errors+1)) + +# Decide on an exit status based on the errors +if [ "$errors" -gt 0 ]; then + exit 1 +else + exit 0 +fi diff --git a/western_ai/usa/langchain/libs/model-profiles/tests/__init__.py b/western_ai/usa/langchain/libs/model-profiles/tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/model-profiles/tests/integration_tests/__init__.py b/western_ai/usa/langchain/libs/model-profiles/tests/integration_tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/model-profiles/tests/integration_tests/test_compile.py b/western_ai/usa/langchain/libs/model-profiles/tests/integration_tests/test_compile.py new file mode 100644 index 0000000000000000000000000000000000000000..1fa3ee28f444b1f0553db8dbfa79b1300484c304 --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/tests/integration_tests/test_compile.py @@ -0,0 +1,8 @@ +"""Test compilation of integration tests.""" + +import pytest + + +@pytest.mark.compile +def test_placeholder() -> None: + """Used for compiling integration tests without running any real tests.""" diff --git a/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/__init__.py b/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/test_cli.py b/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/test_cli.py new file mode 100644 index 0000000000000000000000000000000000000000..c48d2adf1647c8ff5153693d5768201b0de75533 --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/test_cli.py @@ -0,0 +1,470 @@ +"""Tests for CLI functionality.""" + +import importlib.util +import warnings +from pathlib import Path +from typing import Any, get_type_hints +from unittest.mock import Mock, patch + +import pytest +from langchain_core.language_models.model_profile import ModelProfile + +from langchain_model_profiles.cli import ( + _model_data_to_profile, + _warn_undeclared_profile_keys, + refresh, +) + + +@pytest.fixture +def mock_models_dev_response() -> dict[str, Any]: + """Create a mock response from models.dev API.""" + return { + "anthropic": { + "id": "anthropic", + "name": "Anthropic", + "models": { + "claude-3-opus": { + "id": "claude-3-opus", + "name": "Claude 3 Opus", + "tool_call": True, + "limit": {"context": 200000, "output": 4096}, + "modalities": {"input": ["text", "image"], "output": ["text"]}, + }, + "claude-3-sonnet": { + "id": "claude-3-sonnet", + "name": "Claude 3 Sonnet", + "tool_call": True, + "limit": {"context": 200000, "output": 4096}, + "modalities": {"input": ["text", "image"], "output": ["text"]}, + }, + }, + }, + "openai": { + "id": "openai", + "name": "OpenAI", + "models": { + "gpt-4": { + "id": "gpt-4", + "name": "GPT-4", + "tool_call": True, + "limit": {"context": 8192, "output": 4096}, + "modalities": {"input": ["text"], "output": ["text"]}, + } + }, + }, + } + + +def test_refresh_generates_profiles_file( + tmp_path: Path, mock_models_dev_response: dict[str, Any] +) -> None: + """Test that refresh command generates _profiles.py with merged data.""" + data_dir = tmp_path / "data" + data_dir.mkdir() + + # Create augmentations file + aug_file = data_dir / "profile_augmentations.toml" + aug_file.write_text(""" +provider = "anthropic" + +[overrides] +image_url_inputs = true +pdf_inputs = true +""") + + # Mock the httpx.get call + mock_response = Mock() + mock_response.json.return_value = mock_models_dev_response + mock_response.raise_for_status = Mock() + + with ( + patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response), + patch("builtins.input", return_value="y"), + ): + refresh("anthropic", data_dir) + + # Verify _profiles.py was created + profiles_file = data_dir / "_profiles.py" + assert profiles_file.exists() + + # Import and verify content + profiles_content = profiles_file.read_text() + assert "DO NOT EDIT THIS FILE MANUALLY" in profiles_content + assert "PROFILES:" in profiles_content + assert "claude-3-opus" in profiles_content + assert "claude-3-sonnet" in profiles_content + + # Check that augmentations were applied + assert "image_url_inputs" in profiles_content + assert "pdf_inputs" in profiles_content + + +def test_refresh_raises_error_for_missing_provider( + tmp_path: Path, mock_models_dev_response: dict[str, Any] +) -> None: + """Test that refresh exits with error for non-existent provider.""" + data_dir = tmp_path / "data" + data_dir.mkdir() + + # Mock the httpx.get call + mock_response = Mock() + mock_response.json.return_value = mock_models_dev_response + mock_response.raise_for_status = Mock() + + with ( + patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response), + patch("builtins.input", return_value="y"), + ): + with pytest.raises(SystemExit) as exc_info: + refresh("nonexistent-provider", data_dir) + + assert exc_info.value.code == 1 + + # Output file should not be created + profiles_file = data_dir / "_profiles.py" + assert not profiles_file.exists() + + +def test_refresh_works_without_augmentations( + tmp_path: Path, mock_models_dev_response: dict[str, Any] +) -> None: + """Test that refresh works even without augmentations file.""" + data_dir = tmp_path / "data" + data_dir.mkdir() + + # Mock the httpx.get call + mock_response = Mock() + mock_response.json.return_value = mock_models_dev_response + mock_response.raise_for_status = Mock() + + with ( + patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response), + patch("builtins.input", return_value="y"), + ): + refresh("anthropic", data_dir) + + # Verify _profiles.py was created + profiles_file = data_dir / "_profiles.py" + assert profiles_file.exists() + assert profiles_file.stat().st_size > 0 + + +def test_refresh_aborts_when_user_declines_external_directory( + tmp_path: Path, mock_models_dev_response: dict[str, Any] +) -> None: + """Test that refresh aborts when user declines writing to external directory.""" + data_dir = tmp_path / "data" + data_dir.mkdir() + + # Mock the httpx.get call + mock_response = Mock() + mock_response.json.return_value = mock_models_dev_response + mock_response.raise_for_status = Mock() + + with ( + patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response), + patch("builtins.input", return_value="n"), # User declines + ): + with pytest.raises(SystemExit) as exc_info: + refresh("anthropic", data_dir) + + assert exc_info.value.code == 1 + + # Verify _profiles.py was NOT created + profiles_file = data_dir / "_profiles.py" + assert not profiles_file.exists() + + +def test_refresh_includes_models_defined_only_in_augmentations( + tmp_path: Path, mock_models_dev_response: dict[str, Any] +) -> None: + """Ensure models that only exist in augmentations are emitted.""" + data_dir = tmp_path / "data" + data_dir.mkdir() + + aug_file = data_dir / "profile_augmentations.toml" + aug_file.write_text(""" +provider = "anthropic" + +[overrides."custom-offline-model"] +structured_output = true +pdf_inputs = true +max_input_tokens = 123 +""") + + mock_response = Mock() + mock_response.json.return_value = mock_models_dev_response + mock_response.raise_for_status = Mock() + + with ( + patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response), + patch("builtins.input", return_value="y"), + ): + refresh("anthropic", data_dir) + + profiles_file = data_dir / "_profiles.py" + assert profiles_file.exists() + + spec = importlib.util.spec_from_file_location( + "generated_profiles_aug_only", profiles_file + ) + assert spec + assert spec.loader + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + + assert "custom-offline-model" in module._PROFILES + assert module._PROFILES["custom-offline-model"]["structured_output"] is True + assert module._PROFILES["custom-offline-model"]["max_input_tokens"] == 123 + + +def test_refresh_generates_sorted_profiles( + tmp_path: Path, mock_models_dev_response: dict[str, Any] +) -> None: + """Test that profiles are sorted alphabetically by model ID.""" + data_dir = tmp_path / "data" + data_dir.mkdir() + + # Inject models in reverse-alphabetical order so the API response + # is NOT already sorted. + mock_models_dev_response["anthropic"]["models"] = { + "z-model": { + "id": "z-model", + "name": "Z Model", + "tool_call": True, + "limit": {"context": 100000, "output": 2048}, + "modalities": {"input": ["text"], "output": ["text"]}, + }, + "a-model": { + "id": "a-model", + "name": "A Model", + "tool_call": True, + "limit": {"context": 100000, "output": 2048}, + "modalities": {"input": ["text"], "output": ["text"]}, + }, + "m-model": { + "id": "m-model", + "name": "M Model", + "tool_call": True, + "limit": {"context": 100000, "output": 2048}, + "modalities": {"input": ["text"], "output": ["text"]}, + }, + } + + mock_response = Mock() + mock_response.json.return_value = mock_models_dev_response + mock_response.raise_for_status = Mock() + + with ( + patch("langchain_model_profiles.cli.httpx.get", return_value=mock_response), + patch("builtins.input", return_value="y"), + ): + refresh("anthropic", data_dir) + + profiles_file = data_dir / "_profiles.py" + spec = importlib.util.spec_from_file_location( + "generated_profiles_sorted", profiles_file + ) + assert spec + assert spec.loader + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + + model_ids = list(module._PROFILES.keys()) + assert model_ids == sorted(model_ids), f"Profile keys are not sorted: {model_ids}" + + +def test_model_data_to_profile_captures_all_models_dev_fields() -> None: + """Test that all models.dev fields are captured in the profile.""" + model_data = { + "id": "claude-opus-4-6", + "name": "Claude Opus 4.6", + "status": "deprecated", + "release_date": "2025-06-01", + "last_updated": "2025-07-01", + "open_weights": False, + "reasoning": True, + "tool_call": True, + "tool_choice": True, + "structured_output": True, + "attachment": True, + "temperature": True, + "limit": {"context": 200000, "output": 64000}, + "modalities": { + "input": ["text", "image", "pdf"], + "output": ["text"], + }, + } + profile = _model_data_to_profile(model_data) + + # Metadata + assert profile["name"] == "Claude Opus 4.6" + assert profile["status"] == "deprecated" + assert profile["release_date"] == "2025-06-01" + assert profile["last_updated"] == "2025-07-01" + assert profile["open_weights"] is False + + # Limits + assert profile["max_input_tokens"] == 200000 + assert profile["max_output_tokens"] == 64000 + + # Capabilities + assert profile["reasoning_output"] is True + assert profile["tool_calling"] is True + assert profile["tool_choice"] is True + assert profile["structured_output"] is True + assert profile["attachment"] is True + + # Modalities + assert profile["text_inputs"] is True + assert profile["image_inputs"] is True + assert profile["pdf_inputs"] is True + assert profile["text_outputs"] is True + + +def test_model_data_to_profile_omits_absent_fields() -> None: + """Test that fields not present in source data are omitted (not None).""" + minimal = { + "modalities": {"input": ["text"], "output": ["text"]}, + "limit": {"context": 8192, "output": 4096}, + } + profile = _model_data_to_profile(minimal) + + assert "status" not in profile + assert "family" not in profile + assert "knowledge_cutoff" not in profile + assert "cost_input" not in profile + assert "interleaved" not in profile + assert None not in profile.values() + + +def test_model_data_to_profile_text_modalities() -> None: + """Test that text input/output modalities are correctly mapped.""" + # Model with text in both input and output + model_with_text = { + "modalities": {"input": ["text", "image"], "output": ["text"]}, + "limit": {"context": 128000, "output": 4096}, + } + profile = _model_data_to_profile(model_with_text) + assert profile["text_inputs"] is True + assert profile["text_outputs"] is True + + # Model without text input (e.g., Whisper-like audio model) + audio_only_model = { + "modalities": {"input": ["audio"], "output": ["text"]}, + "limit": {"context": 0, "output": 0}, + } + profile = _model_data_to_profile(audio_only_model) + assert profile["text_inputs"] is False + assert profile["text_outputs"] is True + + # Model without text output (e.g., image generator) + image_gen_model = { + "modalities": {"input": ["text"], "output": ["image"]}, + "limit": {}, + } + profile = _model_data_to_profile(image_gen_model) + assert profile["text_inputs"] is True + assert profile["text_outputs"] is False + + +def test_model_data_to_profile_keys_subset_of_model_profile() -> None: + """All CLI-emitted profile keys must be declared in `ModelProfile`.""" + # Build a model_data dict with every possible field populated so + # _model_data_to_profile includes all keys it can emit. + model_data = { + "id": "test-model", + "name": "Test Model", + "status": "active", + "release_date": "2025-01-01", + "last_updated": "2025-01-01", + "open_weights": True, + "reasoning": True, + "tool_call": True, + "tool_choice": True, + "structured_output": True, + "attachment": True, + "temperature": True, + "image_url_inputs": True, + "image_tool_message": True, + "pdf_tool_message": True, + "pdf_inputs": True, + "limit": {"context": 100000, "output": 4096}, + "modalities": { + "input": ["text", "image", "audio", "video", "pdf"], + "output": ["text", "image", "audio", "video"], + }, + } + + profile = _model_data_to_profile(model_data) + declared_fields = set(get_type_hints(ModelProfile).keys()) + emitted_fields = set(profile.keys()) + extra = emitted_fields - declared_fields + + assert not extra, ( + f"CLI emits profile keys not declared in ModelProfile: {sorted(extra)}. " + f"Add these fields to langchain_core.language_models.model_profile." + f"ModelProfile and release langchain-core before refreshing partner " + f"profiles." + ) + + +class TestWarnUndeclaredProfileKeys: + """Tests for _warn_undeclared_profile_keys.""" + + def test_warns_on_undeclared_keys(self) -> None: + """Extra keys across profiles trigger a single warning.""" + profiles: dict[str, dict[str, Any]] = { + "model-a": {"max_input_tokens": 100, "future_key": True}, + "model-b": {"another_key": "val"}, + } + with warnings.catch_warnings(record=True) as w: + warnings.simplefilter("always") + _warn_undeclared_profile_keys(profiles) + + assert len(w) == 1 + assert "another_key" in str(w[0].message) + assert "future_key" in str(w[0].message) + + def test_silent_on_declared_keys_only(self) -> None: + """No warning when all keys are declared in ModelProfile.""" + profiles: dict[str, dict[str, Any]] = { + "model-a": {"max_input_tokens": 100, "tool_calling": True}, + } + with warnings.catch_warnings(record=True) as w: + warnings.simplefilter("always") + _warn_undeclared_profile_keys(profiles) + + assert len(w) == 0 + + def test_silent_when_langchain_core_not_installed(self) -> None: + """Gracefully skips when langchain-core is not importable.""" + import sys + + profiles: dict[str, dict[str, Any]] = { + "model-a": {"unknown": True}, + } + with ( + patch.dict( + sys.modules, + {"langchain_core.language_models.model_profile": None}, + ), + warnings.catch_warnings(record=True) as w, + ): + warnings.simplefilter("always") + _warn_undeclared_profile_keys(profiles) + + undeclared_warnings = [x for x in w if "not declared" in str(x.message)] + assert len(undeclared_warnings) == 0 + + def test_survives_get_type_hints_failure(self) -> None: + """Gracefully handles TypeError from get_type_hints.""" + profiles: dict[str, dict[str, Any]] = { + "model-a": {"unknown": True}, + } + with patch( + "langchain_model_profiles.cli.get_type_hints", + side_effect=TypeError("broken"), + ): + _warn_undeclared_profile_keys(profiles) diff --git a/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/test_summary.py b/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/test_summary.py new file mode 100644 index 0000000000000000000000000000000000000000..f0615aad28b8eda343b23b51c3ff62c223bfb59f --- /dev/null +++ b/western_ai/usa/langchain/libs/model-profiles/tests/unit_tests/test_summary.py @@ -0,0 +1,470 @@ +"""Tests for the profile change summary generator.""" + +import json +import subprocess +import sys +from pathlib import Path +from typing import TYPE_CHECKING + +import pytest + +from langchain_model_profiles import cli +from langchain_model_profiles._summary import ( + _MAX_ROWS, + FieldChange, + ProfileDiff, + ProfileParseError, + _describe_new_model, + _format_value, + _truncate, + build_summary, + diff_profiles, + extract_profiles, + render_provider_section, + summarize, +) + +if TYPE_CHECKING: + from langchain_core.language_models.model_profile import ( + ModelProfile, + ModelProfileRegistry, + ) + +_OLD_SOURCE = '''"""Auto-generated.""" + +from typing import Any + +_PROFILES: dict[str, dict[str, Any]] = { + "gpt-4": { + "name": "GPT-4", + "max_input_tokens": 8192, + "max_output_tokens": 4096, + "image_inputs": False, + "tool_calling": True, + }, + "old-model": { + "name": "Old", + "max_input_tokens": 1000, + }, +} +''' + +_NEW_SOURCE = '''"""Auto-generated.""" + +from typing import Any + +_PROFILES: dict[str, dict[str, Any]] = { + "gpt-4": { + "name": "GPT-4", + "max_input_tokens": 8192, + "max_output_tokens": 16384, + "image_inputs": True, + "tool_calling": True, + }, + "gpt-5": { + "name": "GPT-5", + "max_input_tokens": 400000, + "max_output_tokens": 128000, + "image_inputs": True, + "reasoning_output": True, + "tool_calling": True, + }, +} +''' + + +def _git(repo: Path, *args: str) -> None: + """Run a git command inside `repo` (test helper).""" + subprocess.run( # noqa: S603 + ["git", "-C", str(repo), *args], # noqa: S607 + check=True, + capture_output=True, + text=True, + ) + + +def _init_repo(repo: Path) -> None: + """Initialize a git repo with a deterministic identity.""" + _git(repo, "init", "-q") + _git(repo, "config", "user.email", "t@example.com") + _git(repo, "config", "user.name", "Test") + + +def _write_profiles(path: Path, source: str) -> None: + """Write a `_profiles.py` file, creating parent directories.""" + path.parent.mkdir(parents=True, exist_ok=True) + path.write_text(source) + + +def test_extract_profiles() -> None: + """`_PROFILES` literal is extracted via ast without executing the module.""" + profiles = extract_profiles(_OLD_SOURCE) + assert set(profiles) == {"gpt-4", "old-model"} + assert profiles["gpt-4"]["max_input_tokens"] == 8192 + + +def test_extract_profiles_handles_missing_or_invalid() -> None: + """Absent `_PROFILES` yields `{}`; present-but-unparseable sources raise.""" + # No `_PROFILES` assignment, and an empty file, are both legitimately empty. + assert extract_profiles("x = 1") == {} + assert extract_profiles("") == {} + # A syntactically broken file is corrupt, not empty. + with pytest.raises(ProfileParseError): + extract_profiles("def (:") + # A non-literal or non-dict `_PROFILES` is corrupt too. + with pytest.raises(ProfileParseError): + extract_profiles("_PROFILES = some_function()") + with pytest.raises(ProfileParseError): + extract_profiles("_PROFILES = [1, 2, 3]") + + +def test_diff_profiles() -> None: + """Diff reports added, removed, and per-field changes.""" + diff = diff_profiles(extract_profiles(_OLD_SOURCE), extract_profiles(_NEW_SOURCE)) + assert diff.added == ["gpt-5"] + assert diff.removed == ["old-model"] + assert set(diff.changed) == {"gpt-4"} + assert diff.changed["gpt-4"]["max_output_tokens"] == (4096, 16384) + assert diff.changed["gpt-4"]["image_inputs"] == (False, True) + assert diff.added_profiles["gpt-5"]["max_input_tokens"] == 400000 + + +def test_diff_profiles_no_changes() -> None: + """Identical inputs produce an empty diff.""" + profiles = extract_profiles(_OLD_SOURCE) + diff = diff_profiles(profiles, profiles) + assert diff.is_empty + + +def test_render_provider_section_content() -> None: + """Rendered section describes additions, removals, and field changes.""" + diff = diff_profiles(extract_profiles(_OLD_SOURCE), extract_profiles(_NEW_SOURCE)) + section = render_provider_section("openai", diff) + assert section is not None + assert "### openai" in section + assert "1 added" in section + assert "`gpt-5`" in section + assert "400,000 ctx" in section + assert "reasoning" in section + assert "1 removed" in section + assert "`old-model`" in section + assert "1 changed" in section + assert "max output tokens 4,096 → 16,384" in section + assert "added image input" in section + + +def test_render_provider_section_empty() -> None: + """An empty diff renders no section.""" + assert render_provider_section("openai", ProfileDiff()) is None + + +def test_build_summary_headline() -> None: + """The summary leads with a header and an aggregate headline.""" + diff = diff_profiles(extract_profiles(_OLD_SOURCE), extract_profiles(_NEW_SOURCE)) + summary = build_summary({"openai": diff}) + assert summary.startswith("## Summary of changes") + assert "1 added" in summary + assert "1 removed" in summary + assert "1 changed" in summary + + +def test_build_summary_no_changes() -> None: + """An all-empty diff produces a short no-change note.""" + assert build_summary({"openai": ProfileDiff()}) == "No model profile data changed." + + +def test_truncation() -> None: + """Long lists are truncated with a trailing count of hidden rows.""" + new: ModelProfileRegistry = {f"model-{i}": {"name": f"m{i}"} for i in range(40)} + diff = diff_profiles({}, new) + section = render_provider_section("openai", diff) + assert section is not None + assert "…and 15 more" in section + + +def test_summarize_against_git(tmp_path: Path) -> None: + """Summarize compares the working tree against a committed baseline.""" + repo = tmp_path + _init_repo(repo) + + data_dir = "libs/partners/openai/data" + profiles_path = repo / data_dir / "_profiles.py" + _write_profiles(profiles_path, _OLD_SOURCE) + _git(repo, "add", "-A") + _git(repo, "commit", "-q", "-m", "init") + + # Simulate a refresh by overwriting the working-tree file. + profiles_path.write_text(_NEW_SOURCE) + + summary = summarize([{"provider": "openai", "data_dir": data_dir}], repo_root=repo) + assert "## Summary of changes" in summary + assert "`gpt-5`" in summary + assert "`old-model`" in summary + # The changed-field path is exercised end-to-end, not just at the unit layer. + assert "max output tokens 4,096 → 16,384" in summary + + +def test_summarize_new_provider_file(tmp_path: Path) -> None: + """A brand-new profiles file is treated as all-added.""" + repo = tmp_path + _init_repo(repo) + (repo / "README.md").write_text("x") + _git(repo, "add", "-A") + _git(repo, "commit", "-q", "-m", "init") + + data_dir = "libs/partners/new/data" + _write_profiles(repo / data_dir / "_profiles.py", _NEW_SOURCE) + + summary = summarize([{"provider": "new", "data_dir": data_dir}], repo_root=repo) + assert "2 added" in summary + + +def test_field_change_is_tuple() -> None: + """`FieldChange` unpacks and compares like a plain (old, new) tuple.""" + change = FieldChange(1, 2) + # Access the named fields before the tuple comparison: `== (1, 2)` would + # otherwise narrow `change` to a plain `tuple` for the rest of the scope. + assert change.old == 1 + assert change.new == 2 + assert change == (1, 2) + + +def test_format_value_variants() -> None: + """Each `_format_value` branch renders the expected string.""" + assert _format_value("x", None) == "unset" + assert _format_value("tool_calling", True) == "yes" # noqa: FBT003 + assert _format_value("tool_calling", False) == "no" # noqa: FBT003 + assert _format_value("max_input_tokens", 200000) == "200,000" + # Plain int outside the token fields is rendered without separators. + assert _format_value("foo", 42) == "42" + # Floats fall through to str(). + assert _format_value("temperature", 1.5) == "1.5" + assert _format_value("name", "GPT") == "`GPT`" + + +def test_render_non_bool_field_change() -> None: + """Non-boolean field changes render an `old → new` phrase.""" + old: ModelProfileRegistry = {"m": {"status": "active", "name": "M"}} + new: ModelProfileRegistry = {"m": {"status": "deprecated", "name": "M2"}} + section = render_provider_section("openai", diff_profiles(old, new)) + assert section is not None + assert "status `active` → `deprecated`" in section + assert "display name `M` → `M2`" in section + + +def test_render_removed_bool_field_change() -> None: + """A boolean field flipped off renders a `removed